Cloud Run V2 API - Module Google::Cloud::Run::V2::Services::Paths (v0.15.0)

Reference documentation and code samples for the Cloud Run V2 API module Google::Cloud::Run::V2::Services::Paths.

Path helper methods for the Services API.

Methods

#connector_path

def connector_path(project:, location:, connector:) -> ::String

Create a fully-qualified Connector resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/connectors/{connector}

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

#crypto_key_path

def crypto_key_path(project:, location:, key_ring:, crypto_key:) -> ::String

Create a fully-qualified CryptoKey resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}

Parameters
  • project (String)
  • location (String)
  • key_ring (String)
  • crypto_key (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)

#revision_path

def revision_path(project:, location:, service:, revision:) -> ::String

Create a fully-qualified Revision resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/services/{service}/revisions/{revision}

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

#secret_path

def secret_path(project:, secret:) -> ::String

Create a fully-qualified Secret resource string.

The resource will be in the following format:

projects/{project}/secrets/{secret}

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

#secret_version_path

def secret_version_path(project:, secret:, version:) -> ::String

Create a fully-qualified SecretVersion resource string.

The resource will be in the following format:

projects/{project}/secrets/{secret}/versions/{version}

Parameters
  • project (String)
  • secret (String)
  • version (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#service_path

def service_path(project:, location:, service:) -> ::String

Create a fully-qualified Service resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/services/{service}

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