google-apis-container_v1 0.32.0 → 0.33.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: 7fc8bed12815937ac19122fdfe16b3a1a465953a1f73273b46ff413b82e59a8b
4
- data.tar.gz: 72232d4ce9794db86ff6e4fe5ef38efcbda910868ced3245d7df8805aaeb4274
3
+ metadata.gz: 53e65603d9bdaa55f70003cea60cd1a04635edd633a0782ff0435da9e05d0eb6
4
+ data.tar.gz: 40cba5b2f834d2ee698fb93b318b64d38bcf89c7d254fc8212bdea657ba6aa7f
5
5
  SHA512:
6
- metadata.gz: f8b12b45ac727504183c02d7e427b891da86eaa440d32785fc7c90793ff6b06bd61cf23e60a87886f6ea63c6852be2f1a2a6a81207592a5cb6dc7e46d0285e5c
7
- data.tar.gz: 8d52f05f7b3c14b6188abb245318cdc7a93339aa5c260cb8d1a1684f7e37189b52776bf986ed0a1516182d89be88b2a11164b01a64708097ede37840216ad6c8
6
+ metadata.gz: 1876d21d647e3ba84a28476ce982d4b60749fbde5cf73887dd34fe4b82eef5c4bfba016d38beacba7fd28b9f0e7d8c76ddefb5f09e56ed984abff522d38ea63e
7
+ data.tar.gz: af52b8a480b4bf48d360694e6a3197cb05881cfd6f29582c42c69aa72ab8ccadefe28add2135cf7a07fdf605b433662ede8368b36127ef567ba65d7063fc48b8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.33.0 (2022-06-30)
4
+
5
+ * Regenerated using generator version 0.8.0
6
+ * Regenerated from discovery document revision 20220615
7
+
3
8
  ### v0.32.0 (2022-06-18)
4
9
 
5
10
  * Regenerated using generator version 0.7.0
@@ -312,6 +312,23 @@ module Google
312
312
  # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
313
313
  # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
314
314
  # same time. This ensures that there are always at least 4 nodes available.
315
+ # These upgrade settings configure the upgrade strategy for the node pool. Use
316
+ # strategy to switch between the strategies applied to the node pool. If the
317
+ # strategy is ROLLING, use max_surge and max_unavailable to control the level of
318
+ # parallelism and the level of disruption caused by upgrade. 1. maxSurge
319
+ # controls the number of additional nodes that can be added to the node pool
320
+ # temporarily for the time of the upgrade to increase the number of available
321
+ # nodes. 2. maxUnavailable controls the number of nodes that can be
322
+ # simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the
323
+ # level of parallelism (how many nodes are being upgraded at the same time). If
324
+ # the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-
325
+ # green upgrade related settings. 1. standard_rollout_policy is the default
326
+ # policy. The policy is used to control the way blue pool gets drained. The
327
+ # draining is executed in the batch mode. The batch size could be specified as
328
+ # either percentage of the node pool size or the number of nodes.
329
+ # batch_soak_duration is the soak time after each batch gets drained. 2.
330
+ # node_pool_soak_duration is the soak time after all blue nodes are drained.
331
+ # After this period, the blue pool nodes will be deleted.
315
332
  # Corresponds to the JSON property `upgradeSettings`
316
333
  # @return [Google::Apis::ContainerV1::UpgradeSettings]
317
334
  attr_accessor :upgrade_settings
@@ -382,6 +399,78 @@ module Google
382
399
  end
383
400
  end
384
401
 
402
+ # Information relevant to blue-green upgrade.
403
+ class BlueGreenInfo
404
+ include Google::Apis::Core::Hashable
405
+
406
+ # The resource URLs of the [managed instance groups] (/compute/docs/instance-
407
+ # groups/creating-groups-of-managed-instances) associated with blue pool.
408
+ # Corresponds to the JSON property `blueInstanceGroupUrls`
409
+ # @return [Array<String>]
410
+ attr_accessor :blue_instance_group_urls
411
+
412
+ # Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](
413
+ # https://www.ietf.org/rfc/rfc3339.txt) text format.
414
+ # Corresponds to the JSON property `bluePoolDeletionStartTime`
415
+ # @return [String]
416
+ attr_accessor :blue_pool_deletion_start_time
417
+
418
+ # The resource URLs of the [managed instance groups] (/compute/docs/instance-
419
+ # groups/creating-groups-of-managed-instances) associated with green pool.
420
+ # Corresponds to the JSON property `greenInstanceGroupUrls`
421
+ # @return [Array<String>]
422
+ attr_accessor :green_instance_group_urls
423
+
424
+ # Version of green pool.
425
+ # Corresponds to the JSON property `greenPoolVersion`
426
+ # @return [String]
427
+ attr_accessor :green_pool_version
428
+
429
+ # Current blue-green upgrade phase.
430
+ # Corresponds to the JSON property `phase`
431
+ # @return [String]
432
+ attr_accessor :phase
433
+
434
+ def initialize(**args)
435
+ update!(**args)
436
+ end
437
+
438
+ # Update properties of this object
439
+ def update!(**args)
440
+ @blue_instance_group_urls = args[:blue_instance_group_urls] if args.key?(:blue_instance_group_urls)
441
+ @blue_pool_deletion_start_time = args[:blue_pool_deletion_start_time] if args.key?(:blue_pool_deletion_start_time)
442
+ @green_instance_group_urls = args[:green_instance_group_urls] if args.key?(:green_instance_group_urls)
443
+ @green_pool_version = args[:green_pool_version] if args.key?(:green_pool_version)
444
+ @phase = args[:phase] if args.key?(:phase)
445
+ end
446
+ end
447
+
448
+ # Settings for blue-green upgrade.
449
+ class BlueGreenSettings
450
+ include Google::Apis::Core::Hashable
451
+
452
+ # Time needed after draining entire blue pool. After this period, blue pool will
453
+ # be cleaned up.
454
+ # Corresponds to the JSON property `nodePoolSoakDuration`
455
+ # @return [String]
456
+ attr_accessor :node_pool_soak_duration
457
+
458
+ # Standard rollout policy is the default policy for blue-green.
459
+ # Corresponds to the JSON property `standardRolloutPolicy`
460
+ # @return [Google::Apis::ContainerV1::StandardRolloutPolicy]
461
+ attr_accessor :standard_rollout_policy
462
+
463
+ def initialize(**args)
464
+ update!(**args)
465
+ end
466
+
467
+ # Update properties of this object
468
+ def update!(**args)
469
+ @node_pool_soak_duration = args[:node_pool_soak_duration] if args.key?(:node_pool_soak_duration)
470
+ @standard_rollout_policy = args[:standard_rollout_policy] if args.key?(:standard_rollout_policy)
471
+ end
472
+ end
473
+
385
474
  # CancelOperationRequest cancels a single operation.
386
475
  class CancelOperationRequest
387
476
  include Google::Apis::Core::Hashable
@@ -1327,6 +1416,20 @@ module Google
1327
1416
  end
1328
1417
  end
1329
1418
 
1419
+ # CompleteNodePoolUpgradeRequest sets the name of target node pool to complete
1420
+ # upgrade.
1421
+ class CompleteNodePoolUpgradeRequest
1422
+ include Google::Apis::Core::Hashable
1423
+
1424
+ def initialize(**args)
1425
+ update!(**args)
1426
+ end
1427
+
1428
+ # Update properties of this object
1429
+ def update!(**args)
1430
+ end
1431
+ end
1432
+
1330
1433
  # ConfidentialNodes is configuration for the confidential nodes feature, which
1331
1434
  # makes nodes run on confidential VMs.
1332
1435
  class ConfidentialNodes
@@ -3321,7 +3424,8 @@ module Google
3321
3424
 
3322
3425
  # [Output only] The resource URLs of the [managed instance groups](https://cloud.
3323
3426
  # google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
3324
- # associated with this node pool.
3427
+ # associated with this node pool. During the node pool blue-green upgrade
3428
+ # operation, the URLs contain both blue and green resources.
3325
3429
  # Corresponds to the JSON property `instanceGroupUrls`
3326
3430
  # @return [Array<String>]
3327
3431
  attr_accessor :instance_group_urls
@@ -3378,6 +3482,12 @@ module Google
3378
3482
  # @return [String]
3379
3483
  attr_accessor :status_message
3380
3484
 
3485
+ # UpdateInfo contains resource (instance groups, etc), status and other
3486
+ # intermediate information relevant to a node pool upgrade.
3487
+ # Corresponds to the JSON property `updateInfo`
3488
+ # @return [Google::Apis::ContainerV1::UpdateInfo]
3489
+ attr_accessor :update_info
3490
+
3381
3491
  # These upgrade settings control the level of parallelism and the level of
3382
3492
  # disruption caused by an upgrade. maxUnavailable controls the number of nodes
3383
3493
  # that can be simultaneously unavailable. maxSurge controls the number of
@@ -3392,6 +3502,23 @@ module Google
3392
3502
  # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
3393
3503
  # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
3394
3504
  # same time. This ensures that there are always at least 4 nodes available.
3505
+ # These upgrade settings configure the upgrade strategy for the node pool. Use
3506
+ # strategy to switch between the strategies applied to the node pool. If the
3507
+ # strategy is ROLLING, use max_surge and max_unavailable to control the level of
3508
+ # parallelism and the level of disruption caused by upgrade. 1. maxSurge
3509
+ # controls the number of additional nodes that can be added to the node pool
3510
+ # temporarily for the time of the upgrade to increase the number of available
3511
+ # nodes. 2. maxUnavailable controls the number of nodes that can be
3512
+ # simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the
3513
+ # level of parallelism (how many nodes are being upgraded at the same time). If
3514
+ # the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-
3515
+ # green upgrade related settings. 1. standard_rollout_policy is the default
3516
+ # policy. The policy is used to control the way blue pool gets drained. The
3517
+ # draining is executed in the batch mode. The batch size could be specified as
3518
+ # either percentage of the node pool size or the number of nodes.
3519
+ # batch_soak_duration is the soak time after each batch gets drained. 2.
3520
+ # node_pool_soak_duration is the soak time after all blue nodes are drained.
3521
+ # After this period, the blue pool nodes will be deleted.
3395
3522
  # Corresponds to the JSON property `upgradeSettings`
3396
3523
  # @return [Google::Apis::ContainerV1::UpgradeSettings]
3397
3524
  attr_accessor :upgrade_settings
@@ -3421,6 +3548,7 @@ module Google
3421
3548
  @self_link = args[:self_link] if args.key?(:self_link)
3422
3549
  @status = args[:status] if args.key?(:status)
3423
3550
  @status_message = args[:status_message] if args.key?(:status_message)
3551
+ @update_info = args[:update_info] if args.key?(:update_info)
3424
3552
  @upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
3425
3553
  @version = args[:version] if args.key?(:version)
3426
3554
  end
@@ -3464,6 +3592,11 @@ module Google
3464
3592
  attr_accessor :enabled
3465
3593
  alias_method :enabled?, :enabled
3466
3594
 
3595
+ # Location policy used when scaling up a nodepool.
3596
+ # Corresponds to the JSON property `locationPolicy`
3597
+ # @return [String]
3598
+ attr_accessor :location_policy
3599
+
3467
3600
  # Maximum number of nodes for one location in the NodePool. Must be >=
3468
3601
  # min_node_count. There has to be enough quota to scale up the cluster.
3469
3602
  # Corresponds to the JSON property `maxNodeCount`
@@ -3476,6 +3609,21 @@ module Google
3476
3609
  # @return [Fixnum]
3477
3610
  attr_accessor :min_node_count
3478
3611
 
3612
+ # Maximum number of nodes in the node pool. Must be greater than
3613
+ # total_min_node_count. There has to be enough quota to scale up the cluster.
3614
+ # The total_*_node_count fields are mutually exclusive with the *_node_count
3615
+ # fields.
3616
+ # Corresponds to the JSON property `totalMaxNodeCount`
3617
+ # @return [Fixnum]
3618
+ attr_accessor :total_max_node_count
3619
+
3620
+ # Minimum number of nodes in the node pool. Must be greater than 1 less than
3621
+ # total_max_node_count. The total_*_node_count fields are mutually exclusive
3622
+ # with the *_node_count fields.
3623
+ # Corresponds to the JSON property `totalMinNodeCount`
3624
+ # @return [Fixnum]
3625
+ attr_accessor :total_min_node_count
3626
+
3479
3627
  def initialize(**args)
3480
3628
  update!(**args)
3481
3629
  end
@@ -3484,8 +3632,11 @@ module Google
3484
3632
  def update!(**args)
3485
3633
  @autoprovisioned = args[:autoprovisioned] if args.key?(:autoprovisioned)
3486
3634
  @enabled = args[:enabled] if args.key?(:enabled)
3635
+ @location_policy = args[:location_policy] if args.key?(:location_policy)
3487
3636
  @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
3488
3637
  @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
3638
+ @total_max_node_count = args[:total_max_node_count] if args.key?(:total_max_node_count)
3639
+ @total_min_node_count = args[:total_min_node_count] if args.key?(:total_min_node_count)
3489
3640
  end
3490
3641
  end
3491
3642
 
@@ -4082,6 +4233,12 @@ module Google
4082
4233
  # @return [String]
4083
4234
  attr_accessor :project_id
4084
4235
 
4236
+ # Option for rollback to ignore the PodDisruptionBudget. Default value is false.
4237
+ # Corresponds to the JSON property `respectPdb`
4238
+ # @return [Boolean]
4239
+ attr_accessor :respect_pdb
4240
+ alias_method :respect_pdb?, :respect_pdb
4241
+
4085
4242
  # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
4086
4243
  # com/compute/docs/zones#available) in which the cluster resides. This field has
4087
4244
  # been deprecated and replaced by the name field.
@@ -4099,6 +4256,7 @@ module Google
4099
4256
  @name = args[:name] if args.key?(:name)
4100
4257
  @node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
4101
4258
  @project_id = args[:project_id] if args.key?(:project_id)
4259
+ @respect_pdb = args[:respect_pdb] if args.key?(:respect_pdb)
4102
4260
  @zone = args[:zone] if args.key?(:zone)
4103
4261
  end
4104
4262
  end
@@ -4979,6 +5137,38 @@ module Google
4979
5137
  end
4980
5138
  end
4981
5139
 
5140
+ # Standard rollout policy is the default policy for blue-green.
5141
+ class StandardRolloutPolicy
5142
+ include Google::Apis::Core::Hashable
5143
+
5144
+ # Number of blue nodes to drain in a batch.
5145
+ # Corresponds to the JSON property `batchNodeCount`
5146
+ # @return [Fixnum]
5147
+ attr_accessor :batch_node_count
5148
+
5149
+ # Percentage of the bool pool nodes to drain in a batch. The range of this field
5150
+ # should be (0.0, 1.0].
5151
+ # Corresponds to the JSON property `batchPercentage`
5152
+ # @return [Float]
5153
+ attr_accessor :batch_percentage
5154
+
5155
+ # Soak time after each batch gets drained. Default to zero.
5156
+ # Corresponds to the JSON property `batchSoakDuration`
5157
+ # @return [String]
5158
+ attr_accessor :batch_soak_duration
5159
+
5160
+ def initialize(**args)
5161
+ update!(**args)
5162
+ end
5163
+
5164
+ # Update properties of this object
5165
+ def update!(**args)
5166
+ @batch_node_count = args[:batch_node_count] if args.key?(:batch_node_count)
5167
+ @batch_percentage = args[:batch_percentage] if args.key?(:batch_percentage)
5168
+ @batch_soak_duration = args[:batch_soak_duration] if args.key?(:batch_soak_duration)
5169
+ end
5170
+ end
5171
+
4982
5172
  # StartIPRotationRequest creates a new IP for the cluster and then performs a
4983
5173
  # node upgrade on each node pool to point to the new IP.
4984
5174
  class StartIpRotationRequest
@@ -5184,6 +5374,26 @@ module Google
5184
5374
  end
5185
5375
  end
5186
5376
 
5377
+ # UpdateInfo contains resource (instance groups, etc), status and other
5378
+ # intermediate information relevant to a node pool upgrade.
5379
+ class UpdateInfo
5380
+ include Google::Apis::Core::Hashable
5381
+
5382
+ # Information relevant to blue-green upgrade.
5383
+ # Corresponds to the JSON property `blueGreenInfo`
5384
+ # @return [Google::Apis::ContainerV1::BlueGreenInfo]
5385
+ attr_accessor :blue_green_info
5386
+
5387
+ def initialize(**args)
5388
+ update!(**args)
5389
+ end
5390
+
5391
+ # Update properties of this object
5392
+ def update!(**args)
5393
+ @blue_green_info = args[:blue_green_info] if args.key?(:blue_green_info)
5394
+ end
5395
+ end
5396
+
5187
5397
  # UpdateMasterRequest updates the master of the cluster.
5188
5398
  class UpdateMasterRequest
5189
5399
  include Google::Apis::Core::Hashable
@@ -5302,6 +5512,11 @@ module Google
5302
5512
  # @return [String]
5303
5513
  attr_accessor :name
5304
5514
 
5515
+ # Parameters for node pool-level network config.
5516
+ # Corresponds to the JSON property `nodeNetworkConfig`
5517
+ # @return [Google::Apis::ContainerV1::NodeNetworkConfig]
5518
+ attr_accessor :node_network_config
5519
+
5305
5520
  # Deprecated. The name of the node pool to upgrade. This field has been
5306
5521
  # deprecated and replaced by the name field.
5307
5522
  # Corresponds to the JSON property `nodePoolId`
@@ -5352,6 +5567,23 @@ module Google
5352
5567
  # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
5353
5568
  # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
5354
5569
  # same time. This ensures that there are always at least 4 nodes available.
5570
+ # These upgrade settings configure the upgrade strategy for the node pool. Use
5571
+ # strategy to switch between the strategies applied to the node pool. If the
5572
+ # strategy is ROLLING, use max_surge and max_unavailable to control the level of
5573
+ # parallelism and the level of disruption caused by upgrade. 1. maxSurge
5574
+ # controls the number of additional nodes that can be added to the node pool
5575
+ # temporarily for the time of the upgrade to increase the number of available
5576
+ # nodes. 2. maxUnavailable controls the number of nodes that can be
5577
+ # simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the
5578
+ # level of parallelism (how many nodes are being upgraded at the same time). If
5579
+ # the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-
5580
+ # green upgrade related settings. 1. standard_rollout_policy is the default
5581
+ # policy. The policy is used to control the way blue pool gets drained. The
5582
+ # draining is executed in the batch mode. The batch size could be specified as
5583
+ # either percentage of the node pool size or the number of nodes.
5584
+ # batch_soak_duration is the soak time after each batch gets drained. 2.
5585
+ # node_pool_soak_duration is the soak time after all blue nodes are drained.
5586
+ # After this period, the blue pool nodes will be deleted.
5355
5587
  # Corresponds to the JSON property `upgradeSettings`
5356
5588
  # @return [Google::Apis::ContainerV1::UpgradeSettings]
5357
5589
  attr_accessor :upgrade_settings
@@ -5385,6 +5617,7 @@ module Google
5385
5617
  @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
5386
5618
  @locations = args[:locations] if args.key?(:locations)
5387
5619
  @name = args[:name] if args.key?(:name)
5620
+ @node_network_config = args[:node_network_config] if args.key?(:node_network_config)
5388
5621
  @node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
5389
5622
  @node_version = args[:node_version] if args.key?(:node_version)
5390
5623
  @project_id = args[:project_id] if args.key?(:project_id)
@@ -5503,9 +5736,31 @@ module Google
5503
5736
  # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
5504
5737
  # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
5505
5738
  # same time. This ensures that there are always at least 4 nodes available.
5739
+ # These upgrade settings configure the upgrade strategy for the node pool. Use
5740
+ # strategy to switch between the strategies applied to the node pool. If the
5741
+ # strategy is ROLLING, use max_surge and max_unavailable to control the level of
5742
+ # parallelism and the level of disruption caused by upgrade. 1. maxSurge
5743
+ # controls the number of additional nodes that can be added to the node pool
5744
+ # temporarily for the time of the upgrade to increase the number of available
5745
+ # nodes. 2. maxUnavailable controls the number of nodes that can be
5746
+ # simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the
5747
+ # level of parallelism (how many nodes are being upgraded at the same time). If
5748
+ # the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-
5749
+ # green upgrade related settings. 1. standard_rollout_policy is the default
5750
+ # policy. The policy is used to control the way blue pool gets drained. The
5751
+ # draining is executed in the batch mode. The batch size could be specified as
5752
+ # either percentage of the node pool size or the number of nodes.
5753
+ # batch_soak_duration is the soak time after each batch gets drained. 2.
5754
+ # node_pool_soak_duration is the soak time after all blue nodes are drained.
5755
+ # After this period, the blue pool nodes will be deleted.
5506
5756
  class UpgradeSettings
5507
5757
  include Google::Apis::Core::Hashable
5508
5758
 
5759
+ # Settings for blue-green upgrade.
5760
+ # Corresponds to the JSON property `blueGreenSettings`
5761
+ # @return [Google::Apis::ContainerV1::BlueGreenSettings]
5762
+ attr_accessor :blue_green_settings
5763
+
5509
5764
  # The maximum number of nodes that can be created beyond the current size of the
5510
5765
  # node pool during the upgrade process.
5511
5766
  # Corresponds to the JSON property `maxSurge`
@@ -5518,14 +5773,21 @@ module Google
5518
5773
  # @return [Fixnum]
5519
5774
  attr_accessor :max_unavailable
5520
5775
 
5776
+ # Update strategy of the node pool.
5777
+ # Corresponds to the JSON property `strategy`
5778
+ # @return [String]
5779
+ attr_accessor :strategy
5780
+
5521
5781
  def initialize(**args)
5522
5782
  update!(**args)
5523
5783
  end
5524
5784
 
5525
5785
  # Update properties of this object
5526
5786
  def update!(**args)
5787
+ @blue_green_settings = args[:blue_green_settings] if args.key?(:blue_green_settings)
5527
5788
  @max_surge = args[:max_surge] if args.key?(:max_surge)
5528
5789
  @max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
5790
+ @strategy = args[:strategy] if args.key?(:strategy)
5529
5791
  end
5530
5792
  end
5531
5793
 
@@ -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.32.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.7.0"
22
+ GENERATOR_VERSION = "0.8.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220518"
25
+ REVISION = "20220615"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,18 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class BlueGreenInfo
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class BlueGreenSettings
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class CancelOperationRequest
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -124,6 +136,12 @@ module Google
124
136
  include Google::Apis::Core::JsonObjectSupport
125
137
  end
126
138
 
139
+ class CompleteNodePoolUpgradeRequest
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
127
145
  class ConfidentialNodes
128
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
147
 
@@ -688,6 +706,12 @@ module Google
688
706
  include Google::Apis::Core::JsonObjectSupport
689
707
  end
690
708
 
709
+ class StandardRolloutPolicy
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
691
715
  class StartIpRotationRequest
692
716
  class Representation < Google::Apis::Core::JsonRepresentation; end
693
717
 
@@ -718,6 +742,12 @@ module Google
718
742
  include Google::Apis::Core::JsonObjectSupport
719
743
  end
720
744
 
745
+ class UpdateInfo
746
+ class Representation < Google::Apis::Core::JsonRepresentation; end
747
+
748
+ include Google::Apis::Core::JsonObjectSupport
749
+ end
750
+
721
751
  class UpdateMasterRequest
722
752
  class Representation < Google::Apis::Core::JsonRepresentation; end
723
753
 
@@ -883,6 +913,26 @@ module Google
883
913
  end
884
914
  end
885
915
 
916
+ class BlueGreenInfo
917
+ # @private
918
+ class Representation < Google::Apis::Core::JsonRepresentation
919
+ collection :blue_instance_group_urls, as: 'blueInstanceGroupUrls'
920
+ property :blue_pool_deletion_start_time, as: 'bluePoolDeletionStartTime'
921
+ collection :green_instance_group_urls, as: 'greenInstanceGroupUrls'
922
+ property :green_pool_version, as: 'greenPoolVersion'
923
+ property :phase, as: 'phase'
924
+ end
925
+ end
926
+
927
+ class BlueGreenSettings
928
+ # @private
929
+ class Representation < Google::Apis::Core::JsonRepresentation
930
+ property :node_pool_soak_duration, as: 'nodePoolSoakDuration'
931
+ property :standard_rollout_policy, as: 'standardRolloutPolicy', class: Google::Apis::ContainerV1::StandardRolloutPolicy, decorator: Google::Apis::ContainerV1::StandardRolloutPolicy::Representation
932
+
933
+ end
934
+ end
935
+
886
936
  class CancelOperationRequest
887
937
  # @private
888
938
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1102,6 +1152,12 @@ module Google
1102
1152
  end
1103
1153
  end
1104
1154
 
1155
+ class CompleteNodePoolUpgradeRequest
1156
+ # @private
1157
+ class Representation < Google::Apis::Core::JsonRepresentation
1158
+ end
1159
+ end
1160
+
1105
1161
  class ConfidentialNodes
1106
1162
  # @private
1107
1163
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1660,6 +1716,8 @@ module Google
1660
1716
  property :self_link, as: 'selfLink'
1661
1717
  property :status, as: 'status'
1662
1718
  property :status_message, as: 'statusMessage'
1719
+ property :update_info, as: 'updateInfo', class: Google::Apis::ContainerV1::UpdateInfo, decorator: Google::Apis::ContainerV1::UpdateInfo::Representation
1720
+
1663
1721
  property :upgrade_settings, as: 'upgradeSettings', class: Google::Apis::ContainerV1::UpgradeSettings, decorator: Google::Apis::ContainerV1::UpgradeSettings::Representation
1664
1722
 
1665
1723
  property :version, as: 'version'
@@ -1679,8 +1737,11 @@ module Google
1679
1737
  class Representation < Google::Apis::Core::JsonRepresentation
1680
1738
  property :autoprovisioned, as: 'autoprovisioned'
1681
1739
  property :enabled, as: 'enabled'
1740
+ property :location_policy, as: 'locationPolicy'
1682
1741
  property :max_node_count, as: 'maxNodeCount'
1683
1742
  property :min_node_count, as: 'minNodeCount'
1743
+ property :total_max_node_count, as: 'totalMaxNodeCount'
1744
+ property :total_min_node_count, as: 'totalMinNodeCount'
1684
1745
  end
1685
1746
  end
1686
1747
 
@@ -1846,6 +1907,7 @@ module Google
1846
1907
  property :name, as: 'name'
1847
1908
  property :node_pool_id, as: 'nodePoolId'
1848
1909
  property :project_id, as: 'projectId'
1910
+ property :respect_pdb, as: 'respectPdb'
1849
1911
  property :zone, as: 'zone'
1850
1912
  end
1851
1913
  end
@@ -2051,6 +2113,15 @@ module Google
2051
2113
  end
2052
2114
  end
2053
2115
 
2116
+ class StandardRolloutPolicy
2117
+ # @private
2118
+ class Representation < Google::Apis::Core::JsonRepresentation
2119
+ property :batch_node_count, as: 'batchNodeCount'
2120
+ property :batch_percentage, as: 'batchPercentage'
2121
+ property :batch_soak_duration, as: 'batchSoakDuration'
2122
+ end
2123
+ end
2124
+
2054
2125
  class StartIpRotationRequest
2055
2126
  # @private
2056
2127
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2102,6 +2173,14 @@ module Google
2102
2173
  end
2103
2174
  end
2104
2175
 
2176
+ class UpdateInfo
2177
+ # @private
2178
+ class Representation < Google::Apis::Core::JsonRepresentation
2179
+ property :blue_green_info, as: 'blueGreenInfo', class: Google::Apis::ContainerV1::BlueGreenInfo, decorator: Google::Apis::ContainerV1::BlueGreenInfo::Representation
2180
+
2181
+ end
2182
+ end
2183
+
2105
2184
  class UpdateMasterRequest
2106
2185
  # @private
2107
2186
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2132,6 +2211,8 @@ module Google
2132
2211
 
2133
2212
  collection :locations, as: 'locations'
2134
2213
  property :name, as: 'name'
2214
+ property :node_network_config, as: 'nodeNetworkConfig', class: Google::Apis::ContainerV1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1::NodeNetworkConfig::Representation
2215
+
2135
2216
  property :node_pool_id, as: 'nodePoolId'
2136
2217
  property :node_version, as: 'nodeVersion'
2137
2218
  property :project_id, as: 'projectId'
@@ -2173,8 +2254,11 @@ module Google
2173
2254
  class UpgradeSettings
2174
2255
  # @private
2175
2256
  class Representation < Google::Apis::Core::JsonRepresentation
2257
+ property :blue_green_settings, as: 'blueGreenSettings', class: Google::Apis::ContainerV1::BlueGreenSettings, decorator: Google::Apis::ContainerV1::BlueGreenSettings::Representation
2258
+
2176
2259
  property :max_surge, as: 'maxSurge'
2177
2260
  property :max_unavailable, as: 'maxUnavailable'
2261
+ property :strategy, as: 'strategy'
2178
2262
  end
2179
2263
  end
2180
2264
 
@@ -795,6 +795,41 @@ module Google
795
795
  execute_or_queue_command(command, &block)
796
796
  end
797
797
 
798
+ # CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.
799
+ # @param [String] name
800
+ # The name (project, location, cluster, node pool id) of the node pool to
801
+ # complete upgrade. Specified in the format 'projects/*/locations/*/clusters/*/
802
+ # nodePools/*'.
803
+ # @param [Google::Apis::ContainerV1::CompleteNodePoolUpgradeRequest] complete_node_pool_upgrade_request_object
804
+ # @param [String] fields
805
+ # Selector specifying which fields to include in a partial response.
806
+ # @param [String] quota_user
807
+ # Available to use for quota purposes for server-side applications. Can be any
808
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
809
+ # @param [Google::Apis::RequestOptions] options
810
+ # Request-specific options
811
+ #
812
+ # @yield [result, err] Result & error if block supplied
813
+ # @yieldparam result [Google::Apis::ContainerV1::Empty] parsed result object
814
+ # @yieldparam err [StandardError] error object if request failed
815
+ #
816
+ # @return [Google::Apis::ContainerV1::Empty]
817
+ #
818
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
819
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
820
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
821
+ def complete_project_location_cluster_node_pool_upgrade(name, complete_node_pool_upgrade_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
822
+ command = make_simple_command(:post, 'v1/{+name}:completeUpgrade', options)
823
+ command.request_representation = Google::Apis::ContainerV1::CompleteNodePoolUpgradeRequest::Representation
824
+ command.request_object = complete_node_pool_upgrade_request_object
825
+ command.response_representation = Google::Apis::ContainerV1::Empty::Representation
826
+ command.response_class = Google::Apis::ContainerV1::Empty
827
+ command.params['name'] = name unless name.nil?
828
+ command.query['fields'] = fields unless fields.nil?
829
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
830
+ execute_or_queue_command(command, &block)
831
+ end
832
+
798
833
  # Creates a node pool for a cluster.
799
834
  # @param [String] parent
800
835
  # The parent (project, location, cluster name) where the node pool will be
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.32.0
4
+ version: 0.33.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-06-20 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.6'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.6'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.33.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: []