public sealed class RepricingConfig.Types.EntitlementGranularity : IMessage<RepricingConfig.Types.EntitlementGranularity>, IEquatable<RepricingConfig.Types.EntitlementGranularity>, IDeepCloneable<RepricingConfig.Types.EntitlementGranularity>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Channel v1 API class RepricingConfig.Types.EntitlementGranularity.
Applies the repricing configuration at the entitlement level.
[[["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\u003eRepricingConfig.Types.EntitlementGranularity\u003c/code\u003e class in the Cloud Channel v1 API is 2.14.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class applies repricing configurations specifically at the entitlement level, which is a feature of the Cloud Channel v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRepricingConfig.Types.EntitlementGranularity\u003c/code\u003e class implements multiple 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\u003eThe \u003ccode\u003eEntitlementGranularity\u003c/code\u003e class has a constructor that allows creating a new instance or duplicating an existing one, as well as properties to access the entitlement's resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe class can access specific properties like \u003ccode\u003eEntitlement\u003c/code\u003e (string) and \u003ccode\u003eEntitlementAsEntitlementName\u003c/code\u003e, which provides a typed view of the entitlement resource name.\u003c/p\u003e\n"]]],[],null,["# Cloud Channel v1 API - Class RepricingConfig.Types.EntitlementGranularity (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.RepricingConfig.Types.EntitlementGranularity)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.14.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.13.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.12.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.11.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.10.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.9.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.8.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.7.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.6.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.5.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.4.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.3.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.2.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.1.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.0.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.7.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.6.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.5.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.4.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.3.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.2.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.1.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.0.0/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity) \n\n public sealed class RepricingConfig.Types.EntitlementGranularity : IMessage\u003cRepricingConfig.Types.EntitlementGranularity\u003e, IEquatable\u003cRepricingConfig.Types.EntitlementGranularity\u003e, IDeepCloneable\u003cRepricingConfig.Types.EntitlementGranularity\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Channel v1 API class RepricingConfig.Types.EntitlementGranularity.\n\nApplies the repricing configuration at the entitlement level. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RepricingConfig.Types.EntitlementGranularity \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RepricingConfig](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.RepricingConfig)[Types](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.RepricingConfig.Types)[EntitlementGranularity](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RepricingConfig](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.RepricingConfig)[Types](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.RepricingConfig.Types)[EntitlementGranularity](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RepricingConfig](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.RepricingConfig)[Types](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.RepricingConfig.Types)[EntitlementGranularity](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity), [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### EntitlementGranularity()\n\n public EntitlementGranularity()\n\n### EntitlementGranularity(EntitlementGranularity)\n\n public EntitlementGranularity(RepricingConfig.Types.EntitlementGranularity other)\n\nProperties\n----------\n\n### Entitlement\n\n public string Entitlement { get; set; }\n\nResource name of the entitlement.\nFormat:\naccounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}\n\n### EntitlementAsEntitlementName\n\n public EntitlementName EntitlementAsEntitlementName { get; set; }\n\n[EntitlementName](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.EntitlementName)-typed view over the [Entitlement](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.RepricingConfig.Types.EntitlementGranularity#Google_Cloud_Channel_V1_RepricingConfig_Types_EntitlementGranularity_Entitlement) resource name property."]]