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.



727
728
729
# File 'lib/google/apis/meet_v2/classes.rb', line 727

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)


719
720
721
# File 'lib/google/apis/meet_v2/classes.rb', line 719

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)


725
726
727
# File 'lib/google/apis/meet_v2/classes.rb', line 725

def user
  @user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



732
733
734
735
# File 'lib/google/apis/meet_v2/classes.rb', line 732

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