# Google Cloud Discovery Engine V1 Client - Class LicenseAssignmentState (1.11.1)

1.11.1 (latest) 1.11.0 1.10.1 1.9.1 1.8.0 1.7.0 1.6.1 1.5.1 1.4.0 1.3.3 1.2.0 1.1.0 1.0.0 0.11.3 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class LicenseAssignmentState.

License assignment state enumeration.

Protobuf type `google.cloud.discoveryengine.v1.UserLicense.LicenseAssignmentState`

## Namespace

Google \\ Cloud \\ DiscoveryEngine \\ V1 \\ UserLicense

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### LICENSE_ASSIGNMENT_STATE_UNSPECIFIED

    Value: 0

Default value.

Generated from protobuf enum `LICENSE_ASSIGNMENT_STATE_UNSPECIFIED = 0;`

### ASSIGNED

    Value: 1

License assigned to the user.

Generated from protobuf enum `ASSIGNED = 1;`

### UNASSIGNED

    Value: 2

No license assigned to the user.

Deprecated, translated to NO_LICENSE.

Generated from protobuf enum `UNASSIGNED = 2;`

### NO_LICENSE

    Value: 3

No license assigned to the user.

Generated from protobuf enum `NO_LICENSE = 3;`

### NO_LICENSE_ATTEMPTED_LOGIN

    Value: 4

User attempted to login but no license assigned to the user.

This state is only used for no user first time login attempt but cannot
get license assigned.
Users already logged in but cannot get license assigned will be assigned
NO_LICENSE state(License could be unassigned by admin).

Generated from protobuf enum `NO_LICENSE_ATTEMPTED_LOGIN = 4;`