google-apis-container_v1 0.109.0 → 0.110.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: 71ad144326a26b5bce723a06bd6c822919d283a8f95e7dc1e1599571f695205f
|
|
4
|
+
data.tar.gz: ad2d3584eae7be5023fce59130734a61b2b555adb00edd5046ddaeb12f58fff6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4aecac996e3ba7f9dd3a50c661197adbe7edd03e003883dd7a44d623fb9cf6856fdce87d629cc8f4a0aa311c09399c7a9133855200d99947f4313fb21ad3c440
|
|
7
|
+
data.tar.gz: d6da571f2472218b66ecb8f4d9fdc2f6f6faafea2ee629fc399702342152da6ed89c939f176cb84962dc94f1087fe925026203fcbdb103462e633efdbf57171c
|
data/CHANGELOG.md
CHANGED
|
@@ -3004,6 +3004,48 @@ module Google
|
|
|
3004
3004
|
end
|
|
3005
3005
|
end
|
|
3006
3006
|
|
|
3007
|
+
# DisruptionEvent is a notification sent to customers about the disruption event
|
|
3008
|
+
# of a resource.
|
|
3009
|
+
class DisruptionEvent
|
|
3010
|
+
include Google::Apis::Core::Hashable
|
|
3011
|
+
|
|
3012
|
+
# The type of the disruption event.
|
|
3013
|
+
# Corresponds to the JSON property `disruptionType`
|
|
3014
|
+
# @return [String]
|
|
3015
|
+
attr_accessor :disruption_type
|
|
3016
|
+
|
|
3017
|
+
# The node whose drain is blocked by PDB. This field is set for both
|
|
3018
|
+
# POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.
|
|
3019
|
+
# Corresponds to the JSON property `pdbBlockedNode`
|
|
3020
|
+
# @return [String]
|
|
3021
|
+
attr_accessor :pdb_blocked_node
|
|
3022
|
+
|
|
3023
|
+
# The pods whose evictions are blocked by PDB. This field is set for both
|
|
3024
|
+
# POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.
|
|
3025
|
+
# Corresponds to the JSON property `pdbBlockedPod`
|
|
3026
|
+
# @return [Array<Google::Apis::ContainerV1::PdbBlockedPod>]
|
|
3027
|
+
attr_accessor :pdb_blocked_pod
|
|
3028
|
+
|
|
3029
|
+
# The timeout in seconds for which the node drain is blocked by PDB. After this
|
|
3030
|
+
# timeout, pods are forcefully evicted. This field is only populated when
|
|
3031
|
+
# event_type is POD_PDB_VIOLATION.
|
|
3032
|
+
# Corresponds to the JSON property `pdbViolationTimeout`
|
|
3033
|
+
# @return [String]
|
|
3034
|
+
attr_accessor :pdb_violation_timeout
|
|
3035
|
+
|
|
3036
|
+
def initialize(**args)
|
|
3037
|
+
update!(**args)
|
|
3038
|
+
end
|
|
3039
|
+
|
|
3040
|
+
# Update properties of this object
|
|
3041
|
+
def update!(**args)
|
|
3042
|
+
@disruption_type = args[:disruption_type] if args.key?(:disruption_type)
|
|
3043
|
+
@pdb_blocked_node = args[:pdb_blocked_node] if args.key?(:pdb_blocked_node)
|
|
3044
|
+
@pdb_blocked_pod = args[:pdb_blocked_pod] if args.key?(:pdb_blocked_pod)
|
|
3045
|
+
@pdb_violation_timeout = args[:pdb_violation_timeout] if args.key?(:pdb_violation_timeout)
|
|
3046
|
+
end
|
|
3047
|
+
end
|
|
3048
|
+
|
|
3007
3049
|
# Configuration for NodeLocal DNSCache
|
|
3008
3050
|
class DnsCacheConfig
|
|
3009
3051
|
include Google::Apis::Core::Hashable
|
|
@@ -5698,6 +5740,27 @@ module Google
|
|
|
5698
5740
|
end
|
|
5699
5741
|
end
|
|
5700
5742
|
|
|
5743
|
+
# NodeDrainConfig contains the node drain related configurations for this
|
|
5744
|
+
# nodepool.
|
|
5745
|
+
class NodeDrainConfig
|
|
5746
|
+
include Google::Apis::Core::Hashable
|
|
5747
|
+
|
|
5748
|
+
# Whether to respect PDB during node pool deletion.
|
|
5749
|
+
# Corresponds to the JSON property `respectPdbDuringNodePoolDeletion`
|
|
5750
|
+
# @return [Boolean]
|
|
5751
|
+
attr_accessor :respect_pdb_during_node_pool_deletion
|
|
5752
|
+
alias_method :respect_pdb_during_node_pool_deletion?, :respect_pdb_during_node_pool_deletion
|
|
5753
|
+
|
|
5754
|
+
def initialize(**args)
|
|
5755
|
+
update!(**args)
|
|
5756
|
+
end
|
|
5757
|
+
|
|
5758
|
+
# Update properties of this object
|
|
5759
|
+
def update!(**args)
|
|
5760
|
+
@respect_pdb_during_node_pool_deletion = args[:respect_pdb_during_node_pool_deletion] if args.key?(:respect_pdb_during_node_pool_deletion)
|
|
5761
|
+
end
|
|
5762
|
+
end
|
|
5763
|
+
|
|
5701
5764
|
# Configuration for kernel module loading on nodes.
|
|
5702
5765
|
class NodeKernelModuleLoading
|
|
5703
5766
|
include Google::Apis::Core::Hashable
|
|
@@ -6058,10 +6121,10 @@ module Google
|
|
|
6058
6121
|
# @return [String]
|
|
6059
6122
|
attr_accessor :pod_range
|
|
6060
6123
|
|
|
6061
|
-
#
|
|
6062
|
-
#
|
|
6063
|
-
#
|
|
6064
|
-
#
|
|
6124
|
+
# The subnetwork path for the node pool. Format: projects/`project`/regions/`
|
|
6125
|
+
# region`/subnetworks/`subnetwork` If the cluster is associated with multiple
|
|
6126
|
+
# subnetworks, the subnetwork for the node pool is picked based on the IP
|
|
6127
|
+
# utilization during node pool creation and is immutable.
|
|
6065
6128
|
# Corresponds to the JSON property `subnetwork`
|
|
6066
6129
|
# @return [String]
|
|
6067
6130
|
attr_accessor :subnetwork
|
|
@@ -6177,6 +6240,12 @@ module Google
|
|
|
6177
6240
|
# @return [Google::Apis::ContainerV1::NodeNetworkConfig]
|
|
6178
6241
|
attr_accessor :network_config
|
|
6179
6242
|
|
|
6243
|
+
# NodeDrainConfig contains the node drain related configurations for this
|
|
6244
|
+
# nodepool.
|
|
6245
|
+
# Corresponds to the JSON property `nodeDrainConfig`
|
|
6246
|
+
# @return [Google::Apis::ContainerV1::NodeDrainConfig]
|
|
6247
|
+
attr_accessor :node_drain_config
|
|
6248
|
+
|
|
6180
6249
|
# PlacementPolicy defines the placement policy used by the node pool.
|
|
6181
6250
|
# Corresponds to the JSON property `placementPolicy`
|
|
6182
6251
|
# @return [Google::Apis::ContainerV1::PlacementPolicy]
|
|
@@ -6275,6 +6344,7 @@ module Google
|
|
|
6275
6344
|
@max_pods_constraint = args[:max_pods_constraint] if args.key?(:max_pods_constraint)
|
|
6276
6345
|
@name = args[:name] if args.key?(:name)
|
|
6277
6346
|
@network_config = args[:network_config] if args.key?(:network_config)
|
|
6347
|
+
@node_drain_config = args[:node_drain_config] if args.key?(:node_drain_config)
|
|
6278
6348
|
@placement_policy = args[:placement_policy] if args.key?(:placement_policy)
|
|
6279
6349
|
@pod_ipv4_cidr_size = args[:pod_ipv4_cidr_size] if args.key?(:pod_ipv4_cidr_size)
|
|
6280
6350
|
@queued_provisioning = args[:queued_provisioning] if args.key?(:queued_provisioning)
|
|
@@ -6808,6 +6878,31 @@ module Google
|
|
|
6808
6878
|
end
|
|
6809
6879
|
end
|
|
6810
6880
|
|
|
6881
|
+
# The namespace/name of the pod whose eviction is blocked by PDB.
|
|
6882
|
+
class PdbBlockedPod
|
|
6883
|
+
include Google::Apis::Core::Hashable
|
|
6884
|
+
|
|
6885
|
+
# The name of the pod.
|
|
6886
|
+
# Corresponds to the JSON property `name`
|
|
6887
|
+
# @return [String]
|
|
6888
|
+
attr_accessor :name
|
|
6889
|
+
|
|
6890
|
+
# The namespace of the pod.
|
|
6891
|
+
# Corresponds to the JSON property `namespace`
|
|
6892
|
+
# @return [String]
|
|
6893
|
+
attr_accessor :namespace
|
|
6894
|
+
|
|
6895
|
+
def initialize(**args)
|
|
6896
|
+
update!(**args)
|
|
6897
|
+
end
|
|
6898
|
+
|
|
6899
|
+
# Update properties of this object
|
|
6900
|
+
def update!(**args)
|
|
6901
|
+
@name = args[:name] if args.key?(:name)
|
|
6902
|
+
@namespace = args[:namespace] if args.key?(:namespace)
|
|
6903
|
+
end
|
|
6904
|
+
end
|
|
6905
|
+
|
|
6811
6906
|
# PlacementPolicy defines the placement policy used by the node pool.
|
|
6812
6907
|
class PlacementPolicy
|
|
6813
6908
|
include Google::Apis::Core::Hashable
|
|
@@ -7223,7 +7318,7 @@ module Google
|
|
|
7223
7318
|
include Google::Apis::Core::Hashable
|
|
7224
7319
|
|
|
7225
7320
|
# An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this
|
|
7226
|
-
# window
|
|
7321
|
+
# window recurs. They go on for the span of time between the start and end time.
|
|
7227
7322
|
# For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;
|
|
7228
7323
|
# BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the
|
|
7229
7324
|
# DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `
|
|
@@ -9118,6 +9213,12 @@ module Google
|
|
|
9118
9213
|
# @return [String]
|
|
9119
9214
|
attr_accessor :name
|
|
9120
9215
|
|
|
9216
|
+
# NodeDrainConfig contains the node drain related configurations for this
|
|
9217
|
+
# nodepool.
|
|
9218
|
+
# Corresponds to the JSON property `nodeDrainConfig`
|
|
9219
|
+
# @return [Google::Apis::ContainerV1::NodeDrainConfig]
|
|
9220
|
+
attr_accessor :node_drain_config
|
|
9221
|
+
|
|
9121
9222
|
# Parameters for node pool-level network config.
|
|
9122
9223
|
# Corresponds to the JSON property `nodeNetworkConfig`
|
|
9123
9224
|
# @return [Google::Apis::ContainerV1::NodeNetworkConfig]
|
|
@@ -9267,6 +9368,7 @@ module Google
|
|
|
9267
9368
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
|
9268
9369
|
@max_run_duration = args[:max_run_duration] if args.key?(:max_run_duration)
|
|
9269
9370
|
@name = args[:name] if args.key?(:name)
|
|
9371
|
+
@node_drain_config = args[:node_drain_config] if args.key?(:node_drain_config)
|
|
9270
9372
|
@node_network_config = args[:node_network_config] if args.key?(:node_network_config)
|
|
9271
9373
|
@node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
|
|
9272
9374
|
@node_version = args[:node_version] if args.key?(:node_version)
|
|
@@ -9442,6 +9544,12 @@ module Google
|
|
|
9442
9544
|
# @return [String]
|
|
9443
9545
|
attr_accessor :description
|
|
9444
9546
|
|
|
9547
|
+
# DisruptionEvent is a notification sent to customers about the disruption event
|
|
9548
|
+
# of a resource.
|
|
9549
|
+
# Corresponds to the JSON property `disruptionEvent`
|
|
9550
|
+
# @return [Google::Apis::ContainerV1::DisruptionEvent]
|
|
9551
|
+
attr_accessor :disruption_event
|
|
9552
|
+
|
|
9445
9553
|
# The time when the operation ended.
|
|
9446
9554
|
# Corresponds to the JSON property `endTime`
|
|
9447
9555
|
# @return [String]
|
|
@@ -9501,6 +9609,7 @@ module Google
|
|
|
9501
9609
|
def update!(**args)
|
|
9502
9610
|
@current_version = args[:current_version] if args.key?(:current_version)
|
|
9503
9611
|
@description = args[:description] if args.key?(:description)
|
|
9612
|
+
@disruption_event = args[:disruption_event] if args.key?(:disruption_event)
|
|
9504
9613
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
9505
9614
|
@event_type = args[:event_type] if args.key?(:event_type)
|
|
9506
9615
|
@extended_support_end_time = args[:extended_support_end_time] if args.key?(:extended_support_end_time)
|
|
@@ -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.110.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 = "20251125"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -364,6 +364,12 @@ module Google
|
|
|
364
364
|
include Google::Apis::Core::JsonObjectSupport
|
|
365
365
|
end
|
|
366
366
|
|
|
367
|
+
class DisruptionEvent
|
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
369
|
+
|
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
371
|
+
end
|
|
372
|
+
|
|
367
373
|
class DnsCacheConfig
|
|
368
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
369
375
|
|
|
@@ -772,6 +778,12 @@ module Google
|
|
|
772
778
|
include Google::Apis::Core::JsonObjectSupport
|
|
773
779
|
end
|
|
774
780
|
|
|
781
|
+
class NodeDrainConfig
|
|
782
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
783
|
+
|
|
784
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
785
|
+
end
|
|
786
|
+
|
|
775
787
|
class NodeKernelModuleLoading
|
|
776
788
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
777
789
|
|
|
@@ -886,6 +898,12 @@ module Google
|
|
|
886
898
|
include Google::Apis::Core::JsonObjectSupport
|
|
887
899
|
end
|
|
888
900
|
|
|
901
|
+
class PdbBlockedPod
|
|
902
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
903
|
+
|
|
904
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
905
|
+
end
|
|
906
|
+
|
|
889
907
|
class PlacementPolicy
|
|
890
908
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
891
909
|
|
|
@@ -2135,6 +2153,17 @@ module Google
|
|
|
2135
2153
|
end
|
|
2136
2154
|
end
|
|
2137
2155
|
|
|
2156
|
+
class DisruptionEvent
|
|
2157
|
+
# @private
|
|
2158
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2159
|
+
property :disruption_type, as: 'disruptionType'
|
|
2160
|
+
property :pdb_blocked_node, as: 'pdbBlockedNode'
|
|
2161
|
+
collection :pdb_blocked_pod, as: 'pdbBlockedPod', class: Google::Apis::ContainerV1::PdbBlockedPod, decorator: Google::Apis::ContainerV1::PdbBlockedPod::Representation
|
|
2162
|
+
|
|
2163
|
+
property :pdb_violation_timeout, as: 'pdbViolationTimeout'
|
|
2164
|
+
end
|
|
2165
|
+
end
|
|
2166
|
+
|
|
2138
2167
|
class DnsCacheConfig
|
|
2139
2168
|
# @private
|
|
2140
2169
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2838,6 +2867,13 @@ module Google
|
|
|
2838
2867
|
end
|
|
2839
2868
|
end
|
|
2840
2869
|
|
|
2870
|
+
class NodeDrainConfig
|
|
2871
|
+
# @private
|
|
2872
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2873
|
+
property :respect_pdb_during_node_pool_deletion, as: 'respectPdbDuringNodePoolDeletion'
|
|
2874
|
+
end
|
|
2875
|
+
end
|
|
2876
|
+
|
|
2841
2877
|
class NodeKernelModuleLoading
|
|
2842
2878
|
# @private
|
|
2843
2879
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2939,6 +2975,8 @@ module Google
|
|
|
2939
2975
|
property :name, as: 'name'
|
|
2940
2976
|
property :network_config, as: 'networkConfig', class: Google::Apis::ContainerV1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1::NodeNetworkConfig::Representation
|
|
2941
2977
|
|
|
2978
|
+
property :node_drain_config, as: 'nodeDrainConfig', class: Google::Apis::ContainerV1::NodeDrainConfig, decorator: Google::Apis::ContainerV1::NodeDrainConfig::Representation
|
|
2979
|
+
|
|
2942
2980
|
property :placement_policy, as: 'placementPolicy', class: Google::Apis::ContainerV1::PlacementPolicy, decorator: Google::Apis::ContainerV1::PlacementPolicy::Representation
|
|
2943
2981
|
|
|
2944
2982
|
property :pod_ipv4_cidr_size, as: 'podIpv4CidrSize'
|
|
@@ -3098,6 +3136,14 @@ module Google
|
|
|
3098
3136
|
end
|
|
3099
3137
|
end
|
|
3100
3138
|
|
|
3139
|
+
class PdbBlockedPod
|
|
3140
|
+
# @private
|
|
3141
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3142
|
+
property :name, as: 'name'
|
|
3143
|
+
property :namespace, as: 'namespace'
|
|
3144
|
+
end
|
|
3145
|
+
end
|
|
3146
|
+
|
|
3101
3147
|
class PlacementPolicy
|
|
3102
3148
|
# @private
|
|
3103
3149
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3694,6 +3740,8 @@ module Google
|
|
|
3694
3740
|
property :machine_type, as: 'machineType'
|
|
3695
3741
|
property :max_run_duration, as: 'maxRunDuration'
|
|
3696
3742
|
property :name, as: 'name'
|
|
3743
|
+
property :node_drain_config, as: 'nodeDrainConfig', class: Google::Apis::ContainerV1::NodeDrainConfig, decorator: Google::Apis::ContainerV1::NodeDrainConfig::Representation
|
|
3744
|
+
|
|
3697
3745
|
property :node_network_config, as: 'nodeNetworkConfig', class: Google::Apis::ContainerV1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1::NodeNetworkConfig::Representation
|
|
3698
3746
|
|
|
3699
3747
|
property :node_pool_id, as: 'nodePoolId'
|
|
@@ -3760,6 +3808,8 @@ module Google
|
|
|
3760
3808
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3761
3809
|
property :current_version, as: 'currentVersion'
|
|
3762
3810
|
property :description, as: 'description'
|
|
3811
|
+
property :disruption_event, as: 'disruptionEvent', class: Google::Apis::ContainerV1::DisruptionEvent, decorator: Google::Apis::ContainerV1::DisruptionEvent::Representation
|
|
3812
|
+
|
|
3763
3813
|
property :end_time, as: 'endTime'
|
|
3764
3814
|
property :event_type, as: 'eventType'
|
|
3765
3815
|
property :extended_support_end_time, as: 'extendedSupportEndTime'
|
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.110.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.110.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:
|