Class: Google::Apis::MeetV2::ListParticipantsResponse

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

Response of ListParticipants method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListParticipantsResponse

Returns a new instance of ListParticipantsResponse.



273
274
275
# File 'lib/google/apis/meet_v2/classes.rb', line 273

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

Instance Attribute Details

#next_page_tokenString

Token to be circulated back for further List call if current List doesn't include all the participants. Unset if all participants are returned. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


259
260
261
# File 'lib/google/apis/meet_v2/classes.rb', line 259

def next_page_token
  @next_page_token
end

#participantsArray<Google::Apis::MeetV2::Participant>

List of participants in one page. Corresponds to the JSON property participants



264
265
266
# File 'lib/google/apis/meet_v2/classes.rb', line 264

def participants
  @participants
end

#total_sizeFixnum

Total, exact number of participants. By default, this field isn't included in the response. Set the field mask in SystemParameterContext to receive this field in the response. Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)


271
272
273
# File 'lib/google/apis/meet_v2/classes.rb', line 271

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



278
279
280
281
282
# File 'lib/google/apis/meet_v2/classes.rb', line 278

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @participants = args[:participants] if args.key?(:participants)
  @total_size = args[:total_size] if args.key?(:total_size)
end