@@ -6349,12 +6349,22 @@ class GetNodePoolRequest(proto.Message):
6349
6349
class BlueGreenSettings (proto .Message ):
6350
6350
r"""Settings for blue-green upgrade.
6351
6351
6352
+ This message has `oneof`_ fields (mutually exclusive fields).
6353
+ For each oneof, at most one member field can be set at the same time.
6354
+ Setting any member of the oneof automatically clears all other
6355
+ members.
6356
+
6352
6357
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
6353
6358
6354
6359
Attributes:
6355
6360
standard_rollout_policy (google.cloud.container_v1beta1.types.BlueGreenSettings.StandardRolloutPolicy):
6356
6361
Standard policy for the blue-green upgrade.
6357
6362
6363
+ This field is a member of `oneof`_ ``rollout_policy``.
6364
+ autoscaled_rollout_policy (google.cloud.container_v1beta1.types.BlueGreenSettings.AutoscaledRolloutPolicy):
6365
+ Autoscaled policy for cluster autoscaler
6366
+ enabled blue-green upgrade.
6367
+
6358
6368
This field is a member of `oneof`_ ``rollout_policy``.
6359
6369
node_pool_soak_duration (google.protobuf.duration_pb2.Duration):
6360
6370
Time needed after draining entire blue pool.
@@ -6407,12 +6417,24 @@ class StandardRolloutPolicy(proto.Message):
6407
6417
message = duration_pb2 .Duration ,
6408
6418
)
6409
6419
6420
+ class AutoscaledRolloutPolicy (proto .Message ):
6421
+ r"""Autoscaled rollout policy uses cluster autoscaler during
6422
+ blue-green upgrades to scale both the green and blue pools.
6423
+
6424
+ """
6425
+
6410
6426
standard_rollout_policy : StandardRolloutPolicy = proto .Field (
6411
6427
proto .MESSAGE ,
6412
6428
number = 1 ,
6413
6429
oneof = "rollout_policy" ,
6414
6430
message = StandardRolloutPolicy ,
6415
6431
)
6432
+ autoscaled_rollout_policy : AutoscaledRolloutPolicy = proto .Field (
6433
+ proto .MESSAGE ,
6434
+ number = 3 ,
6435
+ oneof = "rollout_policy" ,
6436
+ message = AutoscaledRolloutPolicy ,
6437
+ )
6416
6438
node_pool_soak_duration : duration_pb2 .Duration = proto .Field (
6417
6439
proto .MESSAGE ,
6418
6440
number = 2 ,
0 commit comments