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;
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Discovery Engine V1 Client - Class LicenseAssignmentState (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/php/docs/reference/cloud-discoveryengine/latest/V1.UserLicense.LicenseAssignmentState)\n- [1.6.1](/php/docs/reference/cloud-discoveryengine/1.6.1/V1.UserLicense.LicenseAssignmentState)\n- [1.5.1](/php/docs/reference/cloud-discoveryengine/1.5.1/V1.UserLicense.LicenseAssignmentState)\n- [1.4.0](/php/docs/reference/cloud-discoveryengine/1.4.0/V1.UserLicense.LicenseAssignmentState)\n- [1.3.3](/php/docs/reference/cloud-discoveryengine/1.3.3/V1.UserLicense.LicenseAssignmentState)\n- [1.2.0](/php/docs/reference/cloud-discoveryengine/1.2.0/V1.UserLicense.LicenseAssignmentState)\n- [1.1.0](/php/docs/reference/cloud-discoveryengine/1.1.0/V1.UserLicense.LicenseAssignmentState)\n- [1.0.0](/php/docs/reference/cloud-discoveryengine/1.0.0/V1.UserLicense.LicenseAssignmentState)\n- [0.11.3](/php/docs/reference/cloud-discoveryengine/0.11.3/V1.UserLicense.LicenseAssignmentState)\n- [0.8.0](/php/docs/reference/cloud-discoveryengine/0.8.0/V1.UserLicense.LicenseAssignmentState)\n- [0.7.1](/php/docs/reference/cloud-discoveryengine/0.7.1/V1.UserLicense.LicenseAssignmentState)\n- [0.6.0](/php/docs/reference/cloud-discoveryengine/0.6.0/V1.UserLicense.LicenseAssignmentState)\n- [0.5.0](/php/docs/reference/cloud-discoveryengine/0.5.0/V1.UserLicense.LicenseAssignmentState)\n- [0.4.0](/php/docs/reference/cloud-discoveryengine/0.4.0/V1.UserLicense.LicenseAssignmentState)\n- [0.3.0](/php/docs/reference/cloud-discoveryengine/0.3.0/V1.UserLicense.LicenseAssignmentState)\n- [0.2.0](/php/docs/reference/cloud-discoveryengine/0.2.0/V1.UserLicense.LicenseAssignmentState)\n- [0.1.1](/php/docs/reference/cloud-discoveryengine/0.1.1/V1.UserLicense.LicenseAssignmentState) \nReference documentation and code samples for the Google Cloud Discovery Engine V1 Client class LicenseAssignmentState.\n\nLicense assignment state enumeration.\n\nProtobuf type `google.cloud.discoveryengine.v1.UserLicense.LicenseAssignmentState`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DiscoveryEngine \\\\ V1 \\\\ UserLicense\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### LICENSE_ASSIGNMENT_STATE_UNSPECIFIED\n\n Value: 0\n\nDefault value.\n\nGenerated from protobuf enum `LICENSE_ASSIGNMENT_STATE_UNSPECIFIED = 0;`\n\n### ASSIGNED\n\n Value: 1\n\nLicense assigned to the user.\n\nGenerated from protobuf enum `ASSIGNED = 1;`\n\n### UNASSIGNED\n\n Value: 2\n\nNo license assigned to the user.\n\nDeprecated, translated to NO_LICENSE.\n\nGenerated from protobuf enum `UNASSIGNED = 2;`\n\n### NO_LICENSE\n\n Value: 3\n\nNo license assigned to the user.\n\nGenerated from protobuf enum `NO_LICENSE = 3;`\n\n### NO_LICENSE_ATTEMPTED_LOGIN\n\n Value: 4\n\nUser attempted to login but no license assigned to the user.\n\nThis state is only used for no user first time login attempt but cannot\nget license assigned.\nUsers already logged in but cannot get license assigned will be assigned\nNO_LICENSE state(License could be unassigned by admin).\n\nGenerated from protobuf enum `NO_LICENSE_ATTEMPTED_LOGIN = 4;`"]]