Reference documentation and code samples for the Google Cloud Deploy V1 Client class PolicyRule.
Deploy Policy rule.
Generated from protobuf message google.cloud.deploy.v1.PolicyRule
Namespace
Google \ Cloud \ Deploy \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ rollout_restriction |
RolloutRestriction
Rollout restrictions. |
getRolloutRestriction
Rollout restrictions.
Returns | |
---|---|
Type | Description |
RolloutRestriction|null |
hasRolloutRestriction
setRolloutRestriction
Rollout restrictions.
Parameter | |
---|---|
Name | Description |
var |
RolloutRestriction
|
Returns | |
---|---|
Type | Description |
$this |
getRule
Returns | |
---|---|
Type | Description |
string |