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
- (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
- 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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Kms::V1::AutokeyConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Kms::V1::AutokeyConfig) — 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
#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
- request_pb (::Google::Cloud::Kms::V1::ShowEffectiveAutokeyConfigRequest) — 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::Kms::V1::ShowEffectiveAutokeyConfigResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Kms::V1::ShowEffectiveAutokeyConfigResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (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
- request_pb (::Google::Cloud::Kms::V1::UpdateAutokeyConfigRequest) — 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::Kms::V1::AutokeyConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Kms::V1::AutokeyConfig) — A result object deserialized from the server's reply
- (::ArgumentError)