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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +7 -7
  3. data/README.md +9 -9
  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 +93 -51
  10. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/operations.rb +3 -0
  11. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters.rb +1 -1
  12. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/client.rb +126 -75
  13. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/operations.rb +3 -0
  14. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters.rb +1 -1
  15. data/lib/google/cloud/gke_multi_cloud/v1/version.rb +1 -1
  16. data/lib/google/cloud/gke_multi_cloud/v1.rb +4 -3
  17. data/lib/google/cloud/gkemulticloud/v1/attached_resources_pb.rb +82 -0
  18. data/lib/google/cloud/gkemulticloud/v1/attached_service_pb.rb +84 -0
  19. data/lib/google/cloud/gkemulticloud/v1/attached_service_services_pb.rb +85 -0
  20. data/lib/google/cloud/gkemulticloud/v1/aws_resources_pb.rb +17 -0
  21. data/lib/google/cloud/gkemulticloud/v1/aws_service_services_pb.rb +19 -11
  22. data/lib/google/cloud/gkemulticloud/v1/azure_resources_pb.rb +11 -0
  23. data/lib/google/cloud/gkemulticloud/v1/azure_service_services_pb.rb +28 -17
  24. data/lib/google/cloud/gkemulticloud/v1/common_resources_pb.rb +10 -0
  25. data/proto_docs/google/api/client.rb +318 -0
  26. data/proto_docs/google/api/launch_stage.rb +71 -0
  27. data/proto_docs/google/cloud/gkemulticloud/v1/attached_resources.rb +239 -0
  28. data/proto_docs/google/cloud/gkemulticloud/v1/attached_service.rb +294 -0
  29. data/proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb +86 -29
  30. data/proto_docs/google/cloud/gkemulticloud/v1/aws_service.rb +79 -44
  31. data/proto_docs/google/cloud/gkemulticloud/v1/azure_resources.rb +75 -37
  32. data/proto_docs/google/cloud/gkemulticloud/v1/azure_service.rb +105 -64
  33. data/proto_docs/google/cloud/gkemulticloud/v1/common_resources.rb +36 -3
  34. data/proto_docs/google/protobuf/empty.rb +0 -2
  35. data/proto_docs/google/rpc/status.rb +4 -2
  36. metadata +24 -12
@@ -0,0 +1,86 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module GkeMultiCloud
23
+ module V1
24
+ module AttachedClusters
25
+ # Path helper methods for the AttachedClusters API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified AttachedCluster resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/locations/{location}/attachedClusters/{attached_cluster}`
33
+ #
34
+ # @param project [String]
35
+ # @param location [String]
36
+ # @param attached_cluster [String]
37
+ #
38
+ # @return [::String]
39
+ def attached_cluster_path project:, location:, attached_cluster:
40
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
41
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
42
+
43
+ "projects/#{project}/locations/#{location}/attachedClusters/#{attached_cluster}"
44
+ end
45
+
46
+ ##
47
+ # Create a fully-qualified AttachedServerConfig resource string.
48
+ #
49
+ # The resource will be in the following format:
50
+ #
51
+ # `projects/{project}/locations/{location}/attachedServerConfig`
52
+ #
53
+ # @param project [String]
54
+ # @param location [String]
55
+ #
56
+ # @return [::String]
57
+ def attached_server_config_path project:, location:
58
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
59
+
60
+ "projects/#{project}/locations/#{location}/attachedServerConfig"
61
+ end
62
+
63
+ ##
64
+ # Create a fully-qualified Location resource string.
65
+ #
66
+ # The resource will be in the following format:
67
+ #
68
+ # `projects/{project}/locations/{location}`
69
+ #
70
+ # @param project [String]
71
+ # @param location [String]
72
+ #
73
+ # @return [::String]
74
+ def location_path project:, location:
75
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
76
+
77
+ "projects/#{project}/locations/#{location}"
78
+ end
79
+
80
+ extend self
81
+ end
82
+ end
83
+ end
84
+ end
85
+ end
86
+ end
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/gke_multi_cloud/v1/version"
24
+
25
+ require "google/cloud/gke_multi_cloud/v1/attached_clusters/credentials"
26
+ require "google/cloud/gke_multi_cloud/v1/attached_clusters/paths"
27
+ require "google/cloud/gke_multi_cloud/v1/attached_clusters/operations"
28
+ require "google/cloud/gke_multi_cloud/v1/attached_clusters/client"
29
+
30
+ module Google
31
+ module Cloud
32
+ module GkeMultiCloud
33
+ module V1
34
+ ##
35
+ # The AttachedClusters API provides a single centrally managed service
36
+ # to register and manage Anthos attached clusters that run on customer's owned
37
+ # infrastructure.
38
+ #
39
+ # @example Load this service and instantiate a gRPC client
40
+ #
41
+ # require "google/cloud/gke_multi_cloud/v1/attached_clusters"
42
+ # client = ::Google::Cloud::GkeMultiCloud::V1::AttachedClusters::Client.new
43
+ #
44
+ module AttachedClusters
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+
51
+ helper_path = ::File.join __dir__, "attached_clusters", "helpers.rb"
52
+ require "google/cloud/gke_multi_cloud/v1/attached_clusters/helpers" if ::File.file? helper_path
@@ -201,7 +201,8 @@ module Google
201
201
  # Service calls
202
202
 
203
203
  ##
204
- # Creates a new {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource on a given GCP project and region.
204
+ # Creates a new {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}
205
+ # resource on a given GCP project and region.
205
206
  #
206
207
  # If successful, the response contains a newly created
207
208
  # {::Google::Longrunning::Operation Operation} resource that can be
@@ -223,24 +224,27 @@ module Google
223
224
  # the default parameter values, pass an empty Hash as a request object (see above).
224
225
  #
225
226
  # @param parent [::String]
226
- # Required. The parent location where this {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource
227
- # will be created.
227
+ # Required. The parent location where this
228
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource will be
229
+ # created.
228
230
  #
229
231
  # Location names are formatted as `projects/<project-id>/locations/<region>`.
230
232
  #
231
233
  # See [Resource Names](https://cloud.google.com/apis/design/resource_names)
232
234
  # for more details on Google Cloud resource names.
233
235
  # @param aws_cluster [::Google::Cloud::GkeMultiCloud::V1::AwsCluster, ::Hash]
234
- # Required. The specification of the {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} to create.
236
+ # Required. The specification of the
237
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} to create.
235
238
  # @param aws_cluster_id [::String]
236
- # Required. A client provided ID the resource. Must be unique within the parent
237
- # resource.
239
+ # Required. A client provided ID the resource. Must be unique within the
240
+ # parent resource.
238
241
  #
239
- # The provided ID will be part of the {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}
240
- # resource name formatted as
242
+ # The provided ID will be part of the
243
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource name
244
+ # formatted as
241
245
  # `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.
242
246
  #
243
- # Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 40 characters.
247
+ # Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
244
248
  # @param validate_only [::Boolean]
245
249
  # If set, only validate the request, but do not actually create the cluster.
246
250
  #
@@ -335,7 +339,8 @@ module Google
335
339
  # the default parameter values, pass an empty Hash as a request object (see above).
336
340
  #
337
341
  # @param aws_cluster [::Google::Cloud::GkeMultiCloud::V1::AwsCluster, ::Hash]
338
- # Required. The {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource to update.
342
+ # Required. The {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}
343
+ # resource to update.
339
344
  # @param validate_only [::Boolean]
340
345
  # If set, only validate the request, but do not actually update the cluster.
341
346
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
@@ -355,14 +360,17 @@ module Google
355
360
  # * `control_plane.proxy_config`.
356
361
  # * `control_plane.proxy_config.secret_arn`.
357
362
  # * `control_plane.proxy_config.secret_version`.
363
+ # * `control_plane.root_volume.size_gib`.
364
+ # * `control_plane.root_volume.volume_type`.
358
365
  # * `control_plane.root_volume.iops`.
359
366
  # * `control_plane.root_volume.kms_key_arn`.
360
- # * `control_plane.root_volume.volume_type`.
361
- # * `control_plane.root_volume.size_gib`.
362
367
  # * `control_plane.ssh_config`.
363
368
  # * `control_plane.ssh_config.ec2_key_pair`.
364
369
  # * `control_plane.instance_placement.tenancy`.
365
- # * `logging_config`.
370
+ # * `control_plane.iam_instance_profile`.
371
+ # * `logging_config.component_config.enable_components`.
372
+ # * `control_plane.tags`.
373
+ # * `monitoring_config.managed_prometheus_config.enabled`.
366
374
  #
367
375
  # @yield [response, operation] Access the result along with the RPC operation
368
376
  # @yieldparam response [::Gapic::Operation]
@@ -437,7 +445,8 @@ module Google
437
445
  end
438
446
 
439
447
  ##
440
- # Describes a specific {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource.
448
+ # Describes a specific {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}
449
+ # resource.
441
450
  #
442
451
  # @overload get_aws_cluster(request, options = nil)
443
452
  # Pass arguments to `get_aws_cluster` via a request object, either of type
@@ -455,7 +464,9 @@ module Google
455
464
  # the default parameter values, pass an empty Hash as a request object (see above).
456
465
  #
457
466
  # @param name [::String]
458
- # Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource to describe.
467
+ # Required. The name of the
468
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource to
469
+ # describe.
459
470
  #
460
471
  # `AwsCluster` names are formatted as
461
472
  # `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.
@@ -528,8 +539,8 @@ module Google
528
539
  end
529
540
 
530
541
  ##
531
- # Lists all {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resources on a given Google Cloud project and
532
- # region.
542
+ # Lists all {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resources
543
+ # on a given Google Cloud project and region.
533
544
  #
534
545
  # @overload list_aws_clusters(request, options = nil)
535
546
  # Pass arguments to `list_aws_clusters` via a request object, either of type
@@ -560,11 +571,12 @@ module Google
560
571
  # If not specified, a default value of 50 will be used by the service.
561
572
  # Regardless of the pageSize value, the response can include a partial list
562
573
  # and a caller should only rely on response's
563
- # {::Google::Cloud::GkeMultiCloud::V1::ListAwsClustersResponse#next_page_token nextPageToken} to determine if
564
- # there are more instances left to be queried.
574
+ # {::Google::Cloud::GkeMultiCloud::V1::ListAwsClustersResponse#next_page_token nextPageToken}
575
+ # to determine if there are more instances left to be queried.
565
576
  # @param page_token [::String]
566
577
  # The `nextPageToken` value returned from a previous
567
- # {::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client#list_aws_clusters awsClusters.list} request, if any.
578
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client#list_aws_clusters awsClusters.list}
579
+ # request, if any.
568
580
  #
569
581
  # @yield [response, operation] Access the result along with the RPC operation
570
582
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::GkeMultiCloud::V1::AwsCluster>]
@@ -638,10 +650,11 @@ module Google
638
650
  end
639
651
 
640
652
  ##
641
- # Deletes a specific {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource.
653
+ # Deletes a specific {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}
654
+ # resource.
642
655
  #
643
- # Fails if the cluster has one or more associated {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool}
644
- # resources.
656
+ # Fails if the cluster has one or more associated
657
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} resources.
645
658
  #
646
659
  # If successful, the response contains a newly created
647
660
  # {::Google::Longrunning::Operation Operation} resource that can be
@@ -663,7 +676,8 @@ module Google
663
676
  # the default parameter values, pass an empty Hash as a request object (see above).
664
677
  #
665
678
  # @param name [::String]
666
- # Required. The resource name the {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} to delete.
679
+ # Required. The resource name the
680
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} to delete.
667
681
  #
668
682
  # `AwsCluster` names are formatted as
669
683
  # `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.
@@ -673,13 +687,15 @@ module Google
673
687
  # @param validate_only [::Boolean]
674
688
  # If set, only validate the request, but do not actually delete the resource.
675
689
  # @param allow_missing [::Boolean]
676
- # If set to true, and the {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource is not found,
677
- # the request will succeed but no action will be taken on the server and a
678
- # completed {::Google::Longrunning::Operation Operation} will be returned.
690
+ # If set to true, and the
691
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource is not
692
+ # found, the request will succeed but no action will be taken on the server
693
+ # and a completed {::Google::Longrunning::Operation Operation} will be returned.
679
694
  #
680
695
  # Useful for idempotent deletion.
681
696
  # @param etag [::String]
682
- # The current etag of the {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}.
697
+ # The current etag of the
698
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}.
683
699
  #
684
700
  # Allows clients to perform deletions through optimistic concurrency control.
685
701
  #
@@ -778,7 +794,9 @@ module Google
778
794
  # the default parameter values, pass an empty Hash as a request object (see above).
779
795
  #
780
796
  # @param aws_cluster [::String]
781
- # Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource to authenticate to.
797
+ # Required. The name of the
798
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource to
799
+ # authenticate to.
782
800
  #
783
801
  # `AwsCluster` names are formatted as
784
802
  # `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.
@@ -851,7 +869,8 @@ module Google
851
869
  end
852
870
 
853
871
  ##
854
- # Creates a new {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool}, attached to a given {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}.
872
+ # Creates a new {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool},
873
+ # attached to a given {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}.
855
874
  #
856
875
  # If successful, the response contains a newly created
857
876
  # {::Google::Longrunning::Operation Operation} resource that can be
@@ -873,7 +892,8 @@ module Google
873
892
  # the default parameter values, pass an empty Hash as a request object (see above).
874
893
  #
875
894
  # @param parent [::String]
876
- # Required. The {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource where this node pool will be created.
895
+ # Required. The {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}
896
+ # resource where this node pool will be created.
877
897
  #
878
898
  # `AwsCluster` names are formatted as
879
899
  # `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.
@@ -881,16 +901,18 @@ module Google
881
901
  # See [Resource Names](https://cloud.google.com/apis/design/resource_names)
882
902
  # for more details on Google Cloud resource names.
883
903
  # @param aws_node_pool [::Google::Cloud::GkeMultiCloud::V1::AwsNodePool, ::Hash]
884
- # Required. The specification of the {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} to create.
904
+ # Required. The specification of the
905
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} to create.
885
906
  # @param aws_node_pool_id [::String]
886
- # Required. A client provided ID the resource. Must be unique within the parent
887
- # resource.
907
+ # Required. A client provided ID the resource. Must be unique within the
908
+ # parent resource.
888
909
  #
889
- # The provided ID will be part of the {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool}
890
- # resource name formatted as
910
+ # The provided ID will be part of the
911
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} resource name
912
+ # formatted as
891
913
  # `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.
892
914
  #
893
- # Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 40 characters.
915
+ # Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
894
916
  # @param validate_only [::Boolean]
895
917
  # If set, only validate the request, but do not actually create the node
896
918
  # pool.
@@ -986,7 +1008,8 @@ module Google
986
1008
  # the default parameter values, pass an empty Hash as a request object (see above).
987
1009
  #
988
1010
  # @param aws_node_pool [::Google::Cloud::GkeMultiCloud::V1::AwsNodePool, ::Hash]
989
- # Required. The {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} resource to update.
1011
+ # Required. The {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool}
1012
+ # resource to update.
990
1013
  # @param validate_only [::Boolean]
991
1014
  # If set, only validate the request, but don't actually update the node pool.
992
1015
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
@@ -1009,6 +1032,13 @@ module Google
1009
1032
  # * `config.proxy_config.secret_version`.
1010
1033
  # * `config.ssh_config`.
1011
1034
  # * `config.ssh_config.ec2_key_pair`.
1035
+ # * `config.instance_placement.tenancy`.
1036
+ # * `config.iam_instance_profile`.
1037
+ # * `config.labels`.
1038
+ # * `config.tags`.
1039
+ # * `config.autoscaling_metrics_collection`.
1040
+ # * `config.autoscaling_metrics_collection.granularity`.
1041
+ # * `config.autoscaling_metrics_collection.metrics`.
1012
1042
  #
1013
1043
  # @yield [response, operation] Access the result along with the RPC operation
1014
1044
  # @yieldparam response [::Gapic::Operation]
@@ -1083,7 +1113,8 @@ module Google
1083
1113
  end
1084
1114
 
1085
1115
  ##
1086
- # Describes a specific {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} resource.
1116
+ # Describes a specific
1117
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} resource.
1087
1118
  #
1088
1119
  # @overload get_aws_node_pool(request, options = nil)
1089
1120
  # Pass arguments to `get_aws_node_pool` via a request object, either of type
@@ -1101,7 +1132,9 @@ module Google
1101
1132
  # the default parameter values, pass an empty Hash as a request object (see above).
1102
1133
  #
1103
1134
  # @param name [::String]
1104
- # Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} resource to describe.
1135
+ # Required. The name of the
1136
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} resource to
1137
+ # describe.
1105
1138
  #
1106
1139
  # `AwsNodePool` names are formatted as
1107
1140
  # `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.
@@ -1174,7 +1207,9 @@ module Google
1174
1207
  end
1175
1208
 
1176
1209
  ##
1177
- # Lists all {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} resources on a given {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}.
1210
+ # Lists all {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool}
1211
+ # resources on a given
1212
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}.
1178
1213
  #
1179
1214
  # @overload list_aws_node_pools(request, options = nil)
1180
1215
  # Pass arguments to `list_aws_node_pools` via a request object, either of type
@@ -1206,11 +1241,12 @@ module Google
1206
1241
  # If not specified, a default value of 50 will be used by the service.
1207
1242
  # Regardless of the pageSize value, the response can include a partial list
1208
1243
  # and a caller should only rely on response's
1209
- # {::Google::Cloud::GkeMultiCloud::V1::ListAwsNodePoolsResponse#next_page_token nextPageToken} to determine if
1210
- # there are more instances left to be queried.
1244
+ # {::Google::Cloud::GkeMultiCloud::V1::ListAwsNodePoolsResponse#next_page_token nextPageToken}
1245
+ # to determine if there are more instances left to be queried.
1211
1246
  # @param page_token [::String]
1212
1247
  # The `nextPageToken` value returned from a previous
1213
- # {::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client#list_aws_node_pools awsNodePools.list} request, if any.
1248
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client#list_aws_node_pools awsNodePools.list}
1249
+ # request, if any.
1214
1250
  #
1215
1251
  # @yield [response, operation] Access the result along with the RPC operation
1216
1252
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::GkeMultiCloud::V1::AwsNodePool>]
@@ -1284,7 +1320,8 @@ module Google
1284
1320
  end
1285
1321
 
1286
1322
  ##
1287
- # Deletes a specific {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} resource.
1323
+ # Deletes a specific {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool}
1324
+ # resource.
1288
1325
  #
1289
1326
  # If successful, the response contains a newly created
1290
1327
  # {::Google::Longrunning::Operation Operation} resource that can be
@@ -1306,7 +1343,8 @@ module Google
1306
1343
  # the default parameter values, pass an empty Hash as a request object (see above).
1307
1344
  #
1308
1345
  # @param name [::String]
1309
- # Required. The resource name the {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} to delete.
1346
+ # Required. The resource name the
1347
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} to delete.
1310
1348
  #
1311
1349
  # `AwsNodePool` names are formatted as
1312
1350
  # `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.
@@ -1317,13 +1355,15 @@ module Google
1317
1355
  # If set, only validate the request, but do not actually delete the node
1318
1356
  # pool.
1319
1357
  # @param allow_missing [::Boolean]
1320
- # If set to true, and the {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} resource is not found,
1321
- # the request will succeed but no action will be taken on the server and a
1322
- # completed {::Google::Longrunning::Operation Operation} will be returned.
1358
+ # If set to true, and the
1359
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} resource is not
1360
+ # found, the request will succeed but no action will be taken on the server
1361
+ # and a completed {::Google::Longrunning::Operation Operation} will be returned.
1323
1362
  #
1324
1363
  # Useful for idempotent deletion.
1325
1364
  # @param etag [::String]
1326
- # The current ETag of the {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool}.
1365
+ # The current ETag of the
1366
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool}.
1327
1367
  #
1328
1368
  # Allows clients to perform deletions through optimistic concurrency control.
1329
1369
  #
@@ -1422,7 +1462,9 @@ module Google
1422
1462
  # the default parameter values, pass an empty Hash as a request object (see above).
1423
1463
  #
1424
1464
  # @param name [::String]
1425
- # Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AwsServerConfig AwsServerConfig} resource to describe.
1465
+ # Required. The name of the
1466
+ # {::Google::Cloud::GkeMultiCloud::V1::AwsServerConfig AwsServerConfig} resource
1467
+ # to describe.
1426
1468
  #
1427
1469
  # `AwsServerConfig` names are formatted as
1428
1470
  # `projects/<project-id>/locations/<region>/awsServerConfig`.
@@ -95,6 +95,9 @@ module Google
95
95
  channel_args: @config.channel_args,
96
96
  interceptors: @config.interceptors
97
97
  )
98
+
99
+ # Used by an LRO wrapper for some methods of this service
100
+ @operations_client = self
98
101
  end
99
102
 
100
103
  # Service calls
@@ -35,7 +35,7 @@ module Google
35
35
  # The AwsClusters API provides a single centrally managed service
36
36
  # to create and manage Anthos clusters that run on AWS 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/aws_clusters"
41
41
  # client = ::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client.new