Certificate Authority Service V1beta1 API - Class Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Rest::ServiceStub (v0.8.2)

Reference documentation and code samples for the Certificate Authority Service V1beta1 API class Google::Cloud::Security::PrivateCA::V1beta1::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_certificate

def create_certificate(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1beta1::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)

#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)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#fetch_certificate_authority_csr

def fetch_certificate_authority_csr(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1beta1::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_certificate

def get_certificate(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1beta1::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::V1beta1::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::V1beta1::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_reusable_config

def get_reusable_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfig

Baseline implementation for the get_reusable_config REST call

Parameters
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

#list_certificate_authorities

def list_certificate_authorities(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1beta1::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::V1beta1::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_certificates

def list_certificates(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1beta1::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)

#list_reusable_configs

def list_reusable_configs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1beta1::ListReusableConfigsResponse

Baseline implementation for the list_reusable_configs REST call

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

#restore_certificate_authority

def restore_certificate_authority(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the restore_certificate_authority 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::V1beta1::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)

#schedule_delete_certificate_authority

def schedule_delete_certificate_authority(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the schedule_delete_certificate_authority 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_certificate

def update_certificate(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1beta1::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)