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

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026年07月31日 UTC.