public sealed class CreateEntitlementRequest : IMessage<CreateEntitlementRequest>, IEquatable<CreateEntitlementRequest>, IDeepCloneable<CreateEntitlementRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Channel v1 API class CreateEntitlementRequest.
Request message for
[CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement]
Required. The resource name of the reseller's customer account in which to
create the entitlement. Parent uses the format:
accounts/{account_id}/customers/{customer_id}
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"]],[["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-09-04 UTC."],[[["\u003cp\u003eThe latest version available for the \u003ccode\u003eCreateEntitlementRequest\u003c/code\u003e class in the Cloud Channel v1 API is version 2.14.0.\u003c/p\u003e\n"],["\u003cp\u003eThis webpage provides reference documentation and code samples for the \u003ccode\u003eCreateEntitlementRequest\u003c/code\u003e class, which is used for requesting the creation of an entitlement.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateEntitlementRequest\u003c/code\u003e class requires a \u003ccode\u003eParent\u003c/code\u003e property that represents the resource name of the reseller's customer account, and an \u003ccode\u003eEntitlement\u003c/code\u003e property detailing the entitlement to create.\u003c/p\u003e\n"],["\u003cp\u003eThe class also provides an optional \u003ccode\u003eRequestId\u003c/code\u003e property for handling request retries, along with constructors for default and copy initialization.\u003c/p\u003e\n"],["\u003cp\u003eThe class 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, indicating its role within the Google Protobuf framework.\u003c/p\u003e\n"]]],[],null,["# Cloud Channel v1 API - Class CreateEntitlementRequest (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.CreateEntitlementRequest)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.14.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.13.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.12.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.11.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.10.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.9.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.8.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.7.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.6.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.5.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.4.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.3.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.2.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.1.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.0.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.7.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.6.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.5.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.4.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.3.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.2.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.1.0/Google.Cloud.Channel.V1.CreateEntitlementRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.0.0/Google.Cloud.Channel.V1.CreateEntitlementRequest) \n\n public sealed class CreateEntitlementRequest : IMessage\u003cCreateEntitlementRequest\u003e, IEquatable\u003cCreateEntitlementRequest\u003e, IDeepCloneable\u003cCreateEntitlementRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Channel v1 API class CreateEntitlementRequest.\n\nRequest message for\n\\[CloudChannelService.CreateEntitlement\\]\\[google.cloud.channel.v1.CloudChannelService.CreateEntitlement\\] \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateEntitlementRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateEntitlementRequest](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.CreateEntitlementRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateEntitlementRequest](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.CreateEntitlementRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateEntitlementRequest](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.CreateEntitlementRequest), [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### CreateEntitlementRequest()\n\n public CreateEntitlementRequest()\n\n### CreateEntitlementRequest(CreateEntitlementRequest)\n\n public CreateEntitlementRequest(CreateEntitlementRequest other)\n\nProperties\n----------\n\n### Entitlement\n\n public Entitlement Entitlement { get; set; }\n\nRequired. The entitlement to create.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The resource name of the reseller's customer account in which to\ncreate the entitlement. Parent uses the format:\naccounts/{account_id}/customers/{customer_id}\n\n### ParentAsCustomerName\n\n public CustomerName ParentAsCustomerName { get; set; }\n\n[CustomerName](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.CustomerName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.CreateEntitlementRequest#Google_Cloud_Channel_V1_CreateEntitlementRequest_Parent) resource name property.\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`)."]]