Generated from protobuf messagegoogle.cloud.dialogflow.cx.v3.ImportEntityTypesRequest
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 entity types into. Format:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.
↳ entity_types_uri
string
TheGoogle Cloud StorageURI to import entity types from. The format of this URI must begs://<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, seeDialogflow access control.
Required. Merge option for importing entity types.
↳ target_entity_type
string
Optional. The target entity type to import into. Format:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>. If set, there should be only one entity type included inentity_types, of which the type should match the type of the target entity type. Allentitiesin the imported entity type will be added to the target entity type.
getParent
Required. The agent to import the entity types into.
TheGoogle Cloud StorageURI
to import entity types from. The format of this URI must begs://<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, seeDialogflow access
control.
Returns
Type
Description
string
hasEntityTypesUri
setEntityTypesUri
TheGoogle Cloud StorageURI
to import entity types from. The format of this URI must begs://<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, seeDialogflow access
control.
Required. Merge option for importing entity types.
Returns
Type
Description
int
setMergeOption
Required. Merge option for importing entity types.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getTargetEntityType
Optional. The target entity type to import into.
Format:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>.
If set, there should be only one entity type included inentity_types,
of which the type should match the type of the target entity type. Allentitiesin the
imported entity type will be added to the target entity type.
Returns
Type
Description
string
setTargetEntityType
Optional. The target entity type to import into.
Format:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>.
If set, there should be only one entity type included inentity_types,
of which the type should match the type of the target entity type. Allentitiesin the
imported entity type will be added to the target entity type.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dialogflow Cx V3 Client - Class ImportEntityTypesRequest (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dialogflow-cx/latest/V3.ImportEntityTypesRequest)\n- [0.8.0](/php/docs/reference/cloud-dialogflow-cx/0.8.0/V3.ImportEntityTypesRequest)\n- [0.7.2](/php/docs/reference/cloud-dialogflow-cx/0.7.2/V3.ImportEntityTypesRequest)\n- [0.6.0](/php/docs/reference/cloud-dialogflow-cx/0.6.0/V3.ImportEntityTypesRequest)\n- [0.5.2](/php/docs/reference/cloud-dialogflow-cx/0.5.2/V3.ImportEntityTypesRequest)\n- [0.4.1](/php/docs/reference/cloud-dialogflow-cx/0.4.1/V3.ImportEntityTypesRequest)\n- [0.3.4](/php/docs/reference/cloud-dialogflow-cx/0.3.4/V3.ImportEntityTypesRequest)\n- [0.2.1](/php/docs/reference/cloud-dialogflow-cx/0.2.1/V3.ImportEntityTypesRequest)\n- [0.1.1](/php/docs/reference/cloud-dialogflow-cx/0.1.1/V3.ImportEntityTypesRequest) \nReference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ImportEntityTypesRequest.\n\nThe request message for\n[EntityTypes.ImportEntityTypes](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Client.EntityTypesClient#_Google_Cloud_Dialogflow_Cx_V3_Client_EntityTypesClient__importEntityTypes__).\n\nGenerated from protobuf message `google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ Cx \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The agent to import the entity types into.\n\nFormat: `projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e`.\n\n### setParent\n\nRequired. The agent to import the entity types into.\n\nFormat: `projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e`.\n\n### getEntityTypesUri\n\nThe [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI\nto import entity types from. The format of this URI must be\n`gs://\u003cbucket-name\u003e/\u003cobject-name\u003e`.\n\nDialogflow performs a read operation for the Cloud Storage object\non the caller's behalf, so your request authentication must\nhave read permissions for the object. For more information, see\n[Dialogflow access\ncontrol](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).\n\n### hasEntityTypesUri\n\n### setEntityTypesUri\n\nThe [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI\nto import entity types from. The format of this URI must be\n`gs://\u003cbucket-name\u003e/\u003cobject-name\u003e`.\n\nDialogflow performs a read operation for the Cloud Storage object\non the caller's behalf, so your request authentication must\nhave read permissions for the object. For more information, see\n[Dialogflow access\ncontrol](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).\n\n### getEntityTypesContent\n\nUncompressed byte content of entity types.\n\n### hasEntityTypesContent\n\n### setEntityTypesContent\n\nUncompressed byte content of entity types.\n\n### getMergeOption\n\nRequired. Merge option for importing entity types.\n\n### setMergeOption\n\nRequired. Merge option for importing entity types.\n\n### getTargetEntityType\n\nOptional. The target entity type to import into.\n\nFormat:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/entity_types/\u003cEntityTypeID\u003e`.\nIf set, there should be only one entity type included in\n[entity_types](/php/docs/reference/cloud-dialogflow-cx/latest/V3.ImportEntityTypesRequest#_Google_Cloud_Dialogflow_Cx_V3_ImportEntityTypesRequest__getEntityTypes__),\nof which the type should match the type of the target entity type. All\n[entities](/php/docs/reference/cloud-dialogflow-cx/latest/V3.EntityType#_Google_Cloud_Dialogflow_Cx_V3_EntityType__getEntities__) in the\nimported entity type will be added to the target entity type.\n\n### setTargetEntityType\n\nOptional. The target entity type to import into.\n\nFormat:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/entity_types/\u003cEntityTypeID\u003e`.\nIf set, there should be only one entity type included in\n[entity_types](/php/docs/reference/cloud-dialogflow-cx/latest/V3.ImportEntityTypesRequest#_Google_Cloud_Dialogflow_Cx_V3_ImportEntityTypesRequest__getEntityTypes__),\nof which the type should match the type of the target entity type. All\n[entities](/php/docs/reference/cloud-dialogflow-cx/latest/V3.EntityType#_Google_Cloud_Dialogflow_Cx_V3_EntityType__getEntities__) in the\nimported entity type will be added to the target entity type.\n\n### getEntityTypes"]]