Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::OrganizationSecurityPolicies::Rest::ServiceStub.
REST service stub for the OrganizationSecurityPolicies service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#add_association
def add_association(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::OperationBaseline implementation for the add_association REST call
- request_pb (::Google::Cloud::Compute::V1::AddAssociationOrganizationSecurityPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#add_rule
def add_rule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::OperationBaseline implementation for the add_rule REST call
- request_pb (::Google::Cloud::Compute::V1::AddRuleOrganizationSecurityPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#copy_rules
def copy_rules(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::OperationBaseline implementation for the copy_rules REST call
- request_pb (::Google::Cloud::Compute::V1::CopyRulesOrganizationSecurityPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete
def delete(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::OperationBaseline implementation for the delete REST call
- request_pb (::Google::Cloud::Compute::V1::DeleteOrganizationSecurityPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#get
def get(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::SecurityPolicyBaseline implementation for the get REST call
- request_pb (::Google::Cloud::Compute::V1::GetOrganizationSecurityPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::SecurityPolicy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::SecurityPolicy) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_association
def get_association(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::SecurityPolicyAssociationBaseline implementation for the get_association REST call
- request_pb (::Google::Cloud::Compute::V1::GetAssociationOrganizationSecurityPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::SecurityPolicyAssociation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::SecurityPolicyAssociation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_rule
def get_rule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::SecurityPolicyRuleBaseline implementation for the get_rule REST call
- request_pb (::Google::Cloud::Compute::V1::GetRuleOrganizationSecurityPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::SecurityPolicyRule)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::SecurityPolicyRule) — A result object deserialized from the server's reply
- (::ArgumentError)
#insert
def insert(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::OperationBaseline implementation for the insert REST call
- request_pb (::Google::Cloud::Compute::V1::InsertOrganizationSecurityPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#list
def list(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::SecurityPolicyListBaseline implementation for the list REST call
- request_pb (::Google::Cloud::Compute::V1::ListOrganizationSecurityPoliciesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::SecurityPolicyList)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::SecurityPolicyList) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_associations
def list_associations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::OrganizationSecurityPoliciesListAssociationsResponseBaseline implementation for the list_associations REST call
- request_pb (::Google::Cloud::Compute::V1::ListAssociationsOrganizationSecurityPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::OrganizationSecurityPoliciesListAssociationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::OrganizationSecurityPoliciesListAssociationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_preconfigured_expression_sets
def list_preconfigured_expression_sets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::SecurityPoliciesListPreconfiguredExpressionSetsResponseBaseline implementation for the list_preconfigured_expression_sets REST call
- request_pb (::Google::Cloud::Compute::V1::ListPreconfiguredExpressionSetsOrganizationSecurityPoliciesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::SecurityPoliciesListPreconfiguredExpressionSetsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::SecurityPoliciesListPreconfiguredExpressionSetsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#move
def move(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::OperationBaseline implementation for the move REST call
- request_pb (::Google::Cloud::Compute::V1::MoveOrganizationSecurityPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#patch
def patch(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::OperationBaseline implementation for the patch REST call
- request_pb (::Google::Cloud::Compute::V1::PatchOrganizationSecurityPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#patch_rule
def patch_rule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::OperationBaseline implementation for the patch_rule REST call
- request_pb (::Google::Cloud::Compute::V1::PatchRuleOrganizationSecurityPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#remove_association
def remove_association(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::OperationBaseline implementation for the remove_association REST call
- request_pb (::Google::Cloud::Compute::V1::RemoveAssociationOrganizationSecurityPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#remove_rule
def remove_rule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::OperationBaseline implementation for the remove_rule REST call
- request_pb (::Google::Cloud::Compute::V1::RemoveRuleOrganizationSecurityPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)