Cloud Run V2 API - Module Google::Cloud::Run::V2::Instance::RestartPolicy (v0.32.0)

Reference documentation and code samples for the Cloud Run V2 API module Google::Cloud::Run::V2::Instance::RestartPolicy.

Restart policy options for the instance. If not provided, the default is ON_FAILURE.

Constants

RESTART_POLICY_UNSPECIFIED

value: 0
Unspecified restart policy.

ALWAYS

value: 1
Always restart the instance.

ON_FAILURE

value: 2
Restart if the instance terminates with non-zero exit code.

NEVER

value: 3
Never restart the instance.