# BigQuery Data Policy Service V1 API - Class Google::Cloud::Bigquery::DataPolicies::V1::ListDataPoliciesRequest (v1.4.0)

1.4.0 (latest) 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.0 0.8.1 0.7.2 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the BigQuery Data Policy Service V1 API class Google::Cloud::Bigquery::DataPolicies::V1::ListDataPoliciesRequest.

Request message for the ListDataPolicies method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #filter

    def filter() -> ::String

**Returns**

- (::String) --- Filters the data policies by policy tags that they are associated with. Currently filter only supports "policy_tag" based filtering and OR based predicates. Sample filter can be "policy_tag: projects/1/locations/us/taxonomies/2/policyTags/3". You may also use wildcard such as "policy_tag: projects/1/locations/us/taxonomies/2\*". Please note that OR predicates cannot be used with wildcard filters.

### #filter=

    def filter=(value) -> ::String

**Parameter**

- **value** (::String) --- Filters the data policies by policy tags that they are associated with. Currently filter only supports "policy_tag" based filtering and OR based predicates. Sample filter can be "policy_tag: projects/1/locations/us/taxonomies/2/policyTags/3". You may also use wildcard such as "policy_tag: projects/1/locations/us/taxonomies/2\*". Please note that OR predicates cannot be used with wildcard filters.
**Returns**

- (::String) --- Filters the data policies by policy tags that they are associated with. Currently filter only supports "policy_tag" based filtering and OR based predicates. Sample filter can be "policy_tag: projects/1/locations/us/taxonomies/2/policyTags/3". You may also use wildcard such as "policy_tag: projects/1/locations/us/taxonomies/2\*". Please note that OR predicates cannot be used with wildcard filters.

### #page_size

    def page_size() -> ::Integer

**Returns**

- (::Integer) --- The maximum number of data policies to return. Must be a value between 1 and 1000. If not set, defaults to 50.

### #page_size=

    def page_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The maximum number of data policies to return. Must be a value between 1 and 1000. If not set, defaults to 50.
**Returns**

- (::Integer) --- The maximum number of data policies to return. Must be a value between 1 and 1000. If not set, defaults to 50.

### #page_token

    def page_token() -> ::String

**Returns**

- (::String) --- The `nextPageToken` value returned from a previous list request, if any. If not set, defaults to an empty string.

### #page_token=

    def page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- The `nextPageToken` value returned from a previous list request, if any. If not set, defaults to an empty string.
**Returns**

- (::String) --- The `nextPageToken` value returned from a previous list request, if any. If not set, defaults to an empty string.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. Resource name of the project for which to list data policies. Format is `projects/{project_number}/locations/{location_id}`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Resource name of the project for which to list data policies. Format is `projects/{project_number}/locations/{location_id}`.
**Returns**

- (::String) --- Required. Resource name of the project for which to list data policies. Format is `projects/{project_number}/locations/{location_id}`.