google-cloud-gke_multi_cloud-v1 0.2.0 → 0.4.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.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +7 -7
  3. data/README.md +4 -4
  4. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/client.rb +1289 -0
  5. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/credentials.rb +47 -0
  6. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/operations.rb +770 -0
  7. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/paths.rb +86 -0
  8. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters.rb +52 -0
  9. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/client.rb +96 -54
  10. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters.rb +1 -1
  11. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/client.rb +133 -79
  12. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters.rb +1 -1
  13. data/lib/google/cloud/gke_multi_cloud/v1/version.rb +1 -1
  14. data/lib/google/cloud/gke_multi_cloud/v1.rb +4 -3
  15. data/lib/google/cloud/gkemulticloud/v1/attached_resources_pb.rb +82 -0
  16. data/lib/google/cloud/gkemulticloud/v1/attached_service_pb.rb +84 -0
  17. data/lib/google/cloud/gkemulticloud/v1/attached_service_services_pb.rb +85 -0
  18. data/lib/google/cloud/gkemulticloud/v1/aws_resources_pb.rb +17 -0
  19. data/lib/google/cloud/gkemulticloud/v1/aws_service_services_pb.rb +19 -11
  20. data/lib/google/cloud/gkemulticloud/v1/azure_resources_pb.rb +19 -0
  21. data/lib/google/cloud/gkemulticloud/v1/azure_service_services_pb.rb +28 -17
  22. data/lib/google/cloud/gkemulticloud/v1/common_resources_pb.rb +10 -0
  23. data/proto_docs/google/api/client.rb +318 -0
  24. data/proto_docs/google/api/launch_stage.rb +71 -0
  25. data/proto_docs/google/cloud/gkemulticloud/v1/attached_resources.rb +239 -0
  26. data/proto_docs/google/cloud/gkemulticloud/v1/attached_service.rb +294 -0
  27. data/proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb +87 -30
  28. data/proto_docs/google/cloud/gkemulticloud/v1/aws_service.rb +82 -47
  29. data/proto_docs/google/cloud/gkemulticloud/v1/azure_resources.rb +100 -41
  30. data/proto_docs/google/cloud/gkemulticloud/v1/azure_service.rb +112 -68
  31. data/proto_docs/google/cloud/gkemulticloud/v1/common_resources.rb +36 -3
  32. data/proto_docs/google/protobuf/empty.rb +0 -2
  33. data/proto_docs/google/rpc/status.rb +4 -2
  34. metadata +17 -5
@@ -215,8 +215,8 @@ module Google
215
215
  # Service calls
216
216
 
217
217
  ##
218
- # Creates a new {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource on a given Google Cloud project
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 {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource
246
- # will be created.
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 {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} to create.
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 parent
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 {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient}
259
- # resource name formatted as
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 40 characters.
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 {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource.
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 {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource to describe.
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 formatted as
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} resources on a given Google Cloud project and
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
@@ -452,18 +459,19 @@ module Google
452
459
  # Location names are formatted as `projects/<project-id>/locations/<region>`.
453
460
  #
454
461
  # See [Resource Names](https://cloud.google.com/apis/design/resource_names)
455
- # for more details on GCP resource names.
462
+ # for more details on Google Cloud Platform resource names.
456
463
  # @param page_size [::Integer]
457
464
  # The maximum number of items to return.
458
465
  #
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} to determine if
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} request, if any.
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} resource.
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 {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} to delete.
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 formatted as
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 {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource is not found,
574
- # the request will succeed but no action will be taken on the server and a
575
- # completed {::Google::Longrunning::Operation Operation} will be returned.
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} resource on a given GCP project and region.
666
+ # Creates a new {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
667
+ # resource on a given Google Cloud Platform 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 {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource
677
- # will be created.
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 {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} to create.
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 parent
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 {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
690
- # resource name formatted as
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 40 characters.
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} resource to update.
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,21 @@ 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
- # * `logging_config`
820
+ # * `azure_services_authentication`.
821
+ # * `azure_services_authentication.tenant_id`.
822
+ # * `azure_services_authentication.application_id`.
823
+ # * `control_plane.proxy_config`.
824
+ # * `control_plane.proxy_config.resource_group_id`.
825
+ # * `control_plane.proxy_config.secret_id`.
826
+ # * `control_plane.ssh_config.authorized_key`.
827
+ # * `logging_config.component_config.enable_components`
828
+ # * `monitoring_config.managed_prometheus_config.enabled`.
804
829
  #
805
830
  # @yield [response, operation] Access the result along with the RPC operation
806
831
  # @yieldparam response [::Gapic::Operation]
@@ -875,7 +900,8 @@ module Google
875
900
  end
876
901
 
877
902
  ##
878
- # Describes a specific {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource.
903
+ # Describes a specific
904
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource.
879
905
  #
880
906
  # @overload get_azure_cluster(request, options = nil)
881
907
  # Pass arguments to `get_azure_cluster` via a request object, either of type
@@ -893,13 +919,15 @@ module Google
893
919
  # the default parameter values, pass an empty Hash as a request object (see above).
894
920
  #
895
921
  # @param name [::String]
896
- # Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource to describe.
922
+ # Required. The name of the
923
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource to
924
+ # describe.
897
925
  #
898
926
  # `AzureCluster` names are formatted as
899
927
  # `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
900
928
  #
901
929
  # See [Resource Names](https://cloud.google.com/apis/design/resource_names)
902
- # for more details on GCP resource names.
930
+ # for more details on Google Cloud Platform resource names.
903
931
  #
904
932
  # @yield [response, operation] Access the result along with the RPC operation
905
933
  # @yieldparam response [::Google::Cloud::GkeMultiCloud::V1::AzureCluster]
@@ -966,8 +994,8 @@ module Google
966
994
  end
967
995
 
968
996
  ##
969
- # Lists all {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resources on a given Google Cloud project and
970
- # region.
997
+ # Lists all {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
998
+ # resources on a given Google Cloud project and region.
971
999
  #
972
1000
  # @overload list_azure_clusters(request, options = nil)
973
1001
  # Pass arguments to `list_azure_clusters` via a request object, either of type
@@ -991,18 +1019,19 @@ module Google
991
1019
  # Location names are formatted as `projects/<project-id>/locations/<region>`.
992
1020
  #
993
1021
  # See [Resource Names](https://cloud.google.com/apis/design/resource_names)
994
- # for more details on GCP resource names.
1022
+ # for more details on Google Cloud Platform resource names.
995
1023
  # @param page_size [::Integer]
996
1024
  # The maximum number of items to return.
997
1025
  #
998
1026
  # If not specified, a default value of 50 will be used by the service.
999
1027
  # Regardless of the pageSize value, the response can include a partial list
1000
1028
  # and a caller should only rely on response's
1001
- # {::Google::Cloud::GkeMultiCloud::V1::ListAzureClustersResponse#next_page_token nextPageToken} to determine if
1002
- # there are more instances left to be queried.
1029
+ # {::Google::Cloud::GkeMultiCloud::V1::ListAzureClustersResponse#next_page_token nextPageToken}
1030
+ # to determine if there are more instances left to be queried.
1003
1031
  # @param page_token [::String]
1004
1032
  # The `nextPageToken` value returned from a previous
1005
- # {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_clusters azureClusters.list} request, if any.
1033
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_clusters azureClusters.list}
1034
+ # request, if any.
1006
1035
  #
1007
1036
  # @yield [response, operation] Access the result along with the RPC operation
1008
1037
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::GkeMultiCloud::V1::AzureCluster>]
@@ -1076,10 +1105,11 @@ module Google
1076
1105
  end
1077
1106
 
1078
1107
  ##
1079
- # Deletes a specific {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource.
1108
+ # Deletes a specific
1109
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource.
1080
1110
  #
1081
- # Fails if the cluster has one or more associated {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}
1082
- # resources.
1111
+ # Fails if the cluster has one or more associated
1112
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resources.
1083
1113
  #
1084
1114
  # If successful, the response contains a newly created
1085
1115
  # {::Google::Longrunning::Operation Operation} resource that can be
@@ -1101,23 +1131,26 @@ module Google
1101
1131
  # the default parameter values, pass an empty Hash as a request object (see above).
1102
1132
  #
1103
1133
  # @param name [::String]
1104
- # Required. The resource name the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} to delete.
1134
+ # Required. The resource name the
1135
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} to delete.
1105
1136
  #
1106
1137
  # `AzureCluster` names are formatted as
1107
1138
  # `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
1108
1139
  #
1109
1140
  # See [Resource Names](https://cloud.google.com/apis/design/resource_names)
1110
- # for more details on GCP resource names.
1141
+ # for more details on Google Cloud Platform resource names.
1111
1142
  # @param allow_missing [::Boolean]
1112
- # If set to true, and the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource is not found,
1113
- # the request will succeed but no action will be taken on the server and a
1114
- # completed {::Google::Longrunning::Operation Operation} will be returned.
1143
+ # If set to true, and the
1144
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource is not
1145
+ # found, the request will succeed but no action will be taken on the server
1146
+ # and a completed {::Google::Longrunning::Operation Operation} will be returned.
1115
1147
  #
1116
1148
  # Useful for idempotent deletion.
1117
1149
  # @param validate_only [::Boolean]
1118
1150
  # If set, only validate the request, but do not actually delete the resource.
1119
1151
  # @param etag [::String]
1120
- # The current etag of the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}.
1152
+ # The current etag of the
1153
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}.
1121
1154
  #
1122
1155
  # Allows clients to perform deletions through optimistic concurrency control.
1123
1156
  #
@@ -1216,7 +1249,9 @@ module Google
1216
1249
  # the default parameter values, pass an empty Hash as a request object (see above).
1217
1250
  #
1218
1251
  # @param azure_cluster [::String]
1219
- # Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource to authenticate to.
1252
+ # Required. The name of the
1253
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource to
1254
+ # authenticate to.
1220
1255
  #
1221
1256
  # `AzureCluster` names are formatted as
1222
1257
  # `projects/<project-id>/locations/<region>/AzureClusters/<cluster-id>`.
@@ -1289,7 +1324,9 @@ module Google
1289
1324
  end
1290
1325
 
1291
1326
  ##
1292
- # Creates a new {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}, attached to a given {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}.
1327
+ # Creates a new {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool},
1328
+ # attached to a given
1329
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}.
1293
1330
  #
1294
1331
  # If successful, the response contains a newly created
1295
1332
  # {::Google::Longrunning::Operation Operation} resource that can be
@@ -1311,23 +1348,26 @@ module Google
1311
1348
  # the default parameter values, pass an empty Hash as a request object (see above).
1312
1349
  #
1313
1350
  # @param parent [::String]
1314
- # Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource where this node pool will be created.
1351
+ # Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
1352
+ # resource where this node pool will be created.
1315
1353
  #
1316
1354
  # Location names are formatted as `projects/<project-id>/locations/<region>`.
1317
1355
  #
1318
1356
  # See [Resource Names](https://cloud.google.com/apis/design/resource_names)
1319
1357
  # for more details on Google Cloud resource names.
1320
1358
  # @param azure_node_pool [::Google::Cloud::GkeMultiCloud::V1::AzureNodePool, ::Hash]
1321
- # Required. The specification of the {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} to create.
1359
+ # Required. The specification of the
1360
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} to create.
1322
1361
  # @param azure_node_pool_id [::String]
1323
- # Required. A client provided ID the resource. Must be unique within the parent
1324
- # resource.
1362
+ # Required. A client provided ID the resource. Must be unique within the
1363
+ # parent resource.
1325
1364
  #
1326
- # The provided ID will be part of the {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}
1327
- # resource name formatted as
1365
+ # The provided ID will be part of the
1366
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource name
1367
+ # formatted as
1328
1368
  # `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
1329
1369
  #
1330
- # Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 40 characters.
1370
+ # Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
1331
1371
  # @param validate_only [::Boolean]
1332
1372
  # If set, only validate the request, but do not actually create the node
1333
1373
  # pool.
@@ -1423,7 +1463,8 @@ module Google
1423
1463
  # the default parameter values, pass an empty Hash as a request object (see above).
1424
1464
  #
1425
1465
  # @param azure_node_pool [::Google::Cloud::GkeMultiCloud::V1::AzureNodePool, ::Hash]
1426
- # Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource to update.
1466
+ # Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}
1467
+ # resource to update.
1427
1468
  # @param validate_only [::Boolean]
1428
1469
  # If set, only validate the request, but don't actually update the node pool.
1429
1470
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
@@ -1435,7 +1476,7 @@ module Google
1435
1476
  # * `version`.
1436
1477
  # * `autoscaling.min_node_count`.
1437
1478
  # * `autoscaling.max_node_count`.
1438
- # * `config.vm_size`.
1479
+ # * `config.ssh_config.authorized_key`.
1439
1480
  #
1440
1481
  # @yield [response, operation] Access the result along with the RPC operation
1441
1482
  # @yieldparam response [::Gapic::Operation]
@@ -1510,7 +1551,8 @@ module Google
1510
1551
  end
1511
1552
 
1512
1553
  ##
1513
- # Describes a specific {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource.
1554
+ # Describes a specific
1555
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource.
1514
1556
  #
1515
1557
  # @overload get_azure_node_pool(request, options = nil)
1516
1558
  # Pass arguments to `get_azure_node_pool` via a request object, either of type
@@ -1528,7 +1570,9 @@ module Google
1528
1570
  # the default parameter values, pass an empty Hash as a request object (see above).
1529
1571
  #
1530
1572
  # @param name [::String]
1531
- # Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource to describe.
1573
+ # Required. The name of the
1574
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource to
1575
+ # describe.
1532
1576
  #
1533
1577
  # `AzureNodePool` names are formatted as
1534
1578
  # `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
@@ -1601,7 +1645,9 @@ module Google
1601
1645
  end
1602
1646
 
1603
1647
  ##
1604
- # Lists all {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resources on a given {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}.
1648
+ # Lists all {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}
1649
+ # resources on a given
1650
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}.
1605
1651
  #
1606
1652
  # @overload list_azure_node_pools(request, options = nil)
1607
1653
  # Pass arguments to `list_azure_node_pools` via a request object, either of type
@@ -1633,11 +1679,12 @@ module Google
1633
1679
  # If not specified, a default value of 50 will be used by the service.
1634
1680
  # Regardless of the pageSize value, the response can include a partial list
1635
1681
  # and a caller should only rely on response's
1636
- # {::Google::Cloud::GkeMultiCloud::V1::ListAzureNodePoolsResponse#next_page_token nextPageToken} to determine if
1637
- # there are more instances left to be queried.
1682
+ # {::Google::Cloud::GkeMultiCloud::V1::ListAzureNodePoolsResponse#next_page_token nextPageToken}
1683
+ # to determine if there are more instances left to be queried.
1638
1684
  # @param page_token [::String]
1639
1685
  # The `nextPageToken` value returned from a previous
1640
- # {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_node_pools azureNodePools.list} request, if any.
1686
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_node_pools azureNodePools.list}
1687
+ # request, if any.
1641
1688
  #
1642
1689
  # @yield [response, operation] Access the result along with the RPC operation
1643
1690
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::GkeMultiCloud::V1::AzureNodePool>]
@@ -1711,7 +1758,8 @@ module Google
1711
1758
  end
1712
1759
 
1713
1760
  ##
1714
- # Deletes a specific {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource.
1761
+ # Deletes a specific
1762
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource.
1715
1763
  #
1716
1764
  # If successful, the response contains a newly created
1717
1765
  # {::Google::Longrunning::Operation Operation} resource that can be
@@ -1733,7 +1781,8 @@ module Google
1733
1781
  # the default parameter values, pass an empty Hash as a request object (see above).
1734
1782
  #
1735
1783
  # @param name [::String]
1736
- # Required. The resource name the {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} to delete.
1784
+ # Required. The resource name the
1785
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} to delete.
1737
1786
  #
1738
1787
  # `AzureNodePool` names are formatted as
1739
1788
  # `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
@@ -1744,13 +1793,16 @@ module Google
1744
1793
  # If set, only validate the request, but do not actually delete the node
1745
1794
  # pool.
1746
1795
  # @param allow_missing [::Boolean]
1747
- # If set to true, and the {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource is not found,
1748
- # the request will succeed but no action will be taken on the server and a
1749
- # completed {::Google::Longrunning::Operation Operation} will be returned.
1796
+ # If set to true, and the
1797
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource is
1798
+ # not found, the request will succeed but no action will be taken on the
1799
+ # server and a completed {::Google::Longrunning::Operation Operation} will be
1800
+ # returned.
1750
1801
  #
1751
1802
  # Useful for idempotent deletion.
1752
1803
  # @param etag [::String]
1753
- # The current ETag of the {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}.
1804
+ # The current ETag of the
1805
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}.
1754
1806
  #
1755
1807
  # Allows clients to perform deletions through optimistic concurrency control.
1756
1808
  #
@@ -1849,7 +1901,9 @@ module Google
1849
1901
  # the default parameter values, pass an empty Hash as a request object (see above).
1850
1902
  #
1851
1903
  # @param name [::String]
1852
- # Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AzureServerConfig AzureServerConfig} resource to describe.
1904
+ # Required. The name of the
1905
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureServerConfig AzureServerConfig}
1906
+ # resource to describe.
1853
1907
  #
1854
1908
  # `AzureServerConfig` names are formatted as
1855
1909
  # `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
- # To load this service and instantiate a client:
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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module GkeMultiCloud
23
23
  module V1
24
- VERSION = "0.2.0"
24
+ VERSION = "0.4.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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
- # To load this package, including all its services, and instantiate a client:
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::AwsClusters::Client.new
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