Class: Google::Apis::CloudsearchV1::InviteeInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::InviteeInfo
- 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
-
#email ⇒ String
Email as typed by the user when invited to Room or DM.
-
#user_id ⇒ Google::Apis::CloudsearchV1::UserId
Primary key for User resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InviteeInfo
constructor
A new instance of InviteeInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InviteeInfo
Returns a new instance of InviteeInfo.
11537 11538 11539 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11537 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
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
11530 11531 11532 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11530 def email @email end |
#user_id ⇒ Google::Apis::CloudsearchV1::UserId
Primary key for User resource.
Corresponds to the JSON property userId
11535 11536 11537 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11535 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11542 11543 11544 11545 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11542 def update!(**args) @email = args[:email] if args.key?(:email) @user_id = args[:user_id] if args.key?(:user_id) end |