Reference documentation and code samples for the Public Certificate Authority V1beta1 API class Google::Cloud::Security::PublicCA::V1beta1::PublicCertificateAuthorityService::Rest::Client.
REST client for the PublicCertificateAuthorityService service.
Manages the resources required for ACME external account binding for the public certificate authority service.
Inherits
- Object
Methods
.configure
def self.configure() { |config| ... } -> Client::Configuration
Configure the PublicCertificateAuthorityService Client class.
See Configuration for a description of the configuration fields.
- (config) — Configure the Client client.
- config (Client::Configuration)
# Modify the configuration for all PublicCertificateAuthorityService clients ::Google::Cloud::Security::PublicCA::V1beta1::PublicCertificateAuthorityService::Rest::Client.configure do |config| config.timeout = 10.0 end
#configure
def configure() { |config| ... } -> Client::Configuration
Configure the PublicCertificateAuthorityService Client instance.
The configuration is set to the derived mode, meaning that values can be changed, but structural changes (adding new fields, etc.) are not allowed. Structural changes should be made on Client.configure.
See Configuration for a description of the configuration fields.
- (config) — Configure the Client client.
- config (Client::Configuration)
#create_external_account_key
def create_external_account_key(request, options = nil) -> ::Google::Cloud::Security::PublicCA::V1beta1::ExternalAccountKey
def create_external_account_key(parent: nil, external_account_key: nil) -> ::Google::Cloud::Security::PublicCA::V1beta1::ExternalAccountKey
Creates a new ExternalAccountKey bound to the project.
def create_external_account_key(request, options = nil) -> ::Google::Cloud::Security::PublicCA::V1beta1::ExternalAccountKey
create_external_account_key
via a request object, either of type
CreateExternalAccountKeyRequest or an equivalent Hash.
- request (::Google::Cloud::Security::PublicCA::V1beta1::CreateExternalAccountKeyRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def create_external_account_key(parent: nil, external_account_key: nil) -> ::Google::Cloud::Security::PublicCA::V1beta1::ExternalAccountKey
create_external_account_key
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent resource where this external_account_key will be created. Format: projects/[project_id]/locations/[location]. At present only the "global" location is supported.
- external_account_key (::Google::Cloud::Security::PublicCA::V1beta1::ExternalAccountKey, ::Hash) — Required. The external account key to create. This field only exists to future-proof the API. At present, all fields in ExternalAccountKey are output only and all values are ignored. For the purpose of the CreateExternalAccountKeyRequest, set it to a default/empty value.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Security::PublicCA::V1beta1::ExternalAccountKey)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#initialize
def initialize() { |config| ... } -> Client
Create a new PublicCertificateAuthorityService REST client object.
- (config) — Configure the PublicCertificateAuthorityService client.
- config (Client::Configuration)
- (Client) — a new instance of Client
# Create a client using the default configuration client = ::Google::Cloud::Security::PublicCA::V1beta1::PublicCertificateAuthorityService::Rest::Client.new # Create a client using a custom configuration client = ::Google::Cloud::Security::PublicCA::V1beta1::PublicCertificateAuthorityService::Rest::Client.new do |config| config.timeout = 10.0 end