Google Cloud Assured Workloads V1 Client - Class ListViolationsResponse (1.0.1)

Reference documentation and code samples for the Google Cloud Assured Workloads V1 Client class ListViolationsResponse.

Response of ListViolations endpoint.

Generated from protobuf message google.cloud.assuredworkloads.v1.ListViolationsResponse

Namespace

Google \ Cloud \ AssuredWorkloads \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ violations array<Violation>

List of Violations under a Workload.

↳ next_page_token string

The next page token. Returns empty if reached the last page.

getViolations

List of Violations under a Workload.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setViolations

List of Violations under a Workload.

Parameter
Name Description
var array<Violation>
Returns
Type Description
$this

getNextPageToken

The next page token. Returns empty if reached the last page.

Returns
Type Description
string

setNextPageToken

The next page token. Returns empty if reached the last page.

Parameter
Name Description
var string
Returns
Type Description
$this