public sealed class ChangeOfferRequest : IMessage<ChangeOfferRequest>, IEquatable<ChangeOfferRequest>, IDeepCloneable<ChangeOfferRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Channel v1 API class ChangeOfferRequest.
Request message for
[CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].
Required. The resource name of the entitlement to update.
Name uses the format:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
public RepeatedField<Parameter> Parameters { get; }
Optional. Parameters needed to purchase the Offer. To view the available
Parameters refer to the
[Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
from the desired offer.
Optional. You can specify an optional unique request ID, and if you need to
retry your request, the server will know to ignore the request if it's
complete.
For example, you make an initial request and the request times out. If you
make the request again with the same request ID, the server can check if
it received the original operation with the same request ID. If it did, it
will ignore the second request.
The request ID must be a valid UUID
with the exception that zero UUID is not supported
(00000000-0000-0000-0000-000000000000).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eChangeOfferRequest\u003c/code\u003e class in the Cloud Channel v1 API is 2.14.0, and documentation is available for versions ranging from 1.0.0 to 2.14.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eChangeOfferRequest\u003c/code\u003e is used to update an entitlement by changing the associated offer, as indicated by the \u003ccode\u003eCloudChannelService.ChangeOffer\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eChangeOfferRequest\u003c/code\u003e include \u003ccode\u003eName\u003c/code\u003e (entitlement resource name), \u003ccode\u003eOffer\u003c/code\u003e (new offer details), \u003ccode\u003eParameters\u003c/code\u003e (purchase parameters), \u003ccode\u003eBillingAccount\u003c/code\u003e (relevant for multi-currency), \u003ccode\u003ePurchaseOrderId\u003c/code\u003e, and \u003ccode\u003eRequestId\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Cloud Channel v1 API - Class ChangeOfferRequest (2.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.15.0 (latest)](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.14.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.13.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.12.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.11.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.10.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.9.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.8.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.7.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.6.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.5.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.4.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.3.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.2.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.1.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.0.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.7.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.6.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.5.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.4.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.3.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.2.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.1.0/Google.Cloud.Channel.V1.ChangeOfferRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.0.0/Google.Cloud.Channel.V1.ChangeOfferRequest) \n\n public sealed class ChangeOfferRequest : IMessage\u003cChangeOfferRequest\u003e, IEquatable\u003cChangeOfferRequest\u003e, IDeepCloneable\u003cChangeOfferRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Channel v1 API class ChangeOfferRequest.\n\nRequest message for\n\\[CloudChannelService.ChangeOffer\\]\\[google.cloud.channel.v1.CloudChannelService.ChangeOffer\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ChangeOfferRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ChangeOfferRequest](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.ChangeOfferRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ChangeOfferRequest](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.ChangeOfferRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ChangeOfferRequest](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.ChangeOfferRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Channel.V1](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Channel.V1.dll\n\nConstructors\n------------\n\n### ChangeOfferRequest()\n\n public ChangeOfferRequest()\n\n### ChangeOfferRequest(ChangeOfferRequest)\n\n public ChangeOfferRequest(ChangeOfferRequest other)\n\nProperties\n----------\n\n### BillingAccount\n\n public string BillingAccount { get; set; }\n\nOptional. The billing account resource name that is used to pay for this\nentitlement when setting up billing on a trial subscription.\n\nThis field is only relevant for multi-currency accounts. It should be\nleft empty for single currency accounts.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The resource name of the entitlement to update.\nName uses the format:\naccounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}\n\n### Offer\n\n public string Offer { get; set; }\n\nRequired. New Offer.\nFormat: accounts/{account_id}/offers/{offer_id}.\n\n### OfferAsOfferName\n\n public OfferName OfferAsOfferName { get; set; }\n\n[OfferName](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.OfferName)-typed view over the [Offer](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.ChangeOfferRequest#Google_Cloud_Channel_V1_ChangeOfferRequest_Offer) resource name property.\n\n### Parameters\n\n public RepeatedField\u003cParameter\u003e Parameters { get; }\n\nOptional. Parameters needed to purchase the Offer. To view the available\nParameters refer to the\n\\[Offer.parameter_definitions\\]\\[google.cloud.channel.v1.Offer.parameter_definitions\\]\nfrom the desired offer.\n\n### PurchaseOrderId\n\n public string PurchaseOrderId { get; set; }\n\nOptional. Purchase order id provided by the reseller.\n\n### RequestId\n\n public string RequestId { get; set; }\n\nOptional. You can specify an optional unique request ID, and if you need to\nretry your request, the server will know to ignore the request if it's\ncomplete.\n\nFor example, you make an initial request and the request times out. If you\nmake the request again with the same request ID, the server can check if\nit received the original operation with the same request ID. If it did, it\nwill ignore the second request.\n\nThe request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)\nwith the exception that zero UUID is not supported\n(`00000000-0000-0000-0000-000000000000`)."]]