google-apis-container_v1 0.23.0 → 0.26.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 034a718c55ed4a20de45e1b14c45685978492eae182d158de2a82dc4abffb113
4
- data.tar.gz: 602a905d66d669b76b9cfdbb6e9f4974bff512c1aebd84cd5547b7557f5ef55e
3
+ metadata.gz: c5e401d8bb76ec3f687c5d7eb8f4db12eee8817a9cbc4cd3d070939f92afe789
4
+ data.tar.gz: a56261ec0a49ff4bb83495ae7790978eca5d18c8641a5b028fc62e3d36c827df
5
5
  SHA512:
6
- metadata.gz: 6f9a0b067dc51c8f0bb371f93348834cde1e58ed75b6276a64c410a27eaa9517a3ebf49d85e347f1c58bcefba2acc103381ae4bb2c6473cab706c618c01a84db
7
- data.tar.gz: e1bcc190ef52eaa3364705660a4f28fdf43357d4746d3f0cfadea61a8a10f614ea1d03f75e315a6bd7e0039e3786d25d4c709a1435571136d71990c0b92fa62c
6
+ metadata.gz: 389f6ab3181206d13b98eb7da871dbb5d85e5003c67420488c9cca5fa75a0fea4b98001e4c25ed455f6d129d931c08cc928764acb76a595d48a85b68e36ab00e
7
+ data.tar.gz: ff44c9d5c859ab0a8e9ecf1fea06e4cf1dc52d38a3a259912cd8a5d9783d286bf258b0631503a0fc66984c34bc268616d9e060a034710dbc5076a883e91b7706
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.26.0 (2022-03-21)
4
+
5
+ * Regenerated from discovery document revision 20220308
6
+
7
+ ### v0.25.0 (2022-03-03)
8
+
9
+ * Regenerated from discovery document revision 20220215
10
+
11
+ ### v0.24.0 (2022-02-22)
12
+
13
+ * Regenerated from discovery document revision 20220209
14
+
3
15
  ### v0.23.0 (2022-02-08)
4
16
 
5
17
  * Regenerated from discovery document revision 20220116
@@ -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
@@ -762,7 +763,9 @@ module Google
762
763
  # @return [Google::Apis::ContainerV1::NetworkPolicy]
763
764
  attr_accessor :network_policy
764
765
 
765
- # Parameters that describe the nodes in a cluster.
766
+ # Parameters that describe the nodes in a cluster. *Note: *GKE Autopilot
767
+ # clusters do not recognize parameters in `NodeConfig`. Use
768
+ # AutoprovisioningNodePoolDefaults instead.
766
769
  # Corresponds to the JSON property `nodeConfig`
767
770
  # @return [Google::Apis::ContainerV1::NodeConfig]
768
771
  attr_accessor :node_config
@@ -774,6 +777,12 @@ module Google
774
777
  # @return [Fixnum]
775
778
  attr_accessor :node_ipv4_cidr_size
776
779
 
780
+ # Node pool configs that apply to all auto-provisioned node pools in autopilot
781
+ # clusters and node auto-provisioning enabled clusters.
782
+ # Corresponds to the JSON property `nodePoolAutoConfig`
783
+ # @return [Google::Apis::ContainerV1::NodePoolAutoConfig]
784
+ attr_accessor :node_pool_auto_config
785
+
777
786
  # Subset of Nodepool message that has defaults.
778
787
  # Corresponds to the JSON property `nodePoolDefaults`
779
788
  # @return [Google::Apis::ContainerV1::NodePoolDefaults]
@@ -924,6 +933,7 @@ module Google
924
933
  @network_policy = args[:network_policy] if args.key?(:network_policy)
925
934
  @node_config = args[:node_config] if args.key?(:node_config)
926
935
  @node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
936
+ @node_pool_auto_config = args[:node_pool_auto_config] if args.key?(:node_pool_auto_config)
927
937
  @node_pool_defaults = args[:node_pool_defaults] if args.key?(:node_pool_defaults)
928
938
  @node_pools = args[:node_pools] if args.key?(:node_pools)
929
939
  @notification_config = args[:notification_config] if args.key?(:notification_config)
@@ -1137,6 +1147,12 @@ module Google
1137
1147
  # @return [String]
1138
1148
  attr_accessor :desired_monitoring_service
1139
1149
 
1150
+ # Collection of Compute Engine network tags that can be applied to a node's
1151
+ # underlying VM instance.
1152
+ # Corresponds to the JSON property `desiredNodePoolAutoConfigNetworkTags`
1153
+ # @return [Google::Apis::ContainerV1::NetworkTags]
1154
+ attr_accessor :desired_node_pool_auto_config_network_tags
1155
+
1140
1156
  # NodePoolAutoscaling contains information required by cluster autoscaler to
1141
1157
  # adjust the size of the node pool to the current cluster usage.
1142
1158
  # Corresponds to the JSON property `desiredNodePoolAutoscaling`
@@ -1238,6 +1254,7 @@ module Google
1238
1254
  @desired_mesh_certificates = args[:desired_mesh_certificates] if args.key?(:desired_mesh_certificates)
1239
1255
  @desired_monitoring_config = args[:desired_monitoring_config] if args.key?(:desired_monitoring_config)
1240
1256
  @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
1257
+ @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
1258
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
1242
1259
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
1243
1260
  @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
@@ -2731,7 +2748,29 @@ module Google
2731
2748
  end
2732
2749
  end
2733
2750
 
2734
- # Parameters that describe the nodes in a cluster.
2751
+ # Collection of Compute Engine network tags that can be applied to a node's
2752
+ # underlying VM instance.
2753
+ class NetworkTags
2754
+ include Google::Apis::Core::Hashable
2755
+
2756
+ # List of network tags.
2757
+ # Corresponds to the JSON property `tags`
2758
+ # @return [Array<String>]
2759
+ attr_accessor :tags
2760
+
2761
+ def initialize(**args)
2762
+ update!(**args)
2763
+ end
2764
+
2765
+ # Update properties of this object
2766
+ def update!(**args)
2767
+ @tags = args[:tags] if args.key?(:tags)
2768
+ end
2769
+ end
2770
+
2771
+ # Parameters that describe the nodes in a cluster. *Note: *GKE Autopilot
2772
+ # clusters do not recognize parameters in `NodeConfig`. Use
2773
+ # AutoprovisioningNodePoolDefaults instead.
2735
2774
  class NodeConfig
2736
2775
  include Google::Apis::Core::Hashable
2737
2776
 
@@ -2900,6 +2939,13 @@ module Google
2900
2939
  # @return [Google::Apis::ContainerV1::ShieldedInstanceConfig]
2901
2940
  attr_accessor :shielded_instance_config
2902
2941
 
2942
+ # Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible
2943
+ # flag.
2944
+ # Corresponds to the JSON property `spot`
2945
+ # @return [Boolean]
2946
+ attr_accessor :spot
2947
+ alias_method :spot?, :spot
2948
+
2903
2949
  # The list of instance tags applied to all nodes. Tags are used to identify
2904
2950
  # valid sources or targets for network firewalls and are specified by the client
2905
2951
  # during cluster or node pool creation. Each tag within the list must comply
@@ -2949,6 +2995,7 @@ module Google
2949
2995
  @sandbox_config = args[:sandbox_config] if args.key?(:sandbox_config)
2950
2996
  @service_account = args[:service_account] if args.key?(:service_account)
2951
2997
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
2998
+ @spot = args[:spot] if args.key?(:spot)
2952
2999
  @tags = args[:tags] if args.key?(:tags)
2953
3000
  @taints = args[:taints] if args.key?(:taints)
2954
3001
  @workload_metadata_config = args[:workload_metadata_config] if args.key?(:workload_metadata_config)
@@ -3128,7 +3175,9 @@ module Google
3128
3175
  # @return [Array<Google::Apis::ContainerV1::StatusCondition>]
3129
3176
  attr_accessor :conditions
3130
3177
 
3131
- # Parameters that describe the nodes in a cluster.
3178
+ # Parameters that describe the nodes in a cluster. *Note: *GKE Autopilot
3179
+ # clusters do not recognize parameters in `NodeConfig`. Use
3180
+ # AutoprovisioningNodePoolDefaults instead.
3132
3181
  # Corresponds to the JSON property `config`
3133
3182
  # @return [Google::Apis::ContainerV1::NodeConfig]
3134
3183
  attr_accessor :config
@@ -3248,6 +3297,27 @@ module Google
3248
3297
  end
3249
3298
  end
3250
3299
 
3300
+ # Node pool configs that apply to all auto-provisioned node pools in autopilot
3301
+ # clusters and node auto-provisioning enabled clusters.
3302
+ class NodePoolAutoConfig
3303
+ include Google::Apis::Core::Hashable
3304
+
3305
+ # Collection of Compute Engine network tags that can be applied to a node's
3306
+ # underlying VM instance.
3307
+ # Corresponds to the JSON property `networkTags`
3308
+ # @return [Google::Apis::ContainerV1::NetworkTags]
3309
+ attr_accessor :network_tags
3310
+
3311
+ def initialize(**args)
3312
+ update!(**args)
3313
+ end
3314
+
3315
+ # Update properties of this object
3316
+ def update!(**args)
3317
+ @network_tags = args[:network_tags] if args.key?(:network_tags)
3318
+ end
3319
+ end
3320
+
3251
3321
  # NodePoolAutoscaling contains information required by cluster autoscaler to
3252
3322
  # adjust the size of the node pool to the current cluster usage.
3253
3323
  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.23.0"
19
+ GEM_VERSION = "0.26.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 = "20220116"
25
+ REVISION = "20220308"
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
@@ -1500,6 +1523,7 @@ module Google
1500
1523
  property :service_account, as: 'serviceAccount'
1501
1524
  property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ContainerV1::ShieldedInstanceConfig, decorator: Google::Apis::ContainerV1::ShieldedInstanceConfig::Representation
1502
1525
 
1526
+ property :spot, as: 'spot'
1503
1527
  collection :tags, as: 'tags'
1504
1528
  collection :taints, as: 'taints', class: Google::Apis::ContainerV1::NodeTaint, decorator: Google::Apis::ContainerV1::NodeTaint::Representation
1505
1529
 
@@ -1573,6 +1597,14 @@ module Google
1573
1597
  end
1574
1598
  end
1575
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
+
1576
1608
  class NodePoolAutoscaling
1577
1609
  # @private
1578
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.23.0
4
+ version: 0.26.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-14 00:00:00.000000000 Z
11
+ date: 2022-03-28 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.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.26.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: []