Cloud Run V2 API - Module Google::Cloud::Run::V2::Instance::RestartPolicy (v0.32.0)
Stay organized with collections
Save and categorize content based on your preferences.
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.