Unity Catalog

These dataclasses are used in the SDK to represent API requests and responses for services in the databricks.sdk.service.catalog module.

class databricks.sdk.service.catalog.AccessRequestDestinations(securable: 'Securable', are_any_destinations_hidden: 'Optional[bool]' = None, destination_source_securable: 'Optional[Securable]' = None, destinations: 'Optional[List[NotificationDestination]]' = None, full_name: 'Optional[str]' = None, securable_type: 'Optional[str]' = None)
securable: Securable

The securable for which the access request destinations are being modified or read.

are_any_destinations_hidden: bool | None = None

Indicates whether any destinations are hidden from the caller due to a lack of permissions. This value is true if the caller does not have permission to see all destinations.

destination_source_securable: Securable | None = None

The source securable from which the destinations are inherited. Either the same value as securable (if destination is set directly on the securable) or the nearest parent securable with destinations set.

destinations: List[NotificationDestination] | None = None

The access request destinations for the securable.

full_name: str | None = None

The full name of the securable. Redundant with the name in the securable object, but necessary for Terraform integration

securable_type: str | None = None

The type of the securable. Redundant with the type in the securable object, but necessary for Terraform integration

as_dict() dict

Serializes the AccessRequestDestinations into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AccessRequestDestinations into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AccessRequestDestinations

Deserializes the AccessRequestDestinations from a dictionary.

class databricks.sdk.service.catalog.AccountsCreateMetastoreAssignmentResponse

The metastore assignment was successfully created.

as_dict() dict

Serializes the AccountsCreateMetastoreAssignmentResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AccountsCreateMetastoreAssignmentResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AccountsCreateMetastoreAssignmentResponse

Deserializes the AccountsCreateMetastoreAssignmentResponse from a dictionary.

class databricks.sdk.service.catalog.AccountsCreateMetastoreResponse(metastore_info: 'Optional[MetastoreInfo]' = None)
metastore_info: MetastoreInfo | None = None
as_dict() dict

Serializes the AccountsCreateMetastoreResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AccountsCreateMetastoreResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AccountsCreateMetastoreResponse

Deserializes the AccountsCreateMetastoreResponse from a dictionary.

class databricks.sdk.service.catalog.AccountsCreateStorageCredentialInfo(credential_info: 'Optional[StorageCredentialInfo]' = None)
credential_info: StorageCredentialInfo | None = None
as_dict() dict

Serializes the AccountsCreateStorageCredentialInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AccountsCreateStorageCredentialInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AccountsCreateStorageCredentialInfo

Deserializes the AccountsCreateStorageCredentialInfo from a dictionary.

class databricks.sdk.service.catalog.AccountsDeleteMetastoreAssignmentResponse

The metastore assignment was successfully deleted.

as_dict() dict

Serializes the AccountsDeleteMetastoreAssignmentResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AccountsDeleteMetastoreAssignmentResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AccountsDeleteMetastoreAssignmentResponse

Deserializes the AccountsDeleteMetastoreAssignmentResponse from a dictionary.

class databricks.sdk.service.catalog.AccountsDeleteMetastoreResponse

The metastore was successfully deleted.

as_dict() dict

Serializes the AccountsDeleteMetastoreResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AccountsDeleteMetastoreResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AccountsDeleteMetastoreResponse

Deserializes the AccountsDeleteMetastoreResponse from a dictionary.

class databricks.sdk.service.catalog.AccountsDeleteStorageCredentialResponse

The storage credential was successfully deleted.

as_dict() dict

Serializes the AccountsDeleteStorageCredentialResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AccountsDeleteStorageCredentialResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AccountsDeleteStorageCredentialResponse

Deserializes the AccountsDeleteStorageCredentialResponse from a dictionary.

class databricks.sdk.service.catalog.AccountsGetMetastoreResponse(metastore_info: MetastoreInfo | None = None)

The metastore was successfully returned.

metastore_info: MetastoreInfo | None = None
as_dict() dict

Serializes the AccountsGetMetastoreResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AccountsGetMetastoreResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AccountsGetMetastoreResponse

Deserializes the AccountsGetMetastoreResponse from a dictionary.

class databricks.sdk.service.catalog.AccountsListMetastoresResponse(metastores: List[MetastoreInfo] | None = None)

Metastores were returned successfully.

metastores: List[MetastoreInfo] | None = None

An array of metastore information objects.

as_dict() dict

Serializes the AccountsListMetastoresResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AccountsListMetastoresResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AccountsListMetastoresResponse

Deserializes the AccountsListMetastoresResponse from a dictionary.

class databricks.sdk.service.catalog.AccountsMetastoreAssignment(metastore_assignment: MetastoreAssignment | None = None)

The workspace metastore assignment was successfully returned.

metastore_assignment: MetastoreAssignment | None = None
as_dict() dict

Serializes the AccountsMetastoreAssignment into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AccountsMetastoreAssignment into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AccountsMetastoreAssignment

Deserializes the AccountsMetastoreAssignment from a dictionary.

class databricks.sdk.service.catalog.AccountsStorageCredentialInfo(credential_info: StorageCredentialInfo | None = None)

The storage credential was successfully retrieved.

credential_info: StorageCredentialInfo | None = None
as_dict() dict

Serializes the AccountsStorageCredentialInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AccountsStorageCredentialInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AccountsStorageCredentialInfo

Deserializes the AccountsStorageCredentialInfo from a dictionary.

class databricks.sdk.service.catalog.AccountsUpdateMetastoreAssignmentResponse

The metastore assignment was successfully updated.

as_dict() dict

Serializes the AccountsUpdateMetastoreAssignmentResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AccountsUpdateMetastoreAssignmentResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AccountsUpdateMetastoreAssignmentResponse

Deserializes the AccountsUpdateMetastoreAssignmentResponse from a dictionary.

class databricks.sdk.service.catalog.AccountsUpdateMetastoreResponse(metastore_info: MetastoreInfo | None = None)

The metastore update request succeeded.

metastore_info: MetastoreInfo | None = None
as_dict() dict

Serializes the AccountsUpdateMetastoreResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AccountsUpdateMetastoreResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AccountsUpdateMetastoreResponse

Deserializes the AccountsUpdateMetastoreResponse from a dictionary.

class databricks.sdk.service.catalog.AccountsUpdateStorageCredentialResponse(credential_info: StorageCredentialInfo | None = None)

The storage credential was successfully updated.

credential_info: StorageCredentialInfo | None = None
as_dict() dict

Serializes the AccountsUpdateStorageCredentialResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AccountsUpdateStorageCredentialResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AccountsUpdateStorageCredentialResponse

Deserializes the AccountsUpdateStorageCredentialResponse from a dictionary.

class databricks.sdk.service.catalog.AgentService(agent_service_type: AgentServiceAgentServiceType | None = None, browse_only: bool | None = None, comment: str | None = None, config: AgentServiceConfig | None = None, create_time: Timestamp | None = None, created_by: str | None = None, effective_owner: str | None = None, etag: str | None = None, metastore_id: str | None = None, name: str | None = None, owner: str | None = None, update_time: Timestamp | None = None, updated_by: str | None = None)

An agent service represents a governed registration of an external AI agent (Bedrock Agents, Snowflake Cortex Agents, Foundry, etc) in Unity Catalog. It acts as a schema-scoped securable that references a UC Connection holding the agent platform’s auth + endpoint, and exposes the agent for discovery, authorization, and audit logging. Initial kind: AGENT_SERVICE_STANDARD. Future kinds (INTERNAL, GENIE, APP) can be added as separate enum values.

agent_service_type: AgentServiceAgentServiceType | None = None

Type of agent service. Required on create. Immutable after creation. For future internal / genie / app kinds, determines how the backing agent surface is provisioned.

browse_only: bool | None = None

Whether the caller sees only metadata available through the BROWSE privilege.

comment: str | None = None

User-provided description.

config: AgentServiceConfig | None = None

Operational configuration: connection, base_path, system_prompt, model_service, optional inference table, optional rate limits. Required on CreateAgentService; on UpdateAgentService it is required only when config (or a config.* subpath) appears in update_mask.

create_time: Timestamp | None = None

When the agent service was created.

created_by: str | None = None

Creator identity.

effective_owner: str | None = None

The resolved owner of the agent service. Falls back to the caller’s identity when owner is not explicitly set on creation.

etag: str | None = None

Optimistic concurrency control token. Server-generated from the entity’s state and returned on every read. To use it as an if-match precondition on a mutation, echo the last-read value back via the dedicated etag field on the Update / Delete request; the server rejects the mutation if the stored etag differs.

metastore_id: str | None = None

Metastore hosting the agent service.

name: str | None = None

Resource name of the agent service. Format: agent-services/{catalog}.{schema}.{agent_service}. Each {...} component is capped at 255 characters individually. Server-derived on Create from parent + agent_service_id; required and immutable on Update/Get/Delete.

owner: str | None = None

The owner of the agent service. Write-only; read owner via effective_owner.

update_time: Timestamp | None = None

When the agent service was last modified.

updated_by: str | None = None

Identity of the last updater.

as_dict() dict

Serializes the AgentService into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AgentService into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AgentService

Deserializes the AgentService from a dictionary.

class databricks.sdk.service.catalog.AgentServiceAgentServiceType

Type of agent service. Determines how the backing agent surface is provisioned and how invocation routes to the runtime. Nested to scope enum values (guardrail: avoid-generic-enum-names).

AGENT_SERVICE_TYPE_EXTERNAL = "AGENT_SERVICE_TYPE_EXTERNAL"
class databricks.sdk.service.catalog.AgentServiceConfig(base_path: str | None = None, inference_table: InferenceTableConfig | None = None, model_service: str | None = None, rate_limits: List[RateLimit] | None = None, source_connection: AgentServiceConfigSourceConnection | None = None, system_prompt: str | None = None)

Operational configuration for an agent service. Groups the source connection, base path, system prompt, model service reference, optional inference table, and optional rate limits. The source_connection.name is supplied on create.

base_path: str | None = None

Vendor base path appended to the connection url at invocation time. Bedrock example: /agents/AGENT123/agentAliases/ALIAS1/sessions. Empty when the agent platform does not require a per-agent suffix.

inference_table: InferenceTableConfig | None = None

Inference table config for invocation payload logging. Reuses the shared InferenceTableConfig (same as ModelServiceConfig.inference_table).

model_service: str | None = None

Resource name of the model service backing this agent. Empty when the agent platform manages its own model selection (e.g. Bedrock Agents). Format: model-services/{catalog}.{schema}.{model_service}.

rate_limits: List[RateLimit] | None = None

Per-principal rate limits applied to invocations routed through this agent service. Repeated to support per-USER / USER_GROUP / SERVICE_PRINCIPAL / SERVICE / USER_DEFAULT scopes simultaneously, mirroring McpServiceConfig.rate_limits. Empty when no rate limit is configured.

source_connection: AgentServiceConfigSourceConnection | None = None

External agent referenced via a UC Connection.

system_prompt: str | None = None

System prompt prepended to invocations. Max 8 KB.

as_dict() dict

Serializes the AgentServiceConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AgentServiceConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AgentServiceConfig

Deserializes the AgentServiceConfig from a dictionary.

class databricks.sdk.service.catalog.AgentServiceConfigSourceConnection(name: str, is_deleted: bool | None = None)

UC Connection for the agent platform, such as Bedrock Agents, Snowflake Cortex Agents, or Foundry. On create, provide name in the schema-scoped form connections/{catalog}.{schema}.{connection}. On read, the service returns name.

name: str
is_deleted: bool | None = None
as_dict() dict

Serializes the AgentServiceConfigSourceConnection into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AgentServiceConfigSourceConnection into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AgentServiceConfigSourceConnection

Deserializes the AgentServiceConfigSourceConnection from a dictionary.

class databricks.sdk.service.catalog.ArtifactAllowlistInfo(artifact_matchers: 'Optional[List[ArtifactMatcher]]' = None, created_at: 'Optional[int]' = None, created_by: 'Optional[str]' = None, metastore_id: 'Optional[str]' = None)
artifact_matchers: List[ArtifactMatcher] | None = None

A list of allowed artifact match patterns.

created_at: int | None = None

Time at which this artifact allowlist was set, in epoch milliseconds.

created_by: str | None = None

Username of the user who set the artifact allowlist.

metastore_id: str | None = None

Unique identifier of parent metastore.

as_dict() dict

Serializes the ArtifactAllowlistInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ArtifactAllowlistInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ArtifactAllowlistInfo

Deserializes the ArtifactAllowlistInfo from a dictionary.

class databricks.sdk.service.catalog.ArtifactMatcher(artifact: 'str', match_type: 'MatchType')
artifact: str

The artifact path or maven coordinate

match_type: MatchType

The pattern matching type of the artifact

as_dict() dict

Serializes the ArtifactMatcher into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ArtifactMatcher into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ArtifactMatcher

Deserializes the ArtifactMatcher from a dictionary.

class databricks.sdk.service.catalog.ArtifactType

The artifact type

INIT_SCRIPT = "INIT_SCRIPT"
LIBRARY_JAR = "LIBRARY_JAR"
LIBRARY_MAVEN = "LIBRARY_MAVEN"
class databricks.sdk.service.catalog.AssignResponse
as_dict() dict

Serializes the AssignResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AssignResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AssignResponse

Deserializes the AssignResponse from a dictionary.

class databricks.sdk.service.catalog.AwsCredentials(access_key_id: str | None = None, access_point: str | None = None, secret_access_key: str | None = None, session_token: str | None = None)

AWS temporary credentials for API authentication. Read more at https://docs.aws.amazon.com/STS/latest/APIReference/API_Credentials.html.

access_key_id: str | None = None

The access key ID that identifies the temporary credentials.

access_point: str | None = None

The Amazon Resource Name (ARN) of the S3 access point for temporary credentials related the external location.

secret_access_key: str | None = None

The secret access key that can be used to sign AWS API requests.

session_token: str | None = None

The token that users must pass to AWS API to use the temporary credentials.

as_dict() dict

Serializes the AwsCredentials into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AwsCredentials into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AwsCredentials

Deserializes the AwsCredentials from a dictionary.

class databricks.sdk.service.catalog.AwsIamRole(external_id: str | None = None, role_arn: str | None = None, unity_catalog_iam_arn: str | None = None)

The AWS IAM role configuration

external_id: str | None = None

The external ID used in role assumption to prevent the confused deputy problem.

role_arn: str | None = None

The Amazon Resource Name (ARN) of the AWS IAM role used to vend temporary credentials.

unity_catalog_iam_arn: str | None = None

The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role.

as_dict() dict

Serializes the AwsIamRole into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AwsIamRole into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AwsIamRole

Deserializes the AwsIamRole from a dictionary.

class databricks.sdk.service.catalog.AwsIamRoleRequest(role_arn: str)

The AWS IAM role configuration

role_arn: str

The Amazon Resource Name (ARN) of the AWS IAM role used to vend temporary credentials.

as_dict() dict

Serializes the AwsIamRoleRequest into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AwsIamRoleRequest into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AwsIamRoleRequest

Deserializes the AwsIamRoleRequest from a dictionary.

class databricks.sdk.service.catalog.AwsIamRoleResponse(role_arn: str, external_id: str | None = None, unity_catalog_iam_arn: str | None = None)

The AWS IAM role configuration

role_arn: str

The Amazon Resource Name (ARN) of the AWS IAM role used to vend temporary credentials.

external_id: str | None = None

The external ID used in role assumption to prevent the confused deputy problem.

unity_catalog_iam_arn: str | None = None

The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role.

as_dict() dict

Serializes the AwsIamRoleResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AwsIamRoleResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AwsIamRoleResponse

Deserializes the AwsIamRoleResponse from a dictionary.

class databricks.sdk.service.catalog.AwsSqsQueue(managed_resource_id: 'Optional[str]' = None, queue_url: 'Optional[str]' = None)
managed_resource_id: str | None = None

Unique identifier included in the name of file events managed cloud resources.

queue_url: str | None = None

The AQS queue url in the format https://sqs.{region}.amazonaws.com/{account id}/{queue name}. Only required for provided_sqs.

as_dict() dict

Serializes the AwsSqsQueue into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AwsSqsQueue into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AwsSqsQueue

Deserializes the AwsSqsQueue from a dictionary.

class databricks.sdk.service.catalog.AzureActiveDirectoryToken(aad_token: str | None = None)

Azure Active Directory token, essentially the Oauth token for Azure Service Principal or Managed Identity. Read more at https://learn.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/aad/service-prin-aad-token

aad_token: str | None = None

Opaque token that contains claims that you can use in Azure Active Directory to access cloud services.

as_dict() dict

Serializes the AzureActiveDirectoryToken into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AzureActiveDirectoryToken into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AzureActiveDirectoryToken

Deserializes the AzureActiveDirectoryToken from a dictionary.

class databricks.sdk.service.catalog.AzureEncryptionSettings(azure_tenant_id: 'str', azure_cmk_access_connector_id: 'Optional[str]' = None, azure_cmk_managed_identity_id: 'Optional[str]' = None)
azure_tenant_id: str
azure_cmk_access_connector_id: str | None = None
azure_cmk_managed_identity_id: str | None = None
as_dict() dict

Serializes the AzureEncryptionSettings into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AzureEncryptionSettings into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AzureEncryptionSettings

Deserializes the AzureEncryptionSettings from a dictionary.

class databricks.sdk.service.catalog.AzureManagedIdentity(access_connector_id: str, credential_id: str | None = None, managed_identity_id: str | None = None)

The Azure managed identity configuration.

access_connector_id: str

The Azure resource ID of the Azure Databricks Access Connector. Use the format /subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.Databricks/accessConnectors/{connector-name}.

credential_id: str | None = None

The Databricks internal ID that represents this managed identity.

managed_identity_id: str | None = None

The Azure resource ID of the managed identity. Use the format, /subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identity-name} This is only available for user-assgined identities. For system-assigned identities, the access_connector_id is used to identify the identity. If this field is not provided, then we assume the AzureManagedIdentity is using the system-assigned identity.

as_dict() dict

Serializes the AzureManagedIdentity into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AzureManagedIdentity into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AzureManagedIdentity

Deserializes the AzureManagedIdentity from a dictionary.

class databricks.sdk.service.catalog.AzureManagedIdentityRequest(access_connector_id: str, managed_identity_id: str | None = None)

The Azure managed identity configuration.

access_connector_id: str

The Azure resource ID of the Azure Databricks Access Connector. Use the format /subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.Databricks/accessConnectors/{connector-name}.

managed_identity_id: str | None = None

The Azure resource ID of the managed identity. Use the format, /subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identity-name} This is only available for user-assgined identities. For system-assigned identities, the access_connector_id is used to identify the identity. If this field is not provided, then we assume the AzureManagedIdentity is using the system-assigned identity.

as_dict() dict

Serializes the AzureManagedIdentityRequest into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AzureManagedIdentityRequest into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AzureManagedIdentityRequest

Deserializes the AzureManagedIdentityRequest from a dictionary.

class databricks.sdk.service.catalog.AzureManagedIdentityResponse(access_connector_id: str, credential_id: str | None = None, managed_identity_id: str | None = None)

The Azure managed identity configuration.

access_connector_id: str

The Azure resource ID of the Azure Databricks Access Connector. Use the format /subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.Databricks/accessConnectors/{connector-name}.

credential_id: str | None = None

The Databricks internal ID that represents this managed identity.

managed_identity_id: str | None = None

The Azure resource ID of the managed identity. Use the format, /subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identity-name} This is only available for user-assgined identities. For system-assigned identities, the access_connector_id is used to identify the identity. If this field is not provided, then we assume the AzureManagedIdentity is using the system-assigned identity.

as_dict() dict

Serializes the AzureManagedIdentityResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AzureManagedIdentityResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AzureManagedIdentityResponse

Deserializes the AzureManagedIdentityResponse from a dictionary.

class databricks.sdk.service.catalog.AzureQueueStorage(managed_resource_id: 'Optional[str]' = None, queue_url: 'Optional[str]' = None, resource_group: 'Optional[str]' = None, subscription_id: 'Optional[str]' = None)
managed_resource_id: str | None = None

Unique identifier included in the name of file events managed cloud resources.

queue_url: str | None = None

The AQS queue url in the format https://{storage account}.queue.core.windows.net/{queue name} Only required for provided_aqs.

resource_group: str | None = None

Optional resource group for the queue, event grid subscription, and external location storage account. Only required for locations with a service principal storage credential

subscription_id: str | None = None

Optional subscription id for the queue, event grid subscription, and external location storage account. Required for locations with a service principal storage credential

as_dict() dict

Serializes the AzureQueueStorage into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AzureQueueStorage into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AzureQueueStorage

Deserializes the AzureQueueStorage from a dictionary.

class databricks.sdk.service.catalog.AzureServicePrincipal(directory_id: str, application_id: str, client_secret: str)

The Azure service principal configuration. Only applicable when purpose is STORAGE.

directory_id: str

The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application.

application_id: str

The application ID of the application registration within the referenced AAD tenant.

client_secret: str

The client secret generated for the above app ID in AAD.

as_dict() dict

Serializes the AzureServicePrincipal into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AzureServicePrincipal into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AzureServicePrincipal

Deserializes the AzureServicePrincipal from a dictionary.

class databricks.sdk.service.catalog.AzureUserDelegationSas(sas_token: str | None = None)

Azure temporary credentials for API authentication. Read more at https://docs.microsoft.com/en-us/rest/api/storageservices/create-user-delegation-sas

sas_token: str | None = None

The signed URI (SAS Token) used to access blob services for a given path

as_dict() dict

Serializes the AzureUserDelegationSas into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the AzureUserDelegationSas into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) AzureUserDelegationSas

Deserializes the AzureUserDelegationSas from a dictionary.

class databricks.sdk.service.catalog.BatchCreateAccessRequestsResponse(responses: 'Optional[List[CreateAccessRequestResponse]]' = None)
responses: List[CreateAccessRequestResponse] | None = None

The access request destinations for each securable object the principal requested.

as_dict() dict

Serializes the BatchCreateAccessRequestsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the BatchCreateAccessRequestsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) BatchCreateAccessRequestsResponse

Deserializes the BatchCreateAccessRequestsResponse from a dictionary.

class databricks.sdk.service.catalog.CancelRefreshResponse
as_dict() dict

Serializes the CancelRefreshResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the CancelRefreshResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) CancelRefreshResponse

Deserializes the CancelRefreshResponse from a dictionary.

class databricks.sdk.service.catalog.CatalogFederationConfig(schema_filter_type: SchemaFilterType | None = None)

Federation-only configuration for a FOREIGN catalog.

schema_filter_type: SchemaFilterType | None = None

Controls how the catalog’s schema filter items are treated.

as_dict() dict

Serializes the CatalogFederationConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the CatalogFederationConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) CatalogFederationConfig

Deserializes the CatalogFederationConfig from a dictionary.

class databricks.sdk.service.catalog.CatalogInfo(browse_only: 'Optional[bool]' = None, catalog_federation_config: 'Optional[CatalogFederationConfig]' = None, catalog_type: 'Optional[CatalogType]' = None, comment: 'Optional[str]' = None, connection_name: 'Optional[str]' = None, conversion_info: 'Optional[ConversionInfo]' = None, created_at: 'Optional[int]' = None, created_by: 'Optional[str]' = None, custom_max_retention_hours: 'Optional[int]' = None, dr_replication_info: 'Optional[DrReplicationInfo]' = None, effective_predictive_optimization_flag: 'Optional[EffectivePredictiveOptimizationFlag]' = None, enable_predictive_optimization: 'Optional[EnablePredictiveOptimization]' = None, full_name: 'Optional[str]' = None, isolation_mode: 'Optional[CatalogIsolationMode]' = None, managed_encryption_settings: 'Optional[EncryptionSettings]' = None, metastore_id: 'Optional[str]' = None, name: 'Optional[str]' = None, options: 'Optional[Dict[str, str]]' = None, owner: 'Optional[str]' = None, properties: 'Optional[Dict[str, str]]' = None, provider_name: 'Optional[str]' = None, provisioning_info: 'Optional[ProvisioningInfo]' = None, securable_type: 'Optional[SecurableType]' = None, share_name: 'Optional[str]' = None, storage_location: 'Optional[str]' = None, storage_root: 'Optional[str]' = None, updated_at: 'Optional[int]' = None, updated_by: 'Optional[str]' = None)
browse_only: bool | None = None

Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request.

catalog_federation_config: CatalogFederationConfig | None = None

Federation-only configuration, present only for FOREIGN catalogs.

catalog_type: CatalogType | None = None
comment: str | None = None

User-provided free-form text description.

connection_name: str | None = None

The name of the connection to an external data source.

conversion_info: ConversionInfo | None = None

Status of conversion of FOREIGN catalog to UC Native catalog.

created_at: int | None = None

Time at which this catalog was created, in epoch milliseconds.

created_by: str | None = None

Username of catalog creator.

custom_max_retention_hours: int | None = None

Custom maximum retention period in hours for the catalog

dr_replication_info: DrReplicationInfo | None = None

Disaster Recovery replication state snapshot.

effective_predictive_optimization_flag: EffectivePredictiveOptimizationFlag | None = None
enable_predictive_optimization: EnablePredictiveOptimization | None = None

Whether predictive optimization should be enabled for this object and objects under it.

full_name: str | None = None

The full name of the catalog. Corresponds with the name field.

isolation_mode: CatalogIsolationMode | None = None

Whether the current securable is accessible from all workspaces or a specific set of workspaces.

managed_encryption_settings: EncryptionSettings | None = None

Control CMK encryption for managed catalog data

metastore_id: str | None = None

Unique identifier of parent metastore.

name: str | None = None

Name of catalog.

options: Dict[str, str] | None = None

A map of key-value properties attached to the securable.

owner: str | None = None

Username of current owner of catalog.

properties: Dict[str, str] | None = None

A map of key-value properties attached to the securable.

provider_name: str | None = None

The name of delta sharing provider.

A Delta Sharing catalog is a catalog that is based on a Delta share on a remote sharing server.

provisioning_info: ProvisioningInfo | None = None
securable_type: SecurableType | None = None
share_name: str | None = None

The name of the share under the share provider.

storage_location: str | None = None

Storage Location URL (full path) for managed tables within catalog.

storage_root: str | None = None

Storage root URL for managed tables within catalog.

updated_at: int | None = None

Time at which this catalog was last modified, in epoch milliseconds.

updated_by: str | None = None

Username of user who last modified catalog.

as_dict() dict

Serializes the CatalogInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the CatalogInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) CatalogInfo

Deserializes the CatalogInfo from a dictionary.

class databricks.sdk.service.catalog.CatalogIsolationMode
ISOLATED = "ISOLATED"
OPEN = "OPEN"
OPEN_IN_ACCOUNT = "OPEN_IN_ACCOUNT"
class databricks.sdk.service.catalog.CatalogType

The type of the catalog.

DELTASHARING_CATALOG = "DELTASHARING_CATALOG"
FOREIGN_CATALOG = "FOREIGN_CATALOG"
INTERNAL_CATALOG = "INTERNAL_CATALOG"
MANAGED_CATALOG = "MANAGED_CATALOG"
MANAGED_ONLINE_CATALOG = "MANAGED_ONLINE_CATALOG"
SYSTEM_CATALOG = "SYSTEM_CATALOG"
class databricks.sdk.service.catalog.CloudflareApiToken(access_key_id: str, secret_access_key: str, account_id: str | None = None)

The Cloudflare API token configuration. Read more at https://developers.cloudflare.com/r2/api/s3/tokens/

access_key_id: str

The access key ID associated with the API token.

secret_access_key: str

The secret access token generated for the above access key ID.

account_id: str | None = None

The ID of the account associated with the API token.

as_dict() dict

Serializes the CloudflareApiToken into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the CloudflareApiToken into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) CloudflareApiToken

Deserializes the CloudflareApiToken from a dictionary.

class databricks.sdk.service.catalog.ColumnInfo(comment: 'Optional[str]' = None, mask: 'Optional[ColumnMask]' = None, name: 'Optional[str]' = None, nullable: 'Optional[bool]' = None, partition_index: 'Optional[int]' = None, position: 'Optional[int]' = None, type_interval_type: 'Optional[str]' = None, type_json: 'Optional[str]' = None, type_name: 'Optional[ColumnTypeName]' = None, type_precision: 'Optional[int]' = None, type_scale: 'Optional[int]' = None, type_text: 'Optional[str]' = None)
comment: str | None = None

User-provided free-form text description.

mask: ColumnMask | None = None
name: str | None = None

Name of Column.

nullable: bool | None = None

Whether field may be Null (default: true).

partition_index: int | None = None

Partition index for column.

position: int | None = None

Ordinal position of column (starting at position 0).

type_interval_type: str | None = None

Format of IntervalType.

type_json: str | None = None

Full data type specification, JSON-serialized.

type_name: ColumnTypeName | None = None
type_precision: int | None = None

Digits of precision; required for DecimalTypes.

type_scale: int | None = None

Digits to right of decimal; Required for DecimalTypes.

type_text: str | None = None

Full data type specification as SQL/catalogString text.

as_dict() dict

Serializes the ColumnInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ColumnInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ColumnInfo

Deserializes the ColumnInfo from a dictionary.

class databricks.sdk.service.catalog.ColumnMask(function_name: 'Optional[str]' = None, using_arguments: 'Optional[List[PolicyFunctionArgument]]' = None, using_column_names: 'Optional[List[str]]' = None)
function_name: str | None = None

The full name of the column mask SQL UDF.

using_arguments: List[PolicyFunctionArgument] | None = None

The list of additional table columns or literals to be passed as additional arguments to a column mask function. This is the replacement of the deprecated using_column_names field and carries information about the types (alias or constant) of the arguments to the mask function.

using_column_names: List[str] | None = None

The list of additional table columns to be passed as input to the column mask function. The first arg of the mask function should be of the type of the column being masked and the types of the rest of the args should match the types of columns in ‘using_column_names’.

as_dict() dict

Serializes the ColumnMask into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ColumnMask into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ColumnMask

Deserializes the ColumnMask from a dictionary.

class databricks.sdk.service.catalog.ColumnMaskOptions(function_name: 'str', on_column: 'str', using: 'Optional[List[FunctionArgument]]' = None)
function_name: str

The fully qualified name of the column mask function. The function is called on each row of the target table. The function’s first argument and its return type should match the type of the masked column. Required on create and update.

on_column: str

The alias of the column to be masked. The alias must refer to one of matched columns. The values of the column is passed to the column mask function as the first argument. Required on create and update.

using: List[FunctionArgument] | None = None

Optional list of column aliases or constant literals to be passed as additional arguments to the column mask function. The type of each column should match the positional argument of the column mask function.

as_dict() dict

Serializes the ColumnMaskOptions into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ColumnMaskOptions into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ColumnMaskOptions

Deserializes the ColumnMaskOptions from a dictionary.

class databricks.sdk.service.catalog.ColumnRelationship(source: 'Optional[str]' = None, target: 'Optional[str]' = None)
source: str | None = None
target: str | None = None
as_dict() dict

Serializes the ColumnRelationship into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ColumnRelationship into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ColumnRelationship

Deserializes the ColumnRelationship from a dictionary.

class databricks.sdk.service.catalog.ColumnTagValueExtraction(column_alias: str, tag_key: str)

Extracts the value of a column-level tag: get_column_tag_value(col, “tagKey”).

column_alias: str

The alias from MATCH COLUMNS that identifies the column.

tag_key: str

1024 matches the max_length on FunctionArgument.constant above.

as_dict() dict

Serializes the ColumnTagValueExtraction into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ColumnTagValueExtraction into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ColumnTagValueExtraction

Deserializes the ColumnTagValueExtraction from a dictionary.

class databricks.sdk.service.catalog.ColumnTypeName
ARRAY = "ARRAY"
BINARY = "BINARY"
BOOLEAN = "BOOLEAN"
BYTE = "BYTE"
CHAR = "CHAR"
DATE = "DATE"
DECIMAL = "DECIMAL"
DOUBLE = "DOUBLE"
FILE = "FILE"
FLOAT = "FLOAT"
GEOGRAPHY = "GEOGRAPHY"
GEOMETRY = "GEOMETRY"
INT = "INT"
INTERVAL = "INTERVAL"
LONG = "LONG"
MAP = "MAP"
NULL = "NULL"
SHORT = "SHORT"
STRING = "STRING"
STRUCT = "STRUCT"
TABLEREF_TYPE = "TABLEREF_TYPE"
TABLE_TYPE = "TABLE_TYPE"
TIME = "TIME"
TIMESTAMP = "TIMESTAMP"
TIMESTAMP_NTZ = "TIMESTAMP_NTZ"
USER_DEFINED_TYPE = "USER_DEFINED_TYPE"
VARIANT = "VARIANT"
class databricks.sdk.service.catalog.ConditionalDisplay(depends_on_option: str | None = None, hidden_when_values: List[str] | None = None)

Defines when an option should be hidden based on another option’s value. For example, for pre-created OAuth connections, some options are conditionally hidden. This field works in conjunction with OptionSpec.is_hidden:

  • If OptionSpec.is_hidden is true, the option is always hidden regardless of ConditionalDisplay.

  • If OptionSpec.is_hidden is false (or unset), ConditionalDisplay determines visibility:

  • If depends_on_option matches any value in hidden_when_values, hide this option.

  • Otherwise, show this option.

depends_on_option: str | None = None

The name of the option whose value determines visibility of this option.

hidden_when_values: List[str] | None = None

The values of the depends_on_option that will hide this option. If empty or not set, this option follows default visibility (shown unless is_hidden is true). If depends_on_option has any of these values, this option is hidden.

as_dict() dict

Serializes the ConditionalDisplay into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ConditionalDisplay into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ConditionalDisplay

Deserializes the ConditionalDisplay from a dictionary.

class databricks.sdk.service.catalog.ConnectionDependency(connection_name: str | None = None)

A connection that is dependent on a SQL object.

connection_name: str | None = None

Full name of the dependent connection, in the form of connection_name.

as_dict() dict

Serializes the ConnectionDependency into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ConnectionDependency into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ConnectionDependency

Deserializes the ConnectionDependency from a dictionary.

class databricks.sdk.service.catalog.ConnectionInfo(comment: 'Optional[str]' = None, connection_id: 'Optional[str]' = None, connection_type: 'Optional[ConnectionType]' = None, created_at: 'Optional[int]' = None, created_by: 'Optional[str]' = None, credential_type: 'Optional[CredentialType]' = None, environment_settings: 'Optional[EnvironmentSettings]' = None, full_name: 'Optional[str]' = None, metastore_id: 'Optional[str]' = None, name: 'Optional[str]' = None, options: 'Optional[Dict[str, str]]' = None, owner: 'Optional[str]' = None, properties: 'Optional[Dict[str, str]]' = None, provisioning_info: 'Optional[ProvisioningInfo]' = None, read_only: 'Optional[bool]' = None, secrets: 'Optional[Dict[str, str]]' = None, securable_type: 'Optional[SecurableType]' = None, updated_at: 'Optional[int]' = None, updated_by: 'Optional[str]' = None, url: 'Optional[str]' = None)
comment: str | None = None

User-provided free-form text description.

connection_id: str | None = None

Unique identifier of the Connection.

connection_type: ConnectionType | None = None

The type of connection.

created_at: int | None = None

Time at which this connection was created, in epoch milliseconds.

created_by: str | None = None

Username of connection creator.

credential_type: CredentialType | None = None

The type of credential.

environment_settings: EnvironmentSettings | None = None

[Create,Update:OPT] Connection environment settings as EnvironmentSettings object.

full_name: str | None = None

Full name of connection.

metastore_id: str | None = None

Unique identifier of parent metastore.

name: str | None = None

Name of the connection.

options: Dict[str, str] | None = None

A map of key-value properties attached to the securable.

owner: str | None = None

Username of current owner of the connection.

properties: Dict[str, str] | None = None

A map of key-value properties attached to the securable.

provisioning_info: ProvisioningInfo | None = None
read_only: bool | None = None

If the connection is read only.

secrets: Dict[str, str] | None = None

A map of option names to UC Secret references. Keys are connection option names (same as in OptionsKVPairs) and values are UC Secret fully qualified names.

securable_type: SecurableType | None = None
updated_at: int | None = None

Time at which this connection was updated, in epoch milliseconds.

updated_by: str | None = None

Username of user who last modified connection.

url: str | None = None

URL of the remote data source, extracted from options.

as_dict() dict

Serializes the ConnectionInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ConnectionInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ConnectionInfo

Deserializes the ConnectionInfo from a dictionary.

class databricks.sdk.service.catalog.ConnectionType
ADOBE_COMMERCE = "ADOBE_COMMERCE"
ADP_WORKFORCE_NOW = "ADP_WORKFORCE_NOW"
AHA = "AHA"
AIRTABLE = "AIRTABLE"
AMPLITUDE = "AMPLITUDE"
APPFIGURES = "APPFIGURES"
APPLE_APP_STORE = "APPLE_APP_STORE"
APPLE_SEARCH_ADS = "APPLE_SEARCH_ADS"
ATLASSIAN_ORGANIZATION = "ATLASSIAN_ORGANIZATION"
AWIN = "AWIN"
AZURE_MONITOR_LOGS = "AZURE_MONITOR_LOGS"
BIGLAKE = "BIGLAKE"
BIGQUERY = "BIGQUERY"
CERIDIAN_DAYFORCE = "CERIDIAN_DAYFORCE"
CONFLUENCE = "CONFLUENCE"
DATABRICKS = "DATABRICKS"
DELIGHTED = "DELIGHTED"
DYNAMICS365 = "DYNAMICS365"
EPIC_CLARITY = "EPIC_CLARITY"
FRESHSERVICE = "FRESHSERVICE"
FRONT = "FRONT"
GA4_RAW_DATA = "GA4_RAW_DATA"
GENESYS = "GENESYS"
GITHUB = "GITHUB"
GITLAB = "GITLAB"
GLUE = "GLUE"
GMAIL = "GMAIL"
GONG = "GONG"
GOOGLE_ANALYTICS = "GOOGLE_ANALYTICS"
GOOGLE_CALENDAR = "GOOGLE_CALENDAR"
GOOGLE_CLOUD_LAKEHOUSE = "GOOGLE_CLOUD_LAKEHOUSE"
GOOGLE_WORKSPACE = "GOOGLE_WORKSPACE"
GURU = "GURU"
HIBOB = "HIBOB"
HIVE_METASTORE = "HIVE_METASTORE"
HTTP = "HTTP"
HUBSPOT = "HUBSPOT"
ICEBERG_REST = "ICEBERG_REST"
IRONCLAD = "IRONCLAD"
JDBC = "JDBC"
KINESIS = "KINESIS"
LINEAR = "LINEAR"
MARKETO = "MARKETO"
META_MARKETING = "META_MARKETING"
MICROSOFT_ENTRA_ID = "MICROSOFT_ENTRA_ID"
MONDAY_COM = "MONDAY_COM"
MYSQL = "MYSQL"
NETSKOPE_LOGS = "NETSKOPE_LOGS"
NETSUITE = "NETSUITE"
NOTION = "NOTION"
ORACLE = "ORACLE"
ORACLE_ELOQUA = "ORACLE_ELOQUA"
ORACLE_FUSION_CLOUD = "ORACLE_FUSION_CLOUD"
OUTLOOK = "OUTLOOK"
PAGERDUTY = "PAGERDUTY"
PALANTIR = "PALANTIR"
PARTNERSTACK = "PARTNERSTACK"
PENDO = "PENDO"
POSTGRESQL = "POSTGRESQL"
POWER_BI = "POWER_BI"
PUBSUB = "PUBSUB"
QUICKBOOKS = "QUICKBOOKS"
REDSHIFT = "REDSHIFT"
SALESFORCE = "SALESFORCE"
SALESFORCE_DATA_CLOUD = "SALESFORCE_DATA_CLOUD"
SALESLOFT = "SALESLOFT"
SAP_SUCCESSFACTORS = "SAP_SUCCESSFACTORS"
SAS = "SAS"
SENDGRID = "SENDGRID"
SERVICENOW = "SERVICENOW"
SHOPIFY = "SHOPIFY"
SLACK_ACCESS_AND_INTEGRATION_LOGS = "SLACK_ACCESS_AND_INTEGRATION_LOGS"
SMARTSHEET = "SMARTSHEET"
SNAPCHAT_ADS = "SNAPCHAT_ADS"
SNOWFLAKE = "SNOWFLAKE"
SPLUNK = "SPLUNK"
SQLDW = "SQLDW"
SQLSERVER = "SQLSERVER"
SQUARE = "SQUARE"
TERADATA = "TERADATA"
UNKNOWN_CONNECTION_TYPE = "UNKNOWN_CONNECTION_TYPE"
VERKADA = "VERKADA"
WORKDAY_RAAS = "WORKDAY_RAAS"
YOUTUBE_ANALYTICS = "YOUTUBE_ANALYTICS"
ZENDESK = "ZENDESK"
ZIP = "ZIP"
ZOHO_BOOKS = "ZOHO_BOOKS"
ZOOM = "ZOOM"
ZOOM_LOGS = "ZOOM_LOGS"
class databricks.sdk.service.catalog.ContinuousUpdateStatus(initial_pipeline_sync_progress: PipelineProgress | None = None, last_processed_commit_version: int | None = None, timestamp: str | None = None)

Detailed status of an online table. Shown if the online table is in the ONLINE_CONTINUOUS_UPDATE or the ONLINE_UPDATING_PIPELINE_RESOURCES state.

initial_pipeline_sync_progress: PipelineProgress | None = None

Progress of the initial data synchronization.

last_processed_commit_version: int | None = None

The last source table Delta version that was synced to the online table. Note that this Delta version may not be completely synced to the online table yet.

timestamp: str | None = None

The timestamp of the last time any data was synchronized from the source table to the online table.

as_dict() dict

Serializes the ContinuousUpdateStatus into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ContinuousUpdateStatus into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ContinuousUpdateStatus

Deserializes the ContinuousUpdateStatus from a dictionary.

class databricks.sdk.service.catalog.ConversionInfo(state: ConversionInfoState | None = None)

Status of conversion of FOREIGN entity into UC Native entity.

state: ConversionInfoState | None = None

The conversion state of the resource.

as_dict() dict

Serializes the ConversionInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ConversionInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ConversionInfo

Deserializes the ConversionInfo from a dictionary.

class databricks.sdk.service.catalog.ConversionInfoState
COMPLETED = "COMPLETED"
IN_PROGRESS = "IN_PROGRESS"
class databricks.sdk.service.catalog.CreateAccessRequest(behalf_of: 'Optional[Principal]' = None, comment: 'Optional[str]' = None, securable_permissions: 'Optional[List[SecurablePermissions]]' = None)
behalf_of: Principal | None = None

Optional. The principal this request is for. Empty behalf_of defaults to the requester’s identity.

Principals must be unique across the API call.

comment: str | None = None

Optional. Comment associated with the request.

At most 200 characters, can only contain lowercase/uppercase letters (a-z, A-Z), numbers (0-9), punctuation, and spaces.

securable_permissions: List[SecurablePermissions] | None = None

List of securables and their corresponding requested UC privileges.

At most 30 securables can be requested for a principal per batched call. Each securable can only be requested once per principal.

as_dict() dict

Serializes the CreateAccessRequest into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the CreateAccessRequest into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) CreateAccessRequest

Deserializes the CreateAccessRequest from a dictionary.

class databricks.sdk.service.catalog.CreateAccessRequestResponse(behalf_of: 'Optional[Principal]' = None, request_destinations: 'Optional[List[AccessRequestDestinations]]' = None)
behalf_of: Principal | None = None

The principal the request was made on behalf of.

request_destinations: List[AccessRequestDestinations] | None = None

The access request destinations for all the securables the principal requested.

as_dict() dict

Serializes the CreateAccessRequestResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the CreateAccessRequestResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) CreateAccessRequestResponse

Deserializes the CreateAccessRequestResponse from a dictionary.

class databricks.sdk.service.catalog.CreateAccountsMetastore(name: 'str', external_access_enabled: 'Optional[bool]' = None, region: 'Optional[str]' = None, storage_root: 'Optional[str]' = None)
name: str

The user-specified name of the metastore.

external_access_enabled: bool | None = None

Whether to allow non-DBR clients to directly access entities under the metastore.

region: str | None = None

Cloud region which the metastore serves (e.g., us-west-2, westus).

storage_root: str | None = None

The storage root URL for metastore

as_dict() dict

Serializes the CreateAccountsMetastore into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the CreateAccountsMetastore into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) CreateAccountsMetastore

Deserializes the CreateAccountsMetastore from a dictionary.

class databricks.sdk.service.catalog.CreateAccountsStorageCredential(name: 'str', aws_iam_role: 'Optional[AwsIamRoleRequest]' = None, azure_managed_identity: 'Optional[AzureManagedIdentityRequest]' = None, azure_service_principal: 'Optional[AzureServicePrincipal]' = None, cloudflare_api_token: 'Optional[CloudflareApiToken]' = None, comment: 'Optional[str]' = None, databricks_gcp_service_account: 'Optional[DatabricksGcpServiceAccountRequest]' = None, read_only: 'Optional[bool]' = None)
name: str

The credential name. The name must be unique among storage and service credentials within the metastore.

aws_iam_role: AwsIamRoleRequest | None = None

The AWS IAM role configuration.

azure_managed_identity: AzureManagedIdentityRequest | None = None

The Azure managed identity configuration.

azure_service_principal: AzureServicePrincipal | None = None

The Azure service principal configuration.

cloudflare_api_token: CloudflareApiToken | None = None

The Cloudflare API token configuration.

comment: str | None = None

Comment associated with the credential.

databricks_gcp_service_account: DatabricksGcpServiceAccountRequest | None = None

The Databricks managed GCP service account configuration.

read_only: bool | None = None

Whether the credential is usable only for read operations. Only applicable when purpose is STORAGE.

as_dict() dict

Serializes the CreateAccountsStorageCredential into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the CreateAccountsStorageCredential into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) CreateAccountsStorageCredential

Deserializes the CreateAccountsStorageCredential from a dictionary.

class databricks.sdk.service.catalog.CreateFunction(name: 'str', catalog_name: 'str', schema_name: 'str', input_params: 'FunctionParameterInfos', data_type: 'ColumnTypeName', full_data_type: 'str', routine_body: 'CreateFunctionRoutineBody', routine_definition: 'str', parameter_style: 'CreateFunctionParameterStyle', is_deterministic: 'bool', sql_data_access: 'CreateFunctionSqlDataAccess', is_null_call: 'bool', security_type: 'CreateFunctionSecurityType', specific_name: 'str', comment: 'Optional[str]' = None, external_language: 'Optional[str]' = None, external_name: 'Optional[str]' = None, properties: 'Optional[str]' = None, return_params: 'Optional[FunctionParameterInfos]' = None, routine_dependencies: 'Optional[DependencyList]' = None, sql_path: 'Optional[str]' = None)
name: str

Name of function, relative to parent schema.

catalog_name: str

Name of parent Catalog.

schema_name: str

Name of parent Schema relative to its parent Catalog.

input_params: FunctionParameterInfos

Function input parameters.

data_type: ColumnTypeName

Scalar function return data type.

full_data_type: str

Pretty printed function data type.

routine_body: CreateFunctionRoutineBody

Function language. When EXTERNAL is used, the language of the routine function should be specified in the external_language field, and the return_params of the function cannot be used (as TABLE return type is not supported), and the sql_data_access field must be NO_SQL.

routine_definition: str

Function body.

parameter_style: CreateFunctionParameterStyle

Function parameter style. S is the value for SQL.

is_deterministic: bool

Whether the function is deterministic.

sql_data_access: CreateFunctionSqlDataAccess

Function SQL data access.

is_null_call: bool

Function null call.

security_type: CreateFunctionSecurityType

Function security type.

specific_name: str

Specific name of the function; Reserved for future use.

comment: str | None = None

User-provided free-form text description.

external_language: str | None = None

External function language.

external_name: str | None = None

External function name.

properties: str | None = None

JSON-serialized key-value pair map, encoded (escaped) as a string.

return_params: FunctionParameterInfos | None = None

Table function return parameters.

routine_dependencies: DependencyList | None = None

function dependencies.

sql_path: str | None = None

List of schemes whose objects can be referenced without qualification.

as_dict() dict

Serializes the CreateFunction into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the CreateFunction into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) CreateFunction

Deserializes the CreateFunction from a dictionary.

class databricks.sdk.service.catalog.CreateFunctionParameterStyle
S = "S"
class databricks.sdk.service.catalog.CreateFunctionRoutineBody
EXTERNAL = "EXTERNAL"
SQL = "SQL"
class databricks.sdk.service.catalog.CreateFunctionSecurityType
DEFINER = "DEFINER"
class databricks.sdk.service.catalog.CreateFunctionSqlDataAccess
CONTAINS_SQL = "CONTAINS_SQL"
NO_SQL = "NO_SQL"
READS_SQL_DATA = "READS_SQL_DATA"
class databricks.sdk.service.catalog.CreateMetastoreAssignment(workspace_id: 'int', metastore_id: 'str', default_catalog_name: 'str')
workspace_id: int

A workspace ID.

metastore_id: str

The unique ID of the metastore.

default_catalog_name: str

The name of the default catalog in the metastore. This field is deprecated. Please use “Default Namespace API” to configure the default catalog for a Databricks workspace.

as_dict() dict

Serializes the CreateMetastoreAssignment into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the CreateMetastoreAssignment into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) CreateMetastoreAssignment

Deserializes the CreateMetastoreAssignment from a dictionary.

class databricks.sdk.service.catalog.CreateRequestExternalLineage(source: 'ExternalLineageObject', target: 'ExternalLineageObject', columns: 'Optional[List[ColumnRelationship]]' = None, id: 'Optional[str]' = None, properties: 'Optional[Dict[str, str]]' = None)
source: ExternalLineageObject

Source object of the external lineage relationship.

target: ExternalLineageObject

Target object of the external lineage relationship.

columns: List[ColumnRelationship] | None = None

List of column relationships between source and target objects.

id: str | None = None

Unique identifier of the external lineage relationship.

properties: Dict[str, str] | None = None

Key-value properties associated with the external lineage relationship.

as_dict() dict

Serializes the CreateRequestExternalLineage into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the CreateRequestExternalLineage into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) CreateRequestExternalLineage

Deserializes the CreateRequestExternalLineage from a dictionary.

class databricks.sdk.service.catalog.CredentialDependency(credential_name: str | None = None)

A credential that is dependent on a SQL object.

credential_name: str | None = None

Full name of the dependent credential, in the form of credential_name.

as_dict() dict

Serializes the CredentialDependency into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the CredentialDependency into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) CredentialDependency

Deserializes the CredentialDependency from a dictionary.

class databricks.sdk.service.catalog.CredentialInfo(aws_iam_role: 'Optional[AwsIamRole]' = None, azure_managed_identity: 'Optional[AzureManagedIdentity]' = None, azure_service_principal: 'Optional[AzureServicePrincipal]' = None, comment: 'Optional[str]' = None, created_at: 'Optional[int]' = None, created_by: 'Optional[str]' = None, databricks_gcp_service_account: 'Optional[DatabricksGcpServiceAccount]' = None, full_name: 'Optional[str]' = None, id: 'Optional[str]' = None, isolation_mode: 'Optional[IsolationMode]' = None, metastore_id: 'Optional[str]' = None, name: 'Optional[str]' = None, owner: 'Optional[str]' = None, purpose: 'Optional[CredentialPurpose]' = None, read_only: 'Optional[bool]' = None, updated_at: 'Optional[int]' = None, updated_by: 'Optional[str]' = None, used_for_managed_storage: 'Optional[bool]' = None)
aws_iam_role: AwsIamRole | None = None

The AWS IAM role configuration.

azure_managed_identity: AzureManagedIdentity | None = None

The Azure managed identity configuration.

azure_service_principal: AzureServicePrincipal | None = None

The Azure service principal configuration.

comment: str | None = None

Comment associated with the credential.

created_at: int | None = None

Time at which this credential was created, in epoch milliseconds.

created_by: str | None = None

Username of credential creator.

databricks_gcp_service_account: DatabricksGcpServiceAccount | None = None

The Databricks managed GCP service account configuration.

full_name: str | None = None

The full name of the credential.

id: str | None = None

The unique identifier of the credential.

isolation_mode: IsolationMode | None = None

Whether the current securable is accessible from all workspaces or a specific set of workspaces.

metastore_id: str | None = None

Unique identifier of the parent metastore.

name: str | None = None

The credential name. The name must be unique among storage and service credentials within the metastore.

owner: str | None = None

Username of current owner of credential.

purpose: CredentialPurpose | None = None

Indicates the purpose of the credential.

read_only: bool | None = None

Whether the credential is usable only for read operations. Only applicable when purpose is STORAGE.

updated_at: int | None = None

Time at which this credential was last modified, in epoch milliseconds.

updated_by: str | None = None

Username of user who last modified the credential.

used_for_managed_storage: bool | None = None

Whether this credential is the current metastore’s root storage credential. Only applicable when purpose is STORAGE.

as_dict() dict

Serializes the CredentialInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the CredentialInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) CredentialInfo

Deserializes the CredentialInfo from a dictionary.

class databricks.sdk.service.catalog.CredentialPurpose
SERVICE = "SERVICE"
STORAGE = "STORAGE"
class databricks.sdk.service.catalog.CredentialType
ANY_STATIC_CREDENTIAL = "ANY_STATIC_CREDENTIAL"
BEARER_TOKEN = "BEARER_TOKEN"
EDGEGRID_AKAMAI = "EDGEGRID_AKAMAI"
GENERIC_TOKEN_EXCHANGE = "GENERIC_TOKEN_EXCHANGE"
INLINE_YAML = "INLINE_YAML"
OAUTH_ACCESS_TOKEN = "OAUTH_ACCESS_TOKEN"
OAUTH_DCR = "OAUTH_DCR"
OAUTH_GOOGLE_SERVICE_ACCOUNT = "OAUTH_GOOGLE_SERVICE_ACCOUNT"
OAUTH_M2M = "OAUTH_M2M"
OAUTH_MTLS = "OAUTH_MTLS"
OAUTH_REFRESH_TOKEN = "OAUTH_REFRESH_TOKEN"
OAUTH_RESOURCE_OWNER_PASSWORD = "OAUTH_RESOURCE_OWNER_PASSWORD"
OAUTH_U2M = "OAUTH_U2M"
OAUTH_U2M_MAPPING = "OAUTH_U2M_MAPPING"
OIDC_TOKEN = "OIDC_TOKEN"
PEM_PRIVATE_KEY = "PEM_PRIVATE_KEY"
SERVICE_CREDENTIAL = "SERVICE_CREDENTIAL"
SSWS_TOKEN = "SSWS_TOKEN"
UNKNOWN_CREDENTIAL_TYPE = "UNKNOWN_CREDENTIAL_TYPE"
USERNAME_PASSWORD = "USERNAME_PASSWORD"
class databricks.sdk.service.catalog.CredentialValidationResult(message: 'Optional[str]' = None, result: 'Optional[ValidateCredentialResult]' = None)
message: str | None = None

Error message would exist when the result does not equal to PASS.

result: ValidateCredentialResult | None = None

The results of the tested operation.

as_dict() dict

Serializes the CredentialValidationResult into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the CredentialValidationResult into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) CredentialValidationResult

Deserializes the CredentialValidationResult from a dictionary.

class databricks.sdk.service.catalog.DataSourceFormat

Data source format

AVRO = "AVRO"
BIGQUERY_FORMAT = "BIGQUERY_FORMAT"
CSV = "CSV"
DATABRICKS_FORMAT = "DATABRICKS_FORMAT"
DATABRICKS_ROW_STORE_FORMAT = "DATABRICKS_ROW_STORE_FORMAT"
DELTA = "DELTA"
DELTASHARING = "DELTASHARING"
DELTA_UNIFORM_HUDI = "DELTA_UNIFORM_HUDI"
DELTA_UNIFORM_ICEBERG = "DELTA_UNIFORM_ICEBERG"
HIVE = "HIVE"
ICEBERG = "ICEBERG"
JSON = "JSON"
MONGODB_FORMAT = "MONGODB_FORMAT"
MYSQL_FORMAT = "MYSQL_FORMAT"
NETSUITE_FORMAT = "NETSUITE_FORMAT"
ORACLE_FORMAT = "ORACLE_FORMAT"
ORC = "ORC"
PARQUET = "PARQUET"
POSTGRESQL_FORMAT = "POSTGRESQL_FORMAT"
REDSHIFT_FORMAT = "REDSHIFT_FORMAT"
SALESFORCE_DATA_CLOUD_FORMAT = "SALESFORCE_DATA_CLOUD_FORMAT"
SALESFORCE_FORMAT = "SALESFORCE_FORMAT"
SNOWFLAKE_FORMAT = "SNOWFLAKE_FORMAT"
SQLDW_FORMAT = "SQLDW_FORMAT"
SQLSERVER_FORMAT = "SQLSERVER_FORMAT"
TERADATA_FORMAT = "TERADATA_FORMAT"
TEXT = "TEXT"
UNITY_CATALOG = "UNITY_CATALOG"
VECTOR_INDEX_FORMAT = "VECTOR_INDEX_FORMAT"
WORKDAY_RAAS_FORMAT = "WORKDAY_RAAS_FORMAT"
class databricks.sdk.service.catalog.DatabricksGcpServiceAccount(credential_id: str | None = None, email: str | None = None, private_key_id: str | None = None)

GCP long-lived credential. Databricks-created Google Cloud Storage service account.

credential_id: str | None = None

The Databricks internal ID that represents this managed identity.

email: str | None = None

The email of the service account.

private_key_id: str | None = None

The ID that represents the private key for this Service Account

as_dict() dict

Serializes the DatabricksGcpServiceAccount into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the DatabricksGcpServiceAccount into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) DatabricksGcpServiceAccount

Deserializes the DatabricksGcpServiceAccount from a dictionary.

class databricks.sdk.service.catalog.DatabricksGcpServiceAccountRequest

GCP long-lived credential. Databricks-created Google Cloud Storage service account.

as_dict() dict

Serializes the DatabricksGcpServiceAccountRequest into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the DatabricksGcpServiceAccountRequest into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) DatabricksGcpServiceAccountRequest

Deserializes the DatabricksGcpServiceAccountRequest from a dictionary.

class databricks.sdk.service.catalog.DatabricksGcpServiceAccountResponse(credential_id: str | None = None, email: str | None = None)

GCP long-lived credential. Databricks-created Google Cloud Storage service account.

credential_id: str | None = None

The Databricks internal ID that represents this managed identity.

email: str | None = None

The email of the service account.

as_dict() dict

Serializes the DatabricksGcpServiceAccountResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the DatabricksGcpServiceAccountResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) DatabricksGcpServiceAccountResponse

Deserializes the DatabricksGcpServiceAccountResponse from a dictionary.

class databricks.sdk.service.catalog.DeleteCredentialResponse
as_dict() dict

Serializes the DeleteCredentialResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the DeleteCredentialResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) DeleteCredentialResponse

Deserializes the DeleteCredentialResponse from a dictionary.

class databricks.sdk.service.catalog.DeleteMonitorResponse
as_dict() dict

Serializes the DeleteMonitorResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the DeleteMonitorResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) DeleteMonitorResponse

Deserializes the DeleteMonitorResponse from a dictionary.

class databricks.sdk.service.catalog.DeletePolicyResponse
as_dict() dict

Serializes the DeletePolicyResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the DeletePolicyResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) DeletePolicyResponse

Deserializes the DeletePolicyResponse from a dictionary.

class databricks.sdk.service.catalog.DeleteRequestExternalLineage(source: 'ExternalLineageObject', target: 'ExternalLineageObject', id: 'Optional[str]' = None)
source: ExternalLineageObject

Source object of the external lineage relationship.

target: ExternalLineageObject

Target object of the external lineage relationship.

id: str | None = None

Unique identifier of the external lineage relationship.

as_dict() dict

Serializes the DeleteRequestExternalLineage into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the DeleteRequestExternalLineage into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) DeleteRequestExternalLineage

Deserializes the DeleteRequestExternalLineage from a dictionary.

class databricks.sdk.service.catalog.DeleteResponse
as_dict() dict

Serializes the DeleteResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the DeleteResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) DeleteResponse

Deserializes the DeleteResponse from a dictionary.

class databricks.sdk.service.catalog.DeleteTableConstraintResponse
as_dict() dict

Serializes the DeleteTableConstraintResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the DeleteTableConstraintResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) DeleteTableConstraintResponse

Deserializes the DeleteTableConstraintResponse from a dictionary.

class databricks.sdk.service.catalog.DeltaRuntimePropertiesKvPairs(delta_runtime_properties: Dict[str, str])

Properties pertaining to the current state of the delta table as given by the commit server. This does not contain delta.* (input) properties in TableInfo.properties.

delta_runtime_properties: Dict[str, str]

A map of key-value properties attached to the securable.

as_dict() dict

Serializes the DeltaRuntimePropertiesKvPairs into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the DeltaRuntimePropertiesKvPairs into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) DeltaRuntimePropertiesKvPairs

Deserializes the DeltaRuntimePropertiesKvPairs from a dictionary.

class databricks.sdk.service.catalog.DeltaSharingScopeEnum
INTERNAL = "INTERNAL"
INTERNAL_AND_EXTERNAL = "INTERNAL_AND_EXTERNAL"
class databricks.sdk.service.catalog.DenyOptions(privileges: 'List[str]')
privileges: List[str]

List of privileges to deny. When any of these privileges are requested, the policy will deny access if the principal and condition match. Required on create and update.

as_dict() dict

Serializes the DenyOptions into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the DenyOptions into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) DenyOptions

Deserializes the DenyOptions from a dictionary.

class databricks.sdk.service.catalog.Dependency(connection: ConnectionDependency | None = None, credential: CredentialDependency | None = None, function: FunctionDependency | None = None, metastore_name: str | None = None, secret: SecretDependency | None = None, table: TableDependency | None = None, volume: VolumeDependency | None = None)

A dependency of a SQL object. One of the following fields must be defined: table, function, connection, credential, volume, or secret.

connection: ConnectionDependency | None = None
credential: CredentialDependency | None = None
function: FunctionDependency | None = None
metastore_name: str | None = None

Metastore context for the dependency. Global UC server responses currently populate this with the metastore UUID string so clients can disambiguate dependencies with identical names across metastores.

secret: SecretDependency | None = None

A dependency on a Unity Catalog secret.

table: TableDependency | None = None
volume: VolumeDependency | None = None

A dependency on a Unity Catalog volume.

as_dict() dict

Serializes the Dependency into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the Dependency into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) Dependency

Deserializes the Dependency from a dictionary.

class databricks.sdk.service.catalog.DependencyList(dependencies: List[Dependency] | None = None)

A list of dependencies.

dependencies: List[Dependency] | None = None

Array of dependencies.

as_dict() dict

Serializes the DependencyList into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the DependencyList into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) DependencyList

Deserializes the DependencyList from a dictionary.

class databricks.sdk.service.catalog.DestinationType
EMAIL = "EMAIL"
GENERIC_WEBHOOK = "GENERIC_WEBHOOK"
MICROSOFT_TEAMS = "MICROSOFT_TEAMS"
SLACK = "SLACK"
URL = "URL"
class databricks.sdk.service.catalog.DisableResponse
as_dict() dict

Serializes the DisableResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the DisableResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) DisableResponse

Deserializes the DisableResponse from a dictionary.

class databricks.sdk.service.catalog.DrReplicationInfo(last_failover_time_ms: int | None = None, replicated_entities: str | None = None, status: DrReplicationStatus | None = None)

Metadata related to Disaster Recovery.

last_failover_time_ms: int | None = None

Wall-clock epoch milliseconds when this catalog was last promoted to primary via failover or failback. Set by DR Manager. Used by Predictive Optimization to suppress operations until sufficient workload history accumulates.

replicated_entities: str | None = None

See https://docs.google.com/document/d/1X0A_3hMhzuS2V1E3zB0x5wxPsFx70bVYK5rHep2AjW8.

status: DrReplicationStatus | None = None
as_dict() dict

Serializes the DrReplicationInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the DrReplicationInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) DrReplicationInfo

Deserializes the DrReplicationInfo from a dictionary.

class databricks.sdk.service.catalog.DrReplicationStatus
DR_REPLICATION_STATUS_PRIMARY = "DR_REPLICATION_STATUS_PRIMARY"
DR_REPLICATION_STATUS_SECONDARY = "DR_REPLICATION_STATUS_SECONDARY"
class databricks.sdk.service.catalog.EffectivePermissionsList(next_page_token: 'Optional[str]' = None, privilege_assignments: 'Optional[List[EffectivePrivilegeAssignment]]' = None)
next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request (for the next page of results).

privilege_assignments: List[EffectivePrivilegeAssignment] | None = None

The privileges conveyed to each principal (either directly or via inheritance)

as_dict() dict

Serializes the EffectivePermissionsList into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the EffectivePermissionsList into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) EffectivePermissionsList

Deserializes the EffectivePermissionsList from a dictionary.

class databricks.sdk.service.catalog.EffectivePredictiveOptimizationFlag(value: 'EnablePredictiveOptimization', inherited_from_name: 'Optional[str]' = None, inherited_from_type: 'Optional[EffectivePredictiveOptimizationFlagInheritedFromType]' = None)
value: EnablePredictiveOptimization

Whether predictive optimization should be enabled for this object and objects under it.

inherited_from_name: str | None = None

The name of the object from which the flag was inherited. If there was no inheritance, this field is left blank.

inherited_from_type: EffectivePredictiveOptimizationFlagInheritedFromType | None = None

The type of the object from which the flag was inherited. If there was no inheritance, this field is left blank.

as_dict() dict

Serializes the EffectivePredictiveOptimizationFlag into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the EffectivePredictiveOptimizationFlag into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) EffectivePredictiveOptimizationFlag

Deserializes the EffectivePredictiveOptimizationFlag from a dictionary.

class databricks.sdk.service.catalog.EffectivePredictiveOptimizationFlagInheritedFromType
CATALOG = "CATALOG"
SCHEMA = "SCHEMA"
class databricks.sdk.service.catalog.EffectivePrivilege(inherited_from_name: 'Optional[str]' = None, inherited_from_type: 'Optional[SecurableType]' = None, privilege: 'Optional[Privilege]' = None)
inherited_from_name: str | None = None

The full name of the object that conveys this privilege via inheritance. This field is omitted when privilege is not inherited (it’s assigned to the securable itself).

inherited_from_type: SecurableType | None = None

The type of the object that conveys this privilege via inheritance. This field is omitted when privilege is not inherited (it’s assigned to the securable itself).

privilege: Privilege | None = None

The privilege assigned to the principal.

as_dict() dict

Serializes the EffectivePrivilege into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the EffectivePrivilege into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) EffectivePrivilege

Deserializes the EffectivePrivilege from a dictionary.

class databricks.sdk.service.catalog.EffectivePrivilegeAssignment(principal: 'Optional[str]' = None, privileges: 'Optional[List[EffectivePrivilege]]' = None)
principal: str | None = None

The principal (user email address or group name).

privileges: List[EffectivePrivilege] | None = None

The privileges conveyed to the principal (either directly or via inheritance).

as_dict() dict

Serializes the EffectivePrivilegeAssignment into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the EffectivePrivilegeAssignment into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) EffectivePrivilegeAssignment

Deserializes the EffectivePrivilegeAssignment from a dictionary.

class databricks.sdk.service.catalog.EnablePredictiveOptimization
DISABLE = "DISABLE"
ENABLE = "ENABLE"
INHERIT = "INHERIT"
class databricks.sdk.service.catalog.EnableResponse
as_dict() dict

Serializes the EnableResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the EnableResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) EnableResponse

Deserializes the EnableResponse from a dictionary.

class databricks.sdk.service.catalog.EncryptionDetails(sse_encryption_details: SseEncryptionDetails | None = None)

Encryption options that apply to clients connecting to cloud storage.

sse_encryption_details: SseEncryptionDetails | None = None

Server-Side Encryption properties for clients communicating with AWS s3.

as_dict() dict

Serializes the EncryptionDetails into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the EncryptionDetails into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) EncryptionDetails

Deserializes the EncryptionDetails from a dictionary.

class databricks.sdk.service.catalog.EncryptionSettings(azure_encryption_settings: AzureEncryptionSettings | None = None, azure_key_vault_key_id: str | None = None, customer_managed_key_id: str | None = None)

Encryption Settings are used to carry metadata for securable encryption at rest. Currently used for catalogs, we can use the information supplied here to interact with a CMK.

azure_encryption_settings: AzureEncryptionSettings | None = None

optional Azure settings - only required if an Azure CMK is used.

azure_key_vault_key_id: str | None = None

the AKV URL in Azure, null otherwise.

customer_managed_key_id: str | None = None

the CMK uuid in AWS and GCP, null otherwise.

as_dict() dict

Serializes the EncryptionSettings into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the EncryptionSettings into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) EncryptionSettings

Deserializes the EncryptionSettings from a dictionary.

class databricks.sdk.service.catalog.EntityTagAssignment(entity_name: str, tag_key: str, entity_type: str, inherited: bool | None = None, source_type: TagAssignmentSourceType | None = None, tag_value: str | None = None, update_time: Timestamp | None = None, updated_by: str | None = None)

Represents a tag assignment to an entity

entity_name: str

The fully qualified name of the entity to which the tag is assigned

tag_key: str

The key of the tag

entity_type: str

The type of the entity to which the tag is assigned.

inherited: bool | None = None

Boolean which indicates whether this tag is inherited.

source_type: TagAssignmentSourceType | None = None

The source type of the tag assignment, e.g., user-assigned or system-assigned

tag_value: str | None = None

The value of the tag

update_time: Timestamp | None = None

The timestamp when the tag assignment was last updated

updated_by: str | None = None

The user or principal who updated the tag assignment

as_dict() dict

Serializes the EntityTagAssignment into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the EntityTagAssignment into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) EntityTagAssignment

Deserializes the EntityTagAssignment from a dictionary.

class databricks.sdk.service.catalog.EnvironmentSettings(environment_version: 'Optional[str]' = None, java_dependencies: 'Optional[List[str]]' = None)
environment_version: str | None = None
java_dependencies: List[str] | None = None
as_dict() dict

Serializes the EnvironmentSettings into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the EnvironmentSettings into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) EnvironmentSettings

Deserializes the EnvironmentSettings from a dictionary.

class databricks.sdk.service.catalog.ExternalLineageExternalMetadata(name: 'Optional[str]' = None)
name: str | None = None
as_dict() dict

Serializes the ExternalLineageExternalMetadata into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ExternalLineageExternalMetadata into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ExternalLineageExternalMetadata

Deserializes the ExternalLineageExternalMetadata from a dictionary.

class databricks.sdk.service.catalog.ExternalLineageExternalMetadataInfo(entity_type: str | None = None, event_time: str | None = None, name: str | None = None, system_type: SystemType | None = None)

Represents the external metadata object in the lineage event.

entity_type: str | None = None

Type of entity represented by the external metadata object.

event_time: str | None = None

Timestamp of the lineage event.

name: str | None = None

Name of the external metadata object.

system_type: SystemType | None = None

Type of external system.

as_dict() dict

Serializes the ExternalLineageExternalMetadataInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ExternalLineageExternalMetadataInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ExternalLineageExternalMetadataInfo

Deserializes the ExternalLineageExternalMetadataInfo from a dictionary.

class databricks.sdk.service.catalog.ExternalLineageFileInfo(event_time: str | None = None, path: str | None = None, securable_name: str | None = None, securable_type: str | None = None, storage_location: str | None = None)

Represents the path information in the lineage event.

event_time: str | None = None

Timestamp of the lineage event.

path: str | None = None

URL of the path.

securable_name: str | None = None

The full name of the securable on the path.

securable_type: str | None = None

The securable type of the securable on the path.

storage_location: str | None = None

The storage location associated with securable on the path.

as_dict() dict

Serializes the ExternalLineageFileInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ExternalLineageFileInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ExternalLineageFileInfo

Deserializes the ExternalLineageFileInfo from a dictionary.

class databricks.sdk.service.catalog.ExternalLineageInfo(external_lineage_info: ExternalLineageRelationshipInfo | None = None, external_metadata_info: ExternalLineageExternalMetadataInfo | None = None, file_info: ExternalLineageFileInfo | None = None, model_info: ExternalLineageModelVersionInfo | None = None, table_info: ExternalLineageTableInfo | None = None, volume_info: ExternalLineageVolumeInfo | None = None)

Lineage response containing lineage information of a data asset.

external_lineage_info: ExternalLineageRelationshipInfo | None = None

Information about the edge metadata of the external lineage relationship.

external_metadata_info: ExternalLineageExternalMetadataInfo | None = None

Information about external metadata involved in the lineage relationship.

file_info: ExternalLineageFileInfo | None = None

Information about the file involved in the lineage relationship.

model_info: ExternalLineageModelVersionInfo | None = None

Information about the model version involved in the lineage relationship.

table_info: ExternalLineageTableInfo | None = None

Information about the table involved in the lineage relationship.

volume_info: ExternalLineageVolumeInfo | None = None

Information about the volume involved in the lineage relationship.

as_dict() dict

Serializes the ExternalLineageInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ExternalLineageInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ExternalLineageInfo

Deserializes the ExternalLineageInfo from a dictionary.

class databricks.sdk.service.catalog.ExternalLineageModelVersion(name: 'Optional[str]' = None, version: 'Optional[str]' = None)
name: str | None = None
version: str | None = None
as_dict() dict

Serializes the ExternalLineageModelVersion into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ExternalLineageModelVersion into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ExternalLineageModelVersion

Deserializes the ExternalLineageModelVersion from a dictionary.

class databricks.sdk.service.catalog.ExternalLineageModelVersionInfo(event_time: str | None = None, model_name: str | None = None, version: int | None = None)

Represents the model version information in the lineage event.

event_time: str | None = None

Timestamp of the lineage event.

model_name: str | None = None

Name of the model.

version: int | None = None

Version number of the model.

as_dict() dict

Serializes the ExternalLineageModelVersionInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ExternalLineageModelVersionInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ExternalLineageModelVersionInfo

Deserializes the ExternalLineageModelVersionInfo from a dictionary.

class databricks.sdk.service.catalog.ExternalLineageObject(external_metadata: 'Optional[ExternalLineageExternalMetadata]' = None, model_version: 'Optional[ExternalLineageModelVersion]' = None, path: 'Optional[ExternalLineagePath]' = None, table: 'Optional[ExternalLineageTable]' = None, volume: 'Optional[ExternalLineageVolume]' = None)
external_metadata: ExternalLineageExternalMetadata | None = None
model_version: ExternalLineageModelVersion | None = None
path: ExternalLineagePath | None = None
table: ExternalLineageTable | None = None
volume: ExternalLineageVolume | None = None
as_dict() dict

Serializes the ExternalLineageObject into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ExternalLineageObject into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ExternalLineageObject

Deserializes the ExternalLineageObject from a dictionary.

class databricks.sdk.service.catalog.ExternalLineagePath(url: 'Optional[str]' = None)
url: str | None = None
as_dict() dict

Serializes the ExternalLineagePath into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ExternalLineagePath into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ExternalLineagePath

Deserializes the ExternalLineagePath from a dictionary.

class databricks.sdk.service.catalog.ExternalLineageRelationship(source: 'ExternalLineageObject', target: 'ExternalLineageObject', columns: 'Optional[List[ColumnRelationship]]' = None, id: 'Optional[str]' = None, properties: 'Optional[Dict[str, str]]' = None)
source: ExternalLineageObject

Source object of the external lineage relationship.

target: ExternalLineageObject

Target object of the external lineage relationship.

columns: List[ColumnRelationship] | None = None

List of column relationships between source and target objects.

id: str | None = None

Unique identifier of the external lineage relationship.

properties: Dict[str, str] | None = None

Key-value properties associated with the external lineage relationship.

as_dict() dict

Serializes the ExternalLineageRelationship into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ExternalLineageRelationship into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ExternalLineageRelationship

Deserializes the ExternalLineageRelationship from a dictionary.

class databricks.sdk.service.catalog.ExternalLineageRelationshipInfo(source: 'ExternalLineageObject', target: 'ExternalLineageObject', columns: 'Optional[List[ColumnRelationship]]' = None, id: 'Optional[str]' = None, properties: 'Optional[Dict[str, str]]' = None)
source: ExternalLineageObject

Source object of the external lineage relationship.

target: ExternalLineageObject

Target object of the external lineage relationship.

columns: List[ColumnRelationship] | None = None

List of column relationships between source and target objects.

id: str | None = None

Unique identifier of the external lineage relationship.

properties: Dict[str, str] | None = None

Key-value properties associated with the external lineage relationship.

as_dict() dict

Serializes the ExternalLineageRelationshipInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ExternalLineageRelationshipInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ExternalLineageRelationshipInfo

Deserializes the ExternalLineageRelationshipInfo from a dictionary.

class databricks.sdk.service.catalog.ExternalLineageTable(name: 'Optional[str]' = None)
name: str | None = None
as_dict() dict

Serializes the ExternalLineageTable into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ExternalLineageTable into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ExternalLineageTable

Deserializes the ExternalLineageTable from a dictionary.

class databricks.sdk.service.catalog.ExternalLineageTableInfo(catalog_name: str | None = None, event_time: str | None = None, name: str | None = None, schema_name: str | None = None)

Represents the table information in the lineage event.

catalog_name: str | None = None

Name of Catalog.

event_time: str | None = None

Timestamp of the lineage event.

name: str | None = None

Name of Table.

schema_name: str | None = None

Name of Schema.

as_dict() dict

Serializes the ExternalLineageTableInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ExternalLineageTableInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ExternalLineageTableInfo

Deserializes the ExternalLineageTableInfo from a dictionary.

class databricks.sdk.service.catalog.ExternalLineageVolume(name: 'Optional[str]' = None)
name: str | None = None
as_dict() dict

Serializes the ExternalLineageVolume into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ExternalLineageVolume into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ExternalLineageVolume

Deserializes the ExternalLineageVolume from a dictionary.

class databricks.sdk.service.catalog.ExternalLineageVolumeInfo(catalog_name: 'Optional[str]' = None, event_time: 'Optional[Timestamp]' = None, name: 'Optional[str]' = None, schema_name: 'Optional[str]' = None)
catalog_name: str | None = None

Name of the catalog.

event_time: Timestamp | None = None

Timestamp of the lineage event.

name: str | None = None

Name of the volume.

schema_name: str | None = None

Name of the schema.

as_dict() dict

Serializes the ExternalLineageVolumeInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ExternalLineageVolumeInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ExternalLineageVolumeInfo

Deserializes the ExternalLineageVolumeInfo from a dictionary.

class databricks.sdk.service.catalog.ExternalLocationInfo(browse_only: 'Optional[bool]' = None, comment: 'Optional[str]' = None, created_at: 'Optional[int]' = None, created_by: 'Optional[str]' = None, credential_id: 'Optional[str]' = None, credential_name: 'Optional[str]' = None, effective_enable_file_events: 'Optional[bool]' = None, effective_file_event_queue: 'Optional[FileEventQueue]' = None, enable_file_events: 'Optional[bool]' = None, encryption_details: 'Optional[EncryptionDetails]' = None, fallback: 'Optional[bool]' = None, file_event_queue: 'Optional[FileEventQueue]' = None, isolation_mode: 'Optional[IsolationMode]' = None, metastore_id: 'Optional[str]' = None, name: 'Optional[str]' = None, owner: 'Optional[str]' = None, read_only: 'Optional[bool]' = None, updated_at: 'Optional[int]' = None, updated_by: 'Optional[str]' = None, url: 'Optional[str]' = None)
browse_only: bool | None = None

Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request.

comment: str | None = None

User-provided free-form text description.

created_at: int | None = None

Time at which this external location was created, in epoch milliseconds.

created_by: str | None = None

Username of external location creator.

credential_id: str | None = None

Unique ID of the location’s storage credential.

credential_name: str | None = None

Name of the storage credential used with this location.

effective_enable_file_events: bool | None = None

The effective value of enable_file_events after applying server-side defaults.

effective_file_event_queue: FileEventQueue | None = None

The effective file event queue configuration after applying server-side defaults. Always populated when a queue is provisioned, regardless of whether the user explicitly set enable_file_events. Use this field instead of file_event_queue for reading the actual queue state.

enable_file_events: bool | None = None

Whether to enable file events on this external location. Default to true. Set to false to disable file events. The actual applied value may differ due to server-side defaults; check effective_enable_file_events for the effective state.

encryption_details: EncryptionDetails | None = None
fallback: bool | None = None

Indicates whether fallback mode is enabled for this external location. When fallback mode is enabled, the access to the location falls back to cluster credentials if UC credentials are not sufficient.

file_event_queue: FileEventQueue | None = None

File event queue settings. If enable_file_events is not false, must be defined and have exactly one of the documented properties.

isolation_mode: IsolationMode | None = None
metastore_id: str | None = None

Unique identifier of metastore hosting the external location.

name: str | None = None

Name of the external location.

owner: str | None = None

The owner of the external location.

read_only: bool | None = None

Indicates whether the external location is read-only.

updated_at: int | None = None

Time at which external location this was last modified, in epoch milliseconds.

updated_by: str | None = None

Username of user who last modified the external location.

url: str | None = None

Path URL of the external location.

as_dict() dict

Serializes the ExternalLocationInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ExternalLocationInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ExternalLocationInfo

Deserializes the ExternalLocationInfo from a dictionary.

class databricks.sdk.service.catalog.ExternalMetadata(name: 'str', system_type: 'SystemType', entity_type: 'str', columns: 'Optional[List[str]]' = None, create_time: 'Optional[str]' = None, created_by: 'Optional[str]' = None, description: 'Optional[str]' = None, id: 'Optional[str]' = None, metastore_id: 'Optional[str]' = None, owner: 'Optional[str]' = None, properties: 'Optional[Dict[str, str]]' = None, update_time: 'Optional[str]' = None, updated_by: 'Optional[str]' = None, url: 'Optional[str]' = None)
name: str

Name of the external metadata object.

system_type: SystemType

Type of external system.

entity_type: str

Type of entity within the external system.

columns: List[str] | None = None

List of columns associated with the external metadata object.

create_time: str | None = None

Time at which this external metadata object was created.

created_by: str | None = None

Username of external metadata object creator.

description: str | None = None

User-provided free-form text description.

id: str | None = None

Unique identifier of the external metadata object.

metastore_id: str | None = None

Unique identifier of parent metastore.

owner: str | None = None

Owner of the external metadata object.

properties: Dict[str, str] | None = None

A map of key-value properties attached to the external metadata object.

update_time: str | None = None

Time at which this external metadata object was last modified.

updated_by: str | None = None

Username of user who last modified external metadata object.

url: str | None = None

URL associated with the external metadata object.

as_dict() dict

Serializes the ExternalMetadata into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ExternalMetadata into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ExternalMetadata

Deserializes the ExternalMetadata from a dictionary.

class databricks.sdk.service.catalog.FailedStatus(last_processed_commit_version: int | None = None, timestamp: str | None = None)

Detailed status of an online table. Shown if the online table is in the OFFLINE_FAILED or the ONLINE_PIPELINE_FAILED state.

last_processed_commit_version: int | None = None

The last source table Delta version that was synced to the online table. Note that this Delta version may only be partially synced to the online table. Only populated if the table is still online and available for serving.

timestamp: str | None = None

The timestamp of the last time any data was synchronized from the source table to the online table. Only populated if the table is still online and available for serving.

as_dict() dict

Serializes the FailedStatus into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the FailedStatus into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) FailedStatus

Deserializes the FailedStatus from a dictionary.

class databricks.sdk.service.catalog.FileEventQueue(managed_aqs: 'Optional[AzureQueueStorage]' = None, managed_onelake: 'Optional[OneLakeEventQueue]' = None, managed_pubsub: 'Optional[GcpPubsub]' = None, managed_sqs: 'Optional[AwsSqsQueue]' = None, provided_aqs: 'Optional[AzureQueueStorage]' = None, provided_onelake: 'Optional[OneLakeEventQueue]' = None, provided_pubsub: 'Optional[GcpPubsub]' = None, provided_sqs: 'Optional[AwsSqsQueue]' = None)
managed_aqs: AzureQueueStorage | None = None
managed_onelake: OneLakeEventQueue | None = None
managed_pubsub: GcpPubsub | None = None
managed_sqs: AwsSqsQueue | None = None
provided_aqs: AzureQueueStorage | None = None
provided_onelake: OneLakeEventQueue | None = None
provided_pubsub: GcpPubsub | None = None
provided_sqs: AwsSqsQueue | None = None
as_dict() dict

Serializes the FileEventQueue into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the FileEventQueue into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) FileEventQueue

Deserializes the FileEventQueue from a dictionary.

class databricks.sdk.service.catalog.ForeignKeyConstraint(name: 'str', child_columns: 'List[str]', parent_table: 'str', parent_columns: 'List[str]', rely: 'Optional[bool]' = None)
name: str

The name of the constraint.

child_columns: List[str]

Column names for this constraint.

parent_table: str

The full name of the parent constraint.

parent_columns: List[str]

Column names for this constraint.

rely: bool | None = None

True if the constraint is RELY, false or unset if NORELY.

as_dict() dict

Serializes the ForeignKeyConstraint into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ForeignKeyConstraint into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ForeignKeyConstraint

Deserializes the ForeignKeyConstraint from a dictionary.

class databricks.sdk.service.catalog.FunctionArgExpression(tag_introspection: TagIntrospectionExpression | None = None)

An expression that is evaluated at query time against per-request context. New variants (e.g., identity attributes) are added as additional oneof cases.

tag_introspection: TagIntrospectionExpression | None = None

An expression that introspects tags at query time.

as_dict() dict

Serializes the FunctionArgExpression into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the FunctionArgExpression into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) FunctionArgExpression

Deserializes the FunctionArgExpression from a dictionary.

class databricks.sdk.service.catalog.FunctionArgument(alias: 'Optional[str]' = None, constant: 'Optional[str]' = None, function_arg_expression: 'Optional[FunctionArgExpression]' = None)
alias: str | None = None

The alias of a matched column.

constant: str | None = None

A constant literal.

function_arg_expression: FunctionArgExpression | None = None

An expression evaluated at query time. Wraps per-request expression variants (e.g., tag introspection) so new variants can be added without extending the FunctionArgument oneof.

as_dict() dict

Serializes the FunctionArgument into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the FunctionArgument into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) FunctionArgument

Deserializes the FunctionArgument from a dictionary.

class databricks.sdk.service.catalog.FunctionDependency(function_full_name: str)

A function that is dependent on a SQL object.

function_full_name: str

Full name of the dependent function, in the form of catalog_name.**schema_name**.**function_name**.

as_dict() dict

Serializes the FunctionDependency into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the FunctionDependency into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) FunctionDependency

Deserializes the FunctionDependency from a dictionary.

class databricks.sdk.service.catalog.FunctionInfo(browse_only: 'Optional[bool]' = None, catalog_name: 'Optional[str]' = None, comment: 'Optional[str]' = None, created_at: 'Optional[int]' = None, created_by: 'Optional[str]' = None, data_type: 'Optional[ColumnTypeName]' = None, external_language: 'Optional[str]' = None, external_name: 'Optional[str]' = None, full_data_type: 'Optional[str]' = None, full_name: 'Optional[str]' = None, function_id: 'Optional[str]' = None, input_params: 'Optional[FunctionParameterInfos]' = None, is_deterministic: 'Optional[bool]' = None, is_null_call: 'Optional[bool]' = None, metastore_id: 'Optional[str]' = None, name: 'Optional[str]' = None, owner: 'Optional[str]' = None, parameter_style: 'Optional[FunctionInfoParameterStyle]' = None, properties: 'Optional[str]' = None, return_params: 'Optional[FunctionParameterInfos]' = None, routine_body: 'Optional[FunctionInfoRoutineBody]' = None, routine_definition: 'Optional[str]' = None, routine_dependencies: 'Optional[DependencyList]' = None, schema_name: 'Optional[str]' = None, security_type: 'Optional[FunctionInfoSecurityType]' = None, specific_name: 'Optional[str]' = None, sql_data_access: 'Optional[FunctionInfoSqlDataAccess]' = None, sql_path: 'Optional[str]' = None, updated_at: 'Optional[int]' = None, updated_by: 'Optional[str]' = None)
browse_only: bool | None = None

Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request.

catalog_name: str | None = None

Name of parent Catalog.

comment: str | None = None

User-provided free-form text description.

created_at: int | None = None

Time at which this function was created, in epoch milliseconds.

created_by: str | None = None

Username of function creator.

data_type: ColumnTypeName | None = None

Scalar function return data type.

external_language: str | None = None

External function language.

external_name: str | None = None

External function name.

full_data_type: str | None = None

Pretty printed function data type.

full_name: str | None = None

Full name of Function, in form of catalog_name.**schema_name**.**function_name**

function_id: str | None = None

Id of Function, relative to parent schema.

input_params: FunctionParameterInfos | None = None

Function input parameters.

is_deterministic: bool | None = None

Whether the function is deterministic.

is_null_call: bool | None = None

Function null call.

metastore_id: str | None = None

Unique identifier of parent metastore.

name: str | None = None

Name of function, relative to parent schema.

owner: str | None = None

Username of current owner of the function.

parameter_style: FunctionInfoParameterStyle | None = None

Function parameter style. S is the value for SQL.

properties: str | None = None

JSON-serialized key-value pair map, encoded (escaped) as a string.

return_params: FunctionParameterInfos | None = None

Table function return parameters.

routine_body: FunctionInfoRoutineBody | None = None

Function language. When EXTERNAL is used, the language of the routine function should be specified in the external_language field, and the return_params of the function cannot be used (as TABLE return type is not supported), and the sql_data_access field must be NO_SQL.

routine_definition: str | None = None

Function body.

routine_dependencies: DependencyList | None = None

function dependencies.

schema_name: str | None = None

Name of parent Schema relative to its parent Catalog.

security_type: FunctionInfoSecurityType | None = None

Function security type.

specific_name: str | None = None

Specific name of the function; Reserved for future use.

sql_data_access: FunctionInfoSqlDataAccess | None = None

Function SQL data access.

sql_path: str | None = None

List of schemes whose objects can be referenced without qualification.

updated_at: int | None = None

Time at which this function was last modified, in epoch milliseconds.

updated_by: str | None = None

Username of user who last modified the function.

as_dict() dict

Serializes the FunctionInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the FunctionInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) FunctionInfo

Deserializes the FunctionInfo from a dictionary.

class databricks.sdk.service.catalog.FunctionInfoParameterStyle
S = "S"
class databricks.sdk.service.catalog.FunctionInfoRoutineBody
EXTERNAL = "EXTERNAL"
SQL = "SQL"
class databricks.sdk.service.catalog.FunctionInfoSecurityType
DEFINER = "DEFINER"
class databricks.sdk.service.catalog.FunctionInfoSqlDataAccess
CONTAINS_SQL = "CONTAINS_SQL"
NO_SQL = "NO_SQL"
READS_SQL_DATA = "READS_SQL_DATA"
class databricks.sdk.service.catalog.FunctionParameterInfo(name: 'str', type_text: 'str', type_name: 'ColumnTypeName', position: 'int', comment: 'Optional[str]' = None, parameter_default: 'Optional[str]' = None, parameter_mode: 'Optional[FunctionParameterMode]' = None, parameter_type: 'Optional[FunctionParameterType]' = None, type_interval_type: 'Optional[str]' = None, type_json: 'Optional[str]' = None, type_precision: 'Optional[int]' = None, type_scale: 'Optional[int]' = None)
name: str

Name of Parameter.

type_text: str

Full data type spec, SQL/catalogString text.

type_name: ColumnTypeName

Name of type (INT, STRUCT, MAP, etc.)

position: int

Ordinal position of column (starting at position 0).

comment: str | None = None

User-provided free-form text description.

parameter_default: str | None = None

Default value of the parameter.

parameter_mode: FunctionParameterMode | None = None

Function parameter mode.

parameter_type: FunctionParameterType | None = None

Function parameter type.

type_interval_type: str | None = None

Format of IntervalType.

type_json: str | None = None

Full data type spec, JSON-serialized.

type_precision: int | None = None

Digits of precision; required on Create for DecimalTypes.

type_scale: int | None = None

Digits to right of decimal; Required on Create for DecimalTypes.

as_dict() dict

Serializes the FunctionParameterInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the FunctionParameterInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) FunctionParameterInfo

Deserializes the FunctionParameterInfo from a dictionary.

class databricks.sdk.service.catalog.FunctionParameterInfos(parameters: 'Optional[List[FunctionParameterInfo]]' = None)
parameters: List[FunctionParameterInfo] | None = None
as_dict() dict

Serializes the FunctionParameterInfos into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the FunctionParameterInfos into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) FunctionParameterInfos

Deserializes the FunctionParameterInfos from a dictionary.

class databricks.sdk.service.catalog.FunctionParameterMode
IN = "IN"
class databricks.sdk.service.catalog.FunctionParameterType
COLUMN = "COLUMN"
PARAM = "PARAM"
class databricks.sdk.service.catalog.GcpOauthToken(oauth_token: str | None = None)

GCP temporary credentials for API authentication. Read more at https://developers.google.com/identity/protocols/oauth2/service-account

oauth_token: str | None = None
as_dict() dict

Serializes the GcpOauthToken into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the GcpOauthToken into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) GcpOauthToken

Deserializes the GcpOauthToken from a dictionary.

class databricks.sdk.service.catalog.GcpPubsub(managed_resource_id: 'Optional[str]' = None, subscription_name: 'Optional[str]' = None)
managed_resource_id: str | None = None

Unique identifier included in the name of file events managed cloud resources.

subscription_name: str | None = None

The Pub/Sub subscription name in the format projects/{project}/subscriptions/{subscription name}. Only required for provided_pubsub.

as_dict() dict

Serializes the GcpPubsub into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the GcpPubsub into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) GcpPubsub

Deserializes the GcpPubsub from a dictionary.

class databricks.sdk.service.catalog.GenerateTemporaryPathCredentialResponse(aws_temp_credentials: 'Optional[AwsCredentials]' = None, azure_aad: 'Optional[AzureActiveDirectoryToken]' = None, azure_user_delegation_sas: 'Optional[AzureUserDelegationSas]' = None, expiration_time: 'Optional[int]' = None, gcp_oauth_token: 'Optional[GcpOauthToken]' = None, r2_temp_credentials: 'Optional[R2Credentials]' = None, uc_encrypted_token: 'Optional[UcEncryptedToken]' = None, url: 'Optional[str]' = None)
aws_temp_credentials: AwsCredentials | None = None
azure_aad: AzureActiveDirectoryToken | None = None
azure_user_delegation_sas: AzureUserDelegationSas | None = None
expiration_time: int | None = None

Server time when the credential will expire, in epoch milliseconds. The API client is advised to cache the credential given this expiration time.

gcp_oauth_token: GcpOauthToken | None = None
r2_temp_credentials: R2Credentials | None = None
uc_encrypted_token: UcEncryptedToken | None = None
url: str | None = None

The URL of the storage path accessible by the temporary credential.

as_dict() dict

Serializes the GenerateTemporaryPathCredentialResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the GenerateTemporaryPathCredentialResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) GenerateTemporaryPathCredentialResponse

Deserializes the GenerateTemporaryPathCredentialResponse from a dictionary.

class databricks.sdk.service.catalog.GenerateTemporaryServiceCredentialAzureOptions(resources: List[str] | None = None)

The Azure cloud options to customize the requested temporary credential

resources: List[str] | None = None

The resources to which the temporary Azure credential should apply. These resources are the scopes that are passed to the token provider (see https://learn.microsoft.com/python/api/azure-core/azure.core.credentials.tokencredential?view=azure-python)

as_dict() dict

Serializes the GenerateTemporaryServiceCredentialAzureOptions into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the GenerateTemporaryServiceCredentialAzureOptions into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) GenerateTemporaryServiceCredentialAzureOptions

Deserializes the GenerateTemporaryServiceCredentialAzureOptions from a dictionary.

class databricks.sdk.service.catalog.GenerateTemporaryServiceCredentialGcpOptions(scopes: List[str] | None = None)

The GCP cloud options to customize the requested temporary credential

scopes: List[str] | None = None

The scopes to which the temporary GCP credential should apply. These resources are the scopes that are passed to the token provider (see https://google-auth.readthedocs.io/en/latest/reference/google.auth.html#google.auth.credentials.Credentials)

as_dict() dict

Serializes the GenerateTemporaryServiceCredentialGcpOptions into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the GenerateTemporaryServiceCredentialGcpOptions into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) GenerateTemporaryServiceCredentialGcpOptions

Deserializes the GenerateTemporaryServiceCredentialGcpOptions from a dictionary.

class databricks.sdk.service.catalog.GenerateTemporaryTableCredentialResponse(aws_temp_credentials: 'Optional[AwsCredentials]' = None, azure_aad: 'Optional[AzureActiveDirectoryToken]' = None, azure_user_delegation_sas: 'Optional[AzureUserDelegationSas]' = None, expiration_time: 'Optional[int]' = None, gcp_oauth_token: 'Optional[GcpOauthToken]' = None, r2_temp_credentials: 'Optional[R2Credentials]' = None, uc_encrypted_token: 'Optional[UcEncryptedToken]' = None, url: 'Optional[str]' = None)
aws_temp_credentials: AwsCredentials | None = None
azure_aad: AzureActiveDirectoryToken | None = None
azure_user_delegation_sas: AzureUserDelegationSas | None = None
expiration_time: int | None = None

Server time when the credential will expire, in epoch milliseconds. The API client is advised to cache the credential given this expiration time.

gcp_oauth_token: GcpOauthToken | None = None
r2_temp_credentials: R2Credentials | None = None
uc_encrypted_token: UcEncryptedToken | None = None
url: str | None = None

The URL of the storage path accessible by the temporary credential.

as_dict() dict

Serializes the GenerateTemporaryTableCredentialResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the GenerateTemporaryTableCredentialResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) GenerateTemporaryTableCredentialResponse

Deserializes the GenerateTemporaryTableCredentialResponse from a dictionary.

class databricks.sdk.service.catalog.GenerateTemporaryVolumeCredentialResponse(aws_temp_credentials: 'Optional[AwsCredentials]' = None, azure_aad: 'Optional[AzureActiveDirectoryToken]' = None, azure_user_delegation_sas: 'Optional[AzureUserDelegationSas]' = None, expiration_time: 'Optional[int]' = None, gcp_oauth_token: 'Optional[GcpOauthToken]' = None, r2_temp_credentials: 'Optional[R2Credentials]' = None, uc_encrypted_token: 'Optional[UcEncryptedToken]' = None, url: 'Optional[str]' = None)
aws_temp_credentials: AwsCredentials | None = None
azure_aad: AzureActiveDirectoryToken | None = None
azure_user_delegation_sas: AzureUserDelegationSas | None = None
expiration_time: int | None = None

Server time when the credential will expire, in epoch milliseconds. The API client is advised to cache the credential given this expiration time.

gcp_oauth_token: GcpOauthToken | None = None
r2_temp_credentials: R2Credentials | None = None
uc_encrypted_token: UcEncryptedToken | None = None
url: str | None = None

The URL of the storage path accessible by the temporary credential.

as_dict() dict

Serializes the GenerateTemporaryVolumeCredentialResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the GenerateTemporaryVolumeCredentialResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) GenerateTemporaryVolumeCredentialResponse

Deserializes the GenerateTemporaryVolumeCredentialResponse from a dictionary.

class databricks.sdk.service.catalog.GetCatalogWorkspaceBindingsResponse(workspaces: 'Optional[List[int]]' = None)
workspaces: List[int] | None = None

A list of workspace IDs

as_dict() dict

Serializes the GetCatalogWorkspaceBindingsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the GetCatalogWorkspaceBindingsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) GetCatalogWorkspaceBindingsResponse

Deserializes the GetCatalogWorkspaceBindingsResponse from a dictionary.

class databricks.sdk.service.catalog.GetMetastoreSummaryResponse(cloud: 'Optional[str]' = None, created_at: 'Optional[int]' = None, created_by: 'Optional[str]' = None, default_data_access_config_id: 'Optional[str]' = None, delta_sharing_organization_name: 'Optional[str]' = None, delta_sharing_recipient_token_lifetime_in_seconds: 'Optional[int]' = None, delta_sharing_scope: 'Optional[DeltaSharingScopeEnum]' = None, external_access_enabled: 'Optional[bool]' = None, global_metastore_id: 'Optional[str]' = None, metastore_id: 'Optional[str]' = None, name: 'Optional[str]' = None, owner: 'Optional[str]' = None, privilege_model_version: 'Optional[str]' = None, region: 'Optional[str]' = None, storage_root: 'Optional[str]' = None, storage_root_credential_id: 'Optional[str]' = None, storage_root_credential_name: 'Optional[str]' = None, updated_at: 'Optional[int]' = None, updated_by: 'Optional[str]' = None)
cloud: str | None = None

Cloud vendor of the metastore home shard (e.g., aws, azure, gcp).

created_at: int | None = None

Time at which this metastore was created, in epoch milliseconds.

created_by: str | None = None

Username of metastore creator.

default_data_access_config_id: str | None = None

Unique identifier of the metastore’s (Default) Data Access Configuration.

delta_sharing_organization_name: str | None = None

The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name.

delta_sharing_recipient_token_lifetime_in_seconds: int | None = None

The lifetime of delta sharing recipient token in seconds.

delta_sharing_scope: DeltaSharingScopeEnum | None = None

The scope of Delta Sharing enabled for the metastore.

external_access_enabled: bool | None = None

Whether to allow non-DBR clients to directly access entities under the metastore.

global_metastore_id: str | None = None

Globally unique metastore ID across clouds and regions, of the form cloud:region:metastore_id.

metastore_id: str | None = None

Unique identifier of metastore.

name: str | None = None

The user-specified name of the metastore.

owner: str | None = None

The owner of the metastore.

privilege_model_version: str | None = None

Privilege model version of the metastore, of the form major.minor (e.g., 1.0).

region: str | None = None

Cloud region which the metastore serves (e.g., us-west-2, westus).

storage_root: str | None = None

The storage root URL for metastore

storage_root_credential_id: str | None = None

UUID of storage credential to access the metastore storage_root.

storage_root_credential_name: str | None = None

Name of the storage credential to access the metastore storage_root.

updated_at: int | None = None

Time at which the metastore was last modified, in epoch milliseconds.

updated_by: str | None = None

Username of user who last modified the metastore.

as_dict() dict

Serializes the GetMetastoreSummaryResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the GetMetastoreSummaryResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) GetMetastoreSummaryResponse

Deserializes the GetMetastoreSummaryResponse from a dictionary.

class databricks.sdk.service.catalog.GetPermissionsResponse(next_page_token: 'Optional[str]' = None, privilege_assignments: 'Optional[List[PrivilegeAssignment]]' = None)
next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request (for the next page of results).

privilege_assignments: List[PrivilegeAssignment] | None = None

The privileges assigned to each principal

as_dict() dict

Serializes the GetPermissionsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the GetPermissionsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) GetPermissionsResponse

Deserializes the GetPermissionsResponse from a dictionary.

class databricks.sdk.service.catalog.GetQuotaResponse(quota_info: 'Optional[QuotaInfo]' = None)
quota_info: QuotaInfo | None = None

The returned QuotaInfo.

as_dict() dict

Serializes the GetQuotaResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the GetQuotaResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) GetQuotaResponse

Deserializes the GetQuotaResponse from a dictionary.

class databricks.sdk.service.catalog.GetWorkspaceBindingsResponse(bindings: 'Optional[List[WorkspaceBinding]]' = None, next_page_token: 'Optional[str]' = None)
bindings: List[WorkspaceBinding] | None = None

List of workspace bindings

next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request (for the next page of results).

as_dict() dict

Serializes the GetWorkspaceBindingsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the GetWorkspaceBindingsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) GetWorkspaceBindingsResponse

Deserializes the GetWorkspaceBindingsResponse from a dictionary.

class databricks.sdk.service.catalog.GrantOptions(privileges: 'List[str]')
privileges: List[str]

List of privileges to grant. When any of these privileges are requested, the policy will grant access if the principal and condition match. Required on create and update.

as_dict() dict

Serializes the GrantOptions into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the GrantOptions into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) GrantOptions

Deserializes the GrantOptions from a dictionary.

class databricks.sdk.service.catalog.InferenceTableConfig(parent: str, disabled: bool | None = None, is_deleted: bool | None = None, table: str | None = None, table_name_prefix: str | None = None)

Inference table configuration for payload logging on a model service.

parent is always REQUIRED when the sub-message is set; the destination UC schema is needed to construct or rebind the payload TABLE regardless of whether payload logging is currently active. Payload logging is active by default; set disabled = true to pause runtime logging without dropping the table or the binding.

parent: str

Parent UC schema where the inference table is created. Format: schemas/{catalog}.{schema}. Set at create time and immutable thereafter; changing it on an existing service is rejected.

disabled: bool | None = None

Indicates whether payload logging is disabled (opt-out). Unset means that payload logging is active (the on-by-default state coincides with the proto zero-value, so the server never fills this field for a client that leaves it unset). Set disabled = true to pause runtime logging while keeping the sub-message attached (preserving parent and table_name_prefix for a later flip back to active). parent remains required either way.

is_deleted: bool | None = None

True when the bound inference TABLE has been deleted but the parent service still references it. The dangling reference is surfaced (not silently dropped) so callers can see the broken dependency. AI Gateway payload logging fails closed in this state.

table: str | None = None

Resolved UC table for payload logs. Format: tables/{catalog}.{schema}.{table}.

table_name_prefix: str | None = None

Prefix for the inference-table’s UC-registered name. The actual leaf name UC stores is <table_name_prefix>_payload; the _payload suffix is appended automatically. To find the actual UC table after Create, read the table field on the response. Defaults to <model_service_name>_payload when unset. Set at create time and immutable thereafter; changing it on an existing service is rejected.

as_dict() dict

Serializes the InferenceTableConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the InferenceTableConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) InferenceTableConfig

Deserializes the InferenceTableConfig from a dictionary.

class databricks.sdk.service.catalog.IsolationMode
ISOLATION_MODE_ISOLATED = "ISOLATION_MODE_ISOLATED"
ISOLATION_MODE_OPEN = "ISOLATION_MODE_OPEN"
ISOLATION_MODE_OPEN_IN_ACCOUNT = "ISOLATION_MODE_OPEN_IN_ACCOUNT"
class databricks.sdk.service.catalog.LineageDirection
DOWNSTREAM = "DOWNSTREAM"
UPSTREAM = "UPSTREAM"
class databricks.sdk.service.catalog.ListAccountMetastoreAssignmentsResponse(workspace_ids: List[int] | None = None)

The metastore assignments were successfully returned.

workspace_ids: List[int] | None = None
as_dict() dict

Serializes the ListAccountMetastoreAssignmentsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListAccountMetastoreAssignmentsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListAccountMetastoreAssignmentsResponse

Deserializes the ListAccountMetastoreAssignmentsResponse from a dictionary.

class databricks.sdk.service.catalog.ListAccountStorageCredentialsResponse(storage_credentials: List[StorageCredentialInfo] | None = None)

The metastore storage credentials were successfully returned.

storage_credentials: List[StorageCredentialInfo] | None = None

An array of metastore storage credentials.

as_dict() dict

Serializes the ListAccountStorageCredentialsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListAccountStorageCredentialsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListAccountStorageCredentialsResponse

Deserializes the ListAccountStorageCredentialsResponse from a dictionary.

class databricks.sdk.service.catalog.ListAgentServicesResponse(agent_services: List[AgentService] | None = None, next_page_token: str | None = None)

Response for listing agent services.

agent_services: List[AgentService] | None = None

The list of agent services.

next_page_token: str | None = None

Pagination token for retrieving the next page of results.

as_dict() dict

Serializes the ListAgentServicesResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListAgentServicesResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListAgentServicesResponse

Deserializes the ListAgentServicesResponse from a dictionary.

class databricks.sdk.service.catalog.ListCatalogsResponse(catalogs: 'Optional[List[CatalogInfo]]' = None, next_page_token: 'Optional[str]' = None)
catalogs: List[CatalogInfo] | None = None

An array of catalog information objects.

next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request (for the next page of results).

as_dict() dict

Serializes the ListCatalogsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListCatalogsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListCatalogsResponse

Deserializes the ListCatalogsResponse from a dictionary.

class databricks.sdk.service.catalog.ListConnectionsResponse(connections: 'Optional[List[ConnectionInfo]]' = None, next_page_token: 'Optional[str]' = None)
connections: List[ConnectionInfo] | None = None

An array of connection information objects.

next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request (for the next page of results).

as_dict() dict

Serializes the ListConnectionsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListConnectionsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListConnectionsResponse

Deserializes the ListConnectionsResponse from a dictionary.

class databricks.sdk.service.catalog.ListCredentialsResponse(credentials: 'Optional[List[CredentialInfo]]' = None, next_page_token: 'Optional[str]' = None)
credentials: List[CredentialInfo] | None = None
next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request (for the next page of results).

as_dict() dict

Serializes the ListCredentialsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListCredentialsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListCredentialsResponse

Deserializes the ListCredentialsResponse from a dictionary.

class databricks.sdk.service.catalog.ListEffectivePrivilegeAssignmentsResponse(effective_privilege_assignments: 'Optional[List[EffectivePrivilegeAssignment]]' = None, next_page_token: 'Optional[str]' = None)
effective_privilege_assignments: List[EffectivePrivilegeAssignment] | None = None

The effective privilege assignments for the securable (and optional principal).

next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request (for the next page of results).

as_dict() dict

Serializes the ListEffectivePrivilegeAssignmentsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListEffectivePrivilegeAssignmentsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListEffectivePrivilegeAssignmentsResponse

Deserializes the ListEffectivePrivilegeAssignmentsResponse from a dictionary.

class databricks.sdk.service.catalog.ListEntityTagAssignmentsResponse(next_page_token: 'Optional[str]' = None, tag_assignments: 'Optional[List[EntityTagAssignment]]' = None)
next_page_token: str | None = None

Optional. Pagination token for retrieving the next page of results

tag_assignments: List[EntityTagAssignment] | None = None

The list of tag assignments

as_dict() dict

Serializes the ListEntityTagAssignmentsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListEntityTagAssignmentsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListEntityTagAssignmentsResponse

Deserializes the ListEntityTagAssignmentsResponse from a dictionary.

class databricks.sdk.service.catalog.ListExternalLineageRelationshipsResponse(external_lineage_relationships: 'Optional[List[ExternalLineageInfo]]' = None, next_page_token: 'Optional[str]' = None)
external_lineage_relationships: List[ExternalLineageInfo] | None = None
next_page_token: str | None = None
as_dict() dict

Serializes the ListExternalLineageRelationshipsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListExternalLineageRelationshipsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListExternalLineageRelationshipsResponse

Deserializes the ListExternalLineageRelationshipsResponse from a dictionary.

class databricks.sdk.service.catalog.ListExternalLocationsResponse(external_locations: 'Optional[List[ExternalLocationInfo]]' = None, next_page_token: 'Optional[str]' = None)
external_locations: List[ExternalLocationInfo] | None = None

An array of external locations.

next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request (for the next page of results).

as_dict() dict

Serializes the ListExternalLocationsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListExternalLocationsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListExternalLocationsResponse

Deserializes the ListExternalLocationsResponse from a dictionary.

class databricks.sdk.service.catalog.ListExternalMetadataResponse(external_metadata: 'Optional[List[ExternalMetadata]]' = None, next_page_token: 'Optional[str]' = None)
external_metadata: List[ExternalMetadata] | None = None
next_page_token: str | None = None
as_dict() dict

Serializes the ListExternalMetadataResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListExternalMetadataResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListExternalMetadataResponse

Deserializes the ListExternalMetadataResponse from a dictionary.

class databricks.sdk.service.catalog.ListFunctionsResponse(functions: 'Optional[List[FunctionInfo]]' = None, next_page_token: 'Optional[str]' = None)
functions: List[FunctionInfo] | None = None

An array of function information objects.

next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request (for the next page of results).

as_dict() dict

Serializes the ListFunctionsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListFunctionsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListFunctionsResponse

Deserializes the ListFunctionsResponse from a dictionary.

class databricks.sdk.service.catalog.ListMcpServicesRequestView

Controls which fields are populated on each McpService in the response. The server treats unset / VIEW_UNSPECIFIED as BASIC. Callers needing the full configuration must request it explicitly with view = FULL.

BASIC = "BASIC"
FULL = "FULL"
class databricks.sdk.service.catalog.ListMcpServicesResponse(mcp_services: List[McpService] | None = None, next_page_token: str | None = None)

Response for listing MCP services.

mcp_services: List[McpService] | None = None

The list of MCP services.

next_page_token: str | None = None

Pagination token for retrieving the next page of results.

as_dict() dict

Serializes the ListMcpServicesResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListMcpServicesResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListMcpServicesResponse

Deserializes the ListMcpServicesResponse from a dictionary.

class databricks.sdk.service.catalog.ListMetastoresResponse(metastores: 'Optional[List[MetastoreInfo]]' = None, next_page_token: 'Optional[str]' = None)
metastores: List[MetastoreInfo] | None = None

An array of metastore information objects.

next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request (for the next page of results).

as_dict() dict

Serializes the ListMetastoresResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListMetastoresResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListMetastoresResponse

Deserializes the ListMetastoresResponse from a dictionary.

class databricks.sdk.service.catalog.ListModelProviderServicesRequestView

Controls which fields are populated on each ModelProviderService in the response. The server treats unset / VIEW_UNSPECIFIED as BASIC. Callers needing the full configuration must request it explicitly with view = FULL.

BASIC = "BASIC"
FULL = "FULL"
class databricks.sdk.service.catalog.ListModelProviderServicesResponse(model_provider_services: List[ModelProviderService] | None = None, next_page_token: str | None = None)

Response for listing model provider services.

model_provider_services: List[ModelProviderService] | None = None

The list of model provider services.

next_page_token: str | None = None

Pagination token for retrieving the next page of results.

as_dict() dict

Serializes the ListModelProviderServicesResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListModelProviderServicesResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListModelProviderServicesResponse

Deserializes the ListModelProviderServicesResponse from a dictionary.

class databricks.sdk.service.catalog.ListModelServicesRequestView

Controls which fields are populated on each ModelService in the response. The server treats unset / VIEW_UNSPECIFIED as BASIC. Callers needing the full configuration must request it explicitly with view = FULL.

BASIC = "BASIC"
FULL = "FULL"
class databricks.sdk.service.catalog.ListModelServicesResponse(model_services: List[ModelService] | None = None, next_page_token: str | None = None)

Response for listing model services.

model_services: List[ModelService] | None = None

The list of model services.

next_page_token: str | None = None

Pagination token for retrieving the next page of results.

as_dict() dict

Serializes the ListModelServicesResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListModelServicesResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListModelServicesResponse

Deserializes the ListModelServicesResponse from a dictionary.

class databricks.sdk.service.catalog.ListModelVersionsResponse(model_versions: 'Optional[List[ModelVersionInfo]]' = None, next_page_token: 'Optional[str]' = None)
model_versions: List[ModelVersionInfo] | None = None
next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request (for the next page of results).

as_dict() dict

Serializes the ListModelVersionsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListModelVersionsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListModelVersionsResponse

Deserializes the ListModelVersionsResponse from a dictionary.

class databricks.sdk.service.catalog.ListPoliciesResponse(next_page_token: 'Optional[str]' = None, policies: 'Optional[List[PolicyInfo]]' = None)
next_page_token: str | None = None

Optional opaque token for continuing pagination. page_token should be set to this value for the next request to retrieve the next page of results.

policies: List[PolicyInfo] | None = None

The list of retrieved policies.

as_dict() dict

Serializes the ListPoliciesResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListPoliciesResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListPoliciesResponse

Deserializes the ListPoliciesResponse from a dictionary.

class databricks.sdk.service.catalog.ListPrivilegeAssignmentsResponse(next_page_token: 'Optional[str]' = None, privilege_assignments: 'Optional[List[PrivilegeAssignment]]' = None)
next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request (for the next page of results).

privilege_assignments: List[PrivilegeAssignment] | None = None
as_dict() dict

Serializes the ListPrivilegeAssignmentsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListPrivilegeAssignmentsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListPrivilegeAssignmentsResponse

Deserializes the ListPrivilegeAssignmentsResponse from a dictionary.

class databricks.sdk.service.catalog.ListQuotasResponse(next_page_token: 'Optional[str]' = None, quotas: 'Optional[List[QuotaInfo]]' = None)
next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request.

quotas: List[QuotaInfo] | None = None

An array of returned QuotaInfos.

as_dict() dict

Serializes the ListQuotasResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListQuotasResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListQuotasResponse

Deserializes the ListQuotasResponse from a dictionary.

class databricks.sdk.service.catalog.ListRegisteredModelsResponse(next_page_token: 'Optional[str]' = None, registered_models: 'Optional[List[RegisteredModelInfo]]' = None)
next_page_token: str | None = None

Opaque token for pagination. Omitted if there are no more results. page_token should be set to this value for fetching the next page.

registered_models: List[RegisteredModelInfo] | None = None
as_dict() dict

Serializes the ListRegisteredModelsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListRegisteredModelsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListRegisteredModelsResponse

Deserializes the ListRegisteredModelsResponse from a dictionary.

class databricks.sdk.service.catalog.ListSchemasResponse(next_page_token: 'Optional[str]' = None, schemas: 'Optional[List[SchemaInfo]]' = None)
next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request (for the next page of results).

schemas: List[SchemaInfo] | None = None

An array of schema information objects.

as_dict() dict

Serializes the ListSchemasResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListSchemasResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListSchemasResponse

Deserializes the ListSchemasResponse from a dictionary.

class databricks.sdk.service.catalog.ListSecretsResponse(next_page_token: str | None = None, secrets: List[Secret] | None = None)

Response message for ListSecrets.

next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request.

secrets: List[Secret] | None = None

An array of secret objects.

as_dict() dict

Serializes the ListSecretsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListSecretsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListSecretsResponse

Deserializes the ListSecretsResponse from a dictionary.

class databricks.sdk.service.catalog.ListStorageCredentialsResponse(next_page_token: 'Optional[str]' = None, storage_credentials: 'Optional[List[StorageCredentialInfo]]' = None)
next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request (for the next page of results).

storage_credentials: List[StorageCredentialInfo] | None = None
as_dict() dict

Serializes the ListStorageCredentialsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListStorageCredentialsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListStorageCredentialsResponse

Deserializes the ListStorageCredentialsResponse from a dictionary.

class databricks.sdk.service.catalog.ListSystemSchemasResponse(next_page_token: 'Optional[str]' = None, schemas: 'Optional[List[SystemSchemaInfo]]' = None)
next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request (for the next page of results).

schemas: List[SystemSchemaInfo] | None = None

An array of system schema information objects.

as_dict() dict

Serializes the ListSystemSchemasResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListSystemSchemasResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListSystemSchemasResponse

Deserializes the ListSystemSchemasResponse from a dictionary.

class databricks.sdk.service.catalog.ListTableSummariesResponse(next_page_token: 'Optional[str]' = None, tables: 'Optional[List[TableSummary]]' = None)
next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request (for the next page of results).

tables: List[TableSummary] | None = None

List of table summaries.

as_dict() dict

Serializes the ListTableSummariesResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListTableSummariesResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListTableSummariesResponse

Deserializes the ListTableSummariesResponse from a dictionary.

class databricks.sdk.service.catalog.ListTablesResponse(next_page_token: 'Optional[str]' = None, tables: 'Optional[List[TableInfo]]' = None)
next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request (for the next page of results).

tables: List[TableInfo] | None = None

An array of table information objects.

as_dict() dict

Serializes the ListTablesResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListTablesResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListTablesResponse

Deserializes the ListTablesResponse from a dictionary.

class databricks.sdk.service.catalog.ListVolumesResponseContent(next_page_token: 'Optional[str]' = None, volumes: 'Optional[List[VolumeInfo]]' = None)
next_page_token: str | None = None

Opaque token to retrieve the next page of results. Absent if there are no more pages. page_token should be set to this value for the next request to retrieve the next page of results.

volumes: List[VolumeInfo] | None = None
as_dict() dict

Serializes the ListVolumesResponseContent into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ListVolumesResponseContent into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ListVolumesResponseContent

Deserializes the ListVolumesResponseContent from a dictionary.

class databricks.sdk.service.catalog.MatchColumn(alias: 'Optional[str]' = None, condition: 'Optional[str]' = None)
alias: str | None = None

Optional alias of the matched column.

condition: str | None = None

The condition expression used to match a table column.

as_dict() dict

Serializes the MatchColumn into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the MatchColumn into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) MatchColumn

Deserializes the MatchColumn from a dictionary.

class databricks.sdk.service.catalog.MatchType

The artifact pattern matching type

PREFIX_MATCH = "PREFIX_MATCH"
class databricks.sdk.service.catalog.McpService(browse_only: bool | None = None, comment: str | None = None, config: McpServiceConfig | None = None, create_time: Timestamp | None = None, created_by: str | None = None, effective_owner: str | None = None, etag: str | None = None, metastore_id: str | None = None, name: str | None = None, owner: str | None = None, update_time: Timestamp | None = None, updated_by: str | None = None)

A governed MCP server registration in Unity Catalog. Acts as a container securable that references an MCP server – customer-external via a UC Connection, or Databricks-hosted via an internal server – and exposes its tools for discovery, authorization, and invocation.

browse_only: bool | None = None

Whether the caller sees only metadata available through the BROWSE privilege.

comment: str | None = None

User-provided description.

config: McpServiceConfig | None = None

Operational configuration: connection, tool selectors, rate limit. Required on CreateMcpService; on UpdateMcpService it is required only when config (or a config.* subpath) appears in update_mask.

create_time: Timestamp | None = None

When the MCP service was created.

created_by: str | None = None

Creator identity.

effective_owner: str | None = None

The resolved owner of the MCP service. Falls back to the caller’s identity when owner is not explicitly set on creation.

etag: str | None = None

Optimistic concurrency control token. Server-generated from the entity’s state and returned on every read. To use it as an if-match precondition on a mutation, echo the last-read value back via the dedicated etag field on the Update / Delete request; the server rejects the mutation if the stored etag differs.

metastore_id: str | None = None

Metastore hosting the MCP service.

name: str | None = None

Resource name of the MCP service. Format: mcp-services/{catalog}.{schema}.{mcp_service}. Each {...} component is capped at 255 characters individually. Server-derived on Create from parent + mcp_service_id; required and immutable on Update/Get/Delete.

owner: str | None = None

The owner of the MCP service. Write-only; read owner via effective_owner.

update_time: Timestamp | None = None

When the MCP service was last modified.

updated_by: str | None = None

Identity of the last updater.

as_dict() dict

Serializes the McpService into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the McpService into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) McpService

Deserializes the McpService from a dictionary.

class databricks.sdk.service.catalog.McpServiceConfig(include_tool_selectors: List[str] | None = None, rate_limits: List[RateLimit] | None = None, source_connection: McpServiceConfigSourceConnection | None = None)

Operational configuration for an MCP service. Groups the source reference, tool selectors, and rate limit – the fields that configure how the MCP service behaves at invocation time.

include_tool_selectors: List[str] | None = None

Glob or exact-match patterns selecting which tools from the MCP server to expose. Prefix match for patterns with *, exact match otherwise. An empty list means all tools are included. Per-element max 256 chars.

rate_limits: List[RateLimit] | None = None

Per-principal rate limits applied to tool invocations routed through this MCP service. Repeated to support per-USER / USER_GROUP / SERVICE_PRINCIPAL / SERVICE / USER_DEFAULT scopes simultaneously, mirroring the ModelServiceConfig.rate_limits shape. Empty when no rate limit is configured.

source_connection: McpServiceConfigSourceConnection | None = None

UC Connection referencing the MCP server.

as_dict() dict

Serializes the McpServiceConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the McpServiceConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) McpServiceConfig

Deserializes the McpServiceConfig from a dictionary.

class databricks.sdk.service.catalog.McpServiceConfigSourceConnection(name: str, is_deleted: bool | None = None)

UC Connection that hosts the MCP server. On create, provide name in the schema-scoped form connections/{catalog}.{schema}.{connection}. On read, the service populates the resolved connection metadata and preserves a dangling source so callers can diagnose a deleted backing connection.

name: str
is_deleted: bool | None = None
as_dict() dict

Serializes the McpServiceConfigSourceConnection into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the McpServiceConfigSourceConnection into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) McpServiceConfigSourceConnection

Deserializes the McpServiceConfigSourceConnection from a dictionary.

class databricks.sdk.service.catalog.MetastoreAssignment(workspace_id: 'int', metastore_id: 'str', default_catalog_name: 'Optional[str]' = None)
workspace_id: int

The unique ID of the Databricks workspace.

metastore_id: str

The unique ID of the metastore.

default_catalog_name: str | None = None

The name of the default catalog in the metastore. This field is deprecated. Please use “Default Namespace API” to configure the default catalog for a Databricks workspace.

as_dict() dict

Serializes the MetastoreAssignment into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the MetastoreAssignment into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) MetastoreAssignment

Deserializes the MetastoreAssignment from a dictionary.

class databricks.sdk.service.catalog.MetastoreInfo(cloud: 'Optional[str]' = None, created_at: 'Optional[int]' = None, created_by: 'Optional[str]' = None, default_data_access_config_id: 'Optional[str]' = None, delta_sharing_organization_name: 'Optional[str]' = None, delta_sharing_recipient_token_lifetime_in_seconds: 'Optional[int]' = None, delta_sharing_scope: 'Optional[DeltaSharingScopeEnum]' = None, external_access_enabled: 'Optional[bool]' = None, global_metastore_id: 'Optional[str]' = None, metastore_id: 'Optional[str]' = None, name: 'Optional[str]' = None, owner: 'Optional[str]' = None, privilege_model_version: 'Optional[str]' = None, region: 'Optional[str]' = None, storage_root: 'Optional[str]' = None, storage_root_credential_id: 'Optional[str]' = None, storage_root_credential_name: 'Optional[str]' = None, updated_at: 'Optional[int]' = None, updated_by: 'Optional[str]' = None)
cloud: str | None = None

Cloud vendor of the metastore home shard (e.g., aws, azure, gcp).

created_at: int | None = None

Time at which this metastore was created, in epoch milliseconds.

created_by: str | None = None

Username of metastore creator.

default_data_access_config_id: str | None = None

Unique identifier of the metastore’s (Default) Data Access Configuration.

delta_sharing_organization_name: str | None = None

The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name.

delta_sharing_recipient_token_lifetime_in_seconds: int | None = None

The lifetime of delta sharing recipient token in seconds.

delta_sharing_scope: DeltaSharingScopeEnum | None = None

The scope of Delta Sharing enabled for the metastore.

external_access_enabled: bool | None = None

Whether to allow non-DBR clients to directly access entities under the metastore.

global_metastore_id: str | None = None

Globally unique metastore ID across clouds and regions, of the form cloud:region:metastore_id.

metastore_id: str | None = None

Unique identifier of metastore.

name: str | None = None

The user-specified name of the metastore.

owner: str | None = None

The owner of the metastore.

privilege_model_version: str | None = None

Privilege model version of the metastore, of the form major.minor (e.g., 1.0).

region: str | None = None

Cloud region which the metastore serves (e.g., us-west-2, westus).

storage_root: str | None = None

The storage root URL for metastore

storage_root_credential_id: str | None = None

UUID of storage credential to access the metastore storage_root.

storage_root_credential_name: str | None = None

Name of the storage credential to access the metastore storage_root.

updated_at: int | None = None

Time at which the metastore was last modified, in epoch milliseconds.

updated_by: str | None = None

Username of user who last modified the metastore.

as_dict() dict

Serializes the MetastoreInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the MetastoreInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) MetastoreInfo

Deserializes the MetastoreInfo from a dictionary.

class databricks.sdk.service.catalog.ModelProviderService(browse_only: bool | None = None, comment: str | None = None, config: ModelProviderServiceConfig | None = None, create_time: Timestamp | None = None, created_by: str | None = None, effective_owner: str | None = None, etag: str | None = None, metastore_id: str | None = None, name: str | None = None, owner: str | None = None, update_time: Timestamp | None = None, updated_by: str | None = None)

A governed external model-provider connection stored in Unity Catalog (e.g. an OpenAI API account, an Azure OpenAI deployment, an Amazon Bedrock account). Owns the provider type and the auth/configuration the platform needs to invoke that provider, and is referenced from ExternalModelConfig.model_provider_service on a ModelService.

One ModelProviderService can back many ModelServices (e.g. an openai_prod provider serving multiple models); a single ModelService can fan out across multiple ModelProviderServices for traffic split or failover.

browse_only: bool | None = None

Whether the caller sees only metadata available through the BROWSE privilege.

comment: str | None = None

User-provided description.

config: ModelProviderServiceConfig | None = None

Behavioral configuration: provider connection, model catalog, and passthrough policy. See ModelProviderServiceConfig for the per-field contract. Required on CreateModelProviderService; on Update it is required only when config (or a config.* subpath) appears in update_mask.

create_time: Timestamp | None = None

When the provider service was created.

created_by: str | None = None

Creator identity.

effective_owner: str | None = None

The resolved owner of the model provider service. Falls back to the caller’s identity when owner is not explicitly set on creation.

etag: str | None = None

Optimistic concurrency control token. Server-generated from the entity’s state and returned on every read. To use it as an if-match precondition on a mutation, echo the last-read value back via the dedicated etag field on the Update / Delete request; the server rejects the mutation if the stored etag differs.

metastore_id: str | None = None

Metastore hosting the provider service.

name: str | None = None

Resource name of the provider service. Format: model-provider-services/{catalog}.{schema}.{model_provider_service}. Each {...} component is capped at 255 characters individually. Server-derived on Create from parent + model_provider_service_id; required and immutable on Update/Get/Delete.

owner: str | None = None

The owner of the model provider service. Write-only; read owner via effective_owner.

update_time: Timestamp | None = None

When the provider service was last modified.

updated_by: str | None = None

Identity of the last updater.

as_dict() dict

Serializes the ModelProviderService into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderService into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderService

Deserializes the ModelProviderService from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfig(allow_all_targets: bool | None = None, amazon_bedrock: ModelProviderServiceConfigAmazonBedrockProviderConfig | None = None, anthropic: ModelProviderServiceConfigAnthropicProviderConfig | None = None, azure_openai: ModelProviderServiceConfigAzureOpenAiProviderConfig | None = None, custom: ModelProviderServiceConfigCustomProviderConfig | None = None, forward_headers: bool | None = None, forward_query_parameters: bool | None = None, forward_unmanaged_paths: bool | None = None, gemini_enterprise: ModelProviderServiceConfigGeminiEnterpriseProviderConfig | None = None, inference_table: InferenceTableConfig | None = None, microsoft_foundry: ModelProviderServiceConfigMicrosoftFoundryProviderConfig | None = None, openai: ModelProviderServiceConfigOpenAiProviderConfig | None = None, provider_type: ModelProviderServiceConfigExternalModelProviderType | None = None, rate_limits: List[RateLimit] | None = None, targets: List[ModelProviderServiceConfigModelTargetConfig] | None = None)

Behavioral configuration for a ModelProviderService: provider connection (auth + provider-specific fields), the catalog of models this provider service can route to, and the passthrough policy that governs how request headers, query parameters, and unmanaged subpaths cross the trust boundary to the upstream provider.

allow_all_targets: bool | None = None

When true, accepts any model exposed by the upstream provider; targets is not required and does not restrict routability. When false, only models listed in targets are routable.

amazon_bedrock: ModelProviderServiceConfigAmazonBedrockProviderConfig | None = None
anthropic: ModelProviderServiceConfigAnthropicProviderConfig | None = None
azure_openai: ModelProviderServiceConfigAzureOpenAiProviderConfig | None = None
custom: ModelProviderServiceConfigCustomProviderConfig | None = None
forward_headers: bool | None = None

Whether to forward incoming request headers to the upstream provider. Applies to managed (multi-model) requests as well as passthrough requests served by this provider service. Governance-level decision by the provider service owner; not selectable per inference call.

forward_query_parameters: bool | None = None

Whether to forward incoming request query parameters to the upstream provider. Same trust-boundary semantics as forward_headers.

forward_unmanaged_paths: bool | None = None

Whether to forward request paths that fall outside this service’s managed API set to the upstream provider as opaque passthrough. When true, requests addressed to subpaths not recognized by the managed API surface are proxied to the upstream provider over the same provider connection. When false, only managed-API paths are served. Governance-level decision by the provider service owner; expanding this expands the trust boundary that the ModelProviderService exposes.

gemini_enterprise: ModelProviderServiceConfigGeminiEnterpriseProviderConfig | None = None
inference_table: InferenceTableConfig | None = None

Inference table configuration for payload logging when this provider service is invoked directly. When it is invoked through a model service, the model service’s own inference table captures the invocation instead. Mirrors ModelServiceConfig.inference_table / AgentServiceConfig.inference_table.

microsoft_foundry: ModelProviderServiceConfigMicrosoftFoundryProviderConfig | None = None
openai: ModelProviderServiceConfigOpenAiProviderConfig | None = None
provider_type: ModelProviderServiceConfigExternalModelProviderType | None = None

Provider type discriminator. Required at create time; immutable after. Determines which variant of the provider oneof must be set. May not be changed via Update; attempts to include config.provider_type in UpdateModelProviderServiceRequest.update_mask are rejected.

Required on CreateModelProviderService and immutable thereafter.

rate_limits: List[RateLimit] | None = None

Rate limits applied when this provider service is invoked directly. When it is invoked through a model service, the model service’s own rate_limits apply instead. Mirrors ModelServiceConfig.rate_limits / McpServiceConfig.rate_limits.

targets: List[ModelProviderServiceConfigModelTargetConfig] | None = None

Routing targets this provider service exposes (provider-side model identifier + unified API types per entry). Required (>=1) when allow_all_targets = false; optional and additive when allow_all_targets = true. References from ExternalModelConfig.target must match an entry here unless allow_all_targets = true.

as_dict() dict

Serializes the ModelProviderServiceConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfig

Deserializes the ModelProviderServiceConfig from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigAmazonBedrockProviderConfig(direct: ModelProviderServiceConfigAmazonBedrockProviderDirectConfig | None = None)

Amazon Bedrock provider configuration.

direct: ModelProviderServiceConfigAmazonBedrockProviderDirectConfig | None = None
as_dict() dict

Serializes the ModelProviderServiceConfigAmazonBedrockProviderConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigAmazonBedrockProviderConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigAmazonBedrockProviderConfig

Deserializes the ModelProviderServiceConfigAmazonBedrockProviderConfig from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigAmazonBedrockProviderDirectConfig(aws_access_key: ModelProviderServiceConfigAwsAccessKey | None = None, region: str | None = None, service_credential: ModelProviderServiceConfigServiceCredential | None = None)

Direct form of Amazon Bedrock provider config.

Authentication is one of two mutually exclusive modes, exactly one of which must be supplied on Create:

  • Access keys: set aws_access_key, leave service_credential unset.

  • UC service credential: set service_credential.name to the AIP-122 resource-name form credentials/{name}, leave aws_access_key unset. The credential value lives in UC and is referenced by name, not held on this message. Setting more than one mode is rejected.

aws_access_key: ModelProviderServiceConfigAwsAccessKey | None = None

AWS access-key-pair auth. Mutually exclusive with service_credential. Supersedes the flat aws_access_key_id / aws_secret_access_key fields.

region: str | None = None

AWS region where the Bedrock endpoint is hosted (e.g., us-east-1). Required on Create.

service_credential: ModelProviderServiceConfigServiceCredential | None = None

Reference to a UC service credential authorizing Bedrock requests. On Create the caller supplies service_credential.name in the AIP-122 resource-name form credentials/{name}. Required on Create when using UC-service-credential auth; mutually exclusive with aws_access_key. The credential is referenced by name; its value is not carried here. On read the resolved id and is_deleted are also populated. Only supported on AWS-hosted workspaces; Create requests from other clouds are rejected with INVALID_PARAMETER_VALUE.

as_dict() dict

Serializes the ModelProviderServiceConfigAmazonBedrockProviderDirectConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigAmazonBedrockProviderDirectConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigAmazonBedrockProviderDirectConfig

Deserializes the ModelProviderServiceConfigAmazonBedrockProviderDirectConfig from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigAnthropicProviderConfig(direct: ModelProviderServiceConfigAnthropicProviderDirectConfig | None = None, relayed: ModelProviderServiceConfigAnthropicProviderRelayedConfig | None = None)

Anthropic provider configuration. Exactly one of direct or relayed must be set on Create; the two are mutually exclusive.

direct: ModelProviderServiceConfigAnthropicProviderDirectConfig | None = None

Direct (inline-credentials) form: caller supplies the API key in the request body. Required on Create unless relayed is set.

relayed: ModelProviderServiceConfigAnthropicProviderRelayedConfig | None = None

Relayed (credential-less) form: no Anthropic credential is stored. Each inference request instead carries the caller’s own OAuth token, which the platform forwards to Anthropic on outbound requests. Mutually exclusive with direct; no api_key is required or persisted.

as_dict() dict

Serializes the ModelProviderServiceConfigAnthropicProviderConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigAnthropicProviderConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigAnthropicProviderConfig

Deserializes the ModelProviderServiceConfigAnthropicProviderConfig from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigAnthropicProviderDirectConfig(api_key: ModelProviderServiceConfigProviderSecret | None = None)

Direct form of Anthropic provider config.

api_key: ModelProviderServiceConfigProviderSecret | None = None

Anthropic API key. Required on Create. Sent as the x-api-key header on outbound requests. Supplied as inline plaintext via ProviderSecret.plaintext.

as_dict() dict

Serializes the ModelProviderServiceConfigAnthropicProviderDirectConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigAnthropicProviderDirectConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigAnthropicProviderDirectConfig

Deserializes the ModelProviderServiceConfigAnthropicProviderDirectConfig from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigAnthropicProviderRelayedConfig(plan_type: ModelProviderServiceConfigAnthropicProviderRelayedConfigAnthropicRelayedPlanType | None = None)

Relayed form of Anthropic provider config: no credential is stored. Authentication is the caller’s own OAuth token, forwarded to Anthropic on outbound requests, so there is no persisted secret. Presence of this variant is the signal that the provider service uses relayed auth; plan_type further distinguishes which Anthropic subscription tier the token belongs to.

plan_type: ModelProviderServiceConfigAnthropicProviderRelayedConfigAnthropicRelayedPlanType | None = None

Which Anthropic subscription tier the relayed token belongs to. Optional; when unset the MPS gets the full governance surface (see TEAM_ENTERPRISE). Immutable after Create, so the tier cannot be flipped in place.

as_dict() dict

Serializes the ModelProviderServiceConfigAnthropicProviderRelayedConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigAnthropicProviderRelayedConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigAnthropicProviderRelayedConfig

Deserializes the ModelProviderServiceConfigAnthropicProviderRelayedConfig from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigAnthropicProviderRelayedConfigAnthropicRelayedPlanType

Which Anthropic subscription tier the relayed OAuth token belongs to. Immutable after Create (switching tiers changes which governance controls the platform enforces). Only MAX and TEAM_ENTERPRISE differ in the governance surface the gateway can enforce, not in how the token is relayed.

ANTHROPIC_RELAYED_PLAN_TYPE_MAX = "ANTHROPIC_RELAYED_PLAN_TYPE_MAX"
ANTHROPIC_RELAYED_PLAN_TYPE_TEAM_ENTERPRISE = "ANTHROPIC_RELAYED_PLAN_TYPE_TEAM_ENTERPRISE"
class databricks.sdk.service.catalog.ModelProviderServiceConfigAwsAccessKey(access_key_id: str | None = None, secret_access_key: ModelProviderServiceConfigProviderSecret | None = None)

AWS access-key-pair auth for Amazon Bedrock: a SigV4-signing key pair.

access_key_id: str | None = None

AWS access key ID. Required on Create when using access-key auth. Treated as username-equivalent (not a secret value): round-trips on reads and is scrubbed from audit logs.

secret_access_key: ModelProviderServiceConfigProviderSecret | None = None

AWS secret access key paired with access_key_id. Required on Create when using access-key auth. Supplied as inline plaintext via ProviderSecret.plaintext.

as_dict() dict

Serializes the ModelProviderServiceConfigAwsAccessKey into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigAwsAccessKey into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigAwsAccessKey

Deserializes the ModelProviderServiceConfigAwsAccessKey from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigAzureOpenAiProviderConfig(direct: ModelProviderServiceConfigAzureOpenAiProviderDirectConfig | None = None)

Azure OpenAI provider configuration.

direct: ModelProviderServiceConfigAzureOpenAiProviderDirectConfig | None = None
as_dict() dict

Serializes the ModelProviderServiceConfigAzureOpenAiProviderConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigAzureOpenAiProviderConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigAzureOpenAiProviderConfig

Deserializes the ModelProviderServiceConfigAzureOpenAiProviderConfig from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigAzureOpenAiProviderDirectConfig(api_key: ModelProviderServiceConfigProviderSecret | None = None, base_url: str | None = None, entra_service_principal: ModelProviderServiceConfigEntraServicePrincipal | None = None, service_credential: ModelProviderServiceConfigServiceCredential | None = None)

Direct form of Azure OpenAI provider config. Exactly one of three mutually-exclusive auth modes must be supplied on Create:

  • API key: set api_key, leave entra_service_principal and service_credential unset.

  • Entra ID (service principal): set entra_service_principal, leave api_key and service_credential unset.

  • UC service credential: set service_credential.name to the AIP-122 resource-name form credentials/{name}, leave api_key and entra_service_principal unset. The credential value lives in UC and is referenced by name, not held on this message. Only supported on Azure-hosted workspaces. Setting more than one mode is rejected.

api_key: ModelProviderServiceConfigProviderSecret | None = None

Azure OpenAI API key. Mutually exclusive with the Entra and service-credential modes. Supplied as inline plaintext via ProviderSecret.plaintext.

base_url: str | None = None

Full Azure OpenAI endpoint base URL, e.g. https://myresource.openai.azure.com. Required on Create.

entra_service_principal: ModelProviderServiceConfigEntraServicePrincipal | None = None

Entra ID (service principal) auth. Mutually exclusive with api_key and service_credential. Supersedes the flat tenant_id / client_id / client_secret fields.

service_credential: ModelProviderServiceConfigServiceCredential | None = None

Reference to a UC service credential authorizing Azure OpenAI requests. On Create the caller supplies service_credential.name in the AIP-122 resource-name form credentials/{name}. Required on Create when using UC-service-credential auth; mutually exclusive with api_key and entra_service_principal. The credential is referenced by name; its value is not carried here. On read the resolved id and is_deleted are also populated. Only supported on Azure-hosted workspaces; Create requests from other clouds are rejected with INVALID_PARAMETER_VALUE.

as_dict() dict

Serializes the ModelProviderServiceConfigAzureOpenAiProviderDirectConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigAzureOpenAiProviderDirectConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigAzureOpenAiProviderDirectConfig

Deserializes the ModelProviderServiceConfigAzureOpenAiProviderDirectConfig from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigCustomProviderConfig(direct: ModelProviderServiceConfigCustomProviderDirectConfig | None = None)

Custom provider configuration: arbitrary HTTP endpoint with bearer-token auth.

direct: ModelProviderServiceConfigCustomProviderDirectConfig | None = None
as_dict() dict

Serializes the ModelProviderServiceConfigCustomProviderConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigCustomProviderConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigCustomProviderConfig

Deserializes the ModelProviderServiceConfigCustomProviderConfig from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigCustomProviderDirectConfig(api_key: ModelProviderServiceConfigProviderSecret | None = None, base_url: str | None = None)

Direct form of custom provider config.

Authentication is one of two mutually exclusive modes, exactly one of which must be supplied on Create:

  • Bearer: set api_key, leave header_auth unset. The secret is forwarded as Authorization: Bearer <secret>.

  • Header: set header_auth, leave api_key unset. The secret is forwarded as <api_key_name>: <api_key_value>. Setting both modes or neither mode is rejected.

api_key: ModelProviderServiceConfigProviderSecret | None = None

Bearer token forwarded as the Authorization: Bearer ... header on outbound requests. Supplied as inline plaintext via ProviderSecret.plaintext. Set this for bearer-token auth.

base_url: str | None = None

Endpoint URL of the OpenAI-compatible service (e.g., https://api.example.com/v1). Required on Create.

as_dict() dict

Serializes the ModelProviderServiceConfigCustomProviderDirectConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigCustomProviderDirectConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigCustomProviderDirectConfig

Deserializes the ModelProviderServiceConfigCustomProviderDirectConfig from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigEntraServicePrincipal(client_id: str | None = None, client_secret: ModelProviderServiceConfigProviderSecret | None = None, tenant_id: str | None = None)

Entra ID (Azure AD) service-principal auth: AI Gateway exchanges the tenant_id + client_id identify the service principal, and the credential oneof proves that identity, exchanged for an Entra bearer token on outbound requests via the OAuth2 client-credentials grant. Shared by the Azure OpenAI and Microsoft Foundry provider configs.

client_id: str | None = None

Entra ID client (application) ID. Required on Create.

client_secret: ModelProviderServiceConfigProviderSecret | None = None

Entra ID client secret. Supplied as inline plaintext via ProviderSecret.plaintext.

tenant_id: str | None = None

Entra ID (Azure AD) tenant ID. Required on Create.

as_dict() dict

Serializes the ModelProviderServiceConfigEntraServicePrincipal into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigEntraServicePrincipal into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigEntraServicePrincipal

Deserializes the ModelProviderServiceConfigEntraServicePrincipal from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigExternalModelProviderType

External LLM provider for an EXTERNAL_FOUNDATION_MODEL destination.

EXTERNAL_MODEL_PROVIDER_TYPE_AMAZON_BEDROCK = "EXTERNAL_MODEL_PROVIDER_TYPE_AMAZON_BEDROCK"
EXTERNAL_MODEL_PROVIDER_TYPE_ANTHROPIC = "EXTERNAL_MODEL_PROVIDER_TYPE_ANTHROPIC"
EXTERNAL_MODEL_PROVIDER_TYPE_AZURE_OPENAI = "EXTERNAL_MODEL_PROVIDER_TYPE_AZURE_OPENAI"
EXTERNAL_MODEL_PROVIDER_TYPE_CUSTOM = "EXTERNAL_MODEL_PROVIDER_TYPE_CUSTOM"
EXTERNAL_MODEL_PROVIDER_TYPE_GEMINI_ENTERPRISE = "EXTERNAL_MODEL_PROVIDER_TYPE_GEMINI_ENTERPRISE"
EXTERNAL_MODEL_PROVIDER_TYPE_MICROSOFT_FOUNDRY = "EXTERNAL_MODEL_PROVIDER_TYPE_MICROSOFT_FOUNDRY"
EXTERNAL_MODEL_PROVIDER_TYPE_OPENAI = "EXTERNAL_MODEL_PROVIDER_TYPE_OPENAI"
class databricks.sdk.service.catalog.ModelProviderServiceConfigGeminiEnterpriseProviderConfig(direct: ModelProviderServiceConfigGeminiEnterpriseProviderDirectConfig | None = None)

Gemini Enterprise provider configuration.

direct: ModelProviderServiceConfigGeminiEnterpriseProviderDirectConfig | None = None
as_dict() dict

Serializes the ModelProviderServiceConfigGeminiEnterpriseProviderConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigGeminiEnterpriseProviderConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigGeminiEnterpriseProviderConfig

Deserializes the ModelProviderServiceConfigGeminiEnterpriseProviderConfig from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigGeminiEnterpriseProviderDirectConfig(api_key: ModelProviderServiceConfigProviderSecret | None = None, project_id: str | None = None, region: str | None = None, service_credential: ModelProviderServiceConfigServiceCredential | None = None)

Direct form of Gemini Enterprise provider config.

Authentication is one of two mutually exclusive modes; exactly one must be supplied on Create:

  • API key: set api_key, leave service_credential unset.

  • UC service credential: set service_credential, leave api_key unset.

api_key: ModelProviderServiceConfigProviderSecret | None = None

Google Gemini Enterprise API key. Required on Create when using API-key auth; mutually exclusive with service_credential. Supplied as inline plaintext via ProviderSecret.plaintext.

project_id: str | None = None

GCP project ID hosting the Gemini Enterprise endpoint. Required on Create.

region: str | None = None

GCP region of the Gemini Enterprise endpoint (e.g., us-central1). Required on Create.

service_credential: ModelProviderServiceConfigServiceCredential | None = None

Reference to a UC service credential authorizing Gemini Enterprise requests. On Create, supply service_credential.name as credentials/{name}; required when using UC-service-credential auth and mutually exclusive with api_key. The credential is referenced by name; its value is not carried here. On read, the resolved id and is_deleted are also populated. Supported only on GCP-hosted workspaces.

as_dict() dict

Serializes the ModelProviderServiceConfigGeminiEnterpriseProviderDirectConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigGeminiEnterpriseProviderDirectConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigGeminiEnterpriseProviderDirectConfig

Deserializes the ModelProviderServiceConfigGeminiEnterpriseProviderDirectConfig from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigMicrosoftFoundryProviderConfig(direct: ModelProviderServiceConfigMicrosoftFoundryProviderDirectConfig | None = None)

Microsoft Foundry provider configuration.

direct: ModelProviderServiceConfigMicrosoftFoundryProviderDirectConfig | None = None
as_dict() dict

Serializes the ModelProviderServiceConfigMicrosoftFoundryProviderConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigMicrosoftFoundryProviderConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigMicrosoftFoundryProviderConfig

Deserializes the ModelProviderServiceConfigMicrosoftFoundryProviderConfig from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigMicrosoftFoundryProviderDirectConfig(api_key: ModelProviderServiceConfigProviderSecret | None = None, base_url: str | None = None, entra_service_principal: ModelProviderServiceConfigEntraServicePrincipal | None = None, service_credential: ModelProviderServiceConfigServiceCredential | None = None)

Direct form of Microsoft Foundry provider config.

Authentication is one of three mutually exclusive modes, exactly one of which must be supplied on Create:

  • API key: set api_key, leave entra_service_principal and service_credential unset.

  • Entra ID (service principal): set entra_service_principal, leave api_key and service_credential unset. AI Gateway exchanges these for an Entra bearer token on outbound requests via the OAuth2 client-credentials grant.

  • UC service credential: set service_credential.name to the AIP-122 resource-name form credentials/{name}, leave api_key and entra_service_principal unset. The credential value lives in UC and is referenced by name, not held on this message. Only supported on Azure-hosted workspaces. Setting more than one mode is rejected.

api_key: ModelProviderServiceConfigProviderSecret | None = None

Microsoft AI Foundry API key. Mutually exclusive with the Entra and service-credential modes. Supplied as inline plaintext via ProviderSecret.plaintext.

base_url: str | None = None

Microsoft AI Foundry endpoint URL. Required on Create.

entra_service_principal: ModelProviderServiceConfigEntraServicePrincipal | None = None

Entra ID (service principal) auth. Mutually exclusive with api_key and service_credential. Supersedes the flat tenant_id / client_id / client_secret fields.

service_credential: ModelProviderServiceConfigServiceCredential | None = None

Reference to a UC service credential authorizing Microsoft Foundry requests. On Create the caller supplies service_credential.name in the AIP-122 resource-name form credentials/{name}. Required on Create when using UC-service-credential auth; mutually exclusive with api_key and entra_service_principal. The credential is referenced by name; its value is not carried here. On read the resolved id and is_deleted are also populated. Only supported on Azure-hosted workspaces; Create requests from other clouds are rejected with INVALID_PARAMETER_VALUE.

as_dict() dict

Serializes the ModelProviderServiceConfigMicrosoftFoundryProviderDirectConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigMicrosoftFoundryProviderDirectConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigMicrosoftFoundryProviderDirectConfig

Deserializes the ModelProviderServiceConfigMicrosoftFoundryProviderDirectConfig from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigModelTargetConfig(model: str, native_api_types: List[str] | None = None)

Model target configuration for an external model destination.

model: str

Provider-side model identifier (e.g. “gpt-5”, “claude-opus-4-7”). This is a string on the LLM provider’s side, not a UC entity. The UC governance hook for external destinations is the ModelProviderService referenced by ExternalModelConfig.model_provider_service, not the model itself.

native_api_types: List[str] | None = None

Provider-native API types the model supports (e.g. “openai/v1/chat/completions”). Used by the platform for request/response translation from the unified API type. At most 64 entries of at most 256 characters each; the list is persisted into the destination binding’s bounded storage envelope.

as_dict() dict

Serializes the ModelProviderServiceConfigModelTargetConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigModelTargetConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigModelTargetConfig

Deserializes the ModelProviderServiceConfigModelTargetConfig from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigOpenAiProviderConfig(direct: ModelProviderServiceConfigOpenAiProviderDirectConfig | None = None)

OpenAI provider configuration.

direct: ModelProviderServiceConfigOpenAiProviderDirectConfig | None = None
as_dict() dict

Serializes the ModelProviderServiceConfigOpenAiProviderConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigOpenAiProviderConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigOpenAiProviderConfig

Deserializes the ModelProviderServiceConfigOpenAiProviderConfig from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigOpenAiProviderDirectConfig(api_key: ModelProviderServiceConfigProviderSecret | None = None, base_url: str | None = None, organization: str | None = None)

Direct (inline-credentials) form of the OpenAI provider config.

api_key: ModelProviderServiceConfigProviderSecret | None = None

OpenAI API key. Required on Create. Supplied as inline plaintext via ProviderSecret.plaintext.

base_url: str | None = None

Optional custom base URL. Defaults to https://api.openai.com/v1. Use for OpenAI-API-compatible third-party endpoints or in-network proxies.

organization: str | None = None

Optional OpenAI organization ID. When set, the platform forwards it as the OpenAI-Organization header.

as_dict() dict

Serializes the ModelProviderServiceConfigOpenAiProviderDirectConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigOpenAiProviderDirectConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigOpenAiProviderDirectConfig

Deserializes the ModelProviderServiceConfigOpenAiProviderDirectConfig from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigProviderSecret(plaintext: str | None = None)

A secret value supplied as part of an inline provider config. The caller supplies the value as inline plaintext on writes; the platform stores it encrypted. The plaintext field is INPUT_ONLY and never round-trips on reads.

plaintext: str | None = None

Inline plaintext credential. INPUT_ONLY: the value never round-trips on reads. Get and List responses omit plaintext; the field’s presence in the read shape only indicates that a secret is configured.

as_dict() dict

Serializes the ModelProviderServiceConfigProviderSecret into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigProviderSecret into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigProviderSecret

Deserializes the ModelProviderServiceConfigProviderSecret from a dictionary.

class databricks.sdk.service.catalog.ModelProviderServiceConfigServiceCredential(name: str)

—- Provider configuration (nested; see the provider oneof below) —- The customer-owned UC service credential a ModelProviderService uses to authenticate to its provider, referenced by name.

name: str

Resource name of the bound UC service credential, in the AIP-122 form credentials/{name} (a metastore-level single-part credential name). On create the caller supplies the name here. On read it reflects the credential’s current name at read time.

as_dict() dict

Serializes the ModelProviderServiceConfigServiceCredential into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelProviderServiceConfigServiceCredential into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelProviderServiceConfigServiceCredential

Deserializes the ModelProviderServiceConfigServiceCredential from a dictionary.

class databricks.sdk.service.catalog.ModelService(browse_only: bool | None = None, comment: str | None = None, config: ModelServiceConfig | None = None, create_time: Timestamp | None = None, created_by: str | None = None, effective_owner: str | None = None, etag: str | None = None, metastore_id: str | None = None, name: str | None = None, owner: str | None = None, supported_api_types: List[str] | None = None, update_time: Timestamp | None = None, updated_by: str | None = None)

A governed AI Gateway endpoint in Unity Catalog that routes inference requests to one or more model destinations (for example a foundation model or an external LLM reached through a ModelProviderService). Applies centralized access control, rate limits, guardrails, and auditing to the traffic it serves.

browse_only: bool | None = None

Whether the caller sees only metadata available through the BROWSE privilege.

comment: str | None = None

User-provided description.

config: ModelServiceConfig | None = None

Operational configuration: destinations, routing, rate limits, inference table. Required on CreateModelService; on UpdateModelService it is required only when config (or a config.* subpath) appears in update_mask.

create_time: Timestamp | None = None

When the model service was created.

created_by: str | None = None

Creator identity.

effective_owner: str | None = None

The resolved owner of the ModelService. Falls back to the caller’s identity when owner is not explicitly set on creation.

etag: str | None = None

Optimistic concurrency control token. Server-generated from the entity’s state and returned on every read. To use it as an if-match precondition on a mutation, echo the last-read value back via the dedicated etag field on the Update / Delete request; the server rejects the mutation if the stored etag differs.

metastore_id: str | None = None

Metastore hosting the model service.

name: str | None = None

Resource name of the model service. Format: model-services/{catalog}.{schema}.{model_service}. Each {...} component is capped at 255 characters individually. Server-derived on Create from parent + model_service_id; required and immutable on Update/Get/Delete.

owner: str | None = None

The owner of the model service. Write-only; read owner via effective_owner.

supported_api_types: List[str] | None = None

Unified API types this endpoint supports (e.g. “chat”, “embeddings”, “completions”). Derived from the destinations’ backing models / providers at read time.

update_time: Timestamp | None = None

When the model service was last modified.

updated_by: str | None = None

Identity of the last updater.

as_dict() dict

Serializes the ModelService into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelService into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelService

Deserializes the ModelService from a dictionary.

class databricks.sdk.service.catalog.ModelServiceConfig(inference_table: InferenceTableConfig | None = None, rate_limits: List[RateLimit] | None = None, routing: ModelServiceConfigRoutingConfig | None = None)

Operational configuration wrapped around the ModelService resource.

inference_table: InferenceTableConfig | None = None

Inference table config for payload logging.

rate_limits: List[RateLimit] | None = None

Rate limits applied to requests routed through this model service.

routing: ModelServiceConfigRoutingConfig | None = None

Routing configuration: destinations, routing strategy, and fallback.

as_dict() dict

Serializes the ModelServiceConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelServiceConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelServiceConfig

Deserializes the ModelServiceConfig from a dictionary.

class databricks.sdk.service.catalog.ModelServiceConfigDestinationConfig(name: str, destination_type: ModelServiceConfigDestinationConfigDestinationType, external_model_config: ModelServiceConfigExternalModelConfig | None = None, is_deleted: bool | None = None, pay_per_token_config: ModelServiceConfigPayPerTokenConfig | None = None, provisioned_throughput_config: ModelServiceConfigProvisionedThroughputConfig | None = None, traffic_percentage: int | None = None)

A destination the model service can route traffic to. Exactly one of the per-type configs inside type_config must be set, and it must match destination_type.

name: str

User-facing label for this destination, used in routing references.

destination_type: ModelServiceConfigDestinationConfigDestinationType

Backing-model category. Determines which oneof variant is populated.

external_model_config: ModelServiceConfigExternalModelConfig | None = None
is_deleted: bool | None = None

True when the destination’s backing UC entity (MODEL for foundation-model destinations, MODEL_PROVIDER_SERVICE for external destinations) has been deleted but the destination row still references it. The dangling destination is surfaced (not silently dropped) so callers can see the broken routing. Inference traffic through this destination fails closed (BAD_REQUEST / FAILED_PRECONDITION).

pay_per_token_config: ModelServiceConfigPayPerTokenConfig | None = None
provisioned_throughput_config: ModelServiceConfigProvisionedThroughputConfig | None = None
traffic_percentage: int | None = None

Share of traffic sent to this destination, 0-100. Optional on fallback destinations; see FallbackConfig.

as_dict() dict

Serializes the ModelServiceConfigDestinationConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelServiceConfigDestinationConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelServiceConfigDestinationConfig

Deserializes the ModelServiceConfigDestinationConfig from a dictionary.

class databricks.sdk.service.catalog.ModelServiceConfigDestinationConfigDestinationType

Backing-model category for a model service destination.

DESTINATION_TYPE_EXTERNAL_FOUNDATION_MODEL = "DESTINATION_TYPE_EXTERNAL_FOUNDATION_MODEL"
DESTINATION_TYPE_PAY_PER_TOKEN_FOUNDATION_MODEL = "DESTINATION_TYPE_PAY_PER_TOKEN_FOUNDATION_MODEL"
DESTINATION_TYPE_PROVISIONED_THROUGHPUT_FOUNDATION_MODEL = "DESTINATION_TYPE_PROVISIONED_THROUGHPUT_FOUNDATION_MODEL"
class databricks.sdk.service.catalog.ModelServiceConfigExternalModelConfig(model_provider_service: str, target: ModelProviderServiceConfigModelTargetConfig)

Configuration for an external-foundation-model destination. Provider auth and provider-specific cloud configuration are owned by a separate, governed ModelProviderService entity referenced via model_provider_service; the platform resolves the provider at invocation time.

model_provider_service: str

Resource name of the governed ModelProviderService that owns provider auth and provider-specific configuration. The referenced ModelProviderService also carries the provider type, so this message does not surface it directly. Format: model-provider-services/{catalog}.{schema}.{model_provider_service}. Each {...} component is capped at 255 characters individually.

target: ModelProviderServiceConfigModelTargetConfig

Routing target for the destination: the provider-side model selected from the referenced ModelProviderService’s targets catalog, plus the unified API types the platform should translate to/from at request time.

as_dict() dict

Serializes the ModelServiceConfigExternalModelConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelServiceConfigExternalModelConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelServiceConfigExternalModelConfig

Deserializes the ModelServiceConfigExternalModelConfig from a dictionary.

class databricks.sdk.service.catalog.ModelServiceConfigFallbackConfig(destinations: List[ModelServiceConfigDestinationConfig] | None = None)

Fallback routing, applied after the primary destination returns a retryable error. Traversal is in list order; the attempt count is the length of the list.

destinations: List[ModelServiceConfigDestinationConfig] | None = None

Ordered list of fallback destinations. Traversal is in list order; the attempt count is the length of the list. At most 5 are allowed.

as_dict() dict

Serializes the ModelServiceConfigFallbackConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelServiceConfigFallbackConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelServiceConfigFallbackConfig

Deserializes the ModelServiceConfigFallbackConfig from a dictionary.

class databricks.sdk.service.catalog.ModelServiceConfigPayPerTokenConfig(model: str)

Configuration for a pay-per-token foundation-model destination. Identifies the foundation model by its UC resource name; the platform resolves it to a Model Serving endpoint at request time.

model: str

Resource name of the UC model. Format: models/{catalog}.{schema}.{model}.

as_dict() dict

Serializes the ModelServiceConfigPayPerTokenConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelServiceConfigPayPerTokenConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelServiceConfigPayPerTokenConfig

Deserializes the ModelServiceConfigPayPerTokenConfig from a dictionary.

class databricks.sdk.service.catalog.ModelServiceConfigProvisionedThroughputConfig(model_serving_endpoint: str, model: str | None = None)

Configuration for a provisioned-throughput foundation-model destination. References a pre-existing Model Serving endpoint that serves the model; sizing (provisioned throughput, burst scaling, model version) is owned by the Model Serving endpoint itself, not by this message.

model_serving_endpoint: str

Name of the backing Model Serving endpoint serving the provisioned- throughput foundation model, as the AIP-122 typed resource name serving-endpoints/{name}. The same UC model can be served on multiple Model Serving endpoints (different throughput / region / config); the caller picks which one this destination routes to. The endpoint must exist at create time.

model: str | None = None

UC model FQN of the model served by the backing endpoint (e.g., system.ai.databricks-claude-opus-4-6). Resolved from Model Serving at Create/Update time.

as_dict() dict

Serializes the ModelServiceConfigProvisionedThroughputConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelServiceConfigProvisionedThroughputConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelServiceConfigProvisionedThroughputConfig

Deserializes the ModelServiceConfigProvisionedThroughputConfig from a dictionary.

class databricks.sdk.service.catalog.ModelServiceConfigRoutingConfig(destinations: List[ModelServiceConfigDestinationConfig] | None = None, fallback: ModelServiceConfigFallbackConfig | None = None, first_token_timeout: Duration | None = None, traffic_splitting: ModelServiceConfigRoutingConfigTrafficSplitting | None = None)

Routing configuration for a model service, nesting destinations, routing strategy, and fallback under a single sub-message.

destinations: List[ModelServiceConfigDestinationConfig] | None = None

Primary routing destinations. At most 10 are allowed. At least one is required on CreateModelService; on UpdateModelService it is required only when config.routing (or a config.routing.* subpath) appears in update_mask.

fallback: ModelServiceConfigFallbackConfig | None = None

Fallback routing config, applied after primary destinations fail.

first_token_timeout: Duration | None = None

Timeout for the first token of a streaming response. If a destination does not return its first token within this duration, AI Gateway aborts the attempt and fails over to the next destination. Applies to streaming requests only. Leave unset for no first-token timeout.

traffic_splitting: ModelServiceConfigRoutingConfigTrafficSplitting | None = None

Marker message selecting request-based traffic splitting. Traffic is distributed according to each destination’s traffic_percentage value; no configuration lives on this message itself.

as_dict() dict

Serializes the ModelServiceConfigRoutingConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelServiceConfigRoutingConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelServiceConfigRoutingConfig

Deserializes the ModelServiceConfigRoutingConfig from a dictionary.

class databricks.sdk.service.catalog.ModelServiceConfigRoutingConfigTrafficSplitting

Marker message selecting request-based traffic splitting across primary destinations. Split weights are read from each DestinationConfig.traffic_percentage.

as_dict() dict

Serializes the ModelServiceConfigRoutingConfigTrafficSplitting into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelServiceConfigRoutingConfigTrafficSplitting into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelServiceConfigRoutingConfigTrafficSplitting

Deserializes the ModelServiceConfigRoutingConfigTrafficSplitting from a dictionary.

class databricks.sdk.service.catalog.ModelVersionInfo(aliases: 'Optional[List[RegisteredModelAlias]]' = None, catalog_name: 'Optional[str]' = None, comment: 'Optional[str]' = None, created_at: 'Optional[int]' = None, created_by: 'Optional[str]' = None, id: 'Optional[str]' = None, metastore_id: 'Optional[str]' = None, model_name: 'Optional[str]' = None, model_version_dependencies: 'Optional[DependencyList]' = None, run_id: 'Optional[str]' = None, run_workspace_id: 'Optional[int]' = None, schema_name: 'Optional[str]' = None, source: 'Optional[str]' = None, status: 'Optional[ModelVersionInfoStatus]' = None, storage_location: 'Optional[str]' = None, updated_at: 'Optional[int]' = None, updated_by: 'Optional[str]' = None, version: 'Optional[int]' = None)
aliases: List[RegisteredModelAlias] | None = None

List of aliases associated with the model version

catalog_name: str | None = None

The name of the catalog containing the model version

comment: str | None = None

The comment attached to the model version

created_at: int | None = None
created_by: str | None = None

The identifier of the user who created the model version

id: str | None = None

The unique identifier of the model version

metastore_id: str | None = None

The unique identifier of the metastore containing the model version

model_name: str | None = None

The name of the parent registered model of the model version, relative to parent schema

model_version_dependencies: DependencyList | None = None

Model version dependencies, for feature-store packaged models

run_id: str | None = None

MLflow run ID used when creating the model version, if source was generated by an experiment run stored in an MLflow tracking server

run_workspace_id: int | None = None

ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable

schema_name: str | None = None

The name of the schema containing the model version, relative to parent catalog

source: str | None = None

URI indicating the location of the source artifacts (files) for the model version

status: ModelVersionInfoStatus | None = None

Current status of the model version. Newly created model versions start in PENDING_REGISTRATION status, then move to READY status once the model version files are uploaded and the model version is finalized. Only model versions in READY status can be loaded for inference or served.

storage_location: str | None = None

The storage location on the cloud under which model version data files are stored

updated_at: int | None = None
updated_by: str | None = None

The identifier of the user who updated the model version last time

version: int | None = None

Integer model version number, used to reference the model version in API requests.

as_dict() dict

Serializes the ModelVersionInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ModelVersionInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ModelVersionInfo

Deserializes the ModelVersionInfo from a dictionary.

class databricks.sdk.service.catalog.ModelVersionInfoStatus
FAILED_REGISTRATION = "FAILED_REGISTRATION"
MODEL_VERSION_STATUS_UNKNOWN = "MODEL_VERSION_STATUS_UNKNOWN"
PENDING_REGISTRATION = "PENDING_REGISTRATION"
READY = "READY"
class databricks.sdk.service.catalog.MonitorCronSchedule(quartz_cron_expression: 'str', timezone_id: 'str', pause_status: 'Optional[MonitorCronSchedulePauseStatus]' = None)
quartz_cron_expression: str

The expression that determines when to run the monitor. See examples.

timezone_id: str

The timezone id (e.g., PST) in which to evaluate the quartz expression.

pause_status: MonitorCronSchedulePauseStatus | None = None

Read only field that indicates whether a schedule is paused or not.

as_dict() dict

Serializes the MonitorCronSchedule into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the MonitorCronSchedule into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) MonitorCronSchedule

Deserializes the MonitorCronSchedule from a dictionary.

class databricks.sdk.service.catalog.MonitorCronSchedulePauseStatus

Source link: https://src.dev.databricks.com/databricks/universe/-/blob/elastic-spark-common/api/messages/schedule.proto Monitoring workflow schedule pause status.

PAUSED = "PAUSED"
UNPAUSED = "UNPAUSED"
UNSPECIFIED = "UNSPECIFIED"
class databricks.sdk.service.catalog.MonitorDataClassificationConfig(enabled: bool | None = None)

Data classification related configuration.

enabled: bool | None = None

Whether to enable data classification.

as_dict() dict

Serializes the MonitorDataClassificationConfig into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the MonitorDataClassificationConfig into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) MonitorDataClassificationConfig

Deserializes the MonitorDataClassificationConfig from a dictionary.

class databricks.sdk.service.catalog.MonitorDestination(email_addresses: 'Optional[List[str]]' = None)
email_addresses: List[str] | None = None

The list of email addresses to send the notification to. A maximum of 5 email addresses is supported.

as_dict() dict

Serializes the MonitorDestination into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the MonitorDestination into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) MonitorDestination

Deserializes the MonitorDestination from a dictionary.

class databricks.sdk.service.catalog.MonitorInferenceLog(problem_type: 'MonitorInferenceLogProblemType', timestamp_col: 'str', granularities: 'List[str]', prediction_col: 'str', model_id_col: 'str', label_col: 'Optional[str]' = None, prediction_proba_col: 'Optional[str]' = None)
problem_type: MonitorInferenceLogProblemType

Problem type the model aims to solve.

timestamp_col: str

Column for the timestamp.

granularities: List[str]

List of granularities to use when aggregating data into time windows based on their timestamp.

prediction_col: str

Column for the prediction.

model_id_col: str

Column for the model identifier.

label_col: str | None = None

Column for the label.

prediction_proba_col: str | None = None

Column for prediction probabilities

as_dict() dict

Serializes the MonitorInferenceLog into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the MonitorInferenceLog into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) MonitorInferenceLog

Deserializes the MonitorInferenceLog from a dictionary.

class databricks.sdk.service.catalog.MonitorInferenceLogProblemType
PROBLEM_TYPE_CLASSIFICATION = "PROBLEM_TYPE_CLASSIFICATION"
PROBLEM_TYPE_REGRESSION = "PROBLEM_TYPE_REGRESSION"
class databricks.sdk.service.catalog.MonitorInfo(output_schema_name: 'str', table_name: 'str', status: 'MonitorInfoStatus', profile_metrics_table_name: 'str', drift_metrics_table_name: 'str', monitor_version: 'int', assets_dir: 'Optional[str]' = None, baseline_table_name: 'Optional[str]' = None, custom_metrics: 'Optional[List[MonitorMetric]]' = None, dashboard_id: 'Optional[str]' = None, data_classification_config: 'Optional[MonitorDataClassificationConfig]' = None, inference_log: 'Optional[MonitorInferenceLog]' = None, latest_monitor_failure_msg: 'Optional[str]' = None, notifications: 'Optional[MonitorNotifications]' = None, schedule: 'Optional[MonitorCronSchedule]' = None, slicing_exprs: 'Optional[List[str]]' = None, snapshot: 'Optional[MonitorSnapshot]' = None, time_series: 'Optional[MonitorTimeSeries]' = None)
output_schema_name: str

[Create:REQ Update:REQ] Schema where output tables are created. Needs to be in 2-level format {catalog}.{schema}

table_name: str

[Create:ERR Update:IGN] UC table to monitor. Format: catalog.schema.table_name

status: MonitorInfoStatus

[Create:ERR Update:IGN] The monitor status.

profile_metrics_table_name: str

[Create:ERR Update:IGN] Table that stores profile metrics data. Format: catalog.schema.table_name.

drift_metrics_table_name: str

[Create:ERR Update:IGN] Table that stores drift metrics data. Format: catalog.schema.table_name.

monitor_version: int

[Create:ERR Update:IGN] Represents the current monitor configuration version in use. The version will be represented in a numeric fashion (1,2,3…). The field has flexibility to take on negative values, which can indicate corrupted monitor_version numbers.

assets_dir: str | None = None

[Create:REQ Update:IGN] Field for specifying the absolute path to a custom directory to store data-monitoring assets. Normally prepopulated to a default user location via UI and Python APIs.

baseline_table_name: str | None = None

[Create:OPT Update:OPT] Baseline table name. Baseline data is used to compute drift from the data in the monitored table_name. The baseline table and the monitored table shall have the same schema.

custom_metrics: List[MonitorMetric] | None = None

[Create:OPT Update:OPT] Custom metrics.

dashboard_id: str | None = None

[Create:ERR Update:OPT] Id of dashboard that visualizes the computed metrics. This can be empty if the monitor is in PENDING state.

data_classification_config: MonitorDataClassificationConfig | None = None

[Create:OPT Update:OPT] Data classification related config.

inference_log: MonitorInferenceLog | None = None
latest_monitor_failure_msg: str | None = None

[Create:ERR Update:IGN] The latest error message for a monitor failure.

notifications: MonitorNotifications | None = None

[Create:OPT Update:OPT] Field for specifying notification settings.

schedule: MonitorCronSchedule | None = None

[Create:OPT Update:OPT] The monitor schedule.

slicing_exprs: List[str] | None = None

[Create:OPT Update:OPT] List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For example slicing_exprs=[“col_1”, “col_2 > 10”] will generate the following slices: two slices for col_2 > 10 (True and False), and one slice per unique value in col1. For high-cardinality columns, only the top 100 unique values by frequency will generate slices.

snapshot: MonitorSnapshot | None = None

Configuration for monitoring snapshot tables.

time_series: MonitorTimeSeries | None = None

Configuration for monitoring time series tables.

as_dict() dict

Serializes the MonitorInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the MonitorInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) MonitorInfo

Deserializes the MonitorInfo from a dictionary.

class databricks.sdk.service.catalog.MonitorInfoStatus
MONITOR_STATUS_ACTIVE = "MONITOR_STATUS_ACTIVE"
MONITOR_STATUS_DELETE_PENDING = "MONITOR_STATUS_DELETE_PENDING"
MONITOR_STATUS_ERROR = "MONITOR_STATUS_ERROR"
MONITOR_STATUS_FAILED = "MONITOR_STATUS_FAILED"
MONITOR_STATUS_PENDING = "MONITOR_STATUS_PENDING"
class databricks.sdk.service.catalog.MonitorMetric(name: str, definition: str, input_columns: List[str], output_data_type: str, type: MonitorMetricType)

Custom metric definition.

name: str

Name of the metric in the output tables.

definition: str

Jinja template for a SQL expression that specifies how to compute the metric. See create metric definition.

input_columns: List[str]

A list of column names in the input table the metric should be computed for. Can use ":table" to indicate that the metric needs information from multiple columns.

output_data_type: str

The output type of the custom metric.

type: MonitorMetricType

Can only be one of "CUSTOM_METRIC_TYPE_AGGREGATE", "CUSTOM_METRIC_TYPE_DERIVED", or "CUSTOM_METRIC_TYPE_DRIFT". The "CUSTOM_METRIC_TYPE_AGGREGATE" and "CUSTOM_METRIC_TYPE_DERIVED" metrics are computed on a single table, whereas the "CUSTOM_METRIC_TYPE_DRIFT" compare metrics across baseline and input table, or across the two consecutive time windows.

  • CUSTOM_METRIC_TYPE_AGGREGATE: only depend on the existing columns in your table

  • CUSTOM_METRIC_TYPE_DERIVED: depend on previously computed aggregate metrics

  • CUSTOM_METRIC_TYPE_DRIFT: depend on previously computed aggregate or derived metrics

as_dict() dict

Serializes the MonitorMetric into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the MonitorMetric into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) MonitorMetric

Deserializes the MonitorMetric from a dictionary.

class databricks.sdk.service.catalog.MonitorMetricType

Can only be one of "CUSTOM_METRIC_TYPE_AGGREGATE", "CUSTOM_METRIC_TYPE_DERIVED", or "CUSTOM_METRIC_TYPE_DRIFT". The "CUSTOM_METRIC_TYPE_AGGREGATE" and "CUSTOM_METRIC_TYPE_DERIVED" metrics are computed on a single table, whereas the "CUSTOM_METRIC_TYPE_DRIFT" compare metrics across baseline and input table, or across the two consecutive time windows. - CUSTOM_METRIC_TYPE_AGGREGATE: only depend on the existing columns in your table - CUSTOM_METRIC_TYPE_DERIVED: depend on previously computed aggregate metrics - CUSTOM_METRIC_TYPE_DRIFT: depend on previously computed aggregate or derived metrics

CUSTOM_METRIC_TYPE_AGGREGATE = "CUSTOM_METRIC_TYPE_AGGREGATE"
CUSTOM_METRIC_TYPE_DERIVED = "CUSTOM_METRIC_TYPE_DERIVED"
CUSTOM_METRIC_TYPE_DRIFT = "CUSTOM_METRIC_TYPE_DRIFT"
class databricks.sdk.service.catalog.MonitorNotifications(on_failure: 'Optional[MonitorDestination]' = None, on_new_classification_tag_detected: 'Optional[MonitorDestination]' = None)
on_failure: MonitorDestination | None = None

Destinations to send notifications on failure/timeout.

on_new_classification_tag_detected: MonitorDestination | None = None

Destinations to send notifications on new classification tag detected.

as_dict() dict

Serializes the MonitorNotifications into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the MonitorNotifications into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) MonitorNotifications

Deserializes the MonitorNotifications from a dictionary.

class databricks.sdk.service.catalog.MonitorRefreshInfo(refresh_id: 'int', state: 'MonitorRefreshInfoState', start_time_ms: 'int', end_time_ms: 'Optional[int]' = None, message: 'Optional[str]' = None, trigger: 'Optional[MonitorRefreshInfoTrigger]' = None)
refresh_id: int

Unique id of the refresh operation.

state: MonitorRefreshInfoState

The current state of the refresh.

start_time_ms: int

Time at which refresh operation was initiated (milliseconds since 1/1/1970 UTC).

end_time_ms: int | None = None

Time at which refresh operation completed (milliseconds since 1/1/1970 UTC).

message: str | None = None

An optional message to give insight into the current state of the job (e.g. FAILURE messages).

trigger: MonitorRefreshInfoTrigger | None = None

The method by which the refresh was triggered.

as_dict() dict

Serializes the MonitorRefreshInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the MonitorRefreshInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) MonitorRefreshInfo

Deserializes the MonitorRefreshInfo from a dictionary.

class databricks.sdk.service.catalog.MonitorRefreshInfoState

The current state of the refresh.

CANCELED = "CANCELED"
FAILED = "FAILED"
PENDING = "PENDING"
RUNNING = "RUNNING"
SUCCESS = "SUCCESS"
UNKNOWN = "UNKNOWN"
class databricks.sdk.service.catalog.MonitorRefreshInfoTrigger
MANUAL = "MANUAL"
SCHEDULE = "SCHEDULE"
UNKNOWN_TRIGGER = "UNKNOWN_TRIGGER"
class databricks.sdk.service.catalog.MonitorRefreshListResponse(refreshes: 'Optional[List[MonitorRefreshInfo]]' = None)
refreshes: List[MonitorRefreshInfo] | None = None

List of refreshes.

as_dict() dict

Serializes the MonitorRefreshListResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the MonitorRefreshListResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) MonitorRefreshListResponse

Deserializes the MonitorRefreshListResponse from a dictionary.

class databricks.sdk.service.catalog.MonitorSnapshot

Snapshot analysis configuration

as_dict() dict

Serializes the MonitorSnapshot into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the MonitorSnapshot into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) MonitorSnapshot

Deserializes the MonitorSnapshot from a dictionary.

class databricks.sdk.service.catalog.MonitorTimeSeries(timestamp_col: str, granularities: List[str])

Time series analysis configuration.

timestamp_col: str

Column for the timestamp.

granularities: List[str]

Granularities for aggregating data into time windows based on their timestamp. Currently the following static granularities are supported: {"5 minutes", "30 minutes", "1 hour", "1 day", "<n> week(s)", "1 month", "1 year"}.

as_dict() dict

Serializes the MonitorTimeSeries into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the MonitorTimeSeries into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) MonitorTimeSeries

Deserializes the MonitorTimeSeries from a dictionary.

class databricks.sdk.service.catalog.NamedTableConstraint(name: 'str')
name: str

The name of the constraint.

as_dict() dict

Serializes the NamedTableConstraint into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the NamedTableConstraint into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) NamedTableConstraint

Deserializes the NamedTableConstraint from a dictionary.

class databricks.sdk.service.catalog.NotificationDestination(destination_id: 'Optional[str]' = None, destination_type: 'Optional[DestinationType]' = None, special_destination: 'Optional[SpecialDestination]' = None)
destination_id: str | None = None

The identifier for the destination. This is the email address for EMAIL destinations, the URL for URL destinations, or the unique Databricks notification destination ID for all other external destinations.

destination_type: DestinationType | None = None

The type of the destination.

special_destination: SpecialDestination | None = None

This field is used to denote whether the destination is the email of the owner of the securable object. The special destination cannot be assigned to a securable and only represents the default destination of the securable. The securable types that support default special destinations are: “catalog”, “external_location”, “connection”, “credential”, and “metastore”. The destination_type of a special_destination is always EMAIL.

as_dict() dict

Serializes the NotificationDestination into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the NotificationDestination into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) NotificationDestination

Deserializes the NotificationDestination from a dictionary.

class databricks.sdk.service.catalog.OneLakeEventQueue(consumer_group: str | None = None, event_hub_name: str | None = None, event_hub_url: str | None = None, fully_qualified_namespace: str | None = None, managed_resource_id: str | None = None)

File event queue for OneLake (Microsoft Fabric) locations. Events flow through Fabric Eventstream in both arms; CSMS consumes from a user-provided Azure Event Hub (provided_onelake) or from a Fabric Eventstream that CSMS provisions in the user’s workspace (managed_onelake).

consumer_group: str | None = None

Event Hubs consumer group used to consume file events. Defaults to “$Default” when unset. Recommended for provided_onelake: create a dedicated consumer group on the Event Hub for file events to avoid contending with the customer’s other consumers.

event_hub_name: str | None = None

Event Hub entity name within the namespace. Only required for provided_onelake.

event_hub_url: str | None = None

The Event Hub URL in the format https://{namespace}.servicebus.windows.net/{event_hub_name}. Deprecated: use fully_qualified_namespace + event_hub_name instead.

fully_qualified_namespace: str | None = None

The fully qualified domain name of the Event Hubs namespace, e.g. {yournamespace}.servicebus.windows.net. Only required for provided_onelake.

managed_resource_id: str | None = None

Unique identifier included in the name of the file events managed resources.

as_dict() dict

Serializes the OneLakeEventQueue into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the OneLakeEventQueue into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) OneLakeEventQueue

Deserializes the OneLakeEventQueue from a dictionary.

class databricks.sdk.service.catalog.OnlineTable(name: str | None = None, spec: OnlineTableSpec | None = None, status: OnlineTableStatus | None = None, table_serving_url: str | None = None, unity_catalog_provisioning_state: ProvisioningInfoState | None = None)

Online Table information.

name: str | None = None

Full three-part (catalog, schema, table) name of the table.

spec: OnlineTableSpec | None = None

Specification of the online table.

status: OnlineTableStatus | None = None

Online Table data synchronization status

table_serving_url: str | None = None

Data serving REST API URL for this table

unity_catalog_provisioning_state: ProvisioningInfoState | None = None

The provisioning state of the online table entity in Unity Catalog. This is distinct from the state of the data synchronization pipeline (i.e. the table may be in “ACTIVE” but the pipeline may be in “PROVISIONING” as it runs asynchronously).

as_dict() dict

Serializes the OnlineTable into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the OnlineTable into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) OnlineTable

Deserializes the OnlineTable from a dictionary.

class databricks.sdk.service.catalog.OnlineTableSpec(perform_full_copy: bool | None = None, pipeline_id: str | None = None, primary_key_columns: List[str] | None = None, run_continuously: OnlineTableSpecContinuousSchedulingPolicy | None = None, run_triggered: OnlineTableSpecTriggeredSchedulingPolicy | None = None, source_table_full_name: str | None = None, timeseries_key: str | None = None)

Specification of an online table.

perform_full_copy: bool | None = None

Whether to create a full-copy pipeline – a pipeline that stops after creates a full copy of the source table upon initialization and does not process any change data feeds (CDFs) afterwards. The pipeline can still be manually triggered afterwards, but it always perform a full copy of the source table and there are no incremental updates. This mode is useful for syncing views or tables without CDFs to online tables. Note that the full-copy pipeline only supports “triggered” scheduling policy.

pipeline_id: str | None = None

ID of the associated pipeline. Generated by the server - cannot be set by the caller.

primary_key_columns: List[str] | None = None

Primary Key columns to be used for data insert/update in the destination.

run_continuously: OnlineTableSpecContinuousSchedulingPolicy | None = None

Pipeline runs continuously after generating the initial data.

run_triggered: OnlineTableSpecTriggeredSchedulingPolicy | None = None

Pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers)

source_table_full_name: str | None = None

Three-part (catalog, schema, table) name of the source Delta table.

timeseries_key: str | None = None

Time series key to deduplicate (tie-break) rows with the same primary key.

as_dict() dict

Serializes the OnlineTableSpec into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the OnlineTableSpec into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) OnlineTableSpec

Deserializes the OnlineTableSpec from a dictionary.

class databricks.sdk.service.catalog.OnlineTableSpecContinuousSchedulingPolicy
as_dict() dict

Serializes the OnlineTableSpecContinuousSchedulingPolicy into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the OnlineTableSpecContinuousSchedulingPolicy into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) OnlineTableSpecContinuousSchedulingPolicy

Deserializes the OnlineTableSpecContinuousSchedulingPolicy from a dictionary.

class databricks.sdk.service.catalog.OnlineTableSpecTriggeredSchedulingPolicy
as_dict() dict

Serializes the OnlineTableSpecTriggeredSchedulingPolicy into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the OnlineTableSpecTriggeredSchedulingPolicy into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) OnlineTableSpecTriggeredSchedulingPolicy

Deserializes the OnlineTableSpecTriggeredSchedulingPolicy from a dictionary.

class databricks.sdk.service.catalog.OnlineTableState

The state of an online table.

OFFLINE = "OFFLINE"
OFFLINE_FAILED = "OFFLINE_FAILED"
ONLINE = "ONLINE"
ONLINE_CONTINUOUS_UPDATE = "ONLINE_CONTINUOUS_UPDATE"
ONLINE_NO_PENDING_UPDATE = "ONLINE_NO_PENDING_UPDATE"
ONLINE_PIPELINE_FAILED = "ONLINE_PIPELINE_FAILED"
ONLINE_TRIGGERED_UPDATE = "ONLINE_TRIGGERED_UPDATE"
ONLINE_UPDATING_PIPELINE_RESOURCES = "ONLINE_UPDATING_PIPELINE_RESOURCES"
PROVISIONING = "PROVISIONING"
PROVISIONING_INITIAL_SNAPSHOT = "PROVISIONING_INITIAL_SNAPSHOT"
PROVISIONING_PIPELINE_RESOURCES = "PROVISIONING_PIPELINE_RESOURCES"
class databricks.sdk.service.catalog.OnlineTableStatus(continuous_update_status: ContinuousUpdateStatus | None = None, detailed_state: OnlineTableState | None = None, failed_status: FailedStatus | None = None, message: str | None = None, provisioning_status: ProvisioningStatus | None = None, triggered_update_status: TriggeredUpdateStatus | None = None)

Status of an online table.

continuous_update_status: ContinuousUpdateStatus | None = None
detailed_state: OnlineTableState | None = None

The state of the online table.

failed_status: FailedStatus | None = None
message: str | None = None

A text description of the current state of the online table.

provisioning_status: ProvisioningStatus | None = None
triggered_update_status: TriggeredUpdateStatus | None = None
as_dict() dict

Serializes the OnlineTableStatus into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the OnlineTableStatus into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) OnlineTableStatus

Deserializes the OnlineTableStatus from a dictionary.

class databricks.sdk.service.catalog.OptionSpec(allowed_values: List[str] | None = None, conditional_display: ConditionalDisplay | None = None, default_value: str | None = None, description: str | None = None, hint: str | None = None, is_copiable: bool | None = None, is_creatable: bool | None = None, is_hidden: bool | None = None, is_loggable: bool | None = None, is_required: bool | None = None, is_secret: bool | None = None, is_updatable: bool | None = None, name: str | None = None, oauth_stage: OptionSpecOauthStage | None = None, type: OptionSpecOptionType | None = None)

Spec of an allowed option on a securable kind and its attributes. This is mostly used by UI to provide user friendly hints and descriptions in order to facilitate the securable creation process.

allowed_values: List[str] | None = None

For drop down / radio button selections, UI will want to know the possible input values, it can also be used by other option types to limit input selections.

conditional_display: ConditionalDisplay | None = None

Conditional display configuration. Specifies when this option should be hidden based on another option’s value.

default_value: str | None = None

The default value of the option, for example, value ‘443’ for ‘port’ option.

description: str | None = None

A concise user facing description of what the input value of this option should look like.

hint: str | None = None

The hint is used on the UI to suggest what the input value can possibly be like, for example: example.com for ‘host’ option. Unlike default value, it will not be applied automatically without user input.

is_copiable: bool | None = None

Indicates whether an option should be displayed with copy button on the UI.

is_creatable: bool | None = None

Indicates whether an option can be provided by users in the create/update path of an entity.

is_hidden: bool | None = None

Is the option value not user settable and is thus not shown on the UI.

is_loggable: bool | None = None

Specifies whether this option is safe to log, i.e. no sensitive information.

is_required: bool | None = None

Is the option required.

is_secret: bool | None = None

Is the option value considered secret and thus redacted on the UI.

is_updatable: bool | None = None

Is the option updatable by users.

name: str | None = None

The unique name of the option.

oauth_stage: OptionSpecOauthStage | None = None

Specifies when the option value is displayed on the UI within the OAuth flow.

type: OptionSpecOptionType | None = None

The type of the option.

as_dict() dict

Serializes the OptionSpec into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the OptionSpec into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) OptionSpec

Deserializes the OptionSpec from a dictionary.

class databricks.sdk.service.catalog.OptionSpecOauthStage

During the OAuth flow, specifies which stage the option should be displayed in the UI. OAUTH_STAGE_UNSPECIFIED is the default value for options unrelated to the OAuth flow. BEFORE_AUTHORIZATION_CODE corresponds to options necessary to initiate the OAuth process. BEFORE_ACCESS_TOKEN corresponds to options that are necessary to create a foreign connection, but that should be displayed after the authorization code has already been received.

BEFORE_ACCESS_TOKEN = "BEFORE_ACCESS_TOKEN"
BEFORE_AUTHORIZATION_CODE = "BEFORE_AUTHORIZATION_CODE"
class databricks.sdk.service.catalog.OptionSpecOptionType

Type of the option, we purposely follow JavaScript types so that the UI can map the options to JS types. https://www.w3schools.com/js/js_datatypes.asp Enum is a special case that it’s just string with selections.

OPTION_BIGINT = "OPTION_BIGINT"
OPTION_BOOLEAN = "OPTION_BOOLEAN"
OPTION_ENUM = "OPTION_ENUM"
OPTION_MULTILINE_STRING = "OPTION_MULTILINE_STRING"
OPTION_NUMBER = "OPTION_NUMBER"
OPTION_SERVICE_CREDENTIAL = "OPTION_SERVICE_CREDENTIAL"
OPTION_STORAGE_CREDENTIAL = "OPTION_STORAGE_CREDENTIAL"
OPTION_STRING = "OPTION_STRING"
class databricks.sdk.service.catalog.PathOperation
PATH_CREATE_TABLE = "PATH_CREATE_TABLE"
PATH_READ = "PATH_READ"
PATH_READ_WRITE = "PATH_READ_WRITE"
class databricks.sdk.service.catalog.PermissionsChange(add: 'Optional[List[Privilege]]' = None, principal: 'Optional[str]' = None, principal_id: 'Optional[int]' = None, remove: 'Optional[List[Privilege]]' = None)
add: List[Privilege] | None = None

The set of privileges to add.

principal: str | None = None

The principal whose privileges we are changing. Only one of principal or principal_id should be specified, never both at the same time.

principal_id: int | None = None

An opaque internal ID that identifies the principal whose privileges should be removed.

This field is intended for removing privileges associated with a deleted user. When set, only the entries specified in the remove field are processed; any entries in the add field will be rejected.

Only one of principal or principal_id should be specified, never both at the same time.

remove: List[Privilege] | None = None

The set of privileges to remove.

as_dict() dict

Serializes the PermissionsChange into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the PermissionsChange into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) PermissionsChange

Deserializes the PermissionsChange from a dictionary.

class databricks.sdk.service.catalog.PipelineProgress(estimated_completion_time_seconds: float | None = None, latest_version_currently_processing: int | None = None, sync_progress_completion: float | None = None, synced_row_count: int | None = None, total_row_count: int | None = None)

Progress information of the Online Table data synchronization pipeline.

estimated_completion_time_seconds: float | None = None

The estimated time remaining to complete this update in seconds.

latest_version_currently_processing: int | None = None

The source table Delta version that was last processed by the pipeline. The pipeline may not have completely processed this version yet.

sync_progress_completion: float | None = None

The completion ratio of this update. This is a number between 0 and 1.

synced_row_count: int | None = None

The number of rows that have been synced in this update.

total_row_count: int | None = None

The total number of rows that need to be synced in this update. This number may be an estimate.

as_dict() dict

Serializes the PipelineProgress into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the PipelineProgress into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) PipelineProgress

Deserializes the PipelineProgress from a dictionary.

class databricks.sdk.service.catalog.PolicyFunctionArgument(column: str | None = None, constant: str | None = None)

A positional argument passed to a row filter or column mask function. Distinguishes between column references and literals.

column: str | None = None

A column reference.

constant: str | None = None

A constant literal.

as_dict() dict

Serializes the PolicyFunctionArgument into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the PolicyFunctionArgument into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) PolicyFunctionArgument

Deserializes the PolicyFunctionArgument from a dictionary.

class databricks.sdk.service.catalog.PolicyInfo(to_principals: 'List[str]', for_securable_type: 'SecurableType', policy_type: 'PolicyType', column_mask: 'Optional[ColumnMaskOptions]' = None, comment: 'Optional[str]' = None, created_at: 'Optional[int]' = None, created_by: 'Optional[str]' = None, deny: 'Optional[DenyOptions]' = None, except_principals: 'Optional[List[str]]' = None, grant: 'Optional[GrantOptions]' = None, id: 'Optional[str]' = None, match_columns: 'Optional[List[MatchColumn]]' = None, name: 'Optional[str]' = None, on_securable_fullname: 'Optional[str]' = None, on_securable_type: 'Optional[SecurableType]' = None, row_filter: 'Optional[RowFilterOptions]' = None, updated_at: 'Optional[int]' = None, updated_by: 'Optional[str]' = None, use_session_identity: 'Optional[bool]' = None, when_condition: 'Optional[str]' = None)
to_principals: List[str]

List of user or group names that the policy applies to. Required on create and optional on update.

for_securable_type: SecurableType

Type of securables that the policy should take effect on. Only TABLE is supported at this moment. Required on create and optional on update.

policy_type: PolicyType

Type of the policy. Required on create.

column_mask: ColumnMaskOptions | None = None

Options for column mask policies. Valid only if policy_type is POLICY_TYPE_COLUMN_MASK. Required on create and optional on update. When specified on update, the new options will replace the existing options as a whole.

comment: str | None = None

Optional description of the policy.

created_at: int | None = None

Time at which the policy was created, in epoch milliseconds. Output only.

created_by: str | None = None

Username of the user who created the policy. Output only.

deny: DenyOptions | None = None

Options for deny policies. Valid only if policy_type is POLICY_TYPE_DENY. Required on create and optional on update. When specified on update, the new options will replace the existing options as a whole.

except_principals: List[str] | None = None

Optional list of user or group names that should be excluded from the policy.

grant: GrantOptions | None = None

Options for grant policies. Valid only if policy_type is POLICY_TYPE_GRANT. Required on create and optional on update. When specified on update, the new options will replace the existing options as a whole.

id: str | None = None

Unique identifier of the policy. This field is output only and is generated by the system.

match_columns: List[MatchColumn] | None = None

Optional list of condition expressions used to match table columns. Only valid when for_securable_type is TABLE. When specified, the policy only applies to tables whose columns satisfy all match conditions.

name: str | None = None

Name of the policy. Required on create and optional on update. To rename the policy, set name to a different value on update.

on_securable_fullname: str | None = None

Full name of the securable on which the policy is defined. Required on create.

on_securable_type: SecurableType | None = None

Type of the securable on which the policy is defined. Only CATALOG, SCHEMA and TABLE are supported at this moment. Required on create.

row_filter: RowFilterOptions | None = None

Options for row filter policies. Valid only if policy_type is POLICY_TYPE_ROW_FILTER. Required on create and optional on update. When specified on update, the new options will replace the existing options as a whole.

updated_at: int | None = None

Time at which the policy was last modified, in epoch milliseconds. Output only.

updated_by: str | None = None

Username of the user who last modified the policy. Output only.

use_session_identity: bool | None = None

Temporary for migrating customers to session identity. Customers not currently using ABAC will not be able to set this field to false and all new policies will have this field default to true. Existing customers will have this field default to false, but can set it to true to opt in to session identity. after a grace period, this field will be removed and all policies will use session identity. Only for row filter and column mask policies. Not applicable to deny policies.

when_condition: str | None = None

Optional condition when the policy should take effect.

as_dict() dict

Serializes the PolicyInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the PolicyInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) PolicyInfo

Deserializes the PolicyInfo from a dictionary.

class databricks.sdk.service.catalog.PolicyType
POLICY_TYPE_COLUMN_MASK = "POLICY_TYPE_COLUMN_MASK"
POLICY_TYPE_DENY = "POLICY_TYPE_DENY"
POLICY_TYPE_GRANT = "POLICY_TYPE_GRANT"
POLICY_TYPE_ROW_FILTER = "POLICY_TYPE_ROW_FILTER"
class databricks.sdk.service.catalog.PrimaryKeyConstraint(name: 'str', child_columns: 'List[str]', rely: 'Optional[bool]' = None, timeseries_columns: 'Optional[List[str]]' = None)
name: str

The name of the constraint.

child_columns: List[str]

Column names for this constraint.

rely: bool | None = None

True if the constraint is RELY, false or unset if NORELY.

timeseries_columns: List[str] | None = None

Column names that represent a timeseries.

as_dict() dict

Serializes the PrimaryKeyConstraint into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the PrimaryKeyConstraint into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) PrimaryKeyConstraint

Deserializes the PrimaryKeyConstraint from a dictionary.

class databricks.sdk.service.catalog.Principal(id: 'Optional[str]' = None, principal_type: 'Optional[PrincipalType]' = None)
id: str | None = None

Databricks user, group or service principal ID.

principal_type: PrincipalType | None = None
as_dict() dict

Serializes the Principal into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the Principal into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) Principal

Deserializes the Principal from a dictionary.

class databricks.sdk.service.catalog.PrincipalType
GROUP_PRINCIPAL = "GROUP_PRINCIPAL"
SERVICE_PRINCIPAL = "SERVICE_PRINCIPAL"
USER_PRINCIPAL = "USER_PRINCIPAL"
class databricks.sdk.service.catalog.Privilege
ACCESS = "ACCESS"
ALL_PRIVILEGES = "ALL_PRIVILEGES"
APPLY_TAG = "APPLY_TAG"
BROWSE = "BROWSE"
CREATE = "CREATE"
CREATE_CASE_COLLECTION = "CREATE_CASE_COLLECTION"
CREATE_CATALOG = "CREATE_CATALOG"
CREATE_CLEAN_ROOM = "CREATE_CLEAN_ROOM"
CREATE_CONNECTION = "CREATE_CONNECTION"
CREATE_DATASOURCE = "CREATE_DATASOURCE"
CREATE_EXTERNAL_LOCATION = "CREATE_EXTERNAL_LOCATION"
CREATE_EXTERNAL_TABLE = "CREATE_EXTERNAL_TABLE"
CREATE_EXTERNAL_VOLUME = "CREATE_EXTERNAL_VOLUME"
CREATE_FEATURE = "CREATE_FEATURE"
CREATE_FLOW = "CREATE_FLOW"
CREATE_FOREIGN_CATALOG = "CREATE_FOREIGN_CATALOG"
CREATE_FOREIGN_SECURABLE = "CREATE_FOREIGN_SECURABLE"
CREATE_FUNCTION = "CREATE_FUNCTION"
CREATE_MANAGED_STORAGE = "CREATE_MANAGED_STORAGE"
CREATE_MATERIALIZED_VIEW = "CREATE_MATERIALIZED_VIEW"
CREATE_MEMORY_STORE = "CREATE_MEMORY_STORE"
CREATE_MODEL = "CREATE_MODEL"
CREATE_PROVIDER = "CREATE_PROVIDER"
CREATE_RECIPIENT = "CREATE_RECIPIENT"
CREATE_RULE = "CREATE_RULE"
CREATE_SCHEMA = "CREATE_SCHEMA"
CREATE_SEMANTIC_GRAPH = "CREATE_SEMANTIC_GRAPH"
CREATE_SERVICE = "CREATE_SERVICE"
CREATE_SERVICE_CREDENTIAL = "CREATE_SERVICE_CREDENTIAL"
CREATE_SHARE = "CREATE_SHARE"
CREATE_SKILL = "CREATE_SKILL"
CREATE_STORAGE_CREDENTIAL = "CREATE_STORAGE_CREDENTIAL"
CREATE_STREAM = "CREATE_STREAM"
CREATE_TABLE = "CREATE_TABLE"
CREATE_VIEW = "CREATE_VIEW"
CREATE_VOLUME = "CREATE_VOLUME"
DELETE = "DELETE"
DELETE_EVENTS = "DELETE_EVENTS"
DELETE_SECURITY_DATA = "DELETE_SECURITY_DATA"
EXECUTE = "EXECUTE"
EXECUTE_CLEAN_ROOM_TASK = "EXECUTE_CLEAN_ROOM_TASK"
EXTERNAL_USE_SCHEMA = "EXTERNAL_USE_SCHEMA"
INSERT = "INSERT"
INSERT_SECURITY_DATA = "INSERT_SECURITY_DATA"
MANAGE = "MANAGE"
MANAGE_ACCESS = "MANAGE_ACCESS"
MANAGE_ACCESS_CONTROL = "MANAGE_ACCESS_CONTROL"
MANAGE_ALLOWLIST = "MANAGE_ALLOWLIST"
MANAGE_GRANTS = "MANAGE_GRANTS"
MODIFY = "MODIFY"
MODIFY_CLEAN_ROOM = "MODIFY_CLEAN_ROOM"
READ_EVENTS = "READ_EVENTS"
READ_FEATURE = "READ_FEATURE"
READ_FILES = "READ_FILES"
READ_FLOW = "READ_FLOW"
READ_MEMORY_STORE = "READ_MEMORY_STORE"
READ_METADATA = "READ_METADATA"
READ_PRIVATE_FILES = "READ_PRIVATE_FILES"
READ_SECURITY_DATA = "READ_SECURITY_DATA"
READ_SEMANTIC_GRAPH = "READ_SEMANTIC_GRAPH"
READ_SKILL = "READ_SKILL"
READ_STREAM = "READ_STREAM"
READ_VOLUME = "READ_VOLUME"
REFRESH = "REFRESH"
REFRESH_FLOW = "REFRESH_FLOW"
SELECT = "SELECT"
SET_SHARE_PERMISSION = "SET_SHARE_PERMISSION"
UPDATE = "UPDATE"
UPDATE_EVENTS = "UPDATE_EVENTS"
UPDATE_SECURITY_DATA = "UPDATE_SECURITY_DATA"
USAGE = "USAGE"
USE_CATALOG = "USE_CATALOG"
USE_CONNECTION = "USE_CONNECTION"
USE_MARKETPLACE_ASSETS = "USE_MARKETPLACE_ASSETS"
USE_PROVIDER = "USE_PROVIDER"
USE_RECIPIENT = "USE_RECIPIENT"
USE_SCHEMA = "USE_SCHEMA"
USE_SHARE = "USE_SHARE"
USE_VOLUME = "USE_VOLUME"
VIEW_ADMIN_METADATA = "VIEW_ADMIN_METADATA"
VIEW_METADATA = "VIEW_METADATA"
VIEW_OBJECT = "VIEW_OBJECT"
WRITE_FILES = "WRITE_FILES"
WRITE_FLOW = "WRITE_FLOW"
WRITE_MEMORY_STORE = "WRITE_MEMORY_STORE"
WRITE_PRIVATE_FILES = "WRITE_PRIVATE_FILES"
WRITE_SEMANTIC_GRAPH = "WRITE_SEMANTIC_GRAPH"
WRITE_SKILL = "WRITE_SKILL"
WRITE_VOLUME = "WRITE_VOLUME"
class databricks.sdk.service.catalog.PrivilegeAssignment(principal: 'Optional[str]' = None, principal_id: 'Optional[int]' = None, privileges: 'Optional[List[Privilege]]' = None)
principal: str | None = None

The principal (user email address or group name). For deleted principals, principal is empty while principal_id is populated.

principal_id: int | None = None

Unique identifier of the principal. For active principals, both principal and principal_id are present.

privileges: List[Privilege] | None = None

The privileges assigned to the principal.

as_dict() dict

Serializes the PrivilegeAssignment into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the PrivilegeAssignment into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) PrivilegeAssignment

Deserializes the PrivilegeAssignment from a dictionary.

class databricks.sdk.service.catalog.ProvisioningInfo(state: ProvisioningInfoState | None = None)

Status of an asynchronously provisioned resource.

state: ProvisioningInfoState | None = None

The provisioning state of the resource.

as_dict() dict

Serializes the ProvisioningInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ProvisioningInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ProvisioningInfo

Deserializes the ProvisioningInfo from a dictionary.

class databricks.sdk.service.catalog.ProvisioningInfoState
ACTIVE = "ACTIVE"
DEGRADED = "DEGRADED"
DELETING = "DELETING"
FAILED = "FAILED"
PROVISIONING = "PROVISIONING"
UPDATING = "UPDATING"
class databricks.sdk.service.catalog.ProvisioningStatus(initial_pipeline_sync_progress: PipelineProgress | None = None)

Detailed status of an online table. Shown if the online table is in the PROVISIONING_PIPELINE_RESOURCES or the PROVISIONING_INITIAL_SNAPSHOT state.

initial_pipeline_sync_progress: PipelineProgress | None = None

Details about initial data synchronization. Only populated when in the PROVISIONING_INITIAL_SNAPSHOT state.

as_dict() dict

Serializes the ProvisioningStatus into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ProvisioningStatus into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ProvisioningStatus

Deserializes the ProvisioningStatus from a dictionary.

class databricks.sdk.service.catalog.QuotaInfo(last_refreshed_at: 'Optional[int]' = None, parent_full_name: 'Optional[str]' = None, parent_securable_type: 'Optional[SecurableType]' = None, quota_count: 'Optional[int]' = None, quota_limit: 'Optional[int]' = None, quota_name: 'Optional[str]' = None)
last_refreshed_at: int | None = None

The timestamp that indicates when the quota count was last updated.

parent_full_name: str | None = None

Name of the parent resource. Returns metastore ID if the parent is a metastore.

parent_securable_type: SecurableType | None = None

The quota parent securable type.

quota_count: int | None = None

The current usage of the resource quota.

quota_limit: int | None = None

The current limit of the resource quota.

quota_name: str | None = None

The name of the quota.

as_dict() dict

Serializes the QuotaInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the QuotaInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) QuotaInfo

Deserializes the QuotaInfo from a dictionary.

class databricks.sdk.service.catalog.R2Credentials(access_key_id: str | None = None, secret_access_key: str | None = None, session_token: str | None = None)

R2 temporary credentials for API authentication. Read more at https://developers.cloudflare.com/r2/api/s3/tokens/.

access_key_id: str | None = None

The access key ID that identifies the temporary credentials.

secret_access_key: str | None = None

The secret access key associated with the access key.

session_token: str | None = None

The generated JWT that users must pass to use the temporary credentials.

as_dict() dict

Serializes the R2Credentials into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the R2Credentials into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) R2Credentials

Deserializes the R2Credentials from a dictionary.

class databricks.sdk.service.catalog.RateLimit(key: RateLimitRateLimitKey, renewal_period: RateLimitRateLimitRenewalPeriod, principal: str | None = None, request_tag_key: str | None = None, request_tag_value: str | None = None, requests: int | None = None, tokens: int | None = None)

A rate limit applied to service requests. Leave requests or tokens unset to impose no limit on that dimension; set a value to cap that dimension within the renewal period.

key: RateLimitRateLimitKey

Scope key. Determines whether principal is required.

renewal_period: RateLimitRateLimitRenewalPeriod

Renewal period.

principal: str | None = None

Principal this limit applies to: user email, group name, or service principal application ID. Required unless key is RATE_LIMIT_KEY_SERVICE, RATE_LIMIT_KEY_USER_DEFAULT, or RATE_LIMIT_KEY_REQUEST_TAG (which must not set a principal).

request_tag_key: str | None = None

Request tag key this limit applies to. Required when key is RATE_LIMIT_KEY_REQUEST_TAG, forbidden otherwise.

request_tag_value: str | None = None

Request tag value this limit applies to. Only valid when key is RATE_LIMIT_KEY_REQUEST_TAG. Leave unset to apply the limit to every value of request_tag_key (an any-value default); a set value is a specific override for that value.

requests: int | None = None

Max requests allowed within a renewal period. Leave unset for no request limit.

tokens: int | None = None

Max tokens allowed within a renewal period. Leave unset for no token limit.

as_dict() dict

Serializes the RateLimit into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the RateLimit into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) RateLimit

Deserializes the RateLimit from a dictionary.

class databricks.sdk.service.catalog.RateLimitRateLimitKey

Scope key for a rate limit.

RATE_LIMIT_KEY_REQUEST_TAG = "RATE_LIMIT_KEY_REQUEST_TAG"
RATE_LIMIT_KEY_SERVICE = "RATE_LIMIT_KEY_SERVICE"
RATE_LIMIT_KEY_SERVICE_PRINCIPAL = "RATE_LIMIT_KEY_SERVICE_PRINCIPAL"
RATE_LIMIT_KEY_USER = "RATE_LIMIT_KEY_USER"
RATE_LIMIT_KEY_USER_DEFAULT = "RATE_LIMIT_KEY_USER_DEFAULT"
RATE_LIMIT_KEY_USER_GROUP = "RATE_LIMIT_KEY_USER_GROUP"
class databricks.sdk.service.catalog.RateLimitRateLimitRenewalPeriod

Renewal period for a rate limit.

RATE_LIMIT_RENEWAL_PERIOD_HOUR = "RATE_LIMIT_RENEWAL_PERIOD_HOUR"
RATE_LIMIT_RENEWAL_PERIOD_MINUTE = "RATE_LIMIT_RENEWAL_PERIOD_MINUTE"
class databricks.sdk.service.catalog.RegenerateDashboardResponse(dashboard_id: 'Optional[str]' = None, parent_folder: 'Optional[str]' = None)
dashboard_id: str | None = None
parent_folder: str | None = None

Parent folder is equivalent to {assets_dir}/{tableName}

as_dict() dict

Serializes the RegenerateDashboardResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the RegenerateDashboardResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) RegenerateDashboardResponse

Deserializes the RegenerateDashboardResponse from a dictionary.

class databricks.sdk.service.catalog.RegisteredModelAlias(alias_name: 'Optional[str]' = None, catalog_name: 'Optional[str]' = None, id: 'Optional[str]' = None, model_name: 'Optional[str]' = None, schema_name: 'Optional[str]' = None, version_num: 'Optional[int]' = None)
alias_name: str | None = None

Name of the alias, e.g. ‘champion’ or ‘latest_stable’

catalog_name: str | None = None

The name of the catalog containing the model version

id: str | None = None

The unique identifier of the alias

model_name: str | None = None

The name of the parent registered model of the model version, relative to parent schema

schema_name: str | None = None

The name of the schema containing the model version, relative to parent catalog

version_num: int | None = None

Integer version number of the model version to which this alias points.

as_dict() dict

Serializes the RegisteredModelAlias into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the RegisteredModelAlias into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) RegisteredModelAlias

Deserializes the RegisteredModelAlias from a dictionary.

class databricks.sdk.service.catalog.RegisteredModelInfo(aliases: 'Optional[List[RegisteredModelAlias]]' = None, browse_only: 'Optional[bool]' = None, catalog_name: 'Optional[str]' = None, comment: 'Optional[str]' = None, created_at: 'Optional[int]' = None, created_by: 'Optional[str]' = None, full_name: 'Optional[str]' = None, metastore_id: 'Optional[str]' = None, name: 'Optional[str]' = None, owner: 'Optional[str]' = None, schema_name: 'Optional[str]' = None, storage_location: 'Optional[str]' = None, updated_at: 'Optional[int]' = None, updated_by: 'Optional[str]' = None)
aliases: List[RegisteredModelAlias] | None = None

List of aliases associated with the registered model

browse_only: bool | None = None

Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request.

catalog_name: str | None = None

The name of the catalog where the schema and the registered model reside

comment: str | None = None

The comment attached to the registered model

created_at: int | None = None

Creation timestamp of the registered model in milliseconds since the Unix epoch

created_by: str | None = None

The identifier of the user who created the registered model

full_name: str | None = None

The three-level (fully qualified) name of the registered model

metastore_id: str | None = None

The unique identifier of the metastore

name: str | None = None

The name of the registered model

owner: str | None = None

The identifier of the user who owns the registered model

schema_name: str | None = None

The name of the schema where the registered model resides

storage_location: str | None = None

The storage location on the cloud under which model version data files are stored

updated_at: int | None = None

Last-update timestamp of the registered model in milliseconds since the Unix epoch

updated_by: str | None = None

The identifier of the user who updated the registered model last time

as_dict() dict

Serializes the RegisteredModelInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the RegisteredModelInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) RegisteredModelInfo

Deserializes the RegisteredModelInfo from a dictionary.

class databricks.sdk.service.catalog.RowFilterOptions(function_name: 'str', using: 'Optional[List[FunctionArgument]]' = None)
function_name: str

The fully qualified name of the row filter function. The function is called on each row of the target table. It should return a boolean value indicating whether the row should be visible to the user. Required on create and update.

using: List[FunctionArgument] | None = None

Optional list of column aliases or constant literals to be passed as arguments to the row filter function. The type of each column should match the positional argument of the row filter function.

as_dict() dict

Serializes the RowFilterOptions into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the RowFilterOptions into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) RowFilterOptions

Deserializes the RowFilterOptions from a dictionary.

class databricks.sdk.service.catalog.SchemaFilterType

Determines how a FOREIGN catalog’s schema filter items are interpreted.

SCHEMA_FILTER_TYPE_EXCLUDE = "SCHEMA_FILTER_TYPE_EXCLUDE"
SCHEMA_FILTER_TYPE_INCLUDE = "SCHEMA_FILTER_TYPE_INCLUDE"
SCHEMA_FILTER_TYPE_INCLUDE_ALL = "SCHEMA_FILTER_TYPE_INCLUDE_ALL"
class databricks.sdk.service.catalog.SchemaInfo(browse_only: 'Optional[bool]' = None, catalog_name: 'Optional[str]' = None, catalog_type: 'Optional[CatalogType]' = None, comment: 'Optional[str]' = None, created_at: 'Optional[int]' = None, created_by: 'Optional[str]' = None, custom_max_retention_hours: 'Optional[int]' = None, effective_predictive_optimization_flag: 'Optional[EffectivePredictiveOptimizationFlag]' = None, enable_predictive_optimization: 'Optional[EnablePredictiveOptimization]' = None, full_name: 'Optional[str]' = None, metastore_id: 'Optional[str]' = None, name: 'Optional[str]' = None, owner: 'Optional[str]' = None, properties: 'Optional[Dict[str, str]]' = None, schema_id: 'Optional[str]' = None, storage_location: 'Optional[str]' = None, storage_root: 'Optional[str]' = None, updated_at: 'Optional[int]' = None, updated_by: 'Optional[str]' = None)
browse_only: bool | None = None

Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request.

catalog_name: str | None = None

Name of parent catalog.

catalog_type: CatalogType | None = None

The type of the parent catalog.

comment: str | None = None

User-provided free-form text description.

created_at: int | None = None

Time at which this schema was created, in epoch milliseconds.

created_by: str | None = None

Username of schema creator.

custom_max_retention_hours: int | None = None

Custom maximum retention period in hours for the schema.

effective_predictive_optimization_flag: EffectivePredictiveOptimizationFlag | None = None
enable_predictive_optimization: EnablePredictiveOptimization | None = None

Whether predictive optimization should be enabled for this object and objects under it.

full_name: str | None = None

Full name of schema, in form of catalog_name.**schema_name**.

metastore_id: str | None = None

Unique identifier of parent metastore.

name: str | None = None

Name of schema, relative to parent catalog.

owner: str | None = None

Username of current owner of schema.

properties: Dict[str, str] | None = None

A map of key-value properties attached to the securable.

schema_id: str | None = None

The unique identifier of the schema.

storage_location: str | None = None

Storage location for managed tables within schema.

storage_root: str | None = None

Storage root URL for managed tables within schema.

updated_at: int | None = None

Time at which this schema was created, in epoch milliseconds.

updated_by: str | None = None

Username of user who last modified schema.

as_dict() dict

Serializes the SchemaInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the SchemaInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) SchemaInfo

Deserializes the SchemaInfo from a dictionary.

class databricks.sdk.service.catalog.Secret(name: str, catalog_name: str, schema_name: str, value: str, comment: str | None = None, create_time: Timestamp | None = None, created_by: str | None = None, effective_owner: str | None = None, effective_value: str | None = None, expire_time: Timestamp | None = None, full_name: str | None = None, metastore_id: str | None = None, owner: str | None = None, update_time: Timestamp | None = None, updated_by: str | None = None)

A secret stored in Unity Catalog. Secrets are three-level namespace objects (catalog.schema.secret) that securely store sensitive credential data such as passwords, tokens, and keys.

name: str

The name of the secret, relative to its parent schema.

catalog_name: str

The name of the catalog where the schema and the secret reside.

schema_name: str

The name of the schema where the secret resides.

value: str

The secret value to store. This field is input-only and is not returned in responses — use the effective_value field (via GetSecret with include_value set to true) to read the secret value. The maximum size is 60 KiB (pre-encryption). Accepted content includes passwords, tokens, keys, and other sensitive credential data.

comment: str | None = None

User-provided free-form text description of the secret.

create_time: Timestamp | None = None

The time at which this secret was created.

created_by: str | None = None

The principal that created the secret.

effective_owner: str | None = None

The effective owner of the secret, which may differ from the directly-set owner due to inheritance.

effective_value: str | None = None

The secret value. Only populated in responses when you have the READ_SECRET privilege and include_value is set to true in the request. The maximum size is 60 KiB.

expire_time: Timestamp | None = None

User-provided expiration time of the secret. This field indicates when the secret should no longer be used and may be displayed as a warning in the UI. It is purely informational and does not trigger any automatic actions or affect the secret’s lifecycle.

full_name: str | None = None

The three-level (fully qualified) name of the secret, in the form of catalog_name.schema_name.secret_name.

metastore_id: str | None = None

Unique identifier of the metastore hosting the secret.

owner: str | None = None

The owner of the secret. Defaults to the creating principal on creation. Can be updated to transfer ownership of the secret to another principal.

update_time: Timestamp | None = None

The time at which this secret was last updated.

updated_by: str | None = None

The principal that last updated the secret.

as_dict() dict

Serializes the Secret into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the Secret into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) Secret

Deserializes the Secret from a dictionary.

class databricks.sdk.service.catalog.SecretDependency(secret_full_name: str)

A secret that is dependent on a SQL object.

secret_full_name: str

Full name of the dependent secret, in the form of catalog_name.**schema_name**.**secret_name**.

as_dict() dict

Serializes the SecretDependency into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the SecretDependency into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) SecretDependency

Deserializes the SecretDependency from a dictionary.

class databricks.sdk.service.catalog.Securable(full_name: str | None = None, provider_share: str | None = None, type: SecurableType | None = None)

Generic definition of a securable, which is uniquely defined in a metastore by its type and full name.

full_name: str | None = None

Required. The full name of the catalog/schema/table. Optional if resource_name is present.

provider_share: str | None = None

Optional. The name of the Share object that contains the securable when the securable is getting shared in D2D Delta Sharing.

type: SecurableType | None = None

Required. The type of securable (catalog/schema/table). Optional if resource_name is present.

as_dict() dict

Serializes the Securable into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the Securable into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) Securable

Deserializes the Securable from a dictionary.

class databricks.sdk.service.catalog.SecurableKind
CATALOG_FOREIGN_BIGLAKE = "CATALOG_FOREIGN_BIGLAKE"
CATALOG_FOREIGN_GOOGLE_CLOUD_LAKEHOUSE = "CATALOG_FOREIGN_GOOGLE_CLOUD_LAKEHOUSE"
CATALOG_FOREIGN_ICEBERG_REST = "CATALOG_FOREIGN_ICEBERG_REST"
CONNECTION_BIGLAKE_SERVICE_ACCOUNT = "CONNECTION_BIGLAKE_SERVICE_ACCOUNT"
CONNECTION_COMMUNITY_OAUTH_M2M = "CONNECTION_COMMUNITY_OAUTH_M2M"
CONNECTION_COMMUNITY_OAUTH_U2M = "CONNECTION_COMMUNITY_OAUTH_U2M"
CONNECTION_COMMUNITY_OAUTH_U2M_MAPPING = "CONNECTION_COMMUNITY_OAUTH_U2M_MAPPING"
CONNECTION_GOOGLE_CLOUD_LAKEHOUSE_OAUTH_U2M = "CONNECTION_GOOGLE_CLOUD_LAKEHOUSE_OAUTH_U2M"
CONNECTION_GOOGLE_CLOUD_LAKEHOUSE_SERVICE_ACCOUNT = "CONNECTION_GOOGLE_CLOUD_LAKEHOUSE_SERVICE_ACCOUNT"
CONNECTION_ICEBERG_REST_BEARER_TOKEN = "CONNECTION_ICEBERG_REST_BEARER_TOKEN"
CONNECTION_ICEBERG_REST_OAUTH_M2M = "CONNECTION_ICEBERG_REST_OAUTH_M2M"
RECIPIENT_EMAIL = "RECIPIENT_EMAIL"
RECIPIENT_EMAIL_DATABRICKS = "RECIPIENT_EMAIL_DATABRICKS"
RECIPIENT_EMAIL_TOKEN = "RECIPIENT_EMAIL_TOKEN"
SCHEMA_FOREIGN_BIGLAKE = "SCHEMA_FOREIGN_BIGLAKE"
SCHEMA_FOREIGN_GOOGLE_CLOUD_LAKEHOUSE = "SCHEMA_FOREIGN_GOOGLE_CLOUD_LAKEHOUSE"
SCHEMA_FOREIGN_ICEBERG_REST = "SCHEMA_FOREIGN_ICEBERG_REST"
TABLE_DB_STORAGE = "TABLE_DB_STORAGE"
TABLE_DELTA = "TABLE_DELTA"
TABLE_DELTASHARING = "TABLE_DELTASHARING"
TABLE_DELTASHARING_MUTABLE = "TABLE_DELTASHARING_MUTABLE"
TABLE_DELTASHARING_OPEN_DIR_BASED = "TABLE_DELTASHARING_OPEN_DIR_BASED"
TABLE_DELTA_EXTERNAL = "TABLE_DELTA_EXTERNAL"
TABLE_DELTA_ICEBERG_DELTASHARING = "TABLE_DELTA_ICEBERG_DELTASHARING"
TABLE_DELTA_ICEBERG_MANAGED = "TABLE_DELTA_ICEBERG_MANAGED"
TABLE_DELTA_UNIFORM_HUDI_EXTERNAL = "TABLE_DELTA_UNIFORM_HUDI_EXTERNAL"
TABLE_DELTA_UNIFORM_ICEBERG_EXTERNAL = "TABLE_DELTA_UNIFORM_ICEBERG_EXTERNAL"
TABLE_DELTA_UNIFORM_ICEBERG_EXTERNAL_DELTASHARING = "TABLE_DELTA_UNIFORM_ICEBERG_EXTERNAL_DELTASHARING"
TABLE_DELTA_UNIFORM_ICEBERG_FOREIGN_DELTASHARING = "TABLE_DELTA_UNIFORM_ICEBERG_FOREIGN_DELTASHARING"
TABLE_DELTA_UNIFORM_ICEBERG_FOREIGN_HIVE_METASTORE_EXTERNAL = "TABLE_DELTA_UNIFORM_ICEBERG_FOREIGN_HIVE_METASTORE_EXTERNAL"
TABLE_DELTA_UNIFORM_ICEBERG_FOREIGN_HIVE_METASTORE_MANAGED = "TABLE_DELTA_UNIFORM_ICEBERG_FOREIGN_HIVE_METASTORE_MANAGED"
TABLE_DELTA_UNIFORM_ICEBERG_FOREIGN_SNOWFLAKE = "TABLE_DELTA_UNIFORM_ICEBERG_FOREIGN_SNOWFLAKE"
TABLE_EXTERNAL = "TABLE_EXTERNAL"
TABLE_FEATURE_STORE = "TABLE_FEATURE_STORE"
TABLE_FEATURE_STORE_EXTERNAL = "TABLE_FEATURE_STORE_EXTERNAL"
TABLE_FOREIGN_BIGLAKE = "TABLE_FOREIGN_BIGLAKE"
TABLE_FOREIGN_BIGQUERY = "TABLE_FOREIGN_BIGQUERY"
TABLE_FOREIGN_DATABRICKS = "TABLE_FOREIGN_DATABRICKS"
TABLE_FOREIGN_DELTASHARING = "TABLE_FOREIGN_DELTASHARING"
TABLE_FOREIGN_DELTA_DELTASHARING = "TABLE_FOREIGN_DELTA_DELTASHARING"
TABLE_FOREIGN_GOOGLE_CLOUD_LAKEHOUSE = "TABLE_FOREIGN_GOOGLE_CLOUD_LAKEHOUSE"
TABLE_FOREIGN_HIVE_METASTORE = "TABLE_FOREIGN_HIVE_METASTORE"
TABLE_FOREIGN_HIVE_METASTORE_DBFS_EXTERNAL = "TABLE_FOREIGN_HIVE_METASTORE_DBFS_EXTERNAL"
TABLE_FOREIGN_HIVE_METASTORE_DBFS_MANAGED = "TABLE_FOREIGN_HIVE_METASTORE_DBFS_MANAGED"
TABLE_FOREIGN_HIVE_METASTORE_DBFS_SHALLOW_CLONE_EXTERNAL = "TABLE_FOREIGN_HIVE_METASTORE_DBFS_SHALLOW_CLONE_EXTERNAL"
TABLE_FOREIGN_HIVE_METASTORE_DBFS_SHALLOW_CLONE_MANAGED = "TABLE_FOREIGN_HIVE_METASTORE_DBFS_SHALLOW_CLONE_MANAGED"
TABLE_FOREIGN_HIVE_METASTORE_DBFS_VIEW = "TABLE_FOREIGN_HIVE_METASTORE_DBFS_VIEW"
TABLE_FOREIGN_HIVE_METASTORE_EXTERNAL = "TABLE_FOREIGN_HIVE_METASTORE_EXTERNAL"
TABLE_FOREIGN_HIVE_METASTORE_MANAGED = "TABLE_FOREIGN_HIVE_METASTORE_MANAGED"
TABLE_FOREIGN_HIVE_METASTORE_SHALLOW_CLONE_EXTERNAL = "TABLE_FOREIGN_HIVE_METASTORE_SHALLOW_CLONE_EXTERNAL"
TABLE_FOREIGN_HIVE_METASTORE_SHALLOW_CLONE_MANAGED = "TABLE_FOREIGN_HIVE_METASTORE_SHALLOW_CLONE_MANAGED"
TABLE_FOREIGN_HIVE_METASTORE_VIEW = "TABLE_FOREIGN_HIVE_METASTORE_VIEW"
TABLE_FOREIGN_ICEBERG_REST = "TABLE_FOREIGN_ICEBERG_REST"
TABLE_FOREIGN_MONGODB = "TABLE_FOREIGN_MONGODB"
TABLE_FOREIGN_MYSQL = "TABLE_FOREIGN_MYSQL"
TABLE_FOREIGN_NETSUITE = "TABLE_FOREIGN_NETSUITE"
TABLE_FOREIGN_ORACLE = "TABLE_FOREIGN_ORACLE"
TABLE_FOREIGN_PALANTIR = "TABLE_FOREIGN_PALANTIR"
TABLE_FOREIGN_POSTGRESQL = "TABLE_FOREIGN_POSTGRESQL"
TABLE_FOREIGN_REDSHIFT = "TABLE_FOREIGN_REDSHIFT"
TABLE_FOREIGN_SALESFORCE = "TABLE_FOREIGN_SALESFORCE"
TABLE_FOREIGN_SALESFORCE_DATA_CLOUD = "TABLE_FOREIGN_SALESFORCE_DATA_CLOUD"
TABLE_FOREIGN_SALESFORCE_DATA_CLOUD_FILE_SHARING = "TABLE_FOREIGN_SALESFORCE_DATA_CLOUD_FILE_SHARING"
TABLE_FOREIGN_SALESFORCE_DATA_CLOUD_FILE_SHARING_VIEW = "TABLE_FOREIGN_SALESFORCE_DATA_CLOUD_FILE_SHARING_VIEW"
TABLE_FOREIGN_SNOWFLAKE = "TABLE_FOREIGN_SNOWFLAKE"
TABLE_FOREIGN_SQLDW = "TABLE_FOREIGN_SQLDW"
TABLE_FOREIGN_SQLSERVER = "TABLE_FOREIGN_SQLSERVER"
TABLE_FOREIGN_TERADATA = "TABLE_FOREIGN_TERADATA"
TABLE_FOREIGN_WORKDAY_RAAS = "TABLE_FOREIGN_WORKDAY_RAAS"
TABLE_ICEBERG_UNIFORM_MANAGED = "TABLE_ICEBERG_UNIFORM_MANAGED"
TABLE_INTERNAL = "TABLE_INTERNAL"
TABLE_MANAGED_POSTGRESQL = "TABLE_MANAGED_POSTGRESQL"
TABLE_MATERIALIZED_VIEW = "TABLE_MATERIALIZED_VIEW"
TABLE_MATERIALIZED_VIEW_DELTASHARING = "TABLE_MATERIALIZED_VIEW_DELTASHARING"
TABLE_METRIC_VIEW = "TABLE_METRIC_VIEW"
TABLE_METRIC_VIEW_DELTASHARING = "TABLE_METRIC_VIEW_DELTASHARING"
TABLE_ONLINE_VECTOR_INDEX_DIRECT = "TABLE_ONLINE_VECTOR_INDEX_DIRECT"
TABLE_ONLINE_VECTOR_INDEX_REPLICA = "TABLE_ONLINE_VECTOR_INDEX_REPLICA"
TABLE_ONLINE_VIEW = "TABLE_ONLINE_VIEW"
TABLE_STANDARD = "TABLE_STANDARD"
TABLE_STREAMING_LIVE_TABLE = "TABLE_STREAMING_LIVE_TABLE"
TABLE_STREAMING_LIVE_TABLE_DELTASHARING = "TABLE_STREAMING_LIVE_TABLE_DELTASHARING"
TABLE_SYSTEM = "TABLE_SYSTEM"
TABLE_SYSTEM_DELTASHARING = "TABLE_SYSTEM_DELTASHARING"
TABLE_VIEW = "TABLE_VIEW"
TABLE_VIEW_DELTASHARING = "TABLE_VIEW_DELTASHARING"
class databricks.sdk.service.catalog.SecurableKindManifest(assignable_privileges: List[str] | None = None, capabilities: List[str] | None = None, options: List[OptionSpec] | None = None, securable_kind: SecurableKind | None = None, securable_type: SecurableType | None = None)

Manifest of a specific securable kind.

assignable_privileges: List[str] | None = None

Privileges that can be assigned to the securable.

capabilities: List[str] | None = None

A list of capabilities in the securable kind.

options: List[OptionSpec] | None = None

Detailed specs of allowed options.

securable_kind: SecurableKind | None = None

Securable kind to get manifest of.

securable_type: SecurableType | None = None

Securable Type of the kind.

as_dict() dict

Serializes the SecurableKindManifest into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the SecurableKindManifest into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) SecurableKindManifest

Deserializes the SecurableKindManifest from a dictionary.

class databricks.sdk.service.catalog.SecurablePermissions(permissions: 'Optional[List[str]]' = None, securable: 'Optional[Securable]' = None)
permissions: List[str] | None = None

List of requested Unity Catalog permissions.

securable: Securable | None = None

The securable for which the access request destinations are being requested.

as_dict() dict

Serializes the SecurablePermissions into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the SecurablePermissions into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) SecurablePermissions

Deserializes the SecurablePermissions from a dictionary.

class databricks.sdk.service.catalog.SecurableType

The type of Unity Catalog securable.

CATALOG = "CATALOG"
CLEAN_ROOM = "CLEAN_ROOM"
CONNECTION = "CONNECTION"
CREDENTIAL = "CREDENTIAL"
EXTERNAL_LOCATION = "EXTERNAL_LOCATION"
EXTERNAL_METADATA = "EXTERNAL_METADATA"
FUNCTION = "FUNCTION"
METASTORE = "METASTORE"
PIPELINE = "PIPELINE"
PROVIDER = "PROVIDER"
RECIPIENT = "RECIPIENT"
SCHEMA = "SCHEMA"
SHARE = "SHARE"
STAGING_TABLE = "STAGING_TABLE"
STORAGE_CREDENTIAL = "STORAGE_CREDENTIAL"
TABLE = "TABLE"
VOLUME = "VOLUME"
class databricks.sdk.service.catalog.SpecialDestination
SPECIAL_DESTINATION_CATALOG_OWNER = "SPECIAL_DESTINATION_CATALOG_OWNER"
SPECIAL_DESTINATION_CONNECTION_OWNER = "SPECIAL_DESTINATION_CONNECTION_OWNER"
SPECIAL_DESTINATION_CREDENTIAL_OWNER = "SPECIAL_DESTINATION_CREDENTIAL_OWNER"
SPECIAL_DESTINATION_EXTERNAL_LOCATION_OWNER = "SPECIAL_DESTINATION_EXTERNAL_LOCATION_OWNER"
SPECIAL_DESTINATION_FUNCTION_OWNER = "SPECIAL_DESTINATION_FUNCTION_OWNER"
SPECIAL_DESTINATION_METASTORE_OWNER = "SPECIAL_DESTINATION_METASTORE_OWNER"
SPECIAL_DESTINATION_REGISTERED_MODEL_OWNER = "SPECIAL_DESTINATION_REGISTERED_MODEL_OWNER"
SPECIAL_DESTINATION_SCHEMA_OWNER = "SPECIAL_DESTINATION_SCHEMA_OWNER"
SPECIAL_DESTINATION_TABLE_OWNER = "SPECIAL_DESTINATION_TABLE_OWNER"
SPECIAL_DESTINATION_VOLUME_OWNER = "SPECIAL_DESTINATION_VOLUME_OWNER"
class databricks.sdk.service.catalog.SseEncryptionDetails(algorithm: SseEncryptionDetailsAlgorithm | None = None, aws_kms_key_arn: str | None = None)

Server-Side Encryption properties for clients communicating with AWS s3.

algorithm: SseEncryptionDetailsAlgorithm | None = None

Sets the value of the ‘x-amz-server-side-encryption’ header in S3 request.

aws_kms_key_arn: str | None = None

Optional. The ARN of the SSE-KMS key used with the S3 location, when algorithm = “SSE-KMS”. Sets the value of the ‘x-amz-server-side-encryption-aws-kms-key-id’ header.

as_dict() dict

Serializes the SseEncryptionDetails into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the SseEncryptionDetails into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) SseEncryptionDetails

Deserializes the SseEncryptionDetails from a dictionary.

class databricks.sdk.service.catalog.SseEncryptionDetailsAlgorithm
AWS_SSE_KMS = "AWS_SSE_KMS"
AWS_SSE_S3 = "AWS_SSE_S3"
class databricks.sdk.service.catalog.StorageCredentialInfo(aws_iam_role: 'Optional[AwsIamRoleResponse]' = None, azure_managed_identity: 'Optional[AzureManagedIdentityResponse]' = None, azure_service_principal: 'Optional[AzureServicePrincipal]' = None, cloudflare_api_token: 'Optional[CloudflareApiToken]' = None, comment: 'Optional[str]' = None, created_at: 'Optional[int]' = None, created_by: 'Optional[str]' = None, databricks_gcp_service_account: 'Optional[DatabricksGcpServiceAccountResponse]' = None, full_name: 'Optional[str]' = None, id: 'Optional[str]' = None, isolation_mode: 'Optional[IsolationMode]' = None, metastore_id: 'Optional[str]' = None, name: 'Optional[str]' = None, owner: 'Optional[str]' = None, read_only: 'Optional[bool]' = None, updated_at: 'Optional[int]' = None, updated_by: 'Optional[str]' = None, used_for_managed_storage: 'Optional[bool]' = None)
aws_iam_role: AwsIamRoleResponse | None = None

The AWS IAM role configuration.

azure_managed_identity: AzureManagedIdentityResponse | None = None

The Azure managed identity configuration.

azure_service_principal: AzureServicePrincipal | None = None

The Azure service principal configuration.

cloudflare_api_token: CloudflareApiToken | None = None

The Cloudflare API token configuration.

comment: str | None = None

Comment associated with the credential.

created_at: int | None = None

Time at which this credential was created, in epoch milliseconds.

created_by: str | None = None

Username of credential creator.

databricks_gcp_service_account: DatabricksGcpServiceAccountResponse | None = None

The Databricks managed GCP service account configuration.

full_name: str | None = None

The full name of the credential.

id: str | None = None

The unique identifier of the credential.

isolation_mode: IsolationMode | None = None

Whether the current securable is accessible from all workspaces or a specific set of workspaces.

metastore_id: str | None = None

Unique identifier of the parent metastore.

name: str | None = None

The credential name. The name must be unique among storage and service credentials within the metastore.

owner: str | None = None

Username of current owner of credential.

read_only: bool | None = None

Whether the credential is usable only for read operations. Only applicable when purpose is STORAGE.

updated_at: int | None = None

Time at which this credential was last modified, in epoch milliseconds.

updated_by: str | None = None

Username of user who last modified the credential.

used_for_managed_storage: bool | None = None

Whether this credential is the current metastore’s root storage credential. Only applicable when purpose is STORAGE.

as_dict() dict

Serializes the StorageCredentialInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the StorageCredentialInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) StorageCredentialInfo

Deserializes the StorageCredentialInfo from a dictionary.

class databricks.sdk.service.catalog.SystemSchemaInfo(schema: 'str', state: 'str')
schema: str

Name of the system schema.

state: str

The current state of enablement for the system schema. An empty string means the system schema is available and ready for opt-in. Possible values: AVAILABLE | ENABLE_INITIALIZED | ENABLE_COMPLETED | DISABLE_INITIALIZED | UNAVAILABLE | MANAGED

as_dict() dict

Serializes the SystemSchemaInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the SystemSchemaInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) SystemSchemaInfo

Deserializes the SystemSchemaInfo from a dictionary.

class databricks.sdk.service.catalog.SystemType
AMAZON_REDSHIFT = "AMAZON_REDSHIFT"
AZURE_SYNAPSE = "AZURE_SYNAPSE"
CONFLUENT = "CONFLUENT"
DATABRICKS = "DATABRICKS"
GOOGLE_BIGQUERY = "GOOGLE_BIGQUERY"
KAFKA = "KAFKA"
LOOKER = "LOOKER"
MICROSOFT_FABRIC = "MICROSOFT_FABRIC"
MICROSOFT_SQL_SERVER = "MICROSOFT_SQL_SERVER"
MONGODB = "MONGODB"
MYSQL = "MYSQL"
ORACLE = "ORACLE"
OTHER = "OTHER"
POSTGRESQL = "POSTGRESQL"
POWER_BI = "POWER_BI"
SALESFORCE = "SALESFORCE"
SAP = "SAP"
SERVICENOW = "SERVICENOW"
SNOWFLAKE = "SNOWFLAKE"
STREAM_NATIVE = "STREAM_NATIVE"
TABLEAU = "TABLEAU"
TERADATA = "TERADATA"
WORKDAY = "WORKDAY"
class databricks.sdk.service.catalog.TableConstraint(foreign_key_constraint: ForeignKeyConstraint | None = None, named_table_constraint: NamedTableConstraint | None = None, primary_key_constraint: PrimaryKeyConstraint | None = None)

A table constraint, as defined by one of the following fields being set: primary_key_constraint, foreign_key_constraint, named_table_constraint.

foreign_key_constraint: ForeignKeyConstraint | None = None
named_table_constraint: NamedTableConstraint | None = None
primary_key_constraint: PrimaryKeyConstraint | None = None
as_dict() dict

Serializes the TableConstraint into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the TableConstraint into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) TableConstraint

Deserializes the TableConstraint from a dictionary.

class databricks.sdk.service.catalog.TableDependency(table_full_name: str)

A table that is dependent on a SQL object.

table_full_name: str

Full name of the dependent table, in the form of catalog_name.**schema_name**.**table_name**.

as_dict() dict

Serializes the TableDependency into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the TableDependency into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) TableDependency

Deserializes the TableDependency from a dictionary.

class databricks.sdk.service.catalog.TableExistsResponse(table_exists: 'Optional[bool]' = None)
table_exists: bool | None = None

Whether the table exists or not.

as_dict() dict

Serializes the TableExistsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the TableExistsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) TableExistsResponse

Deserializes the TableExistsResponse from a dictionary.

class databricks.sdk.service.catalog.TableInfo(access_point: 'Optional[str]' = None, browse_only: 'Optional[bool]' = None, catalog_name: 'Optional[str]' = None, columns: 'Optional[List[ColumnInfo]]' = None, comment: 'Optional[str]' = None, created_at: 'Optional[int]' = None, created_by: 'Optional[str]' = None, data_access_configuration_id: 'Optional[str]' = None, data_source_format: 'Optional[DataSourceFormat]' = None, deleted_at: 'Optional[int]' = None, delta_runtime_properties_kvpairs: 'Optional[DeltaRuntimePropertiesKvPairs]' = None, effective_predictive_optimization_flag: 'Optional[EffectivePredictiveOptimizationFlag]' = None, enable_predictive_optimization: 'Optional[EnablePredictiveOptimization]' = None, encryption_details: 'Optional[EncryptionDetails]' = None, full_name: 'Optional[str]' = None, metastore_id: 'Optional[str]' = None, name: 'Optional[str]' = None, owner: 'Optional[str]' = None, pipeline_id: 'Optional[str]' = None, properties: 'Optional[Dict[str, str]]' = None, row_filter: 'Optional[TableRowFilter]' = None, schema_name: 'Optional[str]' = None, securable_kind_manifest: 'Optional[SecurableKindManifest]' = None, sql_path: 'Optional[str]' = None, storage_credential_name: 'Optional[str]' = None, storage_location: 'Optional[str]' = None, table_constraints: 'Optional[List[TableConstraint]]' = None, table_id: 'Optional[str]' = None, table_type: 'Optional[TableType]' = None, updated_at: 'Optional[int]' = None, updated_by: 'Optional[str]' = None, view_definition: 'Optional[str]' = None, view_dependencies: 'Optional[DependencyList]' = None)
access_point: str | None = None

The AWS access point to use when accesing s3 for this external location.

browse_only: bool | None = None

Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request.

catalog_name: str | None = None

Name of parent catalog.

columns: List[ColumnInfo] | None = None

The array of ColumnInfo definitions of the table’s columns.

comment: str | None = None

User-provided free-form text description.

created_at: int | None = None

Time at which this table was created, in epoch milliseconds.

created_by: str | None = None

Username of table creator.

data_access_configuration_id: str | None = None

Unique ID of the Data Access Configuration to use with the table data.

data_source_format: DataSourceFormat | None = None
deleted_at: int | None = None

Time at which this table was deleted, in epoch milliseconds. Field is omitted if table is not deleted.

delta_runtime_properties_kvpairs: DeltaRuntimePropertiesKvPairs | None = None

Information pertaining to current state of the delta table.

effective_predictive_optimization_flag: EffectivePredictiveOptimizationFlag | None = None
enable_predictive_optimization: EnablePredictiveOptimization | None = None
encryption_details: EncryptionDetails | None = None
full_name: str | None = None

Full name of table, in form of catalog_name.**schema_name**.**table_name**

metastore_id: str | None = None

Unique identifier of parent metastore.

name: str | None = None

Name of table, relative to parent schema.

owner: str | None = None

Username of current owner of table.

pipeline_id: str | None = None

The pipeline ID of the table. Applicable for tables created by pipelines (Materialized View, Streaming Table, etc.).

properties: Dict[str, str] | None = None

A map of key-value properties attached to the securable.

row_filter: TableRowFilter | None = None
schema_name: str | None = None

Name of parent schema relative to its parent catalog.

securable_kind_manifest: SecurableKindManifest | None = None

SecurableKindManifest of table, including capabilities the table has.

sql_path: str | None = None

List of schemes whose objects can be referenced without qualification.

storage_credential_name: str | None = None

Name of the storage credential, when a storage credential is configured for use with this table.

storage_location: str | None = None

Storage root URL for table (for MANAGED, EXTERNAL tables).

table_constraints: List[TableConstraint] | None = None

List of table constraints. Note: this field is not set in the output of the listTables API.

table_id: str | None = None

The unique identifier of the table.

table_type: TableType | None = None
updated_at: int | None = None

Time at which this table was last modified, in epoch milliseconds.

updated_by: str | None = None

Username of user who last modified the table.

view_definition: str | None = None

View definition SQL (when table_type is VIEW, MATERIALIZED_VIEW, or STREAMING_TABLE)

view_dependencies: DependencyList | None = None

View dependencies (when table_type == VIEW or MATERIALIZED_VIEW, STREAMING_TABLE)

  • when DependencyList is None, the dependency is not provided;

  • when DependencyList is an empty list, the dependency is provided but is empty;

  • when DependencyList is not an empty list, dependencies are provided and recorded. Note: this field is not set in the output of the listTables API.

as_dict() dict

Serializes the TableInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the TableInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) TableInfo

Deserializes the TableInfo from a dictionary.

class databricks.sdk.service.catalog.TableOperation
READ = "READ"
READ_WRITE = "READ_WRITE"
class databricks.sdk.service.catalog.TableRowFilter(function_name: 'str', input_column_names: 'List[str]', input_arguments: 'Optional[List[PolicyFunctionArgument]]' = None)
function_name: str

The full name of the row filter SQL UDF.

input_column_names: List[str]

The list of table columns to be passed as input to the row filter function. The column types should match the types of the filter function arguments.

input_arguments: List[PolicyFunctionArgument] | None = None

The list of additional table columns or literals to be passed as additional arguments to a row filter function. This is the replacement of the deprecated input_column_names field and carries information about the types (alias or constant) of the arguments to the filter function.

as_dict() dict

Serializes the TableRowFilter into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the TableRowFilter into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) TableRowFilter

Deserializes the TableRowFilter from a dictionary.

class databricks.sdk.service.catalog.TableSummary(full_name: 'Optional[str]' = None, securable_kind_manifest: 'Optional[SecurableKindManifest]' = None, table_type: 'Optional[TableType]' = None)
full_name: str | None = None

The full name of the table.

securable_kind_manifest: SecurableKindManifest | None = None

SecurableKindManifest of table, including capabilities the table has.

table_type: TableType | None = None
as_dict() dict

Serializes the TableSummary into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the TableSummary into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) TableSummary

Deserializes the TableSummary from a dictionary.

class databricks.sdk.service.catalog.TableType
EXTERNAL = "EXTERNAL"
EXTERNAL_SHALLOW_CLONE = "EXTERNAL_SHALLOW_CLONE"
FOREIGN = "FOREIGN"
MANAGED = "MANAGED"
MANAGED_SHALLOW_CLONE = "MANAGED_SHALLOW_CLONE"
MATERIALIZED_VIEW = "MATERIALIZED_VIEW"
METRIC_VIEW = "METRIC_VIEW"
STREAMING_TABLE = "STREAMING_TABLE"
VIEW = "VIEW"
class databricks.sdk.service.catalog.TagAssignmentSourceType

Enum representing the source type of a tag assignment

TAG_ASSIGNMENT_SOURCE_TYPE_SYSTEM_DATA_CLASSIFICATION = "TAG_ASSIGNMENT_SOURCE_TYPE_SYSTEM_DATA_CLASSIFICATION"
class databricks.sdk.service.catalog.TagIntrospectionExpression(column_tag_value: ColumnTagValueExtraction | None = None, tag_value: TagValueExtraction | None = None)

An expression that introspects tags at query time.

column_tag_value: ColumnTagValueExtraction | None = None

Extracts the value of a column-level tag.

tag_value: TagValueExtraction | None = None

Extracts the value of a securable-level tag.

as_dict() dict

Serializes the TagIntrospectionExpression into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the TagIntrospectionExpression into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) TagIntrospectionExpression

Deserializes the TagIntrospectionExpression from a dictionary.

class databricks.sdk.service.catalog.TagKeyValue(key: 'Optional[str]' = None, value: 'Optional[str]' = None)
key: str | None = None

name of the tag

value: str | None = None

value of the tag associated with the key, could be optional

as_dict() dict

Serializes the TagKeyValue into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the TagKeyValue into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) TagKeyValue

Deserializes the TagKeyValue from a dictionary.

class databricks.sdk.service.catalog.TagValueExtraction(tag_key: str)

Extracts the value of a securable-level tag: get_tag_value(“tagKey”).

tag_key: str

1024 matches the max_length on FunctionArgument.constant above.

as_dict() dict

Serializes the TagValueExtraction into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the TagValueExtraction into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) TagValueExtraction

Deserializes the TagValueExtraction from a dictionary.

class databricks.sdk.service.catalog.TemporaryCredentials(aws_temp_credentials: 'Optional[AwsCredentials]' = None, azure_aad: 'Optional[AzureActiveDirectoryToken]' = None, expiration_time: 'Optional[int]' = None, gcp_oauth_token: 'Optional[GcpOauthToken]' = None, r2_temp_credentials: 'Optional[R2Credentials]' = None)
aws_temp_credentials: AwsCredentials | None = None
azure_aad: AzureActiveDirectoryToken | None = None
expiration_time: int | None = None

Server time when the credential will expire, in epoch milliseconds. The API client is advised to cache the credential given this expiration time.

gcp_oauth_token: GcpOauthToken | None = None
r2_temp_credentials: R2Credentials | None = None
as_dict() dict

Serializes the TemporaryCredentials into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the TemporaryCredentials into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) TemporaryCredentials

Deserializes the TemporaryCredentials from a dictionary.

class databricks.sdk.service.catalog.TriggeredUpdateStatus(last_processed_commit_version: int | None = None, timestamp: str | None = None, triggered_update_progress: PipelineProgress | None = None)

Detailed status of an online table. Shown if the online table is in the ONLINE_TRIGGERED_UPDATE or the ONLINE_NO_PENDING_UPDATE state.

last_processed_commit_version: int | None = None

The last source table Delta version that was synced to the online table. Note that this Delta version may not be completely synced to the online table yet.

timestamp: str | None = None

The timestamp of the last time any data was synchronized from the source table to the online table.

triggered_update_progress: PipelineProgress | None = None

Progress of the active data synchronization pipeline.

as_dict() dict

Serializes the TriggeredUpdateStatus into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the TriggeredUpdateStatus into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) TriggeredUpdateStatus

Deserializes the TriggeredUpdateStatus from a dictionary.

class databricks.sdk.service.catalog.UcEncryptedToken(encrypted_payload: str | None = None)

Encrypted token used when we cannot downscope the cloud provider token appropriately See: https://docs.google.com/document/d/1hEKDnSckuU5PIS798CtfqBElrMR6OJuR2wgz_BjhMSY

encrypted_payload: str | None = None

Stores encrypted ScopedCloudToken as a base64-encoded string

as_dict() dict

Serializes the UcEncryptedToken into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the UcEncryptedToken into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) UcEncryptedToken

Deserializes the UcEncryptedToken from a dictionary.

class databricks.sdk.service.catalog.UnassignResponse
as_dict() dict

Serializes the UnassignResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the UnassignResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) UnassignResponse

Deserializes the UnassignResponse from a dictionary.

class databricks.sdk.service.catalog.UpdateAccountsMetastore(delta_sharing_organization_name: 'Optional[str]' = None, delta_sharing_recipient_token_lifetime_in_seconds: 'Optional[int]' = None, delta_sharing_scope: 'Optional[DeltaSharingScopeEnum]' = None, external_access_enabled: 'Optional[bool]' = None, owner: 'Optional[str]' = None, privilege_model_version: 'Optional[str]' = None, storage_root_credential_id: 'Optional[str]' = None)
delta_sharing_organization_name: str | None = None

The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name.

delta_sharing_recipient_token_lifetime_in_seconds: int | None = None

The lifetime of delta sharing recipient token in seconds.

delta_sharing_scope: DeltaSharingScopeEnum | None = None

The scope of Delta Sharing enabled for the metastore.

external_access_enabled: bool | None = None

Whether to allow non-DBR clients to directly access entities under the metastore.

owner: str | None = None

The owner of the metastore.

privilege_model_version: str | None = None

Privilege model version of the metastore, of the form major.minor (e.g., 1.0).

storage_root_credential_id: str | None = None

UUID of storage credential to access the metastore storage_root.

as_dict() dict

Serializes the UpdateAccountsMetastore into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the UpdateAccountsMetastore into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) UpdateAccountsMetastore

Deserializes the UpdateAccountsMetastore from a dictionary.

class databricks.sdk.service.catalog.UpdateAccountsStorageCredential(aws_iam_role: 'Optional[AwsIamRoleRequest]' = None, azure_managed_identity: 'Optional[AzureManagedIdentityResponse]' = None, azure_service_principal: 'Optional[AzureServicePrincipal]' = None, cloudflare_api_token: 'Optional[CloudflareApiToken]' = None, comment: 'Optional[str]' = None, databricks_gcp_service_account: 'Optional[DatabricksGcpServiceAccountRequest]' = None, isolation_mode: 'Optional[IsolationMode]' = None, owner: 'Optional[str]' = None, read_only: 'Optional[bool]' = None)
aws_iam_role: AwsIamRoleRequest | None = None

The AWS IAM role configuration.

azure_managed_identity: AzureManagedIdentityResponse | None = None

The Azure managed identity configuration.

azure_service_principal: AzureServicePrincipal | None = None

The Azure service principal configuration.

cloudflare_api_token: CloudflareApiToken | None = None

The Cloudflare API token configuration.

comment: str | None = None

Comment associated with the credential.

databricks_gcp_service_account: DatabricksGcpServiceAccountRequest | None = None

The Databricks managed GCP service account configuration.

isolation_mode: IsolationMode | None = None

Whether the current securable is accessible from all workspaces or a specific set of workspaces.

owner: str | None = None

Username of current owner of credential.

read_only: bool | None = None

Whether the credential is usable only for read operations. Only applicable when purpose is STORAGE.

as_dict() dict

Serializes the UpdateAccountsStorageCredential into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the UpdateAccountsStorageCredential into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) UpdateAccountsStorageCredential

Deserializes the UpdateAccountsStorageCredential from a dictionary.

class databricks.sdk.service.catalog.UpdateAssignmentResponse
as_dict() dict

Serializes the UpdateAssignmentResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the UpdateAssignmentResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) UpdateAssignmentResponse

Deserializes the UpdateAssignmentResponse from a dictionary.

class databricks.sdk.service.catalog.UpdateCatalogWorkspaceBindingsResponse(workspaces: 'Optional[List[int]]' = None)
workspaces: List[int] | None = None

A list of workspace IDs

as_dict() dict

Serializes the UpdateCatalogWorkspaceBindingsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the UpdateCatalogWorkspaceBindingsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) UpdateCatalogWorkspaceBindingsResponse

Deserializes the UpdateCatalogWorkspaceBindingsResponse from a dictionary.

class databricks.sdk.service.catalog.UpdateMetastoreAssignment(workspace_id: 'int', default_catalog_name: 'Optional[str]' = None, metastore_id: 'Optional[str]' = None)
workspace_id: int

A workspace ID.

default_catalog_name: str | None = None

The name of the default catalog in the metastore. This field is deprecated. Please use “Default Namespace API” to configure the default catalog for a Databricks workspace.

metastore_id: str | None = None

The unique ID of the metastore.

as_dict() dict

Serializes the UpdateMetastoreAssignment into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the UpdateMetastoreAssignment into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) UpdateMetastoreAssignment

Deserializes the UpdateMetastoreAssignment from a dictionary.

class databricks.sdk.service.catalog.UpdatePermissionsResponse(privilege_assignments: 'Optional[List[PrivilegeAssignment]]' = None)
privilege_assignments: List[PrivilegeAssignment] | None = None

The privileges assigned to each principal

as_dict() dict

Serializes the UpdatePermissionsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the UpdatePermissionsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) UpdatePermissionsResponse

Deserializes the UpdatePermissionsResponse from a dictionary.

class databricks.sdk.service.catalog.UpdateRequestExternalLineage(source: 'ExternalLineageObject', target: 'ExternalLineageObject', columns: 'Optional[List[ColumnRelationship]]' = None, id: 'Optional[str]' = None, properties: 'Optional[Dict[str, str]]' = None)
source: ExternalLineageObject

Source object of the external lineage relationship.

target: ExternalLineageObject

Target object of the external lineage relationship.

columns: List[ColumnRelationship] | None = None

List of column relationships between source and target objects.

id: str | None = None

Unique identifier of the external lineage relationship.

properties: Dict[str, str] | None = None

Key-value properties associated with the external lineage relationship.

as_dict() dict

Serializes the UpdateRequestExternalLineage into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the UpdateRequestExternalLineage into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) UpdateRequestExternalLineage

Deserializes the UpdateRequestExternalLineage from a dictionary.

class databricks.sdk.service.catalog.UpdateResponse
as_dict() dict

Serializes the UpdateResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the UpdateResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) UpdateResponse

Deserializes the UpdateResponse from a dictionary.

class databricks.sdk.service.catalog.UpdateWorkspaceBindingsResponse(bindings: List[WorkspaceBinding] | None = None)

A list of workspace IDs that are bound to the securable

bindings: List[WorkspaceBinding] | None = None

List of workspace bindings.

as_dict() dict

Serializes the UpdateWorkspaceBindingsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the UpdateWorkspaceBindingsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) UpdateWorkspaceBindingsResponse

Deserializes the UpdateWorkspaceBindingsResponse from a dictionary.

class databricks.sdk.service.catalog.ValidateCredentialResponse(is_dir: 'Optional[bool]' = None, results: 'Optional[List[CredentialValidationResult]]' = None)
is_dir: bool | None = None

Whether the tested location is a directory in cloud storage. Only applicable for when purpose is STORAGE.

results: List[CredentialValidationResult] | None = None

The results of the validation check.

as_dict() dict

Serializes the ValidateCredentialResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ValidateCredentialResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ValidateCredentialResponse

Deserializes the ValidateCredentialResponse from a dictionary.

class databricks.sdk.service.catalog.ValidateCredentialResult

A enum represents the result of the file operation

FAIL = "FAIL"
PASS = "PASS"
SKIP = "SKIP"
class databricks.sdk.service.catalog.ValidateStorageCredentialResponse(is_dir: 'Optional[bool]' = None, results: 'Optional[List[ValidationResult]]' = None)
is_dir: bool | None = None

Whether the tested location is a directory in cloud storage.

results: List[ValidationResult] | None = None

The results of the validation check.

as_dict() dict

Serializes the ValidateStorageCredentialResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ValidateStorageCredentialResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ValidateStorageCredentialResponse

Deserializes the ValidateStorageCredentialResponse from a dictionary.

class databricks.sdk.service.catalog.ValidationResult(message: 'Optional[str]' = None, operation: 'Optional[ValidationResultOperation]' = None, result: 'Optional[ValidationResultResult]' = None)
message: str | None = None

Error message would exist when the result does not equal to PASS.

operation: ValidationResultOperation | None = None

The operation tested.

result: ValidationResultResult | None = None

The results of the tested operation.

as_dict() dict

Serializes the ValidationResult into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the ValidationResult into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) ValidationResult

Deserializes the ValidationResult from a dictionary.

class databricks.sdk.service.catalog.ValidationResultOperation

A enum represents the file operation performed on the external location with the storage credential

DELETE = "DELETE"
LIST = "LIST"
PATH_EXISTS = "PATH_EXISTS"
READ = "READ"
WRITE = "WRITE"
class databricks.sdk.service.catalog.ValidationResultResult

A enum represents the result of the file operation

FAIL = "FAIL"
PASS = "PASS"
SKIP = "SKIP"
class databricks.sdk.service.catalog.VolumeDependency(volume_full_name: str)

A volume that is dependent on a SQL object.

volume_full_name: str

Full name of the dependent volume, in the form of catalog_name.**schema_name**.**volume_name**.

as_dict() dict

Serializes the VolumeDependency into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the VolumeDependency into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) VolumeDependency

Deserializes the VolumeDependency from a dictionary.

class databricks.sdk.service.catalog.VolumeInfo(access_point: 'Optional[str]' = None, browse_only: 'Optional[bool]' = None, catalog_name: 'Optional[str]' = None, comment: 'Optional[str]' = None, created_at: 'Optional[int]' = None, created_by: 'Optional[str]' = None, encryption_details: 'Optional[EncryptionDetails]' = None, full_name: 'Optional[str]' = None, metastore_id: 'Optional[str]' = None, name: 'Optional[str]' = None, owner: 'Optional[str]' = None, schema_name: 'Optional[str]' = None, storage_location: 'Optional[str]' = None, updated_at: 'Optional[int]' = None, updated_by: 'Optional[str]' = None, volume_id: 'Optional[str]' = None, volume_type: 'Optional[VolumeType]' = None)
access_point: str | None = None

The AWS access point to use when accesing s3 for this external location.

browse_only: bool | None = None

Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request.

catalog_name: str | None = None

The name of the catalog where the schema and the volume are

comment: str | None = None

The comment attached to the volume

created_at: int | None = None
created_by: str | None = None

The identifier of the user who created the volume

encryption_details: EncryptionDetails | None = None
full_name: str | None = None

The three-level (fully qualified) name of the volume

metastore_id: str | None = None

The unique identifier of the metastore

name: str | None = None

The name of the volume

owner: str | None = None

The identifier of the user who owns the volume

schema_name: str | None = None

The name of the schema where the volume is

storage_location: str | None = None

The storage location on the cloud

updated_at: int | None = None
updated_by: str | None = None

The identifier of the user who updated the volume last time

volume_id: str | None = None

The unique identifier of the volume

volume_type: VolumeType | None = None

The type of the volume. An external volume is located in the specified external location. A managed volume is located in the default location which is specified by the parent schema, or the parent catalog, or the Metastore. Learn more

as_dict() dict

Serializes the VolumeInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the VolumeInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) VolumeInfo

Deserializes the VolumeInfo from a dictionary.

class databricks.sdk.service.catalog.VolumeOperation
READ_VOLUME = "READ_VOLUME"
WRITE_VOLUME = "WRITE_VOLUME"
class databricks.sdk.service.catalog.VolumeType
EXTERNAL = "EXTERNAL"
MANAGED = "MANAGED"
class databricks.sdk.service.catalog.WorkspaceBinding(workspace_id: 'int', binding_type: 'Optional[WorkspaceBindingBindingType]' = None)
workspace_id: int

Required

binding_type: WorkspaceBindingBindingType | None = None

One of READ_WRITE/READ_ONLY. Default is READ_WRITE.

as_dict() dict

Serializes the WorkspaceBinding into a dictionary suitable for use as a JSON request body.

as_shallow_dict() dict

Serializes the WorkspaceBinding into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) WorkspaceBinding

Deserializes the WorkspaceBinding from a dictionary.

class databricks.sdk.service.catalog.WorkspaceBindingBindingType

Using BINDING_TYPE_ prefix here to avoid conflict with TableOperation enum in credentials_common.proto.

BINDING_TYPE_READ_ONLY = "BINDING_TYPE_READ_ONLY"
BINDING_TYPE_READ_WRITE = "BINDING_TYPE_READ_WRITE"