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