Reference documentation and code samples for the Google Cloud Org Policy V2 Client class ListConstraintsRequest.
The request sent to the [ListConstraints] [google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints] method.
Generated from protobuf message google.cloud.orgpolicy.v2.ListConstraintsRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The Cloud resource that parents the constraint. Must be in one of the following forms: * projects/{project_number}
* projects/{project_id}
* folders/{folder_id}
* organizations/{organization_id}
↳ page_size
int
Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.
↳ page_token
string
Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.
getParent
Required. The Cloud resource that parents the constraint. Must be in one of the following forms:
-
projects/{project_number}
-
projects/{project_id}
-
folders/{folder_id}
-
organizations/{organization_id}
string
setParent
Required. The Cloud resource that parents the constraint. Must be in one of the following forms:
-
projects/{project_number}
-
projects/{project_id}
-
folders/{folder_id}
-
organizations/{organization_id}
var
string
$this
getPageSize
Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.
int
setPageSize
Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.
var
int
$this
getPageToken
Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.
string
setPageToken
Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.
var
string
$this