google-apis-container_v1 0.24.0 → 0.25.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: 971fdf1cd854224ead458b2e383509b163f5b6a2992c8ea5dfdec74375ef22a7
4
- data.tar.gz: 71d787f6df78d71a923f965e7322bf0b527d6a62505171d40dfd604296b169dd
3
+ metadata.gz: 0f91d04a67a55020f9259095c3c9e1d56c6246efd0d9e75f6e998e973b8af9c8
4
+ data.tar.gz: d7215f69e5a31497efd0c827a9809ce88f07b6e3bf78b670870f756527725fe6
5
5
  SHA512:
6
- metadata.gz: 2173d44cf563594964622a7d366fd59900b02ebbb8f255b9744a13ba5aa6bbb35ec419a93d42e3aef3707b7336470b8584acca055ed7723302648699e5652f39
7
- data.tar.gz: 706a6a80d51d0493342bfee844421ad4b13eb64feb0d68d494790925e2f3b4b1af86ecb67669abda6e1ed12a920568f53641b28b00720e32f1a527c14f6c677b
6
+ metadata.gz: 2527bad9a5f00ed63500af208c5d1f220fdef917f11f80d288f57c53c9e2fbd0067ca550eb264a5f2c3d2f2eb9ed9cdb4439d10783161e984d7d66e4cfc23586
7
+ data.tar.gz: 5552368d0f62694e728e84c8e4a8706e5e9e9d2717c77d297aa00bce3aafbbbb9b9ecdd98dba31589a86f4a794ff94111af3e2e4d099aa114fd94d7bd207c965
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.25.0 (2022-03-03)
4
+
5
+ * Regenerated from discovery document revision 20220215
6
+
3
7
  ### v0.24.0 (2022-02-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20220209
@@ -264,13 +264,14 @@ module Google
264
264
  # @return [Google::Apis::ContainerV1::NodeManagement]
265
265
  attr_accessor :management
266
266
 
267
- # Minimum CPU platform to be used for NAP created node pools. The instance may
268
- # be scheduled on the specified or newer CPU platform. Applicable values are the
269
- # friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or
270
- # minCpuPlatform: Intel Sandy Bridge. For more information, read [how to specify
271
- # min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-
272
- # cpu-platform) To unset the min cpu platform field pass "automatic" as field
273
- # value.
267
+ # Deprecated. Minimum CPU platform to be used for NAP created node pools. The
268
+ # instance may be scheduled on the specified or newer CPU platform. Applicable
269
+ # values are the friendly names of CPU platforms, such as minCpuPlatform: Intel
270
+ # Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how
271
+ # to specify min CPU platform](https://cloud.google.com/compute/docs/instances/
272
+ # specify-min-cpu-platform) This field is deprecated, min_cpu_platform should be
273
+ # specified using cloud.google.com/requested-min-cpu-platform label selector on
274
+ # the pod. To unset the min cpu platform field pass "automatic" as field value.
274
275
  # Corresponds to the JSON property `minCpuPlatform`
275
276
  # @return [String]
276
277
  attr_accessor :min_cpu_platform
@@ -774,6 +775,12 @@ module Google
774
775
  # @return [Fixnum]
775
776
  attr_accessor :node_ipv4_cidr_size
776
777
 
778
+ # Node pool configs that apply to all auto-provisioned node pools in autopilot
779
+ # clusters and node auto-provisioning enabled clusters.
780
+ # Corresponds to the JSON property `nodePoolAutoConfig`
781
+ # @return [Google::Apis::ContainerV1::NodePoolAutoConfig]
782
+ attr_accessor :node_pool_auto_config
783
+
777
784
  # Subset of Nodepool message that has defaults.
778
785
  # Corresponds to the JSON property `nodePoolDefaults`
779
786
  # @return [Google::Apis::ContainerV1::NodePoolDefaults]
@@ -924,6 +931,7 @@ module Google
924
931
  @network_policy = args[:network_policy] if args.key?(:network_policy)
925
932
  @node_config = args[:node_config] if args.key?(:node_config)
926
933
  @node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
934
+ @node_pool_auto_config = args[:node_pool_auto_config] if args.key?(:node_pool_auto_config)
927
935
  @node_pool_defaults = args[:node_pool_defaults] if args.key?(:node_pool_defaults)
928
936
  @node_pools = args[:node_pools] if args.key?(:node_pools)
929
937
  @notification_config = args[:notification_config] if args.key?(:notification_config)
@@ -1137,6 +1145,12 @@ module Google
1137
1145
  # @return [String]
1138
1146
  attr_accessor :desired_monitoring_service
1139
1147
 
1148
+ # Collection of Compute Engine network tags that can be applied to a node's
1149
+ # underlying VM instance.
1150
+ # Corresponds to the JSON property `desiredNodePoolAutoConfigNetworkTags`
1151
+ # @return [Google::Apis::ContainerV1::NetworkTags]
1152
+ attr_accessor :desired_node_pool_auto_config_network_tags
1153
+
1140
1154
  # NodePoolAutoscaling contains information required by cluster autoscaler to
1141
1155
  # adjust the size of the node pool to the current cluster usage.
1142
1156
  # Corresponds to the JSON property `desiredNodePoolAutoscaling`
@@ -1238,6 +1252,7 @@ module Google
1238
1252
  @desired_mesh_certificates = args[:desired_mesh_certificates] if args.key?(:desired_mesh_certificates)
1239
1253
  @desired_monitoring_config = args[:desired_monitoring_config] if args.key?(:desired_monitoring_config)
1240
1254
  @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
1255
+ @desired_node_pool_auto_config_network_tags = args[:desired_node_pool_auto_config_network_tags] if args.key?(:desired_node_pool_auto_config_network_tags)
1241
1256
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
1242
1257
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
1243
1258
  @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
@@ -2731,6 +2746,26 @@ module Google
2731
2746
  end
2732
2747
  end
2733
2748
 
2749
+ # Collection of Compute Engine network tags that can be applied to a node's
2750
+ # underlying VM instance.
2751
+ class NetworkTags
2752
+ include Google::Apis::Core::Hashable
2753
+
2754
+ # List of network tags.
2755
+ # Corresponds to the JSON property `tags`
2756
+ # @return [Array<String>]
2757
+ attr_accessor :tags
2758
+
2759
+ def initialize(**args)
2760
+ update!(**args)
2761
+ end
2762
+
2763
+ # Update properties of this object
2764
+ def update!(**args)
2765
+ @tags = args[:tags] if args.key?(:tags)
2766
+ end
2767
+ end
2768
+
2734
2769
  # Parameters that describe the nodes in a cluster.
2735
2770
  class NodeConfig
2736
2771
  include Google::Apis::Core::Hashable
@@ -3256,6 +3291,27 @@ module Google
3256
3291
  end
3257
3292
  end
3258
3293
 
3294
+ # Node pool configs that apply to all auto-provisioned node pools in autopilot
3295
+ # clusters and node auto-provisioning enabled clusters.
3296
+ class NodePoolAutoConfig
3297
+ include Google::Apis::Core::Hashable
3298
+
3299
+ # Collection of Compute Engine network tags that can be applied to a node's
3300
+ # underlying VM instance.
3301
+ # Corresponds to the JSON property `networkTags`
3302
+ # @return [Google::Apis::ContainerV1::NetworkTags]
3303
+ attr_accessor :network_tags
3304
+
3305
+ def initialize(**args)
3306
+ update!(**args)
3307
+ end
3308
+
3309
+ # Update properties of this object
3310
+ def update!(**args)
3311
+ @network_tags = args[:network_tags] if args.key?(:network_tags)
3312
+ end
3313
+ end
3314
+
3259
3315
  # NodePoolAutoscaling contains information required by cluster autoscaler to
3260
3316
  # adjust the size of the node pool to the current cluster usage.
3261
3317
  class NodePoolAutoscaling
@@ -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.24.0"
19
+ GEM_VERSION = "0.25.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 = "20220209"
25
+ REVISION = "20220215"
26
26
  end
27
27
  end
28
28
  end
@@ -406,6 +406,12 @@ module Google
406
406
  include Google::Apis::Core::JsonObjectSupport
407
407
  end
408
408
 
409
+ class NetworkTags
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
409
415
  class NodeConfig
410
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
417
 
@@ -442,6 +448,12 @@ module Google
442
448
  include Google::Apis::Core::JsonObjectSupport
443
449
  end
444
450
 
451
+ class NodePoolAutoConfig
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
445
457
  class NodePoolAutoscaling
446
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
459
 
@@ -938,6 +950,8 @@ module Google
938
950
  property :node_config, as: 'nodeConfig', class: Google::Apis::ContainerV1::NodeConfig, decorator: Google::Apis::ContainerV1::NodeConfig::Representation
939
951
 
940
952
  property :node_ipv4_cidr_size, as: 'nodeIpv4CidrSize'
953
+ property :node_pool_auto_config, as: 'nodePoolAutoConfig', class: Google::Apis::ContainerV1::NodePoolAutoConfig, decorator: Google::Apis::ContainerV1::NodePoolAutoConfig::Representation
954
+
941
955
  property :node_pool_defaults, as: 'nodePoolDefaults', class: Google::Apis::ContainerV1::NodePoolDefaults, decorator: Google::Apis::ContainerV1::NodePoolDefaults::Representation
942
956
 
943
957
  collection :node_pools, as: 'nodePools', class: Google::Apis::ContainerV1::NodePool, decorator: Google::Apis::ContainerV1::NodePool::Representation
@@ -1019,6 +1033,8 @@ module Google
1019
1033
  property :desired_monitoring_config, as: 'desiredMonitoringConfig', class: Google::Apis::ContainerV1::MonitoringConfig, decorator: Google::Apis::ContainerV1::MonitoringConfig::Representation
1020
1034
 
1021
1035
  property :desired_monitoring_service, as: 'desiredMonitoringService'
1036
+ property :desired_node_pool_auto_config_network_tags, as: 'desiredNodePoolAutoConfigNetworkTags', class: Google::Apis::ContainerV1::NetworkTags, decorator: Google::Apis::ContainerV1::NetworkTags::Representation
1037
+
1022
1038
  property :desired_node_pool_autoscaling, as: 'desiredNodePoolAutoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
1023
1039
 
1024
1040
  property :desired_node_pool_id, as: 'desiredNodePoolId'
@@ -1466,6 +1482,13 @@ module Google
1466
1482
  end
1467
1483
  end
1468
1484
 
1485
+ class NetworkTags
1486
+ # @private
1487
+ class Representation < Google::Apis::Core::JsonRepresentation
1488
+ collection :tags, as: 'tags'
1489
+ end
1490
+ end
1491
+
1469
1492
  class NodeConfig
1470
1493
  # @private
1471
1494
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1574,6 +1597,14 @@ module Google
1574
1597
  end
1575
1598
  end
1576
1599
 
1600
+ class NodePoolAutoConfig
1601
+ # @private
1602
+ class Representation < Google::Apis::Core::JsonRepresentation
1603
+ property :network_tags, as: 'networkTags', class: Google::Apis::ContainerV1::NetworkTags, decorator: Google::Apis::ContainerV1::NetworkTags::Representation
1604
+
1605
+ end
1606
+ end
1607
+
1577
1608
  class NodePoolAutoscaling
1578
1609
  # @private
1579
1610
  class Representation < Google::Apis::Core::JsonRepresentation
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.24.0
4
+ version: 0.25.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-02-28 00:00:00.000000000 Z
11
+ date: 2022-03-07 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.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.25.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: []