Infrastructure Manager V1 API - Module Google::Cloud::ConfigService::V1::Config::Paths (v2.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
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.
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}
Parameters
-
project (String)
-
location (String)
-
deployment (String)
#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}
Parameters
-
project (String)
-
location (String)
#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}
Parameters
-
project (String)
-
location (String)
-
preview (String)
#resource_change_path
def resource_change_path(project:, location:, preview:, resource_change:) -> ::String
Create a fully-qualified ResourceChange resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}
Parameters
-
project (String)
-
location (String)
-
preview (String)
-
resource_change (String)
#resource_drift_path
def resource_drift_path(project:, location:, preview:, resource_drift:) -> ::String
Create a fully-qualified ResourceDrift resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}
Parameters
-
project (String)
-
location (String)
-
preview (String)
-
resource_drift (String)
#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}
Parameters
-
project (String)
-
location (String)
-
deployment (String)
-
revision (String)
-
resource (String)
#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}
Parameters
-
project (String)
-
location (String)
-
deployment (String)
-
revision (String)
#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}
Parameters
-
project (String)
-
service_account (String)
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}
Parameters
-
project (String)
-
location (String)
-
terraform_version (String)
#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}
Parameters
-
project (String)
-
location (String)
-
worker_pool (String)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Infrastructure Manager V1 API - Module Google::Cloud::ConfigService::V1::Config::Paths (v2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Cloud-ConfigService-V1-Config-Paths)\n- [2.1.0](/ruby/docs/reference/google-cloud-config_service-v1/2.1.0/Google-Cloud-ConfigService-V1-Config-Paths)\n- [2.0.1](/ruby/docs/reference/google-cloud-config_service-v1/2.0.1/Google-Cloud-ConfigService-V1-Config-Paths)\n- [1.3.0](/ruby/docs/reference/google-cloud-config_service-v1/1.3.0/Google-Cloud-ConfigService-V1-Config-Paths)\n- [1.2.1](/ruby/docs/reference/google-cloud-config_service-v1/1.2.1/Google-Cloud-ConfigService-V1-Config-Paths)\n- [1.1.0](/ruby/docs/reference/google-cloud-config_service-v1/1.1.0/Google-Cloud-ConfigService-V1-Config-Paths)\n- [1.0.2](/ruby/docs/reference/google-cloud-config_service-v1/1.0.2/Google-Cloud-ConfigService-V1-Config-Paths)\n- [0.6.0](/ruby/docs/reference/google-cloud-config_service-v1/0.6.0/Google-Cloud-ConfigService-V1-Config-Paths)\n- [0.5.0](/ruby/docs/reference/google-cloud-config_service-v1/0.5.0/Google-Cloud-ConfigService-V1-Config-Paths)\n- [0.4.0](/ruby/docs/reference/google-cloud-config_service-v1/0.4.0/Google-Cloud-ConfigService-V1-Config-Paths)\n- [0.3.1](/ruby/docs/reference/google-cloud-config_service-v1/0.3.1/Google-Cloud-ConfigService-V1-Config-Paths)\n- [0.2.1](/ruby/docs/reference/google-cloud-config_service-v1/0.2.1/Google-Cloud-ConfigService-V1-Config-Paths)\n- [0.1.0](/ruby/docs/reference/google-cloud-config_service-v1/0.1.0/Google-Cloud-ConfigService-V1-Config-Paths) \nReference documentation and code samples for the Infrastructure Manager V1 API module Google::Cloud::ConfigService::V1::Config::Paths.\n\nPath helper methods for the Config API. \n\nExtended By\n-----------\n\n- [Google::Cloud::ConfigService::V1::Config::Paths](./Google-Cloud-ConfigService-V1-Config-Paths)\n\nMethods\n-------\n\n### #deployment_path\n\n def deployment_path(project:, location:, deployment:) -\u003e ::String\n\nCreate a fully-qualified Deployment resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/deployments/{deployment}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **deployment** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #location_path\n\n def location_path(project:, location:) -\u003e ::String\n\nCreate a fully-qualified Location resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}` \n**Parameters**\n\n- **project** (String)\n- **location** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #preview_path\n\n def preview_path(project:, location:, preview:) -\u003e ::String\n\nCreate a fully-qualified Preview resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/previews/{preview}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **preview** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #resource_change_path\n\n def resource_change_path(project:, location:, preview:, resource_change:) -\u003e ::String\n\nCreate a fully-qualified ResourceChange resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **preview** (String)\n- **resource_change** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #resource_drift_path\n\n def resource_drift_path(project:, location:, preview:, resource_drift:) -\u003e ::String\n\nCreate a fully-qualified ResourceDrift resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **preview** (String)\n- **resource_drift** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #resource_path\n\n def resource_path(project:, location:, deployment:, revision:, resource:) -\u003e ::String\n\nCreate a fully-qualified Resource resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **deployment** (String)\n- **revision** (String)\n- **resource** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #revision_path\n\n def revision_path(project:, location:, deployment:, revision:) -\u003e ::String\n\nCreate a fully-qualified Revision resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **deployment** (String)\n- **revision** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #service_account_path\n\n def service_account_path(project:, service_account:) -\u003e ::String\n\nCreate a fully-qualified ServiceAccount resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/serviceAccounts/{service_account}` \n**Parameters**\n\n- **project** (String)\n- **service_account** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #terraform_version_path\n\n def terraform_version_path(project:, location:, terraform_version:) -\u003e ::String\n\nCreate a fully-qualified TerraformVersion resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/terraformVersions/{terraform_version}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **terraform_version** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #worker_pool_path\n\n def worker_pool_path(project:, location:, worker_pool:) -\u003e ::String\n\nCreate a fully-qualified WorkerPool resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/workerPools/{worker_pool}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **worker_pool** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)"]]