# Organization Policy V2 API - Class Google::Cloud::OrgPolicy::V2::ListPoliciesRequest (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.1 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.6 Reference documentation and code samples for the Organization Policy V2 API class Google::Cloud::OrgPolicy::V2::ListPoliciesRequest.

The request sent to the \[ListPolicies\]
\[google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies\] method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #page_size

    def page_size() -> ::Integer

**Returns**

- (::Integer) --- 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_size=

    def page_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- 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**

- (::Integer) --- 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

    def page_token() -> ::String

**Returns**

- (::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.

### #page_token=

    def page_token=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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.

### #parent

    def parent() -> ::String

**Returns**

- (::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}`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::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}`
**Returns**

- (::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}`