google-cloud-gsuite_add_ons-v1 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7223976b2917818c24b56c9712b221593358e0d2c5fd6667f57413f06d0673c6
4
- data.tar.gz: '0836f428c585399fcfc7d994334f8ac5d145f55ebdc32c0b7b46d3bfb6aaefe7'
3
+ metadata.gz: f8488df2cb10bb111599280e4f4ccf0eccbe9240a697be4031697d871b959e02
4
+ data.tar.gz: 51809d6a29f1e75210c623bcc574b4314ebfefa1d6bbc70dd0ee7b9c6100570d
5
5
  SHA512:
6
- metadata.gz: eef6137067e54ef94492a9bf56ebb37dc0da89a9f448e0049cf1fac80499f86a352fa5d11d7234dae20816939f156987247441fc72e2638be6d3a0813e17d0dd
7
- data.tar.gz: 171585b72f63a59350fc2e07d0762dc3107716191dd78916e4cb3af750a6af7e4d8f6f81eabd333a1cc1c78ae3f364cfcda1573584f0be8d261ec6d06271ab60
6
+ metadata.gz: 7e16fabcddee46fda1499ab6986c3eeec026308dea75a2cf62def12e7edcb165a738c581374555fba39f7a45e2f78998dd73cede07065a499a15b41f5d300467
7
+ data.tar.gz: 59b6a39dfe78ba3a3c66c5877bc1c60e16953426f2788422ce266c9f52a9e9671c6f143915dc39cce18808a22d942ee61c9a954a9cec6414ddbbd3d9380a6b1f
@@ -176,7 +176,8 @@ module Google
176
176
  credentials: credentials,
177
177
  endpoint: @config.endpoint,
178
178
  channel_args: @config.channel_args,
179
- interceptors: @config.interceptors
179
+ interceptors: @config.interceptors,
180
+ channel_pool_config: @config.channel_pool
180
181
  )
181
182
  end
182
183
 
@@ -1111,6 +1112,14 @@ module Google
1111
1112
  end
1112
1113
  end
1113
1114
 
1115
+ ##
1116
+ # Configuration for the channel pool
1117
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
1118
+ #
1119
+ def channel_pool
1120
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
1121
+ end
1122
+
1114
1123
  ##
1115
1124
  # Configuration RPC class for the GSuiteAddOns API.
1116
1125
  #
@@ -203,6 +203,22 @@ module Google
203
203
  # @return [::Google::Cloud::GSuiteAddOns::V1::Authorization]
204
204
  #
205
205
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
206
+ #
207
+ # @example Basic example
208
+ # require "google/cloud/gsuite_add_ons/v1"
209
+ #
210
+ # # Create a client object. The client can be reused for multiple calls.
211
+ # client = Google::Cloud::GSuiteAddOns::V1::GSuiteAddOns::Rest::Client.new
212
+ #
213
+ # # Create a request. To set request fields, pass in keyword arguments.
214
+ # request = Google::Cloud::GSuiteAddOns::V1::GetAuthorizationRequest.new
215
+ #
216
+ # # Call the get_authorization method.
217
+ # result = client.get_authorization request
218
+ #
219
+ # # The returned object is of type Google::Cloud::GSuiteAddOns::V1::Authorization.
220
+ # p result
221
+ #
206
222
  def get_authorization request, options = nil
207
223
  raise ::ArgumentError, "request must be provided" if request.nil?
208
224
 
@@ -272,6 +288,22 @@ module Google
272
288
  # @return [::Google::Cloud::GSuiteAddOns::V1::Deployment]
273
289
  #
274
290
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
291
+ #
292
+ # @example Basic example
293
+ # require "google/cloud/gsuite_add_ons/v1"
294
+ #
295
+ # # Create a client object. The client can be reused for multiple calls.
296
+ # client = Google::Cloud::GSuiteAddOns::V1::GSuiteAddOns::Rest::Client.new
297
+ #
298
+ # # Create a request. To set request fields, pass in keyword arguments.
299
+ # request = Google::Cloud::GSuiteAddOns::V1::CreateDeploymentRequest.new
300
+ #
301
+ # # Call the create_deployment method.
302
+ # result = client.create_deployment request
303
+ #
304
+ # # The returned object is of type Google::Cloud::GSuiteAddOns::V1::Deployment.
305
+ # p result
306
+ #
275
307
  def create_deployment request, options = nil
276
308
  raise ::ArgumentError, "request must be provided" if request.nil?
277
309
 
@@ -334,6 +366,22 @@ module Google
334
366
  # @return [::Google::Cloud::GSuiteAddOns::V1::Deployment]
335
367
  #
336
368
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
369
+ #
370
+ # @example Basic example
371
+ # require "google/cloud/gsuite_add_ons/v1"
372
+ #
373
+ # # Create a client object. The client can be reused for multiple calls.
374
+ # client = Google::Cloud::GSuiteAddOns::V1::GSuiteAddOns::Rest::Client.new
375
+ #
376
+ # # Create a request. To set request fields, pass in keyword arguments.
377
+ # request = Google::Cloud::GSuiteAddOns::V1::ReplaceDeploymentRequest.new
378
+ #
379
+ # # Call the replace_deployment method.
380
+ # result = client.replace_deployment request
381
+ #
382
+ # # The returned object is of type Google::Cloud::GSuiteAddOns::V1::Deployment.
383
+ # p result
384
+ #
337
385
  def replace_deployment request, options = nil
338
386
  raise ::ArgumentError, "request must be provided" if request.nil?
339
387
 
@@ -398,6 +446,22 @@ module Google
398
446
  # @return [::Google::Cloud::GSuiteAddOns::V1::Deployment]
399
447
  #
400
448
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
449
+ #
450
+ # @example Basic example
451
+ # require "google/cloud/gsuite_add_ons/v1"
452
+ #
453
+ # # Create a client object. The client can be reused for multiple calls.
454
+ # client = Google::Cloud::GSuiteAddOns::V1::GSuiteAddOns::Rest::Client.new
455
+ #
456
+ # # Create a request. To set request fields, pass in keyword arguments.
457
+ # request = Google::Cloud::GSuiteAddOns::V1::GetDeploymentRequest.new
458
+ #
459
+ # # Call the get_deployment method.
460
+ # result = client.get_deployment request
461
+ #
462
+ # # The returned object is of type Google::Cloud::GSuiteAddOns::V1::Deployment.
463
+ # p result
464
+ #
401
465
  def get_deployment request, options = nil
402
466
  raise ::ArgumentError, "request must be provided" if request.nil?
403
467
 
@@ -473,6 +537,26 @@ module Google
473
537
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GSuiteAddOns::V1::Deployment>]
474
538
  #
475
539
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
540
+ #
541
+ # @example Basic example
542
+ # require "google/cloud/gsuite_add_ons/v1"
543
+ #
544
+ # # Create a client object. The client can be reused for multiple calls.
545
+ # client = Google::Cloud::GSuiteAddOns::V1::GSuiteAddOns::Rest::Client.new
546
+ #
547
+ # # Create a request. To set request fields, pass in keyword arguments.
548
+ # request = Google::Cloud::GSuiteAddOns::V1::ListDeploymentsRequest.new
549
+ #
550
+ # # Call the list_deployments method.
551
+ # result = client.list_deployments request
552
+ #
553
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
554
+ # # over elements, and API calls will be issued to fetch pages as needed.
555
+ # result.each do |item|
556
+ # # Each element is of type ::Google::Cloud::GSuiteAddOns::V1::Deployment.
557
+ # p item
558
+ # end
559
+ #
476
560
  def list_deployments request, options = nil
477
561
  raise ::ArgumentError, "request must be provided" if request.nil?
478
562
 
@@ -541,6 +625,22 @@ module Google
541
625
  # @return [::Google::Protobuf::Empty]
542
626
  #
543
627
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
628
+ #
629
+ # @example Basic example
630
+ # require "google/cloud/gsuite_add_ons/v1"
631
+ #
632
+ # # Create a client object. The client can be reused for multiple calls.
633
+ # client = Google::Cloud::GSuiteAddOns::V1::GSuiteAddOns::Rest::Client.new
634
+ #
635
+ # # Create a request. To set request fields, pass in keyword arguments.
636
+ # request = Google::Cloud::GSuiteAddOns::V1::DeleteDeploymentRequest.new
637
+ #
638
+ # # Call the delete_deployment method.
639
+ # result = client.delete_deployment request
640
+ #
641
+ # # The returned object is of type Google::Protobuf::Empty.
642
+ # p result
643
+ #
544
644
  def delete_deployment request, options = nil
545
645
  raise ::ArgumentError, "request must be provided" if request.nil?
546
646
 
@@ -607,6 +707,22 @@ module Google
607
707
  # @return [::Google::Protobuf::Empty]
608
708
  #
609
709
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
710
+ #
711
+ # @example Basic example
712
+ # require "google/cloud/gsuite_add_ons/v1"
713
+ #
714
+ # # Create a client object. The client can be reused for multiple calls.
715
+ # client = Google::Cloud::GSuiteAddOns::V1::GSuiteAddOns::Rest::Client.new
716
+ #
717
+ # # Create a request. To set request fields, pass in keyword arguments.
718
+ # request = Google::Cloud::GSuiteAddOns::V1::InstallDeploymentRequest.new
719
+ #
720
+ # # Call the install_deployment method.
721
+ # result = client.install_deployment request
722
+ #
723
+ # # The returned object is of type Google::Protobuf::Empty.
724
+ # p result
725
+ #
610
726
  def install_deployment request, options = nil
611
727
  raise ::ArgumentError, "request must be provided" if request.nil?
612
728
 
@@ -673,6 +789,22 @@ module Google
673
789
  # @return [::Google::Protobuf::Empty]
674
790
  #
675
791
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
792
+ #
793
+ # @example Basic example
794
+ # require "google/cloud/gsuite_add_ons/v1"
795
+ #
796
+ # # Create a client object. The client can be reused for multiple calls.
797
+ # client = Google::Cloud::GSuiteAddOns::V1::GSuiteAddOns::Rest::Client.new
798
+ #
799
+ # # Create a request. To set request fields, pass in keyword arguments.
800
+ # request = Google::Cloud::GSuiteAddOns::V1::UninstallDeploymentRequest.new
801
+ #
802
+ # # Call the uninstall_deployment method.
803
+ # result = client.uninstall_deployment request
804
+ #
805
+ # # The returned object is of type Google::Protobuf::Empty.
806
+ # p result
807
+ #
676
808
  def uninstall_deployment request, options = nil
677
809
  raise ::ArgumentError, "request must be provided" if request.nil?
678
810
 
@@ -737,6 +869,22 @@ module Google
737
869
  # @return [::Google::Cloud::GSuiteAddOns::V1::InstallStatus]
738
870
  #
739
871
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
872
+ #
873
+ # @example Basic example
874
+ # require "google/cloud/gsuite_add_ons/v1"
875
+ #
876
+ # # Create a client object. The client can be reused for multiple calls.
877
+ # client = Google::Cloud::GSuiteAddOns::V1::GSuiteAddOns::Rest::Client.new
878
+ #
879
+ # # Create a request. To set request fields, pass in keyword arguments.
880
+ # request = Google::Cloud::GSuiteAddOns::V1::GetInstallStatusRequest.new
881
+ #
882
+ # # Call the get_install_status method.
883
+ # result = client.get_install_status request
884
+ #
885
+ # # The returned object is of type Google::Cloud::GSuiteAddOns::V1::InstallStatus.
886
+ # p result
887
+ #
740
888
  def get_install_status request, options = nil
741
889
  raise ::ArgumentError, "request must be provided" if request.nil?
742
890
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module GSuiteAddOns
23
23
  module V1
24
- VERSION = "0.3.0"
24
+ VERSION = "0.4.0"
25
25
  end
26
26
  end
27
27
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-gsuite_add_ons-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-06 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.1
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -240,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
240
  - !ruby/object:Gem::Version
241
241
  version: '0'
242
242
  requirements: []
243
- rubygems_version: 3.4.2
243
+ rubygems_version: 3.4.19
244
244
  signing_key:
245
245
  specification_version: 4
246
246
  summary: API Client library for the Google Workspace Add-ons V1 API