Reference documentation and code samples for the Infrastructure Manager V1 API module Google::Cloud::ConfigService::V1::Config::Paths.
Path helper methods for the Config API.
Extended By
Methods
#deployment_path
def deployment_path(project:, location:, deployment:) -> ::String
Create a fully-qualified Deployment resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/deployments/{deployment}
- project (String)
- location (String)
- deployment (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)
#preview_path
def preview_path(project:, location:, preview:) -> ::String
Create a fully-qualified Preview resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/previews/{preview}
- project (String)
- location (String)
- preview (String)
- (::String)
- (::ArgumentError)
#resource_path
def resource_path(project:, location:, deployment:, revision:, resource:) -> ::String
Create a fully-qualified Resource resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}
- project (String)
- location (String)
- deployment (String)
- revision (String)
- resource (String)
- (::String)
- (::ArgumentError)
#revision_path
def revision_path(project:, location:, deployment:, revision:) -> ::String
Create a fully-qualified Revision resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}
- project (String)
- location (String)
- deployment (String)
- revision (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)
#terraform_version_path
def terraform_version_path(project:, location:, terraform_version:) -> ::String
Create a fully-qualified TerraformVersion resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/terraformVersions/{terraform_version}
- project (String)
- location (String)
- terraform_version (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)