Reference documentation and code samples for the Google Cloud Workload Manager V1 Client class RuleExecutionResult.
Execution result summary per rule.
Generated from protobuf message google.cloud.workloadmanager.v1.RuleExecutionResult
Namespace
Google \ Cloud \ WorkloadManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ rule
string
Rule name as plain text like sap-hana-configured
.
↳ state
int
Output only. The execution status.
↳ message
string
Execution message, if any.
↳ result_count
int|string
Number of violations.
↳ scanned_resource_count
int|string
Number of total scanned resources.
getRule
Rule name as plain text like sap-hana-configured
.
string
setRule
Rule name as plain text like sap-hana-configured
.
var
string
$this
getState
Output only. The execution status.
setState
Output only. The execution status.
$this
getMessage
Execution message, if any.
string
setMessage
Execution message, if any.
var
string
$this
getResultCount
Number of violations.
int|string
setResultCount
Number of violations.
var
int|string
$this
getScannedResourceCount
Number of total scanned resources.
int|string
setScannedResourceCount
Number of total scanned resources.
var
int|string
$this

