Databricks SDK for JavaScript
    Preparing search index...
    interface UpdateRoleRequest {
        role?: Role;
        updateMask?: FieldMask<Role>;
    }
    Index

    Properties

    Properties

    role?: Role

    The Postgres Role to update.

    The role's name field is used to identify the role to update. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}

    updateMask?: FieldMask<Role>

    The list of fields to update. Supported fields are spec.membership_roles, spec.attributes.createdb, spec.attributes.createrole, and spec.attributes.bypassrls.

    spec.identity_type, spec.auth_method, and spec.postgres_role cannot be changed. Including an immutable field as an explicit path in update_mask returns INVALID_PARAMETER_VALUE. With * or masks containing only mutable fields, supplied values for these immutable fields are ignored. * by itself selects all supported mutable fields. For this mask, all three attributes (createdb, createrole, and bypassrls) must be supplied; omitting any returns an INVALID_PARAMETER_VALUE error. The * mask replaces membership_roles. Omitting it or supplying an empty list clears all memberships, including DATABRICKS_SUPERUSER.