Reference documentation and code samples for the Cloud Functions V2 API module Google::Cloud::Functions::V2::FunctionService::Paths.
Path helper methods for the FunctionService API.
Methods
#build_path
def build_path(project:, location:, build:) -> ::String
Create a fully-qualified Build resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/builds/{build}
- project (String)
- location (String)
- build (String)
- (::String)
- (::ArgumentError)
#channel_path
def channel_path(project:, location:, channel:) -> ::String
Create a fully-qualified Channel resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/channels/{channel}
- project (String)
- location (String)
- channel (String)
- (::String)
- (::ArgumentError)
#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)
#function_path
def function_path(project:, location:, function:) -> ::String
Create a fully-qualified Function resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/functions/{function}
- project (String)
- location (String)
- function (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)
#repository_path
def repository_path(project:, location:, repository:) -> ::String
Create a fully-qualified Repository resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/repositories/{repository}
- project (String)
- location (String)
- repository (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)
#topic_path
def topic_path(project:, topic:) -> ::String
Create a fully-qualified Topic resource string.
The resource will be in the following format:
projects/{project}/topics/{topic}
- project (String)
- topic (String)
- (::String)
- (::ArgumentError)
#trigger_path
def trigger_path(project:, location:, trigger:) -> ::String
Create a fully-qualified Trigger resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/triggers/{trigger}
- project (String)
- location (String)
- trigger (String)
- (::String)
- (::ArgumentError)
#worker_pool_path
def worker_pool_path(project:, location:, worker_pool:) -> ::String
Create a fully-qualified WorkerPool resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/workerPools/{worker_pool}
- project (String)
- location (String)
- worker_pool (String)
- (::String)
- (::ArgumentError)