Module: Google::Cloud::CloudQuotas::V1beta::QuotaAdjusterSettingsManager::Paths
- Extended by:
- Paths
- Included in:
- Client, Paths, Rest::Client
- Defined in:
- lib/google/cloud/cloud_quotas/v1beta/quota_adjuster_settings_manager/paths.rb
Overview
Path helper methods for the QuotaAdjusterSettingsManager API.
Instance Method Summary collapse
-
#quota_adjuster_settings_path(project:, location:) ⇒ ::String
Create a fully-qualified QuotaAdjusterSettings resource string.
Instance Method Details
#quota_adjuster_settings_path(project:, location:) ⇒ ::String
Create a fully-qualified QuotaAdjusterSettings resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/quotaAdjusterSettings
38 39 40 41 42 |
# File 'lib/google/cloud/cloud_quotas/v1beta/quota_adjuster_settings_manager/paths.rb', line 38 def quota_adjuster_settings_path project:, location: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" "projects/#{project}/locations/#{location}/quotaAdjusterSettings" end |