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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ violations | array<Violation>List of Violations under a Workload. | 
| ↳ next_page_token | stringThe 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 | |