Databricks SDK for JavaScript
    Preparing search index...

    User Preference represents a user-specific setting scoped to an individual user within an account. Unlike workspace or account settings that apply to all users, user preferences allow personal customization (e.g., UI theme, editor preferences) without affecting other users.

    interface UserPreference {
        effectiveValue?:
            | { $case: "effectiveBooleanVal"; effectiveBooleanVal: BooleanMessage }
            | { $case: "effectiveStringVal"; effectiveStringVal: StringMessage };
        name?: string;
        userId?: string;
        value?:
            | { $case: "booleanVal"; booleanVal: BooleanMessage }
            | { $case: "stringVal"; stringVal: StringMessage };
    }
    Index

    Properties

    effectiveValue?:
        | { $case: "effectiveBooleanVal"; effectiveBooleanVal: BooleanMessage }
        | { $case: "effectiveStringVal"; effectiveStringVal: StringMessage }

    New fields should be added before the oneof below - unless it's a new User Preference value message, in that case it needs to be defined in the oneof below. The final effective value from server as per the policy evaluation.

    name?: string

    Name of the setting.

    userId?: string

    User ID of the user.

    value?:
        | { $case: "booleanVal"; booleanVal: BooleanMessage }
        | { $case: "stringVal"; stringVal: StringMessage }

    New fields should be added before the oneof below - unless it's a new Setting value message, in that case it needs to be defined in the oneof below. The user-set value that goes into storage.