Identity and Access Management (IAM) V3BETA API - Class Google::Iam::V3beta::AccessPolicies::Rest::ServiceStub (v0.6.0)

Reference documentation and code samples for the Identity and Access Management (IAM) V3BETA API class Google::Iam::V3beta::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::Operation

Baseline implementation for the create_access_policy REST call

Parameters
  • request_pb (::Google::Iam::V3beta::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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_access_policy

def delete_access_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_access_policy REST call

Parameters
  • request_pb (::Google::Iam::V3beta::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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_access_policy

def get_access_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V3beta::AccessPolicy

Baseline implementation for the get_access_policy REST call

Parameters
  • request_pb (::Google::Iam::V3beta::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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_access_policies

def list_access_policies(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V3beta::ListAccessPoliciesResponse

Baseline implementation for the list_access_policies REST call

Parameters
  • request_pb (::Google::Iam::V3beta::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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#search_access_policy_bindings

def search_access_policy_bindings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V3beta::SearchAccessPolicyBindingsResponse

Baseline implementation for the search_access_policy_bindings REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_access_policy

def update_access_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_access_policy REST call

Parameters
  • request_pb (::Google::Iam::V3beta::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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)