Google Cloud Assured Workloads V1 Client - Class ListViolationsResponse (0.9.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
NameDescription
data array

Optional. Data for populating the Message object.

↳ violations array<Google\Cloud\AssuredWorkloads\V1\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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setViolations

List of Violations under a Workload.

Parameter
NameDescription
var array<Google\Cloud\AssuredWorkloads\V1\Violation>
Returns
TypeDescription
$this

getNextPageToken

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

Returns
TypeDescription
string

setNextPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this