Skip to main content

Enso_File.set_labels

set_labelslabels

Group: Metadata

Documentation

Sets the set of labels associated with the file in Enso Cloud. Any other labels than the ones provided are removed from the file. If any of the provided labels did not exist before, it is created with a random color associated with it. If you want to set a specific color, use Enso_File.create_label before calling this method.

Arguments

  • labels: The new set of labels to associate with the file.

Returns

  • The file on which it was called.