Google Cloud Policy Simulator V1 Client - Class ListOrgPolicyViolationsResponse (1.2.0)

Reference documentation and code samples for the Google Cloud Policy Simulator V1 Client class ListOrgPolicyViolationsResponse.

ListOrgPolicyViolationsResponse is the response message for OrgPolicyViolationsPreviewService.ListOrgPolicyViolations

Generated from protobuf message google.cloud.policysimulator.v1.ListOrgPolicyViolationsResponse

Namespace

Google \ Cloud \ PolicySimulator \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ org_policy_violations array<OrgPolicyViolation>

The list of OrgPolicyViolations

↳ next_page_token string

A token that you can use to retrieve the next page of results. If this field is omitted, there are no subsequent pages.

getOrgPolicyViolations

The list of OrgPolicyViolations

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setOrgPolicyViolations

The list of OrgPolicyViolations

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

getNextPageToken

A token that you can use to retrieve the next page of results.

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

Returns
Type Description
string

setNextPageToken

A token that you can use to retrieve the next page of results.

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

Parameter
Name Description
var string
Returns
Type Description
$this