Reference documentation and code samples for the Google Cloud Ces V1 Client class ConflictResolutionStrategy.
Defines the strategy for handling conflicts when an app with the same ID already exists, or when imported resources (like Agents, Tools, etc.) have the same display names as existing resources within that app.
Protobuf type google.cloud.ces.v1.ImportAppRequest.ImportOptions.ConflictResolutionStrategy
Namespace
Google \ Cloud \ Ces \ V1 \ ImportAppRequest \ ImportOptionsMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED
Value: 0The conflict resolution strategy is unspecified.
Generated from protobuf enum CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED = 0;
REPLACE
Value: 1Replace existing data with imported data.
If an app with the same app_id already exists, its content will be
updated based on the imported app.
- Resources (App, Agents, Tools, Examples, Guardrails, Toolsets) in the imported app that have the same display name as existing resources will overwrite the existing ones.
- Imported resources with new display names will be created.
- Existing resources that do not have a matching display name in the imported app will remain untouched.
Generated from protobuf enum REPLACE = 1;
OVERWRITE
Value: 2Overwrite existing data with imported data.
If an app with the same app_id already exists, its content will be
overwritten with the imported app.
- Existing resources (Agents, Tools, Examples, Guardrails, Toolsets) in the app will be deleted.
- Imported resources will be created as new resources.
Generated from protobuf enum OVERWRITE = 2;