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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-11-11 UTC."],[],[]]