Reference documentation and code samples for the Cloud Channel V1 API class Google::Cloud::Channel::V1::ListPurchasableOffersRequest::ChangeOfferPurchase.
List Offers for ChangeOffer purchase.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#billing_account
defbilling_account()->::String
Returns
(::String) — Optional. Resource name of the new target Billing Account. Provide this
Billing Account when setting up billing for a trial subscription. Format:
accounts/{account_id}/billingAccounts/{billing_account_id}.
This field is only relevant for multi-currency accounts. It should be
left empty for single currency accounts.
#billing_account=
defbilling_account=(value)->::String
Parameter
value (::String) — Optional. Resource name of the new target Billing Account. Provide this
Billing Account when setting up billing for a trial subscription. Format:
accounts/{account_id}/billingAccounts/{billing_account_id}.
This field is only relevant for multi-currency accounts. It should be
left empty for single currency accounts.
Returns
(::String) — Optional. Resource name of the new target Billing Account. Provide this
Billing Account when setting up billing for a trial subscription. Format:
accounts/{account_id}/billingAccounts/{billing_account_id}.
This field is only relevant for multi-currency accounts. It should be
left empty for single currency accounts.
#entitlement
defentitlement()->::String
Returns
(::String) — Required. Resource name of the entitlement.
Format:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
#entitlement=
defentitlement=(value)->::String
Parameter
value (::String) — Required. Resource name of the entitlement.
Format:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
Returns
(::String) — Required. Resource name of the entitlement.
Format:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
#new_sku
defnew_sku()->::String
Returns
(::String) — Optional. Resource name of the new target SKU. Provide this SKU when
upgrading or downgrading an entitlement. Format:
products/{product_id}/skus/{sku_id}
#new_sku=
defnew_sku=(value)->::String
Parameter
value (::String) — Optional. Resource name of the new target SKU. Provide this SKU when
upgrading or downgrading an entitlement. Format:
products/{product_id}/skus/{sku_id}
Returns
(::String) — Optional. Resource name of the new target SKU. Provide this SKU when
upgrading or downgrading an entitlement. Format:
products/{product_id}/skus/{sku_id}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud Channel V1 API - Class Google::Cloud::Channel::V1::ListPurchasableOffersRequest::ChangeOfferPurchase (v2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/ruby/docs/reference/google-cloud-channel-v1/latest/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [2.2.0](/ruby/docs/reference/google-cloud-channel-v1/2.2.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [2.1.0](/ruby/docs/reference/google-cloud-channel-v1/2.1.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [2.0.1](/ruby/docs/reference/google-cloud-channel-v1/2.0.1/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [1.3.0](/ruby/docs/reference/google-cloud-channel-v1/1.3.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [1.2.0](/ruby/docs/reference/google-cloud-channel-v1/1.2.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [1.1.0](/ruby/docs/reference/google-cloud-channel-v1/1.1.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [1.0.1](/ruby/docs/reference/google-cloud-channel-v1/1.0.1/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [0.24.0](/ruby/docs/reference/google-cloud-channel-v1/0.24.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [0.23.2](/ruby/docs/reference/google-cloud-channel-v1/0.23.2/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [0.22.1](/ruby/docs/reference/google-cloud-channel-v1/0.22.1/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [0.21.0](/ruby/docs/reference/google-cloud-channel-v1/0.21.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [0.20.0](/ruby/docs/reference/google-cloud-channel-v1/0.20.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [0.19.0](/ruby/docs/reference/google-cloud-channel-v1/0.19.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [0.18.0](/ruby/docs/reference/google-cloud-channel-v1/0.18.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [0.17.0](/ruby/docs/reference/google-cloud-channel-v1/0.17.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [0.16.0](/ruby/docs/reference/google-cloud-channel-v1/0.16.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [0.15.0](/ruby/docs/reference/google-cloud-channel-v1/0.15.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [0.14.0](/ruby/docs/reference/google-cloud-channel-v1/0.14.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [0.13.0](/ruby/docs/reference/google-cloud-channel-v1/0.13.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [0.12.0](/ruby/docs/reference/google-cloud-channel-v1/0.12.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [0.11.0](/ruby/docs/reference/google-cloud-channel-v1/0.11.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [0.10.0](/ruby/docs/reference/google-cloud-channel-v1/0.10.0/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase)\n- [0.9.5](/ruby/docs/reference/google-cloud-channel-v1/0.9.5/Google-Cloud-Channel-V1-ListPurchasableOffersRequest-ChangeOfferPurchase) \nReference documentation and code samples for the Cloud Channel V1 API class Google::Cloud::Channel::V1::ListPurchasableOffersRequest::ChangeOfferPurchase.\n\nList Offers for ChangeOffer purchase. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #billing_account\n\n def billing_account() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. Resource name of the new target Billing Account. Provide this Billing Account when setting up billing for a trial subscription. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.\n\n This field is only relevant for multi-currency accounts. It should be\n left empty for single currency accounts.\n\n### #billing_account=\n\n def billing_account=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. Resource name of the new target Billing Account. Provide this Billing Account when setting up billing for a trial subscription. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.\n\n\n This field is only relevant for multi-currency accounts. It should be\nleft empty for single currency accounts. \n**Returns**\n\n- (::String) --- Optional. Resource name of the new target Billing Account. Provide this Billing Account when setting up billing for a trial subscription. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.\n\n This field is only relevant for multi-currency accounts. It should be\n left empty for single currency accounts.\n\n### #entitlement\n\n def entitlement() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}\n\n### #entitlement=\n\n def entitlement=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} \n**Returns**\n\n- (::String) --- Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}\n\n### #new_sku\n\n def new_sku() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. Resource name of the new target SKU. Provide this SKU when upgrading or downgrading an entitlement. Format: products/{product_id}/skus/{sku_id}\n\n### #new_sku=\n\n def new_sku=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. Resource name of the new target SKU. Provide this SKU when upgrading or downgrading an entitlement. Format: products/{product_id}/skus/{sku_id} \n**Returns**\n\n- (::String) --- Optional. Resource name of the new target SKU. Provide this SKU when upgrading or downgrading an entitlement. Format: products/{product_id}/skus/{sku_id}"]]