class Google::Apis::DisplayvideoV1::AssignedUserRole
A single assigned user role, which defines a user's authorized interaction with a specified partner or advertiser.
Attributes
advertiser_id[RW]
The ID of the advertiser that the assigend user role applies to. Corresponds to the JSON property `advertiserId` @return [Fixnum]
assigned_user_role_id[RW]
Output only. The ID of the assigned user role. Corresponds to the JSON property `assignedUserRoleId` @return [String]
partner_id[RW]
The ID of the partner that the assigned user role applies to. Corresponds to the JSON property `partnerId` @return [Fixnum]
user_role[RW]
Required. The user role to assign to a user for the entity. Corresponds to the JSON property `userRole` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 1080 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 1085 def update!(**args) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @assigned_user_role_id = args[:assigned_user_role_id] if args.key?(:assigned_user_role_id) @partner_id = args[:partner_id] if args.key?(:partner_id) @user_role = args[:user_role] if args.key?(:user_role) end