0.20.1 (latest) 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.12 0.12.3 0.11.14 0.10.0 0.9.1 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.1 0.2.1 0.1.1

    UserLicense(mapping=None, *, ignore_unknown_fields=False, **kwargs)

User License information assigned by the admin.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `user_principal` | `str` Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal. |
| `user_profile` | `str` Optional. The user profile. We user user full name(First name + Last name) as user profile. |
| `license_assignment_state` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1beta.types.UserLicense.LicenseAssignmentState` Output only. License assignment state of the user. If the user is assigned with a license config, the user login will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user; |
| `license_config` | `str` Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. User created timestamp. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. User update timestamp. |
| `last_login_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. User last logged in time. If the user has not logged in yet, this field will be empty. |

## Classes

### LicenseAssignmentState

    LicenseAssignmentState(value)

License assignment state enumeration.