class Google::Apis::Adexchangebuyer2V2beta1::ClientUser
A client user is created under a client buyer and has restricted access to the Marketplace and certain other sections of the Authorized Buyers UI based on the role granted to the associated client buyer. The only way a new client user can be created is via accepting an email invitation (see the accounts. clients.invitations.create method). All fields are required unless otherwise specified.
Attributes
Numerical account ID of the client buyer with which the user is associated; the buyer must be a client of the current sponsor buyer. The value of this field is ignored in an update operation. Corresponds to the JSON property `clientAccountId` @return [Fixnum]
User's email address. The value of this field is ignored in an update operation. Corresponds to the JSON property `email` @return [String]
The status of the client user. Corresponds to the JSON property `status` @return [String]
The unique numerical ID of the client user that has accepted an invitation. The value of this field is ignored in an update operation. Corresponds to the JSON property `userId` @return [Fixnum]
Public Class Methods
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 535 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 540 def update!(**args) @client_account_id = args[:client_account_id] if args.key?(:client_account_id) @email = args[:email] if args.key?(:email) @status = args[:status] if args.key?(:status) @user_id = args[:user_id] if args.key?(:user_id) end