google-cloud-gke_multi_cloud-v1 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/client.rb +21 -9
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/operations.rb +13 -5
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/rest/client.rb +21 -9
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/rest/operations.rb +11 -4
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/client.rb +35 -16
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/operations.rb +13 -5
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/rest/client.rb +35 -16
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/rest/operations.rb +11 -4
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/client.rb +54 -22
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/operations.rb +13 -5
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/rest/client.rb +54 -22
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/rest/operations.rb +11 -4
- data/lib/google/cloud/gke_multi_cloud/v1/version.rb +1 -1
- data/lib/google/cloud/gkemulticloud/v1/azure_service_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb +2 -2
- data/proto_docs/google/cloud/gkemulticloud/v1/azure_service.rb +13 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cf8865248c41090711911c081fd03bd4e89a9d08ed90c4a088a40e3b734b8ad
|
4
|
+
data.tar.gz: e5dc864bc88950c1fa2abd8727da3272462167cf6e2de3990e8c1011a115d307
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 426a22bafee2aee42d18771f03fe98ed23795d57f60b18c98f3e733b38e46eba36010e0f41a167350335703920629b068ce6e0bc6b155a5ac6470a47b2117aea
|
7
|
+
data.tar.gz: 4b037a12a8516009578bdd9d979d93093513231d2f774c00c70aadba6b9a4533b4a3f9acc3c4b187c5853b60a37f2ebacc38e5a4b0c7db553050d641d5f19a3c
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# infrastructure.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "gkemulticloud.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -299,10 +302,11 @@ module Google
|
|
299
302
|
# Customize the options with defaults
|
300
303
|
metadata = @config.rpcs.create_attached_cluster.metadata.to_h
|
301
304
|
|
302
|
-
# Set x-goog-api-client
|
305
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
303
306
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
304
307
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
305
308
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
309
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
306
310
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
307
311
|
|
308
312
|
header_params = {}
|
@@ -413,10 +417,11 @@ module Google
|
|
413
417
|
# Customize the options with defaults
|
414
418
|
metadata = @config.rpcs.update_attached_cluster.metadata.to_h
|
415
419
|
|
416
|
-
# Set x-goog-api-client
|
420
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
417
421
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
418
422
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
419
423
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
424
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
420
425
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
421
426
|
|
422
427
|
header_params = {}
|
@@ -538,10 +543,11 @@ module Google
|
|
538
543
|
# Customize the options with defaults
|
539
544
|
metadata = @config.rpcs.import_attached_cluster.metadata.to_h
|
540
545
|
|
541
|
-
# Set x-goog-api-client
|
546
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
542
547
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
543
548
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
544
549
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
550
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
545
551
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
546
552
|
|
547
553
|
header_params = {}
|
@@ -633,10 +639,11 @@ module Google
|
|
633
639
|
# Customize the options with defaults
|
634
640
|
metadata = @config.rpcs.get_attached_cluster.metadata.to_h
|
635
641
|
|
636
|
-
# Set x-goog-api-client
|
642
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
637
643
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
638
644
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
639
645
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
646
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
640
647
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
641
648
|
|
642
649
|
header_params = {}
|
@@ -741,10 +748,11 @@ module Google
|
|
741
748
|
# Customize the options with defaults
|
742
749
|
metadata = @config.rpcs.list_attached_clusters.metadata.to_h
|
743
750
|
|
744
|
-
# Set x-goog-api-client
|
751
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
745
752
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
746
753
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
747
754
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
755
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
748
756
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
749
757
|
|
750
758
|
header_params = {}
|
@@ -869,10 +877,11 @@ module Google
|
|
869
877
|
# Customize the options with defaults
|
870
878
|
metadata = @config.rpcs.delete_attached_cluster.metadata.to_h
|
871
879
|
|
872
|
-
# Set x-goog-api-client
|
880
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
873
881
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
874
882
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
875
883
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
884
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
876
885
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
877
886
|
|
878
887
|
header_params = {}
|
@@ -964,10 +973,11 @@ module Google
|
|
964
973
|
# Customize the options with defaults
|
965
974
|
metadata = @config.rpcs.get_attached_server_config.metadata.to_h
|
966
975
|
|
967
|
-
# Set x-goog-api-client
|
976
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
968
977
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
969
978
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
970
979
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
980
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
971
981
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
972
982
|
|
973
983
|
header_params = {}
|
@@ -1080,10 +1090,11 @@ module Google
|
|
1080
1090
|
# Customize the options with defaults
|
1081
1091
|
metadata = @config.rpcs.generate_attached_cluster_install_manifest.metadata.to_h
|
1082
1092
|
|
1083
|
-
# Set x-goog-api-client
|
1093
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1084
1094
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1085
1095
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1086
1096
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
1097
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1087
1098
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1088
1099
|
|
1089
1100
|
header_params = {}
|
@@ -1181,10 +1192,11 @@ module Google
|
|
1181
1192
|
# Customize the options with defaults
|
1182
1193
|
metadata = @config.rpcs.generate_attached_cluster_agent_token.metadata.to_h
|
1183
1194
|
|
1184
|
-
# Set x-goog-api-client
|
1195
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1185
1196
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1186
1197
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1187
1198
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
1199
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1188
1200
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1189
1201
|
|
1190
1202
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module AttachedClusters
|
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 = "gkemulticloud.$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
|
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::GkeMultiCloud::V1::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
|
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::GkeMultiCloud::V1::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
|
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::GkeMultiCloud::V1::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
|
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::GkeMultiCloud::V1::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
|
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::GkeMultiCloud::V1::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,
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# infrastructure.
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "gkemulticloud.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -291,12 +294,13 @@ module Google
|
|
291
294
|
# Customize the options with defaults
|
292
295
|
call_metadata = @config.rpcs.create_attached_cluster.metadata.to_h
|
293
296
|
|
294
|
-
# Set x-goog-api-client
|
297
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
295
298
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
296
299
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
297
300
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
|
298
301
|
transports_version_send: [:rest]
|
299
302
|
|
303
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
300
304
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
301
305
|
|
302
306
|
options.apply_defaults timeout: @config.rpcs.create_attached_cluster.timeout,
|
@@ -398,12 +402,13 @@ module Google
|
|
398
402
|
# Customize the options with defaults
|
399
403
|
call_metadata = @config.rpcs.update_attached_cluster.metadata.to_h
|
400
404
|
|
401
|
-
# Set x-goog-api-client
|
405
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
402
406
|
call_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::GkeMultiCloud::V1::VERSION,
|
405
409
|
transports_version_send: [:rest]
|
406
410
|
|
411
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
407
412
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
408
413
|
|
409
414
|
options.apply_defaults timeout: @config.rpcs.update_attached_cluster.timeout,
|
@@ -516,12 +521,13 @@ module Google
|
|
516
521
|
# Customize the options with defaults
|
517
522
|
call_metadata = @config.rpcs.import_attached_cluster.metadata.to_h
|
518
523
|
|
519
|
-
# Set x-goog-api-client
|
524
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
520
525
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
521
526
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
522
527
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
|
523
528
|
transports_version_send: [:rest]
|
524
529
|
|
530
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
525
531
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
526
532
|
|
527
533
|
options.apply_defaults timeout: @config.rpcs.import_attached_cluster.timeout,
|
@@ -604,12 +610,13 @@ module Google
|
|
604
610
|
# Customize the options with defaults
|
605
611
|
call_metadata = @config.rpcs.get_attached_cluster.metadata.to_h
|
606
612
|
|
607
|
-
# Set x-goog-api-client
|
613
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
608
614
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
609
615
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
610
616
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
|
611
617
|
transports_version_send: [:rest]
|
612
618
|
|
619
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
613
620
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
614
621
|
|
615
622
|
options.apply_defaults timeout: @config.rpcs.get_attached_cluster.timeout,
|
@@ -705,12 +712,13 @@ module Google
|
|
705
712
|
# Customize the options with defaults
|
706
713
|
call_metadata = @config.rpcs.list_attached_clusters.metadata.to_h
|
707
714
|
|
708
|
-
# Set x-goog-api-client
|
715
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
709
716
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
710
717
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
711
718
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
|
712
719
|
transports_version_send: [:rest]
|
713
720
|
|
721
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
714
722
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
715
723
|
|
716
724
|
options.apply_defaults timeout: @config.rpcs.list_attached_clusters.timeout,
|
@@ -826,12 +834,13 @@ module Google
|
|
826
834
|
# Customize the options with defaults
|
827
835
|
call_metadata = @config.rpcs.delete_attached_cluster.metadata.to_h
|
828
836
|
|
829
|
-
# Set x-goog-api-client
|
837
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
830
838
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
831
839
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
832
840
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
|
833
841
|
transports_version_send: [:rest]
|
834
842
|
|
843
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
835
844
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
836
845
|
|
837
846
|
options.apply_defaults timeout: @config.rpcs.delete_attached_cluster.timeout,
|
@@ -914,12 +923,13 @@ module Google
|
|
914
923
|
# Customize the options with defaults
|
915
924
|
call_metadata = @config.rpcs.get_attached_server_config.metadata.to_h
|
916
925
|
|
917
|
-
# Set x-goog-api-client
|
926
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
918
927
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
919
928
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
920
929
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
|
921
930
|
transports_version_send: [:rest]
|
922
931
|
|
932
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
923
933
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
924
934
|
|
925
935
|
options.apply_defaults timeout: @config.rpcs.get_attached_server_config.timeout,
|
@@ -1023,12 +1033,13 @@ module Google
|
|
1023
1033
|
# Customize the options with defaults
|
1024
1034
|
call_metadata = @config.rpcs.generate_attached_cluster_install_manifest.metadata.to_h
|
1025
1035
|
|
1026
|
-
# Set x-goog-api-client
|
1036
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1027
1037
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1028
1038
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1029
1039
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
|
1030
1040
|
transports_version_send: [:rest]
|
1031
1041
|
|
1042
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1032
1043
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1033
1044
|
|
1034
1045
|
options.apply_defaults timeout: @config.rpcs.generate_attached_cluster_install_manifest.timeout,
|
@@ -1117,12 +1128,13 @@ module Google
|
|
1117
1128
|
# Customize the options with defaults
|
1118
1129
|
call_metadata = @config.rpcs.generate_attached_cluster_agent_token.metadata.to_h
|
1119
1130
|
|
1120
|
-
# Set x-goog-api-client
|
1131
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1121
1132
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1122
1133
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1123
1134
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
|
1124
1135
|
transports_version_send: [:rest]
|
1125
1136
|
|
1137
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1126
1138
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1127
1139
|
|
1128
1140
|
options.apply_defaults timeout: @config.rpcs.generate_attached_cluster_agent_token.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 = "gkemulticloud.$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
|
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::GkeMultiCloud::V1::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
|
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::GkeMultiCloud::V1::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
|
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::GkeMultiCloud::V1::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
|
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::GkeMultiCloud::V1::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,
|
@@ -31,6 +31,9 @@ module Google
|
|
31
31
|
# to create and manage Anthos clusters that run on AWS infrastructure.
|
32
32
|
#
|
33
33
|
class Client
|
34
|
+
# @private
|
35
|
+
API_VERSION = ""
|
36
|
+
|
34
37
|
# @private
|
35
38
|
DEFAULT_ENDPOINT_TEMPLATE = "gkemulticloud.$UNIVERSE_DOMAIN$"
|
36
39
|
|
@@ -323,10 +326,11 @@ module Google
|
|
323
326
|
# Customize the options with defaults
|
324
327
|
metadata = @config.rpcs.create_aws_cluster.metadata.to_h
|
325
328
|
|
326
|
-
# Set x-goog-api-client
|
329
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
327
330
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
328
331
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
329
332
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
333
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
330
334
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
331
335
|
|
332
336
|
header_params = {}
|
@@ -451,10 +455,11 @@ module Google
|
|
451
455
|
# Customize the options with defaults
|
452
456
|
metadata = @config.rpcs.update_aws_cluster.metadata.to_h
|
453
457
|
|
454
|
-
# Set x-goog-api-client
|
458
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
455
459
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
456
460
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
457
461
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
462
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
458
463
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
459
464
|
|
460
465
|
header_params = {}
|
@@ -546,10 +551,11 @@ module Google
|
|
546
551
|
# Customize the options with defaults
|
547
552
|
metadata = @config.rpcs.get_aws_cluster.metadata.to_h
|
548
553
|
|
549
|
-
# Set x-goog-api-client
|
554
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
550
555
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
551
556
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
552
557
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
558
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
553
559
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
554
560
|
|
555
561
|
header_params = {}
|
@@ -654,10 +660,11 @@ module Google
|
|
654
660
|
# Customize the options with defaults
|
655
661
|
metadata = @config.rpcs.list_aws_clusters.metadata.to_h
|
656
662
|
|
657
|
-
# Set x-goog-api-client
|
663
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
658
664
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
659
665
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
660
666
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
667
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
661
668
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
662
669
|
|
663
670
|
header_params = {}
|
@@ -784,10 +791,11 @@ module Google
|
|
784
791
|
# Customize the options with defaults
|
785
792
|
metadata = @config.rpcs.delete_aws_cluster.metadata.to_h
|
786
793
|
|
787
|
-
# Set x-goog-api-client
|
794
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
788
795
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
789
796
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
790
797
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
798
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
791
799
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
792
800
|
|
793
801
|
header_params = {}
|
@@ -888,10 +896,11 @@ module Google
|
|
888
896
|
# Customize the options with defaults
|
889
897
|
metadata = @config.rpcs.generate_aws_cluster_agent_token.metadata.to_h
|
890
898
|
|
891
|
-
# Set x-goog-api-client
|
899
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
892
900
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
893
901
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
894
902
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
903
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
895
904
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
896
905
|
|
897
906
|
header_params = {}
|
@@ -982,10 +991,11 @@ module Google
|
|
982
991
|
# Customize the options with defaults
|
983
992
|
metadata = @config.rpcs.generate_aws_access_token.metadata.to_h
|
984
993
|
|
985
|
-
# Set x-goog-api-client
|
994
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
986
995
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
987
996
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
988
997
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
998
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
989
999
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
990
1000
|
|
991
1001
|
header_params = {}
|
@@ -1102,10 +1112,11 @@ module Google
|
|
1102
1112
|
# Customize the options with defaults
|
1103
1113
|
metadata = @config.rpcs.create_aws_node_pool.metadata.to_h
|
1104
1114
|
|
1105
|
-
# Set x-goog-api-client
|
1115
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1106
1116
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1107
1117
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1108
1118
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
1119
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1109
1120
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1110
1121
|
|
1111
1122
|
header_params = {}
|
@@ -1233,10 +1244,11 @@ module Google
|
|
1233
1244
|
# Customize the options with defaults
|
1234
1245
|
metadata = @config.rpcs.update_aws_node_pool.metadata.to_h
|
1235
1246
|
|
1236
|
-
# Set x-goog-api-client
|
1247
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1237
1248
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1238
1249
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1239
1250
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
1251
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1240
1252
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1241
1253
|
|
1242
1254
|
header_params = {}
|
@@ -1342,10 +1354,11 @@ module Google
|
|
1342
1354
|
# Customize the options with defaults
|
1343
1355
|
metadata = @config.rpcs.rollback_aws_node_pool_update.metadata.to_h
|
1344
1356
|
|
1345
|
-
# Set x-goog-api-client
|
1357
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1346
1358
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1347
1359
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1348
1360
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
1361
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1349
1362
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1350
1363
|
|
1351
1364
|
header_params = {}
|
@@ -1437,10 +1450,11 @@ module Google
|
|
1437
1450
|
# Customize the options with defaults
|
1438
1451
|
metadata = @config.rpcs.get_aws_node_pool.metadata.to_h
|
1439
1452
|
|
1440
|
-
# Set x-goog-api-client
|
1453
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1441
1454
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1442
1455
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1443
1456
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
1457
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1444
1458
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1445
1459
|
|
1446
1460
|
header_params = {}
|
@@ -1547,10 +1561,11 @@ module Google
|
|
1547
1561
|
# Customize the options with defaults
|
1548
1562
|
metadata = @config.rpcs.list_aws_node_pools.metadata.to_h
|
1549
1563
|
|
1550
|
-
# Set x-goog-api-client
|
1564
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1551
1565
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1552
1566
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1553
1567
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
1568
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1554
1569
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1555
1570
|
|
1556
1571
|
header_params = {}
|
@@ -1675,10 +1690,11 @@ module Google
|
|
1675
1690
|
# Customize the options with defaults
|
1676
1691
|
metadata = @config.rpcs.delete_aws_node_pool.metadata.to_h
|
1677
1692
|
|
1678
|
-
# Set x-goog-api-client
|
1693
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1679
1694
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1680
1695
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1681
1696
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
1697
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1682
1698
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1683
1699
|
|
1684
1700
|
header_params = {}
|
@@ -1767,10 +1783,11 @@ module Google
|
|
1767
1783
|
# Customize the options with defaults
|
1768
1784
|
metadata = @config.rpcs.get_aws_open_id_config.metadata.to_h
|
1769
1785
|
|
1770
|
-
# Set x-goog-api-client
|
1786
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1771
1787
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1772
1788
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1773
1789
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
1790
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1774
1791
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1775
1792
|
|
1776
1793
|
header_params = {}
|
@@ -1855,10 +1872,11 @@ module Google
|
|
1855
1872
|
# Customize the options with defaults
|
1856
1873
|
metadata = @config.rpcs.get_aws_json_web_keys.metadata.to_h
|
1857
1874
|
|
1858
|
-
# Set x-goog-api-client
|
1875
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1859
1876
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1860
1877
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1861
1878
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
1879
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1862
1880
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1863
1881
|
|
1864
1882
|
header_params = {}
|
@@ -1949,10 +1967,11 @@ module Google
|
|
1949
1967
|
# Customize the options with defaults
|
1950
1968
|
metadata = @config.rpcs.get_aws_server_config.metadata.to_h
|
1951
1969
|
|
1952
|
-
# Set x-goog-api-client
|
1970
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1953
1971
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1954
1972
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1955
1973
|
gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION
|
1974
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1956
1975
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1957
1976
|
|
1958
1977
|
header_params = {}
|