Cloud Quotas V1 API - Module Google::Cloud::CloudQuotas::V1::CloudQuotas::Paths (v2.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Quotas V1 API module Google::Cloud::CloudQuotas::V1::CloudQuotas::Paths.
Path helper methods for the CloudQuotas API.
Methods
#location_path
def location_path(project:, location:) -> ::String
def location_path(folder:, location:) -> ::String
def location_path(organization:, location:) -> ::String
Create a fully-qualified Location resource string.
Overloads
def location_path(project:, location:) -> ::String
The resource will be in the following format:
projects/{project}/locations/{location}
Parameters
-
project (String)
-
location (String)
def location_path(folder:, location:) -> ::String
The resource will be in the following format:
folders/{folder}/locations/{location}
Parameters
-
folder (String)
-
location (String)
def location_path(organization:, location:) -> ::String
The resource will be in the following format:
organizations/{organization}/locations/{location}
Parameters
-
organization (String)
-
location (String)
#quota_info_path
def quota_info_path(project:, location:, service:, quota_info:) -> ::String
def quota_info_path(folder:, location:, service:, quota_info:) -> ::String
def quota_info_path(organization:, location:, service:, quota_info:) -> ::String
Create a fully-qualified QuotaInfo resource string.
Overloads
def quota_info_path(project:, location:, service:, quota_info:) -> ::String
The resource will be in the following format:
projects/{project}/locations/{location}/services/{service}/quotaInfos/{quota_info}
Parameters
-
project (String)
-
location (String)
-
service (String)
-
quota_info (String)
def quota_info_path(folder:, location:, service:, quota_info:) -> ::String
The resource will be in the following format:
folders/{folder}/locations/{location}/services/{service}/quotaInfos/{quota_info}
Parameters
-
folder (String)
-
location (String)
-
service (String)
-
quota_info (String)
def quota_info_path(organization:, location:, service:, quota_info:) -> ::String
The resource will be in the following format:
organizations/{organization}/locations/{location}/services/{service}/quotaInfos/{quota_info}
Parameters
-
organization (String)
-
location (String)
-
service (String)
-
quota_info (String)
#quota_preference_path
def quota_preference_path(project:, location:, quota_preference:) -> ::String
def quota_preference_path(folder:, location:, quota_preference:) -> ::String
def quota_preference_path(organization:, location:, quota_preference:) -> ::String
Create a fully-qualified QuotaPreference resource string.
Overloads
def quota_preference_path(project:, location:, quota_preference:) -> ::String
The resource will be in the following format:
projects/{project}/locations/{location}/quotaPreferences/{quota_preference}
Parameters
-
project (String)
-
location (String)
-
quota_preference (String)
def quota_preference_path(folder:, location:, quota_preference:) -> ::String
The resource will be in the following format:
folders/{folder}/locations/{location}/quotaPreferences/{quota_preference}
Parameters
-
folder (String)
-
location (String)
-
quota_preference (String)
def quota_preference_path(organization:, location:, quota_preference:) -> ::String
The resource will be in the following format:
organizations/{organization}/locations/{location}/quotaPreferences/{quota_preference}
Parameters
-
organization (String)
-
location (String)
-
quota_preference (String)
#service_path
def service_path(project:, location:, service:) -> ::String
def service_path(folder:, location:, service:) -> ::String
def service_path(organization:, location:, service:) -> ::String
Create a fully-qualified Service resource string.
Overloads
def service_path(project:, location:, service:) -> ::String
The resource will be in the following format:
projects/{project}/locations/{location}/services/{service}
Parameters
-
project (String)
-
location (String)
-
service (String)
def service_path(folder:, location:, service:) -> ::String
The resource will be in the following format:
folders/{folder}/locations/{location}/services/{service}
Parameters
-
folder (String)
-
location (String)
-
service (String)
def service_path(organization:, location:, service:) -> ::String
The resource will be in the following format:
organizations/{organization}/locations/{location}/services/{service}
Parameters
-
organization (String)
-
location (String)
-
service (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-08-28 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-08-28 UTC."],[],[],null,["# Cloud Quotas V1 API - Module Google::Cloud::CloudQuotas::V1::CloudQuotas::Paths (v2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/ruby/docs/reference/google-cloud-cloud_quotas-v1/latest/Google-Cloud-CloudQuotas-V1-CloudQuotas-Paths)\n- [2.0.1](/ruby/docs/reference/google-cloud-cloud_quotas-v1/2.0.1/Google-Cloud-CloudQuotas-V1-CloudQuotas-Paths)\n- [1.3.0](/ruby/docs/reference/google-cloud-cloud_quotas-v1/1.3.0/Google-Cloud-CloudQuotas-V1-CloudQuotas-Paths)\n- [1.2.0](/ruby/docs/reference/google-cloud-cloud_quotas-v1/1.2.0/Google-Cloud-CloudQuotas-V1-CloudQuotas-Paths)\n- [1.1.0](/ruby/docs/reference/google-cloud-cloud_quotas-v1/1.1.0/Google-Cloud-CloudQuotas-V1-CloudQuotas-Paths)\n- [1.0.1](/ruby/docs/reference/google-cloud-cloud_quotas-v1/1.0.1/Google-Cloud-CloudQuotas-V1-CloudQuotas-Paths)\n- [0.3.3](/ruby/docs/reference/google-cloud-cloud_quotas-v1/0.3.3/Google-Cloud-CloudQuotas-V1-CloudQuotas-Paths)\n- [0.2.2](/ruby/docs/reference/google-cloud-cloud_quotas-v1/0.2.2/Google-Cloud-CloudQuotas-V1-CloudQuotas-Paths)\n- [0.1.0](/ruby/docs/reference/google-cloud-cloud_quotas-v1/0.1.0/Google-Cloud-CloudQuotas-V1-CloudQuotas-Paths) \nReference documentation and code samples for the Cloud Quotas V1 API module Google::Cloud::CloudQuotas::V1::CloudQuotas::Paths.\n\nPath helper methods for the CloudQuotas API. \n\nExtended By\n-----------\n\n- [Google::Cloud::CloudQuotas::V1::CloudQuotas::Paths](./Google-Cloud-CloudQuotas-V1-CloudQuotas-Paths)\n\nMethods\n-------\n\n### #location_path\n\n def location_path(project:, location:) -\u003e ::String\n def location_path(folder:, location:) -\u003e ::String\n def location_path(organization:, location:) -\u003e ::String\n\nCreate a fully-qualified Location resource string. \n**Overloads** \n\n def location_path(project:, location:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`projects/{project}/locations/{location}` \n**Parameters**\n\n- **project** (String)\n- **location** (String) \n\n def location_path(folder:, location:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`folders/{folder}/locations/{location}` \n**Parameters**\n\n- **folder** (String)\n- **location** (String) \n\n def location_path(organization:, location:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`organizations/{organization}/locations/{location}` \n**Parameters**\n\n- **organization** (String)\n- **location** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #quota_info_path\n\n def quota_info_path(project:, location:, service:, quota_info:) -\u003e ::String\n def quota_info_path(folder:, location:, service:, quota_info:) -\u003e ::String\n def quota_info_path(organization:, location:, service:, quota_info:) -\u003e ::String\n\nCreate a fully-qualified QuotaInfo resource string. \n**Overloads** \n\n def quota_info_path(project:, location:, service:, quota_info:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`projects/{project}/locations/{location}/services/{service}/quotaInfos/{quota_info}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **service** (String)\n- **quota_info** (String) \n\n def quota_info_path(folder:, location:, service:, quota_info:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`folders/{folder}/locations/{location}/services/{service}/quotaInfos/{quota_info}` \n**Parameters**\n\n- **folder** (String)\n- **location** (String)\n- **service** (String)\n- **quota_info** (String) \n\n def quota_info_path(organization:, location:, service:, quota_info:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`organizations/{organization}/locations/{location}/services/{service}/quotaInfos/{quota_info}` \n**Parameters**\n\n- **organization** (String)\n- **location** (String)\n- **service** (String)\n- **quota_info** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #quota_preference_path\n\n def quota_preference_path(project:, location:, quota_preference:) -\u003e ::String\n def quota_preference_path(folder:, location:, quota_preference:) -\u003e ::String\n def quota_preference_path(organization:, location:, quota_preference:) -\u003e ::String\n\nCreate a fully-qualified QuotaPreference resource string. \n**Overloads** \n\n def quota_preference_path(project:, location:, quota_preference:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`projects/{project}/locations/{location}/quotaPreferences/{quota_preference}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **quota_preference** (String) \n\n def quota_preference_path(folder:, location:, quota_preference:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`folders/{folder}/locations/{location}/quotaPreferences/{quota_preference}` \n**Parameters**\n\n- **folder** (String)\n- **location** (String)\n- **quota_preference** (String) \n\n def quota_preference_path(organization:, location:, quota_preference:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`organizations/{organization}/locations/{location}/quotaPreferences/{quota_preference}` \n**Parameters**\n\n- **organization** (String)\n- **location** (String)\n- **quota_preference** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #service_path\n\n def service_path(project:, location:, service:) -\u003e ::String\n def service_path(folder:, location:, service:) -\u003e ::String\n def service_path(organization:, location:, service:) -\u003e ::String\n\nCreate a fully-qualified Service resource string. \n**Overloads** \n\n def service_path(project:, location:, service:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`projects/{project}/locations/{location}/services/{service}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **service** (String) \n\n def service_path(folder:, location:, service:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`folders/{folder}/locations/{location}/services/{service}` \n**Parameters**\n\n- **folder** (String)\n- **location** (String)\n- **service** (String) \n\n def service_path(organization:, location:, service:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`organizations/{organization}/locations/{location}/services/{service}` \n**Parameters**\n\n- **organization** (String)\n- **location** (String)\n- **service** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)"]]