google-cloud-gke_hub-v1beta1 0.11.0 → 0.11.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: 86e05f644269e2646f11c09970f42c8f6ad9210b42949f68d2e5553aba176362
4
- data.tar.gz: 6e8ce5d2ee069ef66c2725f0c7dcf0e53060f94c839117163f0438323c674e67
3
+ metadata.gz: 66f7143d0d66902dc37c145c881cf440e341d1b010fb347f67501058802ee2fb
4
+ data.tar.gz: 3c6e64657a6a1107bb852879b5f9344d9f5b7f2dcf8173244d6048e7e7d25ea2
5
5
  SHA512:
6
- metadata.gz: 941fa322a58e00d214e8f0ab0e698b1c43422705f7e81e648eb7cf36fda3e60b54d71faab36645f0b18a1175f61cce212e30654d621d4481bf24570c94cf8f3f
7
- data.tar.gz: 37520968f393748cf4a93e11b11b52156dccd3730bf69a569cde9822bf21549638b8b3a8eb237c77decaf5faeef4db8ebf729dcd34359d97e90b8420759453a1
6
+ metadata.gz: 2af29bc3baef20fb72bb3d0bff940e4a687a6f6b0484ee125d1edec41d6d66bb682b501eb82cfa5c5651c093a806aab51d3bd74a03534674d338db0b6abdcc86
7
+ data.tar.gz: 0aea0f43ba28cb88684f974dfad109664ac83a5029957f742365c5de1e0891e9dc25cde01f5106cf19ee943ae3845e4fab5ec9465c72ac5b3384d69e38c59649
@@ -41,6 +41,9 @@ module Google
41
41
  # with Membership resources.
42
42
  #
43
43
  class Client
44
+ # @private
45
+ API_VERSION = ""
46
+
44
47
  # @private
45
48
  DEFAULT_ENDPOINT_TEMPLATE = "gkehub.$UNIVERSE_DOMAIN$"
46
49
 
@@ -311,10 +314,11 @@ module Google
311
314
  # Customize the options with defaults
312
315
  metadata = @config.rpcs.list_memberships.metadata.to_h
313
316
 
314
- # Set x-goog-api-client and x-goog-user-project headers
317
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
315
318
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
316
319
  lib_name: @config.lib_name, lib_version: @config.lib_version,
317
320
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION
321
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
318
322
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
319
323
 
320
324
  header_params = {}
@@ -398,10 +402,11 @@ module Google
398
402
  # Customize the options with defaults
399
403
  metadata = @config.rpcs.get_membership.metadata.to_h
400
404
 
401
- # Set x-goog-api-client and x-goog-user-project headers
405
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
402
406
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
403
407
  lib_name: @config.lib_name, lib_version: @config.lib_version,
404
408
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION
409
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
405
410
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
406
411
 
407
412
  header_params = {}
@@ -521,10 +526,11 @@ module Google
521
526
  # Customize the options with defaults
522
527
  metadata = @config.rpcs.create_membership.metadata.to_h
523
528
 
524
- # 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
525
530
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
526
531
  lib_name: @config.lib_name, lib_version: @config.lib_version,
527
532
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION
533
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
528
534
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
529
535
 
530
536
  header_params = {}
@@ -637,10 +643,11 @@ module Google
637
643
  # Customize the options with defaults
638
644
  metadata = @config.rpcs.delete_membership.metadata.to_h
639
645
 
640
- # Set x-goog-api-client and x-goog-user-project headers
646
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
641
647
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
642
648
  lib_name: @config.lib_name, lib_version: @config.lib_version,
643
649
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION
650
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
644
651
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
645
652
 
646
653
  header_params = {}
@@ -757,10 +764,11 @@ module Google
757
764
  # Customize the options with defaults
758
765
  metadata = @config.rpcs.update_membership.metadata.to_h
759
766
 
760
- # Set x-goog-api-client and x-goog-user-project headers
767
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
761
768
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
762
769
  lib_name: @config.lib_name, lib_version: @config.lib_version,
763
770
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION
771
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
764
772
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
765
773
 
766
774
  header_params = {}
@@ -860,10 +868,11 @@ module Google
860
868
  # Customize the options with defaults
861
869
  metadata = @config.rpcs.generate_connect_manifest.metadata.to_h
862
870
 
863
- # Set x-goog-api-client and x-goog-user-project headers
871
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
864
872
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
865
873
  lib_name: @config.lib_name, lib_version: @config.lib_version,
866
874
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION
875
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
867
876
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
868
877
 
869
878
  header_params = {}
@@ -954,10 +963,11 @@ module Google
954
963
  # Customize the options with defaults
955
964
  metadata = @config.rpcs.validate_exclusivity.metadata.to_h
956
965
 
957
- # Set x-goog-api-client and x-goog-user-project headers
966
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
958
967
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
959
968
  lib_name: @config.lib_name, lib_version: @config.lib_version,
960
969
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION
970
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
961
971
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
962
972
 
963
973
  header_params = {}
@@ -1059,10 +1069,11 @@ module Google
1059
1069
  # Customize the options with defaults
1060
1070
  metadata = @config.rpcs.generate_exclusivity_manifest.metadata.to_h
1061
1071
 
1062
- # Set x-goog-api-client and x-goog-user-project headers
1072
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1063
1073
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1064
1074
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1065
1075
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION
1076
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1066
1077
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1067
1078
 
1068
1079
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module GkeHubMembershipService
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "gkehub.$UNIVERSE_DOMAIN$"
31
34
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -43,6 +43,9 @@ module Google
43
43
  # with Membership resources.
44
44
  #
45
45
  class Client
46
+ # @private
47
+ API_VERSION = ""
48
+
46
49
  # @private
47
50
  DEFAULT_ENDPOINT_TEMPLATE = "gkehub.$UNIVERSE_DOMAIN$"
48
51
 
@@ -305,12 +308,13 @@ module Google
305
308
  # Customize the options with defaults
306
309
  call_metadata = @config.rpcs.list_memberships.metadata.to_h
307
310
 
308
- # Set x-goog-api-client and x-goog-user-project headers
311
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
309
312
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
310
313
  lib_name: @config.lib_name, lib_version: @config.lib_version,
311
314
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION,
312
315
  transports_version_send: [:rest]
313
316
 
317
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
314
318
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
315
319
 
316
320
  options.apply_defaults timeout: @config.rpcs.list_memberships.timeout,
@@ -384,12 +388,13 @@ module Google
384
388
  # Customize the options with defaults
385
389
  call_metadata = @config.rpcs.get_membership.metadata.to_h
386
390
 
387
- # Set x-goog-api-client and x-goog-user-project headers
391
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
388
392
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
389
393
  lib_name: @config.lib_name, lib_version: @config.lib_version,
390
394
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION,
391
395
  transports_version_send: [:rest]
392
396
 
397
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
393
398
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
394
399
 
395
400
  options.apply_defaults timeout: @config.rpcs.get_membership.timeout,
@@ -500,12 +505,13 @@ module Google
500
505
  # Customize the options with defaults
501
506
  call_metadata = @config.rpcs.create_membership.metadata.to_h
502
507
 
503
- # Set x-goog-api-client and x-goog-user-project headers
508
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
504
509
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
505
510
  lib_name: @config.lib_name, lib_version: @config.lib_version,
506
511
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION,
507
512
  transports_version_send: [:rest]
508
513
 
514
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
509
515
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
510
516
 
511
517
  options.apply_defaults timeout: @config.rpcs.create_membership.timeout,
@@ -609,12 +615,13 @@ module Google
609
615
  # Customize the options with defaults
610
616
  call_metadata = @config.rpcs.delete_membership.metadata.to_h
611
617
 
612
- # Set x-goog-api-client and x-goog-user-project headers
618
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
613
619
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
614
620
  lib_name: @config.lib_name, lib_version: @config.lib_version,
615
621
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION,
616
622
  transports_version_send: [:rest]
617
623
 
624
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
618
625
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
619
626
 
620
627
  options.apply_defaults timeout: @config.rpcs.delete_membership.timeout,
@@ -722,12 +729,13 @@ module Google
722
729
  # Customize the options with defaults
723
730
  call_metadata = @config.rpcs.update_membership.metadata.to_h
724
731
 
725
- # Set x-goog-api-client and x-goog-user-project headers
732
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
726
733
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
727
734
  lib_name: @config.lib_name, lib_version: @config.lib_version,
728
735
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION,
729
736
  transports_version_send: [:rest]
730
737
 
738
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
731
739
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
732
740
 
733
741
  options.apply_defaults timeout: @config.rpcs.update_membership.timeout,
@@ -818,12 +826,13 @@ module Google
818
826
  # Customize the options with defaults
819
827
  call_metadata = @config.rpcs.generate_connect_manifest.metadata.to_h
820
828
 
821
- # Set x-goog-api-client and x-goog-user-project headers
829
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
822
830
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
823
831
  lib_name: @config.lib_name, lib_version: @config.lib_version,
824
832
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION,
825
833
  transports_version_send: [:rest]
826
834
 
835
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
827
836
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
828
837
 
829
838
  options.apply_defaults timeout: @config.rpcs.generate_connect_manifest.timeout,
@@ -905,12 +914,13 @@ module Google
905
914
  # Customize the options with defaults
906
915
  call_metadata = @config.rpcs.validate_exclusivity.metadata.to_h
907
916
 
908
- # Set x-goog-api-client and x-goog-user-project headers
917
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
909
918
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
910
919
  lib_name: @config.lib_name, lib_version: @config.lib_version,
911
920
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION,
912
921
  transports_version_send: [:rest]
913
922
 
923
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
914
924
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
915
925
 
916
926
  options.apply_defaults timeout: @config.rpcs.validate_exclusivity.timeout,
@@ -1003,12 +1013,13 @@ module Google
1003
1013
  # Customize the options with defaults
1004
1014
  call_metadata = @config.rpcs.generate_exclusivity_manifest.metadata.to_h
1005
1015
 
1006
- # Set x-goog-api-client and x-goog-user-project headers
1016
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1007
1017
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1008
1018
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1009
1019
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION,
1010
1020
  transports_version_send: [:rest]
1011
1021
 
1022
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1012
1023
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1013
1024
 
1014
1025
  options.apply_defaults timeout: @config.rpcs.generate_exclusivity_manifest.timeout,
@@ -26,6 +26,9 @@ module Google
26
26
  module Rest
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "gkehub.$UNIVERSE_DOMAIN$"
31
34
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Cloud::GkeHub::V1beta1::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module GkeHub
23
23
  module V1beta1
24
- VERSION = "0.11.0"
24
+ VERSION = "0.11.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-gke_hub-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.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