Cloud Commerce Producer V1BETA API - Module Google::Cloud::CommerceProducer::V1beta::CommerceTransaction::Paths (v0.1.0)

Reference documentation and code samples for the Cloud Commerce Producer V1BETA API module Google::Cloud::CommerceProducer::V1beta::CommerceTransaction::Paths.

Path helper methods for the CommerceTransaction 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)

#location_path

def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#private_offer_document_path

def private_offer_document_path(project:, location:, private_offer:, document:) -> ::String

Create a fully-qualified PrivateOfferDocument resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/privateOffers/{private_offer}/documents/{document}

Parameters
  • project (String)
  • location (String)
  • private_offer (String)
  • document (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#private_offer_path

def private_offer_path(project:, location:, private_offer:) -> ::String

Create a fully-qualified PrivateOffer resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/privateOffers/{private_offer}

Parameters
  • project (String)
  • location (String)
  • private_offer (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#service_path

def service_path(project:, location:, service:) -> ::String

Create a fully-qualified Service resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/services/{service}

Parameters
  • project (String)
  • location (String)
  • service (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#sku_group_path

def sku_group_path(project:, location:, sku_group:) -> ::String

Create a fully-qualified SkuGroup resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/skuGroups/{sku_group}

Parameters
  • project (String)
  • location (String)
  • sku_group (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#sku_path

def sku_path(project:, location:, service:, sku:) -> ::String

Create a fully-qualified Sku resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/services/{service}/skus/{sku}

Parameters
  • project (String)
  • location (String)
  • service (String)
  • sku (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#standard_offer_path

def standard_offer_path(project:, location:, service:, standard_offer:) -> ::String

Create a fully-qualified StandardOffer resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/services/{service}/standardOffers/{standard_offer}

Parameters
  • project (String)
  • location (String)
  • service (String)
  • standard_offer (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)