Class: Google::Apis::DisplayvideoV3::User
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::User
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
A single user in Display & Video 360.
Instance Attribute Summary collapse
-
#assigned_user_roles ⇒ Array<Google::Apis::DisplayvideoV3::AssignedUserRole>
The assigned user roles.
-
#display_name ⇒ String
Required.
-
#email ⇒ String
Required.
-
#last_login_time ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#user_id ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ User
constructor
A new instance of User.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ User
Returns a new instance of User.
12404 12405 12406 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12404 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assigned_user_roles ⇒ Array<Google::Apis::DisplayvideoV3::AssignedUserRole>
The assigned user roles. Required in CreateUser. Output only in UpdateUser.
Can only be updated through BulkEditAssignedUserRoles.
Corresponds to the JSON property assignedUserRoles
12376 12377 12378 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12376 def assigned_user_roles @assigned_user_roles end |
#display_name ⇒ String
Required. The display name of the user. Must be UTF-8 encoded with a maximum
size of 240 bytes.
Corresponds to the JSON property displayName
12382 12383 12384 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12382 def display_name @display_name end |
#email ⇒ String
Required. Immutable. The email address used to identify the user.
Corresponds to the JSON property email
12387 12388 12389 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12387 def email @email end |
#last_login_time ⇒ String
Output only. The timestamp when the user last logged in DV360 UI.
Corresponds to the JSON property lastLoginTime
12392 12393 12394 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12392 def last_login_time @last_login_time end |
#name ⇒ String
Output only. The resource name of the user.
Corresponds to the JSON property name
12397 12398 12399 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12397 def name @name end |
#user_id ⇒ Fixnum
Output only. The unique ID of the user. Assigned by the system.
Corresponds to the JSON property userId
12402 12403 12404 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12402 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12409 12410 12411 12412 12413 12414 12415 12416 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12409 def update!(**args) @assigned_user_roles = args[:assigned_user_roles] if args.key?(:assigned_user_roles) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) @last_login_time = args[:last_login_time] if args.key?(:last_login_time) @name = args[:name] if args.key?(:name) @user_id = args[:user_id] if args.key?(:user_id) end |