Reference documentation and code samples for the Google Cloud Deploy V1 Client class RolloutRestriction.
Rollout restrictions.
Generated from protobuf message google.cloud.deploy.v1.RolloutRestriction
Namespace
Google \ Cloud \ Deploy \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ id
string
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
array
Optional. What invoked the action. If left empty, all invoker types will be restricted.
↳ actions
array
Optional. Rollout actions to be restricted as part of the policy. If left empty, all actions will be restricted.
↳ time_windows
getId
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])?
.
string
setId
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])?
.
var
string
$this
getInvokers
Optional. What invoked the action. If left empty, all invoker types will be restricted.
setInvokers
Optional. What invoked the action. If left empty, all invoker types will be restricted.
var
int[]
$this
getActions
Optional. Rollout actions to be restricted as part of the policy. If left empty, all actions will be restricted.
setActions
Optional. Rollout actions to be restricted as part of the policy. If left empty, all actions will be restricted.
var
int[]
$this
getTimeWindows
Required. Time window within which actions are restricted.
hasTimeWindows
clearTimeWindows
setTimeWindows
Required. Time window within which actions are restricted.
$this