Enum ImportAppRequest.ImportOptions.ConflictResolutionStrategy (0.1.0)

public enum ImportAppRequest.ImportOptions.ConflictResolutionStrategy extends Enum<ImportAppRequest.ImportOptions.ConflictResolutionStrategy> implements ProtocolMessageEnum

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 enum google.cloud.ces.v1.ImportAppRequest.ImportOptions.ConflictResolutionStrategy

Implements

ProtocolMessageEnum

Static Fields

Name Description
CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED

The conflict resolution strategy is unspecified.

CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED = 0;

CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED_VALUE

The conflict resolution strategy is unspecified.

CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED = 0;

OVERWRITE

Overwrite 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.

OVERWRITE = 2;

OVERWRITE_VALUE

Overwrite 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.

OVERWRITE = 2;

REPLACE

Replace 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.

REPLACE = 1;

REPLACE_VALUE

Replace 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.

REPLACE = 1;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()