Module: Google::Cloud::Commerce::Consumer::Procurement::V1::LicenseManagementService::Paths
- Extended by:
- Paths
- Included in:
- Client, Paths, Rest::Client
- Defined in:
- lib/google/cloud/commerce/consumer/procurement/v1/license_management_service/paths.rb
Overview
Path helper methods for the LicenseManagementService API.
Instance Method Summary collapse
-
#license_pool_path(billing_account:, order:) ⇒ ::String
Create a fully-qualified LicensePool resource string.
Instance Method Details
#license_pool_path(billing_account:, order:) ⇒ ::String
Create a fully-qualified LicensePool resource string.
The resource will be in the following format:
billingAccounts/{billing_account}/orders/{order}/licensePool
40 41 42 43 44 |
# File 'lib/google/cloud/commerce/consumer/procurement/v1/license_management_service/paths.rb', line 40 def license_pool_path billing_account:, order: raise ::ArgumentError, "billing_account cannot contain /" if billing_account.to_s.include? "/" "billingAccounts/#{billing_account}/orders/#{order}/licensePool" end |