Cloud Run V2 API - Module Google::Cloud::Run::V2::Jobs::Paths (v0.20.0)

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

Path helper methods for the Jobs 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)

#execution_path

def execution_path(project:, location:, job:, execution:) -> ::String

Create a fully-qualified Execution resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/jobs/{job}/executions/{execution}

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

#job_path

def job_path(project:, location:, job:) -> ::String

Create a fully-qualified Job resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/jobs/{job}

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

#policy_path

def policy_path(project:) -> ::String
def policy_path(location:) -> ::String

Create a fully-qualified Policy resource string.

Overloads
def policy_path(project:) -> ::String
The resource will be in the following format:

projects/{project}/policy

Parameter
  • project (String)
def policy_path(location:) -> ::String
The resource will be in the following format:

locations/{location}/policy

Parameter
  • location (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)