google-cloud-gke_multi_cloud-v1 0.2.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -0,0 +1,84 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/gkemulticloud/v1/attached_service.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/api/client_pb'
8
+ require 'google/api/field_behavior_pb'
9
+ require 'google/api/resource_pb'
10
+ require 'google/cloud/gkemulticloud/v1/attached_resources_pb'
11
+ require 'google/longrunning/operations_pb'
12
+ require 'google/protobuf/field_mask_pb'
13
+
14
+ Google::Protobuf::DescriptorPool.generated_pool.build do
15
+ add_file("google/cloud/gkemulticloud/v1/attached_service.proto", :syntax => :proto3) do
16
+ add_message "google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest" do
17
+ optional :parent, :string, 1
18
+ optional :attached_cluster_id, :string, 2
19
+ optional :platform_version, :string, 3
20
+ end
21
+ add_message "google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse" do
22
+ optional :manifest, :string, 1
23
+ end
24
+ add_message "google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest" do
25
+ optional :parent, :string, 1
26
+ optional :attached_cluster, :message, 2, "google.cloud.gkemulticloud.v1.AttachedCluster"
27
+ optional :attached_cluster_id, :string, 3
28
+ optional :validate_only, :bool, 4
29
+ end
30
+ add_message "google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest" do
31
+ optional :parent, :string, 1
32
+ optional :validate_only, :bool, 2
33
+ optional :fleet_membership, :string, 3
34
+ optional :platform_version, :string, 4
35
+ optional :distribution, :string, 5
36
+ end
37
+ add_message "google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest" do
38
+ optional :attached_cluster, :message, 1, "google.cloud.gkemulticloud.v1.AttachedCluster"
39
+ optional :validate_only, :bool, 2
40
+ optional :update_mask, :message, 3, "google.protobuf.FieldMask"
41
+ end
42
+ add_message "google.cloud.gkemulticloud.v1.GetAttachedClusterRequest" do
43
+ optional :name, :string, 1
44
+ end
45
+ add_message "google.cloud.gkemulticloud.v1.ListAttachedClustersRequest" do
46
+ optional :parent, :string, 1
47
+ optional :page_size, :int32, 2
48
+ optional :page_token, :string, 3
49
+ end
50
+ add_message "google.cloud.gkemulticloud.v1.ListAttachedClustersResponse" do
51
+ repeated :attached_clusters, :message, 1, "google.cloud.gkemulticloud.v1.AttachedCluster"
52
+ optional :next_page_token, :string, 2
53
+ end
54
+ add_message "google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest" do
55
+ optional :name, :string, 1
56
+ optional :validate_only, :bool, 2
57
+ optional :allow_missing, :bool, 3
58
+ optional :ignore_errors, :bool, 5
59
+ optional :etag, :string, 4
60
+ end
61
+ add_message "google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest" do
62
+ optional :name, :string, 1
63
+ end
64
+ end
65
+ end
66
+
67
+ module Google
68
+ module Cloud
69
+ module GkeMultiCloud
70
+ module V1
71
+ GenerateAttachedClusterInstallManifestRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest").msgclass
72
+ GenerateAttachedClusterInstallManifestResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse").msgclass
73
+ CreateAttachedClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest").msgclass
74
+ ImportAttachedClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest").msgclass
75
+ UpdateAttachedClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest").msgclass
76
+ GetAttachedClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.GetAttachedClusterRequest").msgclass
77
+ ListAttachedClustersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.ListAttachedClustersRequest").msgclass
78
+ ListAttachedClustersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.ListAttachedClustersResponse").msgclass
79
+ DeleteAttachedClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest").msgclass
80
+ GetAttachedServerConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest").msgclass
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,85 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/gkemulticloud/v1/attached_service.proto for package 'Google.Cloud.GkeMultiCloud.V1'
3
+ # Original file comments:
4
+ # Copyright 2022 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/gkemulticloud/v1/attached_service_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module GkeMultiCloud
25
+ module V1
26
+ module AttachedClusters
27
+ # The AttachedClusters API provides a single centrally managed service
28
+ # to register and manage Anthos attached clusters that run on customer's owned
29
+ # infrastructure.
30
+ class Service
31
+
32
+ include ::GRPC::GenericService
33
+
34
+ self.marshal_class_method = :encode
35
+ self.unmarshal_class_method = :decode
36
+ self.service_name = 'google.cloud.gkemulticloud.v1.AttachedClusters'
37
+
38
+ # Creates a new
39
+ # [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
40
+ # on a given Google Cloud Platform project and region.
41
+ #
42
+ # If successful, the response contains a newly created
43
+ # [Operation][google.longrunning.Operation] resource that can be
44
+ # described to track the status of the operation.
45
+ rpc :CreateAttachedCluster, ::Google::Cloud::GkeMultiCloud::V1::CreateAttachedClusterRequest, ::Google::Longrunning::Operation
46
+ # Updates an
47
+ # [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
48
+ rpc :UpdateAttachedCluster, ::Google::Cloud::GkeMultiCloud::V1::UpdateAttachedClusterRequest, ::Google::Longrunning::Operation
49
+ # Imports creates a new
50
+ # [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
51
+ # by importing an existing Fleet Membership resource.
52
+ #
53
+ # Attached Clusters created before the introduction of the Anthos Multi-Cloud
54
+ # API can be imported through this method.
55
+ #
56
+ # If successful, the response contains a newly created
57
+ # [Operation][google.longrunning.Operation] resource that can be
58
+ # described to track the status of the operation.
59
+ rpc :ImportAttachedCluster, ::Google::Cloud::GkeMultiCloud::V1::ImportAttachedClusterRequest, ::Google::Longrunning::Operation
60
+ # Describes a specific
61
+ # [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
62
+ rpc :GetAttachedCluster, ::Google::Cloud::GkeMultiCloud::V1::GetAttachedClusterRequest, ::Google::Cloud::GkeMultiCloud::V1::AttachedCluster
63
+ # Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
64
+ # resources on a given Google Cloud project and region.
65
+ rpc :ListAttachedClusters, ::Google::Cloud::GkeMultiCloud::V1::ListAttachedClustersRequest, ::Google::Cloud::GkeMultiCloud::V1::ListAttachedClustersResponse
66
+ # Deletes a specific
67
+ # [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
68
+ #
69
+ # If successful, the response contains a newly created
70
+ # [Operation][google.longrunning.Operation] resource that can be
71
+ # described to track the status of the operation.
72
+ rpc :DeleteAttachedCluster, ::Google::Cloud::GkeMultiCloud::V1::DeleteAttachedClusterRequest, ::Google::Longrunning::Operation
73
+ # Returns information, such as supported Kubernetes versions, on a given
74
+ # Google Cloud location.
75
+ rpc :GetAttachedServerConfig, ::Google::Cloud::GkeMultiCloud::V1::GetAttachedServerConfigRequest, ::Google::Cloud::GkeMultiCloud::V1::AttachedServerConfig
76
+ # Generates the install manifest to be installed on the target cluster.
77
+ rpc :GenerateAttachedClusterInstallManifest, ::Google::Cloud::GkeMultiCloud::V1::GenerateAttachedClusterInstallManifestRequest, ::Google::Cloud::GkeMultiCloud::V1::GenerateAttachedClusterInstallManifestResponse
78
+ end
79
+
80
+ Stub = Service.rpc_stub_class
81
+ end
82
+ end
83
+ end
84
+ end
85
+ end
@@ -29,6 +29,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
29
29
  optional :cluster_ca_certificate, :string, 17
30
30
  optional :fleet, :message, 18, "google.cloud.gkemulticloud.v1.Fleet"
31
31
  optional :logging_config, :message, 19, "google.cloud.gkemulticloud.v1.LoggingConfig"
32
+ repeated :errors, :message, 20, "google.cloud.gkemulticloud.v1.AwsClusterError"
33
+ optional :monitoring_config, :message, 21, "google.cloud.gkemulticloud.v1.MonitoringConfig"
32
34
  end
33
35
  add_enum "google.cloud.gkemulticloud.v1.AwsCluster.State" do
34
36
  value :STATE_UNSPECIFIED, 0
@@ -98,6 +100,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
98
100
  optional :etag, :string, 21
99
101
  map :annotations, :string, :string, 22
100
102
  optional :max_pods_constraint, :message, 27, "google.cloud.gkemulticloud.v1.MaxPodsConstraint"
103
+ repeated :errors, :message, 29, "google.cloud.gkemulticloud.v1.AwsNodePoolError"
101
104
  end
102
105
  add_enum "google.cloud.gkemulticloud.v1.AwsNodePool.State" do
103
106
  value :STATE_UNSPECIFIED, 0
@@ -121,6 +124,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
121
124
  optional :proxy_config, :message, 12, "google.cloud.gkemulticloud.v1.AwsProxyConfig"
122
125
  optional :config_encryption, :message, 13, "google.cloud.gkemulticloud.v1.AwsConfigEncryption"
123
126
  optional :instance_placement, :message, 14, "google.cloud.gkemulticloud.v1.AwsInstancePlacement"
127
+ optional :autoscaling_metrics_collection, :message, 15, "google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection"
124
128
  end
125
129
  add_message "google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling" do
126
130
  optional :min_node_count, :int32, 1
@@ -153,6 +157,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
153
157
  value :DEDICATED, 2
154
158
  value :HOST, 3
155
159
  end
160
+ add_message "google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection" do
161
+ optional :granularity, :string, 1
162
+ repeated :metrics, :string, 2
163
+ end
164
+ add_message "google.cloud.gkemulticloud.v1.AwsClusterError" do
165
+ optional :message, :string, 1
166
+ end
167
+ add_message "google.cloud.gkemulticloud.v1.AwsNodePoolError" do
168
+ optional :message, :string, 1
169
+ end
156
170
  end
157
171
  end
158
172
 
@@ -181,6 +195,9 @@ module Google
181
195
  AwsConfigEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AwsConfigEncryption").msgclass
182
196
  AwsInstancePlacement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AwsInstancePlacement").msgclass
183
197
  AwsInstancePlacement::Tenancy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy").enummodule
198
+ AwsAutoscalingGroupMetricsCollection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection").msgclass
199
+ AwsClusterError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AwsClusterError").msgclass
200
+ AwsNodePoolError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AwsNodePoolError").msgclass
184
201
  end
185
202
  end
186
203
  end
@@ -34,7 +34,8 @@ module Google
34
34
  self.unmarshal_class_method = :decode
35
35
  self.service_name = 'google.cloud.gkemulticloud.v1.AwsClusters'
36
36
 
37
- # Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given GCP project and region.
37
+ # Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
38
+ # resource on a given Google Cloud Platform project and region.
38
39
  #
39
40
  # If successful, the response contains a newly created
40
41
  # [Operation][google.longrunning.Operation] resource that can be
@@ -42,15 +43,17 @@ module Google
42
43
  rpc :CreateAwsCluster, ::Google::Cloud::GkeMultiCloud::V1::CreateAwsClusterRequest, ::Google::Longrunning::Operation
43
44
  # Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
44
45
  rpc :UpdateAwsCluster, ::Google::Cloud::GkeMultiCloud::V1::UpdateAwsClusterRequest, ::Google::Longrunning::Operation
45
- # Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
46
+ # Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
47
+ # resource.
46
48
  rpc :GetAwsCluster, ::Google::Cloud::GkeMultiCloud::V1::GetAwsClusterRequest, ::Google::Cloud::GkeMultiCloud::V1::AwsCluster
47
- # Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources on a given Google Cloud project and
48
- # region.
49
+ # Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
50
+ # on a given Google Cloud project and region.
49
51
  rpc :ListAwsClusters, ::Google::Cloud::GkeMultiCloud::V1::ListAwsClustersRequest, ::Google::Cloud::GkeMultiCloud::V1::ListAwsClustersResponse
50
- # Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
52
+ # Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
53
+ # resource.
51
54
  #
52
- # Fails if the cluster has one or more associated [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
53
- # resources.
55
+ # Fails if the cluster has one or more associated
56
+ # [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
54
57
  #
55
58
  # If successful, the response contains a newly created
56
59
  # [Operation][google.longrunning.Operation] resource that can be
@@ -59,7 +62,8 @@ module Google
59
62
  # Generates a short-lived access token to authenticate to a given
60
63
  # [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
61
64
  rpc :GenerateAwsAccessToken, ::Google::Cloud::GkeMultiCloud::V1::GenerateAwsAccessTokenRequest, ::Google::Cloud::GkeMultiCloud::V1::GenerateAwsAccessTokenResponse
62
- # Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool], attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
65
+ # Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
66
+ # attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
63
67
  #
64
68
  # If successful, the response contains a newly created
65
69
  # [Operation][google.longrunning.Operation] resource that can be
@@ -67,11 +71,15 @@ module Google
67
71
  rpc :CreateAwsNodePool, ::Google::Cloud::GkeMultiCloud::V1::CreateAwsNodePoolRequest, ::Google::Longrunning::Operation
68
72
  # Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
69
73
  rpc :UpdateAwsNodePool, ::Google::Cloud::GkeMultiCloud::V1::UpdateAwsNodePoolRequest, ::Google::Longrunning::Operation
70
- # Describes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
74
+ # Describes a specific
75
+ # [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
71
76
  rpc :GetAwsNodePool, ::Google::Cloud::GkeMultiCloud::V1::GetAwsNodePoolRequest, ::Google::Cloud::GkeMultiCloud::V1::AwsNodePool
72
- # Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources on a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
77
+ # Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
78
+ # resources on a given
79
+ # [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
73
80
  rpc :ListAwsNodePools, ::Google::Cloud::GkeMultiCloud::V1::ListAwsNodePoolsRequest, ::Google::Cloud::GkeMultiCloud::V1::ListAwsNodePoolsResponse
74
- # Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
81
+ # Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
82
+ # resource.
75
83
  #
76
84
  # If successful, the response contains a newly created
77
85
  # [Operation][google.longrunning.Operation] resource that can be
@@ -19,6 +19,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
19
19
  optional :networking, :message, 4, "google.cloud.gkemulticloud.v1.AzureClusterNetworking"
20
20
  optional :control_plane, :message, 5, "google.cloud.gkemulticloud.v1.AzureControlPlane"
21
21
  optional :authorization, :message, 6, "google.cloud.gkemulticloud.v1.AzureAuthorization"
22
+ optional :azure_services_authentication, :message, 22, "google.cloud.gkemulticloud.v1.AzureServicesAuthentication"
22
23
  optional :state, :enum, 7, "google.cloud.gkemulticloud.v1.AzureCluster.State"
23
24
  optional :endpoint, :string, 8
24
25
  optional :uid, :string, 9
@@ -32,6 +33,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
32
33
  optional :fleet, :message, 20, "google.cloud.gkemulticloud.v1.Fleet"
33
34
  optional :managed_resources, :message, 21, "google.cloud.gkemulticloud.v1.AzureClusterResources"
34
35
  optional :logging_config, :message, 23, "google.cloud.gkemulticloud.v1.LoggingConfig"
36
+ repeated :errors, :message, 24, "google.cloud.gkemulticloud.v1.AzureClusterError"
37
+ optional :monitoring_config, :message, 25, "google.cloud.gkemulticloud.v1.MonitoringConfig"
35
38
  end
36
39
  add_enum "google.cloud.gkemulticloud.v1.AzureCluster.State" do
37
40
  value :STATE_UNSPECIFIED, 0
@@ -84,14 +87,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
84
87
  optional :name, :string, 1
85
88
  optional :tenant_id, :string, 2
86
89
  optional :application_id, :string, 3
90
+ optional :reconciling, :bool, 9
87
91
  map :annotations, :string, :string, 8
88
92
  optional :pem_certificate, :string, 7
89
93
  optional :uid, :string, 5
90
94
  optional :create_time, :message, 6, "google.protobuf.Timestamp"
95
+ optional :update_time, :message, 10, "google.protobuf.Timestamp"
91
96
  end
92
97
  add_message "google.cloud.gkemulticloud.v1.AzureAuthorization" do
93
98
  repeated :admin_users, :message, 1, "google.cloud.gkemulticloud.v1.AzureClusterUser"
94
99
  end
100
+ add_message "google.cloud.gkemulticloud.v1.AzureServicesAuthentication" do
101
+ optional :tenant_id, :string, 1
102
+ optional :application_id, :string, 2
103
+ end
95
104
  add_message "google.cloud.gkemulticloud.v1.AzureClusterUser" do
96
105
  optional :username, :string, 1
97
106
  end
@@ -110,6 +119,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
110
119
  map :annotations, :string, :string, 13
111
120
  optional :max_pods_constraint, :message, 21, "google.cloud.gkemulticloud.v1.MaxPodsConstraint"
112
121
  optional :azure_availability_zone, :string, 23
122
+ repeated :errors, :message, 29, "google.cloud.gkemulticloud.v1.AzureNodePoolError"
113
123
  end
114
124
  add_enum "google.cloud.gkemulticloud.v1.AzureNodePool.State" do
115
125
  value :STATE_UNSPECIFIED, 0
@@ -150,6 +160,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
150
160
  optional :network_security_group_id, :string, 1
151
161
  optional :control_plane_application_security_group_id, :string, 2
152
162
  end
163
+ add_message "google.cloud.gkemulticloud.v1.AzureClusterError" do
164
+ optional :message, :string, 1
165
+ end
166
+ add_message "google.cloud.gkemulticloud.v1.AzureNodePoolError" do
167
+ optional :message, :string, 1
168
+ end
153
169
  end
154
170
  end
155
171
 
@@ -168,6 +184,7 @@ module Google
168
184
  AzureDiskTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureDiskTemplate").msgclass
169
185
  AzureClient = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureClient").msgclass
170
186
  AzureAuthorization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureAuthorization").msgclass
187
+ AzureServicesAuthentication = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureServicesAuthentication").msgclass
171
188
  AzureClusterUser = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureClusterUser").msgclass
172
189
  AzureNodePool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureNodePool").msgclass
173
190
  AzureNodePool::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureNodePool.State").enummodule
@@ -177,6 +194,8 @@ module Google
177
194
  AzureK8sVersionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureK8sVersionInfo").msgclass
178
195
  AzureSshConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureSshConfig").msgclass
179
196
  AzureClusterResources = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureClusterResources").msgclass
197
+ AzureClusterError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureClusterError").msgclass
198
+ AzureNodePoolError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureNodePoolError").msgclass
180
199
  end
181
200
  end
182
201
  end
@@ -34,8 +34,8 @@ module Google
34
34
  self.unmarshal_class_method = :decode
35
35
  self.service_name = 'google.cloud.gkemulticloud.v1.AzureClusters'
36
36
 
37
- # Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource on a given Google Cloud project
38
- # and region.
37
+ # Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
38
+ # resource on a given Google Cloud project and region.
39
39
  #
40
40
  # `AzureClient` resources hold client authentication
41
41
  # information needed by the Anthos Multicloud API to manage Azure resources
@@ -45,12 +45,14 @@ module Google
45
45
  # [Operation][google.longrunning.Operation] resource that can be
46
46
  # described to track the status of the operation.
47
47
  rpc :CreateAzureClient, ::Google::Cloud::GkeMultiCloud::V1::CreateAzureClientRequest, ::Google::Longrunning::Operation
48
- # Describes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
48
+ # Describes a specific
49
+ # [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
49
50
  rpc :GetAzureClient, ::Google::Cloud::GkeMultiCloud::V1::GetAzureClientRequest, ::Google::Cloud::GkeMultiCloud::V1::AzureClient
50
- # Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources on a given Google Cloud project and
51
- # region.
51
+ # Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
52
+ # resources on a given Google Cloud project and region.
52
53
  rpc :ListAzureClients, ::Google::Cloud::GkeMultiCloud::V1::ListAzureClientsRequest, ::Google::Cloud::GkeMultiCloud::V1::ListAzureClientsResponse
53
- # Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
54
+ # Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
55
+ # resource.
54
56
  #
55
57
  # If the client is used by one or more clusters, deletion will
56
58
  # fail and a `FAILED_PRECONDITION` error will be returned.
@@ -59,7 +61,8 @@ module Google
59
61
  # [Operation][google.longrunning.Operation] resource that can be
60
62
  # described to track the status of the operation.
61
63
  rpc :DeleteAzureClient, ::Google::Cloud::GkeMultiCloud::V1::DeleteAzureClientRequest, ::Google::Longrunning::Operation
62
- # Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.
64
+ # Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
65
+ # resource on a given Google Cloud Platform project and region.
63
66
  #
64
67
  # If successful, the response contains a newly created
65
68
  # [Operation][google.longrunning.Operation] resource that can be
@@ -67,15 +70,17 @@ module Google
67
70
  rpc :CreateAzureCluster, ::Google::Cloud::GkeMultiCloud::V1::CreateAzureClusterRequest, ::Google::Longrunning::Operation
68
71
  # Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
69
72
  rpc :UpdateAzureCluster, ::Google::Cloud::GkeMultiCloud::V1::UpdateAzureClusterRequest, ::Google::Longrunning::Operation
70
- # Describes a specific [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
73
+ # Describes a specific
74
+ # [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
71
75
  rpc :GetAzureCluster, ::Google::Cloud::GkeMultiCloud::V1::GetAzureClusterRequest, ::Google::Cloud::GkeMultiCloud::V1::AzureCluster
72
- # Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources on a given Google Cloud project and
73
- # region.
76
+ # Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
77
+ # resources on a given Google Cloud project and region.
74
78
  rpc :ListAzureClusters, ::Google::Cloud::GkeMultiCloud::V1::ListAzureClustersRequest, ::Google::Cloud::GkeMultiCloud::V1::ListAzureClustersResponse
75
- # Deletes a specific [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
79
+ # Deletes a specific
80
+ # [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
76
81
  #
77
- # Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
78
- # resources.
82
+ # Fails if the cluster has one or more associated
83
+ # [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
79
84
  #
80
85
  # If successful, the response contains a newly created
81
86
  # [Operation][google.longrunning.Operation] resource that can be
@@ -84,7 +89,9 @@ module Google
84
89
  # Generates a short-lived access token to authenticate to a given
85
90
  # [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
86
91
  rpc :GenerateAzureAccessToken, ::Google::Cloud::GkeMultiCloud::V1::GenerateAzureAccessTokenRequest, ::Google::Cloud::GkeMultiCloud::V1::GenerateAzureAccessTokenResponse
87
- # Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool], attached to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
92
+ # Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],
93
+ # attached to a given
94
+ # [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
88
95
  #
89
96
  # If successful, the response contains a newly created
90
97
  # [Operation][google.longrunning.Operation] resource that can be
@@ -92,11 +99,15 @@ module Google
92
99
  rpc :CreateAzureNodePool, ::Google::Cloud::GkeMultiCloud::V1::CreateAzureNodePoolRequest, ::Google::Longrunning::Operation
93
100
  # Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
94
101
  rpc :UpdateAzureNodePool, ::Google::Cloud::GkeMultiCloud::V1::UpdateAzureNodePoolRequest, ::Google::Longrunning::Operation
95
- # Describes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
102
+ # Describes a specific
103
+ # [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
96
104
  rpc :GetAzureNodePool, ::Google::Cloud::GkeMultiCloud::V1::GetAzureNodePoolRequest, ::Google::Cloud::GkeMultiCloud::V1::AzureNodePool
97
- # Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
105
+ # Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
106
+ # resources on a given
107
+ # [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
98
108
  rpc :ListAzureNodePools, ::Google::Cloud::GkeMultiCloud::V1::ListAzureNodePoolsRequest, ::Google::Cloud::GkeMultiCloud::V1::ListAzureNodePoolsResponse
99
- # Deletes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
109
+ # Deletes a specific
110
+ # [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
100
111
  #
101
112
  # If successful, the response contains a newly created
102
113
  # [Operation][google.longrunning.Operation] resource that can be
@@ -22,6 +22,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
22
22
  optional :target, :string, 3
23
23
  optional :status_detail, :string, 4
24
24
  optional :error_detail, :string, 5
25
+ optional :verb, :string, 7
26
+ optional :requested_cancellation, :bool, 6
25
27
  end
26
28
  add_message "google.cloud.gkemulticloud.v1.NodeTaint" do
27
29
  optional :key, :string, 1
@@ -49,6 +51,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
49
51
  value :SYSTEM_COMPONENTS, 1
50
52
  value :WORKLOADS, 2
51
53
  end
54
+ add_message "google.cloud.gkemulticloud.v1.MonitoringConfig" do
55
+ optional :managed_prometheus_config, :message, 2, "google.cloud.gkemulticloud.v1.ManagedPrometheusConfig"
56
+ end
57
+ add_message "google.cloud.gkemulticloud.v1.ManagedPrometheusConfig" do
58
+ optional :enabled, :bool, 1
59
+ end
52
60
  end
53
61
  end
54
62
 
@@ -65,6 +73,8 @@ module Google
65
73
  LoggingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.LoggingConfig").msgclass
66
74
  LoggingComponentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.LoggingComponentConfig").msgclass
67
75
  LoggingComponentConfig::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component").enummodule
76
+ MonitoringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.MonitoringConfig").msgclass
77
+ ManagedPrometheusConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.ManagedPrometheusConfig").msgclass
68
78
  end
69
79
  end
70
80
  end