Cloud Key Management Service (KMS) V1 API - Class Google::Cloud::Kms::V1::AutokeyAdmin::Rest::ServiceStub (v1.0.0)

Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API class Google::Cloud::Kms::V1::AutokeyAdmin::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_autokey_config

def get_autokey_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Kms::V1::AutokeyConfig

Baseline implementation for the get_autokey_config REST call

Parameters
  • request_pb (::Google::Cloud::Kms::V1::GetAutokeyConfigRequest) — 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)

#initialize

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

#show_effective_autokey_config

def show_effective_autokey_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Kms::V1::ShowEffectiveAutokeyConfigResponse

Baseline implementation for the show_effective_autokey_config 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_autokey_config

def update_autokey_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Kms::V1::AutokeyConfig

Baseline implementation for the update_autokey_config REST call

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