Identity and Access Management (IAM) V3 API - Class Google::Iam::V3::PolicyBindings::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the Identity and Access Management (IAM) V3 API class Google::Iam::V3::PolicyBindings::Rest::ServiceStub.

REST service stub for the PolicyBindings service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#create_policy_binding

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

Baseline implementation for the create_policy_binding REST call

Parameters
  • request_pb (::Google::Iam::V3::CreatePolicyBindingRequest) — 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_policy_binding

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

Baseline implementation for the delete_policy_binding REST call

Parameters
  • request_pb (::Google::Iam::V3::DeletePolicyBindingRequest) — 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_policy_binding

def get_policy_binding(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V3::PolicyBinding

Baseline implementation for the get_policy_binding REST call

Parameters
  • request_pb (::Google::Iam::V3::GetPolicyBindingRequest) — 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_policy_bindings

def list_policy_bindings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V3::ListPolicyBindingsResponse

Baseline implementation for the list_policy_bindings REST call

Parameters
  • request_pb (::Google::Iam::V3::ListPolicyBindingsRequest) — 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_target_policy_bindings

def search_target_policy_bindings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V3::SearchTargetPolicyBindingsResponse

Baseline implementation for the search_target_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_policy_binding

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

Baseline implementation for the update_policy_binding REST call

Parameters
  • request_pb (::Google::Iam::V3::UpdatePolicyBindingRequest) — 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)