toolImportStrategy property

String? toolImportStrategy
getter/setter pair

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.

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? toolImportStrategy;