# Policy Simulator V1 API - Class Google::Cloud::OrgPolicy::V2::ListCustomConstraintsRequest (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.4.0 0.3.2 0.2.0 0.1.1 Reference documentation and code samples for the Policy Simulator V1 API class Google::Cloud::OrgPolicy::V2::ListCustomConstraintsRequest.

The request sent to the \[ListCustomConstraints\]
\[google.cloud.orgpolicy.v2.OrgPolicy.ListCustomConstraints\] 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 custom
  constraints that will be returned from this call. Must be in one of the
  following forms:

  - `organizations/{organization_id}`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) ---

  Required. The target Google Cloud resource that parents the set of custom
  constraints that will be returned from this call. Must be in one of the
  following forms:
  - `organizations/{organization_id}`
**Returns**

- (::String) --- Required. The target Google Cloud resource that parents the set of custom
  constraints that will be returned from this call. Must be in one of the
  following forms:

  - `organizations/{organization_id}`