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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +149 -0
  4. data/README.md +144 -8
  5. data/lib/google/apps/meet/v2beta/conference_records_service/client.rb +1595 -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 +1490 -0
  9. data/lib/google/apps/meet/v2beta/conference_records_service/rest/service_stub.rb +754 -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 +687 -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 +638 -0
  20. data/lib/google/apps/meet/v2beta/spaces_service/rest/service_stub.rb +285 -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 +394 -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,1490 @@
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/cloud/errors"
20
+ require "google/apps/meet/v2beta/service_pb"
21
+ require "google/apps/meet/v2beta/conference_records_service/rest/service_stub"
22
+
23
+ module Google
24
+ module Apps
25
+ module Meet
26
+ module V2beta
27
+ module ConferenceRecordsService
28
+ module Rest
29
+ ##
30
+ # REST client for the ConferenceRecordsService service.
31
+ #
32
+ # REST API for services dealing with conference records.
33
+ #
34
+ class Client
35
+ include Paths
36
+
37
+ # @private
38
+ attr_reader :conference_records_service_stub
39
+
40
+ ##
41
+ # Configure the ConferenceRecordsService Client class.
42
+ #
43
+ # See {::Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client::Configuration}
44
+ # for a description of the configuration fields.
45
+ #
46
+ # @example
47
+ #
48
+ # # Modify the configuration for all ConferenceRecordsService clients
49
+ # ::Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client.configure do |config|
50
+ # config.timeout = 10.0
51
+ # end
52
+ #
53
+ # @yield [config] Configure the Client client.
54
+ # @yieldparam config [Client::Configuration]
55
+ #
56
+ # @return [Client::Configuration]
57
+ #
58
+ def self.configure
59
+ @configure ||= begin
60
+ namespace = ["Google", "Apps", "Meet", "V2beta"]
61
+ parent_config = while namespace.any?
62
+ parent_name = namespace.join "::"
63
+ parent_const = const_get parent_name
64
+ break parent_const.configure if parent_const.respond_to? :configure
65
+ namespace.pop
66
+ end
67
+ default_config = Client::Configuration.new parent_config
68
+
69
+ default_config.rpcs.get_conference_record.timeout = 60.0
70
+ default_config.rpcs.get_conference_record.retry_policy = {
71
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
72
+ }
73
+
74
+ default_config.rpcs.list_conference_records.timeout = 60.0
75
+ default_config.rpcs.list_conference_records.retry_policy = {
76
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
77
+ }
78
+
79
+ default_config.rpcs.get_participant.timeout = 60.0
80
+ default_config.rpcs.get_participant.retry_policy = {
81
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
82
+ }
83
+
84
+ default_config.rpcs.list_participants.timeout = 60.0
85
+ default_config.rpcs.list_participants.retry_policy = {
86
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
87
+ }
88
+
89
+ default_config.rpcs.get_participant_session.timeout = 60.0
90
+ default_config.rpcs.get_participant_session.retry_policy = {
91
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
92
+ }
93
+
94
+ default_config.rpcs.list_participant_sessions.timeout = 60.0
95
+ default_config.rpcs.list_participant_sessions.retry_policy = {
96
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
97
+ }
98
+
99
+ default_config.rpcs.get_recording.timeout = 60.0
100
+ default_config.rpcs.get_recording.retry_policy = {
101
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
102
+ }
103
+
104
+ default_config.rpcs.list_recordings.timeout = 60.0
105
+ default_config.rpcs.list_recordings.retry_policy = {
106
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
107
+ }
108
+
109
+ default_config.rpcs.get_transcript.timeout = 60.0
110
+ default_config.rpcs.get_transcript.retry_policy = {
111
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
112
+ }
113
+
114
+ default_config.rpcs.list_transcripts.timeout = 60.0
115
+ default_config.rpcs.list_transcripts.retry_policy = {
116
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
117
+ }
118
+
119
+ default_config.rpcs.get_transcript_entry.timeout = 60.0
120
+ default_config.rpcs.get_transcript_entry.retry_policy = {
121
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
122
+ }
123
+
124
+ default_config.rpcs.list_transcript_entries.timeout = 60.0
125
+ default_config.rpcs.list_transcript_entries.retry_policy = {
126
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
127
+ }
128
+
129
+ default_config
130
+ end
131
+ yield @configure if block_given?
132
+ @configure
133
+ end
134
+
135
+ ##
136
+ # Configure the ConferenceRecordsService Client instance.
137
+ #
138
+ # The configuration is set to the derived mode, meaning that values can be changed,
139
+ # but structural changes (adding new fields, etc.) are not allowed. Structural changes
140
+ # should be made on {Client.configure}.
141
+ #
142
+ # See {::Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client::Configuration}
143
+ # for a description of the configuration fields.
144
+ #
145
+ # @yield [config] Configure the Client client.
146
+ # @yieldparam config [Client::Configuration]
147
+ #
148
+ # @return [Client::Configuration]
149
+ #
150
+ def configure
151
+ yield @config if block_given?
152
+ @config
153
+ end
154
+
155
+ ##
156
+ # Create a new ConferenceRecordsService REST client object.
157
+ #
158
+ # @example
159
+ #
160
+ # # Create a client using the default configuration
161
+ # client = ::Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client.new
162
+ #
163
+ # # Create a client using a custom configuration
164
+ # client = ::Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client.new do |config|
165
+ # config.timeout = 10.0
166
+ # end
167
+ #
168
+ # @yield [config] Configure the ConferenceRecordsService client.
169
+ # @yieldparam config [Client::Configuration]
170
+ #
171
+ def initialize
172
+ # Create the configuration object
173
+ @config = Configuration.new Client.configure
174
+
175
+ # Yield the configuration if needed
176
+ yield @config if block_given?
177
+
178
+ # Create credentials
179
+ credentials = @config.credentials
180
+ # Use self-signed JWT if the endpoint is unchanged from default,
181
+ # but only if the default endpoint does not have a region prefix.
182
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
183
+ !@config.endpoint.split(".").first.include?("-")
184
+ credentials ||= Credentials.default scope: @config.scope,
185
+ enable_self_signed_jwt: enable_self_signed_jwt
186
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
187
+ credentials = Credentials.new credentials, scope: @config.scope
188
+ end
189
+
190
+ @quota_project_id = @config.quota_project
191
+ @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
192
+
193
+ @conference_records_service_stub = ::Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::ServiceStub.new endpoint: @config.endpoint, credentials: credentials
194
+ end
195
+
196
+ # Service calls
197
+
198
+ ##
199
+ # [Developer Preview](https://developers.google.com/workspace/preview).
200
+ # Gets a conference record by conference ID.
201
+ #
202
+ # @overload get_conference_record(request, options = nil)
203
+ # Pass arguments to `get_conference_record` via a request object, either of type
204
+ # {::Google::Apps::Meet::V2beta::GetConferenceRecordRequest} or an equivalent Hash.
205
+ #
206
+ # @param request [::Google::Apps::Meet::V2beta::GetConferenceRecordRequest, ::Hash]
207
+ # A request object representing the call parameters. Required. To specify no
208
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
209
+ # @param options [::Gapic::CallOptions, ::Hash]
210
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
211
+ #
212
+ # @overload get_conference_record(name: nil)
213
+ # Pass arguments to `get_conference_record` via keyword arguments. Note that at
214
+ # least one keyword argument is required. To specify no parameters, or to keep all
215
+ # the default parameter values, pass an empty Hash as a request object (see above).
216
+ #
217
+ # @param name [::String]
218
+ # Required. Resource name of the conference.
219
+ # @yield [result, operation] Access the result along with the TransportOperation object
220
+ # @yieldparam result [::Google::Apps::Meet::V2beta::ConferenceRecord]
221
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
222
+ #
223
+ # @return [::Google::Apps::Meet::V2beta::ConferenceRecord]
224
+ #
225
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
226
+ #
227
+ # @example Basic example
228
+ # require "google/apps/meet/v2beta"
229
+ #
230
+ # # Create a client object. The client can be reused for multiple calls.
231
+ # client = Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client.new
232
+ #
233
+ # # Create a request. To set request fields, pass in keyword arguments.
234
+ # request = Google::Apps::Meet::V2beta::GetConferenceRecordRequest.new
235
+ #
236
+ # # Call the get_conference_record method.
237
+ # result = client.get_conference_record request
238
+ #
239
+ # # The returned object is of type Google::Apps::Meet::V2beta::ConferenceRecord.
240
+ # p result
241
+ #
242
+ def get_conference_record request, options = nil
243
+ raise ::ArgumentError, "request must be provided" if request.nil?
244
+
245
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Apps::Meet::V2beta::GetConferenceRecordRequest
246
+
247
+ # Converts hash and nil to an options object
248
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
249
+
250
+ # Customize the options with defaults
251
+ call_metadata = @config.rpcs.get_conference_record.metadata.to_h
252
+
253
+ # Set x-goog-api-client and x-goog-user-project headers
254
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
255
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
256
+ gapic_version: ::Google::Apps::Meet::V2beta::VERSION,
257
+ transports_version_send: [:rest]
258
+
259
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
260
+
261
+ options.apply_defaults timeout: @config.rpcs.get_conference_record.timeout,
262
+ metadata: call_metadata,
263
+ retry_policy: @config.rpcs.get_conference_record.retry_policy
264
+
265
+ options.apply_defaults timeout: @config.timeout,
266
+ metadata: @config.metadata,
267
+ retry_policy: @config.retry_policy
268
+
269
+ @conference_records_service_stub.get_conference_record request, options do |result, operation|
270
+ yield result, operation if block_given?
271
+ return result
272
+ end
273
+ rescue ::Gapic::Rest::Error => e
274
+ raise ::Google::Cloud::Error.from_error(e)
275
+ end
276
+
277
+ ##
278
+ # [Developer Preview](https://developers.google.com/workspace/preview).
279
+ # Lists the conference records by start time and in descending order.
280
+ #
281
+ # @overload list_conference_records(request, options = nil)
282
+ # Pass arguments to `list_conference_records` via a request object, either of type
283
+ # {::Google::Apps::Meet::V2beta::ListConferenceRecordsRequest} or an equivalent Hash.
284
+ #
285
+ # @param request [::Google::Apps::Meet::V2beta::ListConferenceRecordsRequest, ::Hash]
286
+ # A request object representing the call parameters. Required. To specify no
287
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
288
+ # @param options [::Gapic::CallOptions, ::Hash]
289
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
290
+ #
291
+ # @overload list_conference_records(page_size: nil, page_token: nil, filter: nil)
292
+ # Pass arguments to `list_conference_records` via keyword arguments. Note that at
293
+ # least one keyword argument is required. To specify no parameters, or to keep all
294
+ # the default parameter values, pass an empty Hash as a request object (see above).
295
+ #
296
+ # @param page_size [::Integer]
297
+ # Optional. Maximum number of conference records to return. The service might
298
+ # return fewer than this value. If unspecified, at most 25 conference records
299
+ # are returned. The maximum value is 100; values above 100 are coerced to
300
+ # 100. Maximum might change in the future.
301
+ # @param page_token [::String]
302
+ # Optional. Page token returned from previous List Call.
303
+ # @param filter [::String]
304
+ # Optional. User specified filtering condition in EBNF format. The following
305
+ # are the filterable fields:
306
+ #
307
+ # * `space.meeting_code`
308
+ # * `space.name`
309
+ # * `start_time`
310
+ # * `end_time`
311
+ #
312
+ # For example, `space.meeting_code = "abc-mnop-xyz"`.
313
+ # @yield [result, operation] Access the result along with the TransportOperation object
314
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Apps::Meet::V2beta::ConferenceRecord>]
315
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
316
+ #
317
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Apps::Meet::V2beta::ConferenceRecord>]
318
+ #
319
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
320
+ #
321
+ # @example Basic example
322
+ # require "google/apps/meet/v2beta"
323
+ #
324
+ # # Create a client object. The client can be reused for multiple calls.
325
+ # client = Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client.new
326
+ #
327
+ # # Create a request. To set request fields, pass in keyword arguments.
328
+ # request = Google::Apps::Meet::V2beta::ListConferenceRecordsRequest.new
329
+ #
330
+ # # Call the list_conference_records method.
331
+ # result = client.list_conference_records request
332
+ #
333
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
334
+ # # over elements, and API calls will be issued to fetch pages as needed.
335
+ # result.each do |item|
336
+ # # Each element is of type ::Google::Apps::Meet::V2beta::ConferenceRecord.
337
+ # p item
338
+ # end
339
+ #
340
+ def list_conference_records request, options = nil
341
+ raise ::ArgumentError, "request must be provided" if request.nil?
342
+
343
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Apps::Meet::V2beta::ListConferenceRecordsRequest
344
+
345
+ # Converts hash and nil to an options object
346
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
347
+
348
+ # Customize the options with defaults
349
+ call_metadata = @config.rpcs.list_conference_records.metadata.to_h
350
+
351
+ # Set x-goog-api-client and x-goog-user-project headers
352
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
353
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
354
+ gapic_version: ::Google::Apps::Meet::V2beta::VERSION,
355
+ transports_version_send: [:rest]
356
+
357
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
358
+
359
+ options.apply_defaults timeout: @config.rpcs.list_conference_records.timeout,
360
+ metadata: call_metadata,
361
+ retry_policy: @config.rpcs.list_conference_records.retry_policy
362
+
363
+ options.apply_defaults timeout: @config.timeout,
364
+ metadata: @config.metadata,
365
+ retry_policy: @config.retry_policy
366
+
367
+ @conference_records_service_stub.list_conference_records request, options do |result, operation|
368
+ result = ::Gapic::Rest::PagedEnumerable.new @conference_records_service_stub, :list_conference_records, "conference_records", request, result, options
369
+ yield result, operation if block_given?
370
+ return result
371
+ end
372
+ rescue ::Gapic::Rest::Error => e
373
+ raise ::Google::Cloud::Error.from_error(e)
374
+ end
375
+
376
+ ##
377
+ # [Developer Preview](https://developers.google.com/workspace/preview).
378
+ # Gets a participant by participant ID.
379
+ #
380
+ # @overload get_participant(request, options = nil)
381
+ # Pass arguments to `get_participant` via a request object, either of type
382
+ # {::Google::Apps::Meet::V2beta::GetParticipantRequest} or an equivalent Hash.
383
+ #
384
+ # @param request [::Google::Apps::Meet::V2beta::GetParticipantRequest, ::Hash]
385
+ # A request object representing the call parameters. Required. To specify no
386
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
387
+ # @param options [::Gapic::CallOptions, ::Hash]
388
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
389
+ #
390
+ # @overload get_participant(name: nil)
391
+ # Pass arguments to `get_participant` via keyword arguments. Note that at
392
+ # least one keyword argument is required. To specify no parameters, or to keep all
393
+ # the default parameter values, pass an empty Hash as a request object (see above).
394
+ #
395
+ # @param name [::String]
396
+ # Required. Resource name of the participant.
397
+ # @yield [result, operation] Access the result along with the TransportOperation object
398
+ # @yieldparam result [::Google::Apps::Meet::V2beta::Participant]
399
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
400
+ #
401
+ # @return [::Google::Apps::Meet::V2beta::Participant]
402
+ #
403
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
404
+ #
405
+ # @example Basic example
406
+ # require "google/apps/meet/v2beta"
407
+ #
408
+ # # Create a client object. The client can be reused for multiple calls.
409
+ # client = Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client.new
410
+ #
411
+ # # Create a request. To set request fields, pass in keyword arguments.
412
+ # request = Google::Apps::Meet::V2beta::GetParticipantRequest.new
413
+ #
414
+ # # Call the get_participant method.
415
+ # result = client.get_participant request
416
+ #
417
+ # # The returned object is of type Google::Apps::Meet::V2beta::Participant.
418
+ # p result
419
+ #
420
+ def get_participant request, options = nil
421
+ raise ::ArgumentError, "request must be provided" if request.nil?
422
+
423
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Apps::Meet::V2beta::GetParticipantRequest
424
+
425
+ # Converts hash and nil to an options object
426
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
427
+
428
+ # Customize the options with defaults
429
+ call_metadata = @config.rpcs.get_participant.metadata.to_h
430
+
431
+ # Set x-goog-api-client and x-goog-user-project headers
432
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
433
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
434
+ gapic_version: ::Google::Apps::Meet::V2beta::VERSION,
435
+ transports_version_send: [:rest]
436
+
437
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
438
+
439
+ options.apply_defaults timeout: @config.rpcs.get_participant.timeout,
440
+ metadata: call_metadata,
441
+ retry_policy: @config.rpcs.get_participant.retry_policy
442
+
443
+ options.apply_defaults timeout: @config.timeout,
444
+ metadata: @config.metadata,
445
+ retry_policy: @config.retry_policy
446
+
447
+ @conference_records_service_stub.get_participant request, options do |result, operation|
448
+ yield result, operation if block_given?
449
+ return result
450
+ end
451
+ rescue ::Gapic::Rest::Error => e
452
+ raise ::Google::Cloud::Error.from_error(e)
453
+ end
454
+
455
+ ##
456
+ # [Developer Preview](https://developers.google.com/workspace/preview).
457
+ # Lists the participants in a conference record, by default ordered by join
458
+ # time and in descending order. This API supports `fields` as standard
459
+ # parameters like every other API. However, when the `fields` request
460
+ # parameter is omitted, this API defaults to `'participants/*,
461
+ # next_page_token'`.
462
+ #
463
+ # @overload list_participants(request, options = nil)
464
+ # Pass arguments to `list_participants` via a request object, either of type
465
+ # {::Google::Apps::Meet::V2beta::ListParticipantsRequest} or an equivalent Hash.
466
+ #
467
+ # @param request [::Google::Apps::Meet::V2beta::ListParticipantsRequest, ::Hash]
468
+ # A request object representing the call parameters. Required. To specify no
469
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
470
+ # @param options [::Gapic::CallOptions, ::Hash]
471
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
472
+ #
473
+ # @overload list_participants(parent: nil, page_size: nil, page_token: nil, filter: nil)
474
+ # Pass arguments to `list_participants` via keyword arguments. Note that at
475
+ # least one keyword argument is required. To specify no parameters, or to keep all
476
+ # the default parameter values, pass an empty Hash as a request object (see above).
477
+ #
478
+ # @param parent [::String]
479
+ # Required. Format: `conferenceRecords/{conference_record}`
480
+ # @param page_size [::Integer]
481
+ # Maximum number of participants to return. The service might return fewer
482
+ # than this value.
483
+ # If unspecified, at most 100 participants are returned.
484
+ # The maximum value is 250; values above 250 are coerced to 250.
485
+ # Maximum might change in the future.
486
+ # @param page_token [::String]
487
+ # Page token returned from previous List Call.
488
+ # @param filter [::String]
489
+ # Optional. User specified filtering condition in EBNF format. The following
490
+ # are the filterable fields:
491
+ #
492
+ # * `earliest_start_time`
493
+ # * `latest_end_time`
494
+ #
495
+ # For example, `latest_end_time IS NULL` returns active participants in
496
+ # the conference.
497
+ # @yield [result, operation] Access the result along with the TransportOperation object
498
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Apps::Meet::V2beta::Participant>]
499
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
500
+ #
501
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Apps::Meet::V2beta::Participant>]
502
+ #
503
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
504
+ #
505
+ # @example Basic example
506
+ # require "google/apps/meet/v2beta"
507
+ #
508
+ # # Create a client object. The client can be reused for multiple calls.
509
+ # client = Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client.new
510
+ #
511
+ # # Create a request. To set request fields, pass in keyword arguments.
512
+ # request = Google::Apps::Meet::V2beta::ListParticipantsRequest.new
513
+ #
514
+ # # Call the list_participants method.
515
+ # result = client.list_participants request
516
+ #
517
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
518
+ # # over elements, and API calls will be issued to fetch pages as needed.
519
+ # result.each do |item|
520
+ # # Each element is of type ::Google::Apps::Meet::V2beta::Participant.
521
+ # p item
522
+ # end
523
+ #
524
+ def list_participants request, options = nil
525
+ raise ::ArgumentError, "request must be provided" if request.nil?
526
+
527
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Apps::Meet::V2beta::ListParticipantsRequest
528
+
529
+ # Converts hash and nil to an options object
530
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
531
+
532
+ # Customize the options with defaults
533
+ call_metadata = @config.rpcs.list_participants.metadata.to_h
534
+
535
+ # Set x-goog-api-client and x-goog-user-project headers
536
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
537
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
538
+ gapic_version: ::Google::Apps::Meet::V2beta::VERSION,
539
+ transports_version_send: [:rest]
540
+
541
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
542
+
543
+ options.apply_defaults timeout: @config.rpcs.list_participants.timeout,
544
+ metadata: call_metadata,
545
+ retry_policy: @config.rpcs.list_participants.retry_policy
546
+
547
+ options.apply_defaults timeout: @config.timeout,
548
+ metadata: @config.metadata,
549
+ retry_policy: @config.retry_policy
550
+
551
+ @conference_records_service_stub.list_participants request, options do |result, operation|
552
+ result = ::Gapic::Rest::PagedEnumerable.new @conference_records_service_stub, :list_participants, "participants", request, result, options
553
+ yield result, operation if block_given?
554
+ return result
555
+ end
556
+ rescue ::Gapic::Rest::Error => e
557
+ raise ::Google::Cloud::Error.from_error(e)
558
+ end
559
+
560
+ ##
561
+ # [Developer Preview](https://developers.google.com/workspace/preview).
562
+ # Gets a participant session by participant session ID.
563
+ #
564
+ # @overload get_participant_session(request, options = nil)
565
+ # Pass arguments to `get_participant_session` via a request object, either of type
566
+ # {::Google::Apps::Meet::V2beta::GetParticipantSessionRequest} or an equivalent Hash.
567
+ #
568
+ # @param request [::Google::Apps::Meet::V2beta::GetParticipantSessionRequest, ::Hash]
569
+ # A request object representing the call parameters. Required. To specify no
570
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
571
+ # @param options [::Gapic::CallOptions, ::Hash]
572
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
573
+ #
574
+ # @overload get_participant_session(name: nil)
575
+ # Pass arguments to `get_participant_session` via keyword arguments. Note that at
576
+ # least one keyword argument is required. To specify no parameters, or to keep all
577
+ # the default parameter values, pass an empty Hash as a request object (see above).
578
+ #
579
+ # @param name [::String]
580
+ # Required. Resource name of the participant.
581
+ # @yield [result, operation] Access the result along with the TransportOperation object
582
+ # @yieldparam result [::Google::Apps::Meet::V2beta::ParticipantSession]
583
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
584
+ #
585
+ # @return [::Google::Apps::Meet::V2beta::ParticipantSession]
586
+ #
587
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
588
+ #
589
+ # @example Basic example
590
+ # require "google/apps/meet/v2beta"
591
+ #
592
+ # # Create a client object. The client can be reused for multiple calls.
593
+ # client = Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client.new
594
+ #
595
+ # # Create a request. To set request fields, pass in keyword arguments.
596
+ # request = Google::Apps::Meet::V2beta::GetParticipantSessionRequest.new
597
+ #
598
+ # # Call the get_participant_session method.
599
+ # result = client.get_participant_session request
600
+ #
601
+ # # The returned object is of type Google::Apps::Meet::V2beta::ParticipantSession.
602
+ # p result
603
+ #
604
+ def get_participant_session request, options = nil
605
+ raise ::ArgumentError, "request must be provided" if request.nil?
606
+
607
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Apps::Meet::V2beta::GetParticipantSessionRequest
608
+
609
+ # Converts hash and nil to an options object
610
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
611
+
612
+ # Customize the options with defaults
613
+ call_metadata = @config.rpcs.get_participant_session.metadata.to_h
614
+
615
+ # Set x-goog-api-client and x-goog-user-project headers
616
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
617
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
618
+ gapic_version: ::Google::Apps::Meet::V2beta::VERSION,
619
+ transports_version_send: [:rest]
620
+
621
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
622
+
623
+ options.apply_defaults timeout: @config.rpcs.get_participant_session.timeout,
624
+ metadata: call_metadata,
625
+ retry_policy: @config.rpcs.get_participant_session.retry_policy
626
+
627
+ options.apply_defaults timeout: @config.timeout,
628
+ metadata: @config.metadata,
629
+ retry_policy: @config.retry_policy
630
+
631
+ @conference_records_service_stub.get_participant_session request, options do |result, operation|
632
+ yield result, operation if block_given?
633
+ return result
634
+ end
635
+ rescue ::Gapic::Rest::Error => e
636
+ raise ::Google::Cloud::Error.from_error(e)
637
+ end
638
+
639
+ ##
640
+ # [Developer Preview](https://developers.google.com/workspace/preview).
641
+ # Lists the participant sessions of a participant in a conference record, by
642
+ # default ordered by join time and in descending order. This API supports
643
+ # `fields` as standard parameters like every other API. However, when the
644
+ # `fields` request parameter is omitted this API defaults to
645
+ # `'participantsessions/*, next_page_token'`.
646
+ #
647
+ # @overload list_participant_sessions(request, options = nil)
648
+ # Pass arguments to `list_participant_sessions` via a request object, either of type
649
+ # {::Google::Apps::Meet::V2beta::ListParticipantSessionsRequest} or an equivalent Hash.
650
+ #
651
+ # @param request [::Google::Apps::Meet::V2beta::ListParticipantSessionsRequest, ::Hash]
652
+ # A request object representing the call parameters. Required. To specify no
653
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
654
+ # @param options [::Gapic::CallOptions, ::Hash]
655
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
656
+ #
657
+ # @overload list_participant_sessions(parent: nil, page_size: nil, page_token: nil, filter: nil)
658
+ # Pass arguments to `list_participant_sessions` via keyword arguments. Note that at
659
+ # least one keyword argument is required. To specify no parameters, or to keep all
660
+ # the default parameter values, pass an empty Hash as a request object (see above).
661
+ #
662
+ # @param parent [::String]
663
+ # Required. Format:
664
+ # `conferenceRecords/{conference_record}/participants/{participant}`
665
+ # @param page_size [::Integer]
666
+ # Optional. Maximum number of participant sessions to return. The service
667
+ # might return fewer than this value. If unspecified, at most 100
668
+ # participants are returned. The maximum value is 250; values above 250 are
669
+ # coerced to 250. Maximum might change in the future.
670
+ # @param page_token [::String]
671
+ # Optional. Page token returned from previous List Call.
672
+ # @param filter [::String]
673
+ # Optional. User specified filtering condition in EBNF format. The following
674
+ # are the filterable fields:
675
+ #
676
+ # * `start_time`
677
+ # * `end_time`
678
+ #
679
+ # For example, `end_time IS NULL` returns active participant sessions in
680
+ # the conference record.
681
+ # @yield [result, operation] Access the result along with the TransportOperation object
682
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Apps::Meet::V2beta::ParticipantSession>]
683
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
684
+ #
685
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Apps::Meet::V2beta::ParticipantSession>]
686
+ #
687
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
688
+ #
689
+ # @example Basic example
690
+ # require "google/apps/meet/v2beta"
691
+ #
692
+ # # Create a client object. The client can be reused for multiple calls.
693
+ # client = Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client.new
694
+ #
695
+ # # Create a request. To set request fields, pass in keyword arguments.
696
+ # request = Google::Apps::Meet::V2beta::ListParticipantSessionsRequest.new
697
+ #
698
+ # # Call the list_participant_sessions method.
699
+ # result = client.list_participant_sessions request
700
+ #
701
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
702
+ # # over elements, and API calls will be issued to fetch pages as needed.
703
+ # result.each do |item|
704
+ # # Each element is of type ::Google::Apps::Meet::V2beta::ParticipantSession.
705
+ # p item
706
+ # end
707
+ #
708
+ def list_participant_sessions request, options = nil
709
+ raise ::ArgumentError, "request must be provided" if request.nil?
710
+
711
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Apps::Meet::V2beta::ListParticipantSessionsRequest
712
+
713
+ # Converts hash and nil to an options object
714
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
715
+
716
+ # Customize the options with defaults
717
+ call_metadata = @config.rpcs.list_participant_sessions.metadata.to_h
718
+
719
+ # Set x-goog-api-client and x-goog-user-project headers
720
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
721
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
722
+ gapic_version: ::Google::Apps::Meet::V2beta::VERSION,
723
+ transports_version_send: [:rest]
724
+
725
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
726
+
727
+ options.apply_defaults timeout: @config.rpcs.list_participant_sessions.timeout,
728
+ metadata: call_metadata,
729
+ retry_policy: @config.rpcs.list_participant_sessions.retry_policy
730
+
731
+ options.apply_defaults timeout: @config.timeout,
732
+ metadata: @config.metadata,
733
+ retry_policy: @config.retry_policy
734
+
735
+ @conference_records_service_stub.list_participant_sessions request, options do |result, operation|
736
+ result = ::Gapic::Rest::PagedEnumerable.new @conference_records_service_stub, :list_participant_sessions, "participant_sessions", request, result, options
737
+ yield result, operation if block_given?
738
+ return result
739
+ end
740
+ rescue ::Gapic::Rest::Error => e
741
+ raise ::Google::Cloud::Error.from_error(e)
742
+ end
743
+
744
+ ##
745
+ # [Developer Preview](https://developers.google.com/workspace/preview).
746
+ # Gets a recording by recording ID.
747
+ #
748
+ # @overload get_recording(request, options = nil)
749
+ # Pass arguments to `get_recording` via a request object, either of type
750
+ # {::Google::Apps::Meet::V2beta::GetRecordingRequest} or an equivalent Hash.
751
+ #
752
+ # @param request [::Google::Apps::Meet::V2beta::GetRecordingRequest, ::Hash]
753
+ # A request object representing the call parameters. Required. To specify no
754
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
755
+ # @param options [::Gapic::CallOptions, ::Hash]
756
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
757
+ #
758
+ # @overload get_recording(name: nil)
759
+ # Pass arguments to `get_recording` via keyword arguments. Note that at
760
+ # least one keyword argument is required. To specify no parameters, or to keep all
761
+ # the default parameter values, pass an empty Hash as a request object (see above).
762
+ #
763
+ # @param name [::String]
764
+ # Required. Resource name of the recording.
765
+ # @yield [result, operation] Access the result along with the TransportOperation object
766
+ # @yieldparam result [::Google::Apps::Meet::V2beta::Recording]
767
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
768
+ #
769
+ # @return [::Google::Apps::Meet::V2beta::Recording]
770
+ #
771
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
772
+ #
773
+ # @example Basic example
774
+ # require "google/apps/meet/v2beta"
775
+ #
776
+ # # Create a client object. The client can be reused for multiple calls.
777
+ # client = Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client.new
778
+ #
779
+ # # Create a request. To set request fields, pass in keyword arguments.
780
+ # request = Google::Apps::Meet::V2beta::GetRecordingRequest.new
781
+ #
782
+ # # Call the get_recording method.
783
+ # result = client.get_recording request
784
+ #
785
+ # # The returned object is of type Google::Apps::Meet::V2beta::Recording.
786
+ # p result
787
+ #
788
+ def get_recording request, options = nil
789
+ raise ::ArgumentError, "request must be provided" if request.nil?
790
+
791
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Apps::Meet::V2beta::GetRecordingRequest
792
+
793
+ # Converts hash and nil to an options object
794
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
795
+
796
+ # Customize the options with defaults
797
+ call_metadata = @config.rpcs.get_recording.metadata.to_h
798
+
799
+ # Set x-goog-api-client and x-goog-user-project headers
800
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
801
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
802
+ gapic_version: ::Google::Apps::Meet::V2beta::VERSION,
803
+ transports_version_send: [:rest]
804
+
805
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
806
+
807
+ options.apply_defaults timeout: @config.rpcs.get_recording.timeout,
808
+ metadata: call_metadata,
809
+ retry_policy: @config.rpcs.get_recording.retry_policy
810
+
811
+ options.apply_defaults timeout: @config.timeout,
812
+ metadata: @config.metadata,
813
+ retry_policy: @config.retry_policy
814
+
815
+ @conference_records_service_stub.get_recording request, options do |result, operation|
816
+ yield result, operation if block_given?
817
+ return result
818
+ end
819
+ rescue ::Gapic::Rest::Error => e
820
+ raise ::Google::Cloud::Error.from_error(e)
821
+ end
822
+
823
+ ##
824
+ # [Developer Preview](https://developers.google.com/workspace/preview).
825
+ # Lists the recording resources from the conference record.
826
+ #
827
+ # @overload list_recordings(request, options = nil)
828
+ # Pass arguments to `list_recordings` via a request object, either of type
829
+ # {::Google::Apps::Meet::V2beta::ListRecordingsRequest} or an equivalent Hash.
830
+ #
831
+ # @param request [::Google::Apps::Meet::V2beta::ListRecordingsRequest, ::Hash]
832
+ # A request object representing the call parameters. Required. To specify no
833
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
834
+ # @param options [::Gapic::CallOptions, ::Hash]
835
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
836
+ #
837
+ # @overload list_recordings(parent: nil, page_size: nil, page_token: nil)
838
+ # Pass arguments to `list_recordings` via keyword arguments. Note that at
839
+ # least one keyword argument is required. To specify no parameters, or to keep all
840
+ # the default parameter values, pass an empty Hash as a request object (see above).
841
+ #
842
+ # @param parent [::String]
843
+ # Required. Format: `conferenceRecords/{conference_record}`
844
+ # @param page_size [::Integer]
845
+ # Maximum number of recordings to return. The service might return fewer
846
+ # than this value.
847
+ # If unspecified, at most 10 recordings are returned.
848
+ # The maximum value is 100; values above 100 are coerced to 100.
849
+ # Maximum might change in the future.
850
+ # @param page_token [::String]
851
+ # Page token returned from previous List Call.
852
+ # @yield [result, operation] Access the result along with the TransportOperation object
853
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Apps::Meet::V2beta::Recording>]
854
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
855
+ #
856
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Apps::Meet::V2beta::Recording>]
857
+ #
858
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
859
+ #
860
+ # @example Basic example
861
+ # require "google/apps/meet/v2beta"
862
+ #
863
+ # # Create a client object. The client can be reused for multiple calls.
864
+ # client = Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client.new
865
+ #
866
+ # # Create a request. To set request fields, pass in keyword arguments.
867
+ # request = Google::Apps::Meet::V2beta::ListRecordingsRequest.new
868
+ #
869
+ # # Call the list_recordings method.
870
+ # result = client.list_recordings request
871
+ #
872
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
873
+ # # over elements, and API calls will be issued to fetch pages as needed.
874
+ # result.each do |item|
875
+ # # Each element is of type ::Google::Apps::Meet::V2beta::Recording.
876
+ # p item
877
+ # end
878
+ #
879
+ def list_recordings request, options = nil
880
+ raise ::ArgumentError, "request must be provided" if request.nil?
881
+
882
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Apps::Meet::V2beta::ListRecordingsRequest
883
+
884
+ # Converts hash and nil to an options object
885
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
886
+
887
+ # Customize the options with defaults
888
+ call_metadata = @config.rpcs.list_recordings.metadata.to_h
889
+
890
+ # Set x-goog-api-client and x-goog-user-project headers
891
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
892
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
893
+ gapic_version: ::Google::Apps::Meet::V2beta::VERSION,
894
+ transports_version_send: [:rest]
895
+
896
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
897
+
898
+ options.apply_defaults timeout: @config.rpcs.list_recordings.timeout,
899
+ metadata: call_metadata,
900
+ retry_policy: @config.rpcs.list_recordings.retry_policy
901
+
902
+ options.apply_defaults timeout: @config.timeout,
903
+ metadata: @config.metadata,
904
+ retry_policy: @config.retry_policy
905
+
906
+ @conference_records_service_stub.list_recordings request, options do |result, operation|
907
+ result = ::Gapic::Rest::PagedEnumerable.new @conference_records_service_stub, :list_recordings, "recordings", request, result, options
908
+ yield result, operation if block_given?
909
+ return result
910
+ end
911
+ rescue ::Gapic::Rest::Error => e
912
+ raise ::Google::Cloud::Error.from_error(e)
913
+ end
914
+
915
+ ##
916
+ # [Developer Preview](https://developers.google.com/workspace/preview).
917
+ # Gets a transcript by transcript ID.
918
+ #
919
+ # @overload get_transcript(request, options = nil)
920
+ # Pass arguments to `get_transcript` via a request object, either of type
921
+ # {::Google::Apps::Meet::V2beta::GetTranscriptRequest} or an equivalent Hash.
922
+ #
923
+ # @param request [::Google::Apps::Meet::V2beta::GetTranscriptRequest, ::Hash]
924
+ # A request object representing the call parameters. Required. To specify no
925
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
926
+ # @param options [::Gapic::CallOptions, ::Hash]
927
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
928
+ #
929
+ # @overload get_transcript(name: nil)
930
+ # Pass arguments to `get_transcript` via keyword arguments. Note that at
931
+ # least one keyword argument is required. To specify no parameters, or to keep all
932
+ # the default parameter values, pass an empty Hash as a request object (see above).
933
+ #
934
+ # @param name [::String]
935
+ # Required. Resource name of the transcript.
936
+ # @yield [result, operation] Access the result along with the TransportOperation object
937
+ # @yieldparam result [::Google::Apps::Meet::V2beta::Transcript]
938
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
939
+ #
940
+ # @return [::Google::Apps::Meet::V2beta::Transcript]
941
+ #
942
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
943
+ #
944
+ # @example Basic example
945
+ # require "google/apps/meet/v2beta"
946
+ #
947
+ # # Create a client object. The client can be reused for multiple calls.
948
+ # client = Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client.new
949
+ #
950
+ # # Create a request. To set request fields, pass in keyword arguments.
951
+ # request = Google::Apps::Meet::V2beta::GetTranscriptRequest.new
952
+ #
953
+ # # Call the get_transcript method.
954
+ # result = client.get_transcript request
955
+ #
956
+ # # The returned object is of type Google::Apps::Meet::V2beta::Transcript.
957
+ # p result
958
+ #
959
+ def get_transcript request, options = nil
960
+ raise ::ArgumentError, "request must be provided" if request.nil?
961
+
962
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Apps::Meet::V2beta::GetTranscriptRequest
963
+
964
+ # Converts hash and nil to an options object
965
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
966
+
967
+ # Customize the options with defaults
968
+ call_metadata = @config.rpcs.get_transcript.metadata.to_h
969
+
970
+ # Set x-goog-api-client and x-goog-user-project headers
971
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
972
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
973
+ gapic_version: ::Google::Apps::Meet::V2beta::VERSION,
974
+ transports_version_send: [:rest]
975
+
976
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
977
+
978
+ options.apply_defaults timeout: @config.rpcs.get_transcript.timeout,
979
+ metadata: call_metadata,
980
+ retry_policy: @config.rpcs.get_transcript.retry_policy
981
+
982
+ options.apply_defaults timeout: @config.timeout,
983
+ metadata: @config.metadata,
984
+ retry_policy: @config.retry_policy
985
+
986
+ @conference_records_service_stub.get_transcript request, options do |result, operation|
987
+ yield result, operation if block_given?
988
+ return result
989
+ end
990
+ rescue ::Gapic::Rest::Error => e
991
+ raise ::Google::Cloud::Error.from_error(e)
992
+ end
993
+
994
+ ##
995
+ # [Developer Preview](https://developers.google.com/workspace/preview).
996
+ # Lists the set of transcripts from the conference record.
997
+ #
998
+ # @overload list_transcripts(request, options = nil)
999
+ # Pass arguments to `list_transcripts` via a request object, either of type
1000
+ # {::Google::Apps::Meet::V2beta::ListTranscriptsRequest} or an equivalent Hash.
1001
+ #
1002
+ # @param request [::Google::Apps::Meet::V2beta::ListTranscriptsRequest, ::Hash]
1003
+ # A request object representing the call parameters. Required. To specify no
1004
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1005
+ # @param options [::Gapic::CallOptions, ::Hash]
1006
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1007
+ #
1008
+ # @overload list_transcripts(parent: nil, page_size: nil, page_token: nil)
1009
+ # Pass arguments to `list_transcripts` via keyword arguments. Note that at
1010
+ # least one keyword argument is required. To specify no parameters, or to keep all
1011
+ # the default parameter values, pass an empty Hash as a request object (see above).
1012
+ #
1013
+ # @param parent [::String]
1014
+ # Required. Format: `conferenceRecords/{conference_record}`
1015
+ # @param page_size [::Integer]
1016
+ # Maximum number of transcripts to return. The service might return fewer
1017
+ # than this value.
1018
+ # If unspecified, at most 10 transcripts are returned.
1019
+ # The maximum value is 100; values above 100 are coerced to 100.
1020
+ # Maximum might change in the future.
1021
+ # @param page_token [::String]
1022
+ # Page token returned from previous List Call.
1023
+ # @yield [result, operation] Access the result along with the TransportOperation object
1024
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Apps::Meet::V2beta::Transcript>]
1025
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1026
+ #
1027
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Apps::Meet::V2beta::Transcript>]
1028
+ #
1029
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
1030
+ #
1031
+ # @example Basic example
1032
+ # require "google/apps/meet/v2beta"
1033
+ #
1034
+ # # Create a client object. The client can be reused for multiple calls.
1035
+ # client = Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client.new
1036
+ #
1037
+ # # Create a request. To set request fields, pass in keyword arguments.
1038
+ # request = Google::Apps::Meet::V2beta::ListTranscriptsRequest.new
1039
+ #
1040
+ # # Call the list_transcripts method.
1041
+ # result = client.list_transcripts request
1042
+ #
1043
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1044
+ # # over elements, and API calls will be issued to fetch pages as needed.
1045
+ # result.each do |item|
1046
+ # # Each element is of type ::Google::Apps::Meet::V2beta::Transcript.
1047
+ # p item
1048
+ # end
1049
+ #
1050
+ def list_transcripts request, options = nil
1051
+ raise ::ArgumentError, "request must be provided" if request.nil?
1052
+
1053
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Apps::Meet::V2beta::ListTranscriptsRequest
1054
+
1055
+ # Converts hash and nil to an options object
1056
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1057
+
1058
+ # Customize the options with defaults
1059
+ call_metadata = @config.rpcs.list_transcripts.metadata.to_h
1060
+
1061
+ # Set x-goog-api-client and x-goog-user-project headers
1062
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1063
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1064
+ gapic_version: ::Google::Apps::Meet::V2beta::VERSION,
1065
+ transports_version_send: [:rest]
1066
+
1067
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1068
+
1069
+ options.apply_defaults timeout: @config.rpcs.list_transcripts.timeout,
1070
+ metadata: call_metadata,
1071
+ retry_policy: @config.rpcs.list_transcripts.retry_policy
1072
+
1073
+ options.apply_defaults timeout: @config.timeout,
1074
+ metadata: @config.metadata,
1075
+ retry_policy: @config.retry_policy
1076
+
1077
+ @conference_records_service_stub.list_transcripts request, options do |result, operation|
1078
+ result = ::Gapic::Rest::PagedEnumerable.new @conference_records_service_stub, :list_transcripts, "transcripts", request, result, options
1079
+ yield result, operation if block_given?
1080
+ return result
1081
+ end
1082
+ rescue ::Gapic::Rest::Error => e
1083
+ raise ::Google::Cloud::Error.from_error(e)
1084
+ end
1085
+
1086
+ ##
1087
+ # [Developer Preview](https://developers.google.com/workspace/preview).
1088
+ # Gets a `TranscriptEntry` resource by entry ID.
1089
+ #
1090
+ # Note: The transcript entries returned by the Google Meet API might not
1091
+ # match the transcription found in the Google Docs transcript file. This can
1092
+ # occur when the Google Docs transcript file is modified after generation.
1093
+ #
1094
+ # @overload get_transcript_entry(request, options = nil)
1095
+ # Pass arguments to `get_transcript_entry` via a request object, either of type
1096
+ # {::Google::Apps::Meet::V2beta::GetTranscriptEntryRequest} or an equivalent Hash.
1097
+ #
1098
+ # @param request [::Google::Apps::Meet::V2beta::GetTranscriptEntryRequest, ::Hash]
1099
+ # A request object representing the call parameters. Required. To specify no
1100
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1101
+ # @param options [::Gapic::CallOptions, ::Hash]
1102
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1103
+ #
1104
+ # @overload get_transcript_entry(name: nil)
1105
+ # Pass arguments to `get_transcript_entry` via keyword arguments. Note that at
1106
+ # least one keyword argument is required. To specify no parameters, or to keep all
1107
+ # the default parameter values, pass an empty Hash as a request object (see above).
1108
+ #
1109
+ # @param name [::String]
1110
+ # Required. Resource name of the `TranscriptEntry`.
1111
+ # @yield [result, operation] Access the result along with the TransportOperation object
1112
+ # @yieldparam result [::Google::Apps::Meet::V2beta::TranscriptEntry]
1113
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1114
+ #
1115
+ # @return [::Google::Apps::Meet::V2beta::TranscriptEntry]
1116
+ #
1117
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
1118
+ #
1119
+ # @example Basic example
1120
+ # require "google/apps/meet/v2beta"
1121
+ #
1122
+ # # Create a client object. The client can be reused for multiple calls.
1123
+ # client = Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client.new
1124
+ #
1125
+ # # Create a request. To set request fields, pass in keyword arguments.
1126
+ # request = Google::Apps::Meet::V2beta::GetTranscriptEntryRequest.new
1127
+ #
1128
+ # # Call the get_transcript_entry method.
1129
+ # result = client.get_transcript_entry request
1130
+ #
1131
+ # # The returned object is of type Google::Apps::Meet::V2beta::TranscriptEntry.
1132
+ # p result
1133
+ #
1134
+ def get_transcript_entry request, options = nil
1135
+ raise ::ArgumentError, "request must be provided" if request.nil?
1136
+
1137
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Apps::Meet::V2beta::GetTranscriptEntryRequest
1138
+
1139
+ # Converts hash and nil to an options object
1140
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1141
+
1142
+ # Customize the options with defaults
1143
+ call_metadata = @config.rpcs.get_transcript_entry.metadata.to_h
1144
+
1145
+ # Set x-goog-api-client and x-goog-user-project headers
1146
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1147
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1148
+ gapic_version: ::Google::Apps::Meet::V2beta::VERSION,
1149
+ transports_version_send: [:rest]
1150
+
1151
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1152
+
1153
+ options.apply_defaults timeout: @config.rpcs.get_transcript_entry.timeout,
1154
+ metadata: call_metadata,
1155
+ retry_policy: @config.rpcs.get_transcript_entry.retry_policy
1156
+
1157
+ options.apply_defaults timeout: @config.timeout,
1158
+ metadata: @config.metadata,
1159
+ retry_policy: @config.retry_policy
1160
+
1161
+ @conference_records_service_stub.get_transcript_entry request, options do |result, operation|
1162
+ yield result, operation if block_given?
1163
+ return result
1164
+ end
1165
+ rescue ::Gapic::Rest::Error => e
1166
+ raise ::Google::Cloud::Error.from_error(e)
1167
+ end
1168
+
1169
+ ##
1170
+ # [Developer Preview](https://developers.google.com/workspace/preview).
1171
+ # Lists the structured transcript entries per transcript. By default, ordered
1172
+ # by start time and in ascending order.
1173
+ #
1174
+ # Note: The transcript entries returned by the Google Meet API might not
1175
+ # match the transcription found in the Google Docs transcript file. This can
1176
+ # occur when the Google Docs transcript file is modified after generation.
1177
+ #
1178
+ # @overload list_transcript_entries(request, options = nil)
1179
+ # Pass arguments to `list_transcript_entries` via a request object, either of type
1180
+ # {::Google::Apps::Meet::V2beta::ListTranscriptEntriesRequest} or an equivalent Hash.
1181
+ #
1182
+ # @param request [::Google::Apps::Meet::V2beta::ListTranscriptEntriesRequest, ::Hash]
1183
+ # A request object representing the call parameters. Required. To specify no
1184
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1185
+ # @param options [::Gapic::CallOptions, ::Hash]
1186
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1187
+ #
1188
+ # @overload list_transcript_entries(parent: nil, page_size: nil, page_token: nil)
1189
+ # Pass arguments to `list_transcript_entries` via keyword arguments. Note that at
1190
+ # least one keyword argument is required. To specify no parameters, or to keep all
1191
+ # the default parameter values, pass an empty Hash as a request object (see above).
1192
+ #
1193
+ # @param parent [::String]
1194
+ # Required. Format:
1195
+ # `conferenceRecords/{conference_record}/transcripts/{transcript}`
1196
+ # @param page_size [::Integer]
1197
+ # Maximum number of entries to return. The service might return fewer than
1198
+ # this value.
1199
+ # If unspecified, at most 10 entries are returned.
1200
+ # The maximum value is 100; values above 100 are coerced to 100.
1201
+ # Maximum might change in the future.
1202
+ # @param page_token [::String]
1203
+ # Page token returned from previous List Call.
1204
+ # @yield [result, operation] Access the result along with the TransportOperation object
1205
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Apps::Meet::V2beta::TranscriptEntry>]
1206
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1207
+ #
1208
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Apps::Meet::V2beta::TranscriptEntry>]
1209
+ #
1210
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
1211
+ #
1212
+ # @example Basic example
1213
+ # require "google/apps/meet/v2beta"
1214
+ #
1215
+ # # Create a client object. The client can be reused for multiple calls.
1216
+ # client = Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client.new
1217
+ #
1218
+ # # Create a request. To set request fields, pass in keyword arguments.
1219
+ # request = Google::Apps::Meet::V2beta::ListTranscriptEntriesRequest.new
1220
+ #
1221
+ # # Call the list_transcript_entries method.
1222
+ # result = client.list_transcript_entries request
1223
+ #
1224
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1225
+ # # over elements, and API calls will be issued to fetch pages as needed.
1226
+ # result.each do |item|
1227
+ # # Each element is of type ::Google::Apps::Meet::V2beta::TranscriptEntry.
1228
+ # p item
1229
+ # end
1230
+ #
1231
+ def list_transcript_entries request, options = nil
1232
+ raise ::ArgumentError, "request must be provided" if request.nil?
1233
+
1234
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Apps::Meet::V2beta::ListTranscriptEntriesRequest
1235
+
1236
+ # Converts hash and nil to an options object
1237
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1238
+
1239
+ # Customize the options with defaults
1240
+ call_metadata = @config.rpcs.list_transcript_entries.metadata.to_h
1241
+
1242
+ # Set x-goog-api-client and x-goog-user-project headers
1243
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1244
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1245
+ gapic_version: ::Google::Apps::Meet::V2beta::VERSION,
1246
+ transports_version_send: [:rest]
1247
+
1248
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1249
+
1250
+ options.apply_defaults timeout: @config.rpcs.list_transcript_entries.timeout,
1251
+ metadata: call_metadata,
1252
+ retry_policy: @config.rpcs.list_transcript_entries.retry_policy
1253
+
1254
+ options.apply_defaults timeout: @config.timeout,
1255
+ metadata: @config.metadata,
1256
+ retry_policy: @config.retry_policy
1257
+
1258
+ @conference_records_service_stub.list_transcript_entries request, options do |result, operation|
1259
+ result = ::Gapic::Rest::PagedEnumerable.new @conference_records_service_stub, :list_transcript_entries, "transcript_entries", request, result, options
1260
+ yield result, operation if block_given?
1261
+ return result
1262
+ end
1263
+ rescue ::Gapic::Rest::Error => e
1264
+ raise ::Google::Cloud::Error.from_error(e)
1265
+ end
1266
+
1267
+ ##
1268
+ # Configuration class for the ConferenceRecordsService REST API.
1269
+ #
1270
+ # This class represents the configuration for ConferenceRecordsService REST,
1271
+ # providing control over timeouts, retry behavior, logging, transport
1272
+ # parameters, and other low-level controls. Certain parameters can also be
1273
+ # applied individually to specific RPCs. See
1274
+ # {::Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client::Configuration::Rpcs}
1275
+ # for a list of RPCs that can be configured independently.
1276
+ #
1277
+ # Configuration can be applied globally to all clients, or to a single client
1278
+ # on construction.
1279
+ #
1280
+ # @example
1281
+ #
1282
+ # # Modify the global config, setting the timeout for
1283
+ # # get_conference_record to 20 seconds,
1284
+ # # and all remaining timeouts to 10 seconds.
1285
+ # ::Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client.configure do |config|
1286
+ # config.timeout = 10.0
1287
+ # config.rpcs.get_conference_record.timeout = 20.0
1288
+ # end
1289
+ #
1290
+ # # Apply the above configuration only to a new client.
1291
+ # client = ::Google::Apps::Meet::V2beta::ConferenceRecordsService::Rest::Client.new do |config|
1292
+ # config.timeout = 10.0
1293
+ # config.rpcs.get_conference_record.timeout = 20.0
1294
+ # end
1295
+ #
1296
+ # @!attribute [rw] endpoint
1297
+ # The hostname or hostname:port of the service endpoint.
1298
+ # Defaults to `"meet.googleapis.com"`.
1299
+ # @return [::String]
1300
+ # @!attribute [rw] credentials
1301
+ # Credentials to send with calls. You may provide any of the following types:
1302
+ # * (`String`) The path to a service account key file in JSON format
1303
+ # * (`Hash`) A service account key as a Hash
1304
+ # * (`Google::Auth::Credentials`) A googleauth credentials object
1305
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1306
+ # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1307
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1308
+ # * (`nil`) indicating no credentials
1309
+ # @return [::Object]
1310
+ # @!attribute [rw] scope
1311
+ # The OAuth scopes
1312
+ # @return [::Array<::String>]
1313
+ # @!attribute [rw] lib_name
1314
+ # The library name as recorded in instrumentation and logging
1315
+ # @return [::String]
1316
+ # @!attribute [rw] lib_version
1317
+ # The library version as recorded in instrumentation and logging
1318
+ # @return [::String]
1319
+ # @!attribute [rw] timeout
1320
+ # The call timeout in seconds.
1321
+ # @return [::Numeric]
1322
+ # @!attribute [rw] metadata
1323
+ # Additional headers to be sent with the call.
1324
+ # @return [::Hash{::Symbol=>::String}]
1325
+ # @!attribute [rw] retry_policy
1326
+ # The retry policy. The value is a hash with the following keys:
1327
+ # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1328
+ # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1329
+ # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1330
+ # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1331
+ # trigger a retry.
1332
+ # @return [::Hash]
1333
+ # @!attribute [rw] quota_project
1334
+ # A separate project against which to charge quota.
1335
+ # @return [::String]
1336
+ #
1337
+ class Configuration
1338
+ extend ::Gapic::Config
1339
+
1340
+ DEFAULT_ENDPOINT = "meet.googleapis.com"
1341
+
1342
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1343
+ config_attr :credentials, nil do |value|
1344
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1345
+ allowed.any? { |klass| klass === value }
1346
+ end
1347
+ config_attr :scope, nil, ::String, ::Array, nil
1348
+ config_attr :lib_name, nil, ::String, nil
1349
+ config_attr :lib_version, nil, ::String, nil
1350
+ config_attr :timeout, nil, ::Numeric, nil
1351
+ config_attr :metadata, nil, ::Hash, nil
1352
+ config_attr :retry_policy, nil, ::Hash, ::Proc, nil
1353
+ config_attr :quota_project, nil, ::String, nil
1354
+
1355
+ # @private
1356
+ def initialize parent_config = nil
1357
+ @parent_config = parent_config unless parent_config.nil?
1358
+
1359
+ yield self if block_given?
1360
+ end
1361
+
1362
+ ##
1363
+ # Configurations for individual RPCs
1364
+ # @return [Rpcs]
1365
+ #
1366
+ def rpcs
1367
+ @rpcs ||= begin
1368
+ parent_rpcs = nil
1369
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
1370
+ Rpcs.new parent_rpcs
1371
+ end
1372
+ end
1373
+
1374
+ ##
1375
+ # Configuration RPC class for the ConferenceRecordsService API.
1376
+ #
1377
+ # Includes fields providing the configuration for each RPC in this service.
1378
+ # Each configuration object is of type `Gapic::Config::Method` and includes
1379
+ # the following configuration fields:
1380
+ #
1381
+ # * `timeout` (*type:* `Numeric`) - The call timeout in seconds
1382
+ # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers
1383
+ # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
1384
+ # include the following keys:
1385
+ # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1386
+ # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1387
+ # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1388
+ # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1389
+ # trigger a retry.
1390
+ #
1391
+ class Rpcs
1392
+ ##
1393
+ # RPC-specific configuration for `get_conference_record`
1394
+ # @return [::Gapic::Config::Method]
1395
+ #
1396
+ attr_reader :get_conference_record
1397
+ ##
1398
+ # RPC-specific configuration for `list_conference_records`
1399
+ # @return [::Gapic::Config::Method]
1400
+ #
1401
+ attr_reader :list_conference_records
1402
+ ##
1403
+ # RPC-specific configuration for `get_participant`
1404
+ # @return [::Gapic::Config::Method]
1405
+ #
1406
+ attr_reader :get_participant
1407
+ ##
1408
+ # RPC-specific configuration for `list_participants`
1409
+ # @return [::Gapic::Config::Method]
1410
+ #
1411
+ attr_reader :list_participants
1412
+ ##
1413
+ # RPC-specific configuration for `get_participant_session`
1414
+ # @return [::Gapic::Config::Method]
1415
+ #
1416
+ attr_reader :get_participant_session
1417
+ ##
1418
+ # RPC-specific configuration for `list_participant_sessions`
1419
+ # @return [::Gapic::Config::Method]
1420
+ #
1421
+ attr_reader :list_participant_sessions
1422
+ ##
1423
+ # RPC-specific configuration for `get_recording`
1424
+ # @return [::Gapic::Config::Method]
1425
+ #
1426
+ attr_reader :get_recording
1427
+ ##
1428
+ # RPC-specific configuration for `list_recordings`
1429
+ # @return [::Gapic::Config::Method]
1430
+ #
1431
+ attr_reader :list_recordings
1432
+ ##
1433
+ # RPC-specific configuration for `get_transcript`
1434
+ # @return [::Gapic::Config::Method]
1435
+ #
1436
+ attr_reader :get_transcript
1437
+ ##
1438
+ # RPC-specific configuration for `list_transcripts`
1439
+ # @return [::Gapic::Config::Method]
1440
+ #
1441
+ attr_reader :list_transcripts
1442
+ ##
1443
+ # RPC-specific configuration for `get_transcript_entry`
1444
+ # @return [::Gapic::Config::Method]
1445
+ #
1446
+ attr_reader :get_transcript_entry
1447
+ ##
1448
+ # RPC-specific configuration for `list_transcript_entries`
1449
+ # @return [::Gapic::Config::Method]
1450
+ #
1451
+ attr_reader :list_transcript_entries
1452
+
1453
+ # @private
1454
+ def initialize parent_rpcs = nil
1455
+ get_conference_record_config = parent_rpcs.get_conference_record if parent_rpcs.respond_to? :get_conference_record
1456
+ @get_conference_record = ::Gapic::Config::Method.new get_conference_record_config
1457
+ list_conference_records_config = parent_rpcs.list_conference_records if parent_rpcs.respond_to? :list_conference_records
1458
+ @list_conference_records = ::Gapic::Config::Method.new list_conference_records_config
1459
+ get_participant_config = parent_rpcs.get_participant if parent_rpcs.respond_to? :get_participant
1460
+ @get_participant = ::Gapic::Config::Method.new get_participant_config
1461
+ list_participants_config = parent_rpcs.list_participants if parent_rpcs.respond_to? :list_participants
1462
+ @list_participants = ::Gapic::Config::Method.new list_participants_config
1463
+ get_participant_session_config = parent_rpcs.get_participant_session if parent_rpcs.respond_to? :get_participant_session
1464
+ @get_participant_session = ::Gapic::Config::Method.new get_participant_session_config
1465
+ list_participant_sessions_config = parent_rpcs.list_participant_sessions if parent_rpcs.respond_to? :list_participant_sessions
1466
+ @list_participant_sessions = ::Gapic::Config::Method.new list_participant_sessions_config
1467
+ get_recording_config = parent_rpcs.get_recording if parent_rpcs.respond_to? :get_recording
1468
+ @get_recording = ::Gapic::Config::Method.new get_recording_config
1469
+ list_recordings_config = parent_rpcs.list_recordings if parent_rpcs.respond_to? :list_recordings
1470
+ @list_recordings = ::Gapic::Config::Method.new list_recordings_config
1471
+ get_transcript_config = parent_rpcs.get_transcript if parent_rpcs.respond_to? :get_transcript
1472
+ @get_transcript = ::Gapic::Config::Method.new get_transcript_config
1473
+ list_transcripts_config = parent_rpcs.list_transcripts if parent_rpcs.respond_to? :list_transcripts
1474
+ @list_transcripts = ::Gapic::Config::Method.new list_transcripts_config
1475
+ get_transcript_entry_config = parent_rpcs.get_transcript_entry if parent_rpcs.respond_to? :get_transcript_entry
1476
+ @get_transcript_entry = ::Gapic::Config::Method.new get_transcript_entry_config
1477
+ list_transcript_entries_config = parent_rpcs.list_transcript_entries if parent_rpcs.respond_to? :list_transcript_entries
1478
+ @list_transcript_entries = ::Gapic::Config::Method.new list_transcript_entries_config
1479
+
1480
+ yield self if block_given?
1481
+ end
1482
+ end
1483
+ end
1484
+ end
1485
+ end
1486
+ end
1487
+ end
1488
+ end
1489
+ end
1490
+ end