Certificate Authority Service V1beta1 API - Module Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Paths (v0.3.6)

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

Path helper methods for the CertificateAuthorityService API.

Methods

#certificate_authority_path

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

Create a fully-qualified CertificateAuthority resource string.

The resource will be in the following format:

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

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

#certificate_path

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

Create a fully-qualified Certificate resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/certificateAuthorities/{certificate_authority}/certificates/{certificate}

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

#certificate_revocation_list_path

def certificate_revocation_list_path(project:, location:, 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}/certificateAuthorities/{certificate_authority}/certificateRevocationLists/{certificate_revocation_list}

Parameters
  • project (String)
  • location (String)
  • certificate_authority (String)
  • certificate_revocation_list (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)

#reusable_config_path

def reusable_config_path(project:, location:, reusable_config:) -> ::String

Create a fully-qualified ReusableConfig resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/reusableConfigs/{reusable_config}

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