Reference documentation and code samples for the Cloud Build V1 API module Google::Cloud::Build::V1::CloudBuild::Paths.
Path helper methods for the CloudBuild API.
Extended By
Methods
#build_path
def build_path(project:, build:) -> ::String
def build_path(project:, location:, build:) -> ::String
Create a fully-qualified Build resource string.
def build_path(project:, build:) -> ::String
projects/{project}/builds/{build}
- project (String)
- build (String)
def build_path(project:, location:, build:) -> ::String
projects/{project}/locations/{location}/builds/{build}
- project (String)
- location (String)
- build (String)
- (::String)
- (::ArgumentError)
#build_trigger_path
def build_trigger_path(project:, trigger:) -> ::String
def build_trigger_path(project:, location:, trigger:) -> ::String
Create a fully-qualified BuildTrigger resource string.
def build_trigger_path(project:, trigger:) -> ::String
projects/{project}/triggers/{trigger}
- project (String)
- trigger (String)
def build_trigger_path(project:, location:, trigger:) -> ::String
projects/{project}/locations/{location}/triggers/{trigger}
- project (String)
- location (String)
- trigger (String)
- (::String)
- (::ArgumentError)
#crypto_key_path
def crypto_key_path(project:, location:, keyring:, key:) -> ::String
Create a fully-qualified CryptoKey resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}
- project (String)
- location (String)
- keyring (String)
- 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)
#network_path
def network_path(project:, network:) -> ::String
Create a fully-qualified Network resource string.
The resource will be in the following format:
projects/{project}/global/networks/{network}
- project (String)
- network (String)
- (::String)
- (::ArgumentError)
#project_path
def project_path(project:) -> ::String
Create a fully-qualified Project resource string.
The resource will be in the following format:
projects/{project}
- project (String)
- (::String)
#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_account_path
def service_account_path(project:, service_account:) -> ::String
Create a fully-qualified ServiceAccount resource string.
The resource will be in the following format:
projects/{project}/serviceAccounts/{service_account}
- project (String)
- service_account (String)
- (::String)
- (::ArgumentError)
#subscription_path
def subscription_path(project:, subscription:) -> ::String
Create a fully-qualified Subscription resource string.
The resource will be in the following format:
projects/{project}/subscriptions/{subscription}
- project (String)
- subscription (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)
#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)