# Google Cloud Workflows V1 Client - Class ListWorkflowRevisionsResponse (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 ListWorkflowRevisionsResponse.

Response 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.ListWorkflowRevisionsResponse`

## Namespace

Google \\ Cloud \\ Workflows \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ workflows` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-workflows/latest/V1.Workflow>` The revisions of the workflow, ordered in reverse chronological order. |
| `↳ next_page_token` | `string` A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |

### getWorkflows

The revisions of the workflow, ordered in reverse chronological order.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-workflows/latest/V1.Workflow>` |   |

### setWorkflows

The revisions of the workflow, ordered in reverse chronological order.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-workflows/latest/V1.Workflow>` |

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

### getNextPageToken

A token, which can be sent as `page_token` to retrieve the next page.

If this field is omitted, there are no subsequent pages.

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

### setNextPageToken

A token, which can be sent as `page_token` to retrieve the next page.

If this field is omitted, there are no subsequent pages.

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

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