Class: Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/adexchangebuyer2_v2beta1/classes.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb

Overview

An invitation for a new client user to get access to the Authorized Buyers UI. All fields are required unless otherwise specified.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClientUserInvitation

Returns a new instance of ClientUserInvitation.



572
573
574
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 572

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#client_account_idFixnum

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

Returns:

  • (Fixnum)


558
559
560
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 558

def 
  @client_account_id
end

#emailString

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

Returns:

  • (String)


564
565
566
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 564

def email
  @email
end

#invitation_idFixnum

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

Returns:

  • (Fixnum)


570
571
572
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 570

def invitation_id
  @invitation_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



577
578
579
580
581
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 577

def update!(**args)
  @client_account_id = args[:client_account_id] if args.key?(:client_account_id)
  @email = args[:email] if args.key?(:email)
  @invitation_id = args[:invitation_id] if args.key?(:invitation_id)
end