google-apps-meet-v2beta 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -193,6 +193,46 @@ module Google
193
193
  end
194
194
  end
195
195
 
196
+ ##
197
+ # Baseline implementation for the connect_active_conference REST call
198
+ #
199
+ # @param request_pb [::Google::Apps::Meet::V2beta::ConnectActiveConferenceRequest]
200
+ # A request object representing the call parameters. Required.
201
+ # @param options [::Gapic::CallOptions]
202
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
203
+ #
204
+ # @yield [result, operation] Access the result along with the TransportOperation object
205
+ # @yieldparam result [::Google::Apps::Meet::V2beta::ConnectActiveConferenceResponse]
206
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
207
+ #
208
+ # @return [::Google::Apps::Meet::V2beta::ConnectActiveConferenceResponse]
209
+ # A result object deserialized from the server's reply
210
+ def connect_active_conference request_pb, options = nil
211
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
212
+
213
+ verb, uri, query_string_params, body = ServiceStub.transcode_connect_active_conference_request request_pb
214
+ query_string_params = if query_string_params.any?
215
+ query_string_params.to_h { |p| p.split "=", 2 }
216
+ else
217
+ {}
218
+ end
219
+
220
+ response = @client_stub.make_http_request(
221
+ verb,
222
+ uri: uri,
223
+ body: body || "",
224
+ params: query_string_params,
225
+ method_name: "connect_active_conference",
226
+ options: options
227
+ )
228
+ operation = ::Gapic::Rest::TransportOperation.new response
229
+ result = ::Google::Apps::Meet::V2beta::ConnectActiveConferenceResponse.decode_json response.body, ignore_unknown_fields: true
230
+ catch :response do
231
+ yield result, operation if block_given?
232
+ result
233
+ end
234
+ end
235
+
196
236
  ##
197
237
  # Baseline implementation for the end_active_conference REST call
198
238
  #
@@ -233,6 +273,166 @@ module Google
233
273
  end
234
274
  end
235
275
 
276
+ ##
277
+ # Baseline implementation for the create_member REST call
278
+ #
279
+ # @param request_pb [::Google::Apps::Meet::V2beta::CreateMemberRequest]
280
+ # A request object representing the call parameters. Required.
281
+ # @param options [::Gapic::CallOptions]
282
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
283
+ #
284
+ # @yield [result, operation] Access the result along with the TransportOperation object
285
+ # @yieldparam result [::Google::Apps::Meet::V2beta::Member]
286
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
287
+ #
288
+ # @return [::Google::Apps::Meet::V2beta::Member]
289
+ # A result object deserialized from the server's reply
290
+ def create_member request_pb, options = nil
291
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
292
+
293
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_member_request request_pb
294
+ query_string_params = if query_string_params.any?
295
+ query_string_params.to_h { |p| p.split "=", 2 }
296
+ else
297
+ {}
298
+ end
299
+
300
+ response = @client_stub.make_http_request(
301
+ verb,
302
+ uri: uri,
303
+ body: body || "",
304
+ params: query_string_params,
305
+ method_name: "create_member",
306
+ options: options
307
+ )
308
+ operation = ::Gapic::Rest::TransportOperation.new response
309
+ result = ::Google::Apps::Meet::V2beta::Member.decode_json response.body, ignore_unknown_fields: true
310
+ catch :response do
311
+ yield result, operation if block_given?
312
+ result
313
+ end
314
+ end
315
+
316
+ ##
317
+ # Baseline implementation for the get_member REST call
318
+ #
319
+ # @param request_pb [::Google::Apps::Meet::V2beta::GetMemberRequest]
320
+ # A request object representing the call parameters. Required.
321
+ # @param options [::Gapic::CallOptions]
322
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
323
+ #
324
+ # @yield [result, operation] Access the result along with the TransportOperation object
325
+ # @yieldparam result [::Google::Apps::Meet::V2beta::Member]
326
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
327
+ #
328
+ # @return [::Google::Apps::Meet::V2beta::Member]
329
+ # A result object deserialized from the server's reply
330
+ def get_member request_pb, options = nil
331
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
332
+
333
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_member_request request_pb
334
+ query_string_params = if query_string_params.any?
335
+ query_string_params.to_h { |p| p.split "=", 2 }
336
+ else
337
+ {}
338
+ end
339
+
340
+ response = @client_stub.make_http_request(
341
+ verb,
342
+ uri: uri,
343
+ body: body || "",
344
+ params: query_string_params,
345
+ method_name: "get_member",
346
+ options: options
347
+ )
348
+ operation = ::Gapic::Rest::TransportOperation.new response
349
+ result = ::Google::Apps::Meet::V2beta::Member.decode_json response.body, ignore_unknown_fields: true
350
+ catch :response do
351
+ yield result, operation if block_given?
352
+ result
353
+ end
354
+ end
355
+
356
+ ##
357
+ # Baseline implementation for the list_members REST call
358
+ #
359
+ # @param request_pb [::Google::Apps::Meet::V2beta::ListMembersRequest]
360
+ # A request object representing the call parameters. Required.
361
+ # @param options [::Gapic::CallOptions]
362
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
363
+ #
364
+ # @yield [result, operation] Access the result along with the TransportOperation object
365
+ # @yieldparam result [::Google::Apps::Meet::V2beta::ListMembersResponse]
366
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
367
+ #
368
+ # @return [::Google::Apps::Meet::V2beta::ListMembersResponse]
369
+ # A result object deserialized from the server's reply
370
+ def list_members request_pb, options = nil
371
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
372
+
373
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_members_request request_pb
374
+ query_string_params = if query_string_params.any?
375
+ query_string_params.to_h { |p| p.split "=", 2 }
376
+ else
377
+ {}
378
+ end
379
+
380
+ response = @client_stub.make_http_request(
381
+ verb,
382
+ uri: uri,
383
+ body: body || "",
384
+ params: query_string_params,
385
+ method_name: "list_members",
386
+ options: options
387
+ )
388
+ operation = ::Gapic::Rest::TransportOperation.new response
389
+ result = ::Google::Apps::Meet::V2beta::ListMembersResponse.decode_json response.body, ignore_unknown_fields: true
390
+ catch :response do
391
+ yield result, operation if block_given?
392
+ result
393
+ end
394
+ end
395
+
396
+ ##
397
+ # Baseline implementation for the delete_member REST call
398
+ #
399
+ # @param request_pb [::Google::Apps::Meet::V2beta::DeleteMemberRequest]
400
+ # A request object representing the call parameters. Required.
401
+ # @param options [::Gapic::CallOptions]
402
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
403
+ #
404
+ # @yield [result, operation] Access the result along with the TransportOperation object
405
+ # @yieldparam result [::Google::Protobuf::Empty]
406
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
407
+ #
408
+ # @return [::Google::Protobuf::Empty]
409
+ # A result object deserialized from the server's reply
410
+ def delete_member request_pb, options = nil
411
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
412
+
413
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_member_request request_pb
414
+ query_string_params = if query_string_params.any?
415
+ query_string_params.to_h { |p| p.split "=", 2 }
416
+ else
417
+ {}
418
+ end
419
+
420
+ response = @client_stub.make_http_request(
421
+ verb,
422
+ uri: uri,
423
+ body: body || "",
424
+ params: query_string_params,
425
+ method_name: "delete_member",
426
+ options: options
427
+ )
428
+ operation = ::Gapic::Rest::TransportOperation.new response
429
+ result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
430
+ catch :response do
431
+ yield result, operation if block_given?
432
+ result
433
+ end
434
+ end
435
+
236
436
  ##
237
437
  # @private
238
438
  #
@@ -296,6 +496,28 @@ module Google
296
496
  transcoder.transcode request_pb
297
497
  end
298
498
 
499
+ ##
500
+ # @private
501
+ #
502
+ # GRPC transcoding helper method for the connect_active_conference REST call
503
+ #
504
+ # @param request_pb [::Google::Apps::Meet::V2beta::ConnectActiveConferenceRequest]
505
+ # A request object representing the call parameters. Required.
506
+ # @return [Array(String, [String, nil], Hash{String => String})]
507
+ # Uri, Body, Query string parameters
508
+ def self.transcode_connect_active_conference_request request_pb
509
+ transcoder = Gapic::Rest::GrpcTranscoder.new
510
+ .with_bindings(
511
+ uri_method: :post,
512
+ uri_template: "/v2beta/{name}:connectActiveConference",
513
+ body: "*",
514
+ matches: [
515
+ ["name", %r{^spaces/[^/]+/?$}, false]
516
+ ]
517
+ )
518
+ transcoder.transcode request_pb
519
+ end
520
+
299
521
  ##
300
522
  # @private
301
523
  #
@@ -317,6 +539,91 @@ module Google
317
539
  )
318
540
  transcoder.transcode request_pb
319
541
  end
542
+
543
+ ##
544
+ # @private
545
+ #
546
+ # GRPC transcoding helper method for the create_member REST call
547
+ #
548
+ # @param request_pb [::Google::Apps::Meet::V2beta::CreateMemberRequest]
549
+ # A request object representing the call parameters. Required.
550
+ # @return [Array(String, [String, nil], Hash{String => String})]
551
+ # Uri, Body, Query string parameters
552
+ def self.transcode_create_member_request request_pb
553
+ transcoder = Gapic::Rest::GrpcTranscoder.new
554
+ .with_bindings(
555
+ uri_method: :post,
556
+ uri_template: "/v2beta/{parent}/members",
557
+ body: "member",
558
+ matches: [
559
+ ["parent", %r{^spaces/[^/]+/?$}, false]
560
+ ]
561
+ )
562
+ transcoder.transcode request_pb
563
+ end
564
+
565
+ ##
566
+ # @private
567
+ #
568
+ # GRPC transcoding helper method for the get_member REST call
569
+ #
570
+ # @param request_pb [::Google::Apps::Meet::V2beta::GetMemberRequest]
571
+ # A request object representing the call parameters. Required.
572
+ # @return [Array(String, [String, nil], Hash{String => String})]
573
+ # Uri, Body, Query string parameters
574
+ def self.transcode_get_member_request request_pb
575
+ transcoder = Gapic::Rest::GrpcTranscoder.new
576
+ .with_bindings(
577
+ uri_method: :get,
578
+ uri_template: "/v2beta/{name}",
579
+ matches: [
580
+ ["name", %r{^spaces/[^/]+/members/[^/]+/?$}, false]
581
+ ]
582
+ )
583
+ transcoder.transcode request_pb
584
+ end
585
+
586
+ ##
587
+ # @private
588
+ #
589
+ # GRPC transcoding helper method for the list_members REST call
590
+ #
591
+ # @param request_pb [::Google::Apps::Meet::V2beta::ListMembersRequest]
592
+ # A request object representing the call parameters. Required.
593
+ # @return [Array(String, [String, nil], Hash{String => String})]
594
+ # Uri, Body, Query string parameters
595
+ def self.transcode_list_members_request request_pb
596
+ transcoder = Gapic::Rest::GrpcTranscoder.new
597
+ .with_bindings(
598
+ uri_method: :get,
599
+ uri_template: "/v2beta/{parent}/members",
600
+ matches: [
601
+ ["parent", %r{^spaces/[^/]+/?$}, false]
602
+ ]
603
+ )
604
+ transcoder.transcode request_pb
605
+ end
606
+
607
+ ##
608
+ # @private
609
+ #
610
+ # GRPC transcoding helper method for the delete_member REST call
611
+ #
612
+ # @param request_pb [::Google::Apps::Meet::V2beta::DeleteMemberRequest]
613
+ # A request object representing the call parameters. Required.
614
+ # @return [Array(String, [String, nil], Hash{String => String})]
615
+ # Uri, Body, Query string parameters
616
+ def self.transcode_delete_member_request request_pb
617
+ transcoder = Gapic::Rest::GrpcTranscoder.new
618
+ .with_bindings(
619
+ uri_method: :delete,
620
+ uri_template: "/v2beta/{name}",
621
+ matches: [
622
+ ["name", %r{^spaces/[^/]+/members/[^/]+/?$}, false]
623
+ ]
624
+ )
625
+ transcoder.transcode request_pb
626
+ end
320
627
  end
321
628
  end
322
629
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Apps
22
22
  module Meet
23
23
  module V2beta
24
- VERSION = "0.4.0"
24
+ VERSION = "0.6.0"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods