class Google::Apis::DisplayvideoV1::User
A single user in Display & Video 360.
Attributes
The assigned user roles. Required in CreateUser. Output only in UpdateUser. Can only be updated through BulkEditAssignedUserRoles. Corresponds to the JSON property `assignedUserRoles` @return [Array<Google::Apis::DisplayvideoV1::AssignedUserRole>]
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` @return [String]
Required. Immutable. The email address used to identify the user. Corresponds to the JSON property `email` @return [String]
Output only. The resource name of the user. Corresponds to the JSON property `name` @return [String]
Output only. The unique ID of the user. Assigned by the system. Corresponds to the JSON property `userId` @return [Fixnum]
Public Class Methods
# File lib/google/apis/displayvideo_v1/classes.rb, line 9525 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/displayvideo_v1/classes.rb, line 9530 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) @name = args[:name] if args.key?(:name) @user_id = args[:user_id] if args.key?(:user_id) end