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.
Extended By
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}
- project (String)
- location (String)
- connector (String)
- (::String)
- (::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}
- project (String)
- location (String)
- key_ring (String)
- crypto_key (String)
- (::String)
- (::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}
- project (String)
- location (String)
- (::String)
- (::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}
- project (String)
- location (String)
- service (String)
- revision (String)
- (::String)
- (::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}
- project (String)
- secret (String)
- (::String)
- (::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}
- project (String)
- secret (String)
- version (String)
- (::String)
- (::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}
- project (String)
- location (String)
- service (String)
- (::String)
- (::ArgumentError)