# Google Cloud Workflows V1 Client - Class ListWorkflowRevisionsRequest (1.3.0)

1.3.0 (latest) 1.2.1 1.1.1 1.0.3 0.5.5 0.4.2 0.3.0 0.2.17 Reference documentation and code samples for the Google Cloud Workflows V1 Client class ListWorkflowRevisionsRequest.

Request for the
[ListWorkflowRevisions](https://docs.cloud.google.com/php/docs/reference/cloud-workflows/latest/V1.Client.WorkflowsClient#_Google_Cloud_Workflows_V1_Client_WorkflowsClient__listWorkflowRevisions__)
method.

Generated from protobuf message `google.cloud.workflows.v1.ListWorkflowRevisionsRequest`

## Namespace

Google \\ Cloud \\ Workflows \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. Workflow for which the revisions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow} |
| `↳ page_size` | `int` The maximum number of revisions to return per page. If a value is not specified, a default value of 20 is used. The maximum permitted value is 100. Values greater than 100 are coerced down to 100. |
| `↳ page_token` | `string` The page token, received from a previous ListWorkflowRevisions call. Provide this to retrieve the subsequent page. |

### getName

Required. Workflow for which the revisions should be listed.

Format: projects/{project}/locations/{location}/workflows/{workflow}

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

### setName

Required. Workflow for which the revisions should be listed.

Format: projects/{project}/locations/{location}/workflows/{workflow}

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

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

### getPageSize

The maximum number of revisions to return per page. If a value is not
specified, a default value of 20 is used. The maximum permitted value is

1. Values greater than 100 are coerced down to 100.

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

### setPageSize

The maximum number of revisions to return per page. If a value is not
specified, a default value of 20 is used. The maximum permitted value is

1. Values greater than 100 are coerced down to 100.

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

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

### getPageToken

The page token, received from a previous ListWorkflowRevisions call.

Provide this to retrieve the subsequent page.

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

### setPageToken

The page token, received from a previous ListWorkflowRevisions call.

Provide this to retrieve the subsequent page.

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

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