Databricks SDK for JavaScript
    Preparing search index...

    The information of the object in workspace. It will be returned by list and get-status.

    interface ObjectInfo {
        createdAt?: bigint;
        directoryInfo?: DirectoryInfo;
        language?: Language;
        modifiedAt?: bigint;
        objectId?: bigint;
        objectType?: ObjectType;
        path?: string;
        resourceId?: string;
        size?: bigint;
    }
    Index

    Properties

    createdAt?: bigint

    Only applicable to files. The creation UTC timestamp.

    directoryInfo?: DirectoryInfo

    Additional metadata about the directory. Only set for objects of type DIRECTORY.

    language?: Language

    The language of the object. This value is set only if the object type is NOTEBOOK. For Jupyter (.ipynb) notebooks, this is always PYTHON.

    modifiedAt?: bigint

    Only applicable to files, the last modified UTC timestamp.

    objectId?: bigint

    Unique identifier for the object.

    objectType?: ObjectType

    The type of the object in workspace.

    • NOTEBOOK: document that contains runnable code, visualizations, and explanatory text.
    • DIRECTORY: directory
    • LIBRARY: library
    • FILE: file
    • REPO: repository
    • DASHBOARD: Lakeview dashboard
    path?: string

    The absolute path of the object.

    resourceId?: string

    A unique identifier for the object that is consistent across all Databricks APIs.

    size?: bigint

    Only applicable to files. The file size in bytes can be returned.