google-apis-meet_v2 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,722 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module MeetV2
24
+
25
+ # Active conference.
26
+ class ActiveConference
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Output only. Reference to 'ConferenceRecord' resource. Format: `
30
+ # conferenceRecords/`conference_record`` where ``conference_record`` is a unique
31
+ # ID for each instance of a call within a space.
32
+ # Corresponds to the JSON property `conferenceRecord`
33
+ # @return [String]
34
+ attr_accessor :conference_record
35
+
36
+ def initialize(**args)
37
+ update!(**args)
38
+ end
39
+
40
+ # Update properties of this object
41
+ def update!(**args)
42
+ @conference_record = args[:conference_record] if args.key?(:conference_record)
43
+ end
44
+ end
45
+
46
+ # User who joins anonymously (meaning not signed into a Google Account).
47
+ class AnonymousUser
48
+ include Google::Apis::Core::Hashable
49
+
50
+ # Output only. User provided name when they join a conference anonymously.
51
+ # Corresponds to the JSON property `displayName`
52
+ # @return [String]
53
+ attr_accessor :display_name
54
+
55
+ def initialize(**args)
56
+ update!(**args)
57
+ end
58
+
59
+ # Update properties of this object
60
+ def update!(**args)
61
+ @display_name = args[:display_name] if args.key?(:display_name)
62
+ end
63
+ end
64
+
65
+ # Single instance of a meeting held in a space.
66
+ class ConferenceRecord
67
+ include Google::Apis::Core::Hashable
68
+
69
+ # Output only. Timestamp when the conference ended. Set for past conferences.
70
+ # Unset if the conference is ongoing.
71
+ # Corresponds to the JSON property `endTime`
72
+ # @return [String]
73
+ attr_accessor :end_time
74
+
75
+ # Output only. Server enforced expiration time for when this conference record
76
+ # resource is deleted. The resource is deleted 30 days after the conference ends.
77
+ # Corresponds to the JSON property `expireTime`
78
+ # @return [String]
79
+ attr_accessor :expire_time
80
+
81
+ # Identifier. Resource name of the conference record. Format: `conferenceRecords/
82
+ # `conference_record`` where ``conference_record`` is a unique ID for each
83
+ # instance of a call within a space.
84
+ # Corresponds to the JSON property `name`
85
+ # @return [String]
86
+ attr_accessor :name
87
+
88
+ # Output only. The space where the conference was held.
89
+ # Corresponds to the JSON property `space`
90
+ # @return [String]
91
+ attr_accessor :space
92
+
93
+ # Output only. Timestamp when the conference started. Always set.
94
+ # Corresponds to the JSON property `startTime`
95
+ # @return [String]
96
+ attr_accessor :start_time
97
+
98
+ def initialize(**args)
99
+ update!(**args)
100
+ end
101
+
102
+ # Update properties of this object
103
+ def update!(**args)
104
+ @end_time = args[:end_time] if args.key?(:end_time)
105
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
106
+ @name = args[:name] if args.key?(:name)
107
+ @space = args[:space] if args.key?(:space)
108
+ @start_time = args[:start_time] if args.key?(:start_time)
109
+ end
110
+ end
111
+
112
+ # Google Docs location where the transcript file is saved.
113
+ class DocsDestination
114
+ include Google::Apis::Core::Hashable
115
+
116
+ # Output only. The document ID for the underlying Google Docs transcript file.
117
+ # For example, "1kuceFZohVoCh6FulBHxwy6I15Ogpc4hP". Use the `documents.get`
118
+ # method of the Google Docs API (https://developers.google.com/docs/api/
119
+ # reference/rest/v1/documents/get) to fetch the content.
120
+ # Corresponds to the JSON property `document`
121
+ # @return [String]
122
+ attr_accessor :document
123
+
124
+ # Output only. URI for the Google Docs transcript file. Use `https://docs.google.
125
+ # com/document/d/`$DocumentId`/view` to browse the transcript in the browser.
126
+ # Corresponds to the JSON property `exportUri`
127
+ # @return [String]
128
+ attr_accessor :export_uri
129
+
130
+ def initialize(**args)
131
+ update!(**args)
132
+ end
133
+
134
+ # Update properties of this object
135
+ def update!(**args)
136
+ @document = args[:document] if args.key?(:document)
137
+ @export_uri = args[:export_uri] if args.key?(:export_uri)
138
+ end
139
+ end
140
+
141
+ # Export location where a recording file is saved in Google Drive.
142
+ class DriveDestination
143
+ include Google::Apis::Core::Hashable
144
+
145
+ # Output only. Link used to play back the recording file in the browser. For
146
+ # example, `https://drive.google.com/file/d/`$fileId`/view`.
147
+ # Corresponds to the JSON property `exportUri`
148
+ # @return [String]
149
+ attr_accessor :export_uri
150
+
151
+ # Output only. The `fileId` for the underlying MP4 file. For example, "
152
+ # 1kuceFZohVoCh6FulBHxwy6I15Ogpc4hP". Use `$ GET https://www.googleapis.com/
153
+ # drive/v3/files/`$fileId`?alt=media` to download the blob. For more information,
154
+ # see https://developers.google.com/drive/api/v3/reference/files/get.
155
+ # Corresponds to the JSON property `file`
156
+ # @return [String]
157
+ attr_accessor :file
158
+
159
+ def initialize(**args)
160
+ update!(**args)
161
+ end
162
+
163
+ # Update properties of this object
164
+ def update!(**args)
165
+ @export_uri = args[:export_uri] if args.key?(:export_uri)
166
+ @file = args[:file] if args.key?(:file)
167
+ end
168
+ end
169
+
170
+ # A generic empty message that you can re-use to avoid defining duplicated empty
171
+ # messages in your APIs. A typical example is to use it as the request or the
172
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
173
+ # protobuf.Empty) returns (google.protobuf.Empty); `
174
+ class Empty
175
+ include Google::Apis::Core::Hashable
176
+
177
+ def initialize(**args)
178
+ update!(**args)
179
+ end
180
+
181
+ # Update properties of this object
182
+ def update!(**args)
183
+ end
184
+ end
185
+
186
+ # Request to end an ongoing conference of a space.
187
+ class EndActiveConferenceRequest
188
+ include Google::Apis::Core::Hashable
189
+
190
+ def initialize(**args)
191
+ update!(**args)
192
+ end
193
+
194
+ # Update properties of this object
195
+ def update!(**args)
196
+ end
197
+ end
198
+
199
+ # Response of ListConferenceRecords method.
200
+ class ListConferenceRecordsResponse
201
+ include Google::Apis::Core::Hashable
202
+
203
+ # List of conferences in one page.
204
+ # Corresponds to the JSON property `conferenceRecords`
205
+ # @return [Array<Google::Apis::MeetV2::ConferenceRecord>]
206
+ attr_accessor :conference_records
207
+
208
+ # Token to be circulated back for further List call if current List does NOT
209
+ # include all the Conferences. Unset if all conferences have been returned.
210
+ # Corresponds to the JSON property `nextPageToken`
211
+ # @return [String]
212
+ attr_accessor :next_page_token
213
+
214
+ def initialize(**args)
215
+ update!(**args)
216
+ end
217
+
218
+ # Update properties of this object
219
+ def update!(**args)
220
+ @conference_records = args[:conference_records] if args.key?(:conference_records)
221
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
222
+ end
223
+ end
224
+
225
+ # Response of ListParticipants method.
226
+ class ListParticipantSessionsResponse
227
+ include Google::Apis::Core::Hashable
228
+
229
+ # Token to be circulated back for further List call if current List doesn't
230
+ # include all the participants. Unset if all participants are returned.
231
+ # Corresponds to the JSON property `nextPageToken`
232
+ # @return [String]
233
+ attr_accessor :next_page_token
234
+
235
+ # List of participants in one page.
236
+ # Corresponds to the JSON property `participantSessions`
237
+ # @return [Array<Google::Apis::MeetV2::ParticipantSession>]
238
+ attr_accessor :participant_sessions
239
+
240
+ def initialize(**args)
241
+ update!(**args)
242
+ end
243
+
244
+ # Update properties of this object
245
+ def update!(**args)
246
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
247
+ @participant_sessions = args[:participant_sessions] if args.key?(:participant_sessions)
248
+ end
249
+ end
250
+
251
+ # Response of ListParticipants method.
252
+ class ListParticipantsResponse
253
+ include Google::Apis::Core::Hashable
254
+
255
+ # Token to be circulated back for further List call if current List doesn't
256
+ # include all the participants. Unset if all participants are returned.
257
+ # Corresponds to the JSON property `nextPageToken`
258
+ # @return [String]
259
+ attr_accessor :next_page_token
260
+
261
+ # List of participants in one page.
262
+ # Corresponds to the JSON property `participants`
263
+ # @return [Array<Google::Apis::MeetV2::Participant>]
264
+ attr_accessor :participants
265
+
266
+ # Total, exact number of `participants`. By default, this field isn't included
267
+ # in the response. Set the field mask in [SystemParameterContext](https://cloud.
268
+ # google.com/apis/docs/system-parameters) to receive this field in the response.
269
+ # Corresponds to the JSON property `totalSize`
270
+ # @return [Fixnum]
271
+ attr_accessor :total_size
272
+
273
+ def initialize(**args)
274
+ update!(**args)
275
+ end
276
+
277
+ # Update properties of this object
278
+ def update!(**args)
279
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
280
+ @participants = args[:participants] if args.key?(:participants)
281
+ @total_size = args[:total_size] if args.key?(:total_size)
282
+ end
283
+ end
284
+
285
+ # Response for ListRecordings method.
286
+ class ListRecordingsResponse
287
+ include Google::Apis::Core::Hashable
288
+
289
+ # Token to be circulated back for further List call if current List doesn't
290
+ # include all the recordings. Unset if all recordings are returned.
291
+ # Corresponds to the JSON property `nextPageToken`
292
+ # @return [String]
293
+ attr_accessor :next_page_token
294
+
295
+ # List of recordings in one page.
296
+ # Corresponds to the JSON property `recordings`
297
+ # @return [Array<Google::Apis::MeetV2::Recording>]
298
+ attr_accessor :recordings
299
+
300
+ def initialize(**args)
301
+ update!(**args)
302
+ end
303
+
304
+ # Update properties of this object
305
+ def update!(**args)
306
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
307
+ @recordings = args[:recordings] if args.key?(:recordings)
308
+ end
309
+ end
310
+
311
+ # Response for ListTranscriptEntries method.
312
+ class ListTranscriptEntriesResponse
313
+ include Google::Apis::Core::Hashable
314
+
315
+ # Token to be circulated back for further List call if current List doesn't
316
+ # include all the transcript entries. Unset if all entries are returned.
317
+ # Corresponds to the JSON property `nextPageToken`
318
+ # @return [String]
319
+ attr_accessor :next_page_token
320
+
321
+ # List of TranscriptEntries in one page.
322
+ # Corresponds to the JSON property `transcriptEntries`
323
+ # @return [Array<Google::Apis::MeetV2::TranscriptEntry>]
324
+ attr_accessor :transcript_entries
325
+
326
+ def initialize(**args)
327
+ update!(**args)
328
+ end
329
+
330
+ # Update properties of this object
331
+ def update!(**args)
332
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
333
+ @transcript_entries = args[:transcript_entries] if args.key?(:transcript_entries)
334
+ end
335
+ end
336
+
337
+ # Response for ListTranscripts method.
338
+ class ListTranscriptsResponse
339
+ include Google::Apis::Core::Hashable
340
+
341
+ # Token to be circulated back for further List call if current List doesn't
342
+ # include all the transcripts. Unset if all transcripts are returned.
343
+ # Corresponds to the JSON property `nextPageToken`
344
+ # @return [String]
345
+ attr_accessor :next_page_token
346
+
347
+ # List of transcripts in one page.
348
+ # Corresponds to the JSON property `transcripts`
349
+ # @return [Array<Google::Apis::MeetV2::Transcript>]
350
+ attr_accessor :transcripts
351
+
352
+ def initialize(**args)
353
+ update!(**args)
354
+ end
355
+
356
+ # Update properties of this object
357
+ def update!(**args)
358
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
359
+ @transcripts = args[:transcripts] if args.key?(:transcripts)
360
+ end
361
+ end
362
+
363
+ # User who attended or is attending a conference.
364
+ class Participant
365
+ include Google::Apis::Core::Hashable
366
+
367
+ # User who joins anonymously (meaning not signed into a Google Account).
368
+ # Corresponds to the JSON property `anonymousUser`
369
+ # @return [Google::Apis::MeetV2::AnonymousUser]
370
+ attr_accessor :anonymous_user
371
+
372
+ # Output only. Time when the participant first joined the meeting.
373
+ # Corresponds to the JSON property `earliestStartTime`
374
+ # @return [String]
375
+ attr_accessor :earliest_start_time
376
+
377
+ # Output only. Time when the participant left the meeting for the last time.
378
+ # This can be null if it's an active meeting.
379
+ # Corresponds to the JSON property `latestEndTime`
380
+ # @return [String]
381
+ attr_accessor :latest_end_time
382
+
383
+ # Output only. Resource name of the participant. Format: `conferenceRecords/`
384
+ # conference_record`/participants/`participant``
385
+ # Corresponds to the JSON property `name`
386
+ # @return [String]
387
+ attr_accessor :name
388
+
389
+ # User dialing in from a phone where the user's identity is unknown because they
390
+ # haven't signed in with a Google Account.
391
+ # Corresponds to the JSON property `phoneUser`
392
+ # @return [Google::Apis::MeetV2::PhoneUser]
393
+ attr_accessor :phone_user
394
+
395
+ # A signed-in user can be: a) An individual joining from a personal computer,
396
+ # mobile device, or through companion mode. b) A robot account used by
397
+ # conference room devices.
398
+ # Corresponds to the JSON property `signedinUser`
399
+ # @return [Google::Apis::MeetV2::SignedinUser]
400
+ attr_accessor :signedin_user
401
+
402
+ def initialize(**args)
403
+ update!(**args)
404
+ end
405
+
406
+ # Update properties of this object
407
+ def update!(**args)
408
+ @anonymous_user = args[:anonymous_user] if args.key?(:anonymous_user)
409
+ @earliest_start_time = args[:earliest_start_time] if args.key?(:earliest_start_time)
410
+ @latest_end_time = args[:latest_end_time] if args.key?(:latest_end_time)
411
+ @name = args[:name] if args.key?(:name)
412
+ @phone_user = args[:phone_user] if args.key?(:phone_user)
413
+ @signedin_user = args[:signedin_user] if args.key?(:signedin_user)
414
+ end
415
+ end
416
+
417
+ # Refers to each unique join or leave session when a user joins a conference
418
+ # from a device. Note that any time a user joins the conference a new unique ID
419
+ # is assigned. That means if a user joins a space multiple times from the same
420
+ # device, they're assigned different IDs, and are also be treated as different
421
+ # participant sessions.
422
+ class ParticipantSession
423
+ include Google::Apis::Core::Hashable
424
+
425
+ # Output only. Timestamp when the user session ends. Unset if the user session
426
+ # hasn’t ended.
427
+ # Corresponds to the JSON property `endTime`
428
+ # @return [String]
429
+ attr_accessor :end_time
430
+
431
+ # Identifier. Session id.
432
+ # Corresponds to the JSON property `name`
433
+ # @return [String]
434
+ attr_accessor :name
435
+
436
+ # Output only. Timestamp when the user session starts.
437
+ # Corresponds to the JSON property `startTime`
438
+ # @return [String]
439
+ attr_accessor :start_time
440
+
441
+ def initialize(**args)
442
+ update!(**args)
443
+ end
444
+
445
+ # Update properties of this object
446
+ def update!(**args)
447
+ @end_time = args[:end_time] if args.key?(:end_time)
448
+ @name = args[:name] if args.key?(:name)
449
+ @start_time = args[:start_time] if args.key?(:start_time)
450
+ end
451
+ end
452
+
453
+ # User dialing in from a phone where the user's identity is unknown because they
454
+ # haven't signed in with a Google Account.
455
+ class PhoneUser
456
+ include Google::Apis::Core::Hashable
457
+
458
+ # Output only. Partially redacted user's phone number when calling.
459
+ # Corresponds to the JSON property `displayName`
460
+ # @return [String]
461
+ attr_accessor :display_name
462
+
463
+ def initialize(**args)
464
+ update!(**args)
465
+ end
466
+
467
+ # Update properties of this object
468
+ def update!(**args)
469
+ @display_name = args[:display_name] if args.key?(:display_name)
470
+ end
471
+ end
472
+
473
+ # Metadata about a recording created during a conference.
474
+ class Recording
475
+ include Google::Apis::Core::Hashable
476
+
477
+ # Export location where a recording file is saved in Google Drive.
478
+ # Corresponds to the JSON property `driveDestination`
479
+ # @return [Google::Apis::MeetV2::DriveDestination]
480
+ attr_accessor :drive_destination
481
+
482
+ # Output only. Timestamp when the recording ended.
483
+ # Corresponds to the JSON property `endTime`
484
+ # @return [String]
485
+ attr_accessor :end_time
486
+
487
+ # Output only. Resource name of the recording. Format: `conferenceRecords/`
488
+ # conference_record`/recordings/`recording`` where ``recording`` is a 1:1
489
+ # mapping to each unique recording session during the conference.
490
+ # Corresponds to the JSON property `name`
491
+ # @return [String]
492
+ attr_accessor :name
493
+
494
+ # Output only. Timestamp when the recording started.
495
+ # Corresponds to the JSON property `startTime`
496
+ # @return [String]
497
+ attr_accessor :start_time
498
+
499
+ # Output only. Current state.
500
+ # Corresponds to the JSON property `state`
501
+ # @return [String]
502
+ attr_accessor :state
503
+
504
+ def initialize(**args)
505
+ update!(**args)
506
+ end
507
+
508
+ # Update properties of this object
509
+ def update!(**args)
510
+ @drive_destination = args[:drive_destination] if args.key?(:drive_destination)
511
+ @end_time = args[:end_time] if args.key?(:end_time)
512
+ @name = args[:name] if args.key?(:name)
513
+ @start_time = args[:start_time] if args.key?(:start_time)
514
+ @state = args[:state] if args.key?(:state)
515
+ end
516
+ end
517
+
518
+ # A signed-in user can be: a) An individual joining from a personal computer,
519
+ # mobile device, or through companion mode. b) A robot account used by
520
+ # conference room devices.
521
+ class SignedinUser
522
+ include Google::Apis::Core::Hashable
523
+
524
+ # Output only. For a personal device, it's the user's first name and last name.
525
+ # For a robot account, it's the administrator-specified device name. For example,
526
+ # "Altostrat Room".
527
+ # Corresponds to the JSON property `displayName`
528
+ # @return [String]
529
+ attr_accessor :display_name
530
+
531
+ # Output only. Unique ID for the user. Interoperable with Admin SDK API and
532
+ # People API. Format: `users/`user``
533
+ # Corresponds to the JSON property `user`
534
+ # @return [String]
535
+ attr_accessor :user
536
+
537
+ def initialize(**args)
538
+ update!(**args)
539
+ end
540
+
541
+ # Update properties of this object
542
+ def update!(**args)
543
+ @display_name = args[:display_name] if args.key?(:display_name)
544
+ @user = args[:user] if args.key?(:user)
545
+ end
546
+ end
547
+
548
+ # Virtual place where conferences are held. Only one active conference can be
549
+ # held in one space at any given time.
550
+ class Space
551
+ include Google::Apis::Core::Hashable
552
+
553
+ # Active conference.
554
+ # Corresponds to the JSON property `activeConference`
555
+ # @return [Google::Apis::MeetV2::ActiveConference]
556
+ attr_accessor :active_conference
557
+
558
+ # The configuration pertaining to a meeting space.
559
+ # Corresponds to the JSON property `config`
560
+ # @return [Google::Apis::MeetV2::SpaceConfig]
561
+ attr_accessor :config
562
+
563
+ # Output only. Type friendly code to join the meeting. Format: `[a-z]+-[a-z]+-[a-
564
+ # z]+` such as `abc-mnop-xyz`. The maximum length is 128 characters. Can only be
565
+ # used as an alias of the space ID to get the space.
566
+ # Corresponds to the JSON property `meetingCode`
567
+ # @return [String]
568
+ attr_accessor :meeting_code
569
+
570
+ # Output only. URI used to join meetings, such as `https://meet.google.com/abc-
571
+ # mnop-xyz`.
572
+ # Corresponds to the JSON property `meetingUri`
573
+ # @return [String]
574
+ attr_accessor :meeting_uri
575
+
576
+ # Immutable. Resource name of the space. Format: `spaces/`space``
577
+ # Corresponds to the JSON property `name`
578
+ # @return [String]
579
+ attr_accessor :name
580
+
581
+ def initialize(**args)
582
+ update!(**args)
583
+ end
584
+
585
+ # Update properties of this object
586
+ def update!(**args)
587
+ @active_conference = args[:active_conference] if args.key?(:active_conference)
588
+ @config = args[:config] if args.key?(:config)
589
+ @meeting_code = args[:meeting_code] if args.key?(:meeting_code)
590
+ @meeting_uri = args[:meeting_uri] if args.key?(:meeting_uri)
591
+ @name = args[:name] if args.key?(:name)
592
+ end
593
+ end
594
+
595
+ # The configuration pertaining to a meeting space.
596
+ class SpaceConfig
597
+ include Google::Apis::Core::Hashable
598
+
599
+ # Access type of the meeting space that determines who can join without knocking.
600
+ # Default: The user's default access settings. Controlled by the user's admin
601
+ # for enterprise users or RESTRICTED.
602
+ # Corresponds to the JSON property `accessType`
603
+ # @return [String]
604
+ attr_accessor :access_type
605
+
606
+ # Defines the entry points that can be used to join meetings hosted in this
607
+ # meeting space. Default: EntryPointAccess.ALL
608
+ # Corresponds to the JSON property `entryPointAccess`
609
+ # @return [String]
610
+ attr_accessor :entry_point_access
611
+
612
+ def initialize(**args)
613
+ update!(**args)
614
+ end
615
+
616
+ # Update properties of this object
617
+ def update!(**args)
618
+ @access_type = args[:access_type] if args.key?(:access_type)
619
+ @entry_point_access = args[:entry_point_access] if args.key?(:entry_point_access)
620
+ end
621
+ end
622
+
623
+ # Metadata for a transcript generated from a conference. It refers to the ASR (
624
+ # Automatic Speech Recognition) result of user's speech during the conference.
625
+ class Transcript
626
+ include Google::Apis::Core::Hashable
627
+
628
+ # Google Docs location where the transcript file is saved.
629
+ # Corresponds to the JSON property `docsDestination`
630
+ # @return [Google::Apis::MeetV2::DocsDestination]
631
+ attr_accessor :docs_destination
632
+
633
+ # Output only. Timestamp when the transcript stopped.
634
+ # Corresponds to the JSON property `endTime`
635
+ # @return [String]
636
+ attr_accessor :end_time
637
+
638
+ # Output only. Resource name of the transcript. Format: `conferenceRecords/`
639
+ # conference_record`/transcripts/`transcript``, where ``transcript`` is a 1:1
640
+ # mapping to each unique transcription session of the conference.
641
+ # Corresponds to the JSON property `name`
642
+ # @return [String]
643
+ attr_accessor :name
644
+
645
+ # Output only. Timestamp when the transcript started.
646
+ # Corresponds to the JSON property `startTime`
647
+ # @return [String]
648
+ attr_accessor :start_time
649
+
650
+ # Output only. Current state.
651
+ # Corresponds to the JSON property `state`
652
+ # @return [String]
653
+ attr_accessor :state
654
+
655
+ def initialize(**args)
656
+ update!(**args)
657
+ end
658
+
659
+ # Update properties of this object
660
+ def update!(**args)
661
+ @docs_destination = args[:docs_destination] if args.key?(:docs_destination)
662
+ @end_time = args[:end_time] if args.key?(:end_time)
663
+ @name = args[:name] if args.key?(:name)
664
+ @start_time = args[:start_time] if args.key?(:start_time)
665
+ @state = args[:state] if args.key?(:state)
666
+ end
667
+ end
668
+
669
+ # Single entry for one user’s speech during a transcript session.
670
+ class TranscriptEntry
671
+ include Google::Apis::Core::Hashable
672
+
673
+ # Output only. Timestamp when the transcript entry ended.
674
+ # Corresponds to the JSON property `endTime`
675
+ # @return [String]
676
+ attr_accessor :end_time
677
+
678
+ # Output only. Language of spoken text, such as "en-US". IETF BCP 47 syntax (
679
+ # https://tools.ietf.org/html/bcp47)
680
+ # Corresponds to the JSON property `languageCode`
681
+ # @return [String]
682
+ attr_accessor :language_code
683
+
684
+ # Output only. Resource name of the entry. Format: "conferenceRecords/`
685
+ # conference_record`/transcripts/`transcript`/entries/`entry`"
686
+ # Corresponds to the JSON property `name`
687
+ # @return [String]
688
+ attr_accessor :name
689
+
690
+ # Output only. Refers to the participant who speaks.
691
+ # Corresponds to the JSON property `participant`
692
+ # @return [String]
693
+ attr_accessor :participant
694
+
695
+ # Output only. Timestamp when the transcript entry started.
696
+ # Corresponds to the JSON property `startTime`
697
+ # @return [String]
698
+ attr_accessor :start_time
699
+
700
+ # Output only. The transcribed text of the participant's voice, at maximum 10K
701
+ # words. Note that the limit is subject to change.
702
+ # Corresponds to the JSON property `text`
703
+ # @return [String]
704
+ attr_accessor :text
705
+
706
+ def initialize(**args)
707
+ update!(**args)
708
+ end
709
+
710
+ # Update properties of this object
711
+ def update!(**args)
712
+ @end_time = args[:end_time] if args.key?(:end_time)
713
+ @language_code = args[:language_code] if args.key?(:language_code)
714
+ @name = args[:name] if args.key?(:name)
715
+ @participant = args[:participant] if args.key?(:participant)
716
+ @start_time = args[:start_time] if args.key?(:start_time)
717
+ @text = args[:text] if args.key?(:text)
718
+ end
719
+ end
720
+ end
721
+ end
722
+ end