# Google Cloud Commerce Consumer Procurement V1 Client - Class AutoAssignmentType (1.3.3)

1.3.3 (latest) 1.3.2 1.2.2 1.1.3 1.0.0 0.2.5 0.1.1 Reference documentation and code samples for the Google Cloud Commerce Consumer Procurement V1 Client class AutoAssignmentType.

Configuration for automatic assignments handled by data plane operations.

Generated from protobuf message `google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.AutoAssignmentType`

## Namespace

Google \\ Cloud \\ Commerce \\ Consumer \\ Procurement \\ V1 \\ AssignmentProtocol

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ inactive_license_ttl` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` 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. |

### getInactiveLicenseTtl

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration|null` |   |

### hasInactiveLicenseTtl

### clearInactiveLicenseTtl

### setInactiveLicenseTtl

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |