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

The request message for
[EntityTypes.ExportEntityTypes](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Client.EntityTypesClient#_Google_Cloud_Dialogflow_Cx_V3_Client_EntityTypesClient__exportEntityTypes__).

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

## 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 name of the parent agent to export entity types. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. |
| `↳ entity_types` | `string[]` Required. The name of the entity types to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`. |
| `↳ entity_types_uri` | `string` Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the entity types to. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). |
| `↳ entity_types_content_inline` | `bool` Optional. The option to return the serialized entity types inline. |
| `↳ data_format` | `int` Optional. The data format of the exported entity types. If not specified, `BLOB` is assumed. |
| `↳ language_code` | `string` Optional. The language to retrieve the entity type for. The following fields are language dependent: \* \* `EntityType.entities.value` \* \* `EntityType.entities.synonyms` \* \* `EntityType.excluded_phrases.value` If not specified, all language dependent fields will be retrieved. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used. |

### getParent

Required. The name of the parent agent to export entity types.

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

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

### setParent

Required. The name of the parent agent to export entity types.

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

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

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

### getEntityTypes

Required. The name of the entity types to export.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setEntityTypes

Required. The name of the entity types to export.

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

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

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

### getEntityTypesUri

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

Dialogflow performs a write operation for the Cloud Storage object
on the caller's behalf, so your request authentication must
have write 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` |   |

### hasEntityTypesUri

### setEntityTypesUri

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

Dialogflow performs a write operation for the Cloud Storage object
on the caller's behalf, so your request authentication must
have write 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` |   |

### getEntityTypesContentInline

Optional. The option to return the serialized entity types inline.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasEntityTypesContentInline

### setEntityTypesContentInline

Optional. The option to return the serialized entity types inline.

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

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

### getDataFormat

Optional. The data format of the exported entity types. If not specified,
`BLOB` is assumed.

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

### setDataFormat

Optional. The data format of the exported entity types. If not specified,
`BLOB` is assumed.

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

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

### getLanguageCode

Optional. The language to retrieve the entity type for. The following
fields are language dependent:

- `EntityType.entities.value`
- `EntityType.entities.synonyms`
- `EntityType.excluded_phrases.value` If not specified, all language dependent fields will be retrieved.

[Many
languages](https://cloud.google.com/dialogflow/docs/reference/language)
are supported.
Note: languages must be enabled in the agent before they can be used.

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

### setLanguageCode

Optional. The language to retrieve the entity type for. The following
fields are language dependent:

- `EntityType.entities.value`
- `EntityType.entities.synonyms`
- `EntityType.excluded_phrases.value` If not specified, all language dependent fields will be retrieved.

[Many
languages](https://cloud.google.com/dialogflow/docs/reference/language)
are supported.
Note: languages must be enabled in the agent before they can be used.

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

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

### getDestination

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