google-apis-container_v1 0.26.0 → 0.27.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: c5e401d8bb76ec3f687c5d7eb8f4db12eee8817a9cbc4cd3d070939f92afe789
4
- data.tar.gz: a56261ec0a49ff4bb83495ae7790978eca5d18c8641a5b028fc62e3d36c827df
3
+ metadata.gz: 200cd643fc9cf9d00aa6a46ecac59f1d9376c6f6fc55d0a4d83b7a74c26785fd
4
+ data.tar.gz: 5153624c297e568442ef60117e440302372de8d333851bcb74b64f9dd9a7fc36
5
5
  SHA512:
6
- metadata.gz: 389f6ab3181206d13b98eb7da871dbb5d85e5003c67420488c9cca5fa75a0fea4b98001e4c25ed455f6d129d931c08cc928764acb76a595d48a85b68e36ab00e
7
- data.tar.gz: ff44c9d5c859ab0a8e9ecf1fea06e4cf1dc52d38a3a259912cd8a5d9783d286bf258b0631503a0fc66984c34bc268616d9e060a034710dbc5076a883e91b7706
6
+ metadata.gz: 7aa311ab6881ea7304c76ad089452ad80dde543d271b8fc5d9bf19dd0a7142a39cd82934f2c8d4b9c723fbee73efe03a9b5650112aa64f8903be134388081bce
7
+ data.tar.gz: 2395e82d7fdcee84447a869f50508eb52cd485427a51846fadce39bee4a49e642078bf32f370f0f65ebd1f5bcfaec8ca3189982325ba9a0edea7ae3987cb791c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.27.0 (2022-04-14)
4
+
5
+ * Regenerated from discovery document revision 20220328
6
+
3
7
  ### v0.26.0 (2022-03-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20220308
@@ -1601,8 +1601,7 @@ module Google
1601
1601
  # A generic empty message that you can re-use to avoid defining duplicated empty
1602
1602
  # messages in your APIs. A typical example is to use it as the request or the
1603
1603
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
1604
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1605
- # `Empty` is empty JSON object ````.
1604
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1606
1605
  class Empty
1607
1606
  include Google::Apis::Core::Hashable
1608
1607
 
@@ -2174,9 +2173,10 @@ module Google
2174
2173
  include Google::Apis::Core::Hashable
2175
2174
 
2176
2175
  # The Linux kernel parameters to be applied to the nodes and all pods running on
2177
- # the nodes. The following parameters are supported. net.core.netdev_max_backlog
2178
- # net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max
2179
- # net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
2176
+ # the nodes. The following parameters are supported. net.core.busy_poll net.core.
2177
+ # busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default
2178
+ # net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.
2179
+ # ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
2180
2180
  # Corresponds to the JSON property `sysctls`
2181
2181
  # @return [Hash<String,String>]
2182
2182
  attr_accessor :sysctls
@@ -3056,6 +3056,14 @@ module Google
3056
3056
  # @return [String]
3057
3057
  attr_accessor :cpu_manager_policy
3058
3058
 
3059
+ # Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-
3060
+ # limiting/#pod-pid-limits Controls the maximum number of processes allowed to
3061
+ # run in a pod. The value must be greater than or equal to 1024 and less than
3062
+ # 4194304.
3063
+ # Corresponds to the JSON property `podPidsLimit`
3064
+ # @return [Fixnum]
3065
+ attr_accessor :pod_pids_limit
3066
+
3059
3067
  def initialize(**args)
3060
3068
  update!(**args)
3061
3069
  end
@@ -3065,6 +3073,27 @@ module Google
3065
3073
  @cpu_cfs_quota = args[:cpu_cfs_quota] if args.key?(:cpu_cfs_quota)
3066
3074
  @cpu_cfs_quota_period = args[:cpu_cfs_quota_period] if args.key?(:cpu_cfs_quota_period)
3067
3075
  @cpu_manager_policy = args[:cpu_manager_policy] if args.key?(:cpu_manager_policy)
3076
+ @pod_pids_limit = args[:pod_pids_limit] if args.key?(:pod_pids_limit)
3077
+ end
3078
+ end
3079
+
3080
+ # Collection of node-level [Kubernetes labels](https://kubernetes.io/docs/
3081
+ # concepts/overview/working-with-objects/labels).
3082
+ class NodeLabels
3083
+ include Google::Apis::Core::Hashable
3084
+
3085
+ # Map of node label keys and node label values.
3086
+ # Corresponds to the JSON property `labels`
3087
+ # @return [Hash<String,String>]
3088
+ attr_accessor :labels
3089
+
3090
+ def initialize(**args)
3091
+ update!(**args)
3092
+ end
3093
+
3094
+ # Update properties of this object
3095
+ def update!(**args)
3096
+ @labels = args[:labels] if args.key?(:labels)
3068
3097
  end
3069
3098
  end
3070
3099
 
@@ -3413,6 +3442,26 @@ module Google
3413
3442
  end
3414
3443
  end
3415
3444
 
3445
+ # Collection of Kubernetes [node taints](https://kubernetes.io/docs/concepts/
3446
+ # configuration/taint-and-toleration).
3447
+ class NodeTaints
3448
+ include Google::Apis::Core::Hashable
3449
+
3450
+ # List of node taints.
3451
+ # Corresponds to the JSON property `taints`
3452
+ # @return [Array<Google::Apis::ContainerV1::NodeTaint>]
3453
+ attr_accessor :taints
3454
+
3455
+ def initialize(**args)
3456
+ update!(**args)
3457
+ end
3458
+
3459
+ # Update properties of this object
3460
+ def update!(**args)
3461
+ @taints = args[:taints] if args.key?(:taints)
3462
+ end
3463
+ end
3464
+
3416
3465
  # NotificationConfig is the configuration of notifications.
3417
3466
  class NotificationConfig
3418
3467
  include Google::Apis::Core::Hashable
@@ -5121,6 +5170,12 @@ module Google
5121
5170
  # @return [Google::Apis::ContainerV1::NodeKubeletConfig]
5122
5171
  attr_accessor :kubelet_config
5123
5172
 
5173
+ # Collection of node-level [Kubernetes labels](https://kubernetes.io/docs/
5174
+ # concepts/overview/working-with-objects/labels).
5175
+ # Corresponds to the JSON property `labels`
5176
+ # @return [Google::Apis::ContainerV1::NodeLabels]
5177
+ attr_accessor :labels
5178
+
5124
5179
  # Parameters that can be configured on Linux nodes.
5125
5180
  # Corresponds to the JSON property `linuxNodeConfig`
5126
5181
  # @return [Google::Apis::ContainerV1::LinuxNodeConfig]
@@ -5165,6 +5220,18 @@ module Google
5165
5220
  # @return [String]
5166
5221
  attr_accessor :project_id
5167
5222
 
5223
+ # Collection of Compute Engine network tags that can be applied to a node's
5224
+ # underlying VM instance.
5225
+ # Corresponds to the JSON property `tags`
5226
+ # @return [Google::Apis::ContainerV1::NetworkTags]
5227
+ attr_accessor :tags
5228
+
5229
+ # Collection of Kubernetes [node taints](https://kubernetes.io/docs/concepts/
5230
+ # configuration/taint-and-toleration).
5231
+ # Corresponds to the JSON property `taints`
5232
+ # @return [Google::Apis::ContainerV1::NodeTaints]
5233
+ attr_accessor :taints
5234
+
5168
5235
  # These upgrade settings control the level of parallelism and the level of
5169
5236
  # disruption caused by an upgrade. maxUnavailable controls the number of nodes
5170
5237
  # that can be simultaneously unavailable. maxSurge controls the number of
@@ -5207,12 +5274,15 @@ module Google
5207
5274
  @gvnic = args[:gvnic] if args.key?(:gvnic)
5208
5275
  @image_type = args[:image_type] if args.key?(:image_type)
5209
5276
  @kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
5277
+ @labels = args[:labels] if args.key?(:labels)
5210
5278
  @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
5211
5279
  @locations = args[:locations] if args.key?(:locations)
5212
5280
  @name = args[:name] if args.key?(:name)
5213
5281
  @node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
5214
5282
  @node_version = args[:node_version] if args.key?(:node_version)
5215
5283
  @project_id = args[:project_id] if args.key?(:project_id)
5284
+ @tags = args[:tags] if args.key?(:tags)
5285
+ @taints = args[:taints] if args.key?(:taints)
5216
5286
  @upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
5217
5287
  @workload_metadata_config = args[:workload_metadata_config] if args.key?(:workload_metadata_config)
5218
5288
  @zone = args[:zone] if args.key?(:zone)
@@ -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.26.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220308"
25
+ REVISION = "20220328"
26
26
  end
27
27
  end
28
28
  end
@@ -430,6 +430,12 @@ module Google
430
430
  include Google::Apis::Core::JsonObjectSupport
431
431
  end
432
432
 
433
+ class NodeLabels
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
433
439
  class NodeManagement
434
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
441
 
@@ -472,6 +478,12 @@ module Google
472
478
  include Google::Apis::Core::JsonObjectSupport
473
479
  end
474
480
 
481
+ class NodeTaints
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
475
487
  class NotificationConfig
476
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
489
 
@@ -1546,6 +1558,14 @@ module Google
1546
1558
  property :cpu_cfs_quota, as: 'cpuCfsQuota'
1547
1559
  property :cpu_cfs_quota_period, as: 'cpuCfsQuotaPeriod'
1548
1560
  property :cpu_manager_policy, as: 'cpuManagerPolicy'
1561
+ property :pod_pids_limit, :numeric_string => true, as: 'podPidsLimit'
1562
+ end
1563
+ end
1564
+
1565
+ class NodeLabels
1566
+ # @private
1567
+ class Representation < Google::Apis::Core::JsonRepresentation
1568
+ hash :labels, as: 'labels'
1549
1569
  end
1550
1570
  end
1551
1571
 
@@ -1632,6 +1652,14 @@ module Google
1632
1652
  end
1633
1653
  end
1634
1654
 
1655
+ class NodeTaints
1656
+ # @private
1657
+ class Representation < Google::Apis::Core::JsonRepresentation
1658
+ collection :taints, as: 'taints', class: Google::Apis::ContainerV1::NodeTaint, decorator: Google::Apis::ContainerV1::NodeTaint::Representation
1659
+
1660
+ end
1661
+ end
1662
+
1635
1663
  class NotificationConfig
1636
1664
  # @private
1637
1665
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2047,6 +2075,8 @@ module Google
2047
2075
  property :image_type, as: 'imageType'
2048
2076
  property :kubelet_config, as: 'kubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
2049
2077
 
2078
+ property :labels, as: 'labels', class: Google::Apis::ContainerV1::NodeLabels, decorator: Google::Apis::ContainerV1::NodeLabels::Representation
2079
+
2050
2080
  property :linux_node_config, as: 'linuxNodeConfig', class: Google::Apis::ContainerV1::LinuxNodeConfig, decorator: Google::Apis::ContainerV1::LinuxNodeConfig::Representation
2051
2081
 
2052
2082
  collection :locations, as: 'locations'
@@ -2054,6 +2084,10 @@ module Google
2054
2084
  property :node_pool_id, as: 'nodePoolId'
2055
2085
  property :node_version, as: 'nodeVersion'
2056
2086
  property :project_id, as: 'projectId'
2087
+ property :tags, as: 'tags', class: Google::Apis::ContainerV1::NetworkTags, decorator: Google::Apis::ContainerV1::NetworkTags::Representation
2088
+
2089
+ property :taints, as: 'taints', class: Google::Apis::ContainerV1::NodeTaints, decorator: Google::Apis::ContainerV1::NodeTaints::Representation
2090
+
2057
2091
  property :upgrade_settings, as: 'upgradeSettings', class: Google::Apis::ContainerV1::UpgradeSettings, decorator: Google::Apis::ContainerV1::UpgradeSettings::Representation
2058
2092
 
2059
2093
  property :workload_metadata_config, as: 'workloadMetadataConfig', class: Google::Apis::ContainerV1::WorkloadMetadataConfig, decorator: Google::Apis::ContainerV1::WorkloadMetadataConfig::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.27.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: 2022-03-28 00:00:00.000000000 Z
11
+ date: 2022-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.27.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1
63
63
  post_install_message:
64
64
  rdoc_options: []