Class: Google::Apis::DisplayvideoV1::User
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::User
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb
Overview
A single user in Display & Video 360.
Instance Attribute Summary collapse
-
#assigned_user_roles ⇒ Array<Google::Apis::DisplayvideoV1::AssignedUserRole>
The assigned user roles.
-
#display_name ⇒ String
Required.
-
#email ⇒ String
Required.
-
#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.
8303 8304 8305 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8303 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assigned_user_roles ⇒ Array<Google::Apis::DisplayvideoV1::AssignedUserRole>
The assigned user roles. Required in CreateUser. Output only in UpdateUser.
Can only be updated through BulkEditAssignedUserRoles.
Corresponds to the JSON property assignedUserRoles
8280 8281 8282 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8280 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
8286 8287 8288 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8286 def display_name @display_name end |
#email ⇒ String
Required. Immutable. The email address used to identify the user.
Corresponds to the JSON property email
8291 8292 8293 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8291 def email @email end |
#name ⇒ String
Output only. The resource name of the user.
Corresponds to the JSON property name
8296 8297 8298 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8296 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
8301 8302 8303 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8301 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8308 8309 8310 8311 8312 8313 8314 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8308 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 |