Discovery Engine v1 API - Class UserLicense (1.8.0)

public sealed class UserLicense : IMessage<UserLicense>, IEquatable<UserLicense>, IDeepCloneable<UserLicense>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class UserLicense.

User License information assigned by the admin.

Inheritance

object > UserLicense

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

UserLicense()

public UserLicense()

UserLicense(UserLicense)

public UserLicense(UserLicense other)
Parameter
Name Description
other UserLicense

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. User created timestamp.

Property Value
Type Description
Timestamp

LastLoginTime

public Timestamp LastLoginTime { get; set; }

Output only. User last logged in time. If the user has not logged in yet, this field will be empty.

Property Value
Type Description
Timestamp

LicenseAssignmentState

public UserLicense.Types.LicenseAssignmentState LicenseAssignmentState { get; set; }

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;

Property Value
Type Description
UserLicenseTypesLicenseAssignmentState

LicenseConfig

public string LicenseConfig { get; set; }

Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user.

Property Value
Type Description
string

LicenseConfigAsLicenseConfigName

public LicenseConfigName LicenseConfigAsLicenseConfigName { get; set; }

LicenseConfigName-typed view over the LicenseConfig resource name property.

Property Value
Type Description
LicenseConfigName

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. User update timestamp.

Property Value
Type Description
Timestamp

UserPrincipal

public string UserPrincipal { get; set; }

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.

Property Value
Type Description
string

UserProfile

public string UserProfile { get; set; }

Optional. The user profile. We user user full name(First name + Last name) as user profile.

Property Value
Type Description
string