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

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

ListOrgPolicyViolationsPreviewsResponse is the response message for OrgPolicyViolationsPreviewService.ListOrgPolicyViolationsPreviews.

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

Namespace

Google \ Cloud \ PolicySimulator \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ org_policy_violations_previews array<OrgPolicyViolationsPreview>

The list of OrgPolicyViolationsPreview

↳ 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.

getOrgPolicyViolationsPreviews

The list of OrgPolicyViolationsPreview

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setOrgPolicyViolationsPreviews

The list of OrgPolicyViolationsPreview

Parameter
Name Description
var array<OrgPolicyViolationsPreview>
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