# Google Cloud Dialogflow Cx V3 Client - Class PageInfo (0.11.1)

0.11.1 (latest) 0.11.0 0.10.2 0.9.2 0.8.1 0.7.2 0.6.0 0.5.2 0.4.1 0.3.4 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class PageInfo.

Represents page information communicated to and from the webhook.

Generated from protobuf message `google.cloud.dialogflow.cx.v3.PageInfo`

## Namespace

Google \\ Cloud \\ Dialogflow \\ Cx \\ V3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ current_page` | `string` Always present for [WebhookRequest](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookRequest). Ignored for [WebhookResponse](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookResponse). The unique identifier of the current page. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`. |
| `↳ display_name` | `string` Always present for [WebhookRequest](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookRequest). Ignored for [WebhookResponse](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookResponse). The display name of the current page. |
| `↳ form_info` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.PageInfo.FormInfo` Optional for both [WebhookRequest](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookRequest) and [WebhookResponse](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookResponse). Information about the form. |

### getCurrentPage

Always present for
[WebhookRequest](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookRequest). Ignored for
[WebhookResponse](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookResponse). The
unique identifier of the current page. Format:
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.

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

### setCurrentPage

Always present for
[WebhookRequest](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookRequest). Ignored for
[WebhookResponse](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookResponse). The
unique identifier of the current page. Format:
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.

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

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

### getDisplayName

Always present for
[WebhookRequest](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookRequest). Ignored for
[WebhookResponse](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookResponse). The
display name of the current page.

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

### setDisplayName

Always present for
[WebhookRequest](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookRequest). Ignored for
[WebhookResponse](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookResponse). The
display name of the current page.

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

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

### getFormInfo

Optional for both
[WebhookRequest](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookRequest) and
[WebhookResponse](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookResponse).

Information about the form.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.PageInfo.FormInfo|null` |   |

### hasFormInfo

### clearFormInfo

### setFormInfo

Optional for both
[WebhookRequest](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookRequest) and
[WebhookResponse](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.WebhookResponse).

Information about the form.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.PageInfo.FormInfo` |

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