public sealed class AssignmentProtocol.Types.AutoAssignmentType : IMessage<AssignmentProtocol.Types.AutoAssignmentType>, IEquatable<AssignmentProtocol.Types.AutoAssignmentType>, IDeepCloneable<AssignmentProtocol.Types.AutoAssignmentType>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Commerce Consumer Procurement v1 API class AssignmentProtocol.Types.AutoAssignmentType.
Configuration for automatic assignments handled by data plane operations.
Optional. The time to live for an inactive license. After this time has
passed, the license will be automatically unassigned from the user. Must
be at least 7 days, if set. If unset, the license will never expire.
[[["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\u003eThe \u003ccode\u003eAssignmentProtocol.Types.AutoAssignmentType\u003c/code\u003e class in the Cloud Commerce Consumer Procurement v1 API handles configurations for automatic assignments.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Commerce.Consumer.Procurement.V1\u003c/code\u003e namespace and is contained within the \u003ccode\u003eGoogle.Cloud.Commerce.Consumer.Procurement.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThere are five versions of the API available, with 1.4.0 being the latest, accessible through the provided links.\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, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes the property \u003ccode\u003eInactiveLicenseTtl\u003c/code\u003e, which configures the time after which an inactive license is automatically unassigned, with a minimum duration of 7 days or no expiration if not set.\u003c/p\u003e\n"]]],[],null,["# Cloud Commerce Consumer Procurement v1 API - Class AssignmentProtocol.Types.AutoAssignmentType (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.Types.AutoAssignmentType)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.4.0/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.Types.AutoAssignmentType)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.3.0/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.Types.AutoAssignmentType)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.2.0/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.Types.AutoAssignmentType)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.1.0/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.Types.AutoAssignmentType)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.0.0/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.Types.AutoAssignmentType) \n\n public sealed class AssignmentProtocol.Types.AutoAssignmentType : IMessage\u003cAssignmentProtocol.Types.AutoAssignmentType\u003e, IEquatable\u003cAssignmentProtocol.Types.AutoAssignmentType\u003e, IDeepCloneable\u003cAssignmentProtocol.Types.AutoAssignmentType\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Commerce Consumer Procurement v1 API class AssignmentProtocol.Types.AutoAssignmentType.\n\nConfiguration for automatic assignments handled by data plane operations. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AssignmentProtocol.Types.AutoAssignmentType \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)[Types](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.Types)[AutoAssignmentType](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.Types.AutoAssignmentType), [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)[Types](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.Types)[AutoAssignmentType](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.Types.AutoAssignmentType), [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)[Types](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.Types)[AutoAssignmentType](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.Types.AutoAssignmentType), [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### AutoAssignmentType()\n\n public AutoAssignmentType()\n\n### AutoAssignmentType(AutoAssignmentType)\n\n public AutoAssignmentType(AssignmentProtocol.Types.AutoAssignmentType other)\n\nProperties\n----------\n\n### InactiveLicenseTtl\n\n public Duration InactiveLicenseTtl { get; set; }\n\nOptional. The time to live for an inactive license. After this time has\npassed, the license will be automatically unassigned from the user. Must\nbe at least 7 days, if set. If unset, the license will never expire."]]