google-cloud-gke_multi_cloud-v1 0.10.1 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +31 -21
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/client.rb +34 -11
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/operations.rb +12 -15
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/rest/client.rb +34 -11
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/rest/operations.rb +43 -38
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/rest/service_stub.rb +86 -56
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/client.rb +36 -17
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/operations.rb +12 -15
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/rest/client.rb +36 -17
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/rest/operations.rb +43 -38
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/rest/service_stub.rb +142 -98
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/client.rb +38 -20
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/operations.rb +12 -15
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/rest/client.rb +38 -20
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/rest/operations.rb +43 -38
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/rest/service_stub.rb +166 -116
- data/lib/google/cloud/gke_multi_cloud/v1/version.rb +1 -1
- data/lib/google/cloud/gkemulticloud/v1/attached_resources_pb.rb +1 -1
- data/lib/google/cloud/gkemulticloud/v1/aws_resources_pb.rb +1 -1
- data/lib/google/cloud/gkemulticloud/v1/common_resources_pb.rb +4 -1
- data/proto_docs/google/api/client.rb +39 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/attached_resources.rb +3 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/attached_service.rb +2 -1
- data/proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb +4 -1
- data/proto_docs/google/cloud/gkemulticloud/v1/azure_resources.rb +1 -1
- data/proto_docs/google/cloud/gkemulticloud/v1/common_resources.rb +74 -0
- data/proto_docs/google/longrunning/operations.rb +19 -14
- metadata +11 -12
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -212,6 +215,12 @@ module Google
|
|
212
215
|
# enabled. By default, asynchronous REST clients will not be generated.
|
213
216
|
# This feature will be enabled by default 1 month after launching the
|
214
217
|
# feature in preview packages.
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
223
|
+
# packages.
|
215
224
|
class ExperimentalFeatures
|
216
225
|
include ::Google::Protobuf::MessageExts
|
217
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -297,9 +306,28 @@ module Google
|
|
297
306
|
# @!attribute [rw] common
|
298
307
|
# @return [::Google::Api::CommonLanguageSettings]
|
299
308
|
# Some settings.
|
309
|
+
# @!attribute [rw] renamed_services
|
310
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
311
|
+
# Map of service names to renamed services. Keys are the package relative
|
312
|
+
# service names and values are the name to be used for the service client
|
313
|
+
# and call options.
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# go_settings:
|
317
|
+
# renamed_services:
|
318
|
+
# Publisher: TopicAdmin
|
300
319
|
class GoSettings
|
301
320
|
include ::Google::Protobuf::MessageExts
|
302
321
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
|
+
|
323
|
+
# @!attribute [rw] key
|
324
|
+
# @return [::String]
|
325
|
+
# @!attribute [rw] value
|
326
|
+
# @return [::String]
|
327
|
+
class RenamedServicesEntry
|
328
|
+
include ::Google::Protobuf::MessageExts
|
329
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
330
|
+
end
|
303
331
|
end
|
304
332
|
|
305
333
|
# Describes the generator configuration for a method.
|
@@ -375,6 +403,17 @@ module Google
|
|
375
403
|
end
|
376
404
|
end
|
377
405
|
|
406
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
407
|
+
# a service for client libraries.
|
408
|
+
# @!attribute [rw] methods
|
409
|
+
# @return [::Array<::String>]
|
410
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
411
|
+
# on public client surfaces.
|
412
|
+
class SelectiveGapicGeneration
|
413
|
+
include ::Google::Protobuf::MessageExts
|
414
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
415
|
+
end
|
416
|
+
|
378
417
|
# The organization for which the client libraries are being published.
|
379
418
|
# Affects the url where generated docs are published, etc.
|
380
419
|
module ClientLibraryOrganization
|
@@ -116,6 +116,9 @@ module Google
|
|
116
116
|
# @!attribute [rw] binary_authorization
|
117
117
|
# @return [::Google::Cloud::GkeMultiCloud::V1::BinaryAuthorization]
|
118
118
|
# Optional. Binary Authorization configuration for this cluster.
|
119
|
+
# @!attribute [rw] security_posture_config
|
120
|
+
# @return [::Google::Cloud::GkeMultiCloud::V1::SecurityPostureConfig]
|
121
|
+
# Optional. Security Posture configuration for this cluster.
|
119
122
|
class AttachedCluster
|
120
123
|
include ::Google::Protobuf::MessageExts
|
121
124
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -138,7 +138,7 @@ module Google
|
|
138
138
|
# @return [::String]
|
139
139
|
# Required. The Kubernetes distribution of the underlying attached cluster.
|
140
140
|
#
|
141
|
-
# Supported values: ["eks", "aks"].
|
141
|
+
# Supported values: ["eks", "aks", "generic"].
|
142
142
|
# @!attribute [rw] proxy_config
|
143
143
|
# @return [::Google::Cloud::GkeMultiCloud::V1::AttachedProxyConfig]
|
144
144
|
# Optional. Proxy configuration for outbound HTTP(S) traffic.
|
@@ -173,6 +173,7 @@ module Google
|
|
173
173
|
# * `platform_version`.
|
174
174
|
# * `proxy_config.kubernetes_secret.name`.
|
175
175
|
# * `proxy_config.kubernetes_secret.namespace`.
|
176
|
+
# * `security_posture_config.vulnerability_mode`
|
176
177
|
class UpdateAttachedClusterRequest
|
177
178
|
include ::Google::Protobuf::MessageExts
|
178
179
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -457,6 +457,9 @@ module Google
|
|
457
457
|
# @!attribute [rw] management
|
458
458
|
# @return [::Google::Cloud::GkeMultiCloud::V1::AwsNodeManagement]
|
459
459
|
# Optional. The Management configuration for this node pool.
|
460
|
+
# @!attribute [rw] kubelet_config
|
461
|
+
# @return [::Google::Cloud::GkeMultiCloud::V1::NodeKubeletConfig]
|
462
|
+
# Optional. Node kubelet configs.
|
460
463
|
# @!attribute [rw] update_settings
|
461
464
|
# @return [::Google::Cloud::GkeMultiCloud::V1::UpdateSettings]
|
462
465
|
# Optional. Update settings control the speed and disruption of the update.
|
@@ -769,7 +772,7 @@ module Google
|
|
769
772
|
#
|
770
773
|
# The secret must be a JSON encoded proxy configuration
|
771
774
|
# as described in
|
772
|
-
# https://cloud.google.com/
|
775
|
+
# https://cloud.google.com/kubernetes-engine/multi-cloud/docs/aws/how-to/use-a-proxy#create_a_proxy_configuration_file
|
773
776
|
# @!attribute [rw] secret_version
|
774
777
|
# @return [::String]
|
775
778
|
# The version string of the AWS Secret Manager secret that contains the
|
@@ -337,7 +337,7 @@ module Google
|
|
337
337
|
#
|
338
338
|
# The secret must be a JSON encoded proxy configuration
|
339
339
|
# as described in
|
340
|
-
# https://cloud.google.com/
|
340
|
+
# https://cloud.google.com/kubernetes-engine/multi-cloud/docs/azure/how-to/use-a-proxy#create_a_proxy_configuration_file
|
341
341
|
#
|
342
342
|
# Secret ids are formatted as
|
343
343
|
# `https://<key-vault-name>.vault.azure.net/secrets/<secret-name>/<secret-version>`.
|
@@ -148,6 +148,57 @@ module Google
|
|
148
148
|
end
|
149
149
|
end
|
150
150
|
|
151
|
+
# Configuration for node pool kubelet options.
|
152
|
+
# @!attribute [rw] insecure_kubelet_readonly_port_enabled
|
153
|
+
# @return [::Boolean]
|
154
|
+
# Optional. Enable the insecure kubelet read only port.
|
155
|
+
# @!attribute [rw] cpu_manager_policy
|
156
|
+
# @return [::String]
|
157
|
+
# Optional. Control the CPU management policy on the node.
|
158
|
+
# See
|
159
|
+
# https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/
|
160
|
+
#
|
161
|
+
# The following values are allowed.
|
162
|
+
# * "none": the default, which represents the existing scheduling behavior.
|
163
|
+
# * "static": allows pods with certain resource characteristics to be granted
|
164
|
+
# increased CPU affinity and exclusivity on the node.
|
165
|
+
# The default value is 'none' if unspecified.
|
166
|
+
# @!attribute [rw] cpu_cfs_quota
|
167
|
+
# @return [::Boolean]
|
168
|
+
# Optional. Enable CPU CFS quota enforcement for containers that specify CPU
|
169
|
+
# limits.
|
170
|
+
#
|
171
|
+
# This option is enabled by default which makes kubelet use CFS quota
|
172
|
+
# (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to
|
173
|
+
# enforce container CPU limits. Otherwise, CPU limits will not be enforced at
|
174
|
+
# all.
|
175
|
+
#
|
176
|
+
# Disable this option to mitigate CPU throttling problems while still having
|
177
|
+
# your pods to be in Guaranteed QoS class by specifying the CPU limits.
|
178
|
+
#
|
179
|
+
# The default value is 'true' if unspecified.
|
180
|
+
# @!attribute [rw] cpu_cfs_quota_period
|
181
|
+
# @return [::String]
|
182
|
+
# Optional. Set the CPU CFS quota period value 'cpu.cfs_period_us'.
|
183
|
+
#
|
184
|
+
# The string must be a sequence of decimal numbers, each with optional
|
185
|
+
# fraction and a unit suffix, such as "300ms".
|
186
|
+
# Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
|
187
|
+
# The value must be a positive duration.
|
188
|
+
#
|
189
|
+
# The default value is '100ms' if unspecified.
|
190
|
+
# @!attribute [rw] pod_pids_limit
|
191
|
+
# @return [::Integer]
|
192
|
+
# Optional. Set the Pod PID limits. See
|
193
|
+
# https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
|
194
|
+
#
|
195
|
+
# Controls the maximum number of processes allowed to run in a pod. The value
|
196
|
+
# must be greater than or equal to 1024 and less than 4194304.
|
197
|
+
class NodeKubeletConfig
|
198
|
+
include ::Google::Protobuf::MessageExts
|
199
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
200
|
+
end
|
201
|
+
|
151
202
|
# Fleet related configuration.
|
152
203
|
#
|
153
204
|
# Fleets are a Google Cloud concept for logically organizing clusters,
|
@@ -247,6 +298,29 @@ module Google
|
|
247
298
|
PROJECT_SINGLETON_POLICY_ENFORCE = 2
|
248
299
|
end
|
249
300
|
end
|
301
|
+
|
302
|
+
# SecurityPostureConfig defines the flags needed to enable/disable features for
|
303
|
+
# the Security Posture API.
|
304
|
+
# @!attribute [rw] vulnerability_mode
|
305
|
+
# @return [::Google::Cloud::GkeMultiCloud::V1::SecurityPostureConfig::VulnerabilityMode]
|
306
|
+
# Sets which mode to use for vulnerability scanning.
|
307
|
+
class SecurityPostureConfig
|
308
|
+
include ::Google::Protobuf::MessageExts
|
309
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
310
|
+
|
311
|
+
# VulnerabilityMode defines enablement mode for vulnerability scanning.
|
312
|
+
module VulnerabilityMode
|
313
|
+
# Default value not specified.
|
314
|
+
VULNERABILITY_MODE_UNSPECIFIED = 0
|
315
|
+
|
316
|
+
# Disables vulnerability scanning on the cluster.
|
317
|
+
VULNERABILITY_DISABLED = 1
|
318
|
+
|
319
|
+
# Applies the Security Posture's vulnerability on cluster Enterprise level
|
320
|
+
# features.
|
321
|
+
VULNERABILITY_ENTERPRISE = 2
|
322
|
+
end
|
323
|
+
end
|
250
324
|
end
|
251
325
|
end
|
252
326
|
end
|
@@ -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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
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.
|
4
|
+
version: 0.12.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-
|
11
|
+
date: 2024-12-10 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.
|
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.
|
29
|
+
version: 0.24.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -139,14 +139,13 @@ 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.
|
142
|
+
rubygems_version: 3.5.23
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
|
-
summary:
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
tools.
|
145
|
+
summary: GKE Multi-Cloud provides a way to manage Kubernetes clusters that run on
|
146
|
+
AWS and Azure infrastructure using the GKE Multi-Cloud API. Combined with Connect,
|
147
|
+
you can manage Kubernetes clusters on Google Cloud, AWS, and Azure from the Google
|
148
|
+
Cloud Console. When you create a cluster with GKE Multi-Cloud, Google creates the
|
149
|
+
resources needed and brings up a cluster on your behalf. You can deploy workloads
|
150
|
+
with the GKE Multi-Cloud API or the gcloud and kubectl command-line tools.
|
152
151
|
test_files: []
|