Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ImportStrategy.
Import strategies for the conflict resolution of resources (i.e. intents, entities, and webhooks) with identical display names during import operations.
Protobuf type google.cloud.dialogflow.cx.v3.ImportStrategy
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
IMPORT_STRATEGY_UNSPECIFIED
Value: 0Unspecified. Treated as 'CREATE_NEW'.
Generated from protobuf enum IMPORT_STRATEGY_UNSPECIFIED = 0;
IMPORT_STRATEGY_CREATE_NEW
Value: 1Create a new resource with a numeric suffix appended to the end of the existing display name.
Generated from protobuf enum IMPORT_STRATEGY_CREATE_NEW = 1;
IMPORT_STRATEGY_REPLACE
Value: 2Replace existing resource with incoming resource in the content to be imported.
Generated from protobuf enum IMPORT_STRATEGY_REPLACE = 2;
IMPORT_STRATEGY_KEEP
Value: 3Keep existing resource and discard incoming resource in the content to be imported.
Generated from protobuf enum IMPORT_STRATEGY_KEEP = 3;
IMPORT_STRATEGY_MERGE
Value: 4Combine existing and incoming resources when a conflict is encountered.
Generated from protobuf enum IMPORT_STRATEGY_MERGE = 4;
IMPORT_STRATEGY_THROW_ERROR
Value: 5Throw error if a conflict is encountered.
Generated from protobuf enum IMPORT_STRATEGY_THROW_ERROR = 5;