(::String) — 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}
#parent=
defparent=(value)->::String
Parameter
value (::String) — 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}
Returns
(::String) — 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}
#request_id
defrequest_id()->::String
Returns
(::String) — 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).
#request_id=
defrequest_id=(value)->::String
Parameter
value (::String) — 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).
Returns
(::String) — 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-08-28 UTC."],[],[],null,["# Cloud Channel V1 API - Class Google::Cloud::Channel::V1::CreateEntitlementRequest (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-CreateEntitlementRequest)\n- [2.2.0](/ruby/docs/reference/google-cloud-channel-v1/2.2.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [2.1.0](/ruby/docs/reference/google-cloud-channel-v1/2.1.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [2.0.1](/ruby/docs/reference/google-cloud-channel-v1/2.0.1/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-channel-v1/1.3.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-channel-v1/1.2.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-channel-v1/1.1.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-channel-v1/1.0.1/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [0.24.0](/ruby/docs/reference/google-cloud-channel-v1/0.24.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [0.23.2](/ruby/docs/reference/google-cloud-channel-v1/0.23.2/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [0.22.1](/ruby/docs/reference/google-cloud-channel-v1/0.22.1/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [0.21.0](/ruby/docs/reference/google-cloud-channel-v1/0.21.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [0.20.0](/ruby/docs/reference/google-cloud-channel-v1/0.20.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [0.19.0](/ruby/docs/reference/google-cloud-channel-v1/0.19.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [0.18.0](/ruby/docs/reference/google-cloud-channel-v1/0.18.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [0.17.0](/ruby/docs/reference/google-cloud-channel-v1/0.17.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [0.16.0](/ruby/docs/reference/google-cloud-channel-v1/0.16.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [0.15.0](/ruby/docs/reference/google-cloud-channel-v1/0.15.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [0.14.0](/ruby/docs/reference/google-cloud-channel-v1/0.14.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [0.13.0](/ruby/docs/reference/google-cloud-channel-v1/0.13.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [0.12.0](/ruby/docs/reference/google-cloud-channel-v1/0.12.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-channel-v1/0.11.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-channel-v1/0.10.0/Google-Cloud-Channel-V1-CreateEntitlementRequest)\n- [0.9.5](/ruby/docs/reference/google-cloud-channel-v1/0.9.5/Google-Cloud-Channel-V1-CreateEntitlementRequest) \nReference documentation and code samples for the Cloud Channel V1 API class Google::Cloud::Channel::V1::CreateEntitlementRequest.\n\nRequest message for\n[CloudChannelService.CreateEntitlement](/ruby/docs/reference/google-cloud-channel-v1/latest/Google-Cloud-Channel-V1-CloudChannelService-Client#Google__Cloud__Channel__V1__CloudChannelService__Client_create_entitlement_instance_ \"Google::Cloud::Channel::V1::CloudChannelService::Client#create_entitlement (method)\") \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### #entitlement\n\n def entitlement() -\u003e ::Google::Cloud::Channel::V1::Entitlement\n\n**Returns**\n\n- ([::Google::Cloud::Channel::V1::Entitlement](./Google-Cloud-Channel-V1-Entitlement)) --- Required. The entitlement to create.\n\n### #entitlement=\n\n def entitlement=(value) -\u003e ::Google::Cloud::Channel::V1::Entitlement\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Channel::V1::Entitlement](./Google-Cloud-Channel-V1-Entitlement)) --- Required. The entitlement to create. \n**Returns**\n\n- ([::Google::Cloud::Channel::V1::Entitlement](./Google-Cloud-Channel-V1-Entitlement)) --- Required. The entitlement to create.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- 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}\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- 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} \n**Returns**\n\n- (::String) --- 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}\n\n### #request_id\n\n def request_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- 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.\n\n For example, you make an initial request and the request times out. If you\n make the request again with the same request ID, the server can check if\n it received the original operation with the same request ID. If it did, it\n will ignore the second request.\n\n The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)\n with the exception that zero UUID is not supported\n (`00000000-0000-0000-0000-000000000000`).\n\n### #request_id=\n\n def request_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- 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.\n\n\n For example, you make an initial request and the request times out. If you\n make the request again with the same request ID, the server can check if\n it received the original operation with the same request ID. If it did, it\n will ignore the second request.\n\n The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)\n with the exception that zero UUID is not supported\n(`00000000-0000-0000-0000-000000000000`). \n**Returns**\n\n- (::String) --- 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.\n\n For example, you make an initial request and the request times out. If you\n make the request again with the same request ID, the server can check if\n it received the original operation with the same request ID. If it did, it\n will ignore the second request.\n\n The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)\n with the exception that zero UUID is not supported\n (`00000000-0000-0000-0000-000000000000`)."]]