Generated from protobuf message google.cloud.orgpolicy.v2.ListPoliciesRequest
Namespace
Google \ Cloud \ OrgPolicy \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The target Google Cloud resource that parents the set of constraints and policies that will be returned from this call. 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 target Google Cloud resource that parents the set of
constraints and policies that will be returned from this call. Must be in
one of the following forms:
projects/{project_number}
projects/{project_id}
folders/{folder_id}
organizations/{organization_id}
Returns
Type
Description
string
setParent
Required. The target Google Cloud resource that parents the set of
constraints and policies that will be returned from this call. Must be in
one of the following forms:
projects/{project_number}
projects/{project_id}
folders/{folder_id}
organizations/{organization_id}
Parameter
Name
Description
var
string
Returns
Type
Description
$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.
Returns
Type
Description
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.
Parameter
Name
Description
var
int
Returns
Type
Description
$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.
Returns
Type
Description
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.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. The target Google Cloud resource that parents the set of
constraints and policies that will be returned from this call. Must be in
one of the following forms:
projects/{project_number}
projects/{project_id}
folders/{folder_id}
organizations/{organization_id}
Please see OrgPolicyClient::projectName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Org Policy V2 Client - Class ListPoliciesRequest (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/cloud-org-policy/latest/V2.ListPoliciesRequest)\n- [1.2.1](/php/docs/reference/cloud-org-policy/1.2.1/V2.ListPoliciesRequest)\n- [1.1.3](/php/docs/reference/cloud-org-policy/1.1.3/V2.ListPoliciesRequest)\n- [1.0.0](/php/docs/reference/cloud-org-policy/1.0.0/V2.ListPoliciesRequest)\n- [0.7.0](/php/docs/reference/cloud-org-policy/0.7.0/V2.ListPoliciesRequest)\n- [0.6.5](/php/docs/reference/cloud-org-policy/0.6.5/V2.ListPoliciesRequest)\n- [0.5.3](/php/docs/reference/cloud-org-policy/0.5.3/V2.ListPoliciesRequest)\n- [0.4.2](/php/docs/reference/cloud-org-policy/0.4.2/V2.ListPoliciesRequest)\n- [0.3.7](/php/docs/reference/cloud-org-policy/0.3.7/V2.ListPoliciesRequest) \nReference documentation and code samples for the Google Cloud Org Policy V2 Client class ListPoliciesRequest.\n\nThe request sent to the [ListPolicies](/php/docs/reference/cloud-org-policy/latest/V2.Client.OrgPolicyClient#_Google_Cloud_OrgPolicy_V2_Client_OrgPolicyClient__listPolicies__) method.\n\nGenerated from protobuf message `google.cloud.orgpolicy.v2.ListPoliciesRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ OrgPolicy \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The target Google Cloud resource that parents the set of\nconstraints and policies that will be returned from this call. Must be in\none of the following forms:\n\n- `projects/{project_number}`\n- `projects/{project_id}`\n- `folders/{folder_id}`\n- `organizations/{organization_id}`\n\n### setParent\n\nRequired. The target Google Cloud resource that parents the set of\nconstraints and policies that will be returned from this call. Must be in\none of the following forms:\n\n- `projects/{project_number}`\n- `projects/{project_id}`\n- `folders/{folder_id}`\n- `organizations/{organization_id}`\n\n### getPageSize\n\nSize of the pages to be returned. This is currently unsupported and will\nbe ignored. The server may at any point start using this field to limit\npage size.\n\n### setPageSize\n\nSize of the pages to be returned. This is currently unsupported and will\nbe ignored. The server may at any point start using this field to limit\npage size.\n\n### getPageToken\n\nPage token used to retrieve the next page. This is currently unsupported\nand will be ignored. The server may at any point start using this field.\n\n### setPageToken\n\nPage token used to retrieve the next page. This is currently unsupported\nand will be ignored. The server may at any point start using this field.\n\n### static::build"]]