Class SchedulingGracefulShutdown (0.1.0)

SchedulingGracefulShutdown(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The configuration for gracefully shutting down the instance.

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

Attributes

Name Description
enabled bool
Opts-in for graceful shutdown. This field is a member of oneof_ _enabled.
max_duration google.cloud.compute_v1beta.types.Duration
The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state. This field is a member of oneof_ _max_duration.