google-apis-container_v1beta1 0.59.0 → 0.60.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: 14285e6c455edb63cd7e2b2c6b58668d32cdbe40026a8e49828536f461d0cc68
4
- data.tar.gz: 56ae162bd71fe79df0969e863f8f4ad66f3a1064f96060dd200d76e8afb2c2fb
3
+ metadata.gz: 187dededc0041e458f6105d2e1c011a24de1dedefcb19ea2f29a6e6def7e46bf
4
+ data.tar.gz: 11c25621616e7a87623a5373a0968e16f1287fa08164b771f5ef56eccb56b193
5
5
  SHA512:
6
- metadata.gz: fe7f74cce8c0fbc545a104038e2727cb94b8b6d9156e2359a71ae8273c135a9f55ad8071fcc5465addc9417f725d90bdaeb884c98c120c65df9e48a92de8a923
7
- data.tar.gz: c87db230cf89e588c7059aebf644b030595638bfb00e3ea424ff596c0c528bd80a2bd040a10c59eb73f69d666dbbfd8bbedecf7dd07ad61198a9bf16e948c118
6
+ metadata.gz: 74c6265abffa97f65f2aafe4a25c7b92fd262cea9383a3b8818439efb65ed4ba280764d172243ef1074ccc484a90ef6445e7009a7982f9c49d6a62ab756b08bb
7
+ data.tar.gz: 39557d85064a831eee97d165348a7b695e7a2f99a96b38f28c40780596d15f62bfc9cda36938d02c0279851416311700d28df7eaf71add99adef3bf4e418aeea
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1beta1
2
2
 
3
+ ### v0.60.0 (2023-10-29)
4
+
5
+ * Regenerated from discovery document revision 20231012
6
+
3
7
  ### v0.59.0 (2023-10-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20230919
@@ -1768,6 +1768,15 @@ module Google
1768
1768
  # @return [Google::Apis::ContainerV1beta1::NetworkTags]
1769
1769
  attr_accessor :desired_node_pool_auto_config_network_tags
1770
1770
 
1771
+ # A map of resource manager tag keys and values to be attached to the nodes for
1772
+ # managing Compute Engine firewalls using Network Firewall Policies. Tags must
1773
+ # be according to specifications in https://cloud.google.com/vpc/docs/tags-
1774
+ # firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
1775
+ # specified. Existing tags will be replaced with new values.
1776
+ # Corresponds to the JSON property `desiredNodePoolAutoConfigResourceManagerTags`
1777
+ # @return [Google::Apis::ContainerV1beta1::ResourceManagerTags]
1778
+ attr_accessor :desired_node_pool_auto_config_resource_manager_tags
1779
+
1771
1780
  # NodePoolAutoscaling contains information required by cluster autoscaler to
1772
1781
  # adjust the size of the node pool to the current cluster usage.
1773
1782
  # Corresponds to the JSON property `desiredNodePoolAutoscaling`
@@ -1953,6 +1962,7 @@ module Google
1953
1962
  @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
1954
1963
  @desired_network_performance_config = args[:desired_network_performance_config] if args.key?(:desired_network_performance_config)
1955
1964
  @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)
1965
+ @desired_node_pool_auto_config_resource_manager_tags = args[:desired_node_pool_auto_config_resource_manager_tags] if args.key?(:desired_node_pool_auto_config_resource_manager_tags)
1956
1966
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
1957
1967
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
1958
1968
  @desired_node_pool_logging_config = args[:desired_node_pool_logging_config] if args.key?(:desired_node_pool_logging_config)
@@ -2835,6 +2845,11 @@ module Google
2835
2845
  # @return [String]
2836
2846
  attr_accessor :maintenance_interval
2837
2847
 
2848
+ # Strategy that will trigger maintenance on behalf of the customer.
2849
+ # Corresponds to the JSON property `opportunisticMaintenanceStrategy`
2850
+ # @return [Google::Apis::ContainerV1beta1::OpportunisticMaintenanceStrategy]
2851
+ attr_accessor :opportunistic_maintenance_strategy
2852
+
2838
2853
  def initialize(**args)
2839
2854
  update!(**args)
2840
2855
  end
@@ -2842,6 +2857,7 @@ module Google
2842
2857
  # Update properties of this object
2843
2858
  def update!(**args)
2844
2859
  @maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
2860
+ @opportunistic_maintenance_strategy = args[:opportunistic_maintenance_strategy] if args.key?(:opportunistic_maintenance_strategy)
2845
2861
  end
2846
2862
  end
2847
2863
 
@@ -4405,6 +4421,15 @@ module Google
4405
4421
  # @return [Hash<String,String>]
4406
4422
  attr_accessor :resource_labels
4407
4423
 
4424
+ # A map of resource manager tag keys and values to be attached to the nodes for
4425
+ # managing Compute Engine firewalls using Network Firewall Policies. Tags must
4426
+ # be according to specifications in https://cloud.google.com/vpc/docs/tags-
4427
+ # firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
4428
+ # specified. Existing tags will be replaced with new values.
4429
+ # Corresponds to the JSON property `resourceManagerTags`
4430
+ # @return [Google::Apis::ContainerV1beta1::ResourceManagerTags]
4431
+ attr_accessor :resource_manager_tags
4432
+
4408
4433
  # SandboxConfig contains configurations of the sandbox to use for the node.
4409
4434
  # Corresponds to the JSON property `sandboxConfig`
4410
4435
  # @return [Google::Apis::ContainerV1beta1::SandboxConfig]
@@ -4497,6 +4522,7 @@ module Google
4497
4522
  @preemptible = args[:preemptible] if args.key?(:preemptible)
4498
4523
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
4499
4524
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
4525
+ @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
4500
4526
  @sandbox_config = args[:sandbox_config] if args.key?(:sandbox_config)
4501
4527
  @service_account = args[:service_account] if args.key?(:service_account)
4502
4528
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
@@ -4948,6 +4974,15 @@ module Google
4948
4974
  # @return [Google::Apis::ContainerV1beta1::NetworkTags]
4949
4975
  attr_accessor :network_tags
4950
4976
 
4977
+ # A map of resource manager tag keys and values to be attached to the nodes for
4978
+ # managing Compute Engine firewalls using Network Firewall Policies. Tags must
4979
+ # be according to specifications in https://cloud.google.com/vpc/docs/tags-
4980
+ # firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
4981
+ # specified. Existing tags will be replaced with new values.
4982
+ # Corresponds to the JSON property `resourceManagerTags`
4983
+ # @return [Google::Apis::ContainerV1beta1::ResourceManagerTags]
4984
+ attr_accessor :resource_manager_tags
4985
+
4951
4986
  def initialize(**args)
4952
4987
  update!(**args)
4953
4988
  end
@@ -4955,6 +4990,7 @@ module Google
4955
4990
  # Update properties of this object
4956
4991
  def update!(**args)
4957
4992
  @network_tags = args[:network_tags] if args.key?(:network_tags)
4993
+ @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
4958
4994
  end
4959
4995
  end
4960
4996
 
@@ -5301,6 +5337,43 @@ module Google
5301
5337
  end
5302
5338
  end
5303
5339
 
5340
+ # Strategy that will trigger maintenance on behalf of the customer.
5341
+ class OpportunisticMaintenanceStrategy
5342
+ include Google::Apis::Core::Hashable
5343
+
5344
+ # The window of time that opportunistic maintenance can run. Example: A setting
5345
+ # of 14 days implies that opportunistic maintenance can only be ran in the 2
5346
+ # weeks leading up to the scheduled maintenance date. Setting 28 days allows
5347
+ # opportunistic maintenance to run at any time in the scheduled maintenance
5348
+ # window (all `PERIODIC` maintenance is set 28 days in advance).
5349
+ # Corresponds to the JSON property `maintenanceAvailabilityWindow`
5350
+ # @return [String]
5351
+ attr_accessor :maintenance_availability_window
5352
+
5353
+ # The minimum nodes required to be available in a pool. Blocks maintenance if it
5354
+ # would cause the number of running nodes to dip below this value.
5355
+ # Corresponds to the JSON property `minNodesPerPool`
5356
+ # @return [Fixnum]
5357
+ attr_accessor :min_nodes_per_pool
5358
+
5359
+ # The amount of time that a node can remain idle (no customer owned workloads
5360
+ # running), before triggering maintenance.
5361
+ # Corresponds to the JSON property `nodeIdleTimeWindow`
5362
+ # @return [String]
5363
+ attr_accessor :node_idle_time_window
5364
+
5365
+ def initialize(**args)
5366
+ update!(**args)
5367
+ end
5368
+
5369
+ # Update properties of this object
5370
+ def update!(**args)
5371
+ @maintenance_availability_window = args[:maintenance_availability_window] if args.key?(:maintenance_availability_window)
5372
+ @min_nodes_per_pool = args[:min_nodes_per_pool] if args.key?(:min_nodes_per_pool)
5373
+ @node_idle_time_window = args[:node_idle_time_window] if args.key?(:node_idle_time_window)
5374
+ end
5375
+ end
5376
+
5304
5377
  # ParentProductConfig is the configuration of the parent product of the cluster.
5305
5378
  # This field is used by Google internal products that are built on top of a GKE
5306
5379
  # cluster and take the ownership of the cluster.
@@ -5788,6 +5861,31 @@ module Google
5788
5861
  end
5789
5862
  end
5790
5863
 
5864
+ # A map of resource manager tag keys and values to be attached to the nodes for
5865
+ # managing Compute Engine firewalls using Network Firewall Policies. Tags must
5866
+ # be according to specifications in https://cloud.google.com/vpc/docs/tags-
5867
+ # firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
5868
+ # specified. Existing tags will be replaced with new values.
5869
+ class ResourceManagerTags
5870
+ include Google::Apis::Core::Hashable
5871
+
5872
+ # Tags must be in one of the following formats ([KEY]=[VALUE]) 1. `tagKeys/`
5873
+ # tag_key_id`=tagValues/`tag_value_id`` 2. ``org_id`/`tag_key_name`=`
5874
+ # tag_value_name`` 3. ``project_id`/`tag_key_name`=`tag_value_name``
5875
+ # Corresponds to the JSON property `tags`
5876
+ # @return [Hash<String,String>]
5877
+ attr_accessor :tags
5878
+
5879
+ def initialize(**args)
5880
+ update!(**args)
5881
+ end
5882
+
5883
+ # Update properties of this object
5884
+ def update!(**args)
5885
+ @tags = args[:tags] if args.key?(:tags)
5886
+ end
5887
+ end
5888
+
5791
5889
  # Configuration for exporting cluster resource usages.
5792
5890
  class ResourceUsageExportConfig
5793
5891
  include Google::Apis::Core::Hashable
@@ -7297,6 +7395,15 @@ module Google
7297
7395
  # @return [Google::Apis::ContainerV1beta1::ResourceLabels]
7298
7396
  attr_accessor :resource_labels
7299
7397
 
7398
+ # A map of resource manager tag keys and values to be attached to the nodes for
7399
+ # managing Compute Engine firewalls using Network Firewall Policies. Tags must
7400
+ # be according to specifications in https://cloud.google.com/vpc/docs/tags-
7401
+ # firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
7402
+ # specified. Existing tags will be replaced with new values.
7403
+ # Corresponds to the JSON property `resourceManagerTags`
7404
+ # @return [Google::Apis::ContainerV1beta1::ResourceManagerTags]
7405
+ attr_accessor :resource_manager_tags
7406
+
7300
7407
  # Collection of Compute Engine network tags that can be applied to a node's
7301
7408
  # underlying VM instance. (See `tags` field in [`NodeConfig`](/kubernetes-engine/
7302
7409
  # docs/reference/rest/v1/NodeConfig)).
@@ -7378,6 +7485,7 @@ module Google
7378
7485
  @node_version = args[:node_version] if args.key?(:node_version)
7379
7486
  @project_id = args[:project_id] if args.key?(:project_id)
7380
7487
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
7488
+ @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
7381
7489
  @tags = args[:tags] if args.key?(:tags)
7382
7490
  @taints = args[:taints] if args.key?(:taints)
7383
7491
  @upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContainerV1beta1
18
18
  # Version of the google-apis-container_v1beta1 gem
19
- GEM_VERSION = "0.59.0"
19
+ GEM_VERSION = "0.60.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230919"
25
+ REVISION = "20231012"
26
26
  end
27
27
  end
28
28
  end
@@ -724,6 +724,12 @@ module Google
724
724
  include Google::Apis::Core::JsonObjectSupport
725
725
  end
726
726
 
727
+ class OpportunisticMaintenanceStrategy
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
727
733
  class ParentProductConfig
728
734
  class Representation < Google::Apis::Core::JsonRepresentation; end
729
735
 
@@ -820,6 +826,12 @@ module Google
820
826
  include Google::Apis::Core::JsonObjectSupport
821
827
  end
822
828
 
829
+ class ResourceManagerTags
830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
831
+
832
+ include Google::Apis::Core::JsonObjectSupport
833
+ end
834
+
823
835
  class ResourceUsageExportConfig
824
836
  class Representation < Google::Apis::Core::JsonRepresentation; end
825
837
 
@@ -1564,6 +1576,8 @@ module Google
1564
1576
 
1565
1577
  property :desired_node_pool_auto_config_network_tags, as: 'desiredNodePoolAutoConfigNetworkTags', class: Google::Apis::ContainerV1beta1::NetworkTags, decorator: Google::Apis::ContainerV1beta1::NetworkTags::Representation
1566
1578
 
1579
+ property :desired_node_pool_auto_config_resource_manager_tags, as: 'desiredNodePoolAutoConfigResourceManagerTags', class: Google::Apis::ContainerV1beta1::ResourceManagerTags, decorator: Google::Apis::ContainerV1beta1::ResourceManagerTags::Representation
1580
+
1567
1581
  property :desired_node_pool_autoscaling, as: 'desiredNodePoolAutoscaling', class: Google::Apis::ContainerV1beta1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1beta1::NodePoolAutoscaling::Representation
1568
1582
 
1569
1583
  property :desired_node_pool_id, as: 'desiredNodePoolId'
@@ -1861,6 +1875,8 @@ module Google
1861
1875
  # @private
1862
1876
  class Representation < Google::Apis::Core::JsonRepresentation
1863
1877
  property :maintenance_interval, as: 'maintenanceInterval'
1878
+ property :opportunistic_maintenance_strategy, as: 'opportunisticMaintenanceStrategy', class: Google::Apis::ContainerV1beta1::OpportunisticMaintenanceStrategy, decorator: Google::Apis::ContainerV1beta1::OpportunisticMaintenanceStrategy::Representation
1879
+
1864
1880
  end
1865
1881
  end
1866
1882
 
@@ -2287,6 +2303,8 @@ module Google
2287
2303
  property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ContainerV1beta1::ReservationAffinity, decorator: Google::Apis::ContainerV1beta1::ReservationAffinity::Representation
2288
2304
 
2289
2305
  hash :resource_labels, as: 'resourceLabels'
2306
+ property :resource_manager_tags, as: 'resourceManagerTags', class: Google::Apis::ContainerV1beta1::ResourceManagerTags, decorator: Google::Apis::ContainerV1beta1::ResourceManagerTags::Representation
2307
+
2290
2308
  property :sandbox_config, as: 'sandboxConfig', class: Google::Apis::ContainerV1beta1::SandboxConfig, decorator: Google::Apis::ContainerV1beta1::SandboxConfig::Representation
2291
2309
 
2292
2310
  property :service_account, as: 'serviceAccount'
@@ -2405,6 +2423,8 @@ module Google
2405
2423
  class Representation < Google::Apis::Core::JsonRepresentation
2406
2424
  property :network_tags, as: 'networkTags', class: Google::Apis::ContainerV1beta1::NetworkTags, decorator: Google::Apis::ContainerV1beta1::NetworkTags::Representation
2407
2425
 
2426
+ property :resource_manager_tags, as: 'resourceManagerTags', class: Google::Apis::ContainerV1beta1::ResourceManagerTags, decorator: Google::Apis::ContainerV1beta1::ResourceManagerTags::Representation
2427
+
2408
2428
  end
2409
2429
  end
2410
2430
 
@@ -2499,6 +2519,15 @@ module Google
2499
2519
  end
2500
2520
  end
2501
2521
 
2522
+ class OpportunisticMaintenanceStrategy
2523
+ # @private
2524
+ class Representation < Google::Apis::Core::JsonRepresentation
2525
+ property :maintenance_availability_window, as: 'maintenanceAvailabilityWindow'
2526
+ property :min_nodes_per_pool, :numeric_string => true, as: 'minNodesPerPool'
2527
+ property :node_idle_time_window, as: 'nodeIdleTimeWindow'
2528
+ end
2529
+ end
2530
+
2502
2531
  class ParentProductConfig
2503
2532
  # @private
2504
2533
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2638,6 +2667,13 @@ module Google
2638
2667
  end
2639
2668
  end
2640
2669
 
2670
+ class ResourceManagerTags
2671
+ # @private
2672
+ class Representation < Google::Apis::Core::JsonRepresentation
2673
+ hash :tags, as: 'tags'
2674
+ end
2675
+ end
2676
+
2641
2677
  class ResourceUsageExportConfig
2642
2678
  # @private
2643
2679
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3003,6 +3039,8 @@ module Google
3003
3039
  property :project_id, as: 'projectId'
3004
3040
  property :resource_labels, as: 'resourceLabels', class: Google::Apis::ContainerV1beta1::ResourceLabels, decorator: Google::Apis::ContainerV1beta1::ResourceLabels::Representation
3005
3041
 
3042
+ property :resource_manager_tags, as: 'resourceManagerTags', class: Google::Apis::ContainerV1beta1::ResourceManagerTags, decorator: Google::Apis::ContainerV1beta1::ResourceManagerTags::Representation
3043
+
3006
3044
  property :tags, as: 'tags', class: Google::Apis::ContainerV1beta1::NetworkTags, decorator: Google::Apis::ContainerV1beta1::NetworkTags::Representation
3007
3045
 
3008
3046
  property :taints, as: 'taints', class: Google::Apis::ContainerV1beta1::NodeTaints, decorator: Google::Apis::ContainerV1beta1::NodeTaints::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.59.0
4
+ version: 0.60.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: 2023-10-08 00:00:00.000000000 Z
11
+ date: 2023-10-29 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.59.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.60.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []