Class: Google::Apis::CloudsearchV1::InviteeInfo

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

Overview

Invitee information from a Dynamite invitation. See go/dynamite-invitee-mgmt.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InviteeInfo

Returns a new instance of InviteeInfo.



10613
10614
10615
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10613

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

Instance Attribute Details

#emailString

Email as typed by the user when invited to Room or DM. This value will be canonicalized and hashed before retained in storage. Corresponds to the JSON property email

Returns:

  • (String)


10606
10607
10608
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10606

def email
  @email
end

#user_idGoogle::Apis::CloudsearchV1::UserId

Primary key for User resource. Corresponds to the JSON property userId



10611
10612
10613
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10611

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10618
10619
10620
10621
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10618

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