google-cloud-gsuite_add_ons-v1 0.6.0 → 1.0.1

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: 630ffd9afbb3b59d68d3fe8325ea98df36e28f8cf895f944ca2b9b4e89d42213
4
- data.tar.gz: f287ec39a1fe3c078030c4fe4021f3a3d79c6c65c77be0f70f46b9cf7901ad7b
3
+ metadata.gz: 107170c17dd9fe722a9c0c5df2afcd4e996d4c478c1eda87bfa3cf72f16fd3ad
4
+ data.tar.gz: b5d0679e3ddeffbec7e8054c1800b76c4bbe93ff52ca3de3ba351688c2a993d6
5
5
  SHA512:
6
- metadata.gz: 84ccac83278541bc1d88f2c47abf10eba30946aaae29b5165f0ec40976e3e51f02a43e5eaa55fcf60fca65e70929ae69c934412011c6d101f047fd9b7d9fd99e
7
- data.tar.gz: 764bf36be656065439d7c449bd7f4178cc1efdbf637aa6e6e39bc562ed799ad20f50e7b1d6b4e6614899b9ef0c862afe12e00da8ffdf35a97f882ac697bf19a1
6
+ metadata.gz: f902dd989f0c4330f39867da66ba10bf9de22ffdf2e51471561467a600776df52e0bdffb9c1bb7450f50ca3f63e7bec15abfcf0f9183f0054ecec92f9b85c6ab
7
+ data.tar.gz: 06d4ce6cc50f25053ccb98b91009098ce16289effb44a09ee506f94aca001fff69ca0a6a388920530ef4664fb64334b3e7a673a54cb7882e3f6109ae5a536556
@@ -57,6 +57,9 @@ module Google
57
57
  # for details.
58
58
  #
59
59
  class Client
60
+ # @private
61
+ API_VERSION = ""
62
+
60
63
  # @private
61
64
  DEFAULT_ENDPOINT_TEMPLATE = "gsuiteaddons.$UNIVERSE_DOMAIN$"
62
65
 
@@ -256,10 +259,11 @@ module Google
256
259
  # Customize the options with defaults
257
260
  metadata = @config.rpcs.get_authorization.metadata.to_h
258
261
 
259
- # Set x-goog-api-client and x-goog-user-project headers
262
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
260
263
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
261
264
  lib_name: @config.lib_name, lib_version: @config.lib_version,
262
265
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION
266
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
263
267
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
264
268
 
265
269
  header_params = {}
@@ -348,10 +352,11 @@ module Google
348
352
  # Customize the options with defaults
349
353
  metadata = @config.rpcs.create_deployment.metadata.to_h
350
354
 
351
- # Set x-goog-api-client and x-goog-user-project headers
355
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
352
356
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
353
357
  lib_name: @config.lib_name, lib_version: @config.lib_version,
354
358
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION
359
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
355
360
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
356
361
 
357
362
  header_params = {}
@@ -433,10 +438,11 @@ module Google
433
438
  # Customize the options with defaults
434
439
  metadata = @config.rpcs.replace_deployment.metadata.to_h
435
440
 
436
- # Set x-goog-api-client and x-goog-user-project headers
441
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
437
442
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
438
443
  lib_name: @config.lib_name, lib_version: @config.lib_version,
439
444
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION
445
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
440
446
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
441
447
 
442
448
  header_params = {}
@@ -520,10 +526,11 @@ module Google
520
526
  # Customize the options with defaults
521
527
  metadata = @config.rpcs.get_deployment.metadata.to_h
522
528
 
523
- # Set x-goog-api-client and x-goog-user-project headers
529
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
524
530
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
525
531
  lib_name: @config.lib_name, lib_version: @config.lib_version,
526
532
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION
533
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
527
534
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
528
535
 
529
536
  header_params = {}
@@ -622,10 +629,11 @@ module Google
622
629
  # Customize the options with defaults
623
630
  metadata = @config.rpcs.list_deployments.metadata.to_h
624
631
 
625
- # Set x-goog-api-client and x-goog-user-project headers
632
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
626
633
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
627
634
  lib_name: @config.lib_name, lib_version: @config.lib_version,
628
635
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION
636
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
629
637
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
630
638
 
631
639
  header_params = {}
@@ -713,10 +721,11 @@ module Google
713
721
  # Customize the options with defaults
714
722
  metadata = @config.rpcs.delete_deployment.metadata.to_h
715
723
 
716
- # Set x-goog-api-client and x-goog-user-project headers
724
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
717
725
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
718
726
  lib_name: @config.lib_name, lib_version: @config.lib_version,
719
727
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION
728
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
720
729
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
721
730
 
722
731
  header_params = {}
@@ -802,10 +811,11 @@ module Google
802
811
  # Customize the options with defaults
803
812
  metadata = @config.rpcs.install_deployment.metadata.to_h
804
813
 
805
- # Set x-goog-api-client and x-goog-user-project headers
814
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
806
815
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
807
816
  lib_name: @config.lib_name, lib_version: @config.lib_version,
808
817
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION
818
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
809
819
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
810
820
 
811
821
  header_params = {}
@@ -891,10 +901,11 @@ module Google
891
901
  # Customize the options with defaults
892
902
  metadata = @config.rpcs.uninstall_deployment.metadata.to_h
893
903
 
894
- # Set x-goog-api-client and x-goog-user-project headers
904
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
895
905
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
896
906
  lib_name: @config.lib_name, lib_version: @config.lib_version,
897
907
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION
908
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
898
909
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
899
910
 
900
911
  header_params = {}
@@ -978,10 +989,11 @@ module Google
978
989
  # Customize the options with defaults
979
990
  metadata = @config.rpcs.get_install_status.metadata.to_h
980
991
 
981
- # Set x-goog-api-client and x-goog-user-project headers
992
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
982
993
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
983
994
  lib_name: @config.lib_name, lib_version: @config.lib_version,
984
995
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION
996
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
985
997
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
986
998
 
987
999
  header_params = {}
@@ -59,6 +59,9 @@ module Google
59
59
  # for details.
60
60
  #
61
61
  class Client
62
+ # @private
63
+ API_VERSION = ""
64
+
62
65
  # @private
63
66
  DEFAULT_ENDPOINT_TEMPLATE = "gsuiteaddons.$UNIVERSE_DOMAIN$"
64
67
 
@@ -248,12 +251,13 @@ module Google
248
251
  # Customize the options with defaults
249
252
  call_metadata = @config.rpcs.get_authorization.metadata.to_h
250
253
 
251
- # Set x-goog-api-client and x-goog-user-project headers
254
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
252
255
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
253
256
  lib_name: @config.lib_name, lib_version: @config.lib_version,
254
257
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION,
255
258
  transports_version_send: [:rest]
256
259
 
260
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
257
261
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
258
262
 
259
263
  options.apply_defaults timeout: @config.rpcs.get_authorization.timeout,
@@ -333,12 +337,13 @@ module Google
333
337
  # Customize the options with defaults
334
338
  call_metadata = @config.rpcs.create_deployment.metadata.to_h
335
339
 
336
- # Set x-goog-api-client and x-goog-user-project headers
340
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
337
341
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
338
342
  lib_name: @config.lib_name, lib_version: @config.lib_version,
339
343
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION,
340
344
  transports_version_send: [:rest]
341
345
 
346
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
342
347
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
343
348
 
344
349
  options.apply_defaults timeout: @config.rpcs.create_deployment.timeout,
@@ -411,12 +416,13 @@ module Google
411
416
  # Customize the options with defaults
412
417
  call_metadata = @config.rpcs.replace_deployment.metadata.to_h
413
418
 
414
- # Set x-goog-api-client and x-goog-user-project headers
419
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
415
420
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
416
421
  lib_name: @config.lib_name, lib_version: @config.lib_version,
417
422
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION,
418
423
  transports_version_send: [:rest]
419
424
 
425
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
420
426
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
421
427
 
422
428
  options.apply_defaults timeout: @config.rpcs.replace_deployment.timeout,
@@ -491,12 +497,13 @@ module Google
491
497
  # Customize the options with defaults
492
498
  call_metadata = @config.rpcs.get_deployment.metadata.to_h
493
499
 
494
- # Set x-goog-api-client and x-goog-user-project headers
500
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
495
501
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
496
502
  lib_name: @config.lib_name, lib_version: @config.lib_version,
497
503
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION,
498
504
  transports_version_send: [:rest]
499
505
 
506
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
500
507
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
501
508
 
502
509
  options.apply_defaults timeout: @config.rpcs.get_deployment.timeout,
@@ -586,12 +593,13 @@ module Google
586
593
  # Customize the options with defaults
587
594
  call_metadata = @config.rpcs.list_deployments.metadata.to_h
588
595
 
589
- # Set x-goog-api-client and x-goog-user-project headers
596
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
590
597
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
591
598
  lib_name: @config.lib_name, lib_version: @config.lib_version,
592
599
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION,
593
600
  transports_version_send: [:rest]
594
601
 
602
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
595
603
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
596
604
 
597
605
  options.apply_defaults timeout: @config.rpcs.list_deployments.timeout,
@@ -670,12 +678,13 @@ module Google
670
678
  # Customize the options with defaults
671
679
  call_metadata = @config.rpcs.delete_deployment.metadata.to_h
672
680
 
673
- # Set x-goog-api-client and x-goog-user-project headers
681
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
674
682
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
675
683
  lib_name: @config.lib_name, lib_version: @config.lib_version,
676
684
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION,
677
685
  transports_version_send: [:rest]
678
686
 
687
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
679
688
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
680
689
 
681
690
  options.apply_defaults timeout: @config.rpcs.delete_deployment.timeout,
@@ -752,12 +761,13 @@ module Google
752
761
  # Customize the options with defaults
753
762
  call_metadata = @config.rpcs.install_deployment.metadata.to_h
754
763
 
755
- # Set x-goog-api-client and x-goog-user-project headers
764
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
756
765
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
757
766
  lib_name: @config.lib_name, lib_version: @config.lib_version,
758
767
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION,
759
768
  transports_version_send: [:rest]
760
769
 
770
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
761
771
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
762
772
 
763
773
  options.apply_defaults timeout: @config.rpcs.install_deployment.timeout,
@@ -834,12 +844,13 @@ module Google
834
844
  # Customize the options with defaults
835
845
  call_metadata = @config.rpcs.uninstall_deployment.metadata.to_h
836
846
 
837
- # Set x-goog-api-client and x-goog-user-project headers
847
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
838
848
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
839
849
  lib_name: @config.lib_name, lib_version: @config.lib_version,
840
850
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION,
841
851
  transports_version_send: [:rest]
842
852
 
853
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
843
854
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
844
855
 
845
856
  options.apply_defaults timeout: @config.rpcs.uninstall_deployment.timeout,
@@ -914,12 +925,13 @@ module Google
914
925
  # Customize the options with defaults
915
926
  call_metadata = @config.rpcs.get_install_status.metadata.to_h
916
927
 
917
- # Set x-goog-api-client and x-goog-user-project headers
928
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
918
929
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
919
930
  lib_name: @config.lib_name, lib_version: @config.lib_version,
920
931
  gapic_version: ::Google::Cloud::GSuiteAddOns::V1::VERSION,
921
932
  transports_version_send: [:rest]
922
933
 
934
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
923
935
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
924
936
 
925
937
  options.apply_defaults timeout: @config.rpcs.get_install_status.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module GSuiteAddOns
23
23
  module V1
24
- VERSION = "0.6.0"
24
+ VERSION = "1.0.1"
25
25
  end
26
26
  end
27
27
  end
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -192,9 +196,26 @@ module Google
192
196
  # @!attribute [rw] common
193
197
  # @return [::Google::Api::CommonLanguageSettings]
194
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
195
202
  class PythonSettings
196
203
  include ::Google::Protobuf::MessageExts
197
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
198
219
  end
199
220
 
200
221
  # Settings for Node client libraries.
@@ -286,6 +307,13 @@ module Google
286
307
  # @return [::String]
287
308
  # The fully qualified name of the method, for which the options below apply.
288
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
289
317
  # @!attribute [rw] long_running
290
318
  # @return [::Google::Api::MethodSettings::LongRunning]
291
319
  # Describes settings to use for long-running operations when generating
@@ -294,17 +322,14 @@ module Google
294
322
  #
295
323
  # Example of a YAML configuration::
296
324
  #
297
- # publishing:
298
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
299
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
328
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
303
330
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
308
333
  # @!attribute [rw] auto_populated_fields
309
334
  # @return [::Array<::String>]
310
335
  # List of top-level fields of the request message, that should be
@@ -313,8 +338,8 @@ module Google
313
338
  #
314
339
  # Example of a YAML configuration:
315
340
  #
316
- # publishing:
317
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
318
343
  # - selector: google.example.v1.ExampleService.CreateExample
319
344
  # auto_populated_fields:
320
345
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
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.6.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common