# Google Cloud Dialogflow Cx V3 Client - Class ImportFlowRequest (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 ImportFlowRequest.

The request message for
[Flows.ImportFlow](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Client.FlowsClient#_Google_Cloud_Dialogflow_Cx_V3_Client_FlowsClient__importFlow__).

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The agent to import the flow into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. |
| `↳ flow_uri` | `string` The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import flow from. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). |
| `↳ flow_content` | `string` Uncompressed raw byte content for flow. |
| `↳ import_option` | `int` Flow import mode. If not specified, `KEEP` is assumed. |
| `↳ flow_import_strategy` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.FlowImportStrategy` Optional. Specifies the import strategy used when resolving resource conflicts. |

### getParent

Required. The agent to import the flow into.

Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.

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

### setParent

Required. The agent to import the flow into.

Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.

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

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

### getFlowUri

The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
to import flow from. The format of this URI must be
`gs://<bucket-name>/<object-name>`.

Dialogflow performs a read operation for the Cloud Storage object
on the caller's behalf, so your request authentication must
have read permissions for the object. For more information, see
[Dialogflow access
control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).

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

### hasFlowUri

### setFlowUri

The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
to import flow from. The format of this URI must be
`gs://<bucket-name>/<object-name>`.

Dialogflow performs a read operation for the Cloud Storage object
on the caller's behalf, so your request authentication must
have read permissions for the object. For more information, see
[Dialogflow access
control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).

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

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

### getFlowContent

Uncompressed raw byte content for flow.

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

### hasFlowContent

### setFlowContent

Uncompressed raw byte content for flow.

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

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

### getImportOption

Flow import mode. If not specified, `KEEP` is assumed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ImportOption](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.ImportFlowRequest.ImportOption). |

### setImportOption

Flow import mode. If not specified, `KEEP` is assumed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ImportOption](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.ImportFlowRequest.ImportOption). |

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

### getFlowImportStrategy

Optional. Specifies the import strategy used when resolving resource
conflicts.

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

### hasFlowImportStrategy

### clearFlowImportStrategy

### setFlowImportStrategy

Optional. Specifies the import strategy used when resolving resource
conflicts.

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

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

### getFlow

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