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
- request_pb (::Google::Cloud::BinaryAuthorization::V1beta1::CreateAttestorRequest) — 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::BinaryAuthorization::V1beta1::Attestor)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BinaryAuthorization::V1beta1::Attestor) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_attestor
def delete_attestor(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_attestor REST call
- request_pb (::Google::Cloud::BinaryAuthorization::V1beta1::DeleteAttestorRequest) — 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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (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
- request_pb (::Google::Cloud::BinaryAuthorization::V1beta1::GetAttestorRequest) — 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::BinaryAuthorization::V1beta1::Attestor)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BinaryAuthorization::V1beta1::Attestor) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::BinaryAuthorization::V1beta1::GetPolicyRequest) — 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::BinaryAuthorization::V1beta1::Policy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BinaryAuthorization::V1beta1::Policy) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_attestors
def list_attestors(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BinaryAuthorization::V1beta1::ListAttestorsResponse
Baseline implementation for the list_attestors REST call
- request_pb (::Google::Cloud::BinaryAuthorization::V1beta1::ListAttestorsRequest) — 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::BinaryAuthorization::V1beta1::ListAttestorsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BinaryAuthorization::V1beta1::ListAttestorsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (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
- request_pb (::Google::Cloud::BinaryAuthorization::V1beta1::UpdateAttestorRequest) — 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::BinaryAuthorization::V1beta1::Attestor)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BinaryAuthorization::V1beta1::Attestor) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::BinaryAuthorization::V1beta1::UpdatePolicyRequest) — 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::BinaryAuthorization::V1beta1::Policy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BinaryAuthorization::V1beta1::Policy) — A result object deserialized from the server's reply
- (::ArgumentError)