Google Cloud Workload Manager V1 Client - Class RuleOutput (0.1.0)

Reference documentation and code samples for the Google Cloud Workload Manager V1 Client class RuleOutput.

The rule output of the violation.

Generated from protobuf message google.cloud.workloadmanager.v1.RuleOutput

Namespace

Google \ Cloud \ WorkloadManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ details array|Google\Protobuf\Internal\MapField

Output only. Violation details generated by rule.

↳ message string

Output only. The message generated by rule.

getDetails

Output only. Violation details generated by rule.

Returns
Type Description
Google\Protobuf\Internal\MapField

setDetails

Output only. Violation details generated by rule.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getMessage

Output only. The message generated by rule.

Returns
Type Description
string

setMessage

Output only. The message generated by rule.

Parameter
Name Description
var string
Returns
Type Description
$this