Class: Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
An invitation for a new client user to get access to the Ad Exchange Buyer UI. All fields are required unless otherwise specified.
Instance Attribute Summary collapse
-
#client_account_id ⇒ String
Numerical account ID of the client buyer that the invited user is associated with.
-
#email ⇒ String
The email address to which the invitation is sent.
-
#invitation_id ⇒ String
The unique numerical ID of the invitation that is sent to the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClientUserInvitation
constructor
A new instance of ClientUserInvitation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClientUserInvitation
Returns a new instance of ClientUserInvitation
193 194 195 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 193 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_account_id ⇒ String
Numerical account ID of the client buyer
that the invited user is associated with.
The value of this field is ignored in create operations.
Corresponds to the JSON property clientAccountId
191 192 193 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 191 def client_account_id @client_account_id end |
#email ⇒ String
The email address to which the invitation is sent. Email
addresses should be unique among all client users under each sponsor
buyer.
Corresponds to the JSON property email
184 185 186 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 184 def email @email end |
#invitation_id ⇒ String
The unique numerical ID of the invitation that is sent to the user.
The value of this field is ignored in create operations.
Corresponds to the JSON property invitationId
177 178 179 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 177 def invitation_id @invitation_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
198 199 200 201 202 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 198 def update!(**args) @invitation_id = args[:invitation_id] if args.key?(:invitation_id) @email = args[:email] if args.key?(:email) @client_account_id = args[:client_account_id] if args.key?(:client_account_id) end |