Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ImportEntityTypesRequest.
The request message for EntityTypes.ImportEntityTypes .
Generated from protobuf message google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The agent to import the entity types into. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
↳ entity_types_uri
string
The Google Cloud Storage
URI to import entity types 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
.
↳ entity_types_content
↳ merge_option
int
Required. Merge option for importing entity types.
↳ target_entity_type
string
Optional. The target entity type to import into. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entity_types/<EntityType ID>
. If set, there should be only one entity type included in entity_types
, of which the type should match the type of the target entity type. All entities
in the imported entity type will be added to the target entity type.
getParent
Required. The agent to import the entity types into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string
setParent
Required. The agent to import the entity types into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
var
string
$this
getEntityTypesUri
The Google Cloud Storage
URI
to import entity types 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 .
string
hasEntityTypesUri
setEntityTypesUri
The Google Cloud Storage
URI
to import entity types 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 .
var
string
$this
getEntityTypesContent
Uncompressed byte content of entity types.
hasEntityTypesContent
setEntityTypesContent
Uncompressed byte content of entity types.
$this
getMergeOption
Required. Merge option for importing entity types.
int
setMergeOption
Required. Merge option for importing entity types.
var
int
$this
getTargetEntityType
Optional. The target entity type to import into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/entity_types/<EntityType ID>
.
If set, there should be only one entity type included in entity_types
,
of which the type should match the type of the target entity type. All entities
in the
imported entity type will be added to the target entity type.
string
setTargetEntityType
Optional. The target entity type to import into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/entity_types/<EntityType ID>
.
If set, there should be only one entity type included in entity_types
,
of which the type should match the type of the target entity type. All entities
in the
imported entity type will be added to the target entity type.
var
string
$this
getEntityTypes
string