google-cloud-gke_multi_cloud-v1 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +7 -7
- data/README.md +9 -9
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/client.rb +1289 -0
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/credentials.rb +47 -0
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/operations.rb +770 -0
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/paths.rb +86 -0
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters.rb +52 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/client.rb +93 -51
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/operations.rb +3 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters.rb +1 -1
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/client.rb +126 -75
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/operations.rb +3 -0
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters.rb +1 -1
- data/lib/google/cloud/gke_multi_cloud/v1/version.rb +1 -1
- data/lib/google/cloud/gke_multi_cloud/v1.rb +4 -3
- data/lib/google/cloud/gkemulticloud/v1/attached_resources_pb.rb +82 -0
- data/lib/google/cloud/gkemulticloud/v1/attached_service_pb.rb +84 -0
- data/lib/google/cloud/gkemulticloud/v1/attached_service_services_pb.rb +85 -0
- data/lib/google/cloud/gkemulticloud/v1/aws_resources_pb.rb +17 -0
- data/lib/google/cloud/gkemulticloud/v1/aws_service_services_pb.rb +19 -11
- data/lib/google/cloud/gkemulticloud/v1/azure_resources_pb.rb +11 -0
- data/lib/google/cloud/gkemulticloud/v1/azure_service_services_pb.rb +28 -17
- data/lib/google/cloud/gkemulticloud/v1/common_resources_pb.rb +10 -0
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/attached_resources.rb +239 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/attached_service.rb +294 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb +86 -29
- data/proto_docs/google/cloud/gkemulticloud/v1/aws_service.rb +79 -44
- data/proto_docs/google/cloud/gkemulticloud/v1/azure_resources.rb +75 -37
- data/proto_docs/google/cloud/gkemulticloud/v1/azure_service.rb +105 -64
- data/proto_docs/google/cloud/gkemulticloud/v1/common_resources.rb +36 -3
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +24 -12
@@ -215,8 +215,8 @@ module Google
|
|
215
215
|
# Service calls
|
216
216
|
|
217
217
|
##
|
218
|
-
# Creates a new {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient}
|
219
|
-
# and region.
|
218
|
+
# Creates a new {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient}
|
219
|
+
# resource on a given Google Cloud project and region.
|
220
220
|
#
|
221
221
|
# `AzureClient` resources hold client authentication
|
222
222
|
# information needed by the Anthos Multicloud API to manage Azure resources
|
@@ -242,24 +242,27 @@ module Google
|
|
242
242
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
243
243
|
#
|
244
244
|
# @param parent [::String]
|
245
|
-
# Required. The parent location where this
|
246
|
-
# will be
|
245
|
+
# Required. The parent location where this
|
246
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource will be
|
247
|
+
# created.
|
247
248
|
#
|
248
249
|
# Location names are formatted as `projects/<project-id>/locations/<region>`.
|
249
250
|
#
|
250
251
|
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
251
252
|
# for more details on Google Cloud resource names.
|
252
253
|
# @param azure_client [::Google::Cloud::GkeMultiCloud::V1::AzureClient, ::Hash]
|
253
|
-
# Required. The specification of the
|
254
|
+
# Required. The specification of the
|
255
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} to create.
|
254
256
|
# @param azure_client_id [::String]
|
255
|
-
# Required. A client provided ID the resource. Must be unique within the
|
256
|
-
# resource.
|
257
|
+
# Required. A client provided ID the resource. Must be unique within the
|
258
|
+
# parent resource.
|
257
259
|
#
|
258
|
-
# The provided ID will be part of the
|
259
|
-
# resource name
|
260
|
+
# The provided ID will be part of the
|
261
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource name
|
262
|
+
# formatted as
|
260
263
|
# `projects/<project-id>/locations/<region>/azureClients/<client-id>`.
|
261
264
|
#
|
262
|
-
# Valid characters are `/[a-z][0-9]-/`. Cannot be longer than
|
265
|
+
# Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
|
263
266
|
# @param validate_only [::Boolean]
|
264
267
|
# If set, only validate the request, but do not actually create the client.
|
265
268
|
#
|
@@ -336,7 +339,8 @@ module Google
|
|
336
339
|
end
|
337
340
|
|
338
341
|
##
|
339
|
-
# Describes a specific
|
342
|
+
# Describes a specific
|
343
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource.
|
340
344
|
#
|
341
345
|
# @overload get_azure_client(request, options = nil)
|
342
346
|
# Pass arguments to `get_azure_client` via a request object, either of type
|
@@ -354,9 +358,12 @@ module Google
|
|
354
358
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
355
359
|
#
|
356
360
|
# @param name [::String]
|
357
|
-
# Required. The name of the
|
361
|
+
# Required. The name of the
|
362
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource to
|
363
|
+
# describe.
|
358
364
|
#
|
359
|
-
# {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} names are
|
365
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} names are
|
366
|
+
# formatted as
|
360
367
|
# `projects/<project-id>/locations/<region>/azureClients/<client-id>`.
|
361
368
|
#
|
362
369
|
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
@@ -427,8 +434,8 @@ module Google
|
|
427
434
|
end
|
428
435
|
|
429
436
|
##
|
430
|
-
# Lists all {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient}
|
431
|
-
# region.
|
437
|
+
# Lists all {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient}
|
438
|
+
# resources on a given Google Cloud project and region.
|
432
439
|
#
|
433
440
|
# @overload list_azure_clients(request, options = nil)
|
434
441
|
# Pass arguments to `list_azure_clients` via a request object, either of type
|
@@ -459,11 +466,12 @@ module Google
|
|
459
466
|
# If not specified, a default value of 50 will be used by the service.
|
460
467
|
# Regardless of the pageSize value, the response can include a partial list
|
461
468
|
# and a caller should only rely on response's
|
462
|
-
# {::Google::Cloud::GkeMultiCloud::V1::ListAzureClientsResponse#next_page_token nextPageToken}
|
463
|
-
# there are more instances left to be queried.
|
469
|
+
# {::Google::Cloud::GkeMultiCloud::V1::ListAzureClientsResponse#next_page_token nextPageToken}
|
470
|
+
# to determine if there are more instances left to be queried.
|
464
471
|
# @param page_token [::String]
|
465
472
|
# The `nextPageToken` value returned from a previous
|
466
|
-
# {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_clients azureClients.list}
|
473
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_clients azureClients.list}
|
474
|
+
# request, if any.
|
467
475
|
#
|
468
476
|
# @yield [response, operation] Access the result along with the RPC operation
|
469
477
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::GkeMultiCloud::V1::AzureClient>]
|
@@ -537,7 +545,8 @@ module Google
|
|
537
545
|
end
|
538
546
|
|
539
547
|
##
|
540
|
-
# Deletes a specific {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient}
|
548
|
+
# Deletes a specific {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient}
|
549
|
+
# resource.
|
541
550
|
#
|
542
551
|
# If the client is used by one or more clusters, deletion will
|
543
552
|
# fail and a `FAILED_PRECONDITION` error will be returned.
|
@@ -562,17 +571,20 @@ module Google
|
|
562
571
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
563
572
|
#
|
564
573
|
# @param name [::String]
|
565
|
-
# Required. The resource name the
|
574
|
+
# Required. The resource name the
|
575
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} to delete.
|
566
576
|
#
|
567
|
-
# {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} names are
|
577
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} names are
|
578
|
+
# formatted as
|
568
579
|
# `projects/<project-id>/locations/<region>/azureClients/<client-id>`.
|
569
580
|
#
|
570
581
|
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
571
582
|
# for more details on Google Cloud resource names.
|
572
583
|
# @param allow_missing [::Boolean]
|
573
|
-
# If set to true, and the
|
574
|
-
#
|
575
|
-
#
|
584
|
+
# If set to true, and the
|
585
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource is not
|
586
|
+
# found, the request will succeed but no action will be taken on the server
|
587
|
+
# and a completed {::Google::Longrunning::Operation Operation} will be returned.
|
576
588
|
#
|
577
589
|
# Useful for idempotent deletion.
|
578
590
|
# @param validate_only [::Boolean]
|
@@ -651,7 +663,8 @@ module Google
|
|
651
663
|
end
|
652
664
|
|
653
665
|
##
|
654
|
-
# Creates a new {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
|
666
|
+
# Creates a new {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
|
667
|
+
# resource on a given GCP project and region.
|
655
668
|
#
|
656
669
|
# If successful, the response contains a newly created
|
657
670
|
# {::Google::Longrunning::Operation Operation} resource that can be
|
@@ -673,24 +686,27 @@ module Google
|
|
673
686
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
674
687
|
#
|
675
688
|
# @param parent [::String]
|
676
|
-
# Required. The parent location where this
|
677
|
-
# will be
|
689
|
+
# Required. The parent location where this
|
690
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource will be
|
691
|
+
# created.
|
678
692
|
#
|
679
693
|
# Location names are formatted as `projects/<project-id>/locations/<region>`.
|
680
694
|
#
|
681
695
|
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
682
696
|
# for more details on Google Cloud resource names.
|
683
697
|
# @param azure_cluster [::Google::Cloud::GkeMultiCloud::V1::AzureCluster, ::Hash]
|
684
|
-
# Required. The specification of the
|
698
|
+
# Required. The specification of the
|
699
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} to create.
|
685
700
|
# @param azure_cluster_id [::String]
|
686
|
-
# Required. A client provided ID the resource. Must be unique within the
|
687
|
-
# resource.
|
701
|
+
# Required. A client provided ID the resource. Must be unique within the
|
702
|
+
# parent resource.
|
688
703
|
#
|
689
|
-
# The provided ID will be part of the
|
690
|
-
# resource name
|
704
|
+
# The provided ID will be part of the
|
705
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource name
|
706
|
+
# formatted as
|
691
707
|
# `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
|
692
708
|
#
|
693
|
-
# Valid characters are `/[a-z][0-9]-/`. Cannot be longer than
|
709
|
+
# Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
|
694
710
|
# @param validate_only [::Boolean]
|
695
711
|
# If set, only validate the request, but do not actually create the cluster.
|
696
712
|
#
|
@@ -785,7 +801,8 @@ module Google
|
|
785
801
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
786
802
|
#
|
787
803
|
# @param azure_cluster [::Google::Cloud::GkeMultiCloud::V1::AzureCluster, ::Hash]
|
788
|
-
# Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
|
804
|
+
# Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
|
805
|
+
# resource to update.
|
789
806
|
# @param validate_only [::Boolean]
|
790
807
|
# If set, only validate the request, but do not actually update the cluster.
|
791
808
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
@@ -794,13 +811,18 @@ module Google
|
|
794
811
|
# fields from {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}:
|
795
812
|
#
|
796
813
|
# * `description`.
|
797
|
-
# * `annotations`.
|
798
814
|
# * `azureClient`.
|
799
815
|
# * `control_plane.version`.
|
800
816
|
# * `control_plane.vm_size`.
|
817
|
+
# * `annotations`.
|
801
818
|
# * `authorization.admin_users`.
|
802
819
|
# * `control_plane.root_volume.size_gib`.
|
803
|
-
# * `
|
820
|
+
# * `control_plane.proxy_config`.
|
821
|
+
# * `control_plane.proxy_config.resource_group_id`.
|
822
|
+
# * `control_plane.proxy_config.secret_id`.
|
823
|
+
# * `control_plane.ssh_config.authorized_key`.
|
824
|
+
# * `logging_config.component_config.enable_components`
|
825
|
+
# * `monitoring_config.managed_prometheus_config.enabled`.
|
804
826
|
#
|
805
827
|
# @yield [response, operation] Access the result along with the RPC operation
|
806
828
|
# @yieldparam response [::Gapic::Operation]
|
@@ -875,7 +897,8 @@ module Google
|
|
875
897
|
end
|
876
898
|
|
877
899
|
##
|
878
|
-
# Describes a specific
|
900
|
+
# Describes a specific
|
901
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource.
|
879
902
|
#
|
880
903
|
# @overload get_azure_cluster(request, options = nil)
|
881
904
|
# Pass arguments to `get_azure_cluster` via a request object, either of type
|
@@ -893,7 +916,9 @@ module Google
|
|
893
916
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
894
917
|
#
|
895
918
|
# @param name [::String]
|
896
|
-
# Required. The name of the
|
919
|
+
# Required. The name of the
|
920
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource to
|
921
|
+
# describe.
|
897
922
|
#
|
898
923
|
# `AzureCluster` names are formatted as
|
899
924
|
# `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
|
@@ -966,8 +991,8 @@ module Google
|
|
966
991
|
end
|
967
992
|
|
968
993
|
##
|
969
|
-
# Lists all {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
|
970
|
-
# region.
|
994
|
+
# Lists all {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
|
995
|
+
# resources on a given Google Cloud project and region.
|
971
996
|
#
|
972
997
|
# @overload list_azure_clusters(request, options = nil)
|
973
998
|
# Pass arguments to `list_azure_clusters` via a request object, either of type
|
@@ -998,11 +1023,12 @@ module Google
|
|
998
1023
|
# If not specified, a default value of 50 will be used by the service.
|
999
1024
|
# Regardless of the pageSize value, the response can include a partial list
|
1000
1025
|
# and a caller should only rely on response's
|
1001
|
-
# {::Google::Cloud::GkeMultiCloud::V1::ListAzureClustersResponse#next_page_token nextPageToken}
|
1002
|
-
# there are more instances left to be queried.
|
1026
|
+
# {::Google::Cloud::GkeMultiCloud::V1::ListAzureClustersResponse#next_page_token nextPageToken}
|
1027
|
+
# to determine if there are more instances left to be queried.
|
1003
1028
|
# @param page_token [::String]
|
1004
1029
|
# The `nextPageToken` value returned from a previous
|
1005
|
-
# {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_clusters azureClusters.list}
|
1030
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_clusters azureClusters.list}
|
1031
|
+
# request, if any.
|
1006
1032
|
#
|
1007
1033
|
# @yield [response, operation] Access the result along with the RPC operation
|
1008
1034
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::GkeMultiCloud::V1::AzureCluster>]
|
@@ -1076,10 +1102,11 @@ module Google
|
|
1076
1102
|
end
|
1077
1103
|
|
1078
1104
|
##
|
1079
|
-
# Deletes a specific
|
1105
|
+
# Deletes a specific
|
1106
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource.
|
1080
1107
|
#
|
1081
|
-
# Fails if the cluster has one or more associated
|
1082
|
-
# resources.
|
1108
|
+
# Fails if the cluster has one or more associated
|
1109
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resources.
|
1083
1110
|
#
|
1084
1111
|
# If successful, the response contains a newly created
|
1085
1112
|
# {::Google::Longrunning::Operation Operation} resource that can be
|
@@ -1101,7 +1128,8 @@ module Google
|
|
1101
1128
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1102
1129
|
#
|
1103
1130
|
# @param name [::String]
|
1104
|
-
# Required. The resource name the
|
1131
|
+
# Required. The resource name the
|
1132
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} to delete.
|
1105
1133
|
#
|
1106
1134
|
# `AzureCluster` names are formatted as
|
1107
1135
|
# `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
|
@@ -1109,15 +1137,17 @@ module Google
|
|
1109
1137
|
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
1110
1138
|
# for more details on GCP resource names.
|
1111
1139
|
# @param allow_missing [::Boolean]
|
1112
|
-
# If set to true, and the
|
1113
|
-
#
|
1114
|
-
#
|
1140
|
+
# If set to true, and the
|
1141
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource is not
|
1142
|
+
# found, the request will succeed but no action will be taken on the server
|
1143
|
+
# and a completed {::Google::Longrunning::Operation Operation} will be returned.
|
1115
1144
|
#
|
1116
1145
|
# Useful for idempotent deletion.
|
1117
1146
|
# @param validate_only [::Boolean]
|
1118
1147
|
# If set, only validate the request, but do not actually delete the resource.
|
1119
1148
|
# @param etag [::String]
|
1120
|
-
# The current etag of the
|
1149
|
+
# The current etag of the
|
1150
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}.
|
1121
1151
|
#
|
1122
1152
|
# Allows clients to perform deletions through optimistic concurrency control.
|
1123
1153
|
#
|
@@ -1216,7 +1246,9 @@ module Google
|
|
1216
1246
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1217
1247
|
#
|
1218
1248
|
# @param azure_cluster [::String]
|
1219
|
-
# Required. The name of the
|
1249
|
+
# Required. The name of the
|
1250
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource to
|
1251
|
+
# authenticate to.
|
1220
1252
|
#
|
1221
1253
|
# `AzureCluster` names are formatted as
|
1222
1254
|
# `projects/<project-id>/locations/<region>/AzureClusters/<cluster-id>`.
|
@@ -1289,7 +1321,9 @@ module Google
|
|
1289
1321
|
end
|
1290
1322
|
|
1291
1323
|
##
|
1292
|
-
# Creates a new {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool},
|
1324
|
+
# Creates a new {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool},
|
1325
|
+
# attached to a given
|
1326
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}.
|
1293
1327
|
#
|
1294
1328
|
# If successful, the response contains a newly created
|
1295
1329
|
# {::Google::Longrunning::Operation Operation} resource that can be
|
@@ -1311,23 +1345,26 @@ module Google
|
|
1311
1345
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1312
1346
|
#
|
1313
1347
|
# @param parent [::String]
|
1314
|
-
# Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
|
1348
|
+
# Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
|
1349
|
+
# resource where this node pool will be created.
|
1315
1350
|
#
|
1316
1351
|
# Location names are formatted as `projects/<project-id>/locations/<region>`.
|
1317
1352
|
#
|
1318
1353
|
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
1319
1354
|
# for more details on Google Cloud resource names.
|
1320
1355
|
# @param azure_node_pool [::Google::Cloud::GkeMultiCloud::V1::AzureNodePool, ::Hash]
|
1321
|
-
# Required. The specification of the
|
1356
|
+
# Required. The specification of the
|
1357
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} to create.
|
1322
1358
|
# @param azure_node_pool_id [::String]
|
1323
|
-
# Required. A client provided ID the resource. Must be unique within the
|
1324
|
-
# resource.
|
1359
|
+
# Required. A client provided ID the resource. Must be unique within the
|
1360
|
+
# parent resource.
|
1325
1361
|
#
|
1326
|
-
# The provided ID will be part of the
|
1327
|
-
# resource name
|
1362
|
+
# The provided ID will be part of the
|
1363
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource name
|
1364
|
+
# formatted as
|
1328
1365
|
# `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
|
1329
1366
|
#
|
1330
|
-
# Valid characters are `/[a-z][0-9]-/`. Cannot be longer than
|
1367
|
+
# Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
|
1331
1368
|
# @param validate_only [::Boolean]
|
1332
1369
|
# If set, only validate the request, but do not actually create the node
|
1333
1370
|
# pool.
|
@@ -1423,7 +1460,8 @@ module Google
|
|
1423
1460
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1424
1461
|
#
|
1425
1462
|
# @param azure_node_pool [::Google::Cloud::GkeMultiCloud::V1::AzureNodePool, ::Hash]
|
1426
|
-
# Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}
|
1463
|
+
# Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}
|
1464
|
+
# resource to update.
|
1427
1465
|
# @param validate_only [::Boolean]
|
1428
1466
|
# If set, only validate the request, but don't actually update the node pool.
|
1429
1467
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
@@ -1435,7 +1473,7 @@ module Google
|
|
1435
1473
|
# * `version`.
|
1436
1474
|
# * `autoscaling.min_node_count`.
|
1437
1475
|
# * `autoscaling.max_node_count`.
|
1438
|
-
# * `config.
|
1476
|
+
# * `config.ssh_config.authorized_key`.
|
1439
1477
|
#
|
1440
1478
|
# @yield [response, operation] Access the result along with the RPC operation
|
1441
1479
|
# @yieldparam response [::Gapic::Operation]
|
@@ -1510,7 +1548,8 @@ module Google
|
|
1510
1548
|
end
|
1511
1549
|
|
1512
1550
|
##
|
1513
|
-
# Describes a specific
|
1551
|
+
# Describes a specific
|
1552
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource.
|
1514
1553
|
#
|
1515
1554
|
# @overload get_azure_node_pool(request, options = nil)
|
1516
1555
|
# Pass arguments to `get_azure_node_pool` via a request object, either of type
|
@@ -1528,7 +1567,9 @@ module Google
|
|
1528
1567
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1529
1568
|
#
|
1530
1569
|
# @param name [::String]
|
1531
|
-
# Required. The name of the
|
1570
|
+
# Required. The name of the
|
1571
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource to
|
1572
|
+
# describe.
|
1532
1573
|
#
|
1533
1574
|
# `AzureNodePool` names are formatted as
|
1534
1575
|
# `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
|
@@ -1601,7 +1642,9 @@ module Google
|
|
1601
1642
|
end
|
1602
1643
|
|
1603
1644
|
##
|
1604
|
-
# Lists all {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}
|
1645
|
+
# Lists all {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}
|
1646
|
+
# resources on a given
|
1647
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}.
|
1605
1648
|
#
|
1606
1649
|
# @overload list_azure_node_pools(request, options = nil)
|
1607
1650
|
# Pass arguments to `list_azure_node_pools` via a request object, either of type
|
@@ -1633,11 +1676,12 @@ module Google
|
|
1633
1676
|
# If not specified, a default value of 50 will be used by the service.
|
1634
1677
|
# Regardless of the pageSize value, the response can include a partial list
|
1635
1678
|
# and a caller should only rely on response's
|
1636
|
-
# {::Google::Cloud::GkeMultiCloud::V1::ListAzureNodePoolsResponse#next_page_token nextPageToken}
|
1637
|
-
# there are more instances left to be queried.
|
1679
|
+
# {::Google::Cloud::GkeMultiCloud::V1::ListAzureNodePoolsResponse#next_page_token nextPageToken}
|
1680
|
+
# to determine if there are more instances left to be queried.
|
1638
1681
|
# @param page_token [::String]
|
1639
1682
|
# The `nextPageToken` value returned from a previous
|
1640
|
-
# {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_node_pools azureNodePools.list}
|
1683
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_node_pools azureNodePools.list}
|
1684
|
+
# request, if any.
|
1641
1685
|
#
|
1642
1686
|
# @yield [response, operation] Access the result along with the RPC operation
|
1643
1687
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::GkeMultiCloud::V1::AzureNodePool>]
|
@@ -1711,7 +1755,8 @@ module Google
|
|
1711
1755
|
end
|
1712
1756
|
|
1713
1757
|
##
|
1714
|
-
# Deletes a specific
|
1758
|
+
# Deletes a specific
|
1759
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource.
|
1715
1760
|
#
|
1716
1761
|
# If successful, the response contains a newly created
|
1717
1762
|
# {::Google::Longrunning::Operation Operation} resource that can be
|
@@ -1733,7 +1778,8 @@ module Google
|
|
1733
1778
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1734
1779
|
#
|
1735
1780
|
# @param name [::String]
|
1736
|
-
# Required. The resource name the
|
1781
|
+
# Required. The resource name the
|
1782
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} to delete.
|
1737
1783
|
#
|
1738
1784
|
# `AzureNodePool` names are formatted as
|
1739
1785
|
# `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
|
@@ -1744,13 +1790,16 @@ module Google
|
|
1744
1790
|
# If set, only validate the request, but do not actually delete the node
|
1745
1791
|
# pool.
|
1746
1792
|
# @param allow_missing [::Boolean]
|
1747
|
-
# If set to true, and the
|
1748
|
-
#
|
1749
|
-
#
|
1793
|
+
# If set to true, and the
|
1794
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource is
|
1795
|
+
# not found, the request will succeed but no action will be taken on the
|
1796
|
+
# server and a completed {::Google::Longrunning::Operation Operation} will be
|
1797
|
+
# returned.
|
1750
1798
|
#
|
1751
1799
|
# Useful for idempotent deletion.
|
1752
1800
|
# @param etag [::String]
|
1753
|
-
# The current ETag of the
|
1801
|
+
# The current ETag of the
|
1802
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}.
|
1754
1803
|
#
|
1755
1804
|
# Allows clients to perform deletions through optimistic concurrency control.
|
1756
1805
|
#
|
@@ -1849,7 +1898,9 @@ module Google
|
|
1849
1898
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1850
1899
|
#
|
1851
1900
|
# @param name [::String]
|
1852
|
-
# Required. The name of the
|
1901
|
+
# Required. The name of the
|
1902
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureServerConfig AzureServerConfig}
|
1903
|
+
# resource to describe.
|
1853
1904
|
#
|
1854
1905
|
# `AzureServerConfig` names are formatted as
|
1855
1906
|
# `projects/<project-id>/locations/<region>/azureServerConfig`.
|
@@ -35,7 +35,7 @@ module Google
|
|
35
35
|
# The AzureClusters API provides a single centrally managed service
|
36
36
|
# to create and manage Anthos clusters that run on Azure infrastructure.
|
37
37
|
#
|
38
|
-
#
|
38
|
+
# @example Load this service and instantiate a gRPC client
|
39
39
|
#
|
40
40
|
# require "google/cloud/gke_multi_cloud/v1/azure_clusters"
|
41
41
|
# client = ::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client.new
|
@@ -16,6 +16,7 @@
|
|
16
16
|
|
17
17
|
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
18
|
|
19
|
+
require "google/cloud/gke_multi_cloud/v1/attached_clusters"
|
19
20
|
require "google/cloud/gke_multi_cloud/v1/aws_clusters"
|
20
21
|
require "google/cloud/gke_multi_cloud/v1/azure_clusters"
|
21
22
|
require "google/cloud/gke_multi_cloud/v1/version"
|
@@ -24,12 +25,12 @@ module Google
|
|
24
25
|
module Cloud
|
25
26
|
module GkeMultiCloud
|
26
27
|
##
|
27
|
-
#
|
28
|
+
# API client module.
|
28
29
|
#
|
29
|
-
# @example
|
30
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
30
31
|
#
|
31
32
|
# require "google/cloud/gke_multi_cloud/v1"
|
32
|
-
# client = ::Google::Cloud::GkeMultiCloud::V1::
|
33
|
+
# client = ::Google::Cloud::GkeMultiCloud::V1::AttachedClusters::Client.new
|
33
34
|
#
|
34
35
|
module V1
|
35
36
|
end
|
@@ -0,0 +1,82 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/gkemulticloud/v1/attached_resources.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/resource_pb'
|
8
|
+
require 'google/cloud/gkemulticloud/v1/common_resources_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
|
11
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
+
add_file("google/cloud/gkemulticloud/v1/attached_resources.proto", :syntax => :proto3) do
|
13
|
+
add_message "google.cloud.gkemulticloud.v1.AttachedCluster" do
|
14
|
+
optional :name, :string, 1
|
15
|
+
optional :description, :string, 2
|
16
|
+
optional :oidc_config, :message, 3, "google.cloud.gkemulticloud.v1.AttachedOidcConfig"
|
17
|
+
optional :platform_version, :string, 4
|
18
|
+
optional :distribution, :string, 16
|
19
|
+
optional :cluster_region, :string, 22
|
20
|
+
optional :fleet, :message, 5, "google.cloud.gkemulticloud.v1.Fleet"
|
21
|
+
optional :state, :enum, 6, "google.cloud.gkemulticloud.v1.AttachedCluster.State"
|
22
|
+
optional :uid, :string, 7
|
23
|
+
optional :reconciling, :bool, 8
|
24
|
+
optional :create_time, :message, 9, "google.protobuf.Timestamp"
|
25
|
+
optional :update_time, :message, 10, "google.protobuf.Timestamp"
|
26
|
+
optional :etag, :string, 11
|
27
|
+
optional :kubernetes_version, :string, 12
|
28
|
+
map :annotations, :string, :string, 13
|
29
|
+
optional :workload_identity_config, :message, 14, "google.cloud.gkemulticloud.v1.WorkloadIdentityConfig"
|
30
|
+
optional :logging_config, :message, 15, "google.cloud.gkemulticloud.v1.LoggingConfig"
|
31
|
+
repeated :errors, :message, 20, "google.cloud.gkemulticloud.v1.AttachedClusterError"
|
32
|
+
optional :authorization, :message, 21, "google.cloud.gkemulticloud.v1.AttachedClustersAuthorization"
|
33
|
+
optional :monitoring_config, :message, 23, "google.cloud.gkemulticloud.v1.MonitoringConfig"
|
34
|
+
end
|
35
|
+
add_enum "google.cloud.gkemulticloud.v1.AttachedCluster.State" do
|
36
|
+
value :STATE_UNSPECIFIED, 0
|
37
|
+
value :PROVISIONING, 1
|
38
|
+
value :RUNNING, 2
|
39
|
+
value :RECONCILING, 3
|
40
|
+
value :STOPPING, 4
|
41
|
+
value :ERROR, 5
|
42
|
+
value :DEGRADED, 6
|
43
|
+
end
|
44
|
+
add_message "google.cloud.gkemulticloud.v1.AttachedClustersAuthorization" do
|
45
|
+
repeated :admin_users, :message, 1, "google.cloud.gkemulticloud.v1.AttachedClusterUser"
|
46
|
+
end
|
47
|
+
add_message "google.cloud.gkemulticloud.v1.AttachedClusterUser" do
|
48
|
+
optional :username, :string, 1
|
49
|
+
end
|
50
|
+
add_message "google.cloud.gkemulticloud.v1.AttachedOidcConfig" do
|
51
|
+
optional :issuer_url, :string, 1
|
52
|
+
optional :jwks, :bytes, 2
|
53
|
+
end
|
54
|
+
add_message "google.cloud.gkemulticloud.v1.AttachedServerConfig" do
|
55
|
+
optional :name, :string, 1
|
56
|
+
repeated :valid_versions, :message, 2, "google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo"
|
57
|
+
end
|
58
|
+
add_message "google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo" do
|
59
|
+
optional :version, :string, 1
|
60
|
+
end
|
61
|
+
add_message "google.cloud.gkemulticloud.v1.AttachedClusterError" do
|
62
|
+
optional :message, :string, 1
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
module Google
|
68
|
+
module Cloud
|
69
|
+
module GkeMultiCloud
|
70
|
+
module V1
|
71
|
+
AttachedCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedCluster").msgclass
|
72
|
+
AttachedCluster::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedCluster.State").enummodule
|
73
|
+
AttachedClustersAuthorization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedClustersAuthorization").msgclass
|
74
|
+
AttachedClusterUser = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedClusterUser").msgclass
|
75
|
+
AttachedOidcConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedOidcConfig").msgclass
|
76
|
+
AttachedServerConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedServerConfig").msgclass
|
77
|
+
AttachedPlatformVersionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo").msgclass
|
78
|
+
AttachedClusterError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AttachedClusterError").msgclass
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|