Reference documentation and code samples for the Google Cloud Workload Manager V1 Client class ExecutionResult.
The result of an execution.
Generated from protobuf message google.cloud.workloadmanager.v1.ExecutionResult
Namespace
Google \ Cloud \ WorkloadManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ violation_message
string
The violation message of an execution.
↳ severity
string
The severity of violation.
↳ rule
string
The rule that is violated in an evaluation.
↳ documentation_url
string
The URL for the documentation of the rule.
↳ resource
↳ violation_details
↳ commands
↳ type
int
Execution result type of the scanned resource.
getViolationMessage
The violation message of an execution.
string
setViolationMessage
The violation message of an execution.
var
string
$this
getSeverity
The severity of violation.
string
setSeverity
The severity of violation.
var
string
$this
getRule
The rule that is violated in an evaluation.
string
setRule
The rule that is violated in an evaluation.
var
string
$this
getDocumentationUrl
The URL for the documentation of the rule.
string
setDocumentationUrl
The URL for the documentation of the rule.
var
string
$this
getResource
The resource that violates the rule.
hasResource
clearResource
setResource
The resource that violates the rule.
$this
getViolationDetails
The details of violation in an evaluation result.
hasViolationDetails
clearViolationDetails
setViolationDetails
The details of violation in an evaluation result.
$this
getCommands
The commands to remediate the violation.
setCommands
The commands to remediate the violation.
$this
getType
Execution result type of the scanned resource.
setType
Execution result type of the scanned resource.
$this

