Cloud Commerce Consumer Procurement V1 API - Module Google::Cloud::Commerce::Consumer::Procurement::V1::ConsumerProcurementService::Paths (v0.1.0)

Reference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API module Google::Cloud::Commerce::Consumer::Procurement::V1::ConsumerProcurementService::Paths.

Path helper methods for the ConsumerProcurementService API.

Methods

#billing_account_path

def billing_account_path(billing_account:) -> ::String

Create a fully-qualified BillingAccount resource string.

The resource will be in the following format:

billingAccounts/{billing_account}

Parameter
  • billing_account (String)
Returns
  • (::String)

#offer_path

def offer_path(service:, offer:) -> ::String
def offer_path(consumer_billing_account:, offer:) -> ::String

Create a fully-qualified Offer resource string.

Overloads
def offer_path(service:, offer:) -> ::String
The resource will be in the following format:

services/{service}/standardOffers/{offer}

Parameters
  • service (String)
  • offer (String)
def offer_path(consumer_billing_account:, offer:) -> ::String
The resource will be in the following format:

billingAccounts/{consumer_billing_account}/offers/{offer}

Parameters
  • consumer_billing_account (String)
  • offer (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)