google-apps-meet-v2beta 0.a → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +144 -8
  5. data/lib/google/apps/meet/v2beta/conference_records_service/client.rb +1618 -0
  6. data/lib/google/apps/meet/v2beta/conference_records_service/credentials.rb +44 -0
  7. data/lib/google/apps/meet/v2beta/conference_records_service/paths.rb +136 -0
  8. data/lib/google/apps/meet/v2beta/conference_records_service/rest/client.rb +1516 -0
  9. data/lib/google/apps/meet/v2beta/conference_records_service/rest/service_stub.rb +766 -0
  10. data/lib/google/apps/meet/v2beta/conference_records_service/rest.rb +52 -0
  11. data/lib/google/apps/meet/v2beta/conference_records_service.rb +55 -0
  12. data/lib/google/apps/meet/v2beta/resource_pb.rb +64 -0
  13. data/lib/google/apps/meet/v2beta/rest.rb +38 -0
  14. data/lib/google/apps/meet/v2beta/service_pb.rb +73 -0
  15. data/lib/google/apps/meet/v2beta/service_services_pb.rb +122 -0
  16. data/lib/google/apps/meet/v2beta/spaces_service/client.rb +710 -0
  17. data/lib/google/apps/meet/v2beta/spaces_service/credentials.rb +44 -0
  18. data/lib/google/apps/meet/v2beta/spaces_service/paths.rb +61 -0
  19. data/lib/google/apps/meet/v2beta/spaces_service/rest/client.rb +664 -0
  20. data/lib/google/apps/meet/v2beta/spaces_service/rest/service_stub.rb +297 -0
  21. data/lib/google/apps/meet/v2beta/spaces_service/rest.rb +52 -0
  22. data/lib/google/apps/meet/v2beta/spaces_service.rb +55 -0
  23. data/lib/google/apps/meet/v2beta/version.rb +7 -2
  24. data/lib/google/apps/meet/v2beta.rb +46 -0
  25. data/lib/google-apps-meet-v2beta.rb +21 -0
  26. data/proto_docs/README.md +4 -0
  27. data/proto_docs/google/api/client.rb +395 -0
  28. data/proto_docs/google/api/field_behavior.rb +85 -0
  29. data/proto_docs/google/api/launch_stage.rb +71 -0
  30. data/proto_docs/google/api/resource.rb +222 -0
  31. data/proto_docs/google/apps/meet/v2beta/resource.rb +375 -0
  32. data/proto_docs/google/apps/meet/v2beta/service.rb +350 -0
  33. data/proto_docs/google/protobuf/duration.rb +98 -0
  34. data/proto_docs/google/protobuf/empty.rb +34 -0
  35. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  36. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  37. metadata +190 -13
@@ -0,0 +1,766 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/apps/meet/v2beta/service_pb"
20
+
21
+ module Google
22
+ module Apps
23
+ module Meet
24
+ module V2beta
25
+ module ConferenceRecordsService
26
+ module Rest
27
+ ##
28
+ # REST service stub for the ConferenceRecordsService service.
29
+ # Service stub contains baseline method implementations
30
+ # including transcoding, making the REST call, and deserialing the response.
31
+ #
32
+ class ServiceStub
33
+ def initialize endpoint:, endpoint_template:, universe_domain:, credentials:
34
+ # These require statements are intentionally placed here to initialize
35
+ # the REST modules only when it's required.
36
+ require "gapic/rest"
37
+
38
+ @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
39
+ endpoint_template: endpoint_template,
40
+ universe_domain: universe_domain,
41
+ credentials: credentials,
42
+ numeric_enums: true,
43
+ raise_faraday_errors: false
44
+ end
45
+
46
+ ##
47
+ # The effective universe domain
48
+ #
49
+ # @return [String]
50
+ #
51
+ def universe_domain
52
+ @client_stub.universe_domain
53
+ end
54
+
55
+ ##
56
+ # Baseline implementation for the get_conference_record REST call
57
+ #
58
+ # @param request_pb [::Google::Apps::Meet::V2beta::GetConferenceRecordRequest]
59
+ # A request object representing the call parameters. Required.
60
+ # @param options [::Gapic::CallOptions]
61
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
62
+ #
63
+ # @yield [result, operation] Access the result along with the TransportOperation object
64
+ # @yieldparam result [::Google::Apps::Meet::V2beta::ConferenceRecord]
65
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
66
+ #
67
+ # @return [::Google::Apps::Meet::V2beta::ConferenceRecord]
68
+ # A result object deserialized from the server's reply
69
+ def get_conference_record request_pb, options = nil
70
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
71
+
72
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_conference_record_request request_pb
73
+ query_string_params = if query_string_params.any?
74
+ query_string_params.to_h { |p| p.split "=", 2 }
75
+ else
76
+ {}
77
+ end
78
+
79
+ response = @client_stub.make_http_request(
80
+ verb,
81
+ uri: uri,
82
+ body: body || "",
83
+ params: query_string_params,
84
+ options: options
85
+ )
86
+ operation = ::Gapic::Rest::TransportOperation.new response
87
+ result = ::Google::Apps::Meet::V2beta::ConferenceRecord.decode_json response.body, ignore_unknown_fields: true
88
+
89
+ yield result, operation if block_given?
90
+ result
91
+ end
92
+
93
+ ##
94
+ # Baseline implementation for the list_conference_records REST call
95
+ #
96
+ # @param request_pb [::Google::Apps::Meet::V2beta::ListConferenceRecordsRequest]
97
+ # A request object representing the call parameters. Required.
98
+ # @param options [::Gapic::CallOptions]
99
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
100
+ #
101
+ # @yield [result, operation] Access the result along with the TransportOperation object
102
+ # @yieldparam result [::Google::Apps::Meet::V2beta::ListConferenceRecordsResponse]
103
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
104
+ #
105
+ # @return [::Google::Apps::Meet::V2beta::ListConferenceRecordsResponse]
106
+ # A result object deserialized from the server's reply
107
+ def list_conference_records request_pb, options = nil
108
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
109
+
110
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_conference_records_request request_pb
111
+ query_string_params = if query_string_params.any?
112
+ query_string_params.to_h { |p| p.split "=", 2 }
113
+ else
114
+ {}
115
+ end
116
+
117
+ response = @client_stub.make_http_request(
118
+ verb,
119
+ uri: uri,
120
+ body: body || "",
121
+ params: query_string_params,
122
+ options: options
123
+ )
124
+ operation = ::Gapic::Rest::TransportOperation.new response
125
+ result = ::Google::Apps::Meet::V2beta::ListConferenceRecordsResponse.decode_json response.body, ignore_unknown_fields: true
126
+
127
+ yield result, operation if block_given?
128
+ result
129
+ end
130
+
131
+ ##
132
+ # Baseline implementation for the get_participant REST call
133
+ #
134
+ # @param request_pb [::Google::Apps::Meet::V2beta::GetParticipantRequest]
135
+ # A request object representing the call parameters. Required.
136
+ # @param options [::Gapic::CallOptions]
137
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
138
+ #
139
+ # @yield [result, operation] Access the result along with the TransportOperation object
140
+ # @yieldparam result [::Google::Apps::Meet::V2beta::Participant]
141
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
142
+ #
143
+ # @return [::Google::Apps::Meet::V2beta::Participant]
144
+ # A result object deserialized from the server's reply
145
+ def get_participant request_pb, options = nil
146
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
147
+
148
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_participant_request request_pb
149
+ query_string_params = if query_string_params.any?
150
+ query_string_params.to_h { |p| p.split "=", 2 }
151
+ else
152
+ {}
153
+ end
154
+
155
+ response = @client_stub.make_http_request(
156
+ verb,
157
+ uri: uri,
158
+ body: body || "",
159
+ params: query_string_params,
160
+ options: options
161
+ )
162
+ operation = ::Gapic::Rest::TransportOperation.new response
163
+ result = ::Google::Apps::Meet::V2beta::Participant.decode_json response.body, ignore_unknown_fields: true
164
+
165
+ yield result, operation if block_given?
166
+ result
167
+ end
168
+
169
+ ##
170
+ # Baseline implementation for the list_participants REST call
171
+ #
172
+ # @param request_pb [::Google::Apps::Meet::V2beta::ListParticipantsRequest]
173
+ # A request object representing the call parameters. Required.
174
+ # @param options [::Gapic::CallOptions]
175
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
176
+ #
177
+ # @yield [result, operation] Access the result along with the TransportOperation object
178
+ # @yieldparam result [::Google::Apps::Meet::V2beta::ListParticipantsResponse]
179
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
180
+ #
181
+ # @return [::Google::Apps::Meet::V2beta::ListParticipantsResponse]
182
+ # A result object deserialized from the server's reply
183
+ def list_participants request_pb, options = nil
184
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
185
+
186
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_participants_request request_pb
187
+ query_string_params = if query_string_params.any?
188
+ query_string_params.to_h { |p| p.split "=", 2 }
189
+ else
190
+ {}
191
+ end
192
+
193
+ response = @client_stub.make_http_request(
194
+ verb,
195
+ uri: uri,
196
+ body: body || "",
197
+ params: query_string_params,
198
+ options: options
199
+ )
200
+ operation = ::Gapic::Rest::TransportOperation.new response
201
+ result = ::Google::Apps::Meet::V2beta::ListParticipantsResponse.decode_json response.body, ignore_unknown_fields: true
202
+
203
+ yield result, operation if block_given?
204
+ result
205
+ end
206
+
207
+ ##
208
+ # Baseline implementation for the get_participant_session REST call
209
+ #
210
+ # @param request_pb [::Google::Apps::Meet::V2beta::GetParticipantSessionRequest]
211
+ # A request object representing the call parameters. Required.
212
+ # @param options [::Gapic::CallOptions]
213
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
214
+ #
215
+ # @yield [result, operation] Access the result along with the TransportOperation object
216
+ # @yieldparam result [::Google::Apps::Meet::V2beta::ParticipantSession]
217
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
218
+ #
219
+ # @return [::Google::Apps::Meet::V2beta::ParticipantSession]
220
+ # A result object deserialized from the server's reply
221
+ def get_participant_session request_pb, options = nil
222
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
223
+
224
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_participant_session_request request_pb
225
+ query_string_params = if query_string_params.any?
226
+ query_string_params.to_h { |p| p.split "=", 2 }
227
+ else
228
+ {}
229
+ end
230
+
231
+ response = @client_stub.make_http_request(
232
+ verb,
233
+ uri: uri,
234
+ body: body || "",
235
+ params: query_string_params,
236
+ options: options
237
+ )
238
+ operation = ::Gapic::Rest::TransportOperation.new response
239
+ result = ::Google::Apps::Meet::V2beta::ParticipantSession.decode_json response.body, ignore_unknown_fields: true
240
+
241
+ yield result, operation if block_given?
242
+ result
243
+ end
244
+
245
+ ##
246
+ # Baseline implementation for the list_participant_sessions REST call
247
+ #
248
+ # @param request_pb [::Google::Apps::Meet::V2beta::ListParticipantSessionsRequest]
249
+ # A request object representing the call parameters. Required.
250
+ # @param options [::Gapic::CallOptions]
251
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
252
+ #
253
+ # @yield [result, operation] Access the result along with the TransportOperation object
254
+ # @yieldparam result [::Google::Apps::Meet::V2beta::ListParticipantSessionsResponse]
255
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
256
+ #
257
+ # @return [::Google::Apps::Meet::V2beta::ListParticipantSessionsResponse]
258
+ # A result object deserialized from the server's reply
259
+ def list_participant_sessions request_pb, options = nil
260
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
261
+
262
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_participant_sessions_request request_pb
263
+ query_string_params = if query_string_params.any?
264
+ query_string_params.to_h { |p| p.split "=", 2 }
265
+ else
266
+ {}
267
+ end
268
+
269
+ response = @client_stub.make_http_request(
270
+ verb,
271
+ uri: uri,
272
+ body: body || "",
273
+ params: query_string_params,
274
+ options: options
275
+ )
276
+ operation = ::Gapic::Rest::TransportOperation.new response
277
+ result = ::Google::Apps::Meet::V2beta::ListParticipantSessionsResponse.decode_json response.body, ignore_unknown_fields: true
278
+
279
+ yield result, operation if block_given?
280
+ result
281
+ end
282
+
283
+ ##
284
+ # Baseline implementation for the get_recording REST call
285
+ #
286
+ # @param request_pb [::Google::Apps::Meet::V2beta::GetRecordingRequest]
287
+ # A request object representing the call parameters. Required.
288
+ # @param options [::Gapic::CallOptions]
289
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
290
+ #
291
+ # @yield [result, operation] Access the result along with the TransportOperation object
292
+ # @yieldparam result [::Google::Apps::Meet::V2beta::Recording]
293
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
294
+ #
295
+ # @return [::Google::Apps::Meet::V2beta::Recording]
296
+ # A result object deserialized from the server's reply
297
+ def get_recording request_pb, options = nil
298
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
299
+
300
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_recording_request request_pb
301
+ query_string_params = if query_string_params.any?
302
+ query_string_params.to_h { |p| p.split "=", 2 }
303
+ else
304
+ {}
305
+ end
306
+
307
+ response = @client_stub.make_http_request(
308
+ verb,
309
+ uri: uri,
310
+ body: body || "",
311
+ params: query_string_params,
312
+ options: options
313
+ )
314
+ operation = ::Gapic::Rest::TransportOperation.new response
315
+ result = ::Google::Apps::Meet::V2beta::Recording.decode_json response.body, ignore_unknown_fields: true
316
+
317
+ yield result, operation if block_given?
318
+ result
319
+ end
320
+
321
+ ##
322
+ # Baseline implementation for the list_recordings REST call
323
+ #
324
+ # @param request_pb [::Google::Apps::Meet::V2beta::ListRecordingsRequest]
325
+ # A request object representing the call parameters. Required.
326
+ # @param options [::Gapic::CallOptions]
327
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
328
+ #
329
+ # @yield [result, operation] Access the result along with the TransportOperation object
330
+ # @yieldparam result [::Google::Apps::Meet::V2beta::ListRecordingsResponse]
331
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
332
+ #
333
+ # @return [::Google::Apps::Meet::V2beta::ListRecordingsResponse]
334
+ # A result object deserialized from the server's reply
335
+ def list_recordings request_pb, options = nil
336
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
337
+
338
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_recordings_request request_pb
339
+ query_string_params = if query_string_params.any?
340
+ query_string_params.to_h { |p| p.split "=", 2 }
341
+ else
342
+ {}
343
+ end
344
+
345
+ response = @client_stub.make_http_request(
346
+ verb,
347
+ uri: uri,
348
+ body: body || "",
349
+ params: query_string_params,
350
+ options: options
351
+ )
352
+ operation = ::Gapic::Rest::TransportOperation.new response
353
+ result = ::Google::Apps::Meet::V2beta::ListRecordingsResponse.decode_json response.body, ignore_unknown_fields: true
354
+
355
+ yield result, operation if block_given?
356
+ result
357
+ end
358
+
359
+ ##
360
+ # Baseline implementation for the get_transcript REST call
361
+ #
362
+ # @param request_pb [::Google::Apps::Meet::V2beta::GetTranscriptRequest]
363
+ # A request object representing the call parameters. Required.
364
+ # @param options [::Gapic::CallOptions]
365
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
366
+ #
367
+ # @yield [result, operation] Access the result along with the TransportOperation object
368
+ # @yieldparam result [::Google::Apps::Meet::V2beta::Transcript]
369
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
370
+ #
371
+ # @return [::Google::Apps::Meet::V2beta::Transcript]
372
+ # A result object deserialized from the server's reply
373
+ def get_transcript request_pb, options = nil
374
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
375
+
376
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_transcript_request request_pb
377
+ query_string_params = if query_string_params.any?
378
+ query_string_params.to_h { |p| p.split "=", 2 }
379
+ else
380
+ {}
381
+ end
382
+
383
+ response = @client_stub.make_http_request(
384
+ verb,
385
+ uri: uri,
386
+ body: body || "",
387
+ params: query_string_params,
388
+ options: options
389
+ )
390
+ operation = ::Gapic::Rest::TransportOperation.new response
391
+ result = ::Google::Apps::Meet::V2beta::Transcript.decode_json response.body, ignore_unknown_fields: true
392
+
393
+ yield result, operation if block_given?
394
+ result
395
+ end
396
+
397
+ ##
398
+ # Baseline implementation for the list_transcripts REST call
399
+ #
400
+ # @param request_pb [::Google::Apps::Meet::V2beta::ListTranscriptsRequest]
401
+ # A request object representing the call parameters. Required.
402
+ # @param options [::Gapic::CallOptions]
403
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
404
+ #
405
+ # @yield [result, operation] Access the result along with the TransportOperation object
406
+ # @yieldparam result [::Google::Apps::Meet::V2beta::ListTranscriptsResponse]
407
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
408
+ #
409
+ # @return [::Google::Apps::Meet::V2beta::ListTranscriptsResponse]
410
+ # A result object deserialized from the server's reply
411
+ def list_transcripts request_pb, options = nil
412
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
413
+
414
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_transcripts_request request_pb
415
+ query_string_params = if query_string_params.any?
416
+ query_string_params.to_h { |p| p.split "=", 2 }
417
+ else
418
+ {}
419
+ end
420
+
421
+ response = @client_stub.make_http_request(
422
+ verb,
423
+ uri: uri,
424
+ body: body || "",
425
+ params: query_string_params,
426
+ options: options
427
+ )
428
+ operation = ::Gapic::Rest::TransportOperation.new response
429
+ result = ::Google::Apps::Meet::V2beta::ListTranscriptsResponse.decode_json response.body, ignore_unknown_fields: true
430
+
431
+ yield result, operation if block_given?
432
+ result
433
+ end
434
+
435
+ ##
436
+ # Baseline implementation for the get_transcript_entry REST call
437
+ #
438
+ # @param request_pb [::Google::Apps::Meet::V2beta::GetTranscriptEntryRequest]
439
+ # A request object representing the call parameters. Required.
440
+ # @param options [::Gapic::CallOptions]
441
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
442
+ #
443
+ # @yield [result, operation] Access the result along with the TransportOperation object
444
+ # @yieldparam result [::Google::Apps::Meet::V2beta::TranscriptEntry]
445
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
446
+ #
447
+ # @return [::Google::Apps::Meet::V2beta::TranscriptEntry]
448
+ # A result object deserialized from the server's reply
449
+ def get_transcript_entry request_pb, options = nil
450
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
451
+
452
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_transcript_entry_request request_pb
453
+ query_string_params = if query_string_params.any?
454
+ query_string_params.to_h { |p| p.split "=", 2 }
455
+ else
456
+ {}
457
+ end
458
+
459
+ response = @client_stub.make_http_request(
460
+ verb,
461
+ uri: uri,
462
+ body: body || "",
463
+ params: query_string_params,
464
+ options: options
465
+ )
466
+ operation = ::Gapic::Rest::TransportOperation.new response
467
+ result = ::Google::Apps::Meet::V2beta::TranscriptEntry.decode_json response.body, ignore_unknown_fields: true
468
+
469
+ yield result, operation if block_given?
470
+ result
471
+ end
472
+
473
+ ##
474
+ # Baseline implementation for the list_transcript_entries REST call
475
+ #
476
+ # @param request_pb [::Google::Apps::Meet::V2beta::ListTranscriptEntriesRequest]
477
+ # A request object representing the call parameters. Required.
478
+ # @param options [::Gapic::CallOptions]
479
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
480
+ #
481
+ # @yield [result, operation] Access the result along with the TransportOperation object
482
+ # @yieldparam result [::Google::Apps::Meet::V2beta::ListTranscriptEntriesResponse]
483
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
484
+ #
485
+ # @return [::Google::Apps::Meet::V2beta::ListTranscriptEntriesResponse]
486
+ # A result object deserialized from the server's reply
487
+ def list_transcript_entries request_pb, options = nil
488
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
489
+
490
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_transcript_entries_request request_pb
491
+ query_string_params = if query_string_params.any?
492
+ query_string_params.to_h { |p| p.split "=", 2 }
493
+ else
494
+ {}
495
+ end
496
+
497
+ response = @client_stub.make_http_request(
498
+ verb,
499
+ uri: uri,
500
+ body: body || "",
501
+ params: query_string_params,
502
+ options: options
503
+ )
504
+ operation = ::Gapic::Rest::TransportOperation.new response
505
+ result = ::Google::Apps::Meet::V2beta::ListTranscriptEntriesResponse.decode_json response.body, ignore_unknown_fields: true
506
+
507
+ yield result, operation if block_given?
508
+ result
509
+ end
510
+
511
+ ##
512
+ # @private
513
+ #
514
+ # GRPC transcoding helper method for the get_conference_record REST call
515
+ #
516
+ # @param request_pb [::Google::Apps::Meet::V2beta::GetConferenceRecordRequest]
517
+ # A request object representing the call parameters. Required.
518
+ # @return [Array(String, [String, nil], Hash{String => String})]
519
+ # Uri, Body, Query string parameters
520
+ def self.transcode_get_conference_record_request request_pb
521
+ transcoder = Gapic::Rest::GrpcTranscoder.new
522
+ .with_bindings(
523
+ uri_method: :get,
524
+ uri_template: "/v2beta/{name}",
525
+ matches: [
526
+ ["name", %r{^conferenceRecords/[^/]+/?$}, false]
527
+ ]
528
+ )
529
+ transcoder.transcode request_pb
530
+ end
531
+
532
+ ##
533
+ # @private
534
+ #
535
+ # GRPC transcoding helper method for the list_conference_records REST call
536
+ #
537
+ # @param request_pb [::Google::Apps::Meet::V2beta::ListConferenceRecordsRequest]
538
+ # A request object representing the call parameters. Required.
539
+ # @return [Array(String, [String, nil], Hash{String => String})]
540
+ # Uri, Body, Query string parameters
541
+ def self.transcode_list_conference_records_request request_pb
542
+ transcoder = Gapic::Rest::GrpcTranscoder.new
543
+ .with_bindings(
544
+ uri_method: :get,
545
+ uri_template: "/v2beta/conferenceRecords",
546
+ matches: []
547
+ )
548
+ transcoder.transcode request_pb
549
+ end
550
+
551
+ ##
552
+ # @private
553
+ #
554
+ # GRPC transcoding helper method for the get_participant REST call
555
+ #
556
+ # @param request_pb [::Google::Apps::Meet::V2beta::GetParticipantRequest]
557
+ # A request object representing the call parameters. Required.
558
+ # @return [Array(String, [String, nil], Hash{String => String})]
559
+ # Uri, Body, Query string parameters
560
+ def self.transcode_get_participant_request request_pb
561
+ transcoder = Gapic::Rest::GrpcTranscoder.new
562
+ .with_bindings(
563
+ uri_method: :get,
564
+ uri_template: "/v2beta/{name}",
565
+ matches: [
566
+ ["name", %r{^conferenceRecords/[^/]+/participants/[^/]+/?$}, false]
567
+ ]
568
+ )
569
+ transcoder.transcode request_pb
570
+ end
571
+
572
+ ##
573
+ # @private
574
+ #
575
+ # GRPC transcoding helper method for the list_participants REST call
576
+ #
577
+ # @param request_pb [::Google::Apps::Meet::V2beta::ListParticipantsRequest]
578
+ # A request object representing the call parameters. Required.
579
+ # @return [Array(String, [String, nil], Hash{String => String})]
580
+ # Uri, Body, Query string parameters
581
+ def self.transcode_list_participants_request request_pb
582
+ transcoder = Gapic::Rest::GrpcTranscoder.new
583
+ .with_bindings(
584
+ uri_method: :get,
585
+ uri_template: "/v2beta/{parent}/participants",
586
+ matches: [
587
+ ["parent", %r{^conferenceRecords/[^/]+/?$}, false]
588
+ ]
589
+ )
590
+ transcoder.transcode request_pb
591
+ end
592
+
593
+ ##
594
+ # @private
595
+ #
596
+ # GRPC transcoding helper method for the get_participant_session REST call
597
+ #
598
+ # @param request_pb [::Google::Apps::Meet::V2beta::GetParticipantSessionRequest]
599
+ # A request object representing the call parameters. Required.
600
+ # @return [Array(String, [String, nil], Hash{String => String})]
601
+ # Uri, Body, Query string parameters
602
+ def self.transcode_get_participant_session_request request_pb
603
+ transcoder = Gapic::Rest::GrpcTranscoder.new
604
+ .with_bindings(
605
+ uri_method: :get,
606
+ uri_template: "/v2beta/{name}",
607
+ matches: [
608
+ ["name", %r{^conferenceRecords/[^/]+/participants/[^/]+/participantSessions/[^/]+/?$}, false]
609
+ ]
610
+ )
611
+ transcoder.transcode request_pb
612
+ end
613
+
614
+ ##
615
+ # @private
616
+ #
617
+ # GRPC transcoding helper method for the list_participant_sessions REST call
618
+ #
619
+ # @param request_pb [::Google::Apps::Meet::V2beta::ListParticipantSessionsRequest]
620
+ # A request object representing the call parameters. Required.
621
+ # @return [Array(String, [String, nil], Hash{String => String})]
622
+ # Uri, Body, Query string parameters
623
+ def self.transcode_list_participant_sessions_request request_pb
624
+ transcoder = Gapic::Rest::GrpcTranscoder.new
625
+ .with_bindings(
626
+ uri_method: :get,
627
+ uri_template: "/v2beta/{parent}/participantSessions",
628
+ matches: [
629
+ ["parent", %r{^conferenceRecords/[^/]+/participants/[^/]+/?$}, false]
630
+ ]
631
+ )
632
+ transcoder.transcode request_pb
633
+ end
634
+
635
+ ##
636
+ # @private
637
+ #
638
+ # GRPC transcoding helper method for the get_recording REST call
639
+ #
640
+ # @param request_pb [::Google::Apps::Meet::V2beta::GetRecordingRequest]
641
+ # A request object representing the call parameters. Required.
642
+ # @return [Array(String, [String, nil], Hash{String => String})]
643
+ # Uri, Body, Query string parameters
644
+ def self.transcode_get_recording_request request_pb
645
+ transcoder = Gapic::Rest::GrpcTranscoder.new
646
+ .with_bindings(
647
+ uri_method: :get,
648
+ uri_template: "/v2beta/{name}",
649
+ matches: [
650
+ ["name", %r{^conferenceRecords/[^/]+/recordings/[^/]+/?$}, false]
651
+ ]
652
+ )
653
+ transcoder.transcode request_pb
654
+ end
655
+
656
+ ##
657
+ # @private
658
+ #
659
+ # GRPC transcoding helper method for the list_recordings REST call
660
+ #
661
+ # @param request_pb [::Google::Apps::Meet::V2beta::ListRecordingsRequest]
662
+ # A request object representing the call parameters. Required.
663
+ # @return [Array(String, [String, nil], Hash{String => String})]
664
+ # Uri, Body, Query string parameters
665
+ def self.transcode_list_recordings_request request_pb
666
+ transcoder = Gapic::Rest::GrpcTranscoder.new
667
+ .with_bindings(
668
+ uri_method: :get,
669
+ uri_template: "/v2beta/{parent}/recordings",
670
+ matches: [
671
+ ["parent", %r{^conferenceRecords/[^/]+/?$}, false]
672
+ ]
673
+ )
674
+ transcoder.transcode request_pb
675
+ end
676
+
677
+ ##
678
+ # @private
679
+ #
680
+ # GRPC transcoding helper method for the get_transcript REST call
681
+ #
682
+ # @param request_pb [::Google::Apps::Meet::V2beta::GetTranscriptRequest]
683
+ # A request object representing the call parameters. Required.
684
+ # @return [Array(String, [String, nil], Hash{String => String})]
685
+ # Uri, Body, Query string parameters
686
+ def self.transcode_get_transcript_request request_pb
687
+ transcoder = Gapic::Rest::GrpcTranscoder.new
688
+ .with_bindings(
689
+ uri_method: :get,
690
+ uri_template: "/v2beta/{name}",
691
+ matches: [
692
+ ["name", %r{^conferenceRecords/[^/]+/transcripts/[^/]+/?$}, false]
693
+ ]
694
+ )
695
+ transcoder.transcode request_pb
696
+ end
697
+
698
+ ##
699
+ # @private
700
+ #
701
+ # GRPC transcoding helper method for the list_transcripts REST call
702
+ #
703
+ # @param request_pb [::Google::Apps::Meet::V2beta::ListTranscriptsRequest]
704
+ # A request object representing the call parameters. Required.
705
+ # @return [Array(String, [String, nil], Hash{String => String})]
706
+ # Uri, Body, Query string parameters
707
+ def self.transcode_list_transcripts_request request_pb
708
+ transcoder = Gapic::Rest::GrpcTranscoder.new
709
+ .with_bindings(
710
+ uri_method: :get,
711
+ uri_template: "/v2beta/{parent}/transcripts",
712
+ matches: [
713
+ ["parent", %r{^conferenceRecords/[^/]+/?$}, false]
714
+ ]
715
+ )
716
+ transcoder.transcode request_pb
717
+ end
718
+
719
+ ##
720
+ # @private
721
+ #
722
+ # GRPC transcoding helper method for the get_transcript_entry REST call
723
+ #
724
+ # @param request_pb [::Google::Apps::Meet::V2beta::GetTranscriptEntryRequest]
725
+ # A request object representing the call parameters. Required.
726
+ # @return [Array(String, [String, nil], Hash{String => String})]
727
+ # Uri, Body, Query string parameters
728
+ def self.transcode_get_transcript_entry_request request_pb
729
+ transcoder = Gapic::Rest::GrpcTranscoder.new
730
+ .with_bindings(
731
+ uri_method: :get,
732
+ uri_template: "/v2beta/{name}",
733
+ matches: [
734
+ ["name", %r{^conferenceRecords/[^/]+/transcripts/[^/]+/entries/[^/]+/?$}, false]
735
+ ]
736
+ )
737
+ transcoder.transcode request_pb
738
+ end
739
+
740
+ ##
741
+ # @private
742
+ #
743
+ # GRPC transcoding helper method for the list_transcript_entries REST call
744
+ #
745
+ # @param request_pb [::Google::Apps::Meet::V2beta::ListTranscriptEntriesRequest]
746
+ # A request object representing the call parameters. Required.
747
+ # @return [Array(String, [String, nil], Hash{String => String})]
748
+ # Uri, Body, Query string parameters
749
+ def self.transcode_list_transcript_entries_request request_pb
750
+ transcoder = Gapic::Rest::GrpcTranscoder.new
751
+ .with_bindings(
752
+ uri_method: :get,
753
+ uri_template: "/v2beta/{parent}/entries",
754
+ matches: [
755
+ ["parent", %r{^conferenceRecords/[^/]+/transcripts/[^/]+/?$}, false]
756
+ ]
757
+ )
758
+ transcoder.transcode request_pb
759
+ end
760
+ end
761
+ end
762
+ end
763
+ end
764
+ end
765
+ end
766
+ end