Module Google::Cloud::Channel::V1::CloudChannelService::Paths (v0.9.5)

Path helper methods for the CloudChannelService API.

Methods

def channel_partner_link_path(account:, channel_partner_link:) -> ::String

Create a fully-qualified ChannelPartnerLink resource string.

The resource will be in the following format:

accounts/{account}/channelPartnerLinks/{channel_partner_link}

Parameters
  • account (String)
  • channel_partner_link (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#customer_path

def customer_path(account:, customer:) -> ::String

Create a fully-qualified Customer resource string.

The resource will be in the following format:

accounts/{account}/customers/{customer}

Parameters
  • account (String)
  • customer (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#entitlement_path

def entitlement_path(account:, customer:, entitlement:) -> ::String

Create a fully-qualified Entitlement resource string.

The resource will be in the following format:

accounts/{account}/customers/{customer}/entitlements/{entitlement}

Parameters
  • account (String)
  • customer (String)
  • entitlement (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#offer_path

def offer_path(account:, offer:) -> ::String

Create a fully-qualified Offer resource string.

The resource will be in the following format:

accounts/{account}/offers/{offer}

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

#product_path

def product_path(product:) -> ::String

Create a fully-qualified Product resource string.

The resource will be in the following format:

products/{product}

Parameter
  • product (String)
Returns
  • (::String)