RolloutRestriction
import type { RolloutRestriction } from "https://googleapis.deno.dev/v1/clouddeploy:v1.ts";Rollout restrictions.
interface RolloutRestriction  {
actions?: 
 | "ROLLOUT_ACTIONS_UNSPECIFIED"
 | "ADVANCE"
 | "APPROVE"
 | "CANCEL"
 | "CREATE"
 | "IGNORE_JOB"
 | "RETRY_JOB"
 | "ROLLBACK"
 | "TERMINATE_JOBRUN"[];
id?: string;
invokers?: "INVOKER_UNSPECIFIED" | "USER" | "DEPLOY_AUTOMATION"[];
timeWindows?: TimeWindows;
}§Properties
§
actions?: "ROLLOUT_ACTIONS_UNSPECIFIED" | "ADVANCE" | "APPROVE" | "CANCEL" | "CREATE" | "IGNORE_JOB" | "RETRY_JOB" | "ROLLBACK" | "TERMINATE_JOBRUN"[]
[src]Optional. Rollout actions to be restricted as part of the policy. If left empty, all actions will be restricted.
§
id?: string
[src]Required. Restriction rule ID. Required and must be unique within a
DeployPolicy. The format is [a-z]([a-z0-9-]{0,61}[a-z0-9])?.
§
invokers?: "INVOKER_UNSPECIFIED" | "USER" | "DEPLOY_AUTOMATION"[]
[src]Optional. What invoked the action. If left empty, all invoker types will be restricted.
§
timeWindows?: TimeWindows
[src]Required. Time window within which actions are restricted.