# Google Cloud BigQuery Analytics Hub V1 Client - Class ListQueryTemplatesRequest (1.5.1)

1.5.1 (latest) 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.4 0.5.3 0.4.0 0.3.2 0.2.2 0.1.6 Reference documentation and code samples for the Google Cloud BigQuery Analytics Hub V1 Client class ListQueryTemplatesRequest.

Message for requesting the list of QueryTemplates.

Generated from protobuf message `google.cloud.bigquery.analyticshub.v1.ListQueryTemplatesRequest`

## Namespace

Google \\ Cloud \\ BigQuery \\ AnalyticsHub \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent resource path of the QueryTemplates. e.g. `projects/myproject/locations/us/dataExchanges/123`. |
| `↳ page_size` | `int` Optional. The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection. |
| `↳ page_token` | `string` Optional. Page token, returned by a previous call, to request the next page of results. |

### getParent

Required. The parent resource path of the QueryTemplates.

e.g. `projects/myproject/locations/us/dataExchanges/123`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setParent

Required. The parent resource path of the QueryTemplates.

e.g. `projects/myproject/locations/us/dataExchanges/123`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPageSize

Optional. The maximum number of results to return in a single response
page. Leverage the page tokens to iterate through the entire collection.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setPageSize

Optional. The maximum number of results to return in a single response
page. Leverage the page tokens to iterate through the entire collection.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPageToken

Optional. Page token, returned by a previous call, to request the next page
of results.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPageToken

Optional. Page token, returned by a previous call, to request the next page
of results.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent resource path of the QueryTemplates. e.g. `projects/myproject/locations/us/dataExchanges/123`. Please see AnalyticsHubServiceClient::dataExchangeName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-analyticshub/latest/V1.ListQueryTemplatesRequest` |   |