Google Cloud Workload Manager V1 Client - Class ViolationDetails (0.2.0)

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

The violation in an evaluation result.

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

Namespace

Google \ Cloud \ WorkloadManager \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ asset
string

The name of the asset.

↳ service_account
string

The service account associated with the resource.

↳ observed
array| Google\Protobuf\Internal\MapField

Details of the violation.

↳ rule_output
array< RuleOutput >

Output only. The rule output of the violation.

getAsset

The name of the asset.

Returns
Type
Description
string

setAsset

The name of the asset.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getServiceAccount

The service account associated with the resource.

Returns
Type
Description
string

setServiceAccount

The service account associated with the resource.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getObserved

Details of the violation.

Returns
Type
Description

setObserved

Details of the violation.

Parameter
Name
Description
Returns
Type
Description
$this

getRuleOutput

Output only. The rule output of the violation.

Returns
Type
Description

setRuleOutput

Output only. The rule output of the violation.

Parameter
Name
Description
var
array< RuleOutput >
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: