Google Cloud Cloud Controls Partner V1beta Client - Class ListViolationsResponse (0.2.2)

Reference documentation and code samples for the Google Cloud Cloud Controls Partner V1beta Client class ListViolationsResponse.

Response message for list customer violation requests

Generated from protobuf message google.cloud.cloudcontrolspartner.v1beta.ListViolationsResponse

Namespace

Google \ Cloud \ CloudControlsPartner \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ violations array<Violation>

List of violation

↳ next_page_token string

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

↳ unreachable array

Workloads that could not be reached due to permission errors or any other error. Ref: https://google.aip.dev/217

getViolations

List of violation

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setViolations

List of violation

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

getNextPageToken

A token that can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

A token that can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this

getUnreachable

Workloads that could not be reached due to permission errors or any other error. Ref: https://google.aip.dev/217

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnreachable

Workloads that could not be reached due to permission errors or any other error. Ref: https://google.aip.dev/217

Parameter
Name Description
var string[]
Returns
Type Description
$this