Google Cloud Org Policy V2 Client - Class ListCustomConstraintsResponse (1.2.2)

Reference documentation and code samples for the Google Cloud Org Policy V2 Client class ListCustomConstraintsResponse.

The response returned from the ListCustomConstraints method. It will be empty if no custom or managed constraints are set on the organization resource.

Generated from protobuf message google.cloud.orgpolicy.v2.ListCustomConstraintsResponse

Namespace

Google \ Cloud \ OrgPolicy \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ custom_constraints
array< CustomConstraint >

All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.

↳ next_page_token
string

Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.

getCustomConstraints

All custom and managed constraints that exist on the organization resource.

It will be empty if no custom constraints are set.

Returns
Type
Description

setCustomConstraints

All custom and managed constraints that exist on the organization resource.

It will be empty if no custom constraints are set.

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

getNextPageToken

Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.

Returns
Type
Description
string

setNextPageToken

Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: