public sealed class AssignmentProtocol : IMessage<AssignmentProtocol>, IEquatable<AssignmentProtocol>, IDeepCloneable<AssignmentProtocol>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Commerce Consumer Procurement v1 API class AssignmentProtocol.
[[["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."],[[["\u003cp\u003eThis documentation covers the \u003ccode\u003eAssignmentProtocol\u003c/code\u003e class, part of the Google Cloud Commerce Consumer Procurement v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAssignmentProtocol\u003c/code\u003e class serves as the assignment protocol for a license pool, enabling license assignment within Google Cloud.\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, providing functionality like deep cloning and message handling.\u003c/p\u003e\n"],["\u003cp\u003eIt allows for both automatic (\u003ccode\u003eAutoAssignmentType\u003c/code\u003e) and manual (\u003ccode\u003eManualAssignmentType\u003c/code\u003e) license assignments.\u003c/p\u003e\n"],["\u003cp\u003eThe documented API versions range from version 1.0.0 to the latest 1.4.0.\u003c/p\u003e\n"]]],[],null,["# Cloud Commerce Consumer Procurement v1 API - Class AssignmentProtocol (1.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.4.0/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.3.0/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.2.0/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.1.0/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.0.0/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol) \n\n public sealed class AssignmentProtocol : IMessage\u003cAssignmentProtocol\u003e, IEquatable\u003cAssignmentProtocol\u003e, IDeepCloneable\u003cAssignmentProtocol\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Commerce Consumer Procurement v1 API class AssignmentProtocol.\n\nAssignment protocol for a license pool. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AssignmentProtocol \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AssignmentProtocol](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AssignmentProtocol](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AssignmentProtocol](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol), [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.Commerce.Consumer.Procurement.V1](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Commerce.Consumer.Procurement.V1.dll\n\nConstructors\n------------\n\n### AssignmentProtocol()\n\n public AssignmentProtocol()\n\n### AssignmentProtocol(AssignmentProtocol)\n\n public AssignmentProtocol(AssignmentProtocol other)\n\nProperties\n----------\n\n### AssignmentTypeCase\n\n public AssignmentProtocol.AssignmentTypeOneofCase AssignmentTypeCase { get; }\n\n### AutoAssignmentType\n\n public AssignmentProtocol.Types.AutoAssignmentType AutoAssignmentType { get; set; }\n\nAllow automatic assignments triggered by data plane operations.\n\n### ManualAssignmentType\n\n public AssignmentProtocol.Types.ManualAssignmentType ManualAssignmentType { get; set; }\n\nAllow manual assignments triggered by administrative operations only."]]