google-cloud-gke_multi_cloud-v1 0.11.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +30 -20
  3. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/client.rb +33 -10
  4. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/operations.rb +12 -15
  5. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/rest/client.rb +33 -10
  6. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/rest/operations.rb +43 -38
  7. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/rest/service_stub.rb +86 -56
  8. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/client.rb +36 -17
  9. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/operations.rb +12 -15
  10. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/rest/client.rb +36 -17
  11. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/rest/operations.rb +43 -38
  12. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/rest/service_stub.rb +142 -98
  13. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/client.rb +38 -20
  14. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/operations.rb +12 -15
  15. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/rest/client.rb +38 -20
  16. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/rest/operations.rb +43 -38
  17. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/rest/service_stub.rb +166 -116
  18. data/lib/google/cloud/gke_multi_cloud/v1/version.rb +1 -1
  19. data/lib/google/cloud/gkemulticloud/v1/attached_resources_pb.rb +1 -1
  20. data/lib/google/cloud/gkemulticloud/v1/common_resources_pb.rb +2 -1
  21. data/proto_docs/google/api/client.rb +39 -0
  22. data/proto_docs/google/cloud/gkemulticloud/v1/attached_resources.rb +27 -0
  23. data/proto_docs/google/cloud/gkemulticloud/v1/attached_service.rb +1 -0
  24. data/proto_docs/google/cloud/gkemulticloud/v1/common_resources.rb +20 -3
  25. data/proto_docs/google/longrunning/operations.rb +19 -14
  26. metadata +5 -5
@@ -119,6 +119,20 @@ module Google
119
119
  # @!attribute [rw] security_posture_config
120
120
  # @return [::Google::Cloud::GkeMultiCloud::V1::SecurityPostureConfig]
121
121
  # Optional. Security Posture configuration for this cluster.
122
+ # @!attribute [rw] tags
123
+ # @return [::Google::Protobuf::Map{::String => ::String}]
124
+ # Optional. Input only. Tag keys/values directly bound to this resource.
125
+ #
126
+ # Tag key must be specified in the format <tag namespace>/<tag key name>
127
+ # where the tag namespace is the ID of the organization or name of the
128
+ # project that the tag key is defined in.
129
+ # The short name of a tag key or value can have a maximum length of 256
130
+ # characters. The permitted character set for the short name includes UTF-8
131
+ # encoded Unicode characters except single quotes ('), double quotes ("),
132
+ # backslashes (\), and forward slashes (/).
133
+ #
134
+ # See [Tags](http://cloud/resource-manager/docs/tags/tags-overview)
135
+ # for more details on Google Cloud Platform tags.
122
136
  class AttachedCluster
123
137
  include ::Google::Protobuf::MessageExts
124
138
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -132,6 +146,15 @@ module Google
132
146
  extend ::Google::Protobuf::MessageExts::ClassMethods
133
147
  end
134
148
 
149
+ # @!attribute [rw] key
150
+ # @return [::String]
151
+ # @!attribute [rw] value
152
+ # @return [::String]
153
+ class TagsEntry
154
+ include ::Google::Protobuf::MessageExts
155
+ extend ::Google::Protobuf::MessageExts::ClassMethods
156
+ end
157
+
135
158
  # The lifecycle state of the cluster.
136
159
  module State
137
160
  # Not set.
@@ -266,6 +289,10 @@ module Google
266
289
  # The Kubernetes Secret resource that contains the HTTP(S) proxy
267
290
  # configuration. The secret must be a JSON encoded proxy configuration
268
291
  # as described in
292
+ # https://cloud.google.com/kubernetes-engine/multi-cloud/docs/attached/eks/how-to/use-a-proxy#configure-proxy-support
293
+ # for EKS clusters and
294
+ # https://cloud.google.com/kubernetes-engine/multi-cloud/docs/attached/aks/how-to/use-a-proxy#configure-proxy-support
295
+ # for AKS clusters.
269
296
  class AttachedProxyConfig
270
297
  include ::Google::Protobuf::MessageExts
271
298
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -174,6 +174,7 @@ module Google
174
174
  # * `proxy_config.kubernetes_secret.name`.
175
175
  # * `proxy_config.kubernetes_secret.namespace`.
176
176
  # * `security_posture_config.vulnerability_mode`
177
+ # * `monitoring_config.cloud_monitoring_config.enabled`
177
178
  class UpdateAttachedClusterRequest
178
179
  include ::Google::Protobuf::MessageExts
179
180
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -104,9 +104,10 @@ module Google
104
104
  # @return [::Boolean]
105
105
  # Output only. Identifies whether it has been requested cancellation
106
106
  # for the operation. Operations that have successfully been cancelled
107
- # have [Operation.error][] value with a
108
- # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
109
- # `Code.CANCELLED`.
107
+ # have
108
+ # {::Google::Longrunning::Operation#error google.longrunning.Operation.error}
109
+ # value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
110
+ # corresponding to `Code.CANCELLED`.
110
111
  class OperationMetadata
111
112
  include ::Google::Protobuf::MessageExts
112
113
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -261,6 +262,10 @@ module Google
261
262
  # @!attribute [rw] managed_prometheus_config
262
263
  # @return [::Google::Cloud::GkeMultiCloud::V1::ManagedPrometheusConfig]
263
264
  # Enable Google Cloud Managed Service for Prometheus in the cluster.
265
+ # @!attribute [rw] cloud_monitoring_config
266
+ # @return [::Google::Cloud::GkeMultiCloud::V1::CloudMonitoringConfig]
267
+ # Optionally enable GKE metrics.
268
+ # Only for Attached Clusters.
264
269
  class MonitoringConfig
265
270
  include ::Google::Protobuf::MessageExts
266
271
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -276,6 +281,18 @@ module Google
276
281
  extend ::Google::Protobuf::MessageExts::ClassMethods
277
282
  end
278
283
 
284
+ # CloudMonitoringConfig defines the configuration for
285
+ # built-in Cloud Logging and Monitoring.
286
+ # Only for Attached Clusters.
287
+ # @!attribute [rw] enabled
288
+ # @return [::Boolean]
289
+ # Enable GKE-native logging and metrics.
290
+ # Only for Attached Clusters.
291
+ class CloudMonitoringConfig
292
+ include ::Google::Protobuf::MessageExts
293
+ extend ::Google::Protobuf::MessageExts::ClassMethods
294
+ end
295
+
279
296
  # Configuration for Binary Authorization.
280
297
  # @!attribute [rw] evaluation_mode
281
298
  # @return [::Google::Cloud::GkeMultiCloud::V1::BinaryAuthorization::EvaluationMode]
@@ -42,7 +42,7 @@ module Google
42
42
  # The error result of the operation in case of failure or cancellation.
43
43
  # @!attribute [rw] response
44
44
  # @return [::Google::Protobuf::Any]
45
- # The normal response of the operation in case of success. If the original
45
+ # The normal, successful response of the operation. If the original
46
46
  # method returns no data on success, such as `Delete`, the response is
47
47
  # `google.protobuf.Empty`. If the original method is standard
48
48
  # `Get`/`Create`/`Update`, the response should be the resource. For other
@@ -55,7 +55,8 @@ module Google
55
55
  extend ::Google::Protobuf::MessageExts::ClassMethods
56
56
  end
57
57
 
58
- # The request message for Operations.GetOperation.
58
+ # The request message for
59
+ # Operations.GetOperation.
59
60
  # @!attribute [rw] name
60
61
  # @return [::String]
61
62
  # The name of the operation resource.
@@ -64,7 +65,8 @@ module Google
64
65
  extend ::Google::Protobuf::MessageExts::ClassMethods
65
66
  end
66
67
 
67
- # The request message for Operations.ListOperations.
68
+ # The request message for
69
+ # Operations.ListOperations.
68
70
  # @!attribute [rw] name
69
71
  # @return [::String]
70
72
  # The name of the operation's parent resource.
@@ -82,7 +84,8 @@ module Google
82
84
  extend ::Google::Protobuf::MessageExts::ClassMethods
83
85
  end
84
86
 
85
- # The response message for Operations.ListOperations.
87
+ # The response message for
88
+ # Operations.ListOperations.
86
89
  # @!attribute [rw] operations
87
90
  # @return [::Array<::Google::Longrunning::Operation>]
88
91
  # A list of operations that matches the specified filter in the request.
@@ -94,7 +97,8 @@ module Google
94
97
  extend ::Google::Protobuf::MessageExts::ClassMethods
95
98
  end
96
99
 
97
- # The request message for Operations.CancelOperation.
100
+ # The request message for
101
+ # Operations.CancelOperation.
98
102
  # @!attribute [rw] name
99
103
  # @return [::String]
100
104
  # The name of the operation resource to be cancelled.
@@ -103,7 +107,8 @@ module Google
103
107
  extend ::Google::Protobuf::MessageExts::ClassMethods
104
108
  end
105
109
 
106
- # The request message for Operations.DeleteOperation.
110
+ # The request message for
111
+ # Operations.DeleteOperation.
107
112
  # @!attribute [rw] name
108
113
  # @return [::String]
109
114
  # The name of the operation resource to be deleted.
@@ -112,7 +117,8 @@ module Google
112
117
  extend ::Google::Protobuf::MessageExts::ClassMethods
113
118
  end
114
119
 
115
- # The request message for Operations.WaitOperation.
120
+ # The request message for
121
+ # Operations.WaitOperation.
116
122
  # @!attribute [rw] name
117
123
  # @return [::String]
118
124
  # The name of the operation resource to wait on.
@@ -130,13 +136,12 @@ module Google
130
136
  #
131
137
  # Example:
132
138
  #
133
- # rpc LongRunningRecognize(LongRunningRecognizeRequest)
134
- # returns (google.longrunning.Operation) {
135
- # option (google.longrunning.operation_info) = {
136
- # response_type: "LongRunningRecognizeResponse"
137
- # metadata_type: "LongRunningRecognizeMetadata"
138
- # };
139
- # }
139
+ # rpc Export(ExportRequest) returns (google.longrunning.Operation) {
140
+ # option (google.longrunning.operation_info) = {
141
+ # response_type: "ExportResponse"
142
+ # metadata_type: "ExportMetadata"
143
+ # };
144
+ # }
140
145
  # @!attribute [rw] response_type
141
146
  # @return [::String]
142
147
  # Required. The message name of the primary return type for this
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-gke_multi_cloud-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-20 00:00:00.000000000 Z
11
+ date: 2025-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.21.1
19
+ version: 0.24.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.21.1
29
+ version: 0.24.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  requirements: []
142
- rubygems_version: 3.5.6
142
+ rubygems_version: 3.5.23
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: GKE Multi-Cloud provides a way to manage Kubernetes clusters that run on