Cloud Channel V1 API - Module Google::Cloud::Channel::V1::CloudChannelService::Paths (v0.19.0)

Reference documentation and code samples for the Cloud Channel V1 API module Google::Cloud::Channel::V1::CloudChannelService::Paths.

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)

#channel_partner_repricing_config_path

def channel_partner_repricing_config_path(account:, channel_partner:, channel_partner_repricing_config:) -> ::String

Create a fully-qualified ChannelPartnerRepricingConfig resource string.

The resource will be in the following format:

accounts/{account}/channelPartnerLinks/{channel_partner}/channelPartnerRepricingConfigs/{channel_partner_repricing_config}

Parameters
  • account (String)
  • channel_partner (String)
  • channel_partner_repricing_config (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)

#customer_repricing_config_path

def customer_repricing_config_path(account:, customer:, customer_repricing_config:) -> ::String

Create a fully-qualified CustomerRepricingConfig resource string.

The resource will be in the following format:

accounts/{account}/customers/{customer}/customerRepricingConfigs/{customer_repricing_config}

Parameters
  • account (String)
  • customer (String)
  • customer_repricing_config (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)