google-apis-container_v1 0.113.0 → 0.114.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8eb9121cfec26adacda1a1eecfb585ddceafb0ac38b2ee31fb05c7fa45dc6f1c
|
|
4
|
+
data.tar.gz: c5bb013c2bfab37fae7b1aba4c3a964f03207d8fef6173c7a459c592608f3f33
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f201ba0d3a96468fabaca065974dcb898dc8f2fb87c3c3b421051b87eac9a5379e97a0afc41d390e3eb951056e4620f3da2dce1fc7ce0e0d3ddaad494cc7c5b
|
|
7
|
+
data.tar.gz: a78eb4a861692922c872970e08128d6512edccdc4df134b0af905d2901a746b4a524548596dd7740591ff6e45169a97a90e5b2fedeaa22e52f2f58d725fa3e1f
|
data/CHANGELOG.md
CHANGED
|
@@ -1243,8 +1243,10 @@ module Google
|
|
|
1243
1243
|
# @return [String]
|
|
1244
1244
|
attr_accessor :cluster_ipv4_cidr
|
|
1245
1245
|
|
|
1246
|
-
#
|
|
1247
|
-
#
|
|
1246
|
+
# Deprecated: Compliance Posture is no longer supported. For more details, see
|
|
1247
|
+
# https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-
|
|
1248
|
+
# management-deprecation. CompliancePostureConfig defines the settings needed to
|
|
1249
|
+
# enable/disable features for the Compliance Posture.
|
|
1248
1250
|
# Corresponds to the JSON property `compliancePostureConfig`
|
|
1249
1251
|
# @return [Google::Apis::ContainerV1::CompliancePostureConfig]
|
|
1250
1252
|
attr_accessor :compliance_posture_config
|
|
@@ -1932,8 +1934,10 @@ module Google
|
|
|
1932
1934
|
# @return [Google::Apis::ContainerV1::ClusterAutoscaling]
|
|
1933
1935
|
attr_accessor :desired_cluster_autoscaling
|
|
1934
1936
|
|
|
1935
|
-
#
|
|
1936
|
-
#
|
|
1937
|
+
# Deprecated: Compliance Posture is no longer supported. For more details, see
|
|
1938
|
+
# https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-
|
|
1939
|
+
# management-deprecation. CompliancePostureConfig defines the settings needed to
|
|
1940
|
+
# enable/disable features for the Compliance Posture.
|
|
1937
1941
|
# Corresponds to the JSON property `desiredCompliancePostureConfig`
|
|
1938
1942
|
# @return [Google::Apis::ContainerV1::CompliancePostureConfig]
|
|
1939
1943
|
attr_accessor :desired_compliance_posture_config
|
|
@@ -2536,8 +2540,10 @@ module Google
|
|
|
2536
2540
|
end
|
|
2537
2541
|
end
|
|
2538
2542
|
|
|
2539
|
-
#
|
|
2540
|
-
#
|
|
2543
|
+
# Deprecated: Compliance Posture is no longer supported. For more details, see
|
|
2544
|
+
# https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-
|
|
2545
|
+
# management-deprecation. CompliancePostureConfig defines the settings needed to
|
|
2546
|
+
# enable/disable features for the Compliance Posture.
|
|
2541
2547
|
class CompliancePostureConfig
|
|
2542
2548
|
include Google::Apis::Core::Hashable
|
|
2543
2549
|
|
|
@@ -2728,6 +2734,31 @@ module Google
|
|
|
2728
2734
|
end
|
|
2729
2735
|
end
|
|
2730
2736
|
|
|
2737
|
+
# Contains config to modify node-level parameters for container restart behavior.
|
|
2738
|
+
class CrashLoopBackOffConfig
|
|
2739
|
+
include Google::Apis::Core::Hashable
|
|
2740
|
+
|
|
2741
|
+
# Optional. The maximum duration the backoff delay can accrue to for container
|
|
2742
|
+
# restarts, minimum 1 second, maximum 300 seconds. If not set, defaults to the
|
|
2743
|
+
# internal crashloopbackoff maximum. The string must be a sequence of decimal
|
|
2744
|
+
# numbers, each with optional fraction and a unit suffix, such as "300ms". Valid
|
|
2745
|
+
# time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". See https://
|
|
2746
|
+
# kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-
|
|
2747
|
+
# container-restart-delay for more details.
|
|
2748
|
+
# Corresponds to the JSON property `maxContainerRestartPeriod`
|
|
2749
|
+
# @return [String]
|
|
2750
|
+
attr_accessor :max_container_restart_period
|
|
2751
|
+
|
|
2752
|
+
def initialize(**args)
|
|
2753
|
+
update!(**args)
|
|
2754
|
+
end
|
|
2755
|
+
|
|
2756
|
+
# Update properties of this object
|
|
2757
|
+
def update!(**args)
|
|
2758
|
+
@max_container_restart_period = args[:max_container_restart_period] if args.key?(:max_container_restart_period)
|
|
2759
|
+
end
|
|
2760
|
+
end
|
|
2761
|
+
|
|
2731
2762
|
# CreateClusterRequest creates a cluster.
|
|
2732
2763
|
class CreateClusterRequest
|
|
2733
2764
|
include Google::Apis::Core::Hashable
|
|
@@ -3081,6 +3112,47 @@ module Google
|
|
|
3081
3112
|
end
|
|
3082
3113
|
end
|
|
3083
3114
|
|
|
3115
|
+
# DisruptionBudget defines the upgrade disruption budget for the cluster control
|
|
3116
|
+
# plane.
|
|
3117
|
+
class DisruptionBudget
|
|
3118
|
+
include Google::Apis::Core::Hashable
|
|
3119
|
+
|
|
3120
|
+
# Output only. The last time a disruption was performed on the control plane.
|
|
3121
|
+
# Corresponds to the JSON property `lastDisruptionTime`
|
|
3122
|
+
# @return [String]
|
|
3123
|
+
attr_accessor :last_disruption_time
|
|
3124
|
+
|
|
3125
|
+
# Output only. The last time a minor version upgrade was performed on the
|
|
3126
|
+
# control plane.
|
|
3127
|
+
# Corresponds to the JSON property `lastMinorVersionDisruptionTime`
|
|
3128
|
+
# @return [String]
|
|
3129
|
+
attr_accessor :last_minor_version_disruption_time
|
|
3130
|
+
|
|
3131
|
+
# Optional. The minimum duration between two minor version upgrades of the
|
|
3132
|
+
# control plane.
|
|
3133
|
+
# Corresponds to the JSON property `minorVersionDisruptionInterval`
|
|
3134
|
+
# @return [String]
|
|
3135
|
+
attr_accessor :minor_version_disruption_interval
|
|
3136
|
+
|
|
3137
|
+
# Optional. The minimum duration between two patch version upgrades of the
|
|
3138
|
+
# control plane.
|
|
3139
|
+
# Corresponds to the JSON property `patchVersionDisruptionInterval`
|
|
3140
|
+
# @return [String]
|
|
3141
|
+
attr_accessor :patch_version_disruption_interval
|
|
3142
|
+
|
|
3143
|
+
def initialize(**args)
|
|
3144
|
+
update!(**args)
|
|
3145
|
+
end
|
|
3146
|
+
|
|
3147
|
+
# Update properties of this object
|
|
3148
|
+
def update!(**args)
|
|
3149
|
+
@last_disruption_time = args[:last_disruption_time] if args.key?(:last_disruption_time)
|
|
3150
|
+
@last_minor_version_disruption_time = args[:last_minor_version_disruption_time] if args.key?(:last_minor_version_disruption_time)
|
|
3151
|
+
@minor_version_disruption_interval = args[:minor_version_disruption_interval] if args.key?(:minor_version_disruption_interval)
|
|
3152
|
+
@patch_version_disruption_interval = args[:patch_version_disruption_interval] if args.key?(:patch_version_disruption_interval)
|
|
3153
|
+
end
|
|
3154
|
+
end
|
|
3155
|
+
|
|
3084
3156
|
# DisruptionEvent is a notification sent to customers about the disruption event
|
|
3085
3157
|
# of a resource.
|
|
3086
3158
|
class DisruptionEvent
|
|
@@ -4859,6 +4931,12 @@ module Google
|
|
|
4859
4931
|
class MaintenancePolicy
|
|
4860
4932
|
include Google::Apis::Core::Hashable
|
|
4861
4933
|
|
|
4934
|
+
# DisruptionBudget defines the upgrade disruption budget for the cluster control
|
|
4935
|
+
# plane.
|
|
4936
|
+
# Corresponds to the JSON property `disruptionBudget`
|
|
4937
|
+
# @return [Google::Apis::ContainerV1::DisruptionBudget]
|
|
4938
|
+
attr_accessor :disruption_budget
|
|
4939
|
+
|
|
4862
4940
|
# A hash identifying the version of this policy, so that updates to fields of
|
|
4863
4941
|
# the policy won't accidentally undo intermediate changes (and so that users of
|
|
4864
4942
|
# the API unaware of some fields won't accidentally remove other fields). Make a
|
|
@@ -4879,6 +4957,7 @@ module Google
|
|
|
4879
4957
|
|
|
4880
4958
|
# Update properties of this object
|
|
4881
4959
|
def update!(**args)
|
|
4960
|
+
@disruption_budget = args[:disruption_budget] if args.key?(:disruption_budget)
|
|
4882
4961
|
@resource_version = args[:resource_version] if args.key?(:resource_version)
|
|
4883
4962
|
@window = args[:window] if args.key?(:window)
|
|
4884
4963
|
end
|
|
@@ -6028,6 +6107,11 @@ module Google
|
|
|
6028
6107
|
# @return [String]
|
|
6029
6108
|
attr_accessor :cpu_manager_policy
|
|
6030
6109
|
|
|
6110
|
+
# Contains config to modify node-level parameters for container restart behavior.
|
|
6111
|
+
# Corresponds to the JSON property `crashLoopBackOff`
|
|
6112
|
+
# @return [Google::Apis::ContainerV1::CrashLoopBackOffConfig]
|
|
6113
|
+
attr_accessor :crash_loop_back_off
|
|
6114
|
+
|
|
6031
6115
|
# Optional. eviction_max_pod_grace_period_seconds is the maximum allowed grace
|
|
6032
6116
|
# period (in seconds) to use when terminating pods in response to a soft
|
|
6033
6117
|
# eviction threshold being met. This value effectively caps the Pod's
|
|
@@ -6123,6 +6207,26 @@ module Google
|
|
|
6123
6207
|
# @return [Fixnum]
|
|
6124
6208
|
attr_accessor :pod_pids_limit
|
|
6125
6209
|
|
|
6210
|
+
# Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed
|
|
6211
|
+
# grace period (in seconds) used to terminate critical pods during a node
|
|
6212
|
+
# shutdown. This value should be <= shutdown_grace_period_seconds, and is only
|
|
6213
|
+
# valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/
|
|
6214
|
+
# concepts/cluster-administration/node-shutdown/ Range: [0, 120].
|
|
6215
|
+
# Corresponds to the JSON property `shutdownGracePeriodCriticalPodsSeconds`
|
|
6216
|
+
# @return [Fixnum]
|
|
6217
|
+
attr_accessor :shutdown_grace_period_critical_pods_seconds
|
|
6218
|
+
|
|
6219
|
+
# Optional. shutdown_grace_period_seconds is the maximum allowed grace period (
|
|
6220
|
+
# in seconds) the total duration that the node should delay the shutdown during
|
|
6221
|
+
# a graceful shutdown. This is the total grace period for pod termination for
|
|
6222
|
+
# both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-
|
|
6223
|
+
# administration/node-shutdown/ If set to 0, node will not enable the graceful
|
|
6224
|
+
# node shutdown functionality. This field is only valid for Spot VMs. Allowed
|
|
6225
|
+
# values: 0, 30, 120.
|
|
6226
|
+
# Corresponds to the JSON property `shutdownGracePeriodSeconds`
|
|
6227
|
+
# @return [Fixnum]
|
|
6228
|
+
attr_accessor :shutdown_grace_period_seconds
|
|
6229
|
+
|
|
6126
6230
|
# Optional. Defines whether to enable single process OOM killer. If true, will
|
|
6127
6231
|
# prevent the memory.oom.group flag from being set for container cgroups in
|
|
6128
6232
|
# cgroups v2. This causes processes in the container to be OOM killed
|
|
@@ -6150,6 +6254,7 @@ module Google
|
|
|
6150
6254
|
@cpu_cfs_quota = args[:cpu_cfs_quota] if args.key?(:cpu_cfs_quota)
|
|
6151
6255
|
@cpu_cfs_quota_period = args[:cpu_cfs_quota_period] if args.key?(:cpu_cfs_quota_period)
|
|
6152
6256
|
@cpu_manager_policy = args[:cpu_manager_policy] if args.key?(:cpu_manager_policy)
|
|
6257
|
+
@crash_loop_back_off = args[:crash_loop_back_off] if args.key?(:crash_loop_back_off)
|
|
6153
6258
|
@eviction_max_pod_grace_period_seconds = args[:eviction_max_pod_grace_period_seconds] if args.key?(:eviction_max_pod_grace_period_seconds)
|
|
6154
6259
|
@eviction_minimum_reclaim = args[:eviction_minimum_reclaim] if args.key?(:eviction_minimum_reclaim)
|
|
6155
6260
|
@eviction_soft = args[:eviction_soft] if args.key?(:eviction_soft)
|
|
@@ -6162,6 +6267,8 @@ module Google
|
|
|
6162
6267
|
@max_parallel_image_pulls = args[:max_parallel_image_pulls] if args.key?(:max_parallel_image_pulls)
|
|
6163
6268
|
@memory_manager = args[:memory_manager] if args.key?(:memory_manager)
|
|
6164
6269
|
@pod_pids_limit = args[:pod_pids_limit] if args.key?(:pod_pids_limit)
|
|
6270
|
+
@shutdown_grace_period_critical_pods_seconds = args[:shutdown_grace_period_critical_pods_seconds] if args.key?(:shutdown_grace_period_critical_pods_seconds)
|
|
6271
|
+
@shutdown_grace_period_seconds = args[:shutdown_grace_period_seconds] if args.key?(:shutdown_grace_period_seconds)
|
|
6165
6272
|
@single_process_oom_kill = args[:single_process_oom_kill] if args.key?(:single_process_oom_kill)
|
|
6166
6273
|
@topology_manager = args[:topology_manager] if args.key?(:topology_manager)
|
|
6167
6274
|
end
|
|
@@ -6306,11 +6413,13 @@ module Google
|
|
|
6306
6413
|
|
|
6307
6414
|
# Optional. The subnetwork name/path for the node pool. Format: projects/`
|
|
6308
6415
|
# project`/regions/`region`/subnetworks/`subnetwork` If the cluster is
|
|
6309
|
-
# associated with multiple subnetworks, the subnetwork can be either:
|
|
6310
|
-
# supplied subnetwork name
|
|
6311
|
-
#
|
|
6312
|
-
#
|
|
6313
|
-
# pool creation
|
|
6416
|
+
# associated with multiple subnetworks, the subnetwork can be either: - A user
|
|
6417
|
+
# supplied subnetwork name during node pool creation (e.g., `my-subnet`). The
|
|
6418
|
+
# name must be between 1 and 63 characters long, start with a letter, contain
|
|
6419
|
+
# only letters, numbers, and hyphens, and end with a letter or a number. - A
|
|
6420
|
+
# full subnetwork path during node pool creation, such as `projects/gke-project/
|
|
6421
|
+
# regions/us-central1/subnetworks/my-subnet` - A subnetwork path picked based on
|
|
6422
|
+
# the IP utilization during node pool creation and is immutable.
|
|
6314
6423
|
# Corresponds to the JSON property `subnetwork`
|
|
6315
6424
|
# @return [String]
|
|
6316
6425
|
attr_accessor :subnetwork
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ContainerV1
|
|
18
18
|
# Version of the google-apis-container_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.114.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260209"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -310,6 +310,12 @@ module Google
|
|
|
310
310
|
include Google::Apis::Core::JsonObjectSupport
|
|
311
311
|
end
|
|
312
312
|
|
|
313
|
+
class CrashLoopBackOffConfig
|
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
|
+
|
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
317
|
+
end
|
|
318
|
+
|
|
313
319
|
class CreateClusterRequest
|
|
314
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
321
|
|
|
@@ -376,6 +382,12 @@ module Google
|
|
|
376
382
|
include Google::Apis::Core::JsonObjectSupport
|
|
377
383
|
end
|
|
378
384
|
|
|
385
|
+
class DisruptionBudget
|
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
387
|
+
|
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
389
|
+
end
|
|
390
|
+
|
|
379
391
|
class DisruptionEvent
|
|
380
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
381
393
|
|
|
@@ -2125,6 +2137,13 @@ module Google
|
|
|
2125
2137
|
end
|
|
2126
2138
|
end
|
|
2127
2139
|
|
|
2140
|
+
class CrashLoopBackOffConfig
|
|
2141
|
+
# @private
|
|
2142
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2143
|
+
property :max_container_restart_period, as: 'maxContainerRestartPeriod'
|
|
2144
|
+
end
|
|
2145
|
+
end
|
|
2146
|
+
|
|
2128
2147
|
class CreateClusterRequest
|
|
2129
2148
|
# @private
|
|
2130
2149
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2224,6 +2243,16 @@ module Google
|
|
|
2224
2243
|
end
|
|
2225
2244
|
end
|
|
2226
2245
|
|
|
2246
|
+
class DisruptionBudget
|
|
2247
|
+
# @private
|
|
2248
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2249
|
+
property :last_disruption_time, as: 'lastDisruptionTime'
|
|
2250
|
+
property :last_minor_version_disruption_time, as: 'lastMinorVersionDisruptionTime'
|
|
2251
|
+
property :minor_version_disruption_interval, as: 'minorVersionDisruptionInterval'
|
|
2252
|
+
property :patch_version_disruption_interval, as: 'patchVersionDisruptionInterval'
|
|
2253
|
+
end
|
|
2254
|
+
end
|
|
2255
|
+
|
|
2227
2256
|
class DisruptionEvent
|
|
2228
2257
|
# @private
|
|
2229
2258
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2700,6 +2729,8 @@ module Google
|
|
|
2700
2729
|
class MaintenancePolicy
|
|
2701
2730
|
# @private
|
|
2702
2731
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2732
|
+
property :disruption_budget, as: 'disruptionBudget', class: Google::Apis::ContainerV1::DisruptionBudget, decorator: Google::Apis::ContainerV1::DisruptionBudget::Representation
|
|
2733
|
+
|
|
2703
2734
|
property :resource_version, as: 'resourceVersion'
|
|
2704
2735
|
property :window, as: 'window', class: Google::Apis::ContainerV1::MaintenanceWindow, decorator: Google::Apis::ContainerV1::MaintenanceWindow::Representation
|
|
2705
2736
|
|
|
@@ -2995,6 +3026,8 @@ module Google
|
|
|
2995
3026
|
property :cpu_cfs_quota, as: 'cpuCfsQuota'
|
|
2996
3027
|
property :cpu_cfs_quota_period, as: 'cpuCfsQuotaPeriod'
|
|
2997
3028
|
property :cpu_manager_policy, as: 'cpuManagerPolicy'
|
|
3029
|
+
property :crash_loop_back_off, as: 'crashLoopBackOff', class: Google::Apis::ContainerV1::CrashLoopBackOffConfig, decorator: Google::Apis::ContainerV1::CrashLoopBackOffConfig::Representation
|
|
3030
|
+
|
|
2998
3031
|
property :eviction_max_pod_grace_period_seconds, as: 'evictionMaxPodGracePeriodSeconds'
|
|
2999
3032
|
property :eviction_minimum_reclaim, as: 'evictionMinimumReclaim', class: Google::Apis::ContainerV1::EvictionMinimumReclaim, decorator: Google::Apis::ContainerV1::EvictionMinimumReclaim::Representation
|
|
3000
3033
|
|
|
@@ -3011,6 +3044,8 @@ module Google
|
|
|
3011
3044
|
property :memory_manager, as: 'memoryManager', class: Google::Apis::ContainerV1::MemoryManager, decorator: Google::Apis::ContainerV1::MemoryManager::Representation
|
|
3012
3045
|
|
|
3013
3046
|
property :pod_pids_limit, :numeric_string => true, as: 'podPidsLimit'
|
|
3047
|
+
property :shutdown_grace_period_critical_pods_seconds, as: 'shutdownGracePeriodCriticalPodsSeconds'
|
|
3048
|
+
property :shutdown_grace_period_seconds, as: 'shutdownGracePeriodSeconds'
|
|
3014
3049
|
property :single_process_oom_kill, as: 'singleProcessOomKill'
|
|
3015
3050
|
property :topology_manager, as: 'topologyManager', class: Google::Apis::ContainerV1::TopologyManager, decorator: Google::Apis::ContainerV1::TopologyManager::Representation
|
|
3016
3051
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-container_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.114.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.114.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|