class Google::Apis::DisplayvideoV1::User

A single user in Display & Video 360.

Attributes

assigned_user_roles[RW]

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>]

display_name[RW]

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]

email[RW]

Required. Immutable. The email address used to identify the user. Corresponds to the JSON property `email` @return [String]

name[RW]

Output only. The resource name of the user. Corresponds to the JSON property `name` @return [String]

user_id[RW]

Output only. The unique ID of the user. Assigned by the system. Corresponds to the JSON property `userId` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 9525
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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