# Google Cloud Storage Batch Operations V1 Client - Class ListBucketOperationsRequest (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.1 0.2.1 0.1.2 Reference documentation and code samples for the Google Cloud Storage Batch Operations V1 Client class ListBucketOperationsRequest.

Message for request to list BucketOperations

Generated from protobuf message `google.cloud.storagebatchoperations.v1.ListBucketOperationsRequest`

## Namespace

Google \\ Cloud \\ StorageBatchOperations \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. Format: projects/{project_id}/locations/global/jobs/{job_id}. |
| `↳ filter` | `string` Optional. Filters results as defined by <https://google.aip.dev/160>. |
| `↳ page_size` | `int` Optional. The list page size. Default page size is 100. |
| `↳ page_token` | `string` Optional. The list page token. |
| `↳ order_by` | `string` Optional. Field to sort by. Supported fields are name, create_time. |

### getParent

Required. Format: projects/{project_id}/locations/global/jobs/{job_id}.

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

### setParent

Required. Format: projects/{project_id}/locations/global/jobs/{job_id}.

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

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

### getFilter

Optional. Filters results as defined by <https://google.aip.dev/160>.

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

### setFilter

Optional. Filters results as defined by <https://google.aip.dev/160>.

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

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

### getPageSize

Optional. The list page size. Default page size is 100.

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

### setPageSize

Optional. The list page size. Default page size is 100.

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

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

### getPageToken

Optional. The list page token.

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

### setPageToken

Optional. The list page token.

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

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

### getOrderBy

Optional. Field to sort by. Supported fields are name, create_time.

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

### setOrderBy

Optional. Field to sort by. Supported fields are name, create_time.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Format: projects/{project_id}/locations/global/jobs/{job_id}. Please see StorageBatchOperationsClient::jobName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-storagebatchoperations/latest/V1.ListBucketOperationsRequest` |   |