1.6.0 (latest) 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> AssignmentProtocol.Types.AutoAssignmentType

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[AssignmentProtocol](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.Types.md.txt)[AutoAssignmentType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.Types.AutoAssignmentType.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AssignmentProtocol](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.Types.md.txt)[AutoAssignmentType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.Types.AutoAssignmentType.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[AssignmentProtocol](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.Types.md.txt)[AutoAssignmentType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignmentProtocol.Types.AutoAssignmentType.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Commerce.Consumer.Procurement.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.md.txt)

## Assembly

Google.Cloud.Commerce.Consumer.Procurement.V1.dll

## Constructors

### AutoAssignmentType()

    public AutoAssignmentType()

### AutoAssignmentType(AutoAssignmentType)

    public AutoAssignmentType(AssignmentProtocol.Types.AutoAssignmentType other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `AssignmentProtocolTypesAutoAssignmentType` |

## Properties

### InactiveLicenseTtl

    public Duration InactiveLicenseTtl { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Duration` |   |