Class: Google::Cloud::Ces::V1beta::ImportAppRequest::ImportOptions

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/ces/v1beta/agent_service.rb

Overview

Configuration options for the app import process. These options control how the import behaves, particularly when conflicts arise with existing app data.

Defined Under Namespace

Modules: ConflictResolutionStrategy

Instance Attribute Summary collapse

Instance Attribute Details

#conflict_resolution_strategy::Google::Cloud::Ces::V1beta::ImportAppRequest::ImportOptions::ConflictResolutionStrategy

Returns Optional. The strategy to use when resolving conflicts during import.

Returns:



237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
# File 'proto_docs/google/cloud/ces/v1beta/agent_service.rb', line 237

class ImportOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  module ConflictResolutionStrategy
    # The conflict resolution strategy is unspecified.
    CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED = 0

    # 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

    # 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
  end
end