Ceritificate Authority Service V1 API - Class Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Rest::ServiceStub (v0.7.0)

Reference documentation and code samples for the Ceritificate 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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

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

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

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

#initialize

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

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

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

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

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

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

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