Class: Google::Apis::MeetV2::ParticipantSession
- Inherits:
-
Object
- Object
- Google::Apis::MeetV2::ParticipantSession
- 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
Refers to each unique join or leave session when a user joins a conference from a device. Note that any time a user joins the conference a new unique ID is assigned. That means if a user joins a space multiple times from the same device, they're assigned different IDs, and are also be treated as different participant sessions.
Instance Attribute Summary collapse
-
#end_time ⇒ String
Output only.
-
#name ⇒ String
Identifier.
-
#start_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ParticipantSession
constructor
A new instance of ParticipantSession.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ParticipantSession
Returns a new instance of ParticipantSession.
441 442 443 |
# File 'lib/google/apis/meet_v2/classes.rb', line 441 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
Output only. Timestamp when the user session ends. Unset if the user session
hasn’t ended.
Corresponds to the JSON property endTime
429 430 431 |
# File 'lib/google/apis/meet_v2/classes.rb', line 429 def end_time @end_time end |
#name ⇒ String
Identifier. Session id.
Corresponds to the JSON property name
434 435 436 |
# File 'lib/google/apis/meet_v2/classes.rb', line 434 def name @name end |
#start_time ⇒ String
Output only. Timestamp when the user session starts.
Corresponds to the JSON property startTime
439 440 441 |
# File 'lib/google/apis/meet_v2/classes.rb', line 439 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
446 447 448 449 450 |
# File 'lib/google/apis/meet_v2/classes.rb', line 446 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @name = args[:name] if args.key?(:name) @start_time = args[:start_time] if args.key?(:start_time) end |