Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class PlaybookImportStrategy.
The playbook import strategy used for resource conflict resolution associated with an ImportPlaybookRequest.
Generated from protobuf message google.cloud.dialogflow.cx.v3.PlaybookImportStrategy
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ main_playbook_import_strategy |
int
Optional. Specifies the import strategy used when resolving conflicts with the main playbook. If not specified, 'CREATE_NEW' is assumed. |
↳ nested_resource_import_strategy |
int
Optional. Specifies the import strategy used when resolving referenced playbook/flow conflicts. If not specified, 'CREATE_NEW' is assumed. |
↳ tool_import_strategy |
int
Optional. Specifies the import strategy used when resolving tool conflicts. If not specified, 'CREATE_NEW' is assumed. This will be applied after the main playbook and nested resource import strategies, meaning if the playbook that references the tool is skipped, the tool will also be skipped. |
getMainPlaybookImportStrategy
Optional. Specifies the import strategy used when resolving conflicts with the main playbook. If not specified, 'CREATE_NEW' is assumed.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ImportStrategy. |
setMainPlaybookImportStrategy
Optional. Specifies the import strategy used when resolving conflicts with the main playbook. If not specified, 'CREATE_NEW' is assumed.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ImportStrategy. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNestedResourceImportStrategy
Optional. Specifies the import strategy used when resolving referenced playbook/flow conflicts. If not specified, 'CREATE_NEW' is assumed.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ImportStrategy. |
setNestedResourceImportStrategy
Optional. Specifies the import strategy used when resolving referenced playbook/flow conflicts. If not specified, 'CREATE_NEW' is assumed.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ImportStrategy. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getToolImportStrategy
Optional. Specifies the import strategy used when resolving tool conflicts.
If not specified, 'CREATE_NEW' is assumed. This will be applied after the main playbook and nested resource import strategies, meaning if the playbook that references the tool is skipped, the tool will also be skipped.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ImportStrategy. |
setToolImportStrategy
Optional. Specifies the import strategy used when resolving tool conflicts.
If not specified, 'CREATE_NEW' is assumed. This will be applied after the main playbook and nested resource import strategies, meaning if the playbook that references the tool is skipped, the tool will also be skipped.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ImportStrategy. |
| Returns | |
|---|---|
| Type | Description |
$this |
|