Cloud Run V2 API - Module Google::Cloud::Run::V2::Revisions::Paths (v0.6.0)

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

Path helper methods for the Revisions API.

Methods

#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)

#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)