globalImportStrategy property

String? globalImportStrategy
getter/setter pair

Import strategy for resource conflict resolution, applied globally throughout the flow.

It will be applied for all display name conflicts in the imported content. If not specified, 'CREATE_NEW' is assumed.

Optional. Possible string values are:

  • "IMPORT_STRATEGY_UNSPECIFIED" : Unspecified. Treated as 'CREATE_NEW'.
  • "IMPORT_STRATEGY_CREATE_NEW" : Create a new resource with a numeric suffix appended to the end of the existing display name.
  • "IMPORT_STRATEGY_REPLACE" : Replace existing resource with incoming resource in the content to be imported.
  • "IMPORT_STRATEGY_KEEP" : Keep existing resource and discard incoming resource in the content to be imported.
  • "IMPORT_STRATEGY_MERGE" : Combine existing and incoming resources when a conflict is encountered.
  • "IMPORT_STRATEGY_THROW_ERROR" : Throw error if a conflict is encountered.

Implementation

core.String? globalImportStrategy;