Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.36.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.36.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.36.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -6349,12 +6349,22 @@ class GetNodePoolRequest(proto.Message):
class BlueGreenSettings(proto.Message):
r"""Settings for blue-green upgrade.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes:
standard_rollout_policy (google.cloud.container_v1beta1.types.BlueGreenSettings.StandardRolloutPolicy):
Standard policy for the blue-green upgrade.

This field is a member of `oneof`_ ``rollout_policy``.
autoscaled_rollout_policy (google.cloud.container_v1beta1.types.BlueGreenSettings.AutoscaledRolloutPolicy):
Autoscaled policy for cluster autoscaler
enabled blue-green upgrade.

This field is a member of `oneof`_ ``rollout_policy``.
node_pool_soak_duration (google.protobuf.duration_pb2.Duration):
Time needed after draining entire blue pool.
Expand Down Expand Up @@ -6407,12 +6417,24 @@ class StandardRolloutPolicy(proto.Message):
message=duration_pb2.Duration,
)

class AutoscaledRolloutPolicy(proto.Message):
r"""Autoscaled rollout policy uses cluster autoscaler during
blue-green upgrades to scale both the green and blue pools.

"""

standard_rollout_policy: StandardRolloutPolicy = proto.Field(
proto.MESSAGE,
number=1,
oneof="rollout_policy",
message=StandardRolloutPolicy,
)
autoscaled_rollout_policy: AutoscaledRolloutPolicy = proto.Field(
proto.MESSAGE,
number=3,
oneof="rollout_policy",
message=AutoscaledRolloutPolicy,
)
node_pool_soak_duration: duration_pb2.Duration = proto.Field(
proto.MESSAGE,
number=2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-container",
"version": "2.36.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-container",
"version": "2.36.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down