Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class UserLicense.
User License information assigned by the admin.
Generated from protobuf message google.cloud.discoveryengine.v1.UserLicense
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ user_principal
string
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
string
Optional. The user profile. We user user full name(First name + Last name) as user profile.
↳ license_assignment_state
int
Output only. License assignment state of the user. If the user is assigned with a license config, the user loggin 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
string
Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user.
↳ create_time
↳ update_time
↳ last_login_time
Google\Protobuf\Timestamp
Output only. User last logged in time. If the user has not logged in yet, this field will be empty.
getUserPrincipal
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.
string
setUserPrincipal
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.
var
string
$this
getUserProfile
Optional. The user profile.
We user user full name(First name + Last name) as user profile.
string
setUserProfile
Optional. The user profile.
We user user full name(First name + Last name) as user profile.
var
string
$this
getLicenseAssignmentState
Output only. License assignment state of the user.
If the user is assigned with a license config, the user loggin 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;
int
setLicenseAssignmentState
Output only. License assignment state of the user.
If the user is assigned with a license config, the user loggin 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;
var
int
$this
getLicenseConfig
Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user.
string
setLicenseConfig
Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user.
var
string
$this
getCreateTime
Output only. User created timestamp.
hasCreateTime
clearCreateTime
setCreateTime
Output only. User created timestamp.
$this
getUpdateTime
Output only. User update timestamp.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. User update timestamp.
$this
getLastLoginTime
Output only. User last logged in time.
If the user has not logged in yet, this field will be empty.
hasLastLoginTime
clearLastLoginTime
setLastLoginTime
Output only. User last logged in time.
If the user has not logged in yet, this field will be empty.
$this