databricks-sdk 0.62.0__py3-none-any.whl → 0.63.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of databricks-sdk might be problematic. Click here for more details.

@@ -51,12 +51,13 @@ from databricks.sdk.service.catalog import (AccountMetastoreAssignmentsAPI,
51
51
  ExternalMetadataAPI, FunctionsAPI,
52
52
  GrantsAPI, MetastoresAPI,
53
53
  ModelVersionsAPI, OnlineTablesAPI,
54
- QualityMonitorsAPI,
54
+ PoliciesAPI, QualityMonitorsAPI,
55
55
  RegisteredModelsAPI,
56
56
  ResourceQuotasAPI, SchemasAPI,
57
57
  StorageCredentialsAPI,
58
58
  SystemSchemasAPI,
59
59
  TableConstraintsAPI, TablesAPI,
60
+ TemporaryPathCredentialsAPI,
60
61
  TemporaryTableCredentialsAPI,
61
62
  VolumesAPI, WorkspaceBindingsAPI)
62
63
  from databricks.sdk.service.cleanrooms import (CleanRoomAssetRevisionsAPI,
@@ -300,6 +301,7 @@ class WorkspaceClient:
300
301
  self._permission_migration = pkg_iam.PermissionMigrationAPI(self._api_client)
301
302
  self._permissions = pkg_iam.PermissionsAPI(self._api_client)
302
303
  self._pipelines = pkg_pipelines.PipelinesAPI(self._api_client)
304
+ self._policies = pkg_catalog.PoliciesAPI(self._api_client)
303
305
  self._policy_compliance_for_clusters = pkg_compute.PolicyComplianceForClustersAPI(self._api_client)
304
306
  self._policy_compliance_for_jobs = pkg_jobs.PolicyComplianceForJobsAPI(self._api_client)
305
307
  self._policy_families = pkg_compute.PolicyFamiliesAPI(self._api_client)
@@ -345,6 +347,7 @@ class WorkspaceClient:
345
347
  self._system_schemas = pkg_catalog.SystemSchemasAPI(self._api_client)
346
348
  self._table_constraints = pkg_catalog.TableConstraintsAPI(self._api_client)
347
349
  self._tables = pkg_catalog.TablesAPI(self._api_client)
350
+ self._temporary_path_credentials = pkg_catalog.TemporaryPathCredentialsAPI(self._api_client)
348
351
  self._temporary_table_credentials = pkg_catalog.TemporaryTableCredentialsAPI(self._api_client)
349
352
  self._token_management = pkg_settings.TokenManagementAPI(self._api_client)
350
353
  self._tokens = pkg_settings.TokensAPI(self._api_client)
@@ -670,6 +673,11 @@ class WorkspaceClient:
670
673
  """The Delta Live Tables API allows you to create, edit, delete, start, and view details about pipelines."""
671
674
  return self._pipelines
672
675
 
676
+ @property
677
+ def policies(self) -> pkg_catalog.PoliciesAPI:
678
+ """Attribute-Based Access Control (ABAC) provides high leverage governance for enforcing compliance policies in Unity Catalog."""
679
+ return self._policies
680
+
673
681
  @property
674
682
  def policy_compliance_for_clusters(self) -> pkg_compute.PolicyComplianceForClustersAPI:
675
683
  """The policy compliance APIs allow you to view and manage the policy compliance status of clusters in your workspace."""
@@ -860,9 +868,14 @@ class WorkspaceClient:
860
868
  """A table resides in the third layer of Unity Catalog’s three-level namespace."""
861
869
  return self._tables
862
870
 
871
+ @property
872
+ def temporary_path_credentials(self) -> pkg_catalog.TemporaryPathCredentialsAPI:
873
+ """Temporary Path Credentials refer to short-lived, downscoped credentials used to access external cloud storage locations registered in Databricks."""
874
+ return self._temporary_path_credentials
875
+
863
876
  @property
864
877
  def temporary_table_credentials(self) -> pkg_catalog.TemporaryTableCredentialsAPI:
865
- """Temporary Table Credentials refer to short-lived, downscoped credentials used to access cloud storage locationswhere table data is stored in Databricks."""
878
+ """Temporary Table Credentials refer to short-lived, downscoped credentials used to access cloud storage locations where table data is stored in Databricks."""
866
879
  return self._temporary_table_credentials
867
880
 
868
881
  @property
@@ -32,8 +32,6 @@ class App:
32
32
  app_status: Optional[ApplicationStatus] = None
33
33
 
34
34
  budget_policy_id: Optional[str] = None
35
- """TODO: Deprecate this field after serverless entitlements are released to all prod stages and the
36
- new usage_policy_id is properly populated and used."""
37
35
 
38
36
  compute_status: Optional[ComputeStatus] = None
39
37
 
@@ -51,8 +49,6 @@ class App:
51
49
  """The description of the app."""
52
50
 
53
51
  effective_budget_policy_id: Optional[str] = None
54
- """TODO: Deprecate this field after serverless entitlements are released to all prod stages and the
55
- new usage_policy_id is properly populated and used."""
56
52
 
57
53
  effective_user_api_scopes: Optional[List[str]] = None
58
54
  """The effective api scopes granted to the user access token."""