Class: Google::Cloud::DiscoveryEngine::V1::UserLicense

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1/user_license.rb

Overview

User License information assigned by the admin.

Defined Under Namespace

Modules: LicenseAssignmentState

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. User created timestamp.

Returns:



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'proto_docs/google/cloud/discoveryengine/v1/user_license.rb', line 55

class UserLicense
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # License assignment state enumeration.
  module LicenseAssignmentState
    # Default value.
    LICENSE_ASSIGNMENT_STATE_UNSPECIFIED = 0

    # License assigned to the user.
    ASSIGNED = 1

    # No license assigned to the user.
    # Deprecated, translated to NO_LICENSE.
    UNASSIGNED = 2

    # No license assigned to the user.
    NO_LICENSE = 3

    # 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).
    NO_LICENSE_ATTEMPTED_LOGIN = 4
  end
end

#last_login_time::Google::Protobuf::Timestamp (readonly)

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

Returns:



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'proto_docs/google/cloud/discoveryengine/v1/user_license.rb', line 55

class UserLicense
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # License assignment state enumeration.
  module LicenseAssignmentState
    # Default value.
    LICENSE_ASSIGNMENT_STATE_UNSPECIFIED = 0

    # License assigned to the user.
    ASSIGNED = 1

    # No license assigned to the user.
    # Deprecated, translated to NO_LICENSE.
    UNASSIGNED = 2

    # No license assigned to the user.
    NO_LICENSE = 3

    # 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).
    NO_LICENSE_ATTEMPTED_LOGIN = 4
  end
end

#license_assignment_state::Google::Cloud::DiscoveryEngine::V1::UserLicense::LicenseAssignmentState (readonly)

Returns 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;.

Returns:



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'proto_docs/google/cloud/discoveryengine/v1/user_license.rb', line 55

class UserLicense
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # License assignment state enumeration.
  module LicenseAssignmentState
    # Default value.
    LICENSE_ASSIGNMENT_STATE_UNSPECIFIED = 0

    # License assigned to the user.
    ASSIGNED = 1

    # No license assigned to the user.
    # Deprecated, translated to NO_LICENSE.
    UNASSIGNED = 2

    # No license assigned to the user.
    NO_LICENSE = 3

    # 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).
    NO_LICENSE_ATTEMPTED_LOGIN = 4
  end
end

#license_config::String

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

Returns:

  • (::String)

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



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'proto_docs/google/cloud/discoveryengine/v1/user_license.rb', line 55

class UserLicense
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # License assignment state enumeration.
  module LicenseAssignmentState
    # Default value.
    LICENSE_ASSIGNMENT_STATE_UNSPECIFIED = 0

    # License assigned to the user.
    ASSIGNED = 1

    # No license assigned to the user.
    # Deprecated, translated to NO_LICENSE.
    UNASSIGNED = 2

    # No license assigned to the user.
    NO_LICENSE = 3

    # 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).
    NO_LICENSE_ATTEMPTED_LOGIN = 4
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. User update timestamp.

Returns:



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'proto_docs/google/cloud/discoveryengine/v1/user_license.rb', line 55

class UserLicense
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # License assignment state enumeration.
  module LicenseAssignmentState
    # Default value.
    LICENSE_ASSIGNMENT_STATE_UNSPECIFIED = 0

    # License assigned to the user.
    ASSIGNED = 1

    # No license assigned to the user.
    # Deprecated, translated to NO_LICENSE.
    UNASSIGNED = 2

    # No license assigned to the user.
    NO_LICENSE = 3

    # 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).
    NO_LICENSE_ATTEMPTED_LOGIN = 4
  end
end

#user_principal::String

Returns 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.

Returns:

  • (::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.



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'proto_docs/google/cloud/discoveryengine/v1/user_license.rb', line 55

class UserLicense
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # License assignment state enumeration.
  module LicenseAssignmentState
    # Default value.
    LICENSE_ASSIGNMENT_STATE_UNSPECIFIED = 0

    # License assigned to the user.
    ASSIGNED = 1

    # No license assigned to the user.
    # Deprecated, translated to NO_LICENSE.
    UNASSIGNED = 2

    # No license assigned to the user.
    NO_LICENSE = 3

    # 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).
    NO_LICENSE_ATTEMPTED_LOGIN = 4
  end
end

#user_profile::String

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

Returns:

  • (::String)

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



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'proto_docs/google/cloud/discoveryengine/v1/user_license.rb', line 55

class UserLicense
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # License assignment state enumeration.
  module LicenseAssignmentState
    # Default value.
    LICENSE_ASSIGNMENT_STATE_UNSPECIFIED = 0

    # License assigned to the user.
    ASSIGNED = 1

    # No license assigned to the user.
    # Deprecated, translated to NO_LICENSE.
    UNASSIGNED = 2

    # No license assigned to the user.
    NO_LICENSE = 3

    # 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).
    NO_LICENSE_ATTEMPTED_LOGIN = 4
  end
end