Reference documentation and code samples for the Identity and Access Management (IAM) V3 API class Google::Iam::V3::AccessPolicies::Rest::ServiceStub.
REST service stub for the AccessPolicies service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_access_policy
def create_access_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the create_access_policy REST call
- request_pb (::Google::Iam::V3::CreateAccessPolicyRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_access_policy
def delete_access_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_access_policy REST call
- request_pb (::Google::Iam::V3::DeleteAccessPolicyRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#get_access_policy
def get_access_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V3::AccessPolicyBaseline implementation for the get_access_policy REST call
- request_pb (::Google::Iam::V3::GetAccessPolicyRequest) — 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::Iam::V3::AccessPolicy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Iam::V3::AccessPolicy) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_access_policies
def list_access_policies(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V3::ListAccessPoliciesResponseBaseline implementation for the list_access_policies REST call
- request_pb (::Google::Iam::V3::ListAccessPoliciesRequest) — 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::Iam::V3::ListAccessPoliciesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Iam::V3::ListAccessPoliciesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#search_access_policy_bindings
def search_access_policy_bindings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V3::SearchAccessPolicyBindingsResponseBaseline implementation for the search_access_policy_bindings REST call
- request_pb (::Google::Iam::V3::SearchAccessPolicyBindingsRequest) — 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::Iam::V3::SearchAccessPolicyBindingsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Iam::V3::SearchAccessPolicyBindingsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)
#update_access_policy
def update_access_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the update_access_policy REST call
- request_pb (::Google::Iam::V3::UpdateAccessPolicyRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)