Reference documentation and code samples for the Certificate Authority Service V1 API class Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Rest::ServiceStub.
REST service stub for the CertificateAuthorityService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#activate_certificate_authority
def activate_certificate_authority(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the activate_certificate_authority REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::ActivateCertificateAuthorityRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_ca_pool
def create_ca_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_ca_pool REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::CreateCaPoolRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_certificate
def create_certificate(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1::Certificate
Baseline implementation for the create_certificate REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::CreateCertificateRequest) — 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::Security::PrivateCA::V1::Certificate)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1::Certificate) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_certificate_authority
def create_certificate_authority(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_certificate_authority REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::CreateCertificateAuthorityRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_certificate_template
def create_certificate_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_certificate_template REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::CreateCertificateTemplateRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_ca_pool
def delete_ca_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_ca_pool REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::DeleteCaPoolRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_certificate_authority
def delete_certificate_authority(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_certificate_authority REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::DeleteCertificateAuthorityRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_certificate_template
def delete_certificate_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_certificate_template REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::DeleteCertificateTemplateRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#disable_certificate_authority
def disable_certificate_authority(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the disable_certificate_authority REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::DisableCertificateAuthorityRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#enable_certificate_authority
def enable_certificate_authority(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the enable_certificate_authority REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::EnableCertificateAuthorityRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#fetch_ca_certs
def fetch_ca_certs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1::FetchCaCertsResponse
Baseline implementation for the fetch_ca_certs REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::FetchCaCertsRequest) — 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::Security::PrivateCA::V1::FetchCaCertsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1::FetchCaCertsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#fetch_certificate_authority_csr
def fetch_certificate_authority_csr(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1::FetchCertificateAuthorityCsrResponse
Baseline implementation for the fetch_certificate_authority_csr REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::FetchCertificateAuthorityCsrRequest) — 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::Security::PrivateCA::V1::FetchCertificateAuthorityCsrResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1::FetchCertificateAuthorityCsrResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_ca_pool
def get_ca_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1::CaPool
Baseline implementation for the get_ca_pool REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::GetCaPoolRequest) — 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::Security::PrivateCA::V1::CaPool)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1::CaPool) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_certificate
def get_certificate(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1::Certificate
Baseline implementation for the get_certificate REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::GetCertificateRequest) — 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::Security::PrivateCA::V1::Certificate)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1::Certificate) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_certificate_authority
def get_certificate_authority(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority
Baseline implementation for the get_certificate_authority REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::GetCertificateAuthorityRequest) — 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::Security::PrivateCA::V1::CertificateAuthority)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_certificate_revocation_list
def get_certificate_revocation_list(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList
Baseline implementation for the get_certificate_revocation_list REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::GetCertificateRevocationListRequest) — 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::Security::PrivateCA::V1::CertificateRevocationList)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_certificate_template
def get_certificate_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1::CertificateTemplate
Baseline implementation for the get_certificate_template REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::GetCertificateTemplateRequest) — 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::Security::PrivateCA::V1::CertificateTemplate)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1::CertificateTemplate) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_ca_pools
def list_ca_pools(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1::ListCaPoolsResponse
Baseline implementation for the list_ca_pools REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::ListCaPoolsRequest) — 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::Security::PrivateCA::V1::ListCaPoolsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1::ListCaPoolsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_certificate_authorities
def list_certificate_authorities(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1::ListCertificateAuthoritiesResponse
Baseline implementation for the list_certificate_authorities REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::ListCertificateAuthoritiesRequest) — 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::Security::PrivateCA::V1::ListCertificateAuthoritiesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1::ListCertificateAuthoritiesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_certificate_revocation_lists
def list_certificate_revocation_lists(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1::ListCertificateRevocationListsResponse
Baseline implementation for the list_certificate_revocation_lists REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::ListCertificateRevocationListsRequest) — 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::Security::PrivateCA::V1::ListCertificateRevocationListsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1::ListCertificateRevocationListsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_certificate_templates
def list_certificate_templates(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1::ListCertificateTemplatesResponse
Baseline implementation for the list_certificate_templates REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::ListCertificateTemplatesRequest) — 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::Security::PrivateCA::V1::ListCertificateTemplatesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1::ListCertificateTemplatesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_certificates
def list_certificates(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1::ListCertificatesResponse
Baseline implementation for the list_certificates REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::ListCertificatesRequest) — 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::Security::PrivateCA::V1::ListCertificatesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1::ListCertificatesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#revoke_certificate
def revoke_certificate(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1::Certificate
Baseline implementation for the revoke_certificate REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::RevokeCertificateRequest) — 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::Security::PrivateCA::V1::Certificate)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1::Certificate) — A result object deserialized from the server's reply
- (::ArgumentError)
#undelete_certificate_authority
def undelete_certificate_authority(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the undelete_certificate_authority REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::UndeleteCertificateAuthorityRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_ca_pool
def update_ca_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_ca_pool REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::UpdateCaPoolRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_certificate
def update_certificate(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1::Certificate
Baseline implementation for the update_certificate REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::UpdateCertificateRequest) — 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::Security::PrivateCA::V1::Certificate)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1::Certificate) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_certificate_authority
def update_certificate_authority(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_certificate_authority REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::UpdateCertificateAuthorityRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_certificate_revocation_list
def update_certificate_revocation_list(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_certificate_revocation_list REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::UpdateCertificateRevocationListRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_certificate_template
def update_certificate_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_certificate_template REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1::UpdateCertificateTemplateRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)