Class: Google::Apis::MeetV2::SignedinUser

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

Overview

A signed-in user can be: a) An individual joining from a personal computer, mobile device, or through companion mode. b) A robot account used by conference room devices.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SignedinUser

Returns a new instance of SignedinUser.



537
538
539
# File 'lib/google/apis/meet_v2/classes.rb', line 537

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

Instance Attribute Details

#display_nameString

Output only. For a personal device, it's the user's first name and last name. For a robot account, it's the administrator-specified device name. For example, "Altostrat Room". Corresponds to the JSON property displayName

Returns:

  • (String)


529
530
531
# File 'lib/google/apis/meet_v2/classes.rb', line 529

def display_name
  @display_name
end

#userString

Output only. Unique ID for the user. Interoperable with Admin SDK API and People API. Format: users/user` Corresponds to the JSON propertyuser`

Returns:

  • (String)


535
536
537
# File 'lib/google/apis/meet_v2/classes.rb', line 535

def user
  @user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



542
543
544
545
# File 'lib/google/apis/meet_v2/classes.rb', line 542

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