Ceritificate Authority Service V1 API - Module Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Paths (v0.11.0)

Reference documentation and code samples for the Ceritificate Authority Service V1 API module Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Paths.

Path helper methods for the CertificateAuthorityService API.

Methods

#ca_pool_path

def ca_pool_path(project:, location:, ca_pool:) -> ::String

Create a fully-qualified CaPool resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/caPools/{ca_pool}

Parameters
  • project (String)
  • location (String)
  • ca_pool (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#certificate_authority_path

def certificate_authority_path(project:, location:, ca_pool:, certificate_authority:) -> ::String

Create a fully-qualified CertificateAuthority resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/caPools/{ca_pool}/certificateAuthorities/{certificate_authority}

Parameters
  • project (String)
  • location (String)
  • ca_pool (String)
  • certificate_authority (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#certificate_path

def certificate_path(project:, location:, ca_pool:, certificate:) -> ::String

Create a fully-qualified Certificate resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/caPools/{ca_pool}/certificates/{certificate}

Parameters
  • project (String)
  • location (String)
  • ca_pool (String)
  • certificate (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#certificate_revocation_list_path

def certificate_revocation_list_path(project:, location:, ca_pool:, certificate_authority:, certificate_revocation_list:) -> ::String

Create a fully-qualified CertificateRevocationList resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/caPools/{ca_pool}/certificateAuthorities/{certificate_authority}/certificateRevocationLists/{certificate_revocation_list}

Parameters
  • project (String)
  • location (String)
  • ca_pool (String)
  • certificate_authority (String)
  • certificate_revocation_list (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#certificate_template_path

def certificate_template_path(project:, location:, certificate_template:) -> ::String

Create a fully-qualified CertificateTemplate resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/certificateTemplates/{certificate_template}

Parameters
  • project (String)
  • location (String)
  • certificate_template (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#location_path

def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)