# Google Cloud Sql Admin V1 Client - Class ListBackupsRequest (1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.1 1.2.6 1.1.0 1.0.0 0.19.0 0.18.0 0.17.1 0.16.1 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 0.3.1 0.2.12 Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class ListBackupsRequest.

The request payload to list the backups.

Generated from protobuf message `google.cloud.sql.v1.ListBackupsRequest`

## Namespace

Google \\ Cloud \\ Sql \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent that owns this collection of backups. Format: projects/{project} |
| `↳ page_size` | `int` The maximum number of backups to return per response. The service might return fewer backups than this value. If a value for this parameter isn't specified, then, at most, 500 backups are returned. The maximum value is 2,000. Any values that you set, which are greater than 2,000, are changed to 2,000. |
| `↳ page_token` | `string` A page token, received from a previous `ListBackups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBackups` must match the call that provided the page token. |
| `↳ filter` | `string` Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL, 'location:us', 'backupInterval.startTime\>=1950-01-01T01:01:25.771Z'. You can filter by type, instance, backupInterval.startTime (creation time), or location. |

### getParent

Required. The parent that owns this collection of backups.

Format: projects/{project}

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

### setParent

Required. The parent that owns this collection of backups.

Format: projects/{project}

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

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

### getPageSize

The maximum number of backups to return per response. The service might
return fewer backups than this value. If a value for this parameter isn't
specified, then, at most, 500 backups are returned. The maximum value is
2,000. Any values that you set, which are greater than 2,000, are changed
to 2,000.

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

### setPageSize

The maximum number of backups to return per response. The service might
return fewer backups than this value. If a value for this parameter isn't
specified, then, at most, 500 backups are returned. The maximum value is
2,000. Any values that you set, which are greater than 2,000, are changed
to 2,000.

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

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

### getPageToken

A page token, received from a previous `ListBackups` call.

Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to `ListBackups` must match
the call that provided the page token.

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

### setPageToken

A page token, received from a previous `ListBackups` call.

Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to `ListBackups` must match
the call that provided the page token.

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

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

### getFilter

Multiple filter queries are separated by spaces. For example,
'instance:abc AND type:FINAL, 'location:us',
'backupInterval.startTime\>=1950-01-01T01:01:25.771Z'. You can filter by
type, instance, backupInterval.startTime (creation time), or location.

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

### setFilter

Multiple filter queries are separated by spaces. For example,
'instance:abc AND type:FINAL, 'location:us',
'backupInterval.startTime\>=1950-01-01T01:01:25.771Z'. You can filter by
type, instance, backupInterval.startTime (creation time), or location.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent that owns this collection of backups. Format: projects/{project} Please see SqlBackupsServiceClient::projectName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.ListBackupsRequest` |   |