Cloud Quotas V1 API - Module Google::Cloud::CloudQuotas::V1::CloudQuotas::Paths (v1.1.0)

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)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#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)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#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)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#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)
Returns
  • (::String)
Raises
  • (::ArgumentError)