Binary Authorization V1beta1 API - Class Google::Cloud::BinaryAuthorization::V1beta1::BinauthzManagementService::Rest::ServiceStub (v0.12.2)

Reference documentation and code samples for the Binary Authorization V1beta1 API class Google::Cloud::BinaryAuthorization::V1beta1::BinauthzManagementService::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_attestor

def create_attestor(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BinaryAuthorization::V1beta1::Attestor

Baseline implementation for the create_attestor REST call

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

#delete_attestor

def delete_attestor(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_attestor REST call

Parameters
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_attestor

def get_attestor(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BinaryAuthorization::V1beta1::Attestor

Baseline implementation for the get_attestor REST call

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

#get_policy

def get_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BinaryAuthorization::V1beta1::Policy

Baseline implementation for the get_policy REST call

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

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_attestors

def list_attestors(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BinaryAuthorization::V1beta1::ListAttestorsResponse

Baseline implementation for the list_attestors 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_attestor

def update_attestor(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BinaryAuthorization::V1beta1::Attestor

Baseline implementation for the update_attestor REST call

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

#update_policy

def update_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BinaryAuthorization::V1beta1::Policy

Baseline implementation for the update_policy REST call

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