Reference documentation and code samples for the Google Cloud Deploy V1 Client class PolicyViolationDetails.
Policy violation details.
Generated from protobuf message google.cloud.deploy.v1.PolicyViolationDetails
Namespace
Google \ Cloud \ Deploy \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ policy
string
Name of the policy that was violated. Policy resource will be in the format of projects/{project}/locations/{location}/policies/{policy}
.
↳ rule_id
string
Id of the rule that triggered the policy violation.
↳ failure_message
string
User readable message about why the request violated a policy. This is not intended for machine parsing.
getPolicy
Name of the policy that was violated.
Policy resource will be in the format of projects/{project}/locations/{location}/policies/{policy}
.
string
setPolicy
Name of the policy that was violated.
Policy resource will be in the format of projects/{project}/locations/{location}/policies/{policy}
.
var
string
$this
getRuleId
Id of the rule that triggered the policy violation.
string
setRuleId
Id of the rule that triggered the policy violation.
var
string
$this
getFailureMessage
User readable message about why the request violated a policy. This is not intended for machine parsing.
string
setFailureMessage
User readable message about why the request violated a policy. This is not intended for machine parsing.
var
string
$this