Skip to contents

creates an Object.

Usage

Object_create(
  vault_id,
  filename,
  object_type,
  parent_object_id = NULL,
  description = NULL,
  metadata = NULL,
  tags = NULL,
  storage_class = NULL,
  capacity = NULL,
  mimetype = NULL,
  size = NULL,
  md5 = NULL,
  conn = get_connection()
)

Arguments

vault_id

a Vault ID as a string (e.g. "19").

filename

an Object filename, without the parent folder (e.g. "foo.csv")

object_type

the type of an object, one of "file", "folder", or "dataset".

parent_object_id

the ID of the parent of the Object.

description

the description as a string.

metadata

metadata as a named list.

tags

a list of tags as a character vector.

storage_class

The Storage class of the vault ('Standard', 'Standard-IA', 'Essential', 'Temporary', 'Performance', 'Archive') as a string.

capacity

The dataset capacity level (small, medium, or large).

mimetype

the MIME type of the Object.

size

The size of the object.

md5

a MD5 fingerprint, as a string.

conn

a EDP connection object (as a named list or environment)

Value

the object as as list with class Object