# Google Cloud BigQuery Analytics Hub V1 Client - Class ListSharedResourceSubscriptionsRequest (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 ListSharedResourceSubscriptionsRequest.

Message for listing subscriptions of a shared resource.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ resource` | `string` Required. Resource name of the requested target. This resource may be either a Listing or a DataExchange. e.g. projects/123/locations/us/dataExchanges/456 OR e.g. projects/123/locations/us/dataExchanges/456/listings/789 |
| `↳ include_deleted_subscriptions` | `bool` If selected, includes deleted subscriptions in the response (up to 63 days after deletion). |
| `↳ page_size` | `int` The maximum number of results to return in a single response page. |
| `↳ page_token` | `string` Page token, returned by a previous call. |

### getResource

Required. Resource name of the requested target. This resource may be
either a Listing or a DataExchange. e.g.

projects/123/locations/us/dataExchanges/456 OR e.g.
projects/123/locations/us/dataExchanges/456/listings/789

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

### setResource

Required. Resource name of the requested target. This resource may be
either a Listing or a DataExchange. e.g.

projects/123/locations/us/dataExchanges/456 OR e.g.
projects/123/locations/us/dataExchanges/456/listings/789

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

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

### getIncludeDeletedSubscriptions

If selected, includes deleted subscriptions in the response
(up to 63 days after deletion).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setIncludeDeletedSubscriptions

If selected, includes deleted subscriptions in the response
(up to 63 days after deletion).

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

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

### getPageSize

The maximum number of results to return in a single response page.

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

### setPageSize

The maximum number of results to return in a single response page.

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

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

### getPageToken

Page token, returned by a previous call.

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

### setPageToken

Page token, returned by a previous call.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `resource` | `string` Required. Resource name of the requested target. This resource may be either a Listing or a DataExchange. e.g. projects/123/locations/us/dataExchanges/456 OR e.g. projects/123/locations/us/dataExchanges/456/listings/789 |

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