Databricks SDK for JavaScript
    Preparing search index...
    interface UpdatePolicyRequest {
        name?: string;
        onSecurableFullname?: string;
        onSecurableType?: string;
        policyInfo?: PolicyInfo;
        updateMask?: FieldMask<PolicyInfo>;
    }
    Index

    Properties

    name?: string

    Required. The name of the policy to update.

    onSecurableFullname?: string

    Required. The fully qualified name of the securable to update the policy for.

    onSecurableType?: string

    Required. The type of the securable to update the policy for.

    policyInfo?: PolicyInfo

    Optional fields to update. This is the request body for updating a policy. Use update_mask field to specify which fields in the request is to be updated.

    • If update_mask is empty or "*", all specified fields will be updated.
    • If update_mask is specified, only the fields specified in the update_mask will be updated. If a field is specified in update_mask and not set in the request, the field will be cleared. Users can use the update mask to explicitly unset optional fields such as exception_principals and when_condition.
    updateMask?: FieldMask<PolicyInfo>

    Optional. The update mask field for specifying user intentions on which fields to update in the request.