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
- request_pb (::Google::Cloud::Security::PrivateCA::V1beta1::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_certificate
def create_certificate(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1beta1::Certificate
Baseline implementation for the create_certificate REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1beta1::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::V1beta1::Certificate)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1beta1::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::V1beta1::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)
#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::V1beta1::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::V1beta1::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_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
- request_pb (::Google::Cloud::Security::PrivateCA::V1beta1::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::V1beta1::FetchCertificateAuthorityCsrResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1beta1::FetchCertificateAuthorityCsrResponse) — 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::V1beta1::Certificate
Baseline implementation for the get_certificate REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1beta1::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::V1beta1::Certificate)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1beta1::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::V1beta1::CertificateAuthority
Baseline implementation for the get_certificate_authority REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1beta1::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::V1beta1::CertificateAuthority)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1beta1::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::V1beta1::CertificateRevocationList
Baseline implementation for the get_certificate_revocation_list REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1beta1::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::V1beta1::CertificateRevocationList)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Security::PrivateCA::V1beta1::GetReusableConfigRequest) — 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::V1beta1::ReusableConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfig) — 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::V1beta1::ListCertificateAuthoritiesResponse
Baseline implementation for the list_certificate_authorities REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1beta1::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::V1beta1::ListCertificateAuthoritiesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1beta1::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::V1beta1::ListCertificateRevocationListsResponse
Baseline implementation for the list_certificate_revocation_lists REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1beta1::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::V1beta1::ListCertificateRevocationListsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1beta1::ListCertificateRevocationListsResponse) — 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::V1beta1::ListCertificatesResponse
Baseline implementation for the list_certificates REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1beta1::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::V1beta1::ListCertificatesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1beta1::ListCertificatesResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Security::PrivateCA::V1beta1::ListReusableConfigsRequest) — 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::V1beta1::ListReusableConfigsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1beta1::ListReusableConfigsResponse) — 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)
#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
- request_pb (::Google::Cloud::Security::PrivateCA::V1beta1::RestoreCertificateAuthorityRequest) — 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)
#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
- request_pb (::Google::Cloud::Security::PrivateCA::V1beta1::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::V1beta1::Certificate)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1beta1::Certificate) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Security::PrivateCA::V1beta1::ScheduleDeleteCertificateAuthorityRequest) — 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_certificate
def update_certificate(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Security::PrivateCA::V1beta1::Certificate
Baseline implementation for the update_certificate REST call
- request_pb (::Google::Cloud::Security::PrivateCA::V1beta1::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::V1beta1::Certificate)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Security::PrivateCA::V1beta1::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::V1beta1::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::V1beta1::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)