Interface DriveInterface

Drive entity interface

Mirrors macs-node-sdk/lib/drive/models/drive.js. current_size is server- tracked.

interface DriveInterface {
    external_id?: string;
    extensors?: { [key: string]: string };
    record_history?: RecordHistory;
    id?: string;
    org?: string;
    user?: string;
    name: string;
    description?: string;
    current_size?: number;
    max_size?: number;
    status?: string;
    public?: boolean;
    retention_policy?: DriveRetentionPolicy;
    monitoring_enabled?: boolean;
    quota_alert_threshold?: number;
    critical_quota_threshold?: number;
    audit_logging_enabled?: boolean;
    active?: boolean;
    items?: any;
    uploads?: any;
    indexes?: any;
}

Hierarchy (View Summary)

Properties

external_id?: string

External system identifier for integration with third-party systems

extensors?: { [key: string]: string }

Extended properties for custom integrations

record_history?: RecordHistory

Record history tracking information

id?: string

Unique identifier for the entity

org?: string
user?: string
name: string

Drive name (required, maxlength 255)

description?: string

Description (maxlength 1000)

current_size?: number

Bytes currently stored — server-managed

max_size?: number

Quota in bytes. Default 1 GiB.

status?: string

Storage status (see STORAGE_STATUS constant). Default 'ACTIVE'.

public?: boolean

Whether the drive allows public read without auth

retention_policy?: DriveRetentionPolicy

Retention policy config

monitoring_enabled?: boolean

Whether storage monitoring is enabled

quota_alert_threshold?: number

Quota usage % that triggers a warning alert (1–100, default 80)

critical_quota_threshold?: number

Quota usage % that triggers a critical alert (1–100, default 95)

audit_logging_enabled?: boolean

Whether audit logging is enabled for drive operations

active?: boolean

Whether the entity is active

items?: any
uploads?: any
indexes?: any