From 1ee6c208daa70bd5e4b594c2abe40e6d6fae1b66 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Mon, 23 Jun 2025 11:08:22 +0000 Subject: [PATCH] Update --- .codegen/_openapi_sha | 2 +- .gitattributes | 81 +++++- NEXT_CHANGELOG.md | 55 ++++ .../com/databricks/sdk/AccountClient.java | 60 +++- .../com/databricks/sdk/WorkspaceClient.java | 91 ++++-- .../sdk/service/aibuilder/AiBuilderAPI.java | 85 ++++++ ...CustomLlmsImpl.java => AiBuilderImpl.java} | 45 ++- ...LlmsService.java => AiBuilderService.java} | 19 +- ...ponse.java => CancelOptimizeResponse.java} | 4 +- .../aibuilder/CreateCustomLlmRequest.java | 112 ++++++++ .../sdk/service/aibuilder/CustomLlmsAPI.java | 66 ----- .../aibuilder/DeleteCustomLlmRequest.java | 41 +++ .../aibuilder/DeleteCustomLlmResponse.java | 28 ++ .../aibuilder/GetCustomLlmRequest.java | 1 - .../databricks/sdk/service/apps/AppsAPI.java | 85 +----- .../sdk/service/apps/AppsService.java | 85 +----- .../apps/CreateAppDeploymentRequest.java | 1 - .../sdk/service/apps/CreateAppRequest.java | 1 - .../sdk/service/apps/DeleteAppRequest.java | 1 - .../service/apps/GetAppDeploymentRequest.java | 1 - .../apps/GetAppPermissionLevelsRequest.java | 1 - .../apps/GetAppPermissionsRequest.java | 1 - .../sdk/service/apps/GetAppRequest.java | 1 - .../apps/ListAppDeploymentsRequest.java | 1 - .../sdk/service/apps/ListAppsRequest.java | 1 - .../sdk/service/apps/UpdateAppRequest.java | 1 - .../sdk/service/billing/BillableUsageAPI.java | 4 +- .../service/billing/BillableUsageService.java | 4 +- .../sdk/service/billing/BudgetPolicyAPI.java | 29 +- .../service/billing/BudgetPolicyService.java | 29 +- .../sdk/service/billing/BudgetsAPI.java | 24 +- .../sdk/service/billing/BudgetsService.java | 24 +- .../DeleteBudgetConfigurationRequest.java | 1 - .../billing/DeleteBudgetPolicyRequest.java | 1 - .../sdk/service/billing/DownloadRequest.java | 1 - .../GetBillingUsageDashboardRequest.java | 1 - .../GetBudgetConfigurationRequest.java | 1 - .../billing/GetBudgetPolicyRequest.java | 1 - .../billing/GetLogDeliveryRequest.java | 1 - .../ListBudgetConfigurationsRequest.java | 1 - .../billing/ListBudgetPoliciesRequest.java | 1 - .../billing/ListLogDeliveryRequest.java | 1 - .../sdk/service/billing/LogDeliveryAPI.java | 81 ++++-- .../service/billing/LogDeliveryService.java | 81 ++++-- .../billing/UpdateBudgetPolicyRequest.java | 1 - .../service/billing/UsageDashboardsAPI.java | 12 +- .../billing/UsageDashboardsService.java | 12 +- .../AccountMetastoreAssignmentsAPI.java | 30 +- .../AccountMetastoreAssignmentsService.java | 30 +- .../service/catalog/AccountMetastoresAPI.java | 30 +- .../catalog/AccountMetastoresService.java | 30 +- .../catalog/AccountStorageCredentialsAPI.java | 24 +- .../AccountStorageCredentialsService.java | 24 +- .../catalog/ArtifactAllowlistsAPI.java | 14 +- .../catalog/ArtifactAllowlistsService.java | 14 +- .../service/catalog/AwsIamRoleRequest.java | 3 +- .../service/catalog/AwsIamRoleResponse.java | 5 +- .../service/catalog/AzureManagedIdentity.java | 6 +- .../catalog/AzureManagedIdentityRequest.java | 9 +- .../catalog/AzureManagedIdentityResponse.java | 9 +- .../service/catalog/CancelRefreshRequest.java | 1 - .../sdk/service/catalog/CatalogType.java | 1 - .../sdk/service/catalog/CatalogsAPI.java | 32 +-- .../sdk/service/catalog/CatalogsService.java | 32 +-- .../service/catalog/CloudflareApiToken.java | 10 +- .../service/catalog/ConnectionDependency.java | 45 +++ .../sdk/service/catalog/ConnectionType.java | 2 +- .../sdk/service/catalog/ConnectionsAPI.java | 28 +- .../service/catalog/ConnectionsService.java | 28 +- .../catalog/CreateCredentialRequest.java | 6 +- .../catalog/CreateOnlineTableRequest.java | 1 - .../catalog/CreateStorageCredential.java | 10 +- .../service/catalog/CredentialDependency.java | 45 +++ .../sdk/service/catalog/CredentialInfo.java | 6 +- .../sdk/service/catalog/CredentialsAPI.java | 34 +-- .../service/catalog/CredentialsService.java | 34 +-- .../sdk/service/catalog/DataSourceFormat.java | 11 +- .../catalog/DatabricksGcpServiceAccount.java | 6 +- .../DatabricksGcpServiceAccountRequest.java | 1 + .../DatabricksGcpServiceAccountResponse.java | 7 +- ...leteAccountMetastoreAssignmentRequest.java | 1 - .../DeleteAccountMetastoreRequest.java | 1 - ...DeleteAccountStorageCredentialRequest.java | 1 - .../service/catalog/DeleteAliasRequest.java | 1 - .../service/catalog/DeleteCatalogRequest.java | 1 - .../catalog/DeleteConnectionRequest.java | 1 - .../catalog/DeleteCredentialRequest.java | 1 - .../DeleteExternalLocationRequest.java | 1 - .../catalog/DeleteFunctionRequest.java | 1 - .../catalog/DeleteMetastoreRequest.java | 1 - .../catalog/DeleteModelVersionRequest.java | 1 - .../catalog/DeleteOnlineTableRequest.java | 1 - .../catalog/DeleteQualityMonitorRequest.java | 1 - .../catalog/DeleteRegisteredModelRequest.java | 1 - .../service/catalog/DeleteSchemaRequest.java | 1 - .../DeleteStorageCredentialRequest.java | 6 +- .../catalog/DeleteTableConstraintRequest.java | 1 - .../service/catalog/DeleteTableRequest.java | 1 - .../service/catalog/DeleteVolumeRequest.java | 1 - .../sdk/service/catalog/Dependency.java | 39 ++- .../sdk/service/catalog/DisableRequest.java | 1 - .../sdk/service/catalog/ExistsRequest.java | 1 - .../service/catalog/ExternalLocationsAPI.java | 30 +- .../catalog/ExternalLocationsService.java | 30 +- .../service/catalog/ForeignKeyConstraint.java | 19 +- .../sdk/service/catalog/FunctionsAPI.java | 28 +- .../sdk/service/catalog/FunctionsService.java | 28 +- .../GetAccountMetastoreAssignmentRequest.java | 1 - .../catalog/GetAccountMetastoreRequest.java | 1 - .../GetAccountStorageCredentialRequest.java | 1 - .../catalog/GetArtifactAllowlistRequest.java | 1 - .../service/catalog/GetBindingsRequest.java | 1 - .../service/catalog/GetByAliasRequest.java | 1 - .../service/catalog/GetCatalogRequest.java | 1 - .../service/catalog/GetConnectionRequest.java | 1 - .../service/catalog/GetCredentialRequest.java | 1 - .../service/catalog/GetEffectiveRequest.java | 1 - .../catalog/GetExternalLocationRequest.java | 1 - .../service/catalog/GetFunctionRequest.java | 1 - .../sdk/service/catalog/GetGrantRequest.java | 1 - .../service/catalog/GetMetastoreRequest.java | 1 - .../catalog/GetModelVersionRequest.java | 1 - .../catalog/GetOnlineTableRequest.java | 1 - .../catalog/GetQualityMonitorRequest.java | 1 - .../sdk/service/catalog/GetQuotaRequest.java | 1 - .../service/catalog/GetRefreshRequest.java | 1 - .../catalog/GetRegisteredModelRequest.java | 1 - .../sdk/service/catalog/GetSchemaRequest.java | 1 - .../catalog/GetStorageCredentialRequest.java | 1 - .../sdk/service/catalog/GetTableRequest.java | 5 +- .../catalog/GetWorkspaceBindingRequest.java | 1 - .../sdk/service/catalog/GrantsAPI.java | 18 +- .../sdk/service/catalog/GrantsService.java | 18 +- ...istAccountMetastoreAssignmentsRequest.java | 1 - .../ListAccountStorageCredentialsRequest.java | 1 - .../service/catalog/ListCatalogsRequest.java | 1 - .../catalog/ListConnectionsRequest.java | 1 - .../catalog/ListCredentialsRequest.java | 1 - .../catalog/ListExternalLocationsRequest.java | 1 - .../service/catalog/ListFunctionsRequest.java | 1 - .../catalog/ListMetastoresRequest.java | 1 - .../catalog/ListModelVersionsRequest.java | 1 - .../service/catalog/ListQuotasRequest.java | 1 - .../service/catalog/ListRefreshesRequest.java | 1 - .../catalog/ListRegisteredModelsRequest.java | 1 - .../service/catalog/ListSchemasRequest.java | 1 - .../ListStorageCredentialsRequest.java | 1 - .../service/catalog/ListSummariesRequest.java | 3 +- .../catalog/ListSystemSchemasRequest.java | 1 - .../service/catalog/ListTablesRequest.java | 22 +- .../service/catalog/ListVolumesRequest.java | 1 - .../sdk/service/catalog/MetastoresAPI.java | 56 +--- .../service/catalog/MetastoresService.java | 56 +--- .../sdk/service/catalog/ModelVersionsAPI.java | 24 +- .../service/catalog/ModelVersionsService.java | 24 +- .../sdk/service/catalog/OnlineTablesAPI.java | 16 +- .../service/catalog/OnlineTablesService.java | 16 +- .../sdk/service/catalog/OptionSpec.java | 268 ++++++++++++++++++ .../service/catalog/OptionSpecOauthStage.java | 18 ++ .../service/catalog/OptionSpecOptionType.java | 21 ++ .../service/catalog/PrimaryKeyConstraint.java | 17 +- .../service/catalog/PrivilegeAssignment.java | 5 +- .../service/catalog/QualityMonitorsAPI.java | 38 +-- .../catalog/QualityMonitorsService.java | 38 +-- .../service/catalog/ReadVolumeRequest.java | 1 - .../service/catalog/RegisteredModelsAPI.java | 30 +- .../catalog/RegisteredModelsService.java | 30 +- .../service/catalog/ResourceQuotasAPI.java | 10 +- .../catalog/ResourceQuotasService.java | 10 +- .../service/catalog/RunRefreshRequest.java | 1 - .../sdk/service/catalog/SchemasAPI.java | 31 +- .../sdk/service/catalog/SchemasService.java | 31 +- .../sdk/service/catalog/SecurableKind.java | 68 +++++ .../catalog/SecurableKindManifest.java | 143 ++++++++++ .../sdk/service/catalog/SecurableType.java | 1 - .../catalog/StorageCredentialInfo.java | 24 +- .../catalog/StorageCredentialsAPI.java | 36 +-- .../catalog/StorageCredentialsService.java | 32 +-- .../sdk/service/catalog/SystemSchemasAPI.java | 12 +- .../service/catalog/SystemSchemasService.java | 12 +- .../service/catalog/TableConstraintsAPI.java | 8 +- .../catalog/TableConstraintsService.java | 8 +- .../sdk/service/catalog/TableInfo.java | 18 +- .../sdk/service/catalog/TableSummary.java | 20 +- .../sdk/service/catalog/TableType.java | 1 + .../sdk/service/catalog/TablesAPI.java | 50 +--- .../sdk/service/catalog/TablesService.java | 42 +-- .../catalog/TemporaryTableCredentialsAPI.java | 4 +- .../TemporaryTableCredentialsService.java | 4 +- .../sdk/service/catalog/UnassignRequest.java | 1 - .../catalog/UpdateCredentialRequest.java | 6 +- .../catalog/UpdateStorageCredential.java | 10 +- .../service/catalog/UpdateTableRequest.java | 3 +- .../catalog/ValidateStorageCredential.java | 2 +- .../catalog/ValidationResultOperation.java | 5 +- .../catalog/ValidationResultResult.java | 2 +- .../sdk/service/catalog/VolumesAPI.java | 20 +- .../sdk/service/catalog/VolumesService.java | 20 +- .../service/catalog/WorkspaceBindingsAPI.java | 24 +- .../catalog/WorkspaceBindingsService.java | 24 +- .../cleanrooms/CleanRoomAssetsAPI.java | 22 +- .../cleanrooms/CleanRoomAssetsService.java | 22 +- .../cleanrooms/CleanRoomTaskRunsAPI.java | 6 +- .../cleanrooms/CleanRoomTaskRunsService.java | 6 +- .../sdk/service/cleanrooms/CleanRoomsAPI.java | 34 +-- .../service/cleanrooms/CleanRoomsService.java | 34 +-- .../CreateCleanRoomAssetRequest.java | 1 - .../CreateCleanRoomOutputCatalogRequest.java | 1 - .../cleanrooms/CreateCleanRoomRequest.java | 1 - .../DeleteCleanRoomAssetRequest.java | 1 - .../cleanrooms/DeleteCleanRoomRequest.java | 1 - .../cleanrooms/GetCleanRoomAssetRequest.java | 1 - .../cleanrooms/GetCleanRoomRequest.java | 1 - .../ListCleanRoomAssetsRequest.java | 1 - .../ListCleanRoomNotebookTaskRunsRequest.java | 1 - .../cleanrooms/ListCleanRoomsRequest.java | 1 - .../UpdateCleanRoomAssetRequest.java | 1 - .../service/compute/ClusterAttributes.java | 38 +++ .../sdk/service/compute/ClusterDetails.java | 38 +++ .../service/compute/ClusterPoliciesAPI.java | 49 +--- .../compute/ClusterPoliciesService.java | 49 +--- .../sdk/service/compute/ClusterSpec.java | 38 +++ .../sdk/service/compute/ClusterStatus.java | 1 - .../sdk/service/compute/ClustersAPI.java | 127 +++------ .../sdk/service/compute/ClustersService.java | 127 +++------ .../service/compute/CommandExecutionAPI.java | 28 +- .../compute/CommandExecutionService.java | 28 +- .../service/compute/CommandStatusRequest.java | 1 - .../service/compute/ContextStatusRequest.java | 1 - .../sdk/service/compute/CreateCluster.java | 38 +++ .../service/compute/CreateInstancePool.java | 42 ++- .../DeleteGlobalInitScriptRequest.java | 1 - .../sdk/service/compute/EditCluster.java | 38 +++ .../sdk/service/compute/EditInstancePool.java | 42 ++- .../compute/GetClusterComplianceRequest.java | 1 - .../GetClusterPermissionLevelsRequest.java | 1 - .../compute/GetClusterPermissionsRequest.java | 1 - ...tClusterPolicyPermissionLevelsRequest.java | 1 - .../GetClusterPolicyPermissionsRequest.java | 1 - .../compute/GetClusterPolicyRequest.java | 1 - .../service/compute/GetClusterRequest.java | 1 - .../compute/GetGlobalInitScriptRequest.java | 1 - .../sdk/service/compute/GetInstancePool.java | 42 ++- ...etInstancePoolPermissionLevelsRequest.java | 1 - .../GetInstancePoolPermissionsRequest.java | 1 - .../compute/GetInstancePoolRequest.java | 1 - .../compute/GetPolicyFamilyRequest.java | 1 - .../service/compute/GlobalInitScriptsAPI.java | 30 +- .../compute/GlobalInitScriptsService.java | 30 +- .../service/compute/InstancePoolAndStats.java | 42 ++- .../sdk/service/compute/InstancePoolsAPI.java | 51 +--- .../service/compute/InstancePoolsService.java | 51 +--- .../service/compute/InstanceProfilesAPI.java | 20 +- .../compute/InstanceProfilesService.java | 20 +- .../sdk/service/compute/Language.java | 3 + .../sdk/service/compute/LibrariesAPI.java | 23 +- .../sdk/service/compute/LibrariesService.java | 23 +- .../ListClusterCompliancesRequest.java | 1 - .../compute/ListClusterPoliciesRequest.java | 1 - .../service/compute/ListClustersRequest.java | 1 - .../compute/ListPolicyFamiliesRequest.java | 1 - .../PolicyComplianceForClustersAPI.java | 16 +- .../PolicyComplianceForClustersService.java | 16 +- .../service/compute/PolicyFamiliesAPI.java | 12 +- .../compute/PolicyFamiliesService.java | 12 +- .../compute/UpdateClusterResource.java | 38 +++ .../dashboards/CreateDashboardRequest.java | 1 - .../dashboards/CreateScheduleRequest.java | 1 - .../dashboards/CreateSubscriptionRequest.java | 1 - .../DeleteConversationResponse.java | 28 ++ .../dashboards/DeleteScheduleRequest.java | 1 - .../dashboards/DeleteSubscriptionRequest.java | 1 - .../sdk/service/dashboards/GenieAPI.java | 143 +++------- .../dashboards/GenieConversationSummary.java | 74 +++++ .../GenieDeleteConversationRequest.java | 57 ++++ ...eExecuteMessageAttachmentQueryRequest.java | 1 - .../GenieExecuteMessageQueryRequest.java | 1 - ...enerateDownloadFullQueryResultRequest.java | 87 ------ ...nerateDownloadFullQueryResultResponse.java | 45 --- .../GenieGetConversationMessageRequest.java | 1 - ...enieGetDownloadFullQueryResultRequest.java | 103 ------- ...nieGetDownloadFullQueryResultResponse.java | 48 ---- ...etMessageAttachmentQueryResultRequest.java | 1 - .../GenieGetMessageQueryResultRequest.java | 1 - ...enieGetQueryResultByAttachmentRequest.java | 1 - .../dashboards/GenieGetSpaceRequest.java | 1 - .../sdk/service/dashboards/GenieImpl.java | 81 +++--- .../GenieListConversationsRequest.java | 76 +++++ .../GenieListConversationsResponse.java | 61 ++++ .../dashboards/GenieListSpacesRequest.java | 1 - .../sdk/service/dashboards/GenieService.java | 96 ++----- .../dashboards/GenieTrashSpaceRequest.java | 41 +++ .../dashboards/GetDashboardRequest.java | 1 - .../GetPublishedDashboardRequest.java | 1 - ...GetPublishedDashboardTokenInfoRequest.java | 1 - .../dashboards/GetScheduleRequest.java | 1 - .../dashboards/GetSubscriptionRequest.java | 1 - .../sdk/service/dashboards/LakeviewAPI.java | 48 +--- .../dashboards/LakeviewEmbeddedAPI.java | 4 +- .../dashboards/LakeviewEmbeddedService.java | 4 +- .../service/dashboards/LakeviewService.java | 48 +--- .../dashboards/ListDashboardsRequest.java | 1 - .../dashboards/ListSchedulesRequest.java | 1 - .../dashboards/ListSubscriptionsRequest.java | 1 - .../dashboards/TrashDashboardRequest.java | 1 - .../dashboards/TrashSpaceResponse.java | 28 ++ .../dashboards/UnpublishDashboardRequest.java | 1 - .../dashboards/UpdateDashboardRequest.java | 1 - .../dashboards/UpdateScheduleRequest.java | 1 - .../CreateDatabaseCatalogRequest.java | 1 - .../CreateDatabaseInstanceRequest.java | 1 - .../CreateDatabaseInstanceRoleRequest.java | 60 ++++ .../database/CreateDatabaseTableRequest.java | 1 - .../CreateSyncedDatabaseTableRequest.java | 1 - .../sdk/service/database/DatabaseAPI.java | 60 +++- .../service/database/DatabaseCredential.java | 22 +- .../sdk/service/database/DatabaseImpl.java | 62 ++++ .../service/database/DatabaseInstance.java | 208 +++++++++++++- .../service/database/DatabaseInstanceRef.java | 130 +++++++++ .../database/DatabaseInstanceRole.java | 90 ++++++ .../DatabaseInstanceRoleAttributes.java | 81 ++++++ .../DatabaseInstanceRoleIdentityType.java | 13 + .../DatabaseInstanceRoleMembershipRole.java | 11 + .../sdk/service/database/DatabaseService.java | 21 +- .../sdk/service/database/DatabaseTable.java | 28 +- .../DeleteDatabaseCatalogRequest.java | 1 - .../DeleteDatabaseInstanceRequest.java | 11 +- .../DeleteDatabaseInstanceRoleRequest.java | 90 ++++++ .../DeleteDatabaseInstanceRoleResponse.java | 28 ++ .../database/DeleteDatabaseTableRequest.java | 1 - .../DeleteSyncedDatabaseTableRequest.java | 1 - .../service/database/DeltaTableSyncInfo.java | 62 ++++ .../FindDatabaseInstanceByUidRequest.java | 1 - .../database/GetDatabaseCatalogRequest.java | 1 - .../database/GetDatabaseInstanceRequest.java | 1 - .../GetDatabaseInstanceRoleRequest.java | 56 ++++ .../database/GetDatabaseTableRequest.java | 1 - .../GetSyncedDatabaseTableRequest.java | 1 - .../ListDatabaseInstanceRolesRequest.java | 78 +++++ .../ListDatabaseInstanceRolesResponse.java | 61 ++++ .../ListDatabaseInstancesRequest.java | 1 - .../service/database/SyncedDatabaseTable.java | 25 +- .../SyncedTableContinuousUpdateStatus.java | 9 +- .../database/SyncedTableFailedStatus.java | 10 +- .../service/database/SyncedTablePosition.java | 81 ++++++ .../sdk/service/database/SyncedTableSpec.java | 37 +-- .../service/database/SyncedTableStatus.java | 47 +++ .../SyncedTableTriggeredUpdateStatus.java | 9 +- .../UpdateDatabaseInstanceRequest.java | 1 - .../service/files/CreateDirectoryRequest.java | 1 - .../databricks/sdk/service/files/DbfsAPI.java | 54 ++-- .../sdk/service/files/DbfsService.java | 54 ++-- .../service/files/DeleteDirectoryRequest.java | 1 - .../sdk/service/files/DeleteFileRequest.java | 1 - .../sdk/service/files/DownloadRequest.java | 1 - .../sdk/service/files/FilesAPI.java | 39 +-- .../sdk/service/files/FilesService.java | 39 +-- .../files/GetDirectoryMetadataRequest.java | 1 - .../sdk/service/files/GetMetadataRequest.java | 1 - .../sdk/service/files/GetStatusRequest.java | 1 - .../sdk/service/files/ListDbfsRequest.java | 1 - .../files/ListDirectoryContentsRequest.java | 1 - .../sdk/service/files/ReadDbfsRequest.java | 1 - .../sdk/service/files/UploadRequest.java | 1 - .../service/iam/AccountAccessControlAPI.java | 16 +- .../iam/AccountAccessControlProxyAPI.java | 16 +- .../iam/AccountAccessControlProxyService.java | 16 +- .../iam/AccountAccessControlService.java | 16 +- .../sdk/service/iam/AccountGroupsAPI.java | 35 +-- .../sdk/service/iam/AccountGroupsService.java | 35 +-- .../iam/AccountServicePrincipalsAPI.java | 34 +-- .../iam/AccountServicePrincipalsService.java | 34 +-- .../sdk/service/iam/AccountUsersAPI.java | 32 +-- .../sdk/service/iam/AccountUsersService.java | 32 +-- .../sdk/service/iam/CheckPolicyRequest.java | 1 - .../sdk/service/iam/CurrentUserAPI.java | 6 +- .../sdk/service/iam/CurrentUserService.java | 6 +- .../iam/DeleteAccountGroupRequest.java | 1 - .../DeleteAccountServicePrincipalRequest.java | 1 - .../service/iam/DeleteAccountUserRequest.java | 1 - .../sdk/service/iam/DeleteGroupRequest.java | 1 - .../iam/DeleteServicePrincipalRequest.java | 1 - .../sdk/service/iam/DeleteUserRequest.java | 1 - .../iam/DeleteWorkspaceAssignmentRequest.java | 1 - .../service/iam/GetAccountGroupRequest.java | 1 - .../GetAccountServicePrincipalRequest.java | 1 - .../service/iam/GetAccountUserRequest.java | 1 - .../GetAssignableRolesForResourceRequest.java | 1 - .../sdk/service/iam/GetGroupRequest.java | 1 - .../iam/GetPermissionLevelsRequest.java | 1 - .../sdk/service/iam/GetPermissionRequest.java | 1 - .../sdk/service/iam/GetRuleSetRequest.java | 1 - .../iam/GetServicePrincipalRequest.java | 1 - .../sdk/service/iam/GetUserRequest.java | 1 - .../iam/GetWorkspaceAssignmentRequest.java | 1 - .../databricks/sdk/service/iam/GroupsAPI.java | 34 +-- .../sdk/service/iam/GroupsService.java | 34 +-- .../service/iam/ListAccountGroupsRequest.java | 1 - .../ListAccountServicePrincipalsRequest.java | 1 - .../service/iam/ListAccountUsersRequest.java | 1 - .../sdk/service/iam/ListGroupsRequest.java | 1 - .../iam/ListServicePrincipalsRequest.java | 1 - .../sdk/service/iam/ListUsersRequest.java | 1 - .../iam/ListWorkspaceAssignmentRequest.java | 1 - .../sdk/service/iam/PermissionsAPI.java | 26 +- .../sdk/service/iam/PermissionsService.java | 26 +- .../sdk/service/iam/ServicePrincipalsAPI.java | 34 +-- .../service/iam/ServicePrincipalsService.java | 34 +-- .../databricks/sdk/service/iam/UsersAPI.java | 51 +--- .../sdk/service/iam/UsersService.java | 51 +--- .../service/iam/WorkspaceAssignmentAPI.java | 21 +- .../iam/WorkspaceAssignmentService.java | 21 +- .../databricks/sdk/service/jobs/BaseRun.java | 7 +- .../sdk/service/jobs/DbtCloudJobRunStep.java | 11 +- .../sdk/service/jobs/DbtCloudTask.java | 1 + .../sdk/service/jobs/DbtCloudTaskOutput.java | 1 + .../service/jobs/DbtPlatformJobRunStep.java | 126 ++++++++ ...nStatus.java => DbtPlatformRunStatus.java} | 4 +- .../sdk/service/jobs/DbtPlatformTask.java | 62 ++++ .../service/jobs/DbtPlatformTaskOutput.java | 98 +++++++ .../sdk/service/jobs/ExportRunRequest.java | 1 - .../jobs/GetJobPermissionLevelsRequest.java | 1 - .../jobs/GetJobPermissionsRequest.java | 1 - .../sdk/service/jobs/GetJobRequest.java | 1 - .../jobs/GetPolicyComplianceRequest.java | 1 - .../sdk/service/jobs/GetRunOutputRequest.java | 1 - .../sdk/service/jobs/GetRunRequest.java | 1 - .../databricks/sdk/service/jobs/JobsAPI.java | 113 ++------ .../sdk/service/jobs/JobsService.java | 113 ++------ .../jobs/ListJobComplianceRequest.java | 1 - .../sdk/service/jobs/ListJobsRequest.java | 1 - .../sdk/service/jobs/ListRunsRequest.java | 1 - .../jobs/PolicyComplianceForJobsAPI.java | 16 +- .../jobs/PolicyComplianceForJobsService.java | 16 +- .../com/databricks/sdk/service/jobs/Run.java | 7 +- .../sdk/service/jobs/RunOutput.java | 18 +- .../databricks/sdk/service/jobs/RunTask.java | 18 +- .../sdk/service/jobs/SubmitTask.java | 18 +- .../com/databricks/sdk/service/jobs/Task.java | 18 +- .../sdk/service/jobs/TriggerType.java | 9 +- .../marketplace/BatchGetListingsRequest.java | 1 - .../marketplace/BatchGetProvidersRequest.java | 1 - .../marketplace/ConsumerFulfillmentsAPI.java | 10 +- .../ConsumerFulfillmentsService.java | 10 +- .../marketplace/ConsumerInstallationsAPI.java | 30 +- .../ConsumerInstallationsService.java | 30 +- .../marketplace/ConsumerListingsAPI.java | 22 +- .../marketplace/ConsumerListingsService.java | 22 +- .../ConsumerPersonalizationRequestsAPI.java | 16 +- ...onsumerPersonalizationRequestsService.java | 16 +- .../marketplace/ConsumerProvidersAPI.java | 18 +- .../marketplace/ConsumerProvidersService.java | 18 +- .../DeleteExchangeFilterRequest.java | 1 - .../marketplace/DeleteExchangeRequest.java | 1 - .../marketplace/DeleteFileRequest.java | 1 - .../DeleteInstallationRequest.java | 1 - .../marketplace/DeleteListingRequest.java | 1 - .../marketplace/DeleteProviderRequest.java | 1 - .../marketplace/GetExchangeRequest.java | 1 - .../service/marketplace/GetFileRequest.java | 1 - .../GetListingContentMetadataRequest.java | 1 - .../marketplace/GetListingRequest.java | 1 - .../marketplace/GetListingsRequest.java | 1 - .../GetPersonalizationRequestRequest.java | 1 - .../marketplace/GetProviderRequest.java | 1 - .../ListAllInstallationsRequest.java | 1 - ...ListAllPersonalizationRequestsRequest.java | 1 - .../ListExchangeFiltersRequest.java | 1 - .../ListExchangesForListingRequest.java | 1 - .../marketplace/ListExchangesRequest.java | 1 - .../service/marketplace/ListFilesRequest.java | 1 - .../marketplace/ListFulfillmentsRequest.java | 1 - .../marketplace/ListInstallationsRequest.java | 1 - .../ListListingsForExchangeRequest.java | 1 - .../marketplace/ListListingsRequest.java | 1 - .../marketplace/ListProvidersRequest.java | 1 - .../ProviderExchangeFiltersAPI.java | 24 +- .../ProviderExchangeFiltersService.java | 24 +- .../marketplace/ProviderExchangesAPI.java | 54 +--- .../marketplace/ProviderExchangesService.java | 54 +--- .../service/marketplace/ProviderFilesAPI.java | 24 +- .../marketplace/ProviderFilesService.java | 24 +- .../marketplace/ProviderListingsAPI.java | 30 +- .../marketplace/ProviderListingsService.java | 30 +- .../ProviderPersonalizationRequestsAPI.java | 10 +- ...roviderPersonalizationRequestsService.java | 10 +- ...roviderProviderAnalyticsDashboardsAPI.java | 24 +- ...derProviderAnalyticsDashboardsService.java | 24 +- .../marketplace/ProviderProvidersAPI.java | 30 +- .../marketplace/ProviderProvidersService.java | 30 +- .../RemoveExchangeForListingRequest.java | 1 - .../marketplace/SearchListingsRequest.java | 1 - .../service/ml/CreateFeatureTagRequest.java | 73 +++++ .../service/ml/CreateOnlineStoreRequest.java | 44 +++ .../sdk/service/ml/DeleteCommentRequest.java | 1 - .../service/ml/DeleteFeatureTagRequest.java | 71 +++++ .../service/ml/DeleteFeatureTagResponse.java | 28 ++ .../service/ml/DeleteLoggedModelRequest.java | 1 - .../ml/DeleteLoggedModelTagRequest.java | 1 - .../sdk/service/ml/DeleteModelRequest.java | 1 - .../sdk/service/ml/DeleteModelTagRequest.java | 1 - .../service/ml/DeleteModelVersionRequest.java | 1 - .../ml/DeleteModelVersionTagRequest.java | 1 - .../service/ml/DeleteOnlineStoreRequest.java | 41 +++ .../service/ml/DeleteOnlineStoreResponse.java | 28 ++ .../ml/DeleteTransitionRequestRequest.java | 1 - .../sdk/service/ml/DeleteWebhookRequest.java | 1 - .../sdk/service/ml/ExperimentsAPI.java | 185 +++--------- .../sdk/service/ml/ExperimentsService.java | 185 +++--------- .../sdk/service/ml/FeatureLineage.java | 75 +++++ .../service/ml/FeatureLineageFeatureSpec.java | 42 +++ .../sdk/service/ml/FeatureLineageModel.java | 58 ++++ .../ml/FeatureLineageOnlineFeature.java | 59 ++++ .../sdk/service/ml/FeatureStoreAPI.java | 102 +++++++ .../sdk/service/ml/FeatureStoreImpl.java | 100 +++++++ .../sdk/service/ml/FeatureStoreService.java | 37 +++ .../databricks/sdk/service/ml/FeatureTag.java | 56 ++++ .../sdk/service/ml/ForecastingAPI.java | 12 +- .../sdk/service/ml/ForecastingService.java | 12 +- .../sdk/service/ml/GetByNameRequest.java | 1 - .../GetExperimentPermissionLevelsRequest.java | 1 - .../ml/GetExperimentPermissionsRequest.java | 1 - .../sdk/service/ml/GetExperimentRequest.java | 1 - .../service/ml/GetFeatureLineageRequest.java | 57 ++++ .../sdk/service/ml/GetFeatureTagRequest.java | 71 +++++ .../ml/GetForecastingExperimentRequest.java | 1 - .../sdk/service/ml/GetHistoryRequest.java | 1 - .../sdk/service/ml/GetLoggedModelRequest.java | 1 - .../sdk/service/ml/GetModelRequest.java | 1 - .../ml/GetModelVersionDownloadUriRequest.java | 1 - .../service/ml/GetModelVersionRequest.java | 1 - .../sdk/service/ml/GetOnlineStoreRequest.java | 41 +++ ...egisteredModelPermissionLevelsRequest.java | 1 - .../GetRegisteredModelPermissionsRequest.java | 1 - .../sdk/service/ml/GetRunRequest.java | 1 - .../sdk/service/ml/ListArtifactsRequest.java | 1 - .../service/ml/ListExperimentsRequest.java | 1 - .../service/ml/ListFeatureTagsRequest.java | 90 ++++++ .../service/ml/ListFeatureTagsResponse.java | 61 ++++ .../sdk/service/ml/ListModelsRequest.java | 1 - .../service/ml/ListOnlineStoresRequest.java | 61 ++++ .../service/ml/ListOnlineStoresResponse.java | 60 ++++ .../ml/ListTransitionRequestsRequest.java | 1 - .../sdk/service/ml/ListWebhooksRequest.java | 1 - .../service/ml/MaterializedFeaturesAPI.java | 114 ++++++++ .../service/ml/MaterializedFeaturesImpl.java | 116 ++++++++ .../ml/MaterializedFeaturesService.java | 33 +++ .../sdk/service/ml/ModelRegistryAPI.java | 197 +++---------- .../sdk/service/ml/ModelRegistryService.java | 197 +++---------- .../sdk/service/ml/OnlineStore.java | 105 +++++++ .../sdk/service/ml/OnlineStoreState.java | 15 + .../sdk/service/ml/PublishSpec.java | 81 ++++++ .../service/ml/PublishSpecPublishMode.java | 11 + .../sdk/service/ml/PublishTableRequest.java | 59 ++++ .../sdk/service/ml/PublishTableResponse.java | 59 ++++ .../ml/SearchModelVersionsRequest.java | 1 - .../sdk/service/ml/SearchModelsRequest.java | 1 - .../service/ml/UpdateFeatureTagRequest.java | 104 +++++++ .../service/ml/UpdateOnlineStoreRequest.java | 76 +++++ .../CreateAccountFederationPolicyRequest.java | 1 - ...rvicePrincipalFederationPolicyRequest.java | 1 - .../oauth2/CustomAppIntegrationAPI.java | 22 +- .../oauth2/CustomAppIntegrationService.java | 22 +- .../DeleteAccountFederationPolicyRequest.java | 1 - .../DeleteCustomAppIntegrationRequest.java | 1 - .../DeletePublishedAppIntegrationRequest.java | 1 - ...rvicePrincipalFederationPolicyRequest.java | 1 - .../DeleteServicePrincipalSecretRequest.java | 1 - .../GetAccountFederationPolicyRequest.java | 1 - .../GetCustomAppIntegrationRequest.java | 1 - .../GetPublishedAppIntegrationRequest.java | 1 - ...rvicePrincipalFederationPolicyRequest.java | 1 - .../ListAccountFederationPoliciesRequest.java | 1 - .../ListCustomAppIntegrationsRequest.java | 1 - .../oauth2/ListOAuthPublishedAppsRequest.java | 1 - .../ListPublishedAppIntegrationsRequest.java | 1 - ...icePrincipalFederationPoliciesRequest.java | 1 - .../ListServicePrincipalSecretsRequest.java | 1 - .../service/oauth2/OAuthPublishedAppsAPI.java | 6 +- .../oauth2/OAuthPublishedAppsService.java | 6 +- .../oauth2/PublishedAppIntegrationAPI.java | 24 +- .../PublishedAppIntegrationService.java | 24 +- .../ServicePrincipalFederationPolicyAPI.java | 10 +- ...rvicePrincipalFederationPolicyService.java | 10 +- .../oauth2/ServicePrincipalSecretsAPI.java | 16 +- .../ServicePrincipalSecretsService.java | 16 +- .../UpdateAccountFederationPolicyRequest.java | 1 - ...rvicePrincipalFederationPolicyRequest.java | 1 - .../sdk/service/pipelines/CreatePipeline.java | 16 ++ .../pipelines/DeletePipelineRequest.java | 1 - .../sdk/service/pipelines/EditPipeline.java | 16 ++ .../GetPipelinePermissionLevelsRequest.java | 1 - .../GetPipelinePermissionsRequest.java | 1 - .../service/pipelines/GetPipelineRequest.java | 1 - .../service/pipelines/GetUpdateRequest.java | 1 - .../pipelines/ListPipelineEventsRequest.java | 1 - .../pipelines/ListPipelinesRequest.java | 1 - .../service/pipelines/ListUpdatesRequest.java | 1 - .../sdk/service/pipelines/PipelineSpec.java | 16 ++ .../sdk/service/pipelines/PipelinesAPI.java | 68 +---- .../pipelines/PipelinesEnvironment.java | 54 ++++ .../service/pipelines/PipelinesService.java | 68 +---- .../sdk/service/pipelines/Sequencing.java | 2 +- .../sdk/service/pipelines/StopRequest.java | 1 - .../pipelines/TableSpecificConfigScdType.java | 1 + .../service/provisioning/CredentialsAPI.java | 30 +- .../provisioning/CredentialsService.java | 30 +- .../provisioning/DeleteCredentialRequest.java | 1 - .../DeleteEncryptionKeyRequest.java | 1 - .../provisioning/DeleteNetworkRequest.java | 1 - .../DeletePrivateAccesRequest.java | 1 - .../provisioning/DeleteStorageRequest.java | 1 - .../DeleteVpcEndpointRequest.java | 1 - .../provisioning/DeleteWorkspaceRequest.java | 1 - .../provisioning/EncryptionKeysAPI.java | 18 +- .../provisioning/EncryptionKeysService.java | 18 +- .../provisioning/GetCredentialRequest.java | 1 - .../provisioning/GetEncryptionKeyRequest.java | 1 - .../provisioning/GetNetworkRequest.java | 1 - .../provisioning/GetPrivateAccesRequest.java | 1 - .../provisioning/GetStorageRequest.java | 1 - .../provisioning/GetVpcEndpointRequest.java | 1 - .../provisioning/GetWorkspaceRequest.java | 1 - .../sdk/service/provisioning/NetworksAPI.java | 20 +- .../service/provisioning/NetworksService.java | 20 +- .../provisioning/PrivateAccessAPI.java | 28 +- .../provisioning/PrivateAccessService.java | 28 +- .../sdk/service/provisioning/StorageAPI.java | 22 +- .../service/provisioning/StorageService.java | 22 +- .../service/provisioning/VpcEndpointsAPI.java | 18 +- .../provisioning/VpcEndpointsService.java | 18 +- .../service/provisioning/WorkspacesAPI.java | 30 +- .../provisioning/WorkspacesService.java | 30 +- .../CreateQualityMonitorRequest.java | 1 - .../DeleteQualityMonitorRequest.java | 1 - .../GetQualityMonitorRequest.java | 1 - .../ListQualityMonitorRequest.java | 1 - .../qualitymonitorv2/QualityMonitorV2API.java | 30 +- .../QualityMonitorV2Service.java | 30 +- .../UpdateQualityMonitorRequest.java | 1 - .../sdk/service/serving/BuildLogsRequest.java | 1 - .../serving/CreateServingEndpoint.java | 18 +- .../serving/DeleteServingEndpointRequest.java | 1 - .../service/serving/ExportMetricsRequest.java | 1 - .../service/serving/GetOpenApiRequest.java | 1 - ...ervingEndpointPermissionLevelsRequest.java | 1 - .../GetServingEndpointPermissionsRequest.java | 1 - .../serving/GetServingEndpointRequest.java | 1 - .../sdk/service/serving/LogsRequest.java | 1 - .../databricks/sdk/service/serving/Route.java | 19 +- .../sdk/service/serving/ServingEndpoint.java | 16 ++ .../serving/ServingEndpointDetailed.java | 16 ++ .../service/serving/ServingEndpointsAPI.java | 77 ++--- .../serving/ServingEndpointsService.java | 77 ++--- .../settings/AccountIpAccessListsAPI.java | 30 +- .../settings/AccountIpAccessListsService.java | 30 +- ...AibiDashboardEmbeddingAccessPolicyAPI.java | 16 +- ...DashboardEmbeddingAccessPolicyService.java | 16 +- ...iDashboardEmbeddingApprovedDomainsAPI.java | 16 +- ...hboardEmbeddingApprovedDomainsService.java | 16 +- .../settings/AutomaticClusterUpdateAPI.java | 10 +- .../AutomaticClusterUpdateService.java | 10 +- .../ComplianceSecurityProfileAPI.java | 10 +- .../ComplianceSecurityProfileService.java | 10 +- ...reateNetworkConnectivityConfigRequest.java | 1 - .../settings/CreateNetworkPolicyRequest.java | 1 - .../CreatePrivateEndpointRuleRequest.java | 1 - .../settings/CredentialsManagerAPI.java | 4 +- .../settings/CredentialsManagerService.java | 4 +- .../settings/CspEnablementAccountAPI.java | 12 +- .../settings/CspEnablementAccountService.java | 12 +- .../DashboardEmailSubscriptionsAPI.java | 18 +- .../DashboardEmailSubscriptionsService.java | 18 +- .../service/settings/DefaultNamespaceAPI.java | 22 +- .../settings/DefaultNamespaceService.java | 22 +- .../DeleteAccountIpAccessEnableRequest.java | 1 - .../DeleteAccountIpAccessListRequest.java | 1 - ...rdEmbeddingAccessPolicySettingRequest.java | 1 - ...mbeddingApprovedDomainsSettingRequest.java | 1 - ...eteDashboardEmailSubscriptionsRequest.java | 1 - .../DeleteDefaultNamespaceSettingRequest.java | 1 - .../DeleteDisableLegacyAccessRequest.java | 1 - .../DeleteDisableLegacyDbfsRequest.java | 1 - .../DeleteDisableLegacyFeaturesRequest.java | 1 - .../settings/DeleteIpAccessListRequest.java | 1 - ...lmProxyPartnerPoweredWorkspaceRequest.java | 1 - ...tworkConnectivityConfigurationRequest.java | 1 - .../settings/DeleteNetworkPolicyRequest.java | 1 - .../DeleteNotificationDestinationRequest.java | 1 - .../DeletePersonalComputeSettingRequest.java | 1 - .../DeletePrivateEndpointRuleRequest.java | 1 - ...RestrictWorkspaceAdminsSettingRequest.java | 1 - .../DeleteSqlResultsDownloadRequest.java | 1 - .../DeleteTokenManagementRequest.java | 1 - .../settings/DisableLegacyAccessAPI.java | 18 +- .../settings/DisableLegacyAccessService.java | 18 +- .../settings/DisableLegacyDbfsAPI.java | 18 +- .../settings/DisableLegacyDbfsService.java | 18 +- .../settings/DisableLegacyFeaturesAPI.java | 18 +- .../DisableLegacyFeaturesService.java | 18 +- ...NetworkAccessPolicyStorageDestination.java | 2 +- .../settings/EnableExportNotebookAPI.java | 12 +- .../settings/EnableExportNotebookService.java | 12 +- .../settings/EnableIpAccessListsAPI.java | 18 +- .../settings/EnableIpAccessListsService.java | 18 +- .../EnableNotebookTableClipboardAPI.java | 13 +- .../EnableNotebookTableClipboardService.java | 13 +- .../settings/EnableResultsDownloadingAPI.java | 10 +- .../EnableResultsDownloadingService.java | 10 +- .../EnhancedSecurityMonitoringAPI.java | 10 +- .../EnhancedSecurityMonitoringService.java | 10 +- .../settings/EsmEnablementAccountAPI.java | 12 +- .../settings/EsmEnablementAccountService.java | 12 +- .../GetAccountIpAccessEnableRequest.java | 1 - .../GetAccountIpAccessListRequest.java | 1 - ...rdEmbeddingAccessPolicySettingRequest.java | 1 - ...mbeddingApprovedDomainsSettingRequest.java | 1 - ...tAutomaticClusterUpdateSettingRequest.java | 1 - ...mplianceSecurityProfileSettingRequest.java | 1 - ...GetCspEnablementAccountSettingRequest.java | 1 - ...GetDashboardEmailSubscriptionsRequest.java | 1 - .../GetDefaultNamespaceSettingRequest.java | 1 - .../GetDisableLegacyAccessRequest.java | 1 - .../settings/GetDisableLegacyDbfsRequest.java | 1 - .../GetDisableLegacyFeaturesRequest.java | 1 - ...ancedSecurityMonitoringSettingRequest.java | 1 - ...GetEsmEnablementAccountSettingRequest.java | 1 - .../settings/GetIpAccessListRequest.java | 1 - ...tLlmProxyPartnerPoweredAccountRequest.java | 1 - ...tLlmProxyPartnerPoweredEnforceRequest.java | 1 - ...lmProxyPartnerPoweredWorkspaceRequest.java | 1 - ...tworkConnectivityConfigurationRequest.java | 1 - .../settings/GetNetworkPolicyRequest.java | 1 - .../GetNotificationDestinationRequest.java | 1 - .../GetPersonalComputeSettingRequest.java | 1 - .../GetPrivateEndpointRuleRequest.java | 1 - ...RestrictWorkspaceAdminsSettingRequest.java | 1 - .../GetSqlResultsDownloadRequest.java | 1 - .../service/settings/GetStatusRequest.java | 1 - .../settings/GetTokenManagementRequest.java | 1 - .../GetWorkspaceNetworkOptionRequest.java | 1 - .../service/settings/IpAccessListsAPI.java | 30 +- .../settings/IpAccessListsService.java | 30 +- ...workConnectivityConfigurationsRequest.java | 1 - .../settings/ListNetworkPoliciesRequest.java | 1 - .../ListNotificationDestinationsRequest.java | 1 - .../ListPrivateEndpointRulesRequest.java | 1 - .../settings/ListTokenManagementRequest.java | 1 - .../LlmProxyPartnerPoweredAccountAPI.java | 12 +- .../LlmProxyPartnerPoweredAccountService.java | 12 +- .../LlmProxyPartnerPoweredEnforceAPI.java | 12 +- .../LlmProxyPartnerPoweredEnforceService.java | 12 +- .../LlmProxyPartnerPoweredWorkspaceAPI.java | 18 +- ...lmProxyPartnerPoweredWorkspaceService.java | 18 +- .../settings/NetworkConnectivityAPI.java | 54 +--- .../settings/NetworkConnectivityService.java | 54 +--- .../service/settings/NetworkPoliciesAPI.java | 28 +- .../settings/NetworkPoliciesService.java | 28 +- .../settings/NotificationDestinationsAPI.java | 30 +- .../NotificationDestinationsService.java | 30 +- .../service/settings/PersonalComputeAPI.java | 18 +- .../settings/PersonalComputeService.java | 18 +- .../settings/RestrictWorkspaceAdminsAPI.java | 18 +- .../RestrictWorkspaceAdminsService.java | 18 +- .../settings/SqlResultsDownloadAPI.java | 18 +- .../settings/SqlResultsDownloadService.java | 18 +- .../service/settings/TokenManagementAPI.java | 48 +--- .../settings/TokenManagementService.java | 48 +--- .../sdk/service/settings/TokensAPI.java | 18 +- .../sdk/service/settings/TokensService.java | 18 +- .../UpdateNccPrivateEndpointRuleRequest.java | 1 - .../settings/UpdateNetworkPolicyRequest.java | 1 - .../UpdateWorkspaceNetworkOptionRequest.java | 1 - .../service/settings/WorkspaceConfAPI.java | 12 +- .../settings/WorkspaceConfService.java | 12 +- .../WorkspaceNetworkConfigurationAPI.java | 8 +- .../WorkspaceNetworkConfigurationService.java | 8 +- .../CreateFederationPolicyRequest.java | 1 - .../DeleteFederationPolicyRequest.java | 1 - .../sharing/DeleteProviderRequest.java | 1 - .../sharing/DeleteRecipientRequest.java | 1 - .../service/sharing/DeleteShareRequest.java | 1 - .../sharing/GetActivationUrlInfoRequest.java | 1 - .../sharing/GetFederationPolicyRequest.java | 1 - .../service/sharing/GetProviderRequest.java | 1 - .../service/sharing/GetRecipientRequest.java | 1 - .../sdk/service/sharing/GetShareRequest.java | 1 - .../ListFederationPoliciesRequest.java | 1 - .../ListProviderShareAssetsRequest.java | 1 - .../service/sharing/ListProvidersRequest.java | 1 - .../sharing/ListRecipientsRequest.java | 1 - .../service/sharing/ListSharesRequest.java | 1 - .../service/sharing/PrivilegeAssignment.java | 5 +- .../sdk/service/sharing/ProvidersAPI.java | 38 +-- .../sdk/service/sharing/ProvidersService.java | 38 +-- .../sharing/RecipientActivationAPI.java | 11 +- .../sharing/RecipientActivationService.java | 11 +- .../RecipientFederationPoliciesAPI.java | 26 +- .../RecipientFederationPoliciesService.java | 26 +- .../sdk/service/sharing/RecipientsAPI.java | 34 +-- .../service/sharing/RecipientsService.java | 34 +-- .../service/sharing/RetrieveTokenRequest.java | 1 - .../sharing/SharePermissionsRequest.java | 1 - .../sdk/service/sharing/SharesAPI.java | 45 +-- .../sdk/service/sharing/SharesService.java | 45 +-- .../UpdateFederationPolicyRequest.java | 1 - .../databricks/sdk/service/sql/AlertsAPI.java | 30 +- .../sdk/service/sql/AlertsLegacyAPI.java | 24 +- .../sdk/service/sql/AlertsLegacyService.java | 24 +- .../sdk/service/sql/AlertsService.java | 30 +- .../sdk/service/sql/AlertsV2API.java | 32 +-- .../sdk/service/sql/AlertsV2Service.java | 32 +-- .../service/sql/CancelExecutionRequest.java | 1 - .../sdk/service/sql/CreateAlertV2Request.java | 1 - .../sdk/service/sql/CreateWidget.java | 17 +- .../sdk/service/sql/DashboardWidgetsAPI.java | 10 +- .../sdk/service/sql/DashboardWidgetsImpl.java | 2 +- .../service/sql/DashboardWidgetsService.java | 8 +- .../sdk/service/sql/DashboardsAPI.java | 51 ++-- .../sdk/service/sql/DashboardsService.java | 30 +- .../sdk/service/sql/DataSourcesAPI.java | 8 +- .../sdk/service/sql/DataSourcesService.java | 8 +- .../sdk/service/sql/DbsqlPermissionsAPI.java | 14 +- .../service/sql/DbsqlPermissionsService.java | 14 +- .../sql/DeleteAlertsLegacyRequest.java | 1 - .../service/sql/DeleteDashboardRequest.java | 1 - .../sql/DeleteDashboardWidgetRequest.java | 1 - .../sql/DeleteQueriesLegacyRequest.java | 1 - ...eleteQueryVisualizationsLegacyRequest.java | 3 +- .../sql/DeleteVisualizationRequest.java | 1 - .../service/sql/DeleteWarehouseRequest.java | 1 - .../service/sql/ExecuteStatementRequest.java | 1 + .../sdk/service/sql/GetAlertRequest.java | 1 - .../sdk/service/sql/GetAlertV2Request.java | 1 - .../service/sql/GetAlertsLegacyRequest.java | 1 - .../sdk/service/sql/GetDashboardRequest.java | 1 - .../sql/GetDbsqlPermissionRequest.java | 1 - .../service/sql/GetQueriesLegacyRequest.java | 1 - .../sdk/service/sql/GetQueryRequest.java | 1 - .../sdk/service/sql/GetStatementRequest.java | 1 - .../sql/GetStatementResultChunkNRequest.java | 1 - .../GetWarehousePermissionLevelsRequest.java | 1 - .../sql/GetWarehousePermissionsRequest.java | 1 - .../sdk/service/sql/GetWarehouseRequest.java | 1 - .../sdk/service/sql/LegacyAlertState.java | 4 - .../sdk/service/sql/ListAlertsRequest.java | 1 - .../sdk/service/sql/ListAlertsV2Request.java | 1 - .../service/sql/ListDashboardsRequest.java | 1 - .../service/sql/ListQueriesLegacyRequest.java | 1 - .../sdk/service/sql/ListQueriesRequest.java | 1 - .../service/sql/ListQueryHistoryRequest.java | 7 +- .../ListVisualizationsForQueryRequest.java | 1 - .../service/sql/ListWarehousesRequest.java | 1 - .../sdk/service/sql/OwnableObjectType.java | 1 - .../sdk/service/sql/ParameterType.java | 1 - .../sdk/service/sql/QueriesAPI.java | 40 +-- .../sdk/service/sql/QueriesLegacyAPI.java | 49 ++-- .../sdk/service/sql/QueriesLegacyService.java | 28 +- .../sdk/service/sql/QueriesService.java | 40 +-- .../sdk/service/sql/QueryFilter.java | 11 +- .../sdk/service/sql/QueryHistoryAPI.java | 4 +- .../sdk/service/sql/QueryHistoryService.java | 4 +- .../databricks/sdk/service/sql/QueryInfo.java | 6 +- .../service/sql/QueryVisualizationsAPI.java | 18 +- .../sql/QueryVisualizationsLegacyAPI.java | 18 +- .../sql/QueryVisualizationsLegacyService.java | 12 +- .../sql/QueryVisualizationsService.java | 18 +- .../service/sql/RestoreDashboardRequest.java | 1 - .../sql/RestoreQueriesLegacyRequest.java | 1 - .../databricks/sdk/service/sql/RunAsRole.java | 4 - .../sdk/service/sql/StartRequest.java | 1 - .../service/sql/StatementExecutionAPI.java | 18 +- .../sql/StatementExecutionService.java | 18 +- .../sdk/service/sql/StopRequest.java | 1 - .../service/sql/TransferOwnershipRequest.java | 1 - .../sdk/service/sql/TrashAlertRequest.java | 1 - .../sdk/service/sql/TrashAlertV2Request.java | 1 - .../sdk/service/sql/TrashQueryRequest.java | 1 - .../sdk/service/sql/UpdateAlertV2Request.java | 1 - .../sdk/service/sql/UpdateWidgetRequest.java | 122 ++++++++ .../sdk/service/sql/WarehousesAPI.java | 79 ++---- .../sdk/service/sql/WarehousesService.java | 79 ++---- .../DeleteDataVectorIndexRequest.java | 1 - .../vectorsearch/DeleteEndpointRequest.java | 1 - .../vectorsearch/DeleteIndexRequest.java | 1 - .../vectorsearch/GetEndpointRequest.java | 1 - .../service/vectorsearch/GetIndexRequest.java | 1 - .../vectorsearch/ListEndpointsRequest.java | 1 - .../vectorsearch/ListIndexesRequest.java | 1 - .../vectorsearch/SyncIndexRequest.java | 1 - .../VectorSearchEndpointsAPI.java | 30 +- .../VectorSearchEndpointsService.java | 30 +- .../vectorsearch/VectorSearchIndexesAPI.java | 60 +--- .../VectorSearchIndexesService.java | 60 +--- .../workspace/DeleteCredentialsRequest.java | 1 - .../service/workspace/DeleteRepoRequest.java | 1 - .../sdk/service/workspace/ExportRequest.java | 1 - .../sdk/service/workspace/GetAclRequest.java | 1 - .../workspace/GetCredentialsRequest.java | 1 - .../GetRepoPermissionLevelsRequest.java | 1 - .../workspace/GetRepoPermissionsRequest.java | 1 - .../sdk/service/workspace/GetRepoRequest.java | 1 - .../service/workspace/GetSecretRequest.java | 1 - .../service/workspace/GetStatusRequest.java | 1 - ...orkspaceObjectPermissionLevelsRequest.java | 1 - .../GetWorkspaceObjectPermissionsRequest.java | 1 - .../service/workspace/GitCredentialsAPI.java | 32 +-- .../workspace/GitCredentialsService.java | 32 +-- .../service/workspace/ListAclsRequest.java | 1 - .../service/workspace/ListReposRequest.java | 1 - .../service/workspace/ListSecretsRequest.java | 1 - .../workspace/ListWorkspaceRequest.java | 1 - .../sdk/service/workspace/ReposAPI.java | 55 +--- .../sdk/service/workspace/ReposService.java | 55 +--- .../sdk/service/workspace/SecretsAPI.java | 59 ++-- .../sdk/service/workspace/SecretsService.java | 59 ++-- .../sdk/service/workspace/WorkspaceAPI.java | 48 +--- .../service/workspace/WorkspaceService.java | 48 +--- 918 files changed, 8449 insertions(+), 7856 deletions(-) create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/AiBuilderAPI.java rename databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/{CustomLlmsImpl.java => AiBuilderImpl.java} (60%) rename databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/{CustomLlmsService.java => AiBuilderService.java} (50%) rename databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/{CancelResponse.java => CancelOptimizeResponse.java} (83%) create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CreateCustomLlmRequest.java delete mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CustomLlmsAPI.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/DeleteCustomLlmRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/DeleteCustomLlmResponse.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionDependency.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialDependency.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OptionSpec.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OptionSpecOauthStage.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OptionSpecOptionType.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableKind.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableKindManifest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DeleteConversationResponse.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieConversationSummary.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieDeleteConversationRequest.java delete mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGenerateDownloadFullQueryResultRequest.java delete mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGenerateDownloadFullQueryResultResponse.java delete mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultRequest.java delete mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultResponse.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieListConversationsRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieListConversationsResponse.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieTrashSpaceRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TrashSpaceResponse.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseInstanceRoleRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRef.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRole.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRoleAttributes.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRoleIdentityType.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRoleMembershipRole.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRoleRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRoleResponse.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeltaTableSyncInfo.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseInstanceRoleRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/ListDatabaseInstanceRolesRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/ListDatabaseInstanceRolesResponse.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTablePosition.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformJobRunStep.java rename databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/{DbtCloudRunStatus.java => DbtPlatformRunStatus.java} (66%) create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformTask.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformTaskOutput.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateFeatureTagRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateOnlineStoreRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteFeatureTagRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteFeatureTagResponse.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteOnlineStoreRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteOnlineStoreResponse.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineage.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineageFeatureSpec.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineageModel.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineageOnlineFeature.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureStoreAPI.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureStoreImpl.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureStoreService.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureTag.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetFeatureLineageRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetFeatureTagRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetOnlineStoreRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListFeatureTagsRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListFeatureTagsResponse.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListOnlineStoresRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListOnlineStoresResponse.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeaturesAPI.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeaturesImpl.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeaturesService.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/OnlineStore.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/OnlineStoreState.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishSpec.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishSpecPublishMode.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishTableRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishTableResponse.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateFeatureTagRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateOnlineStoreRequest.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesEnvironment.java create mode 100755 databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateWidgetRequest.java diff --git a/.codegen/_openapi_sha b/.codegen/_openapi_sha index ac1c24d10..200f9513f 100644 --- a/.codegen/_openapi_sha +++ b/.codegen/_openapi_sha @@ -1 +1 @@ -a8f547d3728fba835fbdda301e846829c5cbbef5 \ No newline at end of file +633dafff1aa6f0198a576cf83bfa81b2b4f27d46 \ No newline at end of file diff --git a/.gitattributes b/.gitattributes index 44b3782e1..06981143e 100755 --- a/.gitattributes +++ b/.gitattributes @@ -23,13 +23,16 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/core/error/platform/Tempora databricks-sdk-java/src/main/java/com/databricks/sdk/core/error/platform/TooManyRequests.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/core/error/platform/Unauthenticated.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/core/error/platform/Unknown.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/AiBuilderAPI.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/AiBuilderImpl.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/AiBuilderService.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CancelCustomLlmOptimizationRunRequest.java linguist-generated=true -databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CancelResponse.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CancelOptimizeResponse.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CreateCustomLlmRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CustomLlm.java linguist-generated=true -databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CustomLlmsAPI.java linguist-generated=true -databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CustomLlmsImpl.java linguist-generated=true -databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CustomLlmsService.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/Dataset.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/DeleteCustomLlmRequest.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/DeleteCustomLlmResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/GetCustomLlmRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/StartCustomLlmOptimizationRunRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/State.java linguist-generated=true @@ -206,6 +209,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CloudflareA databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ColumnInfo.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ColumnMask.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ColumnTypeName.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionDependency.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionInfo.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionType.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionsAPI.java linguist-generated=true @@ -232,6 +236,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateSchem databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateStorageCredential.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateTableConstraint.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateVolumeRequestContent.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialDependency.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialInfo.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialPurpose.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialType.java linguist-generated=true @@ -414,6 +419,9 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OnlineTable databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OnlineTablesAPI.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OnlineTablesImpl.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OnlineTablesService.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OptionSpec.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OptionSpecOauthStage.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OptionSpecOptionType.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PermissionsChange.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PipelineProgress.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PrimaryKeyConstraint.java linguist-generated=true @@ -443,6 +451,8 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemaInfo. databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasAPI.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasImpl.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasService.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableKind.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableKindManifest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableType.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SetArtifactAllowlist.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SetRegisteredModelAliasRequest.java linguist-generated=true @@ -817,6 +827,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CreateSu databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CronSchedule.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Dashboard.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DashboardView.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DeleteConversationResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DeleteScheduleRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DeleteScheduleResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DeleteSubscriptionRequest.java linguist-generated=true @@ -824,20 +835,20 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DeleteSu databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieAPI.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieAttachment.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieConversation.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieConversationSummary.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieCreateConversationMessageRequest.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieDeleteConversationRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieExecuteMessageAttachmentQueryRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieExecuteMessageQueryRequest.java linguist-generated=true -databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGenerateDownloadFullQueryResultRequest.java linguist-generated=true -databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGenerateDownloadFullQueryResultResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetConversationMessageRequest.java linguist-generated=true -databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultRequest.java linguist-generated=true -databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetMessageAttachmentQueryResultRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetMessageQueryResultRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetMessageQueryResultResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetQueryResultByAttachmentRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetSpaceRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieImpl.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieListConversationsRequest.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieListConversationsResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieListSpacesRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieListSpacesResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieMessage.java linguist-generated=true @@ -847,6 +858,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieSer databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieSpace.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieStartConversationMessageRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieStartConversationResponse.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieTrashSpaceRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetDashboardRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetPublishedDashboardRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetPublishedDashboardTokenInfoRequest.java linguist-generated=true @@ -882,12 +894,14 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Subscrip databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TextAttachment.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TrashDashboardRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TrashDashboardResponse.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TrashSpaceResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UnpublishDashboardRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UnpublishDashboardResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UpdateDashboardRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UpdateScheduleRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseCatalogRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseInstanceRequest.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseInstanceRoleRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseTableRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateSyncedDatabaseTableRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseAPI.java linguist-generated=true @@ -895,6 +909,11 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseCa databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseCredential.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseImpl.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstance.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRef.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRole.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRoleAttributes.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRoleIdentityType.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRoleMembershipRole.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceState.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseService.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseTable.java linguist-generated=true @@ -902,16 +921,22 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteData databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseCatalogResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceResponse.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRoleRequest.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRoleResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseTableRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseTableResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteSyncedDatabaseTableRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteSyncedDatabaseTableResponse.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeltaTableSyncInfo.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/FindDatabaseInstanceByUidRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GenerateDatabaseCredentialRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseCatalogRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseInstanceRequest.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseInstanceRoleRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseTableRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetSyncedDatabaseTableRequest.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/ListDatabaseInstanceRolesRequest.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/ListDatabaseInstanceRolesResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/ListDatabaseInstancesRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/ListDatabaseInstancesResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/NewPipelineSpec.java linguist-generated=true @@ -920,6 +945,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedData databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableContinuousUpdateStatus.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableFailedStatus.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTablePipelineProgress.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTablePosition.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableProvisioningStatus.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableSchedulingPolicy.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableSpec.java linguist-generated=true @@ -1120,10 +1146,13 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DashboardPageS databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DashboardTask.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DashboardTaskOutput.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudJobRunStep.java linguist-generated=true -databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudRunStatus.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudTask.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudTaskOutput.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtOutput.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformJobRunStep.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformRunStatus.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformTask.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformTaskOutput.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtTask.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DeleteJob.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DeleteResponse.java linguist-generated=true @@ -1460,6 +1489,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateComment.ja databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateCommentResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateExperiment.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateExperimentResponse.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateFeatureTagRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateForecastingExperimentRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateForecastingExperimentResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateLoggedModelRequest.java linguist-generated=true @@ -1468,6 +1498,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateModelReque databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateModelResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateModelVersionRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateModelVersionResponse.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateOnlineStoreRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateRegistryWebhook.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateRun.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateRunResponse.java linguist-generated=true @@ -1480,6 +1511,8 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteCommentReq databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteCommentResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteExperiment.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteExperimentResponse.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteFeatureTagRequest.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteFeatureTagResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteLoggedModelRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteLoggedModelResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteLoggedModelTagRequest.java linguist-generated=true @@ -1492,6 +1525,8 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelVersi databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelVersionResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelVersionTagRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelVersionTagResponse.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteOnlineStoreRequest.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteOnlineStoreResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteRun.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteRunResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteRuns.java linguist-generated=true @@ -1515,6 +1550,14 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentTag.ja databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsAPI.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsImpl.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsService.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineage.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineageFeatureSpec.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineageModel.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineageOnlineFeature.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureStoreAPI.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureStoreImpl.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureStoreService.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureTag.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FileInfo.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FinalizeLoggedModelRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FinalizeLoggedModelResponse.java linguist-generated=true @@ -1530,6 +1573,8 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetExperimentPer databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetExperimentPermissionsRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetExperimentRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetExperimentResponse.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetFeatureLineageRequest.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetFeatureTagRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetForecastingExperimentRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetHistoryRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetLatestVersionsRequest.java linguist-generated=true @@ -1543,6 +1588,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetModelVersionD databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetModelVersionDownloadUriResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetModelVersionRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetModelVersionResponse.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetOnlineStoreRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRegisteredModelPermissionLevelsRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRegisteredModelPermissionLevelsResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRegisteredModelPermissionsRequest.java linguist-generated=true @@ -1557,8 +1603,12 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListArtifactsReq databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListArtifactsResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListExperimentsRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListExperimentsResponse.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListFeatureTagsRequest.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListFeatureTagsResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListModelsRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListModelsResponse.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListOnlineStoresRequest.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListOnlineStoresResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListRegistryWebhooks.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListTransitionRequestsRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListTransitionRequestsResponse.java linguist-generated=true @@ -1583,6 +1633,9 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/LoggedModelInfo. databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/LoggedModelParameter.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/LoggedModelStatus.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/LoggedModelTag.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeaturesAPI.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeaturesImpl.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeaturesService.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/Metric.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/Model.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelDatabricks.java linguist-generated=true @@ -1596,8 +1649,14 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelVersion.jav databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelVersionDatabricks.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelVersionStatus.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelVersionTag.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/OnlineStore.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/OnlineStoreState.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/Param.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PermissionLevel.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishSpec.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishSpecPublishMode.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishTableRequest.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishTableResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RegisteredModelAccessControlRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RegisteredModelAccessControlResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RegisteredModelPermission.java linguist-generated=true @@ -1658,10 +1717,12 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateComment.ja databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateCommentResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateExperiment.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateExperimentResponse.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateFeatureTagRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateModelRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateModelResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateModelVersionRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateModelVersionResponse.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateOnlineStoreRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateRegistryWebhook.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateRun.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateRunResponse.java linguist-generated=true @@ -1788,6 +1849,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineS databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineStateInfoHealth.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineTrigger.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesAPI.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesEnvironment.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesImpl.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesService.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ReportSpec.java linguist-generated=true @@ -2681,6 +2743,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateQueryRequ databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateResponse.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateVisualizationRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateVisualizationRequestVisualization.java linguist-generated=true +databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateWidgetRequest.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/User.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Visualization.java linguist-generated=true databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/WarehouseAccessControlRequest.java linguist-generated=true diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index 5539142bf..47776d949 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -11,3 +11,58 @@ ### Internal Changes ### API Changes +* Added `workspaceClient.aiBuilder()` service. +* Added `workspaceClient.featureStore()` service and `workspaceClient.materializedFeatures()` service. +* Added `deleteConversation()`, `listConversations()` and `trashSpace()` methods for `workspaceClient.genie()` service. +* Added `createDatabaseInstanceRole()`, `deleteDatabaseInstanceRole()`, `getDatabaseInstanceRole()` and `listDatabaseInstanceRoles()` methods for `workspaceClient.database()` service. +* Added `connection` and `credential` fields for `com.databricks.sdk.service.catalog.Dependency`. +* Added `rely` field for `com.databricks.sdk.service.catalog.ForeignKeyConstraint`. +* Added `rely` field for `com.databricks.sdk.service.catalog.PrimaryKeyConstraint`. +* Added `securableKindManifest` field for `com.databricks.sdk.service.catalog.TableInfo`. +* Added `securableKindManifest` field for `com.databricks.sdk.service.catalog.TableSummary`. +* Added `remoteDiskThroughput` and `totalInitialRemoteDiskSize` fields for `com.databricks.sdk.service.compute.ClusterAttributes`. +* Added `remoteDiskThroughput` and `totalInitialRemoteDiskSize` fields for `com.databricks.sdk.service.compute.ClusterDetails`. +* Added `remoteDiskThroughput` and `totalInitialRemoteDiskSize` fields for `com.databricks.sdk.service.compute.ClusterSpec`. +* Added `remoteDiskThroughput` and `totalInitialRemoteDiskSize` fields for `com.databricks.sdk.service.compute.CreateCluster`. +* Added `remoteDiskThroughput` and `totalInitialRemoteDiskSize` fields for `com.databricks.sdk.service.compute.CreateInstancePool`. +* Added `remoteDiskThroughput` and `totalInitialRemoteDiskSize` fields for `com.databricks.sdk.service.compute.EditCluster`. +* Added `remoteDiskThroughput` and `totalInitialRemoteDiskSize` fields for `com.databricks.sdk.service.compute.EditInstancePool`. +* Added `remoteDiskThroughput` and `totalInitialRemoteDiskSize` fields for `com.databricks.sdk.service.compute.GetInstancePool`. +* Added `remoteDiskThroughput` and `totalInitialRemoteDiskSize` fields for `com.databricks.sdk.service.compute.InstancePoolAndStats`. +* Added `remoteDiskThroughput` and `totalInitialRemoteDiskSize` fields for `com.databricks.sdk.service.compute.UpdateClusterResource`. +* Added `expirationTime` field for `com.databricks.sdk.service.database.DatabaseCredential`. +* Added `childInstanceRefs`, `effectiveEnableReadableSecondaries`, `effectiveNodeCount`, `effectiveRetentionWindowInDays`, `effectiveStopped`, `enableReadableSecondaries`, `nodeCount`, `parentInstanceRef`, `readOnlyDns` and `retentionWindowInDays` fields for `com.databricks.sdk.service.database.DatabaseInstance`. +* Added `existingPipelineId` field for `com.databricks.sdk.service.database.SyncedTableSpec`. +* Added `lastSync` and `pipelineId` fields for `com.databricks.sdk.service.database.SyncedTableStatus`. +* Added `dbtPlatformOutput` field for `com.databricks.sdk.service.jobs.RunOutput`. +* Added `dbtPlatformTask` field for `com.databricks.sdk.service.jobs.RunTask`. +* Added `dbtPlatformTask` field for `com.databricks.sdk.service.jobs.SubmitTask`. +* Added `dbtPlatformTask` field for `com.databricks.sdk.service.jobs.Task`. +* Added `environment` field for `com.databricks.sdk.service.pipelines.CreatePipeline`. +* Added `environment` field for `com.databricks.sdk.service.pipelines.EditPipeline`. +* Added `environment` field for `com.databricks.sdk.service.pipelines.PipelineSpec`. +* Added `description` field for `com.databricks.sdk.service.serving.CreateServingEndpoint`. +* Added `servedEntityName` field for `com.databricks.sdk.service.serving.Route`. +* Added `description` field for `com.databricks.sdk.service.serving.ServingEndpoint`. +* Added `description` field for `com.databricks.sdk.service.serving.ServingEndpointDetailed`. +* Added `DATABRICKS_ROW_STORE_FORMAT`, `DELTA_UNIFORM_HUDI`, `DELTA_UNIFORM_ICEBERG`, `HIVE`, `ICEBERG`, `MONGODB_FORMAT`, `ORACLE_FORMAT`, `SALESFORCE_DATA_CLOUD_FORMAT` and `TERADATA_FORMAT` enum values for `com.databricks.sdk.service.catalog.DataSourceFormat`. +* Added `METRIC_VIEW` enum value for `com.databricks.sdk.service.catalog.TableType`. +* Added `R` enum value for `com.databricks.sdk.service.compute.Language`. +* Added `CANCELLED`, `ERROR`, `QUEUED`, `RUNNING`, `STARTING` and `SUCCESS` enum values for `com.databricks.sdk.service.jobs.DbtPlatformRunStatus`. +* Added `CONTINUOUS` and `CONTINUOUS_RESTART` enum values for `com.databricks.sdk.service.jobs.TriggerType`. +* Added `APPEND_ONLY` enum value for `com.databricks.sdk.service.pipelines.TableSpecificConfigScdType`. +* [Breaking] Changed `update()` method for `workspaceClient.dashboardWidgets()` service . New request type is `com.databricks.sdk.service.sql.UpdateWidgetRequest` class. +* [Breaking] Changed `create()` method for `workspaceClient.queryVisualizationsLegacy()` service with new required argument order. +* [Breaking] Changed `status` field for `com.databricks.sdk.service.jobs.DbtCloudJobRunStep` to type `com.databricks.sdk.service.jobs.DbtPlatformRunStatus` class. +* Changed `servedModelName` field for `com.databricks.sdk.service.serving.Route` to no longer be required. +* [Breaking] Changed `servedModelName` field for `com.databricks.sdk.service.serving.Route` to no longer be required. +* [Breaking] Removed `workspaceClient.customLlms()` service. +* [Breaking] Removed `generateDownloadFullQueryResult()` and `getDownloadFullQueryResult()` methods for `workspaceClient.genie()` service. +* [Breaking] Removed `includeDeltaMetadata` field for `com.databricks.sdk.service.catalog.ListTablesRequest`. +* [Breaking] Removed `tableServingUrl` field for `com.databricks.sdk.service.database.DatabaseTable`. +* [Breaking] Removed `tableServingUrl` field for `com.databricks.sdk.service.database.SyncedDatabaseTable`. +* [Breaking] Removed `pipelineId` field for `com.databricks.sdk.service.database.SyncedTableSpec`. +* [Breaking] Removed `UNKNOWN_CATALOG_TYPE` enum value for `com.databricks.sdk.service.catalog.CatalogType`. +* [Breaking] Removed `HIVE_CUSTOM` and `HIVE_SERDE` enum values for `com.databricks.sdk.service.catalog.DataSourceFormat`. +* [Breaking] Removed `UNKNOWN_SECURABLE_TYPE` enum value for `com.databricks.sdk.service.catalog.SecurableType`. +* [Breaking] Removed `CANCELLED`, `ERROR`, `QUEUED`, `RUNNING`, `STARTING` and `SUCCESS` enum values for `com.databricks.sdk.service.jobs.DbtCloudRunStatus`. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/AccountClient.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/AccountClient.java index 8e635b302..a8a5e6435 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/AccountClient.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/AccountClient.java @@ -305,8 +305,64 @@ public AccountIpAccessListsAPI ipAccessLists() { } /** - * These APIs manage Log delivery configurations for this account. Log delivery configs enable you - * to configure the delivery of the specified type of logs to your storage account. + * These APIs manage log delivery configurations for this account. The two supported log types for + * this API are _billable usage logs_ and _audit logs_. This feature is in Public Preview. This + * feature works with all account ID types. + * + *

Log delivery works with all account types. However, if your account is on the E2 version of + * the platform or on a select custom plan that allows multiple workspaces per account, you can + * optionally configure different storage destinations for each workspace. Log delivery status is + * also provided to know the latest status of log delivery attempts. + * + *

The high-level flow of billable usage delivery: + * + *

1. **Create storage**: In AWS, [create a new AWS S3 bucket] with a specific bucket policy. + * Using Databricks APIs, call the Account API to create a [storage configuration + * object](:method:Storage/Create) that uses the bucket name. + * + *

2. **Create credentials**: In AWS, create the appropriate AWS IAM role. For full details, + * including the required IAM role policies and trust relationship, see [Billable usage log + * delivery]. Using Databricks APIs, call the Account API to create a [credential configuration + * object](:method:Credentials/Create) that uses the IAM role's ARN. + * + *

3. **Create log delivery configuration**: Using Databricks APIs, call the Account API to + * [create a log delivery configuration](:method:LogDelivery/Create) that uses the credential and + * storage configuration objects from previous steps. You can specify if the logs should include + * all events of that log type in your account (_Account level_ delivery) or only events for a + * specific set of workspaces (_workspace level_ delivery). Account level log delivery applies to + * all current and future workspaces plus account level logs, while workspace level log delivery + * solely delivers logs related to the specified workspaces. You can create multiple types of + * delivery configurations per account. + * + *

For billable usage delivery: * For more information about billable usage logs, see [Billable + * usage log delivery]. For the CSV schema, see the [Usage page]. * The delivery location is + * `//billable-usage/csv/`, where `` is the name of the optional + * delivery path prefix you set up during log delivery configuration. Files are named + * `workspaceId=-usageMonth=.csv`. * All billable usage logs apply to + * specific workspaces (_workspace level_ logs). You can aggregate usage for your entire account + * by creating an _account level_ delivery configuration that delivers logs for all current and + * future workspaces in your account. * The files are delivered daily by overwriting the month's + * CSV file for each workspace. + * + *

For audit log delivery: * For more information about about audit log delivery, see [Audit + * log delivery], which includes information about the used JSON schema. * The delivery location + * is + * `//workspaceId=/date=/auditlogs_.json`. + * Files may get overwritten with the same content multiple times to achieve exactly-once + * delivery. * If the audit log delivery configuration included specific workspace IDs, only + * _workspace-level_ audit logs for those workspaces are delivered. If the log delivery + * configuration applies to the entire account (_account level_ delivery configuration), the audit + * log delivery includes workspace-level audit logs for all workspaces in the account as well as + * account-level audit logs. See [Audit log delivery] for details. * Auditable events are + * typically available in logs within 15 minutes. + * + *

[Audit log delivery]: + * https://docs.databricks.com/administration-guide/account-settings/audit-logs.html [Billable + * usage log delivery]: + * https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html + * [Usage page]: https://docs.databricks.com/administration-guide/account-settings/usage.html + * [create a new AWS S3 bucket]: + * https://docs.databricks.com/administration-guide/account-api/aws-storage.html */ public LogDeliveryAPI logDelivery() { return logDeliveryAPI; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/WorkspaceClient.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/WorkspaceClient.java index bf50805dc..bf4f6e180 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/WorkspaceClient.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/WorkspaceClient.java @@ -8,8 +8,8 @@ import com.databricks.sdk.mixin.ClustersExt; import com.databricks.sdk.mixin.DbfsExt; import com.databricks.sdk.mixin.SecretsExt; -import com.databricks.sdk.service.aibuilder.CustomLlmsAPI; -import com.databricks.sdk.service.aibuilder.CustomLlmsService; +import com.databricks.sdk.service.aibuilder.AiBuilderAPI; +import com.databricks.sdk.service.aibuilder.AiBuilderService; import com.databricks.sdk.service.apps.AppsAPI; import com.databricks.sdk.service.apps.AppsService; import com.databricks.sdk.service.catalog.ArtifactAllowlistsAPI; @@ -134,8 +134,12 @@ import com.databricks.sdk.service.marketplace.ProviderProvidersService; import com.databricks.sdk.service.ml.ExperimentsAPI; import com.databricks.sdk.service.ml.ExperimentsService; +import com.databricks.sdk.service.ml.FeatureStoreAPI; +import com.databricks.sdk.service.ml.FeatureStoreService; import com.databricks.sdk.service.ml.ForecastingAPI; import com.databricks.sdk.service.ml.ForecastingService; +import com.databricks.sdk.service.ml.MaterializedFeaturesAPI; +import com.databricks.sdk.service.ml.MaterializedFeaturesService; import com.databricks.sdk.service.ml.ModelRegistryAPI; import com.databricks.sdk.service.ml.ModelRegistryService; import com.databricks.sdk.service.pipelines.PipelinesAPI; @@ -221,6 +225,7 @@ public class WorkspaceClient { private AccessControlAPI accessControlAPI; private AccountAccessControlProxyAPI accountAccessControlProxyAPI; + private AiBuilderAPI aiBuilderAPI; private AlertsAPI alertsAPI; private AlertsLegacyAPI alertsLegacyAPI; private AlertsV2API alertsV2API; @@ -242,7 +247,6 @@ public class WorkspaceClient { private CredentialsAPI credentialsAPI; private CredentialsManagerAPI credentialsManagerAPI; private CurrentUserAPI currentUserAPI; - private CustomLlmsAPI customLlmsAPI; private DashboardWidgetsAPI dashboardWidgetsAPI; private DashboardsAPI dashboardsAPI; private DataSourcesAPI dataSourcesAPI; @@ -251,6 +255,7 @@ public class WorkspaceClient { private DbsqlPermissionsAPI dbsqlPermissionsAPI; private ExperimentsAPI experimentsAPI; private ExternalLocationsAPI externalLocationsAPI; + private FeatureStoreAPI featureStoreAPI; private FilesAPI filesAPI; private FunctionsAPI functionsAPI; private GenieAPI genieAPI; @@ -265,6 +270,7 @@ public class WorkspaceClient { private LakeviewAPI lakeviewAPI; private LakeviewEmbeddedAPI lakeviewEmbeddedAPI; private LibrariesAPI librariesAPI; + private MaterializedFeaturesAPI materializedFeaturesAPI; private MetastoresAPI metastoresAPI; private ModelRegistryAPI modelRegistryAPI; private ModelVersionsAPI modelVersionsAPI; @@ -332,6 +338,7 @@ public WorkspaceClient(DatabricksConfig config) { apiClient = new ApiClient(config); accessControlAPI = new AccessControlAPI(apiClient); accountAccessControlProxyAPI = new AccountAccessControlProxyAPI(apiClient); + aiBuilderAPI = new AiBuilderAPI(apiClient); alertsAPI = new AlertsAPI(apiClient); alertsLegacyAPI = new AlertsLegacyAPI(apiClient); alertsV2API = new AlertsV2API(apiClient); @@ -353,7 +360,6 @@ public WorkspaceClient(DatabricksConfig config) { credentialsAPI = new CredentialsAPI(apiClient); credentialsManagerAPI = new CredentialsManagerAPI(apiClient); currentUserAPI = new CurrentUserAPI(apiClient); - customLlmsAPI = new CustomLlmsAPI(apiClient); dashboardWidgetsAPI = new DashboardWidgetsAPI(apiClient); dashboardsAPI = new DashboardsAPI(apiClient); dataSourcesAPI = new DataSourcesAPI(apiClient); @@ -362,6 +368,7 @@ public WorkspaceClient(DatabricksConfig config) { dbsqlPermissionsAPI = new DbsqlPermissionsAPI(apiClient); experimentsAPI = new ExperimentsAPI(apiClient); externalLocationsAPI = new ExternalLocationsAPI(apiClient); + featureStoreAPI = new FeatureStoreAPI(apiClient); filesAPI = new FilesAPI(apiClient); functionsAPI = new FunctionsAPI(apiClient); genieAPI = new GenieAPI(apiClient); @@ -376,6 +383,7 @@ public WorkspaceClient(DatabricksConfig config) { lakeviewAPI = new LakeviewAPI(apiClient); lakeviewEmbeddedAPI = new LakeviewEmbeddedAPI(apiClient); librariesAPI = new LibrariesAPI(apiClient); + materializedFeaturesAPI = new MaterializedFeaturesAPI(apiClient); metastoresAPI = new MetastoresAPI(apiClient); modelRegistryAPI = new ModelRegistryAPI(apiClient); modelVersionsAPI = new ModelVersionsAPI(apiClient); @@ -462,6 +470,11 @@ public AccountAccessControlProxyAPI accountAccessControlProxy() { return accountAccessControlProxyAPI; } + /** The Custom LLMs service manages state and powers the UI for the Custom LLM product. */ + public AiBuilderAPI aiBuilder() { + return aiBuilderAPI; + } + /** * The alerts API can be used to perform CRUD operations on alerts. An alert is a Databricks SQL * object that periodically runs a query, evaluates a condition of its result, and notifies one or @@ -680,11 +693,6 @@ public CurrentUserAPI currentUser() { return currentUserAPI; } - /** The Custom LLMs service manages state and powers the UI for the Custom LLM product. */ - public CustomLlmsAPI customLlms() { - return customLlmsAPI; - } - /** * This is an evolving API that facilitates the addition and removal of widgets from existing * dashboards within the Databricks Workspace. Data structures may change over time. @@ -787,6 +795,18 @@ public ExternalLocationsAPI externalLocations() { return externalLocationsAPI; } + /** + * A feature store is a centralized repository that enables data scientists to find and share + * features. Using a feature store also ensures that the code used to compute feature values is + * the same during model training and when the model is used for inference. + * + *

An online store is a low-latency database used for feature lookup during real-time model + * inference or serve feature for real-time applications. + */ + public FeatureStoreAPI featureStore() { + return featureStoreAPI; + } + /** * The Files API is a standard HTTP API that allows you to read, write, list, and delete files and * directories by referring to their URI. The API makes working with file content as raw bytes @@ -1003,6 +1023,14 @@ public LibrariesAPI libraries() { return librariesAPI; } + /** + * Materialized Features are columns in tables and views that can be directly used as features to + * train and serve ML models. + */ + public MaterializedFeaturesAPI materializedFeatures() { + return materializedFeaturesAPI; + } + /** * A metastore is the top-level container of objects in Unity Catalog. It stores data assets * (tables and views) and the permissions that govern access to them. Databricks account admins @@ -1809,6 +1837,17 @@ public WorkspaceClient withAccountAccessControlProxyAPI( return this; } + /** Replace the default AiBuilderService with a custom implementation. */ + public WorkspaceClient withAiBuilderImpl(AiBuilderService aiBuilder) { + return this.withAiBuilderAPI(new AiBuilderAPI(aiBuilder)); + } + + /** Replace the default AiBuilderAPI with a custom implementation. */ + public WorkspaceClient withAiBuilderAPI(AiBuilderAPI aiBuilder) { + this.aiBuilderAPI = aiBuilder; + return this; + } + /** Replace the default AlertsService with a custom implementation. */ public WorkspaceClient withAlertsImpl(AlertsService alerts) { return this.withAlertsAPI(new AlertsAPI(alerts)); @@ -2046,17 +2085,6 @@ public WorkspaceClient withCurrentUserAPI(CurrentUserAPI currentUser) { return this; } - /** Replace the default CustomLlmsService with a custom implementation. */ - public WorkspaceClient withCustomLlmsImpl(CustomLlmsService customLlms) { - return this.withCustomLlmsAPI(new CustomLlmsAPI(customLlms)); - } - - /** Replace the default CustomLlmsAPI with a custom implementation. */ - public WorkspaceClient withCustomLlmsAPI(CustomLlmsAPI customLlms) { - this.customLlmsAPI = customLlms; - return this; - } - /** Replace the default DashboardWidgetsService with a custom implementation. */ public WorkspaceClient withDashboardWidgetsImpl(DashboardWidgetsService dashboardWidgets) { return this.withDashboardWidgetsAPI(new DashboardWidgetsAPI(dashboardWidgets)); @@ -2145,6 +2173,17 @@ public WorkspaceClient withExternalLocationsAPI(ExternalLocationsAPI externalLoc return this; } + /** Replace the default FeatureStoreService with a custom implementation. */ + public WorkspaceClient withFeatureStoreImpl(FeatureStoreService featureStore) { + return this.withFeatureStoreAPI(new FeatureStoreAPI(featureStore)); + } + + /** Replace the default FeatureStoreAPI with a custom implementation. */ + public WorkspaceClient withFeatureStoreAPI(FeatureStoreAPI featureStore) { + this.featureStoreAPI = featureStore; + return this; + } + /** Replace the default FilesService with a custom implementation. */ public WorkspaceClient withFilesImpl(FilesService files) { return this.withFilesAPI(new FilesAPI(files)); @@ -2299,6 +2338,18 @@ public WorkspaceClient withLibrariesAPI(LibrariesAPI libraries) { return this; } + /** Replace the default MaterializedFeaturesService with a custom implementation. */ + public WorkspaceClient withMaterializedFeaturesImpl( + MaterializedFeaturesService materializedFeatures) { + return this.withMaterializedFeaturesAPI(new MaterializedFeaturesAPI(materializedFeatures)); + } + + /** Replace the default MaterializedFeaturesAPI with a custom implementation. */ + public WorkspaceClient withMaterializedFeaturesAPI(MaterializedFeaturesAPI materializedFeatures) { + this.materializedFeaturesAPI = materializedFeatures; + return this; + } + /** Replace the default MetastoresService with a custom implementation. */ public WorkspaceClient withMetastoresImpl(MetastoresService metastores) { return this.withMetastoresAPI(new MetastoresAPI(metastores)); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/AiBuilderAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/AiBuilderAPI.java new file mode 100755 index 000000000..4f1609be3 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/AiBuilderAPI.java @@ -0,0 +1,85 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. +package com.databricks.sdk.service.aibuilder; + +import com.databricks.sdk.core.ApiClient; +import com.databricks.sdk.support.Generated; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** The Custom LLMs service manages state and powers the UI for the Custom LLM product. */ +@Generated +public class AiBuilderAPI { + private static final Logger LOG = LoggerFactory.getLogger(AiBuilderAPI.class); + + private final AiBuilderService impl; + + /** Regular-use constructor */ + public AiBuilderAPI(ApiClient apiClient) { + impl = new AiBuilderImpl(apiClient); + } + + /** Constructor for mocks */ + public AiBuilderAPI(AiBuilderService mock) { + impl = mock; + } + + public void cancelOptimize(String id) { + cancelOptimize(new CancelCustomLlmOptimizationRunRequest().setId(id)); + } + + /** Cancel a Custom LLM Optimization Run. */ + public void cancelOptimize(CancelCustomLlmOptimizationRunRequest request) { + impl.cancelOptimize(request); + } + + public CustomLlm createCustomLlm(String name, String instructions) { + return createCustomLlm( + new CreateCustomLlmRequest().setName(name).setInstructions(instructions)); + } + + /** Create a Custom LLM. */ + public CustomLlm createCustomLlm(CreateCustomLlmRequest request) { + return impl.createCustomLlm(request); + } + + public void deleteCustomLlm(String id) { + deleteCustomLlm(new DeleteCustomLlmRequest().setId(id)); + } + + /** Delete a Custom LLM. */ + public void deleteCustomLlm(DeleteCustomLlmRequest request) { + impl.deleteCustomLlm(request); + } + + public CustomLlm getCustomLlm(String id) { + return getCustomLlm(new GetCustomLlmRequest().setId(id)); + } + + /** Get a Custom LLM. */ + public CustomLlm getCustomLlm(GetCustomLlmRequest request) { + return impl.getCustomLlm(request); + } + + public CustomLlm startOptimize(String id) { + return startOptimize(new StartCustomLlmOptimizationRunRequest().setId(id)); + } + + /** Start a Custom LLM Optimization Run. */ + public CustomLlm startOptimize(StartCustomLlmOptimizationRunRequest request) { + return impl.startOptimize(request); + } + + public CustomLlm updateCustomLlm(String id, CustomLlm customLlm, String updateMask) { + return updateCustomLlm( + new UpdateCustomLlmRequest().setId(id).setCustomLlm(customLlm).setUpdateMask(updateMask)); + } + + /** Update a Custom LLM. */ + public CustomLlm updateCustomLlm(UpdateCustomLlmRequest request) { + return impl.updateCustomLlm(request); + } + + public AiBuilderService impl() { + return impl; + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CustomLlmsImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/AiBuilderImpl.java similarity index 60% rename from databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CustomLlmsImpl.java rename to databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/AiBuilderImpl.java index e954adaa6..4b7e6f09c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CustomLlmsImpl.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/AiBuilderImpl.java @@ -7,32 +7,32 @@ import com.databricks.sdk.support.Generated; import java.io.IOException; -/** Package-local implementation of CustomLlms */ +/** Package-local implementation of AiBuilder */ @Generated -class CustomLlmsImpl implements CustomLlmsService { +class AiBuilderImpl implements AiBuilderService { private final ApiClient apiClient; - public CustomLlmsImpl(ApiClient apiClient) { + public AiBuilderImpl(ApiClient apiClient) { this.apiClient = apiClient; } @Override - public void cancel(CancelCustomLlmOptimizationRunRequest request) { + public void cancelOptimize(CancelCustomLlmOptimizationRunRequest request) { String path = String.format("/api/2.0/custom-llms/%s/optimize/cancel", request.getId()); try { Request req = new Request("POST", path, apiClient.serialize(request)); ApiClient.setQuery(req, request); req.withHeader("Accept", "application/json"); req.withHeader("Content-Type", "application/json"); - apiClient.execute(req, CancelResponse.class); + apiClient.execute(req, CancelOptimizeResponse.class); } catch (IOException e) { throw new DatabricksException("IO error: " + e.getMessage(), e); } } @Override - public CustomLlm create(StartCustomLlmOptimizationRunRequest request) { - String path = String.format("/api/2.0/custom-llms/%s/optimize", request.getId()); + public CustomLlm createCustomLlm(CreateCustomLlmRequest request) { + String path = "/api/2.0/custom-llms"; try { Request req = new Request("POST", path, apiClient.serialize(request)); ApiClient.setQuery(req, request); @@ -45,7 +45,20 @@ public CustomLlm create(StartCustomLlmOptimizationRunRequest request) { } @Override - public CustomLlm get(GetCustomLlmRequest request) { + public void deleteCustomLlm(DeleteCustomLlmRequest request) { + String path = String.format("/api/2.0/custom-lms/%s", request.getId()); + try { + Request req = new Request("DELETE", path); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + apiClient.execute(req, DeleteCustomLlmResponse.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } + + @Override + public CustomLlm getCustomLlm(GetCustomLlmRequest request) { String path = String.format("/api/2.0/custom-llms/%s", request.getId()); try { Request req = new Request("GET", path); @@ -58,7 +71,21 @@ public CustomLlm get(GetCustomLlmRequest request) { } @Override - public CustomLlm update(UpdateCustomLlmRequest request) { + public CustomLlm startOptimize(StartCustomLlmOptimizationRunRequest request) { + String path = String.format("/api/2.0/custom-llms/%s/optimize", request.getId()); + try { + Request req = new Request("POST", path, apiClient.serialize(request)); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + req.withHeader("Content-Type", "application/json"); + return apiClient.execute(req, CustomLlm.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } + + @Override + public CustomLlm updateCustomLlm(UpdateCustomLlmRequest request) { String path = String.format("/api/2.0/custom-llms/%s", request.getId()); try { Request req = new Request("PATCH", path, apiClient.serialize(request)); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CustomLlmsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/AiBuilderService.java similarity index 50% rename from databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CustomLlmsService.java rename to databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/AiBuilderService.java index 5f4b4246c..33129cd1a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CustomLlmsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/AiBuilderService.java @@ -11,16 +11,23 @@ *

Evolving: this interface is under development. Method signatures may change. */ @Generated -public interface CustomLlmsService { +public interface AiBuilderService { /** Cancel a Custom LLM Optimization Run. */ - void cancel(CancelCustomLlmOptimizationRunRequest cancelCustomLlmOptimizationRunRequest); + void cancelOptimize(CancelCustomLlmOptimizationRunRequest cancelCustomLlmOptimizationRunRequest); - /** Start a Custom LLM Optimization Run. */ - CustomLlm create(StartCustomLlmOptimizationRunRequest startCustomLlmOptimizationRunRequest); + /** Create a Custom LLM. */ + CustomLlm createCustomLlm(CreateCustomLlmRequest createCustomLlmRequest); + + /** Delete a Custom LLM. */ + void deleteCustomLlm(DeleteCustomLlmRequest deleteCustomLlmRequest); /** Get a Custom LLM. */ - CustomLlm get(GetCustomLlmRequest getCustomLlmRequest); + CustomLlm getCustomLlm(GetCustomLlmRequest getCustomLlmRequest); + + /** Start a Custom LLM Optimization Run. */ + CustomLlm startOptimize( + StartCustomLlmOptimizationRunRequest startCustomLlmOptimizationRunRequest); /** Update a Custom LLM. */ - CustomLlm update(UpdateCustomLlmRequest updateCustomLlmRequest); + CustomLlm updateCustomLlm(UpdateCustomLlmRequest updateCustomLlmRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CancelResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CancelOptimizeResponse.java similarity index 83% rename from databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CancelResponse.java rename to databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CancelOptimizeResponse.java index 62f4aac5b..d9199de50 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CancelResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CancelOptimizeResponse.java @@ -7,7 +7,7 @@ import java.util.Objects; @Generated -public class CancelResponse { +public class CancelOptimizeResponse { @Override public boolean equals(Object o) { @@ -23,6 +23,6 @@ public int hashCode() { @Override public String toString() { - return new ToStringer(CancelResponse.class).toString(); + return new ToStringer(CancelOptimizeResponse.class).toString(); } } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CreateCustomLlmRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CreateCustomLlmRequest.java new file mode 100755 index 000000000..4d7e192cc --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CreateCustomLlmRequest.java @@ -0,0 +1,112 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.aibuilder; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Collection; +import java.util.Objects; + +@Generated +public class CreateCustomLlmRequest { + /** + * Optional: UC path for agent artifacts. If you are using a dataset that you only have read + * permissions, please provide a destination path where you have write permissions. Please provide + * this in catalog.schema format. + */ + @JsonProperty("agent_artifact_path") + private String agentArtifactPath; + + /** + * Datasets used for training and evaluating the model, not for inference. Currently, only 1 + * dataset is accepted. + */ + @JsonProperty("datasets") + private Collection datasets; + + /** Guidelines for the custom LLM to adhere to */ + @JsonProperty("guidelines") + private Collection guidelines; + + /** Instructions for the custom LLM to follow */ + @JsonProperty("instructions") + private String instructions; + + /** Name of the custom LLM. Only alphanumeric characters and dashes allowed. */ + @JsonProperty("name") + private String name; + + public CreateCustomLlmRequest setAgentArtifactPath(String agentArtifactPath) { + this.agentArtifactPath = agentArtifactPath; + return this; + } + + public String getAgentArtifactPath() { + return agentArtifactPath; + } + + public CreateCustomLlmRequest setDatasets(Collection datasets) { + this.datasets = datasets; + return this; + } + + public Collection getDatasets() { + return datasets; + } + + public CreateCustomLlmRequest setGuidelines(Collection guidelines) { + this.guidelines = guidelines; + return this; + } + + public Collection getGuidelines() { + return guidelines; + } + + public CreateCustomLlmRequest setInstructions(String instructions) { + this.instructions = instructions; + return this; + } + + public String getInstructions() { + return instructions; + } + + public CreateCustomLlmRequest setName(String name) { + this.name = name; + return this; + } + + public String getName() { + return name; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + CreateCustomLlmRequest that = (CreateCustomLlmRequest) o; + return Objects.equals(agentArtifactPath, that.agentArtifactPath) + && Objects.equals(datasets, that.datasets) + && Objects.equals(guidelines, that.guidelines) + && Objects.equals(instructions, that.instructions) + && Objects.equals(name, that.name); + } + + @Override + public int hashCode() { + return Objects.hash(agentArtifactPath, datasets, guidelines, instructions, name); + } + + @Override + public String toString() { + return new ToStringer(CreateCustomLlmRequest.class) + .add("agentArtifactPath", agentArtifactPath) + .add("datasets", datasets) + .add("guidelines", guidelines) + .add("instructions", instructions) + .add("name", name) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CustomLlmsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CustomLlmsAPI.java deleted file mode 100755 index 448c15449..000000000 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/CustomLlmsAPI.java +++ /dev/null @@ -1,66 +0,0 @@ -// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. -package com.databricks.sdk.service.aibuilder; - -import com.databricks.sdk.core.ApiClient; -import com.databricks.sdk.support.Generated; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -/** The Custom LLMs service manages state and powers the UI for the Custom LLM product. */ -@Generated -public class CustomLlmsAPI { - private static final Logger LOG = LoggerFactory.getLogger(CustomLlmsAPI.class); - - private final CustomLlmsService impl; - - /** Regular-use constructor */ - public CustomLlmsAPI(ApiClient apiClient) { - impl = new CustomLlmsImpl(apiClient); - } - - /** Constructor for mocks */ - public CustomLlmsAPI(CustomLlmsService mock) { - impl = mock; - } - - public void cancel(String id) { - cancel(new CancelCustomLlmOptimizationRunRequest().setId(id)); - } - - /** Cancel a Custom LLM Optimization Run. */ - public void cancel(CancelCustomLlmOptimizationRunRequest request) { - impl.cancel(request); - } - - public CustomLlm create(String id) { - return create(new StartCustomLlmOptimizationRunRequest().setId(id)); - } - - /** Start a Custom LLM Optimization Run. */ - public CustomLlm create(StartCustomLlmOptimizationRunRequest request) { - return impl.create(request); - } - - public CustomLlm get(String id) { - return get(new GetCustomLlmRequest().setId(id)); - } - - /** Get a Custom LLM. */ - public CustomLlm get(GetCustomLlmRequest request) { - return impl.get(request); - } - - public CustomLlm update(String id, CustomLlm customLlm, String updateMask) { - return update( - new UpdateCustomLlmRequest().setId(id).setCustomLlm(customLlm).setUpdateMask(updateMask)); - } - - /** Update a Custom LLM. */ - public CustomLlm update(UpdateCustomLlmRequest request) { - return impl.update(request); - } - - public CustomLlmsService impl() { - return impl; - } -} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/DeleteCustomLlmRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/DeleteCustomLlmRequest.java new file mode 100755 index 000000000..836dabfd1 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/DeleteCustomLlmRequest.java @@ -0,0 +1,41 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.aibuilder; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Objects; + +@Generated +public class DeleteCustomLlmRequest { + /** The id of the custom llm */ + @JsonIgnore private String id; + + public DeleteCustomLlmRequest setId(String id) { + this.id = id; + return this; + } + + public String getId() { + return id; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + DeleteCustomLlmRequest that = (DeleteCustomLlmRequest) o; + return Objects.equals(id, that.id); + } + + @Override + public int hashCode() { + return Objects.hash(id); + } + + @Override + public String toString() { + return new ToStringer(DeleteCustomLlmRequest.class).add("id", id).toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/DeleteCustomLlmResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/DeleteCustomLlmResponse.java new file mode 100755 index 000000000..5aa889446 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/DeleteCustomLlmResponse.java @@ -0,0 +1,28 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.aibuilder; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import java.util.Objects; + +@Generated +public class DeleteCustomLlmResponse { + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + @Override + public String toString() { + return new ToStringer(DeleteCustomLlmResponse.class).toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/GetCustomLlmRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/GetCustomLlmRequest.java index 981a2903a..0ccec17c5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/GetCustomLlmRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aibuilder/GetCustomLlmRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a Custom LLM */ @Generated public class GetCustomLlmRequest { /** The id of the custom llm */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppsAPI.java index e6e710494..d4d142f71 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppsAPI.java @@ -183,11 +183,7 @@ public Wait create(App app) { return create(new CreateAppRequest().setApp(app)); } - /** - * Create an app. - * - *

Creates a new app. - */ + /** Creates a new app. */ public Wait create(CreateAppRequest request) { App response = impl.create(request); return new Wait<>( @@ -198,11 +194,7 @@ public App delete(String name) { return delete(new DeleteAppRequest().setName(name)); } - /** - * Delete an app. - * - *

Deletes an app. - */ + /** Deletes an app. */ public App delete(DeleteAppRequest request) { return impl.delete(request); } @@ -212,11 +204,7 @@ public Wait deploy(String appName, AppDeployment a new CreateAppDeploymentRequest().setAppName(appName).setAppDeployment(appDeployment)); } - /** - * Create an app deployment. - * - *

Creates an app deployment for the app with the supplied name. - */ + /** Creates an app deployment for the app with the supplied name. */ public Wait deploy(CreateAppDeploymentRequest request) { AppDeployment response = impl.deploy(request); return new Wait<>( @@ -230,11 +218,7 @@ public App get(String name) { return get(new GetAppRequest().setName(name)); } - /** - * Get an app. - * - *

Retrieves information for the app with the supplied name. - */ + /** Retrieves information for the app with the supplied name. */ public App get(GetAppRequest request) { return impl.get(request); } @@ -244,11 +228,7 @@ public AppDeployment getDeployment(String appName, String deploymentId) { new GetAppDeploymentRequest().setAppName(appName).setDeploymentId(deploymentId)); } - /** - * Get an app deployment. - * - *

Retrieves information for the app deployment with the supplied name and deployment id. - */ + /** Retrieves information for the app deployment with the supplied name and deployment id. */ public AppDeployment getDeployment(GetAppDeploymentRequest request) { return impl.getDeployment(request); } @@ -257,11 +237,7 @@ public GetAppPermissionLevelsResponse getPermissionLevels(String appName) { return getPermissionLevels(new GetAppPermissionLevelsRequest().setAppName(appName)); } - /** - * Get app permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ public GetAppPermissionLevelsResponse getPermissionLevels(GetAppPermissionLevelsRequest request) { return impl.getPermissionLevels(request); } @@ -270,20 +246,12 @@ public AppPermissions getPermissions(String appName) { return getPermissions(new GetAppPermissionsRequest().setAppName(appName)); } - /** - * Get app permissions. - * - *

Gets the permissions of an app. Apps can inherit permissions from their root object. - */ + /** Gets the permissions of an app. Apps can inherit permissions from their root object. */ public AppPermissions getPermissions(GetAppPermissionsRequest request) { return impl.getPermissions(request); } - /** - * List apps. - * - *

Lists all apps in the workspace. - */ + /** Lists all apps in the workspace. */ public Iterable list(ListAppsRequest request) { return new Paginator<>( request, @@ -302,11 +270,7 @@ public Iterable listDeployments(String appName) { return listDeployments(new ListAppDeploymentsRequest().setAppName(appName)); } - /** - * List app deployments. - * - *

Lists all app deployments for the app with the supplied name. - */ + /** Lists all app deployments for the app with the supplied name. */ public Iterable listDeployments(ListAppDeploymentsRequest request) { return new Paginator<>( request, @@ -326,11 +290,8 @@ public AppPermissions setPermissions(String appName) { } /** - * Set app permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ public AppPermissions setPermissions(AppPermissionsRequest request) { return impl.setPermissions(request); @@ -340,11 +301,7 @@ public Wait start(String name) { return start(new StartAppRequest().setName(name)); } - /** - * Start an app. - * - *

Start the last active deployment of the app in the workspace. - */ + /** Start the last active deployment of the app in the workspace. */ public Wait start(StartAppRequest request) { App response = impl.start(request); return new Wait<>( @@ -355,11 +312,7 @@ public Wait stop(String name) { return stop(new StopAppRequest().setName(name)); } - /** - * Stop an app. - * - *

Stops the active deployment of the app in the workspace. - */ + /** Stops the active deployment of the app in the workspace. */ public Wait stop(StopAppRequest request) { App response = impl.stop(request); return new Wait<>( @@ -370,11 +323,7 @@ public App update(String name, App app) { return update(new UpdateAppRequest().setName(name).setApp(app)); } - /** - * Update an app. - * - *

Updates the app with the supplied name. - */ + /** Updates the app with the supplied name. */ public App update(UpdateAppRequest request) { return impl.update(request); } @@ -383,11 +332,7 @@ public AppPermissions updatePermissions(String appName) { return updatePermissions(new AppPermissionsRequest().setAppName(appName)); } - /** - * Update app permissions. - * - *

Updates the permissions on an app. Apps can inherit permissions from their root object. - */ + /** Updates the permissions on an app. Apps can inherit permissions from their root object. */ public AppPermissions updatePermissions(AppPermissionsRequest request) { return impl.updatePermissions(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppsService.java index d5909455c..9e5b895bf 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppsService.java @@ -13,104 +13,49 @@ */ @Generated public interface AppsService { - /** - * Create an app. - * - *

Creates a new app. - */ + /** Creates a new app. */ App create(CreateAppRequest createAppRequest); - /** - * Delete an app. - * - *

Deletes an app. - */ + /** Deletes an app. */ App delete(DeleteAppRequest deleteAppRequest); - /** - * Create an app deployment. - * - *

Creates an app deployment for the app with the supplied name. - */ + /** Creates an app deployment for the app with the supplied name. */ AppDeployment deploy(CreateAppDeploymentRequest createAppDeploymentRequest); - /** - * Get an app. - * - *

Retrieves information for the app with the supplied name. - */ + /** Retrieves information for the app with the supplied name. */ App get(GetAppRequest getAppRequest); - /** - * Get an app deployment. - * - *

Retrieves information for the app deployment with the supplied name and deployment id. - */ + /** Retrieves information for the app deployment with the supplied name and deployment id. */ AppDeployment getDeployment(GetAppDeploymentRequest getAppDeploymentRequest); - /** - * Get app permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ GetAppPermissionLevelsResponse getPermissionLevels( GetAppPermissionLevelsRequest getAppPermissionLevelsRequest); - /** - * Get app permissions. - * - *

Gets the permissions of an app. Apps can inherit permissions from their root object. - */ + /** Gets the permissions of an app. Apps can inherit permissions from their root object. */ AppPermissions getPermissions(GetAppPermissionsRequest getAppPermissionsRequest); - /** - * List apps. - * - *

Lists all apps in the workspace. - */ + /** Lists all apps in the workspace. */ ListAppsResponse list(ListAppsRequest listAppsRequest); - /** - * List app deployments. - * - *

Lists all app deployments for the app with the supplied name. - */ + /** Lists all app deployments for the app with the supplied name. */ ListAppDeploymentsResponse listDeployments(ListAppDeploymentsRequest listAppDeploymentsRequest); /** - * Set app permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ AppPermissions setPermissions(AppPermissionsRequest appPermissionsRequest); - /** - * Start an app. - * - *

Start the last active deployment of the app in the workspace. - */ + /** Start the last active deployment of the app in the workspace. */ App start(StartAppRequest startAppRequest); - /** - * Stop an app. - * - *

Stops the active deployment of the app in the workspace. - */ + /** Stops the active deployment of the app in the workspace. */ App stop(StopAppRequest stopAppRequest); - /** - * Update an app. - * - *

Updates the app with the supplied name. - */ + /** Updates the app with the supplied name. */ App update(UpdateAppRequest updateAppRequest); - /** - * Update app permissions. - * - *

Updates the permissions on an app. Apps can inherit permissions from their root object. - */ + /** Updates the permissions on an app. Apps can inherit permissions from their root object. */ AppPermissions updatePermissions(AppPermissionsRequest appPermissionsRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/CreateAppDeploymentRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/CreateAppDeploymentRequest.java index 1d0425673..06ac40723 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/CreateAppDeploymentRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/CreateAppDeploymentRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create an app deployment */ @Generated public class CreateAppDeploymentRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/CreateAppRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/CreateAppRequest.java index 0a2d2eb59..d0ba8acd5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/CreateAppRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/CreateAppRequest.java @@ -9,7 +9,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create an app */ @Generated public class CreateAppRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/DeleteAppRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/DeleteAppRequest.java index 16958972e..d3cef172d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/DeleteAppRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/DeleteAppRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete an app */ @Generated public class DeleteAppRequest { /** The name of the app. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/GetAppDeploymentRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/GetAppDeploymentRequest.java index 6f34447d1..7b3931c59 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/GetAppDeploymentRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/GetAppDeploymentRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get an app deployment */ @Generated public class GetAppDeploymentRequest { /** The name of the app. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/GetAppPermissionLevelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/GetAppPermissionLevelsRequest.java index bb2651075..118333a02 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/GetAppPermissionLevelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/GetAppPermissionLevelsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get app permission levels */ @Generated public class GetAppPermissionLevelsRequest { /** The app for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/GetAppPermissionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/GetAppPermissionsRequest.java index bc44a9252..f0f41d68a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/GetAppPermissionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/GetAppPermissionsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get app permissions */ @Generated public class GetAppPermissionsRequest { /** The app for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/GetAppRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/GetAppRequest.java index ec758e4b7..1465d4829 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/GetAppRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/GetAppRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get an app */ @Generated public class GetAppRequest { /** The name of the app. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/ListAppDeploymentsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/ListAppDeploymentsRequest.java index 521799ca5..c6601522e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/ListAppDeploymentsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/ListAppDeploymentsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List app deployments */ @Generated public class ListAppDeploymentsRequest { /** The name of the app. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/ListAppsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/ListAppsRequest.java index be3a51190..e62e4e319 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/ListAppsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/ListAppsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List apps */ @Generated public class ListAppsRequest { /** Upper bound for items returned. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/UpdateAppRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/UpdateAppRequest.java index 09baf63ac..c150f859a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/UpdateAppRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/UpdateAppRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Update an app */ @Generated public class UpdateAppRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageAPI.java index c5c8e08ab..2df43b356 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageAPI.java @@ -31,9 +31,7 @@ public DownloadResponse download(String startMonth, String endMonth) { } /** - * Return billable usage logs. - * - *

Returns billable usage logs in CSV format for the specified account and date range. For the + * Returns billable usage logs in CSV format for the specified account and date range. For the * data schema, see [CSV file schema]. Note that this method might take multiple minutes to * complete. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageService.java index c4726ccf2..1309f5914 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageService.java @@ -14,9 +14,7 @@ @Generated public interface BillableUsageService { /** - * Return billable usage logs. - * - *

Returns billable usage logs in CSV format for the specified account and date range. For the + * Returns billable usage logs in CSV format for the specified account and date range. For the * data schema, see [CSV file schema]. Note that this method might take multiple minutes to * complete. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetPolicyAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetPolicyAPI.java index 39b840571..3ab0a31bc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetPolicyAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetPolicyAPI.java @@ -24,11 +24,7 @@ public BudgetPolicyAPI(BudgetPolicyService mock) { impl = mock; } - /** - * Create a budget policy. - * - *

Creates a new policy. - */ + /** Creates a new policy. */ public BudgetPolicy create(CreateBudgetPolicyRequest request) { return impl.create(request); } @@ -37,11 +33,7 @@ public void delete(String policyId) { delete(new DeleteBudgetPolicyRequest().setPolicyId(policyId)); } - /** - * Delete a budget policy. - * - *

Deletes a policy - */ + /** Deletes a policy */ public void delete(DeleteBudgetPolicyRequest request) { impl.delete(request); } @@ -50,20 +42,13 @@ public BudgetPolicy get(String policyId) { return get(new GetBudgetPolicyRequest().setPolicyId(policyId)); } - /** - * Get a budget policy. - * - *

Retrieves a policy by it's ID. - */ + /** Retrieves a policy by it's ID. */ public BudgetPolicy get(GetBudgetPolicyRequest request) { return impl.get(request); } /** - * List policies. - * - *

Lists all policies. Policies are returned in the alphabetically ascending order of their - * names. + * Lists all policies. Policies are returned in the alphabetically ascending order of their names. */ public Iterable list(ListBudgetPoliciesRequest request) { return new Paginator<>( @@ -83,11 +68,7 @@ public BudgetPolicy update(String policyId, BudgetPolicy policy) { return update(new UpdateBudgetPolicyRequest().setPolicyId(policyId).setPolicy(policy)); } - /** - * Update a budget policy. - * - *

Updates a policy - */ + /** Updates a policy */ public BudgetPolicy update(UpdateBudgetPolicyRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetPolicyService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetPolicyService.java index a2ff724d4..2fb7b4b81 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetPolicyService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetPolicyService.java @@ -12,39 +12,20 @@ */ @Generated public interface BudgetPolicyService { - /** - * Create a budget policy. - * - *

Creates a new policy. - */ + /** Creates a new policy. */ BudgetPolicy create(CreateBudgetPolicyRequest createBudgetPolicyRequest); - /** - * Delete a budget policy. - * - *

Deletes a policy - */ + /** Deletes a policy */ void delete(DeleteBudgetPolicyRequest deleteBudgetPolicyRequest); - /** - * Get a budget policy. - * - *

Retrieves a policy by it's ID. - */ + /** Retrieves a policy by it's ID. */ BudgetPolicy get(GetBudgetPolicyRequest getBudgetPolicyRequest); /** - * List policies. - * - *

Lists all policies. Policies are returned in the alphabetically ascending order of their - * names. + * Lists all policies. Policies are returned in the alphabetically ascending order of their names. */ ListBudgetPoliciesResponse list(ListBudgetPoliciesRequest listBudgetPoliciesRequest); - /** - * Update a budget policy. - * - *

Updates a policy - */ + /** Updates a policy */ BudgetPolicy update(UpdateBudgetPolicyRequest updateBudgetPolicyRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetsAPI.java index 5df93d61d..f45659d44 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetsAPI.java @@ -33,9 +33,7 @@ public CreateBudgetConfigurationResponse create(CreateBudgetConfigurationBudget } /** - * Create new budget. - * - *

Create a new budget configuration for an account. For full details, see + * Create a new budget configuration for an account. For full details, see * https://docs.databricks.com/en/admin/account-settings/budgets.html. */ public CreateBudgetConfigurationResponse create(CreateBudgetConfigurationRequest request) { @@ -47,9 +45,7 @@ public void delete(String budgetId) { } /** - * Delete budget. - * - *

Deletes a budget configuration for an account. Both account and budget configuration are + * Deletes a budget configuration for an account. Both account and budget configuration are * specified by ID. This cannot be undone. */ public void delete(DeleteBudgetConfigurationRequest request) { @@ -61,20 +57,14 @@ public GetBudgetConfigurationResponse get(String budgetId) { } /** - * Get budget. - * - *

Gets a budget configuration for an account. Both account and budget configuration are - * specified by ID. + * Gets a budget configuration for an account. Both account and budget configuration are specified + * by ID. */ public GetBudgetConfigurationResponse get(GetBudgetConfigurationRequest request) { return impl.get(request); } - /** - * Get all budgets. - * - *

Gets all budgets associated with this account. - */ + /** Gets all budgets associated with this account. */ public Iterable list(ListBudgetConfigurationsRequest request) { return new Paginator<>( request, @@ -95,9 +85,7 @@ public UpdateBudgetConfigurationResponse update( } /** - * Modify budget. - * - *

Updates a budget configuration for an account. Both account and budget configuration are + * Updates a budget configuration for an account. Both account and budget configuration are * specified by ID. */ public UpdateBudgetConfigurationResponse update(UpdateBudgetConfigurationRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetsService.java index 468e0fc84..57acf86d2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetsService.java @@ -15,42 +15,30 @@ @Generated public interface BudgetsService { /** - * Create new budget. - * - *

Create a new budget configuration for an account. For full details, see + * Create a new budget configuration for an account. For full details, see * https://docs.databricks.com/en/admin/account-settings/budgets.html. */ CreateBudgetConfigurationResponse create( CreateBudgetConfigurationRequest createBudgetConfigurationRequest); /** - * Delete budget. - * - *

Deletes a budget configuration for an account. Both account and budget configuration are + * Deletes a budget configuration for an account. Both account and budget configuration are * specified by ID. This cannot be undone. */ void delete(DeleteBudgetConfigurationRequest deleteBudgetConfigurationRequest); /** - * Get budget. - * - *

Gets a budget configuration for an account. Both account and budget configuration are - * specified by ID. + * Gets a budget configuration for an account. Both account and budget configuration are specified + * by ID. */ GetBudgetConfigurationResponse get(GetBudgetConfigurationRequest getBudgetConfigurationRequest); - /** - * Get all budgets. - * - *

Gets all budgets associated with this account. - */ + /** Gets all budgets associated with this account. */ ListBudgetConfigurationsResponse list( ListBudgetConfigurationsRequest listBudgetConfigurationsRequest); /** - * Modify budget. - * - *

Updates a budget configuration for an account. Both account and budget configuration are + * Updates a budget configuration for an account. Both account and budget configuration are * specified by ID. */ UpdateBudgetConfigurationResponse update( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DeleteBudgetConfigurationRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DeleteBudgetConfigurationRequest.java index 61cac47b8..8ba08d8c9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DeleteBudgetConfigurationRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DeleteBudgetConfigurationRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete budget */ @Generated public class DeleteBudgetConfigurationRequest { /** The Databricks budget configuration ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DeleteBudgetPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DeleteBudgetPolicyRequest.java index d5aabfb58..c24c6a080 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DeleteBudgetPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DeleteBudgetPolicyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a budget policy */ @Generated public class DeleteBudgetPolicyRequest { /** The Id of the policy. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DownloadRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DownloadRequest.java index 1db3a94b9..bbf8fa046 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DownloadRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DownloadRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Return billable usage logs */ @Generated public class DownloadRequest { /** Format: `YYYY-MM`. Last month to return billable usage logs for. This field is required. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/GetBillingUsageDashboardRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/GetBillingUsageDashboardRequest.java index e51a9a075..67b8f9d66 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/GetBillingUsageDashboardRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/GetBillingUsageDashboardRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get usage dashboard */ @Generated public class GetBillingUsageDashboardRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/GetBudgetConfigurationRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/GetBudgetConfigurationRequest.java index 6e34027da..0773e9b5e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/GetBudgetConfigurationRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/GetBudgetConfigurationRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get budget */ @Generated public class GetBudgetConfigurationRequest { /** The budget configuration ID */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/GetBudgetPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/GetBudgetPolicyRequest.java index 12c33b5cd..b85c555b9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/GetBudgetPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/GetBudgetPolicyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a budget policy */ @Generated public class GetBudgetPolicyRequest { /** The Id of the policy. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/GetLogDeliveryRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/GetLogDeliveryRequest.java index 2f05db001..b5f8b134f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/GetLogDeliveryRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/GetLogDeliveryRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get log delivery configuration */ @Generated public class GetLogDeliveryRequest { /** The log delivery configuration id of customer */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetConfigurationsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetConfigurationsRequest.java index 166d36749..2807a6956 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetConfigurationsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetConfigurationsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get all budgets */ @Generated public class ListBudgetConfigurationsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetPoliciesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetPoliciesRequest.java index bfe3035ac..8871004fb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetPoliciesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetPoliciesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List policies */ @Generated public class ListBudgetPoliciesRequest { /** A filter to apply to the list of policies. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListLogDeliveryRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListLogDeliveryRequest.java index fedbbd71c..e682a4d86 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListLogDeliveryRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListLogDeliveryRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get all log delivery configurations */ @Generated public class ListLogDeliveryRequest { /** The Credentials id to filter the search results with */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryAPI.java index bab132ce3..a9e33b5f1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryAPI.java @@ -8,8 +8,63 @@ import org.slf4j.LoggerFactory; /** - * These APIs manage Log delivery configurations for this account. Log delivery configs enable you - * to configure the delivery of the specified type of logs to your storage account. + * These APIs manage log delivery configurations for this account. The two supported log types for + * this API are _billable usage logs_ and _audit logs_. This feature is in Public Preview. This + * feature works with all account ID types. + * + *

Log delivery works with all account types. However, if your account is on the E2 version of + * the platform or on a select custom plan that allows multiple workspaces per account, you can + * optionally configure different storage destinations for each workspace. Log delivery status is + * also provided to know the latest status of log delivery attempts. + * + *

The high-level flow of billable usage delivery: + * + *

1. **Create storage**: In AWS, [create a new AWS S3 bucket] with a specific bucket policy. + * Using Databricks APIs, call the Account API to create a [storage configuration + * object](:method:Storage/Create) that uses the bucket name. + * + *

2. **Create credentials**: In AWS, create the appropriate AWS IAM role. For full details, + * including the required IAM role policies and trust relationship, see [Billable usage log + * delivery]. Using Databricks APIs, call the Account API to create a [credential configuration + * object](:method:Credentials/Create) that uses the IAM role's ARN. + * + *

3. **Create log delivery configuration**: Using Databricks APIs, call the Account API to + * [create a log delivery configuration](:method:LogDelivery/Create) that uses the credential and + * storage configuration objects from previous steps. You can specify if the logs should include all + * events of that log type in your account (_Account level_ delivery) or only events for a specific + * set of workspaces (_workspace level_ delivery). Account level log delivery applies to all current + * and future workspaces plus account level logs, while workspace level log delivery solely delivers + * logs related to the specified workspaces. You can create multiple types of delivery + * configurations per account. + * + *

For billable usage delivery: * For more information about billable usage logs, see [Billable + * usage log delivery]. For the CSV schema, see the [Usage page]. * The delivery location is + * `//billable-usage/csv/`, where `` is the name of the optional + * delivery path prefix you set up during log delivery configuration. Files are named + * `workspaceId=-usageMonth=.csv`. * All billable usage logs apply to specific + * workspaces (_workspace level_ logs). You can aggregate usage for your entire account by creating + * an _account level_ delivery configuration that delivers logs for all current and future + * workspaces in your account. * The files are delivered daily by overwriting the month's CSV file + * for each workspace. + * + *

For audit log delivery: * For more information about about audit log delivery, see [Audit log + * delivery], which includes information about the used JSON schema. * The delivery location is + * `//workspaceId=/date=/auditlogs_.json`. + * Files may get overwritten with the same content multiple times to achieve exactly-once delivery. + * * If the audit log delivery configuration included specific workspace IDs, only _workspace-level_ + * audit logs for those workspaces are delivered. If the log delivery configuration applies to the + * entire account (_account level_ delivery configuration), the audit log delivery includes + * workspace-level audit logs for all workspaces in the account as well as account-level audit logs. + * See [Audit log delivery] for details. * Auditable events are typically available in logs within + * 15 minutes. + * + *

[Audit log delivery]: + * https://docs.databricks.com/administration-guide/account-settings/audit-logs.html [Billable usage + * log delivery]: + * https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html + * [Usage page]: https://docs.databricks.com/administration-guide/account-settings/usage.html + * [create a new AWS S3 bucket]: + * https://docs.databricks.com/administration-guide/account-api/aws-storage.html */ @Generated public class LogDeliveryAPI { @@ -35,10 +90,8 @@ public WrappedLogDeliveryConfiguration create( } /** - * Create a new log delivery configuration. - * - *

Creates a new Databricks log delivery configuration to enable delivery of the specified type - * of logs to your storage location. This requires that you already created a [credential + * Creates a new Databricks log delivery configuration to enable delivery of the specified type of + * logs to your storage location. This requires that you already created a [credential * object](:method:Credentials/Create) (which encapsulates a cross-account service IAM role) and a * [storage configuration object](:method:Storage/Create) (which encapsulates an S3 bucket). * @@ -70,20 +123,12 @@ public GetLogDeliveryConfigurationResponse get(String logDeliveryConfigurationId new GetLogDeliveryRequest().setLogDeliveryConfigurationId(logDeliveryConfigurationId)); } - /** - * Get log delivery configuration. - * - *

Gets a Databricks log delivery configuration object for an account, both specified by ID. - */ + /** Gets a Databricks log delivery configuration object for an account, both specified by ID. */ public GetLogDeliveryConfigurationResponse get(GetLogDeliveryRequest request) { return impl.get(request); } - /** - * Get all log delivery configurations. - * - *

Gets all Databricks log delivery configurations associated with an account specified by ID. - */ + /** Gets all Databricks log delivery configurations associated with an account specified by ID. */ public Iterable list(ListLogDeliveryRequest request) { return new Paginator<>( request, @@ -106,9 +151,7 @@ public void patchStatus(String logDeliveryConfigurationId, LogDeliveryConfigStat } /** - * Enable or disable log delivery configuration. - * - *

Enables or disables a log delivery configuration. Deletion of delivery configurations is not + * Enables or disables a log delivery configuration. Deletion of delivery configurations is not * supported, so disable log delivery configurations that are no longer needed. Note that you * can't re-enable a delivery configuration if this would violate the delivery configuration * limits described under [Create log delivery](:method:LogDelivery/Create). diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryService.java index 8e66ac799..9c4796014 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryService.java @@ -4,8 +4,63 @@ import com.databricks.sdk.support.Generated; /** - * These APIs manage Log delivery configurations for this account. Log delivery configs enable you - * to configure the delivery of the specified type of logs to your storage account. + * These APIs manage log delivery configurations for this account. The two supported log types for + * this API are _billable usage logs_ and _audit logs_. This feature is in Public Preview. This + * feature works with all account ID types. + * + *

Log delivery works with all account types. However, if your account is on the E2 version of + * the platform or on a select custom plan that allows multiple workspaces per account, you can + * optionally configure different storage destinations for each workspace. Log delivery status is + * also provided to know the latest status of log delivery attempts. + * + *

The high-level flow of billable usage delivery: + * + *

1. **Create storage**: In AWS, [create a new AWS S3 bucket] with a specific bucket policy. + * Using Databricks APIs, call the Account API to create a [storage configuration + * object](:method:Storage/Create) that uses the bucket name. + * + *

2. **Create credentials**: In AWS, create the appropriate AWS IAM role. For full details, + * including the required IAM role policies and trust relationship, see [Billable usage log + * delivery]. Using Databricks APIs, call the Account API to create a [credential configuration + * object](:method:Credentials/Create) that uses the IAM role's ARN. + * + *

3. **Create log delivery configuration**: Using Databricks APIs, call the Account API to + * [create a log delivery configuration](:method:LogDelivery/Create) that uses the credential and + * storage configuration objects from previous steps. You can specify if the logs should include all + * events of that log type in your account (_Account level_ delivery) or only events for a specific + * set of workspaces (_workspace level_ delivery). Account level log delivery applies to all current + * and future workspaces plus account level logs, while workspace level log delivery solely delivers + * logs related to the specified workspaces. You can create multiple types of delivery + * configurations per account. + * + *

For billable usage delivery: * For more information about billable usage logs, see [Billable + * usage log delivery]. For the CSV schema, see the [Usage page]. * The delivery location is + * `//billable-usage/csv/`, where `` is the name of the optional + * delivery path prefix you set up during log delivery configuration. Files are named + * `workspaceId=-usageMonth=.csv`. * All billable usage logs apply to specific + * workspaces (_workspace level_ logs). You can aggregate usage for your entire account by creating + * an _account level_ delivery configuration that delivers logs for all current and future + * workspaces in your account. * The files are delivered daily by overwriting the month's CSV file + * for each workspace. + * + *

For audit log delivery: * For more information about about audit log delivery, see [Audit log + * delivery], which includes information about the used JSON schema. * The delivery location is + * `//workspaceId=/date=/auditlogs_.json`. + * Files may get overwritten with the same content multiple times to achieve exactly-once delivery. + * * If the audit log delivery configuration included specific workspace IDs, only _workspace-level_ + * audit logs for those workspaces are delivered. If the log delivery configuration applies to the + * entire account (_account level_ delivery configuration), the audit log delivery includes + * workspace-level audit logs for all workspaces in the account as well as account-level audit logs. + * See [Audit log delivery] for details. * Auditable events are typically available in logs within + * 15 minutes. + * + *

[Audit log delivery]: + * https://docs.databricks.com/administration-guide/account-settings/audit-logs.html [Billable usage + * log delivery]: + * https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html + * [Usage page]: https://docs.databricks.com/administration-guide/account-settings/usage.html + * [create a new AWS S3 bucket]: + * https://docs.databricks.com/administration-guide/account-api/aws-storage.html * *

This is the high-level interface, that contains generated methods. * @@ -14,10 +69,8 @@ @Generated public interface LogDeliveryService { /** - * Create a new log delivery configuration. - * - *

Creates a new Databricks log delivery configuration to enable delivery of the specified type - * of logs to your storage location. This requires that you already created a [credential + * Creates a new Databricks log delivery configuration to enable delivery of the specified type of + * logs to your storage location. This requires that you already created a [credential * object](:method:Credentials/Create) (which encapsulates a cross-account service IAM role) and a * [storage configuration object](:method:Storage/Create) (which encapsulates an S3 bucket). * @@ -43,24 +96,14 @@ public interface LogDeliveryService { WrappedLogDeliveryConfiguration create( WrappedCreateLogDeliveryConfiguration wrappedCreateLogDeliveryConfiguration); - /** - * Get log delivery configuration. - * - *

Gets a Databricks log delivery configuration object for an account, both specified by ID. - */ + /** Gets a Databricks log delivery configuration object for an account, both specified by ID. */ GetLogDeliveryConfigurationResponse get(GetLogDeliveryRequest getLogDeliveryRequest); - /** - * Get all log delivery configurations. - * - *

Gets all Databricks log delivery configurations associated with an account specified by ID. - */ + /** Gets all Databricks log delivery configurations associated with an account specified by ID. */ WrappedLogDeliveryConfigurations list(ListLogDeliveryRequest listLogDeliveryRequest); /** - * Enable or disable log delivery configuration. - * - *

Enables or disables a log delivery configuration. Deletion of delivery configurations is not + * Enables or disables a log delivery configuration. Deletion of delivery configurations is not * supported, so disable log delivery configurations that are no longer needed. Note that you * can't re-enable a delivery configuration if this would violate the delivery configuration * limits described under [Create log delivery](:method:LogDelivery/Create). diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UpdateBudgetPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UpdateBudgetPolicyRequest.java index d7216e802..42ae51679 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UpdateBudgetPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UpdateBudgetPolicyRequest.java @@ -9,7 +9,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Update a budget policy */ @Generated public class UpdateBudgetPolicyRequest { /** DEPRECATED. This is redundant field as LimitConfig is part of the BudgetPolicy */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UsageDashboardsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UsageDashboardsAPI.java index 93573bbda..72dca2cf8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UsageDashboardsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UsageDashboardsAPI.java @@ -27,20 +27,12 @@ public UsageDashboardsAPI(UsageDashboardsService mock) { impl = mock; } - /** - * Create new usage dashboard. - * - *

Create a usage dashboard specified by workspaceId, accountId, and dashboard type. - */ + /** Create a usage dashboard specified by workspaceId, accountId, and dashboard type. */ public CreateBillingUsageDashboardResponse create(CreateBillingUsageDashboardRequest request) { return impl.create(request); } - /** - * Get usage dashboard. - * - *

Get a usage dashboard specified by workspaceId, accountId, and dashboard type. - */ + /** Get a usage dashboard specified by workspaceId, accountId, and dashboard type. */ public GetBillingUsageDashboardResponse get(GetBillingUsageDashboardRequest request) { return impl.get(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UsageDashboardsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UsageDashboardsService.java index 47bcb4b94..832cfbc1a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UsageDashboardsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UsageDashboardsService.java @@ -14,19 +14,11 @@ */ @Generated public interface UsageDashboardsService { - /** - * Create new usage dashboard. - * - *

Create a usage dashboard specified by workspaceId, accountId, and dashboard type. - */ + /** Create a usage dashboard specified by workspaceId, accountId, and dashboard type. */ CreateBillingUsageDashboardResponse create( CreateBillingUsageDashboardRequest createBillingUsageDashboardRequest); - /** - * Get usage dashboard. - * - *

Get a usage dashboard specified by workspaceId, accountId, and dashboard type. - */ + /** Get a usage dashboard specified by workspaceId, accountId, and dashboard type. */ GetBillingUsageDashboardResponse get( GetBillingUsageDashboardRequest getBillingUsageDashboardRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountMetastoreAssignmentsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountMetastoreAssignmentsAPI.java index 68a2c8e08..1e898aaad 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountMetastoreAssignmentsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountMetastoreAssignmentsAPI.java @@ -31,11 +31,7 @@ public void create(long workspaceId, String metastoreId) { .setMetastoreId(metastoreId)); } - /** - * Assigns a workspace to a metastore. - * - *

Creates an assignment to a metastore for a workspace - */ + /** Creates an assignment to a metastore for a workspace */ public void create(AccountsCreateMetastoreAssignment request) { impl.create(request); } @@ -47,11 +43,7 @@ public void delete(long workspaceId, String metastoreId) { .setMetastoreId(metastoreId)); } - /** - * Delete a metastore assignment. - * - *

Deletes a metastore assignment to a workspace, leaving the workspace with no metastore. - */ + /** Deletes a metastore assignment to a workspace, leaving the workspace with no metastore. */ public void delete(DeleteAccountMetastoreAssignmentRequest request) { impl.delete(request); } @@ -61,10 +53,8 @@ public AccountsMetastoreAssignment get(long workspaceId) { } /** - * Gets the metastore assignment for a workspace. - * - *

Gets the metastore assignment, if any, for the workspace specified by ID. If the workspace - * is assigned a metastore, the mappig will be returned. If no metastore is assigned to the + * Gets the metastore assignment, if any, for the workspace specified by ID. If the workspace is + * assigned a metastore, the mappig will be returned. If no metastore is assigned to the * workspace, the assignment will not be found and a 404 returned. */ public AccountsMetastoreAssignment get(GetAccountMetastoreAssignmentRequest request) { @@ -75,11 +65,7 @@ public Iterable list(String metastoreId) { return list(new ListAccountMetastoreAssignmentsRequest().setMetastoreId(metastoreId)); } - /** - * Get all workspaces assigned to a metastore. - * - *

Gets a list of all Databricks workspace IDs that have been assigned to given metastore. - */ + /** Gets a list of all Databricks workspace IDs that have been assigned to given metastore. */ public Iterable list(ListAccountMetastoreAssignmentsRequest request) { return new Paginator<>( request, @@ -96,10 +82,8 @@ public void update(long workspaceId, String metastoreId) { } /** - * Updates a metastore assignment to a workspaces. - * - *

Updates an assignment to a metastore for a workspace. Currently, only the default catalog - * may be updated. + * Updates an assignment to a metastore for a workspace. Currently, only the default catalog may + * be updated. */ public void update(AccountsUpdateMetastoreAssignment request) { impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountMetastoreAssignmentsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountMetastoreAssignmentsService.java index f2fe33478..e1b89bd09 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountMetastoreAssignmentsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountMetastoreAssignmentsService.java @@ -12,43 +12,27 @@ */ @Generated public interface AccountMetastoreAssignmentsService { - /** - * Assigns a workspace to a metastore. - * - *

Creates an assignment to a metastore for a workspace - */ + /** Creates an assignment to a metastore for a workspace */ void create(AccountsCreateMetastoreAssignment accountsCreateMetastoreAssignment); - /** - * Delete a metastore assignment. - * - *

Deletes a metastore assignment to a workspace, leaving the workspace with no metastore. - */ + /** Deletes a metastore assignment to a workspace, leaving the workspace with no metastore. */ void delete(DeleteAccountMetastoreAssignmentRequest deleteAccountMetastoreAssignmentRequest); /** - * Gets the metastore assignment for a workspace. - * - *

Gets the metastore assignment, if any, for the workspace specified by ID. If the workspace - * is assigned a metastore, the mappig will be returned. If no metastore is assigned to the + * Gets the metastore assignment, if any, for the workspace specified by ID. If the workspace is + * assigned a metastore, the mappig will be returned. If no metastore is assigned to the * workspace, the assignment will not be found and a 404 returned. */ AccountsMetastoreAssignment get( GetAccountMetastoreAssignmentRequest getAccountMetastoreAssignmentRequest); - /** - * Get all workspaces assigned to a metastore. - * - *

Gets a list of all Databricks workspace IDs that have been assigned to given metastore. - */ + /** Gets a list of all Databricks workspace IDs that have been assigned to given metastore. */ ListAccountMetastoreAssignmentsResponse list( ListAccountMetastoreAssignmentsRequest listAccountMetastoreAssignmentsRequest); /** - * Updates a metastore assignment to a workspaces. - * - *

Updates an assignment to a metastore for a workspace. Currently, only the default catalog - * may be updated. + * Updates an assignment to a metastore for a workspace. Currently, only the default catalog may + * be updated. */ void update(AccountsUpdateMetastoreAssignment accountsUpdateMetastoreAssignment); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountMetastoresAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountMetastoresAPI.java index 3ed7e76b4..0f95ce229 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountMetastoresAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountMetastoresAPI.java @@ -27,11 +27,7 @@ public AccountMetastoresAPI(AccountMetastoresService mock) { impl = mock; } - /** - * Create metastore. - * - *

Creates a Unity Catalog metastore. - */ + /** Creates a Unity Catalog metastore. */ public AccountsMetastoreInfo create(AccountsCreateMetastore request) { return impl.create(request); } @@ -40,11 +36,7 @@ public void delete(String metastoreId) { delete(new DeleteAccountMetastoreRequest().setMetastoreId(metastoreId)); } - /** - * Delete a metastore. - * - *

Deletes a Unity Catalog metastore for an account, both specified by ID. - */ + /** Deletes a Unity Catalog metastore for an account, both specified by ID. */ public void delete(DeleteAccountMetastoreRequest request) { impl.delete(request); } @@ -53,20 +45,12 @@ public AccountsMetastoreInfo get(String metastoreId) { return get(new GetAccountMetastoreRequest().setMetastoreId(metastoreId)); } - /** - * Get a metastore. - * - *

Gets a Unity Catalog metastore from an account, both specified by ID. - */ + /** Gets a Unity Catalog metastore from an account, both specified by ID. */ public AccountsMetastoreInfo get(GetAccountMetastoreRequest request) { return impl.get(request); } - /** - * Get all metastores associated with an account. - * - *

Gets all Unity Catalog metastores associated with an account specified by ID. - */ + /** Gets all Unity Catalog metastores associated with an account specified by ID. */ public Iterable list() { return new Paginator<>( null, (Void v) -> impl.list(), ListMetastoresResponse::getMetastores, response -> null); @@ -76,11 +60,7 @@ public AccountsMetastoreInfo update(String metastoreId) { return update(new AccountsUpdateMetastore().setMetastoreId(metastoreId)); } - /** - * Update a metastore. - * - *

Updates an existing Unity Catalog metastore. - */ + /** Updates an existing Unity Catalog metastore. */ public AccountsMetastoreInfo update(AccountsUpdateMetastore request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountMetastoresService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountMetastoresService.java index e1c20cb94..07e71499f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountMetastoresService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountMetastoresService.java @@ -13,38 +13,18 @@ */ @Generated public interface AccountMetastoresService { - /** - * Create metastore. - * - *

Creates a Unity Catalog metastore. - */ + /** Creates a Unity Catalog metastore. */ AccountsMetastoreInfo create(AccountsCreateMetastore accountsCreateMetastore); - /** - * Delete a metastore. - * - *

Deletes a Unity Catalog metastore for an account, both specified by ID. - */ + /** Deletes a Unity Catalog metastore for an account, both specified by ID. */ void delete(DeleteAccountMetastoreRequest deleteAccountMetastoreRequest); - /** - * Get a metastore. - * - *

Gets a Unity Catalog metastore from an account, both specified by ID. - */ + /** Gets a Unity Catalog metastore from an account, both specified by ID. */ AccountsMetastoreInfo get(GetAccountMetastoreRequest getAccountMetastoreRequest); - /** - * Get all metastores associated with an account. - * - *

Gets all Unity Catalog metastores associated with an account specified by ID. - */ + /** Gets all Unity Catalog metastores associated with an account specified by ID. */ ListMetastoresResponse list(); - /** - * Update a metastore. - * - *

Updates an existing Unity Catalog metastore. - */ + /** Updates an existing Unity Catalog metastore. */ AccountsMetastoreInfo update(AccountsUpdateMetastore accountsUpdateMetastore); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountStorageCredentialsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountStorageCredentialsAPI.java index e8b5156f6..4b03ef8e0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountStorageCredentialsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountStorageCredentialsAPI.java @@ -29,9 +29,7 @@ public AccountsStorageCredentialInfo create(String metastoreId) { } /** - * Create a storage credential. - * - *

Creates a new storage credential. The request object is specific to the cloud: + * Creates a new storage credential. The request object is specific to the cloud: * *

* **AwsIamRole** for AWS credentials * **AzureServicePrincipal** for Azure credentials * * **GcpServiceAcountKey** for GCP credentials. @@ -51,9 +49,7 @@ public void delete(String metastoreId, String storageCredentialName) { } /** - * Delete a storage credential. - * - *

Deletes a storage credential from the metastore. The caller must be an owner of the storage + * Deletes a storage credential from the metastore. The caller must be an owner of the storage * credential. */ public void delete(DeleteAccountStorageCredentialRequest request) { @@ -68,10 +64,8 @@ public AccountsStorageCredentialInfo get(String metastoreId, String storageCrede } /** - * Gets the named storage credential. - * - *

Gets a storage credential from the metastore. The caller must be a metastore admin, the - * owner of the storage credential, or have a level of privilege on the storage credential. + * Gets a storage credential from the metastore. The caller must be a metastore admin, the owner + * of the storage credential, or have a level of privilege on the storage credential. */ public AccountsStorageCredentialInfo get(GetAccountStorageCredentialRequest request) { return impl.get(request); @@ -81,11 +75,7 @@ public Iterable list(String metastoreId) { return list(new ListAccountStorageCredentialsRequest().setMetastoreId(metastoreId)); } - /** - * Get all storage credentials assigned to a metastore. - * - *

Gets a list of all storage credentials that have been assigned to given metastore. - */ + /** Gets a list of all storage credentials that have been assigned to given metastore. */ public Iterable list(ListAccountStorageCredentialsRequest request) { return new Paginator<>( request, @@ -102,9 +92,7 @@ public AccountsStorageCredentialInfo update(String metastoreId, String storageCr } /** - * Updates a storage credential. - * - *

Updates a storage credential on the metastore. The caller must be the owner of the storage + * Updates a storage credential on the metastore. The caller must be the owner of the storage * credential. If the caller is a metastore admin, only the __owner__ credential can be changed. */ public AccountsStorageCredentialInfo update(AccountsUpdateStorageCredential request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountStorageCredentialsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountStorageCredentialsService.java index 94384c354..2cceee11c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountStorageCredentialsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountStorageCredentialsService.java @@ -13,9 +13,7 @@ @Generated public interface AccountStorageCredentialsService { /** - * Create a storage credential. - * - *

Creates a new storage credential. The request object is specific to the cloud: + * Creates a new storage credential. The request object is specific to the cloud: * *

* **AwsIamRole** for AWS credentials * **AzureServicePrincipal** for Azure credentials * * **GcpServiceAcountKey** for GCP credentials. @@ -27,34 +25,24 @@ AccountsStorageCredentialInfo create( AccountsCreateStorageCredential accountsCreateStorageCredential); /** - * Delete a storage credential. - * - *

Deletes a storage credential from the metastore. The caller must be an owner of the storage + * Deletes a storage credential from the metastore. The caller must be an owner of the storage * credential. */ void delete(DeleteAccountStorageCredentialRequest deleteAccountStorageCredentialRequest); /** - * Gets the named storage credential. - * - *

Gets a storage credential from the metastore. The caller must be a metastore admin, the - * owner of the storage credential, or have a level of privilege on the storage credential. + * Gets a storage credential from the metastore. The caller must be a metastore admin, the owner + * of the storage credential, or have a level of privilege on the storage credential. */ AccountsStorageCredentialInfo get( GetAccountStorageCredentialRequest getAccountStorageCredentialRequest); - /** - * Get all storage credentials assigned to a metastore. - * - *

Gets a list of all storage credentials that have been assigned to given metastore. - */ + /** Gets a list of all storage credentials that have been assigned to given metastore. */ ListAccountStorageCredentialsResponse list( ListAccountStorageCredentialsRequest listAccountStorageCredentialsRequest); /** - * Updates a storage credential. - * - *

Updates a storage credential on the metastore. The caller must be the owner of the storage + * Updates a storage credential on the metastore. The caller must be the owner of the storage * credential. If the caller is a metastore admin, only the __owner__ credential can be changed. */ AccountsStorageCredentialInfo update( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ArtifactAllowlistsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ArtifactAllowlistsAPI.java index e26fe5946..b33143299 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ArtifactAllowlistsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ArtifactAllowlistsAPI.java @@ -32,10 +32,8 @@ public ArtifactAllowlistInfo get(ArtifactType artifactType) { } /** - * Get an artifact allowlist. - * - *

Get the artifact allowlist of a certain artifact type. The caller must be a metastore admin - * or have the **MANAGE ALLOWLIST** privilege on the metastore. + * Get the artifact allowlist of a certain artifact type. The caller must be a metastore admin or + * have the **MANAGE ALLOWLIST** privilege on the metastore. */ public ArtifactAllowlistInfo get(GetArtifactAllowlistRequest request) { return impl.get(request); @@ -50,11 +48,9 @@ public ArtifactAllowlistInfo update( } /** - * Set an artifact allowlist. - * - *

Set the artifact allowlist of a certain artifact type. The whole artifact allowlist is - * replaced with the new allowlist. The caller must be a metastore admin or have the **MANAGE - * ALLOWLIST** privilege on the metastore. + * Set the artifact allowlist of a certain artifact type. The whole artifact allowlist is replaced + * with the new allowlist. The caller must be a metastore admin or have the **MANAGE ALLOWLIST** + * privilege on the metastore. */ public ArtifactAllowlistInfo update(SetArtifactAllowlist request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ArtifactAllowlistsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ArtifactAllowlistsService.java index 2a56d3dd4..fc6d248df 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ArtifactAllowlistsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ArtifactAllowlistsService.java @@ -14,19 +14,15 @@ @Generated public interface ArtifactAllowlistsService { /** - * Get an artifact allowlist. - * - *

Get the artifact allowlist of a certain artifact type. The caller must be a metastore admin - * or have the **MANAGE ALLOWLIST** privilege on the metastore. + * Get the artifact allowlist of a certain artifact type. The caller must be a metastore admin or + * have the **MANAGE ALLOWLIST** privilege on the metastore. */ ArtifactAllowlistInfo get(GetArtifactAllowlistRequest getArtifactAllowlistRequest); /** - * Set an artifact allowlist. - * - *

Set the artifact allowlist of a certain artifact type. The whole artifact allowlist is - * replaced with the new allowlist. The caller must be a metastore admin or have the **MANAGE - * ALLOWLIST** privilege on the metastore. + * Set the artifact allowlist of a certain artifact type. The whole artifact allowlist is replaced + * with the new allowlist. The caller must be a metastore admin or have the **MANAGE ALLOWLIST** + * privilege on the metastore. */ ArtifactAllowlistInfo update(SetArtifactAllowlist setArtifactAllowlist); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AwsIamRoleRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AwsIamRoleRequest.java index 2eac19555..89e8914cf 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AwsIamRoleRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AwsIamRoleRequest.java @@ -7,9 +7,10 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; +/** The AWS IAM role configuration */ @Generated public class AwsIamRoleRequest { - /** The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access. */ + /** The Amazon Resource Name (ARN) of the AWS IAM role used to vend temporary credentials. */ @JsonProperty("role_arn") private String roleArn; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AwsIamRoleResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AwsIamRoleResponse.java index 50420d04a..1d7118f96 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AwsIamRoleResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AwsIamRoleResponse.java @@ -7,13 +7,14 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; +/** The AWS IAM role configuration */ @Generated public class AwsIamRoleResponse { - /** The external ID used in role assumption to prevent confused deputy problem.. */ + /** The external ID used in role assumption to prevent the confused deputy problem. */ @JsonProperty("external_id") private String externalId; - /** The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access. */ + /** The Amazon Resource Name (ARN) of the AWS IAM role used to vend temporary credentials. */ @JsonProperty("role_arn") private String roleArn; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentity.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentity.java index be3997823..4cfcd3853 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentity.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentity.java @@ -17,11 +17,7 @@ public class AzureManagedIdentity { @JsonProperty("access_connector_id") private String accessConnectorId; - /** - * The Databricks internal ID that represents this managed identity. This field is only used to - * persist the credential_id once it is fetched from the credentials manager - as we only use the - * protobuf serializer to store credentials, this ID gets persisted to the database. . - */ + /** The Databricks internal ID that represents this managed identity. */ @JsonProperty("credential_id") private String credentialId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentityRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentityRequest.java index 36122a638..ea5519ae0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentityRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentityRequest.java @@ -7,21 +7,22 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; +/** The Azure managed identity configuration. */ @Generated public class AzureManagedIdentityRequest { /** * The Azure resource ID of the Azure Databricks Access Connector. Use the format - * /subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.Databricks/accessConnectors/{connector-name}. + * `/subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.Databricks/accessConnectors/{connector-name}`. */ @JsonProperty("access_connector_id") private String accessConnectorId; /** - * The Azure resource ID of the managed identity. Use the format - * /subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identity-name}. + * 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 for a system-assigned identity. + * assume the AzureManagedIdentity is using the system-assigned identity. */ @JsonProperty("managed_identity_id") private String managedIdentityId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentityResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentityResponse.java index 91fbf7d9c..21a8c5c51 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentityResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentityResponse.java @@ -7,11 +7,12 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; +/** The Azure managed identity configuration. */ @Generated public class AzureManagedIdentityResponse { /** * The Azure resource ID of the Azure Databricks Access Connector. Use the format - * /subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.Databricks/accessConnectors/{connector-name}. + * `/subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.Databricks/accessConnectors/{connector-name}`. */ @JsonProperty("access_connector_id") private String accessConnectorId; @@ -21,11 +22,11 @@ public class AzureManagedIdentityResponse { private String credentialId; /** - * The Azure resource ID of the managed identity. Use the format - * /subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identity-name}. + * 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 for a system-assigned identity. + * assume the AzureManagedIdentity is using the system-assigned identity. */ @JsonProperty("managed_identity_id") private String managedIdentityId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CancelRefreshRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CancelRefreshRequest.java index 5f2408e0c..3d814c795 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CancelRefreshRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CancelRefreshRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Cancel refresh */ @Generated public class CancelRefreshRequest { /** ID of the refresh. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogType.java index 992b920ab..90db84a7f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogType.java @@ -13,5 +13,4 @@ public enum CatalogType { MANAGED_CATALOG, MANAGED_ONLINE_CATALOG, SYSTEM_CATALOG, - UNKNOWN_CATALOG_TYPE, } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogsAPI.java index 744c57db6..770f4fdfb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogsAPI.java @@ -37,9 +37,7 @@ public CatalogInfo create(String name) { } /** - * Create a catalog. - * - *

Creates a new catalog instance in the parent metastore if the caller is a metastore admin or + * Creates a new catalog instance in the parent metastore if the caller is a metastore admin or * has the **CREATE_CATALOG** privilege. */ public CatalogInfo create(CreateCatalog request) { @@ -51,10 +49,8 @@ public void delete(String name) { } /** - * Delete a catalog. - * - *

Deletes the catalog that matches the supplied name. The caller must be a metastore admin or - * the owner of the catalog. + * Deletes the catalog that matches the supplied name. The caller must be a metastore admin or the + * owner of the catalog. */ public void delete(DeleteCatalogRequest request) { impl.delete(request); @@ -65,22 +61,18 @@ public CatalogInfo get(String name) { } /** - * Get a catalog. - * - *

Gets the specified catalog in a metastore. The caller must be a metastore admin, the owner - * of the catalog, or a user that has the **USE_CATALOG** privilege set for their account. + * Gets the specified catalog in a metastore. The caller must be a metastore admin, the owner of + * the catalog, or a user that has the **USE_CATALOG** privilege set for their account. */ public CatalogInfo get(GetCatalogRequest request) { return impl.get(request); } /** - * List catalogs. - * - *

Gets an array of catalogs in the metastore. If the caller is the metastore admin, all - * catalogs will be retrieved. Otherwise, only catalogs owned by the caller (or for which the - * caller has the **USE_CATALOG** privilege) will be retrieved. There is no guarantee of a - * specific ordering of the elements in the array. + * Gets an array of catalogs in the metastore. If the caller is the metastore admin, all catalogs + * will be retrieved. Otherwise, only catalogs owned by the caller (or for which the caller has + * the **USE_CATALOG** privilege) will be retrieved. There is no guarantee of a specific ordering + * of the elements in the array. */ public Iterable list(ListCatalogsRequest request) { return new Paginator<>( @@ -101,10 +93,8 @@ public CatalogInfo update(String name) { } /** - * Update a catalog. - * - *

Updates the catalog that matches the supplied name. The caller must be either the owner of - * the catalog, or a metastore admin (when changing the owner field of the catalog). + * Updates the catalog that matches the supplied name. The caller must be either the owner of the + * catalog, or a metastore admin (when changing the owner field of the catalog). */ public CatalogInfo update(UpdateCatalog request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogsService.java index 86f3a6b7d..870e321f2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogsService.java @@ -19,44 +19,34 @@ @Generated public interface CatalogsService { /** - * Create a catalog. - * - *

Creates a new catalog instance in the parent metastore if the caller is a metastore admin or + * Creates a new catalog instance in the parent metastore if the caller is a metastore admin or * has the **CREATE_CATALOG** privilege. */ CatalogInfo create(CreateCatalog createCatalog); /** - * Delete a catalog. - * - *

Deletes the catalog that matches the supplied name. The caller must be a metastore admin or - * the owner of the catalog. + * Deletes the catalog that matches the supplied name. The caller must be a metastore admin or the + * owner of the catalog. */ void delete(DeleteCatalogRequest deleteCatalogRequest); /** - * Get a catalog. - * - *

Gets the specified catalog in a metastore. The caller must be a metastore admin, the owner - * of the catalog, or a user that has the **USE_CATALOG** privilege set for their account. + * Gets the specified catalog in a metastore. The caller must be a metastore admin, the owner of + * the catalog, or a user that has the **USE_CATALOG** privilege set for their account. */ CatalogInfo get(GetCatalogRequest getCatalogRequest); /** - * List catalogs. - * - *

Gets an array of catalogs in the metastore. If the caller is the metastore admin, all - * catalogs will be retrieved. Otherwise, only catalogs owned by the caller (or for which the - * caller has the **USE_CATALOG** privilege) will be retrieved. There is no guarantee of a - * specific ordering of the elements in the array. + * Gets an array of catalogs in the metastore. If the caller is the metastore admin, all catalogs + * will be retrieved. Otherwise, only catalogs owned by the caller (or for which the caller has + * the **USE_CATALOG** privilege) will be retrieved. There is no guarantee of a specific ordering + * of the elements in the array. */ ListCatalogsResponse list(ListCatalogsRequest listCatalogsRequest); /** - * Update a catalog. - * - *

Updates the catalog that matches the supplied name. The caller must be either the owner of - * the catalog, or a metastore admin (when changing the owner field of the catalog). + * Updates the catalog that matches the supplied name. The caller must be either the owner of the + * catalog, or a metastore admin (when changing the owner field of the catalog). */ CatalogInfo update(UpdateCatalog updateCatalog); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CloudflareApiToken.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CloudflareApiToken.java index bcf1fe2c8..5be89d7ad 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CloudflareApiToken.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CloudflareApiToken.java @@ -7,17 +7,21 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; +/** + * The Cloudflare API token configuration. Read more at + * https://developers.cloudflare.com/r2/api/s3/tokens/ + */ @Generated public class CloudflareApiToken { - /** The Cloudflare access key id of the token. */ + /** The access key ID associated with the API token. */ @JsonProperty("access_key_id") private String accessKeyId; - /** The account id associated with the API token. */ + /** The ID of the account associated with the API token. */ @JsonProperty("account_id") private String accountId; - /** The secret access token generated for the access key id */ + /** The secret access token generated for the above access key ID. */ @JsonProperty("secret_access_key") private String secretAccessKey; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionDependency.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionDependency.java new file mode 100755 index 000000000..39a045978 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionDependency.java @@ -0,0 +1,45 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.catalog; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +/** A connection that is dependent on a SQL object. */ +@Generated +public class ConnectionDependency { + /** Full name of the dependent connection, in the form of __connection_name__. */ + @JsonProperty("connection_name") + private String connectionName; + + public ConnectionDependency setConnectionName(String connectionName) { + this.connectionName = connectionName; + return this; + } + + public String getConnectionName() { + return connectionName; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + ConnectionDependency that = (ConnectionDependency) o; + return Objects.equals(connectionName, that.connectionName); + } + + @Override + public int hashCode() { + return Objects.hash(connectionName); + } + + @Override + public String toString() { + return new ToStringer(ConnectionDependency.class) + .add("connectionName", connectionName) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionType.java index b076b2ff4..0c5d5437b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionType.java @@ -4,7 +4,7 @@ import com.databricks.sdk.support.Generated; -/** Next Id: 31 */ +/** Next Id: 35 */ @Generated public enum ConnectionType { BIGQUERY, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionsAPI.java index ff8b2cda9..a3cc56631 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionsAPI.java @@ -42,9 +42,7 @@ public ConnectionInfo create( } /** - * Create a connection. - * - *

Creates a new connection + * Creates a new connection * *

Creates a new connection to an external data source. It allows users to specify connection * details and configurations for interaction with the external server. @@ -57,11 +55,7 @@ public void delete(String name) { delete(new DeleteConnectionRequest().setName(name)); } - /** - * Delete a connection. - * - *

Deletes the connection that matches the supplied name. - */ + /** Deletes the connection that matches the supplied name. */ public void delete(DeleteConnectionRequest request) { impl.delete(request); } @@ -70,20 +64,12 @@ public ConnectionInfo get(String name) { return get(new GetConnectionRequest().setName(name)); } - /** - * Get a connection. - * - *

Gets a connection from it's name. - */ + /** Gets a connection from it's name. */ public ConnectionInfo get(GetConnectionRequest request) { return impl.get(request); } - /** - * List connections. - * - *

List all connections. - */ + /** List all connections. */ public Iterable list(ListConnectionsRequest request) { return new Paginator<>( request, @@ -102,11 +88,7 @@ public ConnectionInfo update(String name, Map options) { return update(new UpdateConnection().setName(name).setOptions(options)); } - /** - * Update a connection. - * - *

Updates the connection that matches the supplied name. - */ + /** Updates the connection that matches the supplied name. */ public ConnectionInfo update(UpdateConnection request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionsService.java index a1e882c38..45bea7e36 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionsService.java @@ -21,40 +21,22 @@ @Generated public interface ConnectionsService { /** - * Create a connection. - * - *

Creates a new connection + * Creates a new connection * *

Creates a new connection to an external data source. It allows users to specify connection * details and configurations for interaction with the external server. */ ConnectionInfo create(CreateConnection createConnection); - /** - * Delete a connection. - * - *

Deletes the connection that matches the supplied name. - */ + /** Deletes the connection that matches the supplied name. */ void delete(DeleteConnectionRequest deleteConnectionRequest); - /** - * Get a connection. - * - *

Gets a connection from it's name. - */ + /** Gets a connection from it's name. */ ConnectionInfo get(GetConnectionRequest getConnectionRequest); - /** - * List connections. - * - *

List all connections. - */ + /** List all connections. */ ListConnectionsResponse list(ListConnectionsRequest listConnectionsRequest); - /** - * Update a connection. - * - *

Updates the connection that matches the supplied name. - */ + /** Updates the connection that matches the supplied name. */ ConnectionInfo update(UpdateConnection updateConnection); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateCredentialRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateCredentialRequest.java index 023a3e68e..10ea0adeb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateCredentialRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateCredentialRequest.java @@ -9,7 +9,7 @@ @Generated public class CreateCredentialRequest { - /** The AWS IAM role configuration */ + /** The AWS IAM role configuration. */ @JsonProperty("aws_iam_role") private AwsIamRole awsIamRole; @@ -17,7 +17,7 @@ public class CreateCredentialRequest { @JsonProperty("azure_managed_identity") private AzureManagedIdentity azureManagedIdentity; - /** The Azure service principal configuration. Only applicable when purpose is **STORAGE**. */ + /** The Azure service principal configuration. */ @JsonProperty("azure_service_principal") private AzureServicePrincipal azureServicePrincipal; @@ -25,7 +25,7 @@ public class CreateCredentialRequest { @JsonProperty("comment") private String comment; - /** GCP long-lived credential. Databricks-created Google Cloud Storage service account. */ + /** The Databricks managed GCP service account configuration. */ @JsonProperty("databricks_gcp_service_account") private DatabricksGcpServiceAccount databricksGcpServiceAccount; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateOnlineTableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateOnlineTableRequest.java index 7f3a0730c..c58e4bd9e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateOnlineTableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateOnlineTableRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create an Online Table */ @Generated public class CreateOnlineTableRequest { /** Online Table information. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateStorageCredential.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateStorageCredential.java index b462a9075..ffadcbe11 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateStorageCredential.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateStorageCredential.java @@ -33,11 +33,17 @@ public class CreateStorageCredential { @JsonProperty("databricks_gcp_service_account") private DatabricksGcpServiceAccountRequest databricksGcpServiceAccount; - /** The credential name. The name must be unique within the metastore. */ + /** + * The credential name. The name must be unique among storage and service credentials within the + * metastore. + */ @JsonProperty("name") private String name; - /** Whether the storage credential is only usable for read operations. */ + /** + * Whether the credential is usable only for read operations. Only applicable when purpose is + * **STORAGE**. + */ @JsonProperty("read_only") private Boolean readOnly; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialDependency.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialDependency.java new file mode 100755 index 000000000..dffd56f22 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialDependency.java @@ -0,0 +1,45 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.catalog; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +/** A credential that is dependent on a SQL object. */ +@Generated +public class CredentialDependency { + /** Full name of the dependent credential, in the form of __credential_name__. */ + @JsonProperty("credential_name") + private String credentialName; + + public CredentialDependency setCredentialName(String credentialName) { + this.credentialName = credentialName; + return this; + } + + public String getCredentialName() { + return credentialName; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + CredentialDependency that = (CredentialDependency) o; + return Objects.equals(credentialName, that.credentialName); + } + + @Override + public int hashCode() { + return Objects.hash(credentialName); + } + + @Override + public String toString() { + return new ToStringer(CredentialDependency.class) + .add("credentialName", credentialName) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialInfo.java index 629f271e9..002c7de8e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialInfo.java @@ -9,7 +9,7 @@ @Generated public class CredentialInfo { - /** The AWS IAM role configuration */ + /** The AWS IAM role configuration. */ @JsonProperty("aws_iam_role") private AwsIamRole awsIamRole; @@ -17,7 +17,7 @@ public class CredentialInfo { @JsonProperty("azure_managed_identity") private AzureManagedIdentity azureManagedIdentity; - /** The Azure service principal configuration. Only applicable when purpose is **STORAGE**. */ + /** The Azure service principal configuration. */ @JsonProperty("azure_service_principal") private AzureServicePrincipal azureServicePrincipal; @@ -33,7 +33,7 @@ public class CredentialInfo { @JsonProperty("created_by") private String createdBy; - /** GCP long-lived credential. Databricks-created Google Cloud Storage service account. */ + /** The Databricks managed GCP service account configuration. */ @JsonProperty("databricks_gcp_service_account") private DatabricksGcpServiceAccount databricksGcpServiceAccount; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialsAPI.java index 0cfc214ba..499b626af 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialsAPI.java @@ -37,10 +37,8 @@ public CredentialInfo createCredential(String name) { } /** - * Create a credential. - * - *

Creates a new credential. The type of credential to be created is determined by the - * **purpose** field, which should be either **SERVICE** or **STORAGE**. + * Creates a new credential. The type of credential to be created is determined by the **purpose** + * field, which should be either **SERVICE** or **STORAGE**. * *

The caller must be a metastore admin or have the metastore privilege * **CREATE_STORAGE_CREDENTIAL** for storage credentials, or **CREATE_SERVICE_CREDENTIAL** for @@ -55,10 +53,8 @@ public void deleteCredential(String nameArg) { } /** - * Delete a credential. - * - *

Deletes a service or storage credential from the metastore. The caller must be an owner of - * the credential. + * Deletes a service or storage credential from the metastore. The caller must be an owner of the + * credential. */ public void deleteCredential(DeleteCredentialRequest request) { impl.deleteCredential(request); @@ -70,9 +66,7 @@ public TemporaryCredentials generateTemporaryServiceCredential(String credential } /** - * Generate a temporary service credential. - * - *

Returns a set of temporary credentials generated using the specified service credential. The + * Returns a set of temporary credentials generated using the specified service credential. The * caller must be a metastore admin or have the metastore privilege **ACCESS** on the service * credential. */ @@ -86,19 +80,15 @@ public CredentialInfo getCredential(String nameArg) { } /** - * Get a credential. - * - *

Gets a service or storage credential from the metastore. The caller must be a metastore - * admin, the owner of the credential, or have any permission on the credential. + * Gets a service or storage credential from the metastore. The caller must be a metastore admin, + * the owner of the credential, or have any permission on the credential. */ public CredentialInfo getCredential(GetCredentialRequest request) { return impl.getCredential(request); } /** - * List credentials. - * - *

Gets an array of credentials (as __CredentialInfo__ objects). + * Gets an array of credentials (as __CredentialInfo__ objects). * *

The array is limited to only the credentials that the caller has permission to access. If * the caller is a metastore admin, retrieval of credentials is unrestricted. There is no @@ -123,9 +113,7 @@ public CredentialInfo updateCredential(String nameArg) { } /** - * Update a credential. - * - *

Updates a service or storage credential on the metastore. + * Updates a service or storage credential on the metastore. * *

The caller must be the owner of the credential or a metastore admin or have the `MANAGE` * permission. If the caller is a metastore admin, only the __owner__ field can be changed. @@ -135,9 +123,7 @@ public CredentialInfo updateCredential(UpdateCredentialRequest request) { } /** - * Validate a credential. - * - *

Validates a credential. + * Validates a credential. * *

For service credentials (purpose is **SERVICE**), either the __credential_name__ or the * cloud-specific credential must be provided. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialsService.java index 906445cf1..cbde97484 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialsService.java @@ -19,10 +19,8 @@ @Generated public interface CredentialsService { /** - * Create a credential. - * - *

Creates a new credential. The type of credential to be created is determined by the - * **purpose** field, which should be either **SERVICE** or **STORAGE**. + * Creates a new credential. The type of credential to be created is determined by the **purpose** + * field, which should be either **SERVICE** or **STORAGE**. * *

The caller must be a metastore admin or have the metastore privilege * **CREATE_STORAGE_CREDENTIAL** for storage credentials, or **CREATE_SERVICE_CREDENTIAL** for @@ -31,17 +29,13 @@ public interface CredentialsService { CredentialInfo createCredential(CreateCredentialRequest createCredentialRequest); /** - * Delete a credential. - * - *

Deletes a service or storage credential from the metastore. The caller must be an owner of - * the credential. + * Deletes a service or storage credential from the metastore. The caller must be an owner of the + * credential. */ void deleteCredential(DeleteCredentialRequest deleteCredentialRequest); /** - * Generate a temporary service credential. - * - *

Returns a set of temporary credentials generated using the specified service credential. The + * Returns a set of temporary credentials generated using the specified service credential. The * caller must be a metastore admin or have the metastore privilege **ACCESS** on the service * credential. */ @@ -49,17 +43,13 @@ TemporaryCredentials generateTemporaryServiceCredential( GenerateTemporaryServiceCredentialRequest generateTemporaryServiceCredentialRequest); /** - * Get a credential. - * - *

Gets a service or storage credential from the metastore. The caller must be a metastore - * admin, the owner of the credential, or have any permission on the credential. + * Gets a service or storage credential from the metastore. The caller must be a metastore admin, + * the owner of the credential, or have any permission on the credential. */ CredentialInfo getCredential(GetCredentialRequest getCredentialRequest); /** - * List credentials. - * - *

Gets an array of credentials (as __CredentialInfo__ objects). + * Gets an array of credentials (as __CredentialInfo__ objects). * *

The array is limited to only the credentials that the caller has permission to access. If * the caller is a metastore admin, retrieval of credentials is unrestricted. There is no @@ -68,9 +58,7 @@ TemporaryCredentials generateTemporaryServiceCredential( ListCredentialsResponse listCredentials(ListCredentialsRequest listCredentialsRequest); /** - * Update a credential. - * - *

Updates a service or storage credential on the metastore. + * Updates a service or storage credential on the metastore. * *

The caller must be the owner of the credential or a metastore admin or have the `MANAGE` * permission. If the caller is a metastore admin, only the __owner__ field can be changed. @@ -78,9 +66,7 @@ TemporaryCredentials generateTemporaryServiceCredential( CredentialInfo updateCredential(UpdateCredentialRequest updateCredentialRequest); /** - * Validate a credential. - * - *

Validates a credential. + * Validates a credential. * *

For service credentials (purpose is **SERVICE**), either the __credential_name__ or the * cloud-specific credential must be provided. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DataSourceFormat.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DataSourceFormat.java index 1bafcc2c9..12e180f73 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DataSourceFormat.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DataSourceFormat.java @@ -11,21 +11,28 @@ public enum DataSourceFormat { BIGQUERY_FORMAT, CSV, DATABRICKS_FORMAT, + DATABRICKS_ROW_STORE_FORMAT, DELTA, DELTASHARING, - HIVE_CUSTOM, - HIVE_SERDE, + DELTA_UNIFORM_HUDI, + DELTA_UNIFORM_ICEBERG, + HIVE, + ICEBERG, JSON, + MONGODB_FORMAT, MYSQL_FORMAT, NETSUITE_FORMAT, + ORACLE_FORMAT, ORC, PARQUET, POSTGRESQL_FORMAT, REDSHIFT_FORMAT, + SALESFORCE_DATA_CLOUD_FORMAT, SALESFORCE_FORMAT, SNOWFLAKE_FORMAT, SQLDW_FORMAT, SQLSERVER_FORMAT, + TERADATA_FORMAT, TEXT, UNITY_CATALOG, VECTOR_INDEX_FORMAT, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DatabricksGcpServiceAccount.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DatabricksGcpServiceAccount.java index 390833376..d80d50329 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DatabricksGcpServiceAccount.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DatabricksGcpServiceAccount.java @@ -10,11 +10,7 @@ /** GCP long-lived credential. Databricks-created Google Cloud Storage service account. */ @Generated public class DatabricksGcpServiceAccount { - /** - * The Databricks internal ID that represents this managed identity. This field is only used to - * persist the credential_id once it is fetched from the credentials manager - as we only use the - * protobuf serializer to store credentials, this ID gets persisted to the database - */ + /** The Databricks internal ID that represents this managed identity. */ @JsonProperty("credential_id") private String credentialId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DatabricksGcpServiceAccountRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DatabricksGcpServiceAccountRequest.java index 82c772aaf..89a55e796 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DatabricksGcpServiceAccountRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DatabricksGcpServiceAccountRequest.java @@ -6,6 +6,7 @@ import com.databricks.sdk.support.ToStringer; import java.util.Objects; +/** GCP long-lived credential. Databricks-created Google Cloud Storage service account. */ @Generated public class DatabricksGcpServiceAccountRequest { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DatabricksGcpServiceAccountResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DatabricksGcpServiceAccountResponse.java index 5ebfeb231..b9ab4ce59 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DatabricksGcpServiceAccountResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DatabricksGcpServiceAccountResponse.java @@ -7,15 +7,14 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; +/** GCP long-lived credential. Databricks-created Google Cloud Storage service account. */ @Generated public class DatabricksGcpServiceAccountResponse { - /** - * The Databricks internal ID that represents this service account. This is an output-only field. - */ + /** The Databricks internal ID that represents this managed identity. */ @JsonProperty("credential_id") private String credentialId; - /** The email of the service account. This is an output-only field. */ + /** The email of the service account. */ @JsonProperty("email") private String email; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteAccountMetastoreAssignmentRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteAccountMetastoreAssignmentRequest.java index d0acb5c9c..cbe978421 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteAccountMetastoreAssignmentRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteAccountMetastoreAssignmentRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a metastore assignment */ @Generated public class DeleteAccountMetastoreAssignmentRequest { /** Unity Catalog metastore ID */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteAccountMetastoreRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteAccountMetastoreRequest.java index 92f93166c..77de1e923 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteAccountMetastoreRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteAccountMetastoreRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a metastore */ @Generated public class DeleteAccountMetastoreRequest { /** Force deletion even if the metastore is not empty. Default is false. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteAccountStorageCredentialRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteAccountStorageCredentialRequest.java index d0280e9fd..cbb248929 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteAccountStorageCredentialRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteAccountStorageCredentialRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a storage credential */ @Generated public class DeleteAccountStorageCredentialRequest { /** Force deletion even if the Storage Credential is not empty. Default is false. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteAliasRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteAliasRequest.java index 393e8801f..18198fde3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteAliasRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteAliasRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a Registered Model Alias */ @Generated public class DeleteAliasRequest { /** The name of the alias */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteCatalogRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteCatalogRequest.java index 160821d70..1179c057c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteCatalogRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteCatalogRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a catalog */ @Generated public class DeleteCatalogRequest { /** Force deletion even if the catalog is not empty. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteConnectionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteConnectionRequest.java index b294cd3a3..785695780 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteConnectionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteConnectionRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a connection */ @Generated public class DeleteConnectionRequest { /** The name of the connection to be deleted. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteCredentialRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteCredentialRequest.java index 2a771f6bb..67d0cc835 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteCredentialRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteCredentialRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a credential */ @Generated public class DeleteCredentialRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteExternalLocationRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteExternalLocationRequest.java index ffdf3ba52..7ac754ac2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteExternalLocationRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteExternalLocationRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete an external location */ @Generated public class DeleteExternalLocationRequest { /** Force deletion even if there are dependent external tables or mounts. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteFunctionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteFunctionRequest.java index 1818ede51..3609ad11f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteFunctionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteFunctionRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a function */ @Generated public class DeleteFunctionRequest { /** Force deletion even if the function is notempty. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteMetastoreRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteMetastoreRequest.java index 3bc2a7251..53c204535 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteMetastoreRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteMetastoreRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a metastore */ @Generated public class DeleteMetastoreRequest { /** Force deletion even if the metastore is not empty. Default is false. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteModelVersionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteModelVersionRequest.java index 45da03a28..4ac19d9d1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteModelVersionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteModelVersionRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a Model Version */ @Generated public class DeleteModelVersionRequest { /** The three-level (fully qualified) name of the model version */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteOnlineTableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteOnlineTableRequest.java index 004f187b0..fedc583be 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteOnlineTableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteOnlineTableRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete an Online Table */ @Generated public class DeleteOnlineTableRequest { /** Full three-part (catalog, schema, table) name of the table. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteQualityMonitorRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteQualityMonitorRequest.java index 015df9599..04efaef61 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteQualityMonitorRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteQualityMonitorRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a table monitor */ @Generated public class DeleteQualityMonitorRequest { /** Full name of the table. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteRegisteredModelRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteRegisteredModelRequest.java index b8117cce2..b85bd7c04 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteRegisteredModelRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteRegisteredModelRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a Registered Model */ @Generated public class DeleteRegisteredModelRequest { /** The three-level (fully qualified) name of the registered model */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteSchemaRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteSchemaRequest.java index c774720e9..067b55898 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteSchemaRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteSchemaRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a schema */ @Generated public class DeleteSchemaRequest { /** Force deletion even if the schema is not empty. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteStorageCredentialRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteStorageCredentialRequest.java index c9837e254..8c23769e9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteStorageCredentialRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteStorageCredentialRequest.java @@ -8,10 +8,12 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a credential */ @Generated public class DeleteStorageCredentialRequest { - /** Force deletion even if there are dependent external locations or external tables. */ + /** + * Force an update even if there are dependent external locations or external tables (when purpose + * is **STORAGE**) or dependent services (when purpose is **SERVICE**). + */ @JsonIgnore @QueryParam("force") private Boolean force; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteTableConstraintRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteTableConstraintRequest.java index db8a2c601..ee695f770 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteTableConstraintRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteTableConstraintRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a table constraint */ @Generated public class DeleteTableConstraintRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteTableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteTableRequest.java index b4d371447..c9df2f67f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteTableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteTableRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a table */ @Generated public class DeleteTableRequest { /** Full name of the table. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteVolumeRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteVolumeRequest.java index 2fd732e7a..a9a63cab8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteVolumeRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteVolumeRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a Volume */ @Generated public class DeleteVolumeRequest { /** The three-level (fully qualified) name of the volume */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/Dependency.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/Dependency.java index 71d02c997..5ace4876d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/Dependency.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/Dependency.java @@ -8,11 +8,19 @@ import java.util.Objects; /** - * A dependency of a SQL object. Either the __table__ field or the __function__ field must be - * defined. + * A dependency of a SQL object. One of the following fields must be defined: __table__, + * __function__, __connection__, or __credential__. */ @Generated public class Dependency { + /** A connection that is dependent on a SQL object. */ + @JsonProperty("connection") + private ConnectionDependency connection; + + /** A credential that is dependent on a SQL object. */ + @JsonProperty("credential") + private CredentialDependency credential; + /** A function that is dependent on a SQL object. */ @JsonProperty("function") private FunctionDependency function; @@ -21,6 +29,24 @@ public class Dependency { @JsonProperty("table") private TableDependency table; + public Dependency setConnection(ConnectionDependency connection) { + this.connection = connection; + return this; + } + + public ConnectionDependency getConnection() { + return connection; + } + + public Dependency setCredential(CredentialDependency credential) { + this.credential = credential; + return this; + } + + public CredentialDependency getCredential() { + return credential; + } + public Dependency setFunction(FunctionDependency function) { this.function = function; return this; @@ -44,17 +70,22 @@ public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Dependency that = (Dependency) o; - return Objects.equals(function, that.function) && Objects.equals(table, that.table); + return Objects.equals(connection, that.connection) + && Objects.equals(credential, that.credential) + && Objects.equals(function, that.function) + && Objects.equals(table, that.table); } @Override public int hashCode() { - return Objects.hash(function, table); + return Objects.hash(connection, credential, function, table); } @Override public String toString() { return new ToStringer(Dependency.class) + .add("connection", connection) + .add("credential", credential) .add("function", function) .add("table", table) .toString(); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DisableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DisableRequest.java index 1e78370ba..5ff7d0818 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DisableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DisableRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Disable a system schema */ @Generated public class DisableRequest { /** The metastore ID under which the system schema lives. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExistsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExistsRequest.java index 13b2d0b9f..8b5c60f03 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExistsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExistsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get boolean reflecting if table exists */ @Generated public class ExistsRequest { /** Full name of the table. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsAPI.java index a5c5d698e..76a6f4582 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsAPI.java @@ -41,10 +41,8 @@ public ExternalLocationInfo create(String name, String url, String credentialNam } /** - * Create an external location. - * - *

Creates a new external location entry in the metastore. The caller must be a metastore admin - * or have the **CREATE_EXTERNAL_LOCATION** privilege on both the metastore and the associated + * Creates a new external location entry in the metastore. The caller must be a metastore admin or + * have the **CREATE_EXTERNAL_LOCATION** privilege on both the metastore and the associated * storage credential. */ public ExternalLocationInfo create(CreateExternalLocation request) { @@ -56,10 +54,8 @@ public void delete(String name) { } /** - * Delete an external location. - * - *

Deletes the specified external location from the metastore. The caller must be the owner of - * the external location. + * Deletes the specified external location from the metastore. The caller must be the owner of the + * external location. */ public void delete(DeleteExternalLocationRequest request) { impl.delete(request); @@ -70,21 +66,17 @@ public ExternalLocationInfo get(String name) { } /** - * Get an external location. - * - *

Gets an external location from the metastore. The caller must be either a metastore admin, - * the owner of the external location, or a user that has some privilege on the external location. + * Gets an external location from the metastore. The caller must be either a metastore admin, the + * owner of the external location, or a user that has some privilege on the external location. */ public ExternalLocationInfo get(GetExternalLocationRequest request) { return impl.get(request); } /** - * List external locations. - * - *

Gets an array of external locations (__ExternalLocationInfo__ objects) from the metastore. - * The caller must be a metastore admin, the owner of the external location, or a user that has - * some privilege on the external location. There is no guarantee of a specific ordering of the + * Gets an array of external locations (__ExternalLocationInfo__ objects) from the metastore. The + * caller must be a metastore admin, the owner of the external location, or a user that has some + * privilege on the external location. There is no guarantee of a specific ordering of the * elements in the array. */ public Iterable list(ListExternalLocationsRequest request) { @@ -106,9 +98,7 @@ public ExternalLocationInfo update(String name) { } /** - * Update an external location. - * - *

Updates an external location in the metastore. The caller must be the owner of the external + * Updates an external location in the metastore. The caller must be the owner of the external * location, or be a metastore admin. In the second case, the admin can only update the name of * the external location. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsService.java index ec6a4d48d..f42879409 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsService.java @@ -22,44 +22,34 @@ @Generated public interface ExternalLocationsService { /** - * Create an external location. - * - *

Creates a new external location entry in the metastore. The caller must be a metastore admin - * or have the **CREATE_EXTERNAL_LOCATION** privilege on both the metastore and the associated + * Creates a new external location entry in the metastore. The caller must be a metastore admin or + * have the **CREATE_EXTERNAL_LOCATION** privilege on both the metastore and the associated * storage credential. */ ExternalLocationInfo create(CreateExternalLocation createExternalLocation); /** - * Delete an external location. - * - *

Deletes the specified external location from the metastore. The caller must be the owner of - * the external location. + * Deletes the specified external location from the metastore. The caller must be the owner of the + * external location. */ void delete(DeleteExternalLocationRequest deleteExternalLocationRequest); /** - * Get an external location. - * - *

Gets an external location from the metastore. The caller must be either a metastore admin, - * the owner of the external location, or a user that has some privilege on the external location. + * Gets an external location from the metastore. The caller must be either a metastore admin, the + * owner of the external location, or a user that has some privilege on the external location. */ ExternalLocationInfo get(GetExternalLocationRequest getExternalLocationRequest); /** - * List external locations. - * - *

Gets an array of external locations (__ExternalLocationInfo__ objects) from the metastore. - * The caller must be a metastore admin, the owner of the external location, or a user that has - * some privilege on the external location. There is no guarantee of a specific ordering of the + * Gets an array of external locations (__ExternalLocationInfo__ objects) from the metastore. The + * caller must be a metastore admin, the owner of the external location, or a user that has some + * privilege on the external location. There is no guarantee of a specific ordering of the * elements in the array. */ ListExternalLocationsResponse list(ListExternalLocationsRequest listExternalLocationsRequest); /** - * Update an external location. - * - *

Updates an external location in the metastore. The caller must be the owner of the external + * Updates an external location in the metastore. The caller must be the owner of the external * location, or be a metastore admin. In the second case, the admin can only update the name of * the external location. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ForeignKeyConstraint.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ForeignKeyConstraint.java index cfccffb7d..e17a54629 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ForeignKeyConstraint.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ForeignKeyConstraint.java @@ -26,6 +26,10 @@ public class ForeignKeyConstraint { @JsonProperty("parent_table") private String parentTable; + /** True if the constraint is RELY, false or unset if NORELY. */ + @JsonProperty("rely") + private Boolean rely; + public ForeignKeyConstraint setChildColumns(Collection childColumns) { this.childColumns = childColumns; return this; @@ -62,6 +66,15 @@ public String getParentTable() { return parentTable; } + public ForeignKeyConstraint setRely(Boolean rely) { + this.rely = rely; + return this; + } + + public Boolean getRely() { + return rely; + } + @Override public boolean equals(Object o) { if (this == o) return true; @@ -70,12 +83,13 @@ public boolean equals(Object o) { return Objects.equals(childColumns, that.childColumns) && Objects.equals(name, that.name) && Objects.equals(parentColumns, that.parentColumns) - && Objects.equals(parentTable, that.parentTable); + && Objects.equals(parentTable, that.parentTable) + && Objects.equals(rely, that.rely); } @Override public int hashCode() { - return Objects.hash(childColumns, name, parentColumns, parentTable); + return Objects.hash(childColumns, name, parentColumns, parentTable, rely); } @Override @@ -85,6 +99,7 @@ public String toString() { .add("name", name) .add("parentColumns", parentColumns) .add("parentTable", parentTable) + .add("rely", rely) .toString(); } } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionsAPI.java index 3961b6d1d..79f63b508 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionsAPI.java @@ -36,9 +36,7 @@ public FunctionInfo create(CreateFunction functionInfo) { } /** - * Create a function. - * - *

**WARNING: This API is experimental and will change in future versions** + * **WARNING: This API is experimental and will change in future versions** * *

Creates a new function * @@ -55,13 +53,11 @@ public void delete(String name) { } /** - * Delete a function. - * - *

Deletes the function that matches the supplied name. For the deletion to succeed, the user - * must satisfy one of the following conditions: - Is the owner of the function's parent catalog - - * Is the owner of the function's parent schema and have the **USE_CATALOG** privilege on its - * parent catalog - Is the owner of the function itself and have both the **USE_CATALOG** - * privilege on its parent catalog and the **USE_SCHEMA** privilege on its parent schema + * Deletes the function that matches the supplied name. For the deletion to succeed, the user must + * satisfy one of the following conditions: - Is the owner of the function's parent catalog - Is + * the owner of the function's parent schema and have the **USE_CATALOG** privilege on its parent + * catalog - Is the owner of the function itself and have both the **USE_CATALOG** privilege on + * its parent catalog and the **USE_SCHEMA** privilege on its parent schema */ public void delete(DeleteFunctionRequest request) { impl.delete(request); @@ -72,9 +68,7 @@ public FunctionInfo get(String name) { } /** - * Get a function. - * - *

Gets a function from within a parent catalog and schema. For the fetch to succeed, the user + * Gets a function from within a parent catalog and schema. For the fetch to succeed, the user * must satisfy one of the following requirements: - Is a metastore admin - Is an owner of the * function's parent catalog - Have the **USE_CATALOG** privilege on the function's parent catalog * and be the owner of the function - Have the **USE_CATALOG** privilege on the function's parent @@ -90,9 +84,7 @@ public Iterable list(String catalogName, String schemaName) { } /** - * List functions. - * - *

List functions within the specified parent catalog and schema. If the user is a metastore + * List functions within the specified parent catalog and schema. If the user is a metastore * admin, all functions are returned in the output list. Otherwise, the user must have the * **USE_CATALOG** privilege on the catalog and the **USE_SCHEMA** privilege on the schema, and * the output list contains only functions for which either the user has the **EXECUTE** privilege @@ -118,9 +110,7 @@ public FunctionInfo update(String name) { } /** - * Update a function. - * - *

Updates the function that matches the supplied name. Only the owner of the function can be + * Updates the function that matches the supplied name. Only the owner of the function can be * updated. If the user is not a metastore admin, the user must be a member of the group that is * the new function owner. - Is a metastore admin - Is the owner of the function's parent catalog * - Is the owner of the function's parent schema and has the **USE_CATALOG** privilege on its diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionsService.java index 813657540..a88771087 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionsService.java @@ -18,9 +18,7 @@ @Generated public interface FunctionsService { /** - * Create a function. - * - *

**WARNING: This API is experimental and will change in future versions** + * **WARNING: This API is experimental and will change in future versions** * *

Creates a new function * @@ -31,20 +29,16 @@ public interface FunctionsService { FunctionInfo create(CreateFunctionRequest createFunctionRequest); /** - * Delete a function. - * - *

Deletes the function that matches the supplied name. For the deletion to succeed, the user - * must satisfy one of the following conditions: - Is the owner of the function's parent catalog - - * Is the owner of the function's parent schema and have the **USE_CATALOG** privilege on its - * parent catalog - Is the owner of the function itself and have both the **USE_CATALOG** - * privilege on its parent catalog and the **USE_SCHEMA** privilege on its parent schema + * Deletes the function that matches the supplied name. For the deletion to succeed, the user must + * satisfy one of the following conditions: - Is the owner of the function's parent catalog - Is + * the owner of the function's parent schema and have the **USE_CATALOG** privilege on its parent + * catalog - Is the owner of the function itself and have both the **USE_CATALOG** privilege on + * its parent catalog and the **USE_SCHEMA** privilege on its parent schema */ void delete(DeleteFunctionRequest deleteFunctionRequest); /** - * Get a function. - * - *

Gets a function from within a parent catalog and schema. For the fetch to succeed, the user + * Gets a function from within a parent catalog and schema. For the fetch to succeed, the user * must satisfy one of the following requirements: - Is a metastore admin - Is an owner of the * function's parent catalog - Have the **USE_CATALOG** privilege on the function's parent catalog * and be the owner of the function - Have the **USE_CATALOG** privilege on the function's parent @@ -54,9 +48,7 @@ public interface FunctionsService { FunctionInfo get(GetFunctionRequest getFunctionRequest); /** - * List functions. - * - *

List functions within the specified parent catalog and schema. If the user is a metastore + * List functions within the specified parent catalog and schema. If the user is a metastore * admin, all functions are returned in the output list. Otherwise, the user must have the * **USE_CATALOG** privilege on the catalog and the **USE_SCHEMA** privilege on the schema, and * the output list contains only functions for which either the user has the **EXECUTE** privilege @@ -66,9 +58,7 @@ public interface FunctionsService { ListFunctionsResponse list(ListFunctionsRequest listFunctionsRequest); /** - * Update a function. - * - *

Updates the function that matches the supplied name. Only the owner of the function can be + * Updates the function that matches the supplied name. Only the owner of the function can be * updated. If the user is not a metastore admin, the user must be a member of the group that is * the new function owner. - Is a metastore admin - Is the owner of the function's parent catalog * - Is the owner of the function's parent schema and has the **USE_CATALOG** privilege on its diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetAccountMetastoreAssignmentRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetAccountMetastoreAssignmentRequest.java index 6d9d03e93..5190cab6b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetAccountMetastoreAssignmentRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetAccountMetastoreAssignmentRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Gets the metastore assignment for a workspace */ @Generated public class GetAccountMetastoreAssignmentRequest { /** Workspace ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetAccountMetastoreRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetAccountMetastoreRequest.java index e4aa3900a..1fd3ffdb4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetAccountMetastoreRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetAccountMetastoreRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a metastore */ @Generated public class GetAccountMetastoreRequest { /** Unity Catalog metastore ID */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetAccountStorageCredentialRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetAccountStorageCredentialRequest.java index 47d0fd89e..29c20c2fe 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetAccountStorageCredentialRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetAccountStorageCredentialRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Gets the named storage credential */ @Generated public class GetAccountStorageCredentialRequest { /** Unity Catalog metastore ID */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetArtifactAllowlistRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetArtifactAllowlistRequest.java index 0a910bdc7..badfea63a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetArtifactAllowlistRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetArtifactAllowlistRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get an artifact allowlist */ @Generated public class GetArtifactAllowlistRequest { /** The artifact type of the allowlist. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetBindingsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetBindingsRequest.java index f0fad5bb6..b35492f54 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetBindingsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetBindingsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get securable workspace bindings */ @Generated public class GetBindingsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetByAliasRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetByAliasRequest.java index 9f967bcb0..2db5d46d1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetByAliasRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetByAliasRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get Model Version By Alias */ @Generated public class GetByAliasRequest { /** The name of the alias */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetCatalogRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetCatalogRequest.java index 82fe3ec30..75a5c6596 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetCatalogRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetCatalogRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a catalog */ @Generated public class GetCatalogRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetConnectionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetConnectionRequest.java index 153f54518..0214b47a4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetConnectionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetConnectionRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a connection */ @Generated public class GetConnectionRequest { /** Name of the connection. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetCredentialRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetCredentialRequest.java index cfb1de4fe..fbba91cf2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetCredentialRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetCredentialRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a credential */ @Generated public class GetCredentialRequest { /** Name of the credential. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetEffectiveRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetEffectiveRequest.java index 570aaa00a..01b5ed191 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetEffectiveRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetEffectiveRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get effective permissions */ @Generated public class GetEffectiveRequest { /** Full name of securable. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetExternalLocationRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetExternalLocationRequest.java index 8ac782a05..5158a373c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetExternalLocationRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetExternalLocationRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get an external location */ @Generated public class GetExternalLocationRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetFunctionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetFunctionRequest.java index 13d1d7bfd..b635d3ab3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetFunctionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetFunctionRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a function */ @Generated public class GetFunctionRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetGrantRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetGrantRequest.java index 8dfca3ffc..59e2565c2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetGrantRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetGrantRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get permissions */ @Generated public class GetGrantRequest { /** Full name of securable. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetMetastoreRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetMetastoreRequest.java index 7dde48bd5..95ba55160 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetMetastoreRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetMetastoreRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a metastore */ @Generated public class GetMetastoreRequest { /** Unique ID of the metastore. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetModelVersionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetModelVersionRequest.java index 44e63c4ae..a591c72ad 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetModelVersionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetModelVersionRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a Model Version */ @Generated public class GetModelVersionRequest { /** The three-level (fully qualified) name of the model version */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetOnlineTableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetOnlineTableRequest.java index 757e31dc6..53f515c61 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetOnlineTableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetOnlineTableRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get an Online Table */ @Generated public class GetOnlineTableRequest { /** Full three-part (catalog, schema, table) name of the table. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetQualityMonitorRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetQualityMonitorRequest.java index 66a002053..36ab111f9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetQualityMonitorRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetQualityMonitorRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a table monitor */ @Generated public class GetQualityMonitorRequest { /** Full name of the table. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetQuotaRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetQuotaRequest.java index 1b577aedf..5f8a02fa3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetQuotaRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetQuotaRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get information for a single resource quota. */ @Generated public class GetQuotaRequest { /** Full name of the parent resource. Provide the metastore ID if the parent is a metastore. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetRefreshRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetRefreshRequest.java index ef0b7ac1b..1e4a8c5ee 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetRefreshRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetRefreshRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get refresh */ @Generated public class GetRefreshRequest { /** ID of the refresh. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetRegisteredModelRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetRegisteredModelRequest.java index 7ad6ffcdf..cdca47e99 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetRegisteredModelRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetRegisteredModelRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a Registered Model */ @Generated public class GetRegisteredModelRequest { /** The three-level (fully qualified) name of the registered model */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetSchemaRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetSchemaRequest.java index 11123dd34..02d0517e8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetSchemaRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetSchemaRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a schema */ @Generated public class GetSchemaRequest { /** Full name of the schema. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetStorageCredentialRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetStorageCredentialRequest.java index 6cf81d031..e2c22ef20 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetStorageCredentialRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetStorageCredentialRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a credential */ @Generated public class GetStorageCredentialRequest { /** Name of the storage credential. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetTableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetTableRequest.java index 19d8e5f0e..fea768af7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetTableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetTableRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a table */ @Generated public class GetTableRequest { /** Full name of the table. */ @@ -16,7 +15,7 @@ public class GetTableRequest { /** * Whether to include tables in the response for which the principal can only access selective - * metadata for + * metadata for. */ @JsonIgnore @QueryParam("include_browse") @@ -27,7 +26,7 @@ public class GetTableRequest { @QueryParam("include_delta_metadata") private Boolean includeDeltaMetadata; - /** Whether to include a manifest containing capabilities the table has. */ + /** Whether to include a manifest containing table capabilities in the response. */ @JsonIgnore @QueryParam("include_manifest_capabilities") private Boolean includeManifestCapabilities; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetWorkspaceBindingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetWorkspaceBindingRequest.java index f5e09dfe9..192eead03 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetWorkspaceBindingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetWorkspaceBindingRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get catalog workspace bindings */ @Generated public class GetWorkspaceBindingRequest { /** The name of the catalog. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsAPI.java index 84982e379..59f887de6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsAPI.java @@ -37,11 +37,7 @@ public GetPermissionsResponse get(String securableType, String fullName) { return get(new GetGrantRequest().setSecurableType(securableType).setFullName(fullName)); } - /** - * Get permissions. - * - *

Gets the permissions for a securable. Does not include inherited permissions. - */ + /** Gets the permissions for a securable. Does not include inherited permissions. */ public GetPermissionsResponse get(GetGrantRequest request) { return impl.get(request); } @@ -52,10 +48,8 @@ public EffectivePermissionsList getEffective(String securableType, String fullNa } /** - * Get effective permissions. - * - *

Gets the effective permissions for a securable. Includes inherited permissions from any - * parent securables. + * Gets the effective permissions for a securable. Includes inherited permissions from any parent + * securables. */ public EffectivePermissionsList getEffective(GetEffectiveRequest request) { return impl.getEffective(request); @@ -65,11 +59,7 @@ public UpdatePermissionsResponse update(String securableType, String fullName) { return update(new UpdatePermissions().setSecurableType(securableType).setFullName(fullName)); } - /** - * Update permissions. - * - *

Updates the permissions for a securable. - */ + /** Updates the permissions for a securable. */ public UpdatePermissionsResponse update(UpdatePermissions request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsService.java index 275b60772..777f9040f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsService.java @@ -20,25 +20,15 @@ */ @Generated public interface GrantsService { - /** - * Get permissions. - * - *

Gets the permissions for a securable. Does not include inherited permissions. - */ + /** Gets the permissions for a securable. Does not include inherited permissions. */ GetPermissionsResponse get(GetGrantRequest getGrantRequest); /** - * Get effective permissions. - * - *

Gets the effective permissions for a securable. Includes inherited permissions from any - * parent securables. + * Gets the effective permissions for a securable. Includes inherited permissions from any parent + * securables. */ EffectivePermissionsList getEffective(GetEffectiveRequest getEffectiveRequest); - /** - * Update permissions. - * - *

Updates the permissions for a securable. - */ + /** Updates the permissions for a securable. */ UpdatePermissionsResponse update(UpdatePermissions updatePermissions); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListAccountMetastoreAssignmentsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListAccountMetastoreAssignmentsRequest.java index fad85ca91..b7f8bcd64 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListAccountMetastoreAssignmentsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListAccountMetastoreAssignmentsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get all workspaces assigned to a metastore */ @Generated public class ListAccountMetastoreAssignmentsRequest { /** Unity Catalog metastore ID */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListAccountStorageCredentialsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListAccountStorageCredentialsRequest.java index b38c46a54..6e21b9d0f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListAccountStorageCredentialsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListAccountStorageCredentialsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get all storage credentials assigned to a metastore */ @Generated public class ListAccountStorageCredentialsRequest { /** Unity Catalog metastore ID */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCatalogsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCatalogsRequest.java index cb6be8a63..05fe12886 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCatalogsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCatalogsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List catalogs */ @Generated public class ListCatalogsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListConnectionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListConnectionsRequest.java index 2627b4aef..4aae35586 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListConnectionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListConnectionsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List connections */ @Generated public class ListConnectionsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCredentialsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCredentialsRequest.java index 775a697e7..32dfc1888 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCredentialsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCredentialsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List credentials */ @Generated public class ListCredentialsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListExternalLocationsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListExternalLocationsRequest.java index 35c71f7a1..ce3805d49 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListExternalLocationsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListExternalLocationsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List external locations */ @Generated public class ListExternalLocationsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListFunctionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListFunctionsRequest.java index 039752d25..4e7cf6ea1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListFunctionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListFunctionsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List functions */ @Generated public class ListFunctionsRequest { /** Name of parent catalog for functions of interest. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMetastoresRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMetastoresRequest.java index cc722491d..94e5514e1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMetastoresRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMetastoresRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List metastores */ @Generated public class ListMetastoresRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelVersionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelVersionsRequest.java index 6364b1653..5c7f3ccf0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelVersionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelVersionsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List Model Versions */ @Generated public class ListModelVersionsRequest { /** The full three-level name of the registered model under which to list model versions */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListQuotasRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListQuotasRequest.java index 0fa5831ae..55d224eac 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListQuotasRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListQuotasRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List all resource quotas under a metastore. */ @Generated public class ListQuotasRequest { /** The number of quotas to return. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListRefreshesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListRefreshesRequest.java index b45a0442c..51c0d0474 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListRefreshesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListRefreshesRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List refreshes */ @Generated public class ListRefreshesRequest { /** Full name of the table. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListRegisteredModelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListRegisteredModelsRequest.java index f319d1ed7..1d5411f69 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListRegisteredModelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListRegisteredModelsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List Registered Models */ @Generated public class ListRegisteredModelsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSchemasRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSchemasRequest.java index 965bcf41d..5fe266596 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSchemasRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSchemasRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List schemas */ @Generated public class ListSchemasRequest { /** Parent catalog for schemas of interest. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListStorageCredentialsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListStorageCredentialsRequest.java index 75755ef16..c91be8012 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListStorageCredentialsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListStorageCredentialsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List credentials */ @Generated public class ListStorageCredentialsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSummariesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSummariesRequest.java index 0aa5904fb..774820505 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSummariesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSummariesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List table summaries */ @Generated public class ListSummariesRequest { /** Name of parent catalog for tables of interest. */ @@ -16,7 +15,7 @@ public class ListSummariesRequest { @QueryParam("catalog_name") private String catalogName; - /** Whether to include a manifest containing capabilities the table has. */ + /** Whether to include a manifest containing table capabilities in the response. */ @JsonIgnore @QueryParam("include_manifest_capabilities") private Boolean includeManifestCapabilities; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSystemSchemasRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSystemSchemasRequest.java index b48792337..bba8bfa7c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSystemSchemasRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSystemSchemasRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List system schemas */ @Generated public class ListSystemSchemasRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListTablesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListTablesRequest.java index f5d9fd2f8..f63d165d6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListTablesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListTablesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List tables */ @Generated public class ListTablesRequest { /** Name of parent catalog for tables of interest. */ @@ -18,18 +17,13 @@ public class ListTablesRequest { /** * Whether to include tables in the response for which the principal can only access selective - * metadata for + * metadata for. */ @JsonIgnore @QueryParam("include_browse") private Boolean includeBrowse; - /** Whether delta metadata should be included in the response. */ - @JsonIgnore - @QueryParam("include_delta_metadata") - private Boolean includeDeltaMetadata; - - /** Whether to include a manifest containing capabilities the table has. */ + /** Whether to include a manifest containing table capabilities in the response. */ @JsonIgnore @QueryParam("include_manifest_capabilities") private Boolean includeManifestCapabilities; @@ -90,15 +84,6 @@ public Boolean getIncludeBrowse() { return includeBrowse; } - public ListTablesRequest setIncludeDeltaMetadata(Boolean includeDeltaMetadata) { - this.includeDeltaMetadata = includeDeltaMetadata; - return this; - } - - public Boolean getIncludeDeltaMetadata() { - return includeDeltaMetadata; - } - public ListTablesRequest setIncludeManifestCapabilities(Boolean includeManifestCapabilities) { this.includeManifestCapabilities = includeManifestCapabilities; return this; @@ -169,7 +154,6 @@ public boolean equals(Object o) { ListTablesRequest that = (ListTablesRequest) o; return Objects.equals(catalogName, that.catalogName) && Objects.equals(includeBrowse, that.includeBrowse) - && Objects.equals(includeDeltaMetadata, that.includeDeltaMetadata) && Objects.equals(includeManifestCapabilities, that.includeManifestCapabilities) && Objects.equals(maxResults, that.maxResults) && Objects.equals(omitColumns, that.omitColumns) @@ -184,7 +168,6 @@ public int hashCode() { return Objects.hash( catalogName, includeBrowse, - includeDeltaMetadata, includeManifestCapabilities, maxResults, omitColumns, @@ -199,7 +182,6 @@ public String toString() { return new ToStringer(ListTablesRequest.class) .add("catalogName", catalogName) .add("includeBrowse", includeBrowse) - .add("includeDeltaMetadata", includeDeltaMetadata) .add("includeManifestCapabilities", includeManifestCapabilities) .add("maxResults", maxResults) .add("omitColumns", omitColumns) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListVolumesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListVolumesRequest.java index f7126ee0e..5c2502a3a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListVolumesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListVolumesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List Volumes */ @Generated public class ListVolumesRequest { /** The identifier of the catalog */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoresAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoresAPI.java index f468b89cc..3a1bb115e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoresAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoresAPI.java @@ -45,11 +45,9 @@ public void assign(long workspaceId, String metastoreId, String defaultCatalogNa } /** - * Create an assignment. - * - *

Creates a new metastore assignment. If an assignment for the same __workspace_id__ exists, - * it will be overwritten by the new __metastore_id__ and __default_catalog_name__. The caller - * must be an account admin. + * Creates a new metastore assignment. If an assignment for the same __workspace_id__ exists, it + * will be overwritten by the new __metastore_id__ and __default_catalog_name__. The caller must + * be an account admin. */ public void assign(CreateMetastoreAssignment request) { impl.assign(request); @@ -60,10 +58,8 @@ public MetastoreInfo create(String name) { } /** - * Create a metastore. - * - *

Creates a new metastore based on a provided name and optional storage root path. By default - * (if the __owner__ field is not set), the owner of the new metastore is the user calling the + * Creates a new metastore based on a provided name and optional storage root path. By default (if + * the __owner__ field is not set), the owner of the new metastore is the user calling the * __createMetastore__ API. If the __owner__ field is set to the empty string (**""**), the * ownership is assigned to the System User instead. */ @@ -71,11 +67,7 @@ public MetastoreInfo create(CreateMetastore request) { return impl.create(request); } - /** - * Get metastore assignment for workspace. - * - *

Gets the metastore assignment for the workspace being accessed. - */ + /** Gets the metastore assignment for the workspace being accessed. */ public MetastoreAssignment current() { return impl.current(); } @@ -84,11 +76,7 @@ public void delete(String id) { delete(new DeleteMetastoreRequest().setId(id)); } - /** - * Delete a metastore. - * - *

Deletes a metastore. The caller must be a metastore admin. - */ + /** Deletes a metastore. The caller must be a metastore admin. */ public void delete(DeleteMetastoreRequest request) { impl.delete(request); } @@ -98,20 +86,16 @@ public MetastoreInfo get(String id) { } /** - * Get a metastore. - * - *

Gets a metastore that matches the supplied ID. The caller must be a metastore admin to - * retrieve this info. + * Gets a metastore that matches the supplied ID. The caller must be a metastore admin to retrieve + * this info. */ public MetastoreInfo get(GetMetastoreRequest request) { return impl.get(request); } /** - * List metastores. - * - *

Gets an array of the available metastores (as __MetastoreInfo__ objects). The caller must be - * an admin to retrieve this info. There is no guarantee of a specific ordering of the elements in + * Gets an array of the available metastores (as __MetastoreInfo__ objects). The caller must be an + * admin to retrieve this info. There is no guarantee of a specific ordering of the elements in * the array. */ public Iterable list(ListMetastoresRequest request) { @@ -129,9 +113,7 @@ public Iterable list(ListMetastoresRequest request) { } /** - * Get a metastore summary. - * - *

Gets information about a metastore. This summary includes the storage credential, the cloud + * Gets information about a metastore. This summary includes the storage credential, the cloud * vendor, the cloud region, and the global metastore ID. */ public GetMetastoreSummaryResponse summary() { @@ -142,11 +124,7 @@ public void unassign(long workspaceId, String metastoreId) { unassign(new UnassignRequest().setWorkspaceId(workspaceId).setMetastoreId(metastoreId)); } - /** - * Delete an assignment. - * - *

Deletes a metastore assignment. The caller must be an account administrator. - */ + /** Deletes a metastore assignment. The caller must be an account administrator. */ public void unassign(UnassignRequest request) { impl.unassign(request); } @@ -156,9 +134,7 @@ public MetastoreInfo update(String id) { } /** - * Update a metastore. - * - *

Updates information for a specific metastore. The caller must be a metastore admin. If the + * Updates information for a specific metastore. The caller must be a metastore admin. If the * __owner__ field is set to the empty string (**""**), the ownership is updated to the System * User. */ @@ -171,9 +147,7 @@ public void updateAssignment(long workspaceId) { } /** - * Update an assignment. - * - *

Updates a metastore assignment. This operation can be used to update __metastore_id__ or + * Updates a metastore assignment. This operation can be used to update __metastore_id__ or * __default_catalog_name__ for a specified Workspace, if the Workspace is already assigned a * metastore. The caller must be an account admin to update __metastore_id__; otherwise, the * caller can be a Workspace admin. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoresService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoresService.java index bfad43db3..2f6f582ca 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoresService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoresService.java @@ -23,83 +23,57 @@ @Generated public interface MetastoresService { /** - * Create an assignment. - * - *

Creates a new metastore assignment. If an assignment for the same __workspace_id__ exists, - * it will be overwritten by the new __metastore_id__ and __default_catalog_name__. The caller - * must be an account admin. + * Creates a new metastore assignment. If an assignment for the same __workspace_id__ exists, it + * will be overwritten by the new __metastore_id__ and __default_catalog_name__. The caller must + * be an account admin. */ void assign(CreateMetastoreAssignment createMetastoreAssignment); /** - * Create a metastore. - * - *

Creates a new metastore based on a provided name and optional storage root path. By default - * (if the __owner__ field is not set), the owner of the new metastore is the user calling the + * Creates a new metastore based on a provided name and optional storage root path. By default (if + * the __owner__ field is not set), the owner of the new metastore is the user calling the * __createMetastore__ API. If the __owner__ field is set to the empty string (**""**), the * ownership is assigned to the System User instead. */ MetastoreInfo create(CreateMetastore createMetastore); - /** - * Get metastore assignment for workspace. - * - *

Gets the metastore assignment for the workspace being accessed. - */ + /** Gets the metastore assignment for the workspace being accessed. */ MetastoreAssignment current(); - /** - * Delete a metastore. - * - *

Deletes a metastore. The caller must be a metastore admin. - */ + /** Deletes a metastore. The caller must be a metastore admin. */ void delete(DeleteMetastoreRequest deleteMetastoreRequest); /** - * Get a metastore. - * - *

Gets a metastore that matches the supplied ID. The caller must be a metastore admin to - * retrieve this info. + * Gets a metastore that matches the supplied ID. The caller must be a metastore admin to retrieve + * this info. */ MetastoreInfo get(GetMetastoreRequest getMetastoreRequest); /** - * List metastores. - * - *

Gets an array of the available metastores (as __MetastoreInfo__ objects). The caller must be - * an admin to retrieve this info. There is no guarantee of a specific ordering of the elements in + * Gets an array of the available metastores (as __MetastoreInfo__ objects). The caller must be an + * admin to retrieve this info. There is no guarantee of a specific ordering of the elements in * the array. */ ListMetastoresResponse list(ListMetastoresRequest listMetastoresRequest); /** - * Get a metastore summary. - * - *

Gets information about a metastore. This summary includes the storage credential, the cloud + * Gets information about a metastore. This summary includes the storage credential, the cloud * vendor, the cloud region, and the global metastore ID. */ GetMetastoreSummaryResponse summary(); - /** - * Delete an assignment. - * - *

Deletes a metastore assignment. The caller must be an account administrator. - */ + /** Deletes a metastore assignment. The caller must be an account administrator. */ void unassign(UnassignRequest unassignRequest); /** - * Update a metastore. - * - *

Updates information for a specific metastore. The caller must be a metastore admin. If the + * Updates information for a specific metastore. The caller must be a metastore admin. If the * __owner__ field is set to the empty string (**""**), the ownership is updated to the System * User. */ MetastoreInfo update(UpdateMetastore updateMetastore); /** - * Update an assignment. - * - *

Updates a metastore assignment. This operation can be used to update __metastore_id__ or + * Updates a metastore assignment. This operation can be used to update __metastore_id__ or * __default_catalog_name__ for a specified Workspace, if the Workspace is already assigned a * metastore. The caller must be an account admin to update __metastore_id__; otherwise, the * caller can be a Workspace admin. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsAPI.java index affc50e41..17978f1f7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsAPI.java @@ -36,10 +36,8 @@ public void delete(String fullName, long version) { } /** - * Delete a Model Version. - * - *

Deletes a model version from the specified registered model. Any aliases assigned to the - * model version will also be deleted. + * Deletes a model version from the specified registered model. Any aliases assigned to the model + * version will also be deleted. * *

The caller must be a metastore admin or an owner of the parent registered model. For the * latter case, the caller must also be the owner or have the **USE_CATALOG** privilege on the @@ -54,9 +52,7 @@ public ModelVersionInfo get(String fullName, long version) { } /** - * Get a Model Version. - * - *

Get a model version. + * Get a model version. * *

The caller must be a metastore admin or an owner of (or have the **EXECUTE** privilege on) * the parent registered model. For the latter case, the caller must also be the owner or have the @@ -72,9 +68,7 @@ public ModelVersionInfo getByAlias(String fullName, String alias) { } /** - * Get Model Version By Alias. - * - *

Get a model version by alias. + * Get a model version by alias. * *

The caller must be a metastore admin or an owner of (or have the **EXECUTE** privilege on) * the registered model. For the latter case, the caller must also be the owner or have the @@ -90,10 +84,8 @@ public Iterable list(String fullName) { } /** - * List Model Versions. - * - *

List model versions. You can list model versions under a particular schema, or list all - * model versions in the current metastore. + * List model versions. You can list model versions under a particular schema, or list all model + * versions in the current metastore. * *

The returned models are filtered based on the privileges of the calling user. For example, * the metastore admin is able to list all the model versions. A regular user needs to be the @@ -124,9 +116,7 @@ public ModelVersionInfo update(String fullName, long version) { } /** - * Update a Model Version. - * - *

Updates the specified model version. + * Updates the specified model version. * *

The caller must be a metastore admin or an owner of the parent registered model. For the * latter case, the caller must also be the owner or have the **USE_CATALOG** privilege on the diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsService.java index aeccdd832..d79761b40 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsService.java @@ -18,10 +18,8 @@ @Generated public interface ModelVersionsService { /** - * Delete a Model Version. - * - *

Deletes a model version from the specified registered model. Any aliases assigned to the - * model version will also be deleted. + * Deletes a model version from the specified registered model. Any aliases assigned to the model + * version will also be deleted. * *

The caller must be a metastore admin or an owner of the parent registered model. For the * latter case, the caller must also be the owner or have the **USE_CATALOG** privilege on the @@ -30,9 +28,7 @@ public interface ModelVersionsService { void delete(DeleteModelVersionRequest deleteModelVersionRequest); /** - * Get a Model Version. - * - *

Get a model version. + * Get a model version. * *

The caller must be a metastore admin or an owner of (or have the **EXECUTE** privilege on) * the parent registered model. For the latter case, the caller must also be the owner or have the @@ -42,9 +38,7 @@ public interface ModelVersionsService { ModelVersionInfo get(GetModelVersionRequest getModelVersionRequest); /** - * Get Model Version By Alias. - * - *

Get a model version by alias. + * Get a model version by alias. * *

The caller must be a metastore admin or an owner of (or have the **EXECUTE** privilege on) * the registered model. For the latter case, the caller must also be the owner or have the @@ -54,10 +48,8 @@ public interface ModelVersionsService { ModelVersionInfo getByAlias(GetByAliasRequest getByAliasRequest); /** - * List Model Versions. - * - *

List model versions. You can list model versions under a particular schema, or list all - * model versions in the current metastore. + * List model versions. You can list model versions under a particular schema, or list all model + * versions in the current metastore. * *

The returned models are filtered based on the privileges of the calling user. For example, * the metastore admin is able to list all the model versions. A regular user needs to be the @@ -72,9 +64,7 @@ public interface ModelVersionsService { ListModelVersionsResponse list(ListModelVersionsRequest listModelVersionsRequest); /** - * Update a Model Version. - * - *

Updates the specified model version. + * Updates the specified model version. * *

The caller must be a metastore admin or an owner of the parent registered model. For the * latter case, the caller must also be the owner or have the **USE_CATALOG** privilege on the diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OnlineTablesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OnlineTablesAPI.java index 30ca3e788..e1d44eb38 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OnlineTablesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OnlineTablesAPI.java @@ -79,11 +79,7 @@ public Wait create(OnlineTable table) { return create(new CreateOnlineTableRequest().setTable(table)); } - /** - * Create an Online Table. - * - *

Create a new Online Table. - */ + /** Create a new Online Table. */ public Wait create(CreateOnlineTableRequest request) { OnlineTable response = impl.create(request); return new Wait<>( @@ -96,9 +92,7 @@ public void delete(String name) { } /** - * Delete an Online Table. - * - *

Delete an online table. Warning: This will delete all the data in the online table. If the + * Delete an online table. Warning: This will delete all the data in the online table. If the * source Delta table was deleted or modified since this Online Table was created, this will lose * the data forever! */ @@ -110,11 +104,7 @@ public OnlineTable get(String name) { return get(new GetOnlineTableRequest().setName(name)); } - /** - * Get an Online Table. - * - *

Get information about an existing online table and its status. - */ + /** Get information about an existing online table and its status. */ public OnlineTable get(GetOnlineTableRequest request) { return impl.get(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OnlineTablesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OnlineTablesService.java index e18d13cd0..7b122438f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OnlineTablesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OnlineTablesService.java @@ -12,26 +12,16 @@ */ @Generated public interface OnlineTablesService { - /** - * Create an Online Table. - * - *

Create a new Online Table. - */ + /** Create a new Online Table. */ OnlineTable create(CreateOnlineTableRequest createOnlineTableRequest); /** - * Delete an Online Table. - * - *

Delete an online table. Warning: This will delete all the data in the online table. If the + * Delete an online table. Warning: This will delete all the data in the online table. If the * source Delta table was deleted or modified since this Online Table was created, this will lose * the data forever! */ void delete(DeleteOnlineTableRequest deleteOnlineTableRequest); - /** - * Get an Online Table. - * - *

Get information about an existing online table and its status. - */ + /** Get information about an existing online table and its status. */ OnlineTable get(GetOnlineTableRequest getOnlineTableRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OptionSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OptionSpec.java new file mode 100755 index 000000000..8fc752e5d --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OptionSpec.java @@ -0,0 +1,268 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.catalog; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Collection; +import java.util.Objects; + +/** + * 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. + */ +@Generated +public class OptionSpec { + /** + * 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. + */ + @JsonProperty("allowed_values") + private Collection allowedValues; + + /** The default value of the option, for example, value '443' for 'port' option. */ + @JsonProperty("default_value") + private String defaultValue; + + /** A concise user facing description of what the input value of this option should look like. */ + @JsonProperty("description") + private String description; + + /** + * 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. + */ + @JsonProperty("hint") + private String hint; + + /** Indicates whether an option should be displayed with copy button on the UI. */ + @JsonProperty("is_copiable") + private Boolean isCopiable; + + /** + * Indicates whether an option can be provided by users in the create/update path of an entity. + */ + @JsonProperty("is_creatable") + private Boolean isCreatable; + + /** Is the option value not user settable and is thus not shown on the UI. */ + @JsonProperty("is_hidden") + private Boolean isHidden; + + /** Specifies whether this option is safe to log, i.e. no sensitive information. */ + @JsonProperty("is_loggable") + private Boolean isLoggable; + + /** Is the option required. */ + @JsonProperty("is_required") + private Boolean isRequired; + + /** Is the option value considered secret and thus redacted on the UI. */ + @JsonProperty("is_secret") + private Boolean isSecret; + + /** Is the option updatable by users. */ + @JsonProperty("is_updatable") + private Boolean isUpdatable; + + /** The unique name of the option. */ + @JsonProperty("name") + private String name; + + /** Specifies when the option value is displayed on the UI within the OAuth flow. */ + @JsonProperty("oauth_stage") + private OptionSpecOauthStage oauthStage; + + /** The type of the option. */ + @JsonProperty("type") + private OptionSpecOptionType typeValue; + + public OptionSpec setAllowedValues(Collection allowedValues) { + this.allowedValues = allowedValues; + return this; + } + + public Collection getAllowedValues() { + return allowedValues; + } + + public OptionSpec setDefaultValue(String defaultValue) { + this.defaultValue = defaultValue; + return this; + } + + public String getDefaultValue() { + return defaultValue; + } + + public OptionSpec setDescription(String description) { + this.description = description; + return this; + } + + public String getDescription() { + return description; + } + + public OptionSpec setHint(String hint) { + this.hint = hint; + return this; + } + + public String getHint() { + return hint; + } + + public OptionSpec setIsCopiable(Boolean isCopiable) { + this.isCopiable = isCopiable; + return this; + } + + public Boolean getIsCopiable() { + return isCopiable; + } + + public OptionSpec setIsCreatable(Boolean isCreatable) { + this.isCreatable = isCreatable; + return this; + } + + public Boolean getIsCreatable() { + return isCreatable; + } + + public OptionSpec setIsHidden(Boolean isHidden) { + this.isHidden = isHidden; + return this; + } + + public Boolean getIsHidden() { + return isHidden; + } + + public OptionSpec setIsLoggable(Boolean isLoggable) { + this.isLoggable = isLoggable; + return this; + } + + public Boolean getIsLoggable() { + return isLoggable; + } + + public OptionSpec setIsRequired(Boolean isRequired) { + this.isRequired = isRequired; + return this; + } + + public Boolean getIsRequired() { + return isRequired; + } + + public OptionSpec setIsSecret(Boolean isSecret) { + this.isSecret = isSecret; + return this; + } + + public Boolean getIsSecret() { + return isSecret; + } + + public OptionSpec setIsUpdatable(Boolean isUpdatable) { + this.isUpdatable = isUpdatable; + return this; + } + + public Boolean getIsUpdatable() { + return isUpdatable; + } + + public OptionSpec setName(String name) { + this.name = name; + return this; + } + + public String getName() { + return name; + } + + public OptionSpec setOauthStage(OptionSpecOauthStage oauthStage) { + this.oauthStage = oauthStage; + return this; + } + + public OptionSpecOauthStage getOauthStage() { + return oauthStage; + } + + public OptionSpec setType(OptionSpecOptionType typeValue) { + this.typeValue = typeValue; + return this; + } + + public OptionSpecOptionType getType() { + return typeValue; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + OptionSpec that = (OptionSpec) o; + return Objects.equals(allowedValues, that.allowedValues) + && Objects.equals(defaultValue, that.defaultValue) + && Objects.equals(description, that.description) + && Objects.equals(hint, that.hint) + && Objects.equals(isCopiable, that.isCopiable) + && Objects.equals(isCreatable, that.isCreatable) + && Objects.equals(isHidden, that.isHidden) + && Objects.equals(isLoggable, that.isLoggable) + && Objects.equals(isRequired, that.isRequired) + && Objects.equals(isSecret, that.isSecret) + && Objects.equals(isUpdatable, that.isUpdatable) + && Objects.equals(name, that.name) + && Objects.equals(oauthStage, that.oauthStage) + && Objects.equals(typeValue, that.typeValue); + } + + @Override + public int hashCode() { + return Objects.hash( + allowedValues, + defaultValue, + description, + hint, + isCopiable, + isCreatable, + isHidden, + isLoggable, + isRequired, + isSecret, + isUpdatable, + name, + oauthStage, + typeValue); + } + + @Override + public String toString() { + return new ToStringer(OptionSpec.class) + .add("allowedValues", allowedValues) + .add("defaultValue", defaultValue) + .add("description", description) + .add("hint", hint) + .add("isCopiable", isCopiable) + .add("isCreatable", isCreatable) + .add("isHidden", isHidden) + .add("isLoggable", isLoggable) + .add("isRequired", isRequired) + .add("isSecret", isSecret) + .add("isUpdatable", isUpdatable) + .add("name", name) + .add("oauthStage", oauthStage) + .add("typeValue", typeValue) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OptionSpecOauthStage.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OptionSpecOauthStage.java new file mode 100755 index 000000000..e9513c220 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OptionSpecOauthStage.java @@ -0,0 +1,18 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.catalog; + +import com.databricks.sdk.support.Generated; + +/** + * 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. + */ +@Generated +public enum OptionSpecOauthStage { + BEFORE_ACCESS_TOKEN, + BEFORE_AUTHORIZATION_CODE, +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OptionSpecOptionType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OptionSpecOptionType.java new file mode 100755 index 000000000..0d4b3f5d4 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OptionSpecOptionType.java @@ -0,0 +1,21 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.catalog; + +import com.databricks.sdk.support.Generated; + +/** + * 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. + */ +@Generated +public enum OptionSpecOptionType { + OPTION_BIGINT, + OPTION_BOOLEAN, + OPTION_ENUM, + OPTION_MULTILINE_STRING, + OPTION_NUMBER, + OPTION_SERVICE_CREDENTIAL, + OPTION_STRING, +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PrimaryKeyConstraint.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PrimaryKeyConstraint.java index 5d13fbbd4..4a6bb2288 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PrimaryKeyConstraint.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PrimaryKeyConstraint.java @@ -18,6 +18,10 @@ public class PrimaryKeyConstraint { @JsonProperty("name") private String name; + /** True if the constraint is RELY, false or unset if NORELY. */ + @JsonProperty("rely") + private Boolean rely; + /** Column names that represent a timeseries. */ @JsonProperty("timeseries_columns") private Collection timeseriesColumns; @@ -40,6 +44,15 @@ public String getName() { return name; } + public PrimaryKeyConstraint setRely(Boolean rely) { + this.rely = rely; + return this; + } + + public Boolean getRely() { + return rely; + } + public PrimaryKeyConstraint setTimeseriesColumns(Collection timeseriesColumns) { this.timeseriesColumns = timeseriesColumns; return this; @@ -56,12 +69,13 @@ public boolean equals(Object o) { PrimaryKeyConstraint that = (PrimaryKeyConstraint) o; return Objects.equals(childColumns, that.childColumns) && Objects.equals(name, that.name) + && Objects.equals(rely, that.rely) && Objects.equals(timeseriesColumns, that.timeseriesColumns); } @Override public int hashCode() { - return Objects.hash(childColumns, name, timeseriesColumns); + return Objects.hash(childColumns, name, rely, timeseriesColumns); } @Override @@ -69,6 +83,7 @@ public String toString() { return new ToStringer(PrimaryKeyConstraint.class) .add("childColumns", childColumns) .add("name", name) + .add("rely", rely) .add("timeseriesColumns", timeseriesColumns) .toString(); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PrivilegeAssignment.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PrivilegeAssignment.java index 9c9f97d13..3781e98f5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PrivilegeAssignment.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PrivilegeAssignment.java @@ -10,7 +10,10 @@ @Generated public class PrivilegeAssignment { - /** The principal (user email address or group name). */ + /** + * The principal (user email address or group name). For deleted principals, `principal` is empty + * while `principal_id` is populated. + */ @JsonProperty("principal") private String principal; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsAPI.java index 2d71368c3..1caa98083 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsAPI.java @@ -36,9 +36,7 @@ public void cancelRefresh(String tableName, String refreshId) { } /** - * Cancel refresh. - * - *

Cancel an active monitor refresh for the given refresh ID. + * Cancel an active monitor refresh for the given refresh ID. * *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -60,9 +58,7 @@ public MonitorInfo create(String tableName, String assetsDir, String outputSchem } /** - * Create a table monitor. - * - *

Creates a new monitor for the specified table. + * Creates a new monitor for the specified table. * *

The caller must either: 1. be an owner of the table's parent catalog, have **USE_SCHEMA** on * the table's parent schema, and have **SELECT** access on the table 2. have **USE_CATALOG** on @@ -82,9 +78,7 @@ public void delete(String tableName) { } /** - * Delete a table monitor. - * - *

Deletes a monitor for the specified table. + * Deletes a monitor for the specified table. * *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -105,9 +99,7 @@ public MonitorInfo get(String tableName) { } /** - * Get a table monitor. - * - *

Gets a monitor for the specified table. + * Gets a monitor for the specified table. * *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema. 3. have the @@ -127,9 +119,7 @@ public MonitorRefreshInfo getRefresh(String tableName, String refreshId) { } /** - * Get refresh. - * - *

Gets info about a specific monitor refresh using the given refresh ID. + * Gets info about a specific monitor refresh using the given refresh ID. * *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -147,9 +137,7 @@ public MonitorRefreshListResponse listRefreshes(String tableName) { } /** - * List refreshes. - * - *

Gets an array containing the history of the most recent refreshes (up to 25) for this table. + * Gets an array containing the history of the most recent refreshes (up to 25) for this table. * *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -167,9 +155,7 @@ public RegenerateDashboardResponse regenerateDashboard(String tableName) { } /** - * Regenerate a monitoring dashboard. - * - *

Regenerates the monitoring dashboard for the specified table. + * Regenerates the monitoring dashboard for the specified table. * *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -188,10 +174,8 @@ public MonitorRefreshInfo runRefresh(String tableName) { } /** - * Queue a metric refresh for a monitor. - * - *

Queues a metric refresh on the monitor for the specified table. The refresh will execute in - * the background. + * Queues a metric refresh on the monitor for the specified table. The refresh will execute in the + * background. * *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -210,9 +194,7 @@ public MonitorInfo update(String tableName, String outputSchemaName) { } /** - * Update a table monitor. - * - *

Updates a monitor for the specified table. + * Updates a monitor for the specified table. * *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsService.java index 1372afb8b..b67e4d638 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsService.java @@ -19,9 +19,7 @@ @Generated public interface QualityMonitorsService { /** - * Cancel refresh. - * - *

Cancel an active monitor refresh for the given refresh ID. + * Cancel an active monitor refresh for the given refresh ID. * *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -33,9 +31,7 @@ public interface QualityMonitorsService { void cancelRefresh(CancelRefreshRequest cancelRefreshRequest); /** - * Create a table monitor. - * - *

Creates a new monitor for the specified table. + * Creates a new monitor for the specified table. * *

The caller must either: 1. be an owner of the table's parent catalog, have **USE_SCHEMA** on * the table's parent schema, and have **SELECT** access on the table 2. have **USE_CATALOG** on @@ -49,9 +45,7 @@ public interface QualityMonitorsService { MonitorInfo create(CreateMonitor createMonitor); /** - * Delete a table monitor. - * - *

Deletes a monitor for the specified table. + * Deletes a monitor for the specified table. * *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -66,9 +60,7 @@ public interface QualityMonitorsService { void delete(DeleteQualityMonitorRequest deleteQualityMonitorRequest); /** - * Get a table monitor. - * - *

Gets a monitor for the specified table. + * Gets a monitor for the specified table. * *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema. 3. have the @@ -82,9 +74,7 @@ public interface QualityMonitorsService { MonitorInfo get(GetQualityMonitorRequest getQualityMonitorRequest); /** - * Get refresh. - * - *

Gets info about a specific monitor refresh using the given refresh ID. + * Gets info about a specific monitor refresh using the given refresh ID. * *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -96,9 +86,7 @@ public interface QualityMonitorsService { MonitorRefreshInfo getRefresh(GetRefreshRequest getRefreshRequest); /** - * List refreshes. - * - *

Gets an array containing the history of the most recent refreshes (up to 25) for this table. + * Gets an array containing the history of the most recent refreshes (up to 25) for this table. * *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -110,9 +98,7 @@ public interface QualityMonitorsService { MonitorRefreshListResponse listRefreshes(ListRefreshesRequest listRefreshesRequest); /** - * Regenerate a monitoring dashboard. - * - *

Regenerates the monitoring dashboard for the specified table. + * Regenerates the monitoring dashboard for the specified table. * *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -126,10 +112,8 @@ RegenerateDashboardResponse regenerateDashboard( RegenerateDashboardRequest regenerateDashboardRequest); /** - * Queue a metric refresh for a monitor. - * - *

Queues a metric refresh on the monitor for the specified table. The refresh will execute in - * the background. + * Queues a metric refresh on the monitor for the specified table. The refresh will execute in the + * background. * *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -141,9 +125,7 @@ RegenerateDashboardResponse regenerateDashboard( MonitorRefreshInfo runRefresh(RunRefreshRequest runRefreshRequest); /** - * Update a table monitor. - * - *

Updates a monitor for the specified table. + * Updates a monitor for the specified table. * *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ReadVolumeRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ReadVolumeRequest.java index db3ff1835..671861277 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ReadVolumeRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ReadVolumeRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a Volume */ @Generated public class ReadVolumeRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelsAPI.java index 9c17899de..22c7ba7e5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelsAPI.java @@ -58,9 +58,7 @@ public RegisteredModelInfo create(String catalogName, String schemaName, String } /** - * Create a Registered Model. - * - *

Creates a new registered model in Unity Catalog. + * Creates a new registered model in Unity Catalog. * *

File storage for model versions in the registered model will be located in the default * location which is specified by the parent schema, or the parent catalog, or the Metastore. @@ -80,9 +78,7 @@ public void delete(String fullName) { } /** - * Delete a Registered Model. - * - *

Deletes a registered model and all its model versions from the specified parent catalog and + * Deletes a registered model and all its model versions from the specified parent catalog and * schema. * *

The caller must be a metastore admin or an owner of the registered model. For the latter @@ -98,9 +94,7 @@ public void deleteAlias(String fullName, String alias) { } /** - * Delete a Registered Model Alias. - * - *

Deletes a registered model alias. + * Deletes a registered model alias. * *

The caller must be a metastore admin or an owner of the registered model. For the latter * case, the caller must also be the owner or have the **USE_CATALOG** privilege on the parent @@ -115,9 +109,7 @@ public RegisteredModelInfo get(String fullName) { } /** - * Get a Registered Model. - * - *

Get a registered model. + * Get a registered model. * *

The caller must be a metastore admin or an owner of (or have the **EXECUTE** privilege on) * the registered model. For the latter case, the caller must also be the owner or have the @@ -129,10 +121,8 @@ public RegisteredModelInfo get(GetRegisteredModelRequest request) { } /** - * List Registered Models. - * - *

List registered models. You can list registered models under a particular schema, or list - * all registered models in the current metastore. + * List registered models. You can list registered models under a particular schema, or list all + * registered models in the current metastore. * *

The returned models are filtered based on the privileges of the calling user. For example, * the metastore admin is able to list all the registered models. A regular user needs to be the @@ -166,9 +156,7 @@ public RegisteredModelAlias setAlias(String fullName, String alias, long version } /** - * Set a Registered Model Alias. - * - *

Set an alias on the specified registered model. + * Set an alias on the specified registered model. * *

The caller must be a metastore admin or an owner of the registered model. For the latter * case, the caller must also be the owner or have the **USE_CATALOG** privilege on the parent @@ -183,9 +171,7 @@ public RegisteredModelInfo update(String fullName) { } /** - * Update a Registered Model. - * - *

Updates the specified registered model. + * Updates the specified registered model. * *

The caller must be a metastore admin or an owner of the registered model. For the latter * case, the caller must also be the owner or have the **USE_CATALOG** privilege on the parent diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelsService.java index c8027d806..a03772d04 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelsService.java @@ -36,9 +36,7 @@ @Generated public interface RegisteredModelsService { /** - * Create a Registered Model. - * - *

Creates a new registered model in Unity Catalog. + * Creates a new registered model in Unity Catalog. * *

File storage for model versions in the registered model will be located in the default * location which is specified by the parent schema, or the parent catalog, or the Metastore. @@ -52,9 +50,7 @@ public interface RegisteredModelsService { RegisteredModelInfo create(CreateRegisteredModelRequest createRegisteredModelRequest); /** - * Delete a Registered Model. - * - *

Deletes a registered model and all its model versions from the specified parent catalog and + * Deletes a registered model and all its model versions from the specified parent catalog and * schema. * *

The caller must be a metastore admin or an owner of the registered model. For the latter @@ -64,9 +60,7 @@ public interface RegisteredModelsService { void delete(DeleteRegisteredModelRequest deleteRegisteredModelRequest); /** - * Delete a Registered Model Alias. - * - *

Deletes a registered model alias. + * Deletes a registered model alias. * *

The caller must be a metastore admin or an owner of the registered model. For the latter * case, the caller must also be the owner or have the **USE_CATALOG** privilege on the parent @@ -75,9 +69,7 @@ public interface RegisteredModelsService { void deleteAlias(DeleteAliasRequest deleteAliasRequest); /** - * Get a Registered Model. - * - *

Get a registered model. + * Get a registered model. * *

The caller must be a metastore admin or an owner of (or have the **EXECUTE** privilege on) * the registered model. For the latter case, the caller must also be the owner or have the @@ -87,10 +79,8 @@ public interface RegisteredModelsService { RegisteredModelInfo get(GetRegisteredModelRequest getRegisteredModelRequest); /** - * List Registered Models. - * - *

List registered models. You can list registered models under a particular schema, or list - * all registered models in the current metastore. + * List registered models. You can list registered models under a particular schema, or list all + * registered models in the current metastore. * *

The returned models are filtered based on the privileges of the calling user. For example, * the metastore admin is able to list all the registered models. A regular user needs to be the @@ -104,9 +94,7 @@ public interface RegisteredModelsService { ListRegisteredModelsResponse list(ListRegisteredModelsRequest listRegisteredModelsRequest); /** - * Set a Registered Model Alias. - * - *

Set an alias on the specified registered model. + * Set an alias on the specified registered model. * *

The caller must be a metastore admin or an owner of the registered model. For the latter * case, the caller must also be the owner or have the **USE_CATALOG** privilege on the parent @@ -115,9 +103,7 @@ public interface RegisteredModelsService { RegisteredModelAlias setAlias(SetRegisteredModelAliasRequest setRegisteredModelAliasRequest); /** - * Update a Registered Model. - * - *

Updates the specified registered model. + * Updates the specified registered model. * *

The caller must be a metastore admin or an owner of the registered model. For the latter * case, the caller must also be the owner or have the **USE_CATALOG** privilege on the parent diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ResourceQuotasAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ResourceQuotasAPI.java index 4dd5da2db..cb47b73c9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ResourceQuotasAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ResourceQuotasAPI.java @@ -43,9 +43,7 @@ public GetQuotaResponse getQuota( } /** - * Get information for a single resource quota. - * - *

The GetQuota API returns usage information for a single resource quota, defined as a + * The GetQuota API returns usage information for a single resource quota, defined as a * child-parent pair. This API also refreshes the quota count if it is out of date. Refreshes are * triggered asynchronously. The updated count might not be returned in the first call. */ @@ -54,10 +52,8 @@ public GetQuotaResponse getQuota(GetQuotaRequest request) { } /** - * List all resource quotas under a metastore. - * - *

ListQuotas returns all quota values under the metastore. There are no SLAs on the freshness - * of the counts returned. This API does not trigger a refresh of quota counts. + * ListQuotas returns all quota values under the metastore. There are no SLAs on the freshness of + * the counts returned. This API does not trigger a refresh of quota counts. */ public Iterable listQuotas(ListQuotasRequest request) { return new Paginator<>( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ResourceQuotasService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ResourceQuotasService.java index f524288a4..920bbb5e5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ResourceQuotasService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ResourceQuotasService.java @@ -20,19 +20,15 @@ @Generated public interface ResourceQuotasService { /** - * Get information for a single resource quota. - * - *

The GetQuota API returns usage information for a single resource quota, defined as a + * The GetQuota API returns usage information for a single resource quota, defined as a * child-parent pair. This API also refreshes the quota count if it is out of date. Refreshes are * triggered asynchronously. The updated count might not be returned in the first call. */ GetQuotaResponse getQuota(GetQuotaRequest getQuotaRequest); /** - * List all resource quotas under a metastore. - * - *

ListQuotas returns all quota values under the metastore. There are no SLAs on the freshness - * of the counts returned. This API does not trigger a refresh of quota counts. + * ListQuotas returns all quota values under the metastore. There are no SLAs on the freshness of + * the counts returned. This API does not trigger a refresh of quota counts. */ ListQuotasResponse listQuotas(ListQuotasRequest listQuotasRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RunRefreshRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RunRefreshRequest.java index de17a87b5..60ab501e5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RunRefreshRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RunRefreshRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Queue a metric refresh for a monitor */ @Generated public class RunRefreshRequest { /** Full name of the table. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasAPI.java index acaa88214..803d504c1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasAPI.java @@ -34,10 +34,8 @@ public SchemaInfo create(String name, String catalogName) { } /** - * Create a schema. - * - *

Creates a new schema for catalog in the Metatastore. The caller must be a metastore admin, - * or have the **CREATE_SCHEMA** privilege in the parent catalog. + * Creates a new schema for catalog in the Metatastore. The caller must be a metastore admin, or + * have the **CREATE_SCHEMA** privilege in the parent catalog. */ public SchemaInfo create(CreateSchema request) { return impl.create(request); @@ -48,9 +46,7 @@ public void delete(String fullName) { } /** - * Delete a schema. - * - *

Deletes the specified schema from the parent catalog. The caller must be the owner of the + * Deletes the specified schema from the parent catalog. The caller must be the owner of the * schema or an owner of the parent catalog. */ public void delete(DeleteSchemaRequest request) { @@ -62,10 +58,8 @@ public SchemaInfo get(String fullName) { } /** - * Get a schema. - * - *

Gets the specified schema within the metastore. The caller must be a metastore admin, the - * owner of the schema, or a user that has the **USE_SCHEMA** privilege on the schema. + * Gets the specified schema within the metastore. The caller must be a metastore admin, the owner + * of the schema, or a user that has the **USE_SCHEMA** privilege on the schema. */ public SchemaInfo get(GetSchemaRequest request) { return impl.get(request); @@ -76,13 +70,10 @@ public Iterable list(String catalogName) { } /** - * List schemas. - * - *

Gets an array of schemas for a catalog in the metastore. If the caller is the metastore - * admin or the owner of the parent catalog, all schemas for the catalog will be retrieved. - * Otherwise, only schemas owned by the caller (or for which the caller has the **USE_SCHEMA** - * privilege) will be retrieved. There is no guarantee of a specific ordering of the elements in - * the array. + * Gets an array of schemas for a catalog in the metastore. If the caller is the metastore admin + * or the owner of the parent catalog, all schemas for the catalog will be retrieved. Otherwise, + * only schemas owned by the caller (or for which the caller has the **USE_SCHEMA** privilege) + * will be retrieved. There is no guarantee of a specific ordering of the elements in the array. */ public Iterable list(ListSchemasRequest request) { return new Paginator<>( @@ -103,9 +94,7 @@ public SchemaInfo update(String fullName) { } /** - * Update a schema. - * - *

Updates a schema for a catalog. The caller must be the owner of the schema or a metastore + * Updates a schema for a catalog. The caller must be the owner of the schema or a metastore * admin. If the caller is a metastore admin, only the __owner__ field can be changed in the * update. If the __name__ field must be updated, the caller must be a metastore admin or have the * **CREATE_SCHEMA** privilege on the parent catalog. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasService.java index e18efa0d8..816ed12fa 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasService.java @@ -16,44 +16,33 @@ @Generated public interface SchemasService { /** - * Create a schema. - * - *

Creates a new schema for catalog in the Metatastore. The caller must be a metastore admin, - * or have the **CREATE_SCHEMA** privilege in the parent catalog. + * Creates a new schema for catalog in the Metatastore. The caller must be a metastore admin, or + * have the **CREATE_SCHEMA** privilege in the parent catalog. */ SchemaInfo create(CreateSchema createSchema); /** - * Delete a schema. - * - *

Deletes the specified schema from the parent catalog. The caller must be the owner of the + * Deletes the specified schema from the parent catalog. The caller must be the owner of the * schema or an owner of the parent catalog. */ void delete(DeleteSchemaRequest deleteSchemaRequest); /** - * Get a schema. - * - *

Gets the specified schema within the metastore. The caller must be a metastore admin, the - * owner of the schema, or a user that has the **USE_SCHEMA** privilege on the schema. + * Gets the specified schema within the metastore. The caller must be a metastore admin, the owner + * of the schema, or a user that has the **USE_SCHEMA** privilege on the schema. */ SchemaInfo get(GetSchemaRequest getSchemaRequest); /** - * List schemas. - * - *

Gets an array of schemas for a catalog in the metastore. If the caller is the metastore - * admin or the owner of the parent catalog, all schemas for the catalog will be retrieved. - * Otherwise, only schemas owned by the caller (or for which the caller has the **USE_SCHEMA** - * privilege) will be retrieved. There is no guarantee of a specific ordering of the elements in - * the array. + * Gets an array of schemas for a catalog in the metastore. If the caller is the metastore admin + * or the owner of the parent catalog, all schemas for the catalog will be retrieved. Otherwise, + * only schemas owned by the caller (or for which the caller has the **USE_SCHEMA** privilege) + * will be retrieved. There is no guarantee of a specific ordering of the elements in the array. */ ListSchemasResponse list(ListSchemasRequest listSchemasRequest); /** - * Update a schema. - * - *

Updates a schema for a catalog. The caller must be the owner of the schema or a metastore + * Updates a schema for a catalog. The caller must be the owner of the schema or a metastore * admin. If the caller is a metastore admin, only the __owner__ field can be changed in the * update. If the __name__ field must be updated, the caller must be a metastore admin or have the * **CREATE_SCHEMA** privilege on the parent catalog. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableKind.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableKind.java new file mode 100755 index 000000000..d4bdc219e --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableKind.java @@ -0,0 +1,68 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.catalog; + +import com.databricks.sdk.support.Generated; + +@Generated +public enum SecurableKind { + TABLE_DB_STORAGE, + TABLE_DELTA, + TABLE_DELTASHARING, + TABLE_DELTASHARING_MUTABLE, + TABLE_DELTA_EXTERNAL, + TABLE_DELTA_ICEBERG_MANAGED, + TABLE_DELTA_UNIFORM_HUDI_EXTERNAL, + TABLE_DELTA_UNIFORM_ICEBERG_EXTERNAL, + TABLE_DELTA_UNIFORM_ICEBERG_FOREIGN_HIVE_METASTORE_EXTERNAL, + TABLE_DELTA_UNIFORM_ICEBERG_FOREIGN_HIVE_METASTORE_MANAGED, + TABLE_DELTA_UNIFORM_ICEBERG_FOREIGN_SNOWFLAKE, + TABLE_EXTERNAL, + TABLE_FEATURE_STORE, + TABLE_FEATURE_STORE_EXTERNAL, + TABLE_FOREIGN_BIGQUERY, + TABLE_FOREIGN_DATABRICKS, + TABLE_FOREIGN_DELTASHARING, + TABLE_FOREIGN_HIVE_METASTORE, + TABLE_FOREIGN_HIVE_METASTORE_DBFS_EXTERNAL, + TABLE_FOREIGN_HIVE_METASTORE_DBFS_MANAGED, + TABLE_FOREIGN_HIVE_METASTORE_DBFS_SHALLOW_CLONE_EXTERNAL, + TABLE_FOREIGN_HIVE_METASTORE_DBFS_SHALLOW_CLONE_MANAGED, + TABLE_FOREIGN_HIVE_METASTORE_DBFS_VIEW, + TABLE_FOREIGN_HIVE_METASTORE_EXTERNAL, + TABLE_FOREIGN_HIVE_METASTORE_MANAGED, + TABLE_FOREIGN_HIVE_METASTORE_SHALLOW_CLONE_EXTERNAL, + TABLE_FOREIGN_HIVE_METASTORE_SHALLOW_CLONE_MANAGED, + TABLE_FOREIGN_HIVE_METASTORE_VIEW, + TABLE_FOREIGN_MONGODB, + TABLE_FOREIGN_MYSQL, + TABLE_FOREIGN_NETSUITE, + TABLE_FOREIGN_ORACLE, + TABLE_FOREIGN_POSTGRESQL, + TABLE_FOREIGN_REDSHIFT, + TABLE_FOREIGN_SALESFORCE, + TABLE_FOREIGN_SALESFORCE_DATA_CLOUD, + TABLE_FOREIGN_SALESFORCE_DATA_CLOUD_FILE_SHARING, + TABLE_FOREIGN_SALESFORCE_DATA_CLOUD_FILE_SHARING_VIEW, + TABLE_FOREIGN_SNOWFLAKE, + TABLE_FOREIGN_SQLDW, + TABLE_FOREIGN_SQLSERVER, + TABLE_FOREIGN_TERADATA, + TABLE_FOREIGN_WORKDAY_RAAS, + TABLE_ICEBERG_UNIFORM_MANAGED, + TABLE_INTERNAL, + TABLE_MANAGED_POSTGRESQL, + TABLE_MATERIALIZED_VIEW, + TABLE_MATERIALIZED_VIEW_DELTASHARING, + TABLE_METRIC_VIEW, + TABLE_ONLINE_VECTOR_INDEX_DIRECT, + TABLE_ONLINE_VECTOR_INDEX_REPLICA, + TABLE_ONLINE_VIEW, + TABLE_STANDARD, + TABLE_STREAMING_LIVE_TABLE, + TABLE_STREAMING_LIVE_TABLE_DELTASHARING, + TABLE_SYSTEM, + TABLE_SYSTEM_DELTASHARING, + TABLE_VIEW, + TABLE_VIEW_DELTASHARING, +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableKindManifest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableKindManifest.java new file mode 100755 index 000000000..450be090d --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableKindManifest.java @@ -0,0 +1,143 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.catalog; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Collection; +import java.util.Objects; + +/** Manifest of a specific securable kind. */ +@Generated +public class SecurableKindManifest { + /** A list of allowed option names, consistent with the 'options' field. */ + @JsonProperty("allowedOptions") + private Collection allowedOptions; + + /** Privileges that can be assigned to the securable. */ + @JsonProperty("assignable_privileges") + private Collection assignablePrivileges; + + /** A list of capabilities in the securable kind. */ + @JsonProperty("capabilities") + private Collection capabilities; + + /** Detailed specs of allowed options. */ + @JsonProperty("options") + private Collection options; + + /** A list of required option names, consistent with the 'options' field. */ + @JsonProperty("requiredOptions") + private Collection requiredOptions; + + /** Securable kind to get manifest of. */ + @JsonProperty("securable_kind") + private SecurableKind securableKind; + + /** Securable Type of the kind. */ + @JsonProperty("securable_type") + private SecurableType securableType; + + public SecurableKindManifest setAllowedOptions(Collection allowedOptions) { + this.allowedOptions = allowedOptions; + return this; + } + + public Collection getAllowedOptions() { + return allowedOptions; + } + + public SecurableKindManifest setAssignablePrivileges(Collection assignablePrivileges) { + this.assignablePrivileges = assignablePrivileges; + return this; + } + + public Collection getAssignablePrivileges() { + return assignablePrivileges; + } + + public SecurableKindManifest setCapabilities(Collection capabilities) { + this.capabilities = capabilities; + return this; + } + + public Collection getCapabilities() { + return capabilities; + } + + public SecurableKindManifest setOptions(Collection options) { + this.options = options; + return this; + } + + public Collection getOptions() { + return options; + } + + public SecurableKindManifest setRequiredOptions(Collection requiredOptions) { + this.requiredOptions = requiredOptions; + return this; + } + + public Collection getRequiredOptions() { + return requiredOptions; + } + + public SecurableKindManifest setSecurableKind(SecurableKind securableKind) { + this.securableKind = securableKind; + return this; + } + + public SecurableKind getSecurableKind() { + return securableKind; + } + + public SecurableKindManifest setSecurableType(SecurableType securableType) { + this.securableType = securableType; + return this; + } + + public SecurableType getSecurableType() { + return securableType; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + SecurableKindManifest that = (SecurableKindManifest) o; + return Objects.equals(allowedOptions, that.allowedOptions) + && Objects.equals(assignablePrivileges, that.assignablePrivileges) + && Objects.equals(capabilities, that.capabilities) + && Objects.equals(options, that.options) + && Objects.equals(requiredOptions, that.requiredOptions) + && Objects.equals(securableKind, that.securableKind) + && Objects.equals(securableType, that.securableType); + } + + @Override + public int hashCode() { + return Objects.hash( + allowedOptions, + assignablePrivileges, + capabilities, + options, + requiredOptions, + securableKind, + securableType); + } + + @Override + public String toString() { + return new ToStringer(SecurableKindManifest.class) + .add("allowedOptions", allowedOptions) + .add("assignablePrivileges", assignablePrivileges) + .add("capabilities", capabilities) + .add("options", options) + .add("requiredOptions", requiredOptions) + .add("securableKind", securableKind) + .add("securableType", securableType) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableType.java index eadc6dfa3..8d22a3118 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableType.java @@ -23,6 +23,5 @@ public enum SecurableType { STAGING_TABLE, STORAGE_CREDENTIAL, TABLE, - UNKNOWN_SECURABLE_TYPE, VOLUME, } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialInfo.java index b3d32add0..4ea241418 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialInfo.java @@ -29,7 +29,7 @@ public class StorageCredentialInfo { @JsonProperty("comment") private String comment; - /** Time at which this Credential was created, in epoch milliseconds. */ + /** Time at which this credential was created, in epoch milliseconds. */ @JsonProperty("created_at") private Long createdAt; @@ -49,15 +49,21 @@ public class StorageCredentialInfo { @JsonProperty("id") private String id; - /** */ + /** + * Whether the current securable is accessible from all workspaces or a specific set of + * workspaces. + */ @JsonProperty("isolation_mode") private IsolationMode isolationMode; - /** Unique identifier of parent metastore. */ + /** Unique identifier of the parent metastore. */ @JsonProperty("metastore_id") private String metastoreId; - /** The credential name. The name must be unique within the metastore. */ + /** + * The credential name. The name must be unique among storage and service credentials within the + * metastore. + */ @JsonProperty("name") private String name; @@ -65,7 +71,10 @@ public class StorageCredentialInfo { @JsonProperty("owner") private String owner; - /** Whether the storage credential is only usable for read operations. */ + /** + * Whether the credential is usable only for read operations. Only applicable when purpose is + * **STORAGE**. + */ @JsonProperty("read_only") private Boolean readOnly; @@ -77,7 +86,10 @@ public class StorageCredentialInfo { @JsonProperty("updated_by") private String updatedBy; - /** Whether this credential is the current metastore's root storage credential. */ + /** + * Whether this credential is the current metastore's root storage credential. Only applicable + * when purpose is **STORAGE**. + */ @JsonProperty("used_for_managed_storage") private Boolean usedForManagedStorage; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsAPI.java index 61a532e2e..ed125c661 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsAPI.java @@ -41,9 +41,10 @@ public StorageCredentialInfo create(String name) { } /** - * Create a storage credential. + * Creates a new storage credential. * - *

Creates a new storage credential. + *

The caller must be a metastore admin or have the **CREATE_STORAGE_CREDENTIAL** privilege on + * the metastore. */ public StorageCredentialInfo create(CreateStorageCredential request) { return impl.create(request); @@ -54,9 +55,7 @@ public void delete(String name) { } /** - * Delete a credential. - * - *

Deletes a storage credential from the metastore. The caller must be an owner of the storage + * Deletes a storage credential from the metastore. The caller must be an owner of the storage * credential. */ public void delete(DeleteStorageCredentialRequest request) { @@ -68,28 +67,20 @@ public StorageCredentialInfo get(String name) { } /** - * Get a credential. - * - *

Gets a storage credential from the metastore. The caller must be a metastore admin, the - * owner of the storage credential, or have some permission on the storage credential. + * Gets a storage credential from the metastore. The caller must be a metastore admin, the owner + * of the storage credential, or have some permission on the storage credential. */ public StorageCredentialInfo get(GetStorageCredentialRequest request) { return impl.get(request); } /** - * List credentials. - * - *

Gets an array of storage credentials (as __StorageCredentialInfo__ objects). The array is + * Gets an array of storage credentials (as __StorageCredentialInfo__ objects). The array is * limited to only those storage credentials the caller has permission to access. If the caller is * a metastore admin, retrieval of credentials is unrestricted. There is no guarantee of a * specific ordering of the elements in the array. */ public Iterable list(ListStorageCredentialsRequest request) { - - if (request.getMaxResults() == null) { - request.setMaxResults(0L); - } return new Paginator<>( request, impl::list, @@ -108,20 +99,19 @@ public StorageCredentialInfo update(String name) { } /** - * Update a credential. + * Updates a storage credential on the metastore. * - *

Updates a storage credential on the metastore. + *

The caller must be the owner of the storage credential or a metastore admin. If the caller + * is a metastore admin, only the **owner** field can be changed. */ public StorageCredentialInfo update(UpdateStorageCredential request) { return impl.update(request); } /** - * Validate a storage credential. - * - *

Validates a storage credential. At least one of __external_location_name__ and __url__ need - * to be provided. If only one of them is provided, it will be used for validation. And if both - * are provided, the __url__ will be used for validation, and __external_location_name__ will be + * Validates a storage credential. At least one of __external_location_name__ and __url__ need to + * be provided. If only one of them is provided, it will be used for validation. And if both are + * provided, the __url__ will be used for validation, and __external_location_name__ will be * ignored when checking overlapping urls. * *

Either the __storage_credential_name__ or the cloud-specific credential must be provided. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsService.java index 23af9af76..b403f3e83 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsService.java @@ -23,32 +23,27 @@ @Generated public interface StorageCredentialsService { /** - * Create a storage credential. + * Creates a new storage credential. * - *

Creates a new storage credential. + *

The caller must be a metastore admin or have the **CREATE_STORAGE_CREDENTIAL** privilege on + * the metastore. */ StorageCredentialInfo create(CreateStorageCredential createStorageCredential); /** - * Delete a credential. - * - *

Deletes a storage credential from the metastore. The caller must be an owner of the storage + * Deletes a storage credential from the metastore. The caller must be an owner of the storage * credential. */ void delete(DeleteStorageCredentialRequest deleteStorageCredentialRequest); /** - * Get a credential. - * - *

Gets a storage credential from the metastore. The caller must be a metastore admin, the - * owner of the storage credential, or have some permission on the storage credential. + * Gets a storage credential from the metastore. The caller must be a metastore admin, the owner + * of the storage credential, or have some permission on the storage credential. */ StorageCredentialInfo get(GetStorageCredentialRequest getStorageCredentialRequest); /** - * List credentials. - * - *

Gets an array of storage credentials (as __StorageCredentialInfo__ objects). The array is + * Gets an array of storage credentials (as __StorageCredentialInfo__ objects). The array is * limited to only those storage credentials the caller has permission to access. If the caller is * a metastore admin, retrieval of credentials is unrestricted. There is no guarantee of a * specific ordering of the elements in the array. @@ -56,18 +51,17 @@ public interface StorageCredentialsService { ListStorageCredentialsResponse list(ListStorageCredentialsRequest listStorageCredentialsRequest); /** - * Update a credential. + * Updates a storage credential on the metastore. * - *

Updates a storage credential on the metastore. + *

The caller must be the owner of the storage credential or a metastore admin. If the caller + * is a metastore admin, only the **owner** field can be changed. */ StorageCredentialInfo update(UpdateStorageCredential updateStorageCredential); /** - * Validate a storage credential. - * - *

Validates a storage credential. At least one of __external_location_name__ and __url__ need - * to be provided. If only one of them is provided, it will be used for validation. And if both - * are provided, the __url__ will be used for validation, and __external_location_name__ will be + * Validates a storage credential. At least one of __external_location_name__ and __url__ need to + * be provided. If only one of them is provided, it will be used for validation. And if both are + * provided, the __url__ will be used for validation, and __external_location_name__ will be * ignored when checking overlapping urls. * *

Either the __storage_credential_name__ or the cloud-specific credential must be provided. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemasAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemasAPI.java index 605036b9e..17fcaa1a9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemasAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemasAPI.java @@ -33,9 +33,7 @@ public void disable(String metastoreId, String schemaName) { } /** - * Disable a system schema. - * - *

Disables the system schema and removes it from the system catalog. The caller must be an + * Disables the system schema and removes it from the system catalog. The caller must be an * account admin or a metastore admin. */ public void disable(DisableRequest request) { @@ -47,9 +45,7 @@ public void enable(String metastoreId, String schemaName) { } /** - * Enable a system schema. - * - *

Enables the system schema and adds it to the system catalog. The caller must be an account + * Enables the system schema and adds it to the system catalog. The caller must be an account * admin or a metastore admin. */ public void enable(EnableRequest request) { @@ -61,9 +57,7 @@ public Iterable list(String metastoreId) { } /** - * List system schemas. - * - *

Gets an array of system schemas for a metastore. The caller must be an account admin or a + * Gets an array of system schemas for a metastore. The caller must be an account admin or a * metastore admin. */ public Iterable list(ListSystemSchemasRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemasService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemasService.java index 793463c01..01ce9aa13 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemasService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemasService.java @@ -15,25 +15,19 @@ @Generated public interface SystemSchemasService { /** - * Disable a system schema. - * - *

Disables the system schema and removes it from the system catalog. The caller must be an + * Disables the system schema and removes it from the system catalog. The caller must be an * account admin or a metastore admin. */ void disable(DisableRequest disableRequest); /** - * Enable a system schema. - * - *

Enables the system schema and adds it to the system catalog. The caller must be an account + * Enables the system schema and adds it to the system catalog. The caller must be an account * admin or a metastore admin. */ void enable(EnableRequest enableRequest); /** - * List system schemas. - * - *

Gets an array of system schemas for a metastore. The caller must be an account admin or a + * Gets an array of system schemas for a metastore. The caller must be an account admin or a * metastore admin. */ ListSystemSchemasResponse list(ListSystemSchemasRequest listSystemSchemasRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsAPI.java index 2368e848b..4250c5b14 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsAPI.java @@ -40,9 +40,7 @@ public TableConstraint create(String fullNameArg, TableConstraint constraint) { } /** - * Create a table constraint. - * - *

Creates a new table constraint. + * Creates a new table constraint. * *

For the table constraint creation to succeed, the user must satisfy both of these * conditions: - the user must have the **USE_CATALOG** privilege on the table's parent catalog, @@ -64,9 +62,7 @@ public void delete(String fullName, String constraintName, boolean cascade) { } /** - * Delete a table constraint. - * - *

Deletes a table constraint. + * Deletes a table constraint. * *

For the table constraint deletion to succeed, the user must satisfy both of these * conditions: - the user must have the **USE_CATALOG** privilege on the table's parent catalog, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsService.java index ee1d7c9c6..9fb50719c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsService.java @@ -22,9 +22,7 @@ @Generated public interface TableConstraintsService { /** - * Create a table constraint. - * - *

Creates a new table constraint. + * Creates a new table constraint. * *

For the table constraint creation to succeed, the user must satisfy both of these * conditions: - the user must have the **USE_CATALOG** privilege on the table's parent catalog, @@ -36,9 +34,7 @@ public interface TableConstraintsService { TableConstraint create(CreateTableConstraint createTableConstraint); /** - * Delete a table constraint. - * - *

Deletes a table constraint. + * Deletes a table constraint. * *

For the table constraint deletion to succeed, the user must satisfy both of these * conditions: - the user must have the **USE_CATALOG** privilege on the table's parent catalog, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableInfo.java index 94c4d8abf..02fc9066e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableInfo.java @@ -108,6 +108,10 @@ public class TableInfo { @JsonProperty("schema_name") private String schemaName; + /** SecurableKindManifest of table, including capabilities the table has. */ + @JsonProperty("securable_kind_manifest") + private SecurableKindManifest securableKindManifest; + /** List of schemes whose objects can be referenced without qualification. */ @JsonProperty("sql_path") private String sqlPath; @@ -119,7 +123,7 @@ public class TableInfo { @JsonProperty("storage_credential_name") private String storageCredentialName; - /** Storage root URL for table (for **MANAGED**, **EXTERNAL** tables) */ + /** Storage root URL for table (for **MANAGED**, **EXTERNAL** tables). */ @JsonProperty("storage_location") private String storageLocation; @@ -362,6 +366,15 @@ public String getSchemaName() { return schemaName; } + public TableInfo setSecurableKindManifest(SecurableKindManifest securableKindManifest) { + this.securableKindManifest = securableKindManifest; + return this; + } + + public SecurableKindManifest getSecurableKindManifest() { + return securableKindManifest; + } + public TableInfo setSqlPath(String sqlPath) { this.sqlPath = sqlPath; return this; @@ -480,6 +493,7 @@ public boolean equals(Object o) { && Objects.equals(properties, that.properties) && Objects.equals(rowFilter, that.rowFilter) && Objects.equals(schemaName, that.schemaName) + && Objects.equals(securableKindManifest, that.securableKindManifest) && Objects.equals(sqlPath, that.sqlPath) && Objects.equals(storageCredentialName, that.storageCredentialName) && Objects.equals(storageLocation, that.storageLocation) @@ -517,6 +531,7 @@ public int hashCode() { properties, rowFilter, schemaName, + securableKindManifest, sqlPath, storageCredentialName, storageLocation, @@ -554,6 +569,7 @@ public String toString() { .add("properties", properties) .add("rowFilter", rowFilter) .add("schemaName", schemaName) + .add("securableKindManifest", securableKindManifest) .add("sqlPath", sqlPath) .add("storageCredentialName", storageCredentialName) .add("storageLocation", storageLocation) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableSummary.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableSummary.java index ea7c14e18..515394c42 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableSummary.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableSummary.java @@ -13,6 +13,10 @@ public class TableSummary { @JsonProperty("full_name") private String fullName; + /** SecurableKindManifest of table, including capabilities the table has. */ + @JsonProperty("securable_kind_manifest") + private SecurableKindManifest securableKindManifest; + /** */ @JsonProperty("table_type") private TableType tableType; @@ -26,6 +30,15 @@ public String getFullName() { return fullName; } + public TableSummary setSecurableKindManifest(SecurableKindManifest securableKindManifest) { + this.securableKindManifest = securableKindManifest; + return this; + } + + public SecurableKindManifest getSecurableKindManifest() { + return securableKindManifest; + } + public TableSummary setTableType(TableType tableType) { this.tableType = tableType; return this; @@ -40,18 +53,21 @@ public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; TableSummary that = (TableSummary) o; - return Objects.equals(fullName, that.fullName) && Objects.equals(tableType, that.tableType); + return Objects.equals(fullName, that.fullName) + && Objects.equals(securableKindManifest, that.securableKindManifest) + && Objects.equals(tableType, that.tableType); } @Override public int hashCode() { - return Objects.hash(fullName, tableType); + return Objects.hash(fullName, securableKindManifest, tableType); } @Override public String toString() { return new ToStringer(TableSummary.class) .add("fullName", fullName) + .add("securableKindManifest", securableKindManifest) .add("tableType", tableType) .toString(); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableType.java index f95dd9cfd..f92dc17ef 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableType.java @@ -12,6 +12,7 @@ public enum TableType { MANAGED, MANAGED_SHALLOW_CLONE, MATERIALIZED_VIEW, + METRIC_VIEW, STREAMING_TABLE, VIEW, } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesAPI.java index 620144b8e..d95e94e80 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesAPI.java @@ -38,12 +38,10 @@ public void delete(String fullName) { } /** - * Delete a table. - * - *

Deletes a table from the specified parent catalog and schema. The caller must be the owner - * of the parent catalog, have the **USE_CATALOG** privilege on the parent catalog and be the - * owner of the parent schema, or be the owner of the table and have the **USE_CATALOG** privilege - * on the parent catalog and the **USE_SCHEMA** privilege on the parent schema. + * Deletes a table from the specified parent catalog and schema. The caller must be the owner of + * the parent catalog, have the **USE_CATALOG** privilege on the parent catalog and be the owner + * of the parent schema, or be the owner of the table and have the **USE_CATALOG** privilege on + * the parent catalog and the **USE_SCHEMA** privilege on the parent schema. */ public void delete(DeleteTableRequest request) { impl.delete(request); @@ -54,9 +52,7 @@ public TableExistsResponse exists(String fullName) { } /** - * Get boolean reflecting if table exists. - * - *

Gets if a table exists in the metastore for a specific catalog and schema. The caller must + * Gets if a table exists in the metastore for a specific catalog and schema. The caller must * satisfy one of the following requirements: * Be a metastore admin * Be the owner of the parent * catalog * Be the owner of the parent schema and have the USE_CATALOG privilege on the parent * catalog * Have the **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** @@ -73,13 +69,11 @@ public TableInfo get(String fullName) { } /** - * Get a table. - * - *

Gets a table from the metastore for a specific catalog and schema. The caller must satisfy - * one of the following requirements: * Be a metastore admin * Be the owner of the parent catalog - * * Be the owner of the parent schema and have the USE_CATALOG privilege on the parent catalog * - * Have the **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on - * the parent schema, and either be the table owner or have the SELECT privilege on the table. + * Gets a table from the metastore for a specific catalog and schema. The caller must satisfy one + * of the following requirements: * Be a metastore admin * Be the owner of the parent catalog * Be + * the owner of the parent schema and have the USE_CATALOG privilege on the parent catalog * Have + * the **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the + * parent schema, and either be the table owner or have the SELECT privilege on the table. */ public TableInfo get(GetTableRequest request) { return impl.get(request); @@ -90,19 +84,13 @@ public Iterable list(String catalogName, String schemaName) { } /** - * List tables. - * - *

Gets an array of all tables for the current metastore under the parent catalog and schema. - * The caller must be a metastore admin or an owner of (or have the **SELECT** privilege on) the + * Gets an array of all tables for the current metastore under the parent catalog and schema. The + * caller must be a metastore admin or an owner of (or have the **SELECT** privilege on) the * table. For the latter case, the caller must also be the owner or have the **USE_CATALOG** * privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent schema. There is * no guarantee of a specific ordering of the elements in the array. */ public Iterable list(ListTablesRequest request) { - - if (request.getMaxResults() == null) { - request.setMaxResults(0L); - } return new Paginator<>( request, impl::list, @@ -121,10 +109,8 @@ public Iterable listSummaries(String catalogName) { } /** - * List table summaries. - * - *

Gets an array of summaries for tables for a schema and catalog within the metastore. The - * table summaries returned are either: + * Gets an array of summaries for tables for a schema and catalog within the metastore. The table + * summaries returned are either: * *

* summaries for tables (within the current metastore and parent catalog and schema), when * the user is a metastore admin, or: * summaries for tables and schemas (within the current @@ -135,10 +121,6 @@ public Iterable listSummaries(String catalogName) { *

There is no guarantee of a specific ordering of the elements in the array. */ public Iterable listSummaries(ListSummariesRequest request) { - - if (request.getMaxResults() == null) { - request.setMaxResults(0L); - } return new Paginator<>( request, impl::listSummaries, @@ -157,9 +139,7 @@ public void update(String fullName) { } /** - * Update a table owner. - * - *

Change the owner of the table. The caller must be the owner of the parent catalog, have the + * Change the owner of the table. The caller must be the owner of the parent catalog, have the * **USE_CATALOG** privilege on the parent catalog and be the owner of the parent schema, or be * the owner of the table and have the **USE_CATALOG** privilege on the parent catalog and the * **USE_SCHEMA** privilege on the parent schema. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesService.java index 54c506478..1b993a709 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesService.java @@ -20,19 +20,15 @@ @Generated public interface TablesService { /** - * Delete a table. - * - *

Deletes a table from the specified parent catalog and schema. The caller must be the owner - * of the parent catalog, have the **USE_CATALOG** privilege on the parent catalog and be the - * owner of the parent schema, or be the owner of the table and have the **USE_CATALOG** privilege - * on the parent catalog and the **USE_SCHEMA** privilege on the parent schema. + * Deletes a table from the specified parent catalog and schema. The caller must be the owner of + * the parent catalog, have the **USE_CATALOG** privilege on the parent catalog and be the owner + * of the parent schema, or be the owner of the table and have the **USE_CATALOG** privilege on + * the parent catalog and the **USE_SCHEMA** privilege on the parent schema. */ void delete(DeleteTableRequest deleteTableRequest); /** - * Get boolean reflecting if table exists. - * - *

Gets if a table exists in the metastore for a specific catalog and schema. The caller must + * Gets if a table exists in the metastore for a specific catalog and schema. The caller must * satisfy one of the following requirements: * Be a metastore admin * Be the owner of the parent * catalog * Be the owner of the parent schema and have the USE_CATALOG privilege on the parent * catalog * Have the **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** @@ -43,21 +39,17 @@ public interface TablesService { TableExistsResponse exists(ExistsRequest existsRequest); /** - * Get a table. - * - *

Gets a table from the metastore for a specific catalog and schema. The caller must satisfy - * one of the following requirements: * Be a metastore admin * Be the owner of the parent catalog - * * Be the owner of the parent schema and have the USE_CATALOG privilege on the parent catalog * - * Have the **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on - * the parent schema, and either be the table owner or have the SELECT privilege on the table. + * Gets a table from the metastore for a specific catalog and schema. The caller must satisfy one + * of the following requirements: * Be a metastore admin * Be the owner of the parent catalog * Be + * the owner of the parent schema and have the USE_CATALOG privilege on the parent catalog * Have + * the **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the + * parent schema, and either be the table owner or have the SELECT privilege on the table. */ TableInfo get(GetTableRequest getTableRequest); /** - * List tables. - * - *

Gets an array of all tables for the current metastore under the parent catalog and schema. - * The caller must be a metastore admin or an owner of (or have the **SELECT** privilege on) the + * Gets an array of all tables for the current metastore under the parent catalog and schema. The + * caller must be a metastore admin or an owner of (or have the **SELECT** privilege on) the * table. For the latter case, the caller must also be the owner or have the **USE_CATALOG** * privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent schema. There is * no guarantee of a specific ordering of the elements in the array. @@ -65,10 +57,8 @@ public interface TablesService { ListTablesResponse list(ListTablesRequest listTablesRequest); /** - * List table summaries. - * - *

Gets an array of summaries for tables for a schema and catalog within the metastore. The - * table summaries returned are either: + * Gets an array of summaries for tables for a schema and catalog within the metastore. The table + * summaries returned are either: * *

* summaries for tables (within the current metastore and parent catalog and schema), when * the user is a metastore admin, or: * summaries for tables and schemas (within the current @@ -81,9 +71,7 @@ public interface TablesService { ListTableSummariesResponse listSummaries(ListSummariesRequest listSummariesRequest); /** - * Update a table owner. - * - *

Change the owner of the table. The caller must be the owner of the parent catalog, have the + * Change the owner of the table. The caller must be the owner of the parent catalog, have the * **USE_CATALOG** privilege on the parent catalog and be the owner of the parent schema, or be * the owner of the table and have the **USE_CATALOG** privilege on the parent catalog and the * **USE_SCHEMA** privilege on the parent schema. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryTableCredentialsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryTableCredentialsAPI.java index dd496a463..900b1179b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryTableCredentialsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryTableCredentialsAPI.java @@ -38,9 +38,7 @@ public TemporaryTableCredentialsAPI(TemporaryTableCredentialsService mock) { } /** - * Generate a temporary table credential. - * - *

Get a short-lived credential for directly accessing the table data on cloud storage. The + * Get a short-lived credential for directly accessing the table data on cloud storage. The * metastore must have external_access_enabled flag set to true (default false). The caller must * have EXTERNAL_USE_SCHEMA privilege on the parent schema and this privilege can only be granted * by catalog owners. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryTableCredentialsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryTableCredentialsService.java index 881cbd01e..d8cc3e5bf 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryTableCredentialsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryTableCredentialsService.java @@ -25,9 +25,7 @@ @Generated public interface TemporaryTableCredentialsService { /** - * Generate a temporary table credential. - * - *

Get a short-lived credential for directly accessing the table data on cloud storage. The + * Get a short-lived credential for directly accessing the table data on cloud storage. The * metastore must have external_access_enabled flag set to true (default false). The caller must * have EXTERNAL_USE_SCHEMA privilege on the parent schema and this privilege can only be granted * by catalog owners. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UnassignRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UnassignRequest.java index 29c6aac69..ee40d9e87 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UnassignRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UnassignRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete an assignment */ @Generated public class UnassignRequest { /** Query for the ID of the metastore to delete. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateCredentialRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateCredentialRequest.java index 6f91812cf..bba0e810a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateCredentialRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateCredentialRequest.java @@ -10,7 +10,7 @@ @Generated public class UpdateCredentialRequest { - /** The AWS IAM role configuration */ + /** The AWS IAM role configuration. */ @JsonProperty("aws_iam_role") private AwsIamRole awsIamRole; @@ -18,7 +18,7 @@ public class UpdateCredentialRequest { @JsonProperty("azure_managed_identity") private AzureManagedIdentity azureManagedIdentity; - /** The Azure service principal configuration. Only applicable when purpose is **STORAGE**. */ + /** The Azure service principal configuration. */ @JsonProperty("azure_service_principal") private AzureServicePrincipal azureServicePrincipal; @@ -26,7 +26,7 @@ public class UpdateCredentialRequest { @JsonProperty("comment") private String comment; - /** GCP long-lived credential. Databricks-created Google Cloud Storage service account. */ + /** The Databricks managed GCP service account configuration. */ @JsonProperty("databricks_gcp_service_account") private DatabricksGcpServiceAccount databricksGcpServiceAccount; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateStorageCredential.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateStorageCredential.java index 504151504..4829c49ae 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateStorageCredential.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateStorageCredential.java @@ -38,7 +38,10 @@ public class UpdateStorageCredential { @JsonProperty("force") private Boolean force; - /** */ + /** + * Whether the current securable is accessible from all workspaces or a specific set of + * workspaces. + */ @JsonProperty("isolation_mode") private IsolationMode isolationMode; @@ -53,7 +56,10 @@ public class UpdateStorageCredential { @JsonProperty("owner") private String owner; - /** Whether the storage credential is only usable for read operations. */ + /** + * Whether the credential is usable only for read operations. Only applicable when purpose is + * **STORAGE**. + */ @JsonProperty("read_only") private Boolean readOnly; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateTableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateTableRequest.java index 5f8a08040..f58635082 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateTableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateTableRequest.java @@ -8,13 +8,12 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Update a table owner. */ @Generated public class UpdateTableRequest { /** Full name of the table. */ @JsonIgnore private String fullName; - /** */ + /** Username of current owner of table. */ @JsonProperty("owner") private String owner; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidateStorageCredential.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidateStorageCredential.java index 23fb6866a..b5267c325 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidateStorageCredential.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidateStorageCredential.java @@ -37,7 +37,7 @@ public class ValidateStorageCredential { @JsonProperty("read_only") private Boolean readOnly; - /** The name of the storage credential to validate. */ + /** Required. The name of an existing credential or long-lived cloud credential to validate. */ @JsonProperty("storage_credential_name") private String storageCredentialName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidationResultOperation.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidationResultOperation.java index d0a625941..d1541f52d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidationResultOperation.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidationResultOperation.java @@ -4,7 +4,10 @@ import com.databricks.sdk.support.Generated; -/** The operation tested. */ +/** + * A enum represents the file operation performed on the external location with the storage + * credential + */ @Generated public enum ValidationResultOperation { DELETE, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidationResultResult.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidationResultResult.java index 5e3da01b3..66221c99a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidationResultResult.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidationResultResult.java @@ -4,7 +4,7 @@ import com.databricks.sdk.support.Generated; -/** The results of the tested operation. */ +/** A enum represents the result of the file operation */ @Generated public enum ValidationResultResult { FAIL, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumesAPI.java index ea0dffa63..877baa8c0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumesAPI.java @@ -43,9 +43,7 @@ public VolumeInfo create( } /** - * Create a Volume. - * - *

Creates a new volume. + * Creates a new volume. * *

The user could create either an external volume or a managed volume. An external volume will * be created in the specified external location, while a managed volume will be located in the @@ -71,9 +69,7 @@ public void delete(String name) { } /** - * Delete a Volume. - * - *

Deletes a volume from the specified parent catalog and schema. + * Deletes a volume from the specified parent catalog and schema. * *

The caller must be a metastore admin or an owner of the volume. For the latter case, the * caller must also be the owner or have the **USE_CATALOG** privilege on the parent catalog and @@ -88,9 +84,7 @@ public Iterable list(String catalogName, String schemaName) { } /** - * List Volumes. - * - *

Gets an array of volumes for the current metastore under the parent catalog and schema. + * Gets an array of volumes for the current metastore under the parent catalog and schema. * *

The returned volumes are filtered based on the privileges of the calling user. For example, * the metastore admin is able to list all the volumes. A regular user needs to be the owner or @@ -119,9 +113,7 @@ public VolumeInfo read(String name) { } /** - * Get a Volume. - * - *

Gets a volume from the metastore for a specific catalog and schema. + * Gets a volume from the metastore for a specific catalog and schema. * *

The caller must be a metastore admin or an owner of (or have the **READ VOLUME** privilege * on) the volume. For the latter case, the caller must also be the owner or have the @@ -137,9 +129,7 @@ public VolumeInfo update(String name) { } /** - * Update a Volume. - * - *

Updates the specified volume under the specified parent catalog and schema. + * Updates the specified volume under the specified parent catalog and schema. * *

The caller must be a metastore admin or an owner of the volume. For the latter case, the * caller must also be the owner or have the **USE_CATALOG** privilege on the parent catalog and diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumesService.java index d28782d55..fe725c7ef 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumesService.java @@ -19,9 +19,7 @@ @Generated public interface VolumesService { /** - * Create a Volume. - * - *

Creates a new volume. + * Creates a new volume. * *

The user could create either an external volume or a managed volume. An external volume will * be created in the specified external location, while a managed volume will be located in the @@ -41,9 +39,7 @@ public interface VolumesService { VolumeInfo create(CreateVolumeRequestContent createVolumeRequestContent); /** - * Delete a Volume. - * - *

Deletes a volume from the specified parent catalog and schema. + * Deletes a volume from the specified parent catalog and schema. * *

The caller must be a metastore admin or an owner of the volume. For the latter case, the * caller must also be the owner or have the **USE_CATALOG** privilege on the parent catalog and @@ -52,9 +48,7 @@ public interface VolumesService { void delete(DeleteVolumeRequest deleteVolumeRequest); /** - * List Volumes. - * - *

Gets an array of volumes for the current metastore under the parent catalog and schema. + * Gets an array of volumes for the current metastore under the parent catalog and schema. * *

The returned volumes are filtered based on the privileges of the calling user. For example, * the metastore admin is able to list all the volumes. A regular user needs to be the owner or @@ -67,9 +61,7 @@ public interface VolumesService { ListVolumesResponseContent list(ListVolumesRequest listVolumesRequest); /** - * Get a Volume. - * - *

Gets a volume from the metastore for a specific catalog and schema. + * Gets a volume from the metastore for a specific catalog and schema. * *

The caller must be a metastore admin or an owner of (or have the **READ VOLUME** privilege * on) the volume. For the latter case, the caller must also be the owner or have the @@ -79,9 +71,7 @@ public interface VolumesService { VolumeInfo read(ReadVolumeRequest readVolumeRequest); /** - * Update a Volume. - * - *

Updates the specified volume under the specified parent catalog and schema. + * Updates the specified volume under the specified parent catalog and schema. * *

The caller must be a metastore admin or an owner of the volume. For the latter case, the * caller must also be the owner or have the **USE_CATALOG** privilege on the parent catalog and diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingsAPI.java index e82e88906..40f80851e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingsAPI.java @@ -47,10 +47,8 @@ public GetCatalogWorkspaceBindingsResponse get(String name) { } /** - * Get catalog workspace bindings. - * - *

Gets workspace bindings of the catalog. The caller must be a metastore admin or an owner of - * the catalog. + * Gets workspace bindings of the catalog. The caller must be a metastore admin or an owner of the + * catalog. */ public GetCatalogWorkspaceBindingsResponse get(GetWorkspaceBindingRequest request) { return impl.get(request); @@ -62,10 +60,8 @@ public Iterable getBindings(String securableType, String secur } /** - * Get securable workspace bindings. - * - *

Gets workspace bindings of the securable. The caller must be a metastore admin or an owner - * of the securable. + * Gets workspace bindings of the securable. The caller must be a metastore admin or an owner of + * the securable. */ public Iterable getBindings(GetBindingsRequest request) { return new Paginator<>( @@ -86,10 +82,8 @@ public UpdateCatalogWorkspaceBindingsResponse update(String name) { } /** - * Update catalog workspace bindings. - * - *

Updates workspace bindings of the catalog. The caller must be a metastore admin or an owner - * of the catalog. + * Updates workspace bindings of the catalog. The caller must be a metastore admin or an owner of + * the catalog. */ public UpdateCatalogWorkspaceBindingsResponse update(UpdateWorkspaceBindings request) { return impl.update(request); @@ -104,10 +98,8 @@ public UpdateWorkspaceBindingsResponse updateBindings( } /** - * Update securable workspace bindings. - * - *

Updates workspace bindings of the securable. The caller must be a metastore admin or an - * owner of the securable. + * Updates workspace bindings of the securable. The caller must be a metastore admin or an owner + * of the securable. */ public UpdateWorkspaceBindingsResponse updateBindings(UpdateWorkspaceBindingsParameters request) { return impl.updateBindings(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingsService.java index 962b4ea69..00ab255f2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingsService.java @@ -29,34 +29,26 @@ @Generated public interface WorkspaceBindingsService { /** - * Get catalog workspace bindings. - * - *

Gets workspace bindings of the catalog. The caller must be a metastore admin or an owner of - * the catalog. + * Gets workspace bindings of the catalog. The caller must be a metastore admin or an owner of the + * catalog. */ GetCatalogWorkspaceBindingsResponse get(GetWorkspaceBindingRequest getWorkspaceBindingRequest); /** - * Get securable workspace bindings. - * - *

Gets workspace bindings of the securable. The caller must be a metastore admin or an owner - * of the securable. + * Gets workspace bindings of the securable. The caller must be a metastore admin or an owner of + * the securable. */ GetWorkspaceBindingsResponse getBindings(GetBindingsRequest getBindingsRequest); /** - * Update catalog workspace bindings. - * - *

Updates workspace bindings of the catalog. The caller must be a metastore admin or an owner - * of the catalog. + * Updates workspace bindings of the catalog. The caller must be a metastore admin or an owner of + * the catalog. */ UpdateCatalogWorkspaceBindingsResponse update(UpdateWorkspaceBindings updateWorkspaceBindings); /** - * Update securable workspace bindings. - * - *

Updates workspace bindings of the securable. The caller must be a metastore admin or an - * owner of the securable. + * Updates workspace bindings of the securable. The caller must be a metastore admin or an owner + * of the securable. */ UpdateWorkspaceBindingsResponse updateBindings( UpdateWorkspaceBindingsParameters updateWorkspaceBindingsParameters); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetsAPI.java index cdb59e7a5..4cb019e0a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetsAPI.java @@ -33,9 +33,7 @@ public CleanRoomAsset create(String cleanRoomName, CleanRoomAsset asset) { } /** - * Create an asset. - * - *

Create a clean room asset —share an asset like a notebook or table into the clean room. For + * Create a clean room asset —share an asset like a notebook or table into the clean room. For * each UC asset that is added through this method, the clean room owner must also have enough * privilege on the asset to consume it. The privilege must be maintained indefinitely for the * clean room to be able to access the asset. Typically, you should use a group as the clean room @@ -53,11 +51,7 @@ public void delete(String cleanRoomName, CleanRoomAssetAssetType assetType, Stri .setName(name)); } - /** - * Delete an asset. - * - *

Delete a clean room asset - unshare/remove the asset from the clean room - */ + /** Delete a clean room asset - unshare/remove the asset from the clean room */ public void delete(DeleteCleanRoomAssetRequest request) { impl.delete(request); } @@ -70,11 +64,7 @@ public CleanRoomAsset get(String cleanRoomName, CleanRoomAssetAssetType assetTyp .setName(name)); } - /** - * Get an asset. - * - *

Get the details of a clean room asset by its type and full name. - */ + /** Get the details of a clean room asset by its type and full name. */ public CleanRoomAsset get(GetCleanRoomAssetRequest request) { return impl.get(request); } @@ -109,10 +99,8 @@ public CleanRoomAsset update( } /** - * Update an asset. - * - *

Update a clean room asset. For example, updating the content of a notebook; changing the - * shared partitions of a table; etc. + * Update a clean room asset. For example, updating the content of a notebook; changing the shared + * partitions of a table; etc. */ public CleanRoomAsset update(UpdateCleanRoomAssetRequest request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetsService.java index 29921c682..b1ced1e69 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetsService.java @@ -14,9 +14,7 @@ @Generated public interface CleanRoomAssetsService { /** - * Create an asset. - * - *

Create a clean room asset —share an asset like a notebook or table into the clean room. For + * Create a clean room asset —share an asset like a notebook or table into the clean room. For * each UC asset that is added through this method, the clean room owner must also have enough * privilege on the asset to consume it. The privilege must be maintained indefinitely for the * clean room to be able to access the asset. Typically, you should use a group as the clean room @@ -24,28 +22,18 @@ public interface CleanRoomAssetsService { */ CleanRoomAsset create(CreateCleanRoomAssetRequest createCleanRoomAssetRequest); - /** - * Delete an asset. - * - *

Delete a clean room asset - unshare/remove the asset from the clean room - */ + /** Delete a clean room asset - unshare/remove the asset from the clean room */ void delete(DeleteCleanRoomAssetRequest deleteCleanRoomAssetRequest); - /** - * Get an asset. - * - *

Get the details of a clean room asset by its type and full name. - */ + /** Get the details of a clean room asset by its type and full name. */ CleanRoomAsset get(GetCleanRoomAssetRequest getCleanRoomAssetRequest); /** List assets. */ ListCleanRoomAssetsResponse list(ListCleanRoomAssetsRequest listCleanRoomAssetsRequest); /** - * Update an asset. - * - *

Update a clean room asset. For example, updating the content of a notebook; changing the - * shared partitions of a table; etc. + * Update a clean room asset. For example, updating the content of a notebook; changing the shared + * partitions of a table; etc. */ CleanRoomAsset update(UpdateCleanRoomAssetRequest updateCleanRoomAssetRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomTaskRunsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomTaskRunsAPI.java index c64abea25..38e341fcf 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomTaskRunsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomTaskRunsAPI.java @@ -28,11 +28,7 @@ public Iterable list(String cleanRoomName) { return list(new ListCleanRoomNotebookTaskRunsRequest().setCleanRoomName(cleanRoomName)); } - /** - * List notebook task runs. - * - *

List all the historical notebook task runs in a clean room. - */ + /** List all the historical notebook task runs in a clean room. */ public Iterable list(ListCleanRoomNotebookTaskRunsRequest request) { return new Paginator<>( request, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomTaskRunsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomTaskRunsService.java index dfccda7bb..a2e3a48df 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomTaskRunsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomTaskRunsService.java @@ -12,11 +12,7 @@ */ @Generated public interface CleanRoomTaskRunsService { - /** - * List notebook task runs. - * - *

List all the historical notebook task runs in a clean room. - */ + /** List all the historical notebook task runs in a clean room. */ ListCleanRoomNotebookTaskRunsResponse list( ListCleanRoomNotebookTaskRunsRequest listCleanRoomNotebookTaskRunsRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomsAPI.java index be34cc9db..69469fc0c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomsAPI.java @@ -33,9 +33,7 @@ public CleanRoom create(CleanRoom cleanRoom) { } /** - * Create a clean room. - * - *

Create a new clean room with the specified collaborators. This method is asynchronous; the + * Create a new clean room with the specified collaborators. This method is asynchronous; the * returned name field inside the clean_room field can be used to poll the clean room status, * using the :method:cleanrooms/get method. When this method returns, the clean room will be in a * PROVISIONING state, with only name, owner, comment, created_at and status populated. The clean @@ -56,11 +54,7 @@ public CreateCleanRoomOutputCatalogResponse createOutputCatalog( .setOutputCatalog(outputCatalog)); } - /** - * Create an output catalog. - * - *

Create the output catalog of the clean room. - */ + /** Create the output catalog of the clean room. */ public CreateCleanRoomOutputCatalogResponse createOutputCatalog( CreateCleanRoomOutputCatalogRequest request) { return impl.createOutputCatalog(request); @@ -71,10 +65,8 @@ public void delete(String name) { } /** - * Delete a clean room. - * - *

Delete a clean room. After deletion, the clean room will be removed from the metastore. If - * the other collaborators have not deleted the clean room, they will still have the clean room in + * Delete a clean room. After deletion, the clean room will be removed from the metastore. If the + * other collaborators have not deleted the clean room, they will still have the clean room in * their metastore, but it will be in a DELETED state and no operations other than deletion can be * performed on it. */ @@ -86,20 +78,14 @@ public CleanRoom get(String name) { return get(new GetCleanRoomRequest().setName(name)); } - /** - * Get a clean room. - * - *

Get the details of a clean room given its name. - */ + /** Get the details of a clean room given its name. */ public CleanRoom get(GetCleanRoomRequest request) { return impl.get(request); } /** - * List clean rooms. - * - *

Get a list of all clean rooms of the metastore. Only clean rooms the caller has access to - * are returned. + * Get a list of all clean rooms of the metastore. Only clean rooms the caller has access to are + * returned. */ public Iterable list(ListCleanRoomsRequest request) { return new Paginator<>( @@ -120,10 +106,8 @@ public CleanRoom update(String name) { } /** - * Update a clean room. - * - *

Update a clean room. The caller must be the owner of the clean room, have - * **MODIFY_CLEAN_ROOM** privilege, or be metastore admin. + * Update a clean room. The caller must be the owner of the clean room, have **MODIFY_CLEAN_ROOM** + * privilege, or be metastore admin. * *

When the caller is a metastore admin, only the __owner__ field can be updated. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomsService.java index 07453308b..c3306e17d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomsService.java @@ -15,9 +15,7 @@ @Generated public interface CleanRoomsService { /** - * Create a clean room. - * - *

Create a new clean room with the specified collaborators. This method is asynchronous; the + * Create a new clean room with the specified collaborators. This method is asynchronous; the * returned name field inside the clean_room field can be used to poll the clean room status, * using the :method:cleanrooms/get method. When this method returns, the clean room will be in a * PROVISIONING state, with only name, owner, comment, created_at and status populated. The clean @@ -28,44 +26,30 @@ public interface CleanRoomsService { */ CleanRoom create(CreateCleanRoomRequest createCleanRoomRequest); - /** - * Create an output catalog. - * - *

Create the output catalog of the clean room. - */ + /** Create the output catalog of the clean room. */ CreateCleanRoomOutputCatalogResponse createOutputCatalog( CreateCleanRoomOutputCatalogRequest createCleanRoomOutputCatalogRequest); /** - * Delete a clean room. - * - *

Delete a clean room. After deletion, the clean room will be removed from the metastore. If - * the other collaborators have not deleted the clean room, they will still have the clean room in + * Delete a clean room. After deletion, the clean room will be removed from the metastore. If the + * other collaborators have not deleted the clean room, they will still have the clean room in * their metastore, but it will be in a DELETED state and no operations other than deletion can be * performed on it. */ void delete(DeleteCleanRoomRequest deleteCleanRoomRequest); - /** - * Get a clean room. - * - *

Get the details of a clean room given its name. - */ + /** Get the details of a clean room given its name. */ CleanRoom get(GetCleanRoomRequest getCleanRoomRequest); /** - * List clean rooms. - * - *

Get a list of all clean rooms of the metastore. Only clean rooms the caller has access to - * are returned. + * Get a list of all clean rooms of the metastore. Only clean rooms the caller has access to are + * returned. */ ListCleanRoomsResponse list(ListCleanRoomsRequest listCleanRoomsRequest); /** - * Update a clean room. - * - *

Update a clean room. The caller must be the owner of the clean room, have - * **MODIFY_CLEAN_ROOM** privilege, or be metastore admin. + * Update a clean room. The caller must be the owner of the clean room, have **MODIFY_CLEAN_ROOM** + * privilege, or be metastore admin. * *

When the caller is a metastore admin, only the __owner__ field can be updated. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CreateCleanRoomAssetRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CreateCleanRoomAssetRequest.java index 5a36d4906..5cc4c4842 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CreateCleanRoomAssetRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CreateCleanRoomAssetRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create an asset */ @Generated public class CreateCleanRoomAssetRequest { /** Metadata of the clean room asset */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CreateCleanRoomOutputCatalogRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CreateCleanRoomOutputCatalogRequest.java index 230ec81f3..575774a05 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CreateCleanRoomOutputCatalogRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CreateCleanRoomOutputCatalogRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create an output catalog */ @Generated public class CreateCleanRoomOutputCatalogRequest { /** Name of the clean room. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CreateCleanRoomRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CreateCleanRoomRequest.java index 13930fe82..e6e00ff2f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CreateCleanRoomRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CreateCleanRoomRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create a clean room */ @Generated public class CreateCleanRoomRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/DeleteCleanRoomAssetRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/DeleteCleanRoomAssetRequest.java index 482c33464..15a84a03d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/DeleteCleanRoomAssetRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/DeleteCleanRoomAssetRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete an asset */ @Generated public class DeleteCleanRoomAssetRequest { /** The type of the asset. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/DeleteCleanRoomRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/DeleteCleanRoomRequest.java index 7681b1fc5..f1095848e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/DeleteCleanRoomRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/DeleteCleanRoomRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a clean room */ @Generated public class DeleteCleanRoomRequest { /** Name of the clean room. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/GetCleanRoomAssetRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/GetCleanRoomAssetRequest.java index a82af23df..fc7af1ca8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/GetCleanRoomAssetRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/GetCleanRoomAssetRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get an asset */ @Generated public class GetCleanRoomAssetRequest { /** The type of the asset. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/GetCleanRoomRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/GetCleanRoomRequest.java index 6103c2c8f..60ebb1974 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/GetCleanRoomRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/GetCleanRoomRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a clean room */ @Generated public class GetCleanRoomRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/ListCleanRoomAssetsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/ListCleanRoomAssetsRequest.java index 40bb4fef0..3643a1ac8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/ListCleanRoomAssetsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/ListCleanRoomAssetsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List assets */ @Generated public class ListCleanRoomAssetsRequest { /** Name of the clean room. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/ListCleanRoomNotebookTaskRunsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/ListCleanRoomNotebookTaskRunsRequest.java index 5b64fdb82..17b2a7a41 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/ListCleanRoomNotebookTaskRunsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/ListCleanRoomNotebookTaskRunsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List notebook task runs */ @Generated public class ListCleanRoomNotebookTaskRunsRequest { /** Name of the clean room. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/ListCleanRoomsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/ListCleanRoomsRequest.java index 45845b80a..f604b85d0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/ListCleanRoomsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/ListCleanRoomsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List clean rooms */ @Generated public class ListCleanRoomsRequest { /** Maximum number of clean rooms to return (i.e., the page length). Defaults to 100. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/UpdateCleanRoomAssetRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/UpdateCleanRoomAssetRequest.java index f1d57be5b..bda1f2843 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/UpdateCleanRoomAssetRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/UpdateCleanRoomAssetRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Update an asset */ @Generated public class UpdateCleanRoomAssetRequest { /** Metadata of the clean room asset */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterAttributes.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterAttributes.java index ff9668106..17316f8c5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterAttributes.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterAttributes.java @@ -191,6 +191,13 @@ public class ClusterAttributes { @JsonProperty("policy_id") private String policyId; + /** + * If set, what the configurable throughput (in Mb/s) for the remote disk is. Currently only + * supported for GCP HYPERDISK_BALANCED disks. + */ + @JsonProperty("remote_disk_throughput") + private Long remoteDiskThroughput; + /** * Determines the cluster's runtime engine, either standard or Photon. * @@ -246,6 +253,13 @@ public class ClusterAttributes { @JsonProperty("ssh_public_keys") private Collection sshPublicKeys; + /** + * If set, what the total initial volume size (in GB) of the remote disks should be. Currently + * only supported for GCP HYPERDISK_BALANCED disks. + */ + @JsonProperty("total_initial_remote_disk_size") + private Long totalInitialRemoteDiskSize; + /** * This field can only be used when `kind = CLASSIC_PREVIEW`. * @@ -430,6 +444,15 @@ public String getPolicyId() { return policyId; } + public ClusterAttributes setRemoteDiskThroughput(Long remoteDiskThroughput) { + this.remoteDiskThroughput = remoteDiskThroughput; + return this; + } + + public Long getRemoteDiskThroughput() { + return remoteDiskThroughput; + } + public ClusterAttributes setRuntimeEngine(RuntimeEngine runtimeEngine) { this.runtimeEngine = runtimeEngine; return this; @@ -484,6 +507,15 @@ public Collection getSshPublicKeys() { return sshPublicKeys; } + public ClusterAttributes setTotalInitialRemoteDiskSize(Long totalInitialRemoteDiskSize) { + this.totalInitialRemoteDiskSize = totalInitialRemoteDiskSize; + return this; + } + + public Long getTotalInitialRemoteDiskSize() { + return totalInitialRemoteDiskSize; + } + public ClusterAttributes setUseMlRuntime(Boolean useMlRuntime) { this.useMlRuntime = useMlRuntime; return this; @@ -526,12 +558,14 @@ public boolean equals(Object o) { && Objects.equals(kind, that.kind) && Objects.equals(nodeTypeId, that.nodeTypeId) && Objects.equals(policyId, that.policyId) + && Objects.equals(remoteDiskThroughput, that.remoteDiskThroughput) && Objects.equals(runtimeEngine, that.runtimeEngine) && Objects.equals(singleUserName, that.singleUserName) && Objects.equals(sparkConf, that.sparkConf) && Objects.equals(sparkEnvVars, that.sparkEnvVars) && Objects.equals(sparkVersion, that.sparkVersion) && Objects.equals(sshPublicKeys, that.sshPublicKeys) + && Objects.equals(totalInitialRemoteDiskSize, that.totalInitialRemoteDiskSize) && Objects.equals(useMlRuntime, that.useMlRuntime) && Objects.equals(workloadType, that.workloadType); } @@ -558,12 +592,14 @@ public int hashCode() { kind, nodeTypeId, policyId, + remoteDiskThroughput, runtimeEngine, singleUserName, sparkConf, sparkEnvVars, sparkVersion, sshPublicKeys, + totalInitialRemoteDiskSize, useMlRuntime, workloadType); } @@ -590,12 +626,14 @@ public String toString() { .add("kind", kind) .add("nodeTypeId", nodeTypeId) .add("policyId", policyId) + .add("remoteDiskThroughput", remoteDiskThroughput) .add("runtimeEngine", runtimeEngine) .add("singleUserName", singleUserName) .add("sparkConf", sparkConf) .add("sparkEnvVars", sparkEnvVars) .add("sparkVersion", sparkVersion) .add("sshPublicKeys", sshPublicKeys) + .add("totalInitialRemoteDiskSize", totalInitialRemoteDiskSize) .add("useMlRuntime", useMlRuntime) .add("workloadType", workloadType) .toString(); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterDetails.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterDetails.java index 8b957e3dc..671640778 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterDetails.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterDetails.java @@ -287,6 +287,13 @@ public class ClusterDetails { @JsonProperty("policy_id") private String policyId; + /** + * If set, what the configurable throughput (in Mb/s) for the remote disk is. Currently only + * supported for GCP HYPERDISK_BALANCED disks. + */ + @JsonProperty("remote_disk_throughput") + private Long remoteDiskThroughput; + /** * Determines the cluster's runtime engine, either standard or Photon. * @@ -386,6 +393,13 @@ public class ClusterDetails { @JsonProperty("termination_reason") private TerminationReason terminationReason; + /** + * If set, what the total initial volume size (in GB) of the remote disks should be. Currently + * only supported for GCP HYPERDISK_BALANCED disks. + */ + @JsonProperty("total_initial_remote_disk_size") + private Long totalInitialRemoteDiskSize; + /** * This field can only be used when `kind = CLASSIC_PREVIEW`. * @@ -696,6 +710,15 @@ public String getPolicyId() { return policyId; } + public ClusterDetails setRemoteDiskThroughput(Long remoteDiskThroughput) { + this.remoteDiskThroughput = remoteDiskThroughput; + return this; + } + + public Long getRemoteDiskThroughput() { + return remoteDiskThroughput; + } + public ClusterDetails setRuntimeEngine(RuntimeEngine runtimeEngine) { this.runtimeEngine = runtimeEngine; return this; @@ -813,6 +836,15 @@ public TerminationReason getTerminationReason() { return terminationReason; } + public ClusterDetails setTotalInitialRemoteDiskSize(Long totalInitialRemoteDiskSize) { + this.totalInitialRemoteDiskSize = totalInitialRemoteDiskSize; + return this; + } + + public Long getTotalInitialRemoteDiskSize() { + return totalInitialRemoteDiskSize; + } + public ClusterDetails setUseMlRuntime(Boolean useMlRuntime) { this.useMlRuntime = useMlRuntime; return this; @@ -869,6 +901,7 @@ public boolean equals(Object o) { && Objects.equals(nodeTypeId, that.nodeTypeId) && Objects.equals(numWorkers, that.numWorkers) && Objects.equals(policyId, that.policyId) + && Objects.equals(remoteDiskThroughput, that.remoteDiskThroughput) && Objects.equals(runtimeEngine, that.runtimeEngine) && Objects.equals(singleUserName, that.singleUserName) && Objects.equals(sparkConf, that.sparkConf) @@ -882,6 +915,7 @@ public boolean equals(Object o) { && Objects.equals(stateMessage, that.stateMessage) && Objects.equals(terminatedTime, that.terminatedTime) && Objects.equals(terminationReason, that.terminationReason) + && Objects.equals(totalInitialRemoteDiskSize, that.totalInitialRemoteDiskSize) && Objects.equals(useMlRuntime, that.useMlRuntime) && Objects.equals(workloadType, that.workloadType); } @@ -922,6 +956,7 @@ public int hashCode() { nodeTypeId, numWorkers, policyId, + remoteDiskThroughput, runtimeEngine, singleUserName, sparkConf, @@ -935,6 +970,7 @@ public int hashCode() { stateMessage, terminatedTime, terminationReason, + totalInitialRemoteDiskSize, useMlRuntime, workloadType); } @@ -975,6 +1011,7 @@ public String toString() { .add("nodeTypeId", nodeTypeId) .add("numWorkers", numWorkers) .add("policyId", policyId) + .add("remoteDiskThroughput", remoteDiskThroughput) .add("runtimeEngine", runtimeEngine) .add("singleUserName", singleUserName) .add("sparkConf", sparkConf) @@ -988,6 +1025,7 @@ public String toString() { .add("stateMessage", stateMessage) .add("terminatedTime", terminatedTime) .add("terminationReason", terminationReason) + .add("totalInitialRemoteDiskSize", totalInitialRemoteDiskSize) .add("useMlRuntime", useMlRuntime) .add("workloadType", workloadType) .toString(); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterPoliciesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterPoliciesAPI.java index f42ce8e40..6aa07043e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterPoliciesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterPoliciesAPI.java @@ -44,11 +44,7 @@ public ClusterPoliciesAPI(ClusterPoliciesService mock) { impl = mock; } - /** - * Create a new policy. - * - *

Creates a new policy with prescribed settings. - */ + /** Creates a new policy with prescribed settings. */ public CreatePolicyResponse create(CreatePolicy request) { return impl.create(request); } @@ -58,9 +54,7 @@ public void delete(String policyId) { } /** - * Delete a cluster policy. - * - *

Delete a policy for a cluster. Clusters governed by this policy can still run, but cannot be + * Delete a policy for a cluster. Clusters governed by this policy can still run, but cannot be * edited. */ public void delete(DeletePolicy request) { @@ -72,9 +66,7 @@ public void edit(String policyId) { } /** - * Update a cluster policy. - * - *

Update an existing policy for cluster. This operation may make some clusters governed by the + * Update an existing policy for cluster. This operation may make some clusters governed by the * previous policy invalid. */ public void edit(EditPolicy request) { @@ -85,11 +77,7 @@ public Policy get(String policyId) { return get(new GetClusterPolicyRequest().setPolicyId(policyId)); } - /** - * Get a cluster policy. - * - *

Get a cluster policy entity. Creation and editing is available to admins only. - */ + /** Get a cluster policy entity. Creation and editing is available to admins only. */ public Policy get(GetClusterPolicyRequest request) { return impl.get(request); } @@ -99,11 +87,7 @@ public GetClusterPolicyPermissionLevelsResponse getPermissionLevels(String clust new GetClusterPolicyPermissionLevelsRequest().setClusterPolicyId(clusterPolicyId)); } - /** - * Get cluster policy permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ public GetClusterPolicyPermissionLevelsResponse getPermissionLevels( GetClusterPolicyPermissionLevelsRequest request) { return impl.getPermissionLevels(request); @@ -115,20 +99,14 @@ public ClusterPolicyPermissions getPermissions(String clusterPolicyId) { } /** - * Get cluster policy permissions. - * - *

Gets the permissions of a cluster policy. Cluster policies can inherit permissions from - * their root object. + * Gets the permissions of a cluster policy. Cluster policies can inherit permissions from their + * root object. */ public ClusterPolicyPermissions getPermissions(GetClusterPolicyPermissionsRequest request) { return impl.getPermissions(request); } - /** - * List cluster policies. - * - *

Returns a list of policies accessible by the requesting user. - */ + /** Returns a list of policies accessible by the requesting user. */ public Iterable list(ListClusterPoliciesRequest request) { return new Paginator<>( request, impl::list, ListPoliciesResponse::getPolicies, response -> null); @@ -140,11 +118,8 @@ public ClusterPolicyPermissions setPermissions(String clusterPolicyId) { } /** - * Set cluster policy permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ public ClusterPolicyPermissions setPermissions(ClusterPolicyPermissionsRequest request) { return impl.setPermissions(request); @@ -156,9 +131,7 @@ public ClusterPolicyPermissions updatePermissions(String clusterPolicyId) { } /** - * Update cluster policy permissions. - * - *

Updates the permissions on a cluster policy. Cluster policies can inherit permissions from + * Updates the permissions on a cluster policy. Cluster policies can inherit permissions from * their root object. */ public ClusterPolicyPermissions updatePermissions(ClusterPolicyPermissionsRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterPoliciesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterPoliciesService.java index 64f2a13f3..a8ef9fa37 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterPoliciesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterPoliciesService.java @@ -30,74 +30,47 @@ */ @Generated public interface ClusterPoliciesService { - /** - * Create a new policy. - * - *

Creates a new policy with prescribed settings. - */ + /** Creates a new policy with prescribed settings. */ CreatePolicyResponse create(CreatePolicy createPolicy); /** - * Delete a cluster policy. - * - *

Delete a policy for a cluster. Clusters governed by this policy can still run, but cannot be + * Delete a policy for a cluster. Clusters governed by this policy can still run, but cannot be * edited. */ void delete(DeletePolicy deletePolicy); /** - * Update a cluster policy. - * - *

Update an existing policy for cluster. This operation may make some clusters governed by the + * Update an existing policy for cluster. This operation may make some clusters governed by the * previous policy invalid. */ void edit(EditPolicy editPolicy); - /** - * Get a cluster policy. - * - *

Get a cluster policy entity. Creation and editing is available to admins only. - */ + /** Get a cluster policy entity. Creation and editing is available to admins only. */ Policy get(GetClusterPolicyRequest getClusterPolicyRequest); - /** - * Get cluster policy permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ GetClusterPolicyPermissionLevelsResponse getPermissionLevels( GetClusterPolicyPermissionLevelsRequest getClusterPolicyPermissionLevelsRequest); /** - * Get cluster policy permissions. - * - *

Gets the permissions of a cluster policy. Cluster policies can inherit permissions from - * their root object. + * Gets the permissions of a cluster policy. Cluster policies can inherit permissions from their + * root object. */ ClusterPolicyPermissions getPermissions( GetClusterPolicyPermissionsRequest getClusterPolicyPermissionsRequest); - /** - * List cluster policies. - * - *

Returns a list of policies accessible by the requesting user. - */ + /** Returns a list of policies accessible by the requesting user. */ ListPoliciesResponse list(ListClusterPoliciesRequest listClusterPoliciesRequest); /** - * Set cluster policy permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ ClusterPolicyPermissions setPermissions( ClusterPolicyPermissionsRequest clusterPolicyPermissionsRequest); /** - * Update cluster policy permissions. - * - *

Updates the permissions on a cluster policy. Cluster policies can inherit permissions from + * Updates the permissions on a cluster policy. Cluster policies can inherit permissions from * their root object. */ ClusterPolicyPermissions updatePermissions( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterSpec.java index 08cd8a715..f93b893bc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterSpec.java @@ -218,6 +218,13 @@ public class ClusterSpec { @JsonProperty("policy_id") private String policyId; + /** + * If set, what the configurable throughput (in Mb/s) for the remote disk is. Currently only + * supported for GCP HYPERDISK_BALANCED disks. + */ + @JsonProperty("remote_disk_throughput") + private Long remoteDiskThroughput; + /** * Determines the cluster's runtime engine, either standard or Photon. * @@ -273,6 +280,13 @@ public class ClusterSpec { @JsonProperty("ssh_public_keys") private Collection sshPublicKeys; + /** + * If set, what the total initial volume size (in GB) of the remote disks should be. Currently + * only supported for GCP HYPERDISK_BALANCED disks. + */ + @JsonProperty("total_initial_remote_disk_size") + private Long totalInitialRemoteDiskSize; + /** * This field can only be used when `kind = CLASSIC_PREVIEW`. * @@ -484,6 +498,15 @@ public String getPolicyId() { return policyId; } + public ClusterSpec setRemoteDiskThroughput(Long remoteDiskThroughput) { + this.remoteDiskThroughput = remoteDiskThroughput; + return this; + } + + public Long getRemoteDiskThroughput() { + return remoteDiskThroughput; + } + public ClusterSpec setRuntimeEngine(RuntimeEngine runtimeEngine) { this.runtimeEngine = runtimeEngine; return this; @@ -538,6 +561,15 @@ public Collection getSshPublicKeys() { return sshPublicKeys; } + public ClusterSpec setTotalInitialRemoteDiskSize(Long totalInitialRemoteDiskSize) { + this.totalInitialRemoteDiskSize = totalInitialRemoteDiskSize; + return this; + } + + public Long getTotalInitialRemoteDiskSize() { + return totalInitialRemoteDiskSize; + } + public ClusterSpec setUseMlRuntime(Boolean useMlRuntime) { this.useMlRuntime = useMlRuntime; return this; @@ -583,12 +615,14 @@ public boolean equals(Object o) { && Objects.equals(nodeTypeId, that.nodeTypeId) && Objects.equals(numWorkers, that.numWorkers) && Objects.equals(policyId, that.policyId) + && Objects.equals(remoteDiskThroughput, that.remoteDiskThroughput) && Objects.equals(runtimeEngine, that.runtimeEngine) && Objects.equals(singleUserName, that.singleUserName) && Objects.equals(sparkConf, that.sparkConf) && Objects.equals(sparkEnvVars, that.sparkEnvVars) && Objects.equals(sparkVersion, that.sparkVersion) && Objects.equals(sshPublicKeys, that.sshPublicKeys) + && Objects.equals(totalInitialRemoteDiskSize, that.totalInitialRemoteDiskSize) && Objects.equals(useMlRuntime, that.useMlRuntime) && Objects.equals(workloadType, that.workloadType); } @@ -618,12 +652,14 @@ public int hashCode() { nodeTypeId, numWorkers, policyId, + remoteDiskThroughput, runtimeEngine, singleUserName, sparkConf, sparkEnvVars, sparkVersion, sshPublicKeys, + totalInitialRemoteDiskSize, useMlRuntime, workloadType); } @@ -653,12 +689,14 @@ public String toString() { .add("nodeTypeId", nodeTypeId) .add("numWorkers", numWorkers) .add("policyId", policyId) + .add("remoteDiskThroughput", remoteDiskThroughput) .add("runtimeEngine", runtimeEngine) .add("singleUserName", singleUserName) .add("sparkConf", sparkConf) .add("sparkEnvVars", sparkEnvVars) .add("sparkVersion", sparkVersion) .add("sshPublicKeys", sshPublicKeys) + .add("totalInitialRemoteDiskSize", totalInitialRemoteDiskSize) .add("useMlRuntime", useMlRuntime) .add("workloadType", workloadType) .toString(); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterStatus.java index aa7d9e980..7a33b2b8e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterStatus.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get status */ @Generated public class ClusterStatus { /** Unique identifier of the cluster whose status should be retrieved. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClustersAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClustersAPI.java index b27e7aad7..b63153c14 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClustersAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClustersAPI.java @@ -147,9 +147,7 @@ public void changeOwner(String clusterId, String ownerUsername) { } /** - * Change cluster owner. - * - *

Change the owner of the cluster. You must be an admin and the cluster must be terminated to + * Change the owner of the cluster. You must be an admin and the cluster must be terminated to * perform this operation. The service principal application ID can be supplied as an argument to * `owner_username`. */ @@ -162,10 +160,8 @@ public Wait create(String sparkVersion) { } /** - * Create new cluster. - * - *

Creates a new Spark cluster. This method will acquire new instances from the cloud provider - * if necessary. This method is asynchronous; the returned ``cluster_id`` can be used to poll the + * Creates a new Spark cluster. This method will acquire new instances from the cloud provider if + * necessary. This method is asynchronous; the returned ``cluster_id`` can be used to poll the * cluster status. When this method returns, the cluster will be in a ``PENDING`` state. The * cluster will be usable once it enters a ``RUNNING`` state. Note: Databricks may not be able to * acquire some of the requested nodes, due to cloud provider limitations (account limits, spot @@ -191,11 +187,9 @@ public Wait delete(String clusterId) { } /** - * Terminate cluster. - * - *

Terminates the Spark cluster with the specified ID. The cluster is removed asynchronously. - * Once the termination has completed, the cluster will be in a `TERMINATED` state. If the cluster - * is already in a `TERMINATING` or `TERMINATED` state, nothing will happen. + * Terminates the Spark cluster with the specified ID. The cluster is removed asynchronously. Once + * the termination has completed, the cluster will be in a `TERMINATED` state. If the cluster is + * already in a `TERMINATING` or `TERMINATED` state, nothing will happen. */ public Wait delete(DeleteCluster request) { impl.delete(request); @@ -208,10 +202,8 @@ public Wait edit(String clusterId, String sparkVersion) { } /** - * Update cluster configuration. - * - *

Updates the configuration of a cluster to match the provided attributes and size. A cluster - * can be updated if it is in a `RUNNING` or `TERMINATED` state. + * Updates the configuration of a cluster to match the provided attributes and size. A cluster can + * be updated if it is in a `RUNNING` or `TERMINATED` state. * *

If a cluster is updated while in a `RUNNING` state, it will be restarted so that the new * attributes can take effect. @@ -234,10 +226,8 @@ public Iterable events(String clusterId) { } /** - * List cluster activity events. - * - *

Retrieves a list of events about the activity of a cluster. This API is paginated. If there - * are more events to read, the response includes all the parameters necessary to request the next + * Retrieves a list of events about the activity of a cluster. This API is paginated. If there are + * more events to read, the response includes all the parameters necessary to request the next * page of events. */ public Iterable events(GetEvents request) { @@ -250,10 +240,8 @@ public ClusterDetails get(String clusterId) { } /** - * Get cluster info. - * - *

Retrieves the information for a cluster given its identifier. Clusters can be described - * while they are running, or up to 60 days after they are terminated. + * Retrieves the information for a cluster given its identifier. Clusters can be described while + * they are running, or up to 60 days after they are terminated. */ public ClusterDetails get(GetClusterRequest request) { return impl.get(request); @@ -263,11 +251,7 @@ public GetClusterPermissionLevelsResponse getPermissionLevels(String clusterId) return getPermissionLevels(new GetClusterPermissionLevelsRequest().setClusterId(clusterId)); } - /** - * Get cluster permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ public GetClusterPermissionLevelsResponse getPermissionLevels( GetClusterPermissionLevelsRequest request) { return impl.getPermissionLevels(request); @@ -277,20 +261,14 @@ public ClusterPermissions getPermissions(String clusterId) { return getPermissions(new GetClusterPermissionsRequest().setClusterId(clusterId)); } - /** - * Get cluster permissions. - * - *

Gets the permissions of a cluster. Clusters can inherit permissions from their root object. - */ + /** Gets the permissions of a cluster. Clusters can inherit permissions from their root object. */ public ClusterPermissions getPermissions(GetClusterPermissionsRequest request) { return impl.getPermissions(request); } /** - * List clusters. - * - *

Return information about all pinned and active clusters, and all clusters terminated within - * the last 30 days. Clusters terminated prior to this period are not included. + * Return information about all pinned and active clusters, and all clusters terminated within the + * last 30 days. Clusters terminated prior to this period are not included. */ public Iterable list(ListClustersRequest request) { return new Paginator<>( @@ -307,19 +285,14 @@ public Iterable list(ListClustersRequest request) { } /** - * List node types. - * - *

Returns a list of supported Spark node types. These node types can be used to launch a - * cluster. + * Returns a list of supported Spark node types. These node types can be used to launch a cluster. */ public ListNodeTypesResponse listNodeTypes() { return impl.listNodeTypes(); } /** - * List availability zones. - * - *

Returns a list of availability zones where clusters can be created in (For example, + * Returns a list of availability zones where clusters can be created in (For example, * us-west-2a). These zones can be used to launch a cluster. */ public ListAvailableZonesResponse listZones() { @@ -331,9 +304,7 @@ public void permanentDelete(String clusterId) { } /** - * Permanently delete cluster. - * - *

Permanently deletes a Spark cluster. This cluster is terminated and resources are + * Permanently deletes a Spark cluster. This cluster is terminated and resources are * asynchronously removed. * *

In addition, users will no longer see permanently deleted clusters in the cluster list, and @@ -348,9 +319,7 @@ public void pin(String clusterId) { } /** - * Pin cluster. - * - *

Pinning a cluster ensures that the cluster will always be returned by the ListClusters API. + * Pinning a cluster ensures that the cluster will always be returned by the ListClusters API. * Pinning a cluster that is already pinned will have no effect. This API can only be called by * workspace admins. */ @@ -363,10 +332,8 @@ public Wait resize(String clusterId) { } /** - * Resize cluster. - * - *

Resizes a cluster to have a desired number of workers. This will fail unless the cluster is - * in a `RUNNING` state. + * Resizes a cluster to have a desired number of workers. This will fail unless the cluster is in + * a `RUNNING` state. */ public Wait resize(ResizeCluster request) { impl.resize(request); @@ -379,10 +346,8 @@ public Wait restart(String clusterId) { } /** - * Restart cluster. - * - *

Restarts a Spark cluster with the supplied ID. If the cluster is not currently in a - * `RUNNING` state, nothing will happen. + * Restarts a Spark cluster with the supplied ID. If the cluster is not currently in a `RUNNING` + * state, nothing will happen. */ public Wait restart(RestartCluster request) { impl.restart(request); @@ -395,21 +360,15 @@ public ClusterPermissions setPermissions(String clusterId) { } /** - * Set cluster permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ public ClusterPermissions setPermissions(ClusterPermissionsRequest request) { return impl.setPermissions(request); } /** - * List available Spark versions. - * - *

Returns the list of available Spark versions. These versions can be used to launch a - * cluster. + * Returns the list of available Spark versions. These versions can be used to launch a cluster. */ public GetSparkVersionsResponse sparkVersions() { return impl.sparkVersions(); @@ -420,14 +379,11 @@ public Wait start(String clusterId) { } /** - * Start terminated cluster. - * - *

Starts a terminated Spark cluster with the supplied ID. This works similar to - * `createCluster` except: - The previous cluster id and attributes are preserved. - The cluster - * starts with the last specified cluster size. - If the previous cluster was an autoscaling - * cluster, the current cluster starts with the minimum number of nodes. - If the cluster is not - * currently in a ``TERMINATED`` state, nothing will happen. - Clusters launched to run a job - * cannot be started. + * Starts a terminated Spark cluster with the supplied ID. This works similar to `createCluster` + * except: - The previous cluster id and attributes are preserved. - The cluster starts with the + * last specified cluster size. - If the previous cluster was an autoscaling cluster, the current + * cluster starts with the minimum number of nodes. - If the cluster is not currently in a + * ``TERMINATED`` state, nothing will happen. - Clusters launched to run a job cannot be started. */ public Wait start(StartCluster request) { impl.start(request); @@ -440,10 +396,8 @@ public void unpin(String clusterId) { } /** - * Unpin cluster. - * - *

Unpinning a cluster will allow the cluster to eventually be removed from the ListClusters - * API. Unpinning a cluster that is not pinned will have no effect. This API can only be called by + * Unpinning a cluster will allow the cluster to eventually be removed from the ListClusters API. + * Unpinning a cluster that is not pinned will have no effect. This API can only be called by * workspace admins. */ public void unpin(UnpinCluster request) { @@ -455,11 +409,9 @@ public Wait update(String clusterId, String updateMask) { } /** - * Update cluster configuration (partial). - * - *

Updates the configuration of a cluster to match the partial set of attributes and size. - * Denote which fields to update using the `update_mask` field in the request body. A cluster can - * be updated if it is in a `RUNNING` or `TERMINATED` state. If a cluster is updated while in a + * Updates the configuration of a cluster to match the partial set of attributes and size. Denote + * which fields to update using the `update_mask` field in the request body. A cluster can be + * updated if it is in a `RUNNING` or `TERMINATED` state. If a cluster is updated while in a * `RUNNING` state, it will be restarted so that the new attributes can take effect. If a cluster * is updated while in a `TERMINATED` state, it will remain `TERMINATED`. The updated attributes * will take effect the next time the cluster is started using the `clusters/start` API. Attempts @@ -477,10 +429,7 @@ public ClusterPermissions updatePermissions(String clusterId) { } /** - * Update cluster permissions. - * - *

Updates the permissions on a cluster. Clusters can inherit permissions from their root - * object. + * Updates the permissions on a cluster. Clusters can inherit permissions from their root object. */ public ClusterPermissions updatePermissions(ClusterPermissionsRequest request) { return impl.updatePermissions(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClustersService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClustersService.java index 48bdd74a0..f0fa9c0a6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClustersService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClustersService.java @@ -33,19 +33,15 @@ @Generated public interface ClustersService { /** - * Change cluster owner. - * - *

Change the owner of the cluster. You must be an admin and the cluster must be terminated to + * Change the owner of the cluster. You must be an admin and the cluster must be terminated to * perform this operation. The service principal application ID can be supplied as an argument to * `owner_username`. */ void changeOwner(ChangeClusterOwner changeClusterOwner); /** - * Create new cluster. - * - *

Creates a new Spark cluster. This method will acquire new instances from the cloud provider - * if necessary. This method is asynchronous; the returned ``cluster_id`` can be used to poll the + * Creates a new Spark cluster. This method will acquire new instances from the cloud provider if + * necessary. This method is asynchronous; the returned ``cluster_id`` can be used to poll the * cluster status. When this method returns, the cluster will be in a ``PENDING`` state. The * cluster will be usable once it enters a ``RUNNING`` state. Note: Databricks may not be able to * acquire some of the requested nodes, due to cloud provider limitations (account limits, spot @@ -62,19 +58,15 @@ public interface ClustersService { CreateClusterResponse create(CreateCluster createCluster); /** - * Terminate cluster. - * - *

Terminates the Spark cluster with the specified ID. The cluster is removed asynchronously. - * Once the termination has completed, the cluster will be in a `TERMINATED` state. If the cluster - * is already in a `TERMINATING` or `TERMINATED` state, nothing will happen. + * Terminates the Spark cluster with the specified ID. The cluster is removed asynchronously. Once + * the termination has completed, the cluster will be in a `TERMINATED` state. If the cluster is + * already in a `TERMINATING` or `TERMINATED` state, nothing will happen. */ void delete(DeleteCluster deleteCluster); /** - * Update cluster configuration. - * - *

Updates the configuration of a cluster to match the provided attributes and size. A cluster - * can be updated if it is in a `RUNNING` or `TERMINATED` state. + * Updates the configuration of a cluster to match the provided attributes and size. A cluster can + * be updated if it is in a `RUNNING` or `TERMINATED` state. * *

If a cluster is updated while in a `RUNNING` state, it will be restarted so that the new * attributes can take effect. @@ -89,65 +81,44 @@ public interface ClustersService { void edit(EditCluster editCluster); /** - * List cluster activity events. - * - *

Retrieves a list of events about the activity of a cluster. This API is paginated. If there - * are more events to read, the response includes all the parameters necessary to request the next + * Retrieves a list of events about the activity of a cluster. This API is paginated. If there are + * more events to read, the response includes all the parameters necessary to request the next * page of events. */ GetEventsResponse events(GetEvents getEvents); /** - * Get cluster info. - * - *

Retrieves the information for a cluster given its identifier. Clusters can be described - * while they are running, or up to 60 days after they are terminated. + * Retrieves the information for a cluster given its identifier. Clusters can be described while + * they are running, or up to 60 days after they are terminated. */ ClusterDetails get(GetClusterRequest getClusterRequest); - /** - * Get cluster permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ GetClusterPermissionLevelsResponse getPermissionLevels( GetClusterPermissionLevelsRequest getClusterPermissionLevelsRequest); - /** - * Get cluster permissions. - * - *

Gets the permissions of a cluster. Clusters can inherit permissions from their root object. - */ + /** Gets the permissions of a cluster. Clusters can inherit permissions from their root object. */ ClusterPermissions getPermissions(GetClusterPermissionsRequest getClusterPermissionsRequest); /** - * List clusters. - * - *

Return information about all pinned and active clusters, and all clusters terminated within - * the last 30 days. Clusters terminated prior to this period are not included. + * Return information about all pinned and active clusters, and all clusters terminated within the + * last 30 days. Clusters terminated prior to this period are not included. */ ListClustersResponse list(ListClustersRequest listClustersRequest); /** - * List node types. - * - *

Returns a list of supported Spark node types. These node types can be used to launch a - * cluster. + * Returns a list of supported Spark node types. These node types can be used to launch a cluster. */ ListNodeTypesResponse listNodeTypes(); /** - * List availability zones. - * - *

Returns a list of availability zones where clusters can be created in (For example, + * Returns a list of availability zones where clusters can be created in (For example, * us-west-2a). These zones can be used to launch a cluster. */ ListAvailableZonesResponse listZones(); /** - * Permanently delete cluster. - * - *

Permanently deletes a Spark cluster. This cluster is terminated and resources are + * Permanently deletes a Spark cluster. This cluster is terminated and resources are * asynchronously removed. * *

In addition, users will no longer see permanently deleted clusters in the cluster list, and @@ -156,74 +127,55 @@ GetClusterPermissionLevelsResponse getPermissionLevels( void permanentDelete(PermanentDeleteCluster permanentDeleteCluster); /** - * Pin cluster. - * - *

Pinning a cluster ensures that the cluster will always be returned by the ListClusters API. + * Pinning a cluster ensures that the cluster will always be returned by the ListClusters API. * Pinning a cluster that is already pinned will have no effect. This API can only be called by * workspace admins. */ void pin(PinCluster pinCluster); /** - * Resize cluster. - * - *

Resizes a cluster to have a desired number of workers. This will fail unless the cluster is - * in a `RUNNING` state. + * Resizes a cluster to have a desired number of workers. This will fail unless the cluster is in + * a `RUNNING` state. */ void resize(ResizeCluster resizeCluster); /** - * Restart cluster. - * - *

Restarts a Spark cluster with the supplied ID. If the cluster is not currently in a - * `RUNNING` state, nothing will happen. + * Restarts a Spark cluster with the supplied ID. If the cluster is not currently in a `RUNNING` + * state, nothing will happen. */ void restart(RestartCluster restartCluster); /** - * Set cluster permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ ClusterPermissions setPermissions(ClusterPermissionsRequest clusterPermissionsRequest); /** - * List available Spark versions. - * - *

Returns the list of available Spark versions. These versions can be used to launch a - * cluster. + * Returns the list of available Spark versions. These versions can be used to launch a cluster. */ GetSparkVersionsResponse sparkVersions(); /** - * Start terminated cluster. - * - *

Starts a terminated Spark cluster with the supplied ID. This works similar to - * `createCluster` except: - The previous cluster id and attributes are preserved. - The cluster - * starts with the last specified cluster size. - If the previous cluster was an autoscaling - * cluster, the current cluster starts with the minimum number of nodes. - If the cluster is not - * currently in a ``TERMINATED`` state, nothing will happen. - Clusters launched to run a job - * cannot be started. + * Starts a terminated Spark cluster with the supplied ID. This works similar to `createCluster` + * except: - The previous cluster id and attributes are preserved. - The cluster starts with the + * last specified cluster size. - If the previous cluster was an autoscaling cluster, the current + * cluster starts with the minimum number of nodes. - If the cluster is not currently in a + * ``TERMINATED`` state, nothing will happen. - Clusters launched to run a job cannot be started. */ void start(StartCluster startCluster); /** - * Unpin cluster. - * - *

Unpinning a cluster will allow the cluster to eventually be removed from the ListClusters - * API. Unpinning a cluster that is not pinned will have no effect. This API can only be called by + * Unpinning a cluster will allow the cluster to eventually be removed from the ListClusters API. + * Unpinning a cluster that is not pinned will have no effect. This API can only be called by * workspace admins. */ void unpin(UnpinCluster unpinCluster); /** - * Update cluster configuration (partial). - * - *

Updates the configuration of a cluster to match the partial set of attributes and size. - * Denote which fields to update using the `update_mask` field in the request body. A cluster can - * be updated if it is in a `RUNNING` or `TERMINATED` state. If a cluster is updated while in a + * Updates the configuration of a cluster to match the partial set of attributes and size. Denote + * which fields to update using the `update_mask` field in the request body. A cluster can be + * updated if it is in a `RUNNING` or `TERMINATED` state. If a cluster is updated while in a * `RUNNING` state, it will be restarted so that the new attributes can take effect. If a cluster * is updated while in a `TERMINATED` state, it will remain `TERMINATED`. The updated attributes * will take effect the next time the cluster is started using the `clusters/start` API. Attempts @@ -233,10 +185,7 @@ GetClusterPermissionLevelsResponse getPermissionLevels( void update(UpdateCluster updateCluster); /** - * Update cluster permissions. - * - *

Updates the permissions on a cluster. Clusters can inherit permissions from their root - * object. + * Updates the permissions on a cluster. Clusters can inherit permissions from their root object. */ ClusterPermissions updatePermissions(ClusterPermissionsRequest clusterPermissionsRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandExecutionAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandExecutionAPI.java index 886970e07..e4bf62f0f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandExecutionAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandExecutionAPI.java @@ -206,9 +206,7 @@ public CommandStatusResponse waitCommandStatusCommandExecutionFinishedOrError( } /** - * Cancel a command. - * - *

Cancels a currently running command within an execution context. + * Cancels a currently running command within an execution context. * *

The command ID is obtained from a prior successful call to __execute__. */ @@ -233,9 +231,7 @@ public CommandStatusResponse commandStatus(String clusterId, String contextId, S } /** - * Get command info. - * - *

Gets the status of and, if available, the results from a currently executing command. + * Gets the status of and, if available, the results from a currently executing command. * *

The command ID is obtained from a prior successful call to __execute__. */ @@ -248,19 +244,13 @@ public ContextStatusResponse contextStatus(String clusterId, String contextId) { new ContextStatusRequest().setClusterId(clusterId).setContextId(contextId)); } - /** - * Get status. - * - *

Gets the status for an execution context. - */ + /** Gets the status for an execution context. */ public ContextStatusResponse contextStatus(ContextStatusRequest request) { return impl.contextStatus(request); } /** - * Create an execution context. - * - *

Creates an execution context for running cluster commands. + * Creates an execution context for running cluster commands. * *

If successful, this method returns the ID of the new execution context. */ @@ -277,19 +267,13 @@ public void destroy(String clusterId, String contextId) { destroy(new DestroyContext().setClusterId(clusterId).setContextId(contextId)); } - /** - * Delete an execution context. - * - *

Deletes an execution context. - */ + /** Deletes an execution context. */ public void destroy(DestroyContext request) { impl.destroy(request); } /** - * Run a command. - * - *

Runs a cluster command in the given execution context, using the provided language. + * Runs a cluster command in the given execution context, using the provided language. * *

If successful, it returns an ID for tracking the status of the command's execution. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandExecutionService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandExecutionService.java index b06c8a2a5..a28c23aaf 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandExecutionService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandExecutionService.java @@ -14,50 +14,34 @@ @Generated public interface CommandExecutionService { /** - * Cancel a command. - * - *

Cancels a currently running command within an execution context. + * Cancels a currently running command within an execution context. * *

The command ID is obtained from a prior successful call to __execute__. */ void cancel(CancelCommand cancelCommand); /** - * Get command info. - * - *

Gets the status of and, if available, the results from a currently executing command. + * Gets the status of and, if available, the results from a currently executing command. * *

The command ID is obtained from a prior successful call to __execute__. */ CommandStatusResponse commandStatus(CommandStatusRequest commandStatusRequest); - /** - * Get status. - * - *

Gets the status for an execution context. - */ + /** Gets the status for an execution context. */ ContextStatusResponse contextStatus(ContextStatusRequest contextStatusRequest); /** - * Create an execution context. - * - *

Creates an execution context for running cluster commands. + * Creates an execution context for running cluster commands. * *

If successful, this method returns the ID of the new execution context. */ Created create(CreateContext createContext); - /** - * Delete an execution context. - * - *

Deletes an execution context. - */ + /** Deletes an execution context. */ void destroy(DestroyContext destroyContext); /** - * Run a command. - * - *

Runs a cluster command in the given execution context, using the provided language. + * Runs a cluster command in the given execution context, using the provided language. * *

If successful, it returns an ID for tracking the status of the command's execution. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandStatusRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandStatusRequest.java index effb7c1a1..24fa19723 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandStatusRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandStatusRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get command info */ @Generated public class CommandStatusRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ContextStatusRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ContextStatusRequest.java index 1da091984..f3219d506 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ContextStatusRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ContextStatusRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get status */ @Generated public class ContextStatusRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreateCluster.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreateCluster.java index 79853eda0..b860190d0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreateCluster.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreateCluster.java @@ -221,6 +221,13 @@ public class CreateCluster { @JsonProperty("policy_id") private String policyId; + /** + * If set, what the configurable throughput (in Mb/s) for the remote disk is. Currently only + * supported for GCP HYPERDISK_BALANCED disks. + */ + @JsonProperty("remote_disk_throughput") + private Long remoteDiskThroughput; + /** * Determines the cluster's runtime engine, either standard or Photon. * @@ -276,6 +283,13 @@ public class CreateCluster { @JsonProperty("ssh_public_keys") private Collection sshPublicKeys; + /** + * If set, what the total initial volume size (in GB) of the remote disks should be. Currently + * only supported for GCP HYPERDISK_BALANCED disks. + */ + @JsonProperty("total_initial_remote_disk_size") + private Long totalInitialRemoteDiskSize; + /** * This field can only be used when `kind = CLASSIC_PREVIEW`. * @@ -496,6 +510,15 @@ public String getPolicyId() { return policyId; } + public CreateCluster setRemoteDiskThroughput(Long remoteDiskThroughput) { + this.remoteDiskThroughput = remoteDiskThroughput; + return this; + } + + public Long getRemoteDiskThroughput() { + return remoteDiskThroughput; + } + public CreateCluster setRuntimeEngine(RuntimeEngine runtimeEngine) { this.runtimeEngine = runtimeEngine; return this; @@ -550,6 +573,15 @@ public Collection getSshPublicKeys() { return sshPublicKeys; } + public CreateCluster setTotalInitialRemoteDiskSize(Long totalInitialRemoteDiskSize) { + this.totalInitialRemoteDiskSize = totalInitialRemoteDiskSize; + return this; + } + + public Long getTotalInitialRemoteDiskSize() { + return totalInitialRemoteDiskSize; + } + public CreateCluster setUseMlRuntime(Boolean useMlRuntime) { this.useMlRuntime = useMlRuntime; return this; @@ -596,12 +628,14 @@ public boolean equals(Object o) { && Objects.equals(nodeTypeId, that.nodeTypeId) && Objects.equals(numWorkers, that.numWorkers) && Objects.equals(policyId, that.policyId) + && Objects.equals(remoteDiskThroughput, that.remoteDiskThroughput) && Objects.equals(runtimeEngine, that.runtimeEngine) && Objects.equals(singleUserName, that.singleUserName) && Objects.equals(sparkConf, that.sparkConf) && Objects.equals(sparkEnvVars, that.sparkEnvVars) && Objects.equals(sparkVersion, that.sparkVersion) && Objects.equals(sshPublicKeys, that.sshPublicKeys) + && Objects.equals(totalInitialRemoteDiskSize, that.totalInitialRemoteDiskSize) && Objects.equals(useMlRuntime, that.useMlRuntime) && Objects.equals(workloadType, that.workloadType); } @@ -632,12 +666,14 @@ public int hashCode() { nodeTypeId, numWorkers, policyId, + remoteDiskThroughput, runtimeEngine, singleUserName, sparkConf, sparkEnvVars, sparkVersion, sshPublicKeys, + totalInitialRemoteDiskSize, useMlRuntime, workloadType); } @@ -668,12 +704,14 @@ public String toString() { .add("nodeTypeId", nodeTypeId) .add("numWorkers", numWorkers) .add("policyId", policyId) + .add("remoteDiskThroughput", remoteDiskThroughput) .add("runtimeEngine", runtimeEngine) .add("singleUserName", singleUserName) .add("sparkConf", sparkConf) .add("sparkEnvVars", sparkEnvVars) .add("sparkVersion", sparkVersion) .add("sshPublicKeys", sshPublicKeys) + .add("totalInitialRemoteDiskSize", totalInitialRemoteDiskSize) .add("useMlRuntime", useMlRuntime) .add("workloadType", workloadType) .toString(); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreateInstancePool.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreateInstancePool.java index dcd40b667..cdc49aa18 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreateInstancePool.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreateInstancePool.java @@ -104,6 +104,20 @@ public class CreateInstancePool { @JsonProperty("preloaded_spark_versions") private Collection preloadedSparkVersions; + /** + * If set, what the configurable throughput (in Mb/s) for the remote disk is. Currently only + * supported for GCP HYPERDISK_BALANCED types. + */ + @JsonProperty("remote_disk_throughput") + private Long remoteDiskThroughput; + + /** + * If set, what the total initial volume size (in GB) of the remote disks should be. Currently + * only supported for GCP HYPERDISK_BALANCED types. + */ + @JsonProperty("total_initial_remote_disk_size") + private Long totalInitialRemoteDiskSize; + public CreateInstancePool setAwsAttributes(InstancePoolAwsAttributes awsAttributes) { this.awsAttributes = awsAttributes; return this; @@ -223,6 +237,24 @@ public Collection getPreloadedSparkVersions() { return preloadedSparkVersions; } + public CreateInstancePool setRemoteDiskThroughput(Long remoteDiskThroughput) { + this.remoteDiskThroughput = remoteDiskThroughput; + return this; + } + + public Long getRemoteDiskThroughput() { + return remoteDiskThroughput; + } + + public CreateInstancePool setTotalInitialRemoteDiskSize(Long totalInitialRemoteDiskSize) { + this.totalInitialRemoteDiskSize = totalInitialRemoteDiskSize; + return this; + } + + public Long getTotalInitialRemoteDiskSize() { + return totalInitialRemoteDiskSize; + } + @Override public boolean equals(Object o) { if (this == o) return true; @@ -241,7 +273,9 @@ public boolean equals(Object o) { && Objects.equals(minIdleInstances, that.minIdleInstances) && Objects.equals(nodeTypeId, that.nodeTypeId) && Objects.equals(preloadedDockerImages, that.preloadedDockerImages) - && Objects.equals(preloadedSparkVersions, that.preloadedSparkVersions); + && Objects.equals(preloadedSparkVersions, that.preloadedSparkVersions) + && Objects.equals(remoteDiskThroughput, that.remoteDiskThroughput) + && Objects.equals(totalInitialRemoteDiskSize, that.totalInitialRemoteDiskSize); } @Override @@ -259,7 +293,9 @@ public int hashCode() { minIdleInstances, nodeTypeId, preloadedDockerImages, - preloadedSparkVersions); + preloadedSparkVersions, + remoteDiskThroughput, + totalInitialRemoteDiskSize); } @Override @@ -278,6 +314,8 @@ public String toString() { .add("nodeTypeId", nodeTypeId) .add("preloadedDockerImages", preloadedDockerImages) .add("preloadedSparkVersions", preloadedSparkVersions) + .add("remoteDiskThroughput", remoteDiskThroughput) + .add("totalInitialRemoteDiskSize", totalInitialRemoteDiskSize) .toString(); } } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/DeleteGlobalInitScriptRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/DeleteGlobalInitScriptRequest.java index 993e73ca0..abcc1f51a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/DeleteGlobalInitScriptRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/DeleteGlobalInitScriptRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete init script */ @Generated public class DeleteGlobalInitScriptRequest { /** The ID of the global init script. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditCluster.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditCluster.java index 81c1b7e85..7fe108450 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditCluster.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditCluster.java @@ -218,6 +218,13 @@ public class EditCluster { @JsonProperty("policy_id") private String policyId; + /** + * If set, what the configurable throughput (in Mb/s) for the remote disk is. Currently only + * supported for GCP HYPERDISK_BALANCED disks. + */ + @JsonProperty("remote_disk_throughput") + private Long remoteDiskThroughput; + /** * Determines the cluster's runtime engine, either standard or Photon. * @@ -273,6 +280,13 @@ public class EditCluster { @JsonProperty("ssh_public_keys") private Collection sshPublicKeys; + /** + * If set, what the total initial volume size (in GB) of the remote disks should be. Currently + * only supported for GCP HYPERDISK_BALANCED disks. + */ + @JsonProperty("total_initial_remote_disk_size") + private Long totalInitialRemoteDiskSize; + /** * This field can only be used when `kind = CLASSIC_PREVIEW`. * @@ -493,6 +507,15 @@ public String getPolicyId() { return policyId; } + public EditCluster setRemoteDiskThroughput(Long remoteDiskThroughput) { + this.remoteDiskThroughput = remoteDiskThroughput; + return this; + } + + public Long getRemoteDiskThroughput() { + return remoteDiskThroughput; + } + public EditCluster setRuntimeEngine(RuntimeEngine runtimeEngine) { this.runtimeEngine = runtimeEngine; return this; @@ -547,6 +570,15 @@ public Collection getSshPublicKeys() { return sshPublicKeys; } + public EditCluster setTotalInitialRemoteDiskSize(Long totalInitialRemoteDiskSize) { + this.totalInitialRemoteDiskSize = totalInitialRemoteDiskSize; + return this; + } + + public Long getTotalInitialRemoteDiskSize() { + return totalInitialRemoteDiskSize; + } + public EditCluster setUseMlRuntime(Boolean useMlRuntime) { this.useMlRuntime = useMlRuntime; return this; @@ -593,12 +625,14 @@ public boolean equals(Object o) { && Objects.equals(nodeTypeId, that.nodeTypeId) && Objects.equals(numWorkers, that.numWorkers) && Objects.equals(policyId, that.policyId) + && Objects.equals(remoteDiskThroughput, that.remoteDiskThroughput) && Objects.equals(runtimeEngine, that.runtimeEngine) && Objects.equals(singleUserName, that.singleUserName) && Objects.equals(sparkConf, that.sparkConf) && Objects.equals(sparkEnvVars, that.sparkEnvVars) && Objects.equals(sparkVersion, that.sparkVersion) && Objects.equals(sshPublicKeys, that.sshPublicKeys) + && Objects.equals(totalInitialRemoteDiskSize, that.totalInitialRemoteDiskSize) && Objects.equals(useMlRuntime, that.useMlRuntime) && Objects.equals(workloadType, that.workloadType); } @@ -629,12 +663,14 @@ public int hashCode() { nodeTypeId, numWorkers, policyId, + remoteDiskThroughput, runtimeEngine, singleUserName, sparkConf, sparkEnvVars, sparkVersion, sshPublicKeys, + totalInitialRemoteDiskSize, useMlRuntime, workloadType); } @@ -665,12 +701,14 @@ public String toString() { .add("nodeTypeId", nodeTypeId) .add("numWorkers", numWorkers) .add("policyId", policyId) + .add("remoteDiskThroughput", remoteDiskThroughput) .add("runtimeEngine", runtimeEngine) .add("singleUserName", singleUserName) .add("sparkConf", sparkConf) .add("sparkEnvVars", sparkEnvVars) .add("sparkVersion", sparkVersion) .add("sshPublicKeys", sshPublicKeys) + .add("totalInitialRemoteDiskSize", totalInitialRemoteDiskSize) .add("useMlRuntime", useMlRuntime) .add("workloadType", workloadType) .toString(); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditInstancePool.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditInstancePool.java index 5f1c2d218..b5cd70eb2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditInstancePool.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditInstancePool.java @@ -61,6 +61,20 @@ public class EditInstancePool { @JsonProperty("node_type_id") private String nodeTypeId; + /** + * If set, what the configurable throughput (in Mb/s) for the remote disk is. Currently only + * supported for GCP HYPERDISK_BALANCED types. + */ + @JsonProperty("remote_disk_throughput") + private Long remoteDiskThroughput; + + /** + * If set, what the total initial volume size (in GB) of the remote disks should be. Currently + * only supported for GCP HYPERDISK_BALANCED types. + */ + @JsonProperty("total_initial_remote_disk_size") + private Long totalInitialRemoteDiskSize; + public EditInstancePool setCustomTags(Map customTags) { this.customTags = customTags; return this; @@ -125,6 +139,24 @@ public String getNodeTypeId() { return nodeTypeId; } + public EditInstancePool setRemoteDiskThroughput(Long remoteDiskThroughput) { + this.remoteDiskThroughput = remoteDiskThroughput; + return this; + } + + public Long getRemoteDiskThroughput() { + return remoteDiskThroughput; + } + + public EditInstancePool setTotalInitialRemoteDiskSize(Long totalInitialRemoteDiskSize) { + this.totalInitialRemoteDiskSize = totalInitialRemoteDiskSize; + return this; + } + + public Long getTotalInitialRemoteDiskSize() { + return totalInitialRemoteDiskSize; + } + @Override public boolean equals(Object o) { if (this == o) return true; @@ -137,7 +169,9 @@ public boolean equals(Object o) { && Objects.equals(instancePoolName, that.instancePoolName) && Objects.equals(maxCapacity, that.maxCapacity) && Objects.equals(minIdleInstances, that.minIdleInstances) - && Objects.equals(nodeTypeId, that.nodeTypeId); + && Objects.equals(nodeTypeId, that.nodeTypeId) + && Objects.equals(remoteDiskThroughput, that.remoteDiskThroughput) + && Objects.equals(totalInitialRemoteDiskSize, that.totalInitialRemoteDiskSize); } @Override @@ -149,7 +183,9 @@ public int hashCode() { instancePoolName, maxCapacity, minIdleInstances, - nodeTypeId); + nodeTypeId, + remoteDiskThroughput, + totalInitialRemoteDiskSize); } @Override @@ -162,6 +198,8 @@ public String toString() { .add("maxCapacity", maxCapacity) .add("minIdleInstances", minIdleInstances) .add("nodeTypeId", nodeTypeId) + .add("remoteDiskThroughput", remoteDiskThroughput) + .add("totalInitialRemoteDiskSize", totalInitialRemoteDiskSize) .toString(); } } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterComplianceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterComplianceRequest.java index 29719bb14..a3dfa590f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterComplianceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterComplianceRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get cluster policy compliance */ @Generated public class GetClusterComplianceRequest { /** The ID of the cluster to get the compliance status */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPermissionLevelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPermissionLevelsRequest.java index 66e5703b2..2c863a0b0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPermissionLevelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPermissionLevelsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get cluster permission levels */ @Generated public class GetClusterPermissionLevelsRequest { /** The cluster for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPermissionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPermissionsRequest.java index d8ded41ad..73116b1eb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPermissionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPermissionsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get cluster permissions */ @Generated public class GetClusterPermissionsRequest { /** The cluster for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPolicyPermissionLevelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPolicyPermissionLevelsRequest.java index 2fa32ed3b..47b566613 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPolicyPermissionLevelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPolicyPermissionLevelsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get cluster policy permission levels */ @Generated public class GetClusterPolicyPermissionLevelsRequest { /** The cluster policy for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPolicyPermissionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPolicyPermissionsRequest.java index a062639ac..4d83dfa01 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPolicyPermissionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPolicyPermissionsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get cluster policy permissions */ @Generated public class GetClusterPolicyPermissionsRequest { /** The cluster policy for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPolicyRequest.java index 15db04f6e..880186d6f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterPolicyRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a cluster policy */ @Generated public class GetClusterPolicyRequest { /** Canonical unique identifier for the Cluster Policy. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterRequest.java index 2df188625..7a6b490c8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetClusterRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get cluster info */ @Generated public class GetClusterRequest { /** The cluster about which to retrieve information. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetGlobalInitScriptRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetGlobalInitScriptRequest.java index ccc3fca1a..9e6e24d12 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetGlobalInitScriptRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetGlobalInitScriptRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get an init script */ @Generated public class GetGlobalInitScriptRequest { /** The ID of the global init script. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePool.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePool.java index 97feb90b6..be68fd165 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePool.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePool.java @@ -122,6 +122,13 @@ public class GetInstancePool { @JsonProperty("preloaded_spark_versions") private Collection preloadedSparkVersions; + /** + * If set, what the configurable throughput (in Mb/s) for the remote disk is. Currently only + * supported for GCP HYPERDISK_BALANCED types. + */ + @JsonProperty("remote_disk_throughput") + private Long remoteDiskThroughput; + /** Current state of the instance pool. */ @JsonProperty("state") private InstancePoolState state; @@ -134,6 +141,13 @@ public class GetInstancePool { @JsonProperty("status") private InstancePoolStatus status; + /** + * If set, what the total initial volume size (in GB) of the remote disks should be. Currently + * only supported for GCP HYPERDISK_BALANCED types. + */ + @JsonProperty("total_initial_remote_disk_size") + private Long totalInitialRemoteDiskSize; + public GetInstancePool setAwsAttributes(InstancePoolAwsAttributes awsAttributes) { this.awsAttributes = awsAttributes; return this; @@ -270,6 +284,15 @@ public Collection getPreloadedSparkVersions() { return preloadedSparkVersions; } + public GetInstancePool setRemoteDiskThroughput(Long remoteDiskThroughput) { + this.remoteDiskThroughput = remoteDiskThroughput; + return this; + } + + public Long getRemoteDiskThroughput() { + return remoteDiskThroughput; + } + public GetInstancePool setState(InstancePoolState state) { this.state = state; return this; @@ -297,6 +320,15 @@ public InstancePoolStatus getStatus() { return status; } + public GetInstancePool setTotalInitialRemoteDiskSize(Long totalInitialRemoteDiskSize) { + this.totalInitialRemoteDiskSize = totalInitialRemoteDiskSize; + return this; + } + + public Long getTotalInitialRemoteDiskSize() { + return totalInitialRemoteDiskSize; + } + @Override public boolean equals(Object o) { if (this == o) return true; @@ -318,9 +350,11 @@ public boolean equals(Object o) { && Objects.equals(nodeTypeId, that.nodeTypeId) && Objects.equals(preloadedDockerImages, that.preloadedDockerImages) && Objects.equals(preloadedSparkVersions, that.preloadedSparkVersions) + && Objects.equals(remoteDiskThroughput, that.remoteDiskThroughput) && Objects.equals(state, that.state) && Objects.equals(stats, that.stats) - && Objects.equals(status, that.status); + && Objects.equals(status, that.status) + && Objects.equals(totalInitialRemoteDiskSize, that.totalInitialRemoteDiskSize); } @Override @@ -341,9 +375,11 @@ public int hashCode() { nodeTypeId, preloadedDockerImages, preloadedSparkVersions, + remoteDiskThroughput, state, stats, - status); + status, + totalInitialRemoteDiskSize); } @Override @@ -364,9 +400,11 @@ public String toString() { .add("nodeTypeId", nodeTypeId) .add("preloadedDockerImages", preloadedDockerImages) .add("preloadedSparkVersions", preloadedSparkVersions) + .add("remoteDiskThroughput", remoteDiskThroughput) .add("state", state) .add("stats", stats) .add("status", status) + .add("totalInitialRemoteDiskSize", totalInitialRemoteDiskSize) .toString(); } } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePoolPermissionLevelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePoolPermissionLevelsRequest.java index afc2a6065..3178dbf24 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePoolPermissionLevelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePoolPermissionLevelsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get instance pool permission levels */ @Generated public class GetInstancePoolPermissionLevelsRequest { /** The instance pool for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePoolPermissionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePoolPermissionsRequest.java index 7b1074d2a..8f8076984 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePoolPermissionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePoolPermissionsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get instance pool permissions */ @Generated public class GetInstancePoolPermissionsRequest { /** The instance pool for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePoolRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePoolRequest.java index 8eef5664b..d9bad4752 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePoolRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePoolRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get instance pool information */ @Generated public class GetInstancePoolRequest { /** The canonical unique identifier for the instance pool. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetPolicyFamilyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetPolicyFamilyRequest.java index 626e1d178..41ec70911 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetPolicyFamilyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetPolicyFamilyRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get policy family information */ @Generated public class GetPolicyFamilyRequest { /** The family ID about which to retrieve information. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GlobalInitScriptsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GlobalInitScriptsAPI.java index 28f450f8e..bdd6dc689 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GlobalInitScriptsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GlobalInitScriptsAPI.java @@ -36,11 +36,7 @@ public CreateResponse create(String name, String script) { return create(new GlobalInitScriptCreateRequest().setName(name).setScript(script)); } - /** - * Create init script. - * - *

Creates a new global init script in this workspace. - */ + /** Creates a new global init script in this workspace. */ public CreateResponse create(GlobalInitScriptCreateRequest request) { return impl.create(request); } @@ -49,11 +45,7 @@ public void delete(String scriptId) { delete(new DeleteGlobalInitScriptRequest().setScriptId(scriptId)); } - /** - * Delete init script. - * - *

Deletes a global init script. - */ + /** Deletes a global init script. */ public void delete(DeleteGlobalInitScriptRequest request) { impl.delete(request); } @@ -62,21 +54,15 @@ public GlobalInitScriptDetailsWithContent get(String scriptId) { return get(new GetGlobalInitScriptRequest().setScriptId(scriptId)); } - /** - * Get an init script. - * - *

Gets all the details of a script, including its Base64-encoded contents. - */ + /** Gets all the details of a script, including its Base64-encoded contents. */ public GlobalInitScriptDetailsWithContent get(GetGlobalInitScriptRequest request) { return impl.get(request); } /** - * Get init scripts. - * - *

Get a list of all global init scripts for this workspace. This returns all properties for - * each script but **not** the script contents. To retrieve the contents of a script, use the [get - * a global init script](:method:globalinitscripts/get) operation. + * Get a list of all global init scripts for this workspace. This returns all properties for each + * script but **not** the script contents. To retrieve the contents of a script, use the [get a + * global init script](:method:globalinitscripts/get) operation. */ public Iterable list() { return new Paginator<>( @@ -89,9 +75,7 @@ public void update(String scriptId, String name, String script) { } /** - * Update init script. - * - *

Updates a global init script, specifying only the fields to change. All fields are optional. + * Updates a global init script, specifying only the fields to change. All fields are optional. * Unspecified fields retain their current value. */ public void update(GlobalInitScriptUpdateRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GlobalInitScriptsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GlobalInitScriptsService.java index 2a8b7f429..b031af2ef 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GlobalInitScriptsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GlobalInitScriptsService.java @@ -18,40 +18,24 @@ */ @Generated public interface GlobalInitScriptsService { - /** - * Create init script. - * - *

Creates a new global init script in this workspace. - */ + /** Creates a new global init script in this workspace. */ CreateResponse create(GlobalInitScriptCreateRequest globalInitScriptCreateRequest); - /** - * Delete init script. - * - *

Deletes a global init script. - */ + /** Deletes a global init script. */ void delete(DeleteGlobalInitScriptRequest deleteGlobalInitScriptRequest); - /** - * Get an init script. - * - *

Gets all the details of a script, including its Base64-encoded contents. - */ + /** Gets all the details of a script, including its Base64-encoded contents. */ GlobalInitScriptDetailsWithContent get(GetGlobalInitScriptRequest getGlobalInitScriptRequest); /** - * Get init scripts. - * - *

Get a list of all global init scripts for this workspace. This returns all properties for - * each script but **not** the script contents. To retrieve the contents of a script, use the [get - * a global init script](:method:globalinitscripts/get) operation. + * Get a list of all global init scripts for this workspace. This returns all properties for each + * script but **not** the script contents. To retrieve the contents of a script, use the [get a + * global init script](:method:globalinitscripts/get) operation. */ ListGlobalInitScriptsResponse list(); /** - * Update init script. - * - *

Updates a global init script, specifying only the fields to change. All fields are optional. + * Updates a global init script, specifying only the fields to change. All fields are optional. * Unspecified fields retain their current value. */ void update(GlobalInitScriptUpdateRequest globalInitScriptUpdateRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolAndStats.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolAndStats.java index f2fd58676..485798092 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolAndStats.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolAndStats.java @@ -122,6 +122,13 @@ public class InstancePoolAndStats { @JsonProperty("preloaded_spark_versions") private Collection preloadedSparkVersions; + /** + * If set, what the configurable throughput (in Mb/s) for the remote disk is. Currently only + * supported for GCP HYPERDISK_BALANCED types. + */ + @JsonProperty("remote_disk_throughput") + private Long remoteDiskThroughput; + /** Current state of the instance pool. */ @JsonProperty("state") private InstancePoolState state; @@ -134,6 +141,13 @@ public class InstancePoolAndStats { @JsonProperty("status") private InstancePoolStatus status; + /** + * If set, what the total initial volume size (in GB) of the remote disks should be. Currently + * only supported for GCP HYPERDISK_BALANCED types. + */ + @JsonProperty("total_initial_remote_disk_size") + private Long totalInitialRemoteDiskSize; + public InstancePoolAndStats setAwsAttributes(InstancePoolAwsAttributes awsAttributes) { this.awsAttributes = awsAttributes; return this; @@ -271,6 +285,15 @@ public Collection getPreloadedSparkVersions() { return preloadedSparkVersions; } + public InstancePoolAndStats setRemoteDiskThroughput(Long remoteDiskThroughput) { + this.remoteDiskThroughput = remoteDiskThroughput; + return this; + } + + public Long getRemoteDiskThroughput() { + return remoteDiskThroughput; + } + public InstancePoolAndStats setState(InstancePoolState state) { this.state = state; return this; @@ -298,6 +321,15 @@ public InstancePoolStatus getStatus() { return status; } + public InstancePoolAndStats setTotalInitialRemoteDiskSize(Long totalInitialRemoteDiskSize) { + this.totalInitialRemoteDiskSize = totalInitialRemoteDiskSize; + return this; + } + + public Long getTotalInitialRemoteDiskSize() { + return totalInitialRemoteDiskSize; + } + @Override public boolean equals(Object o) { if (this == o) return true; @@ -319,9 +351,11 @@ public boolean equals(Object o) { && Objects.equals(nodeTypeId, that.nodeTypeId) && Objects.equals(preloadedDockerImages, that.preloadedDockerImages) && Objects.equals(preloadedSparkVersions, that.preloadedSparkVersions) + && Objects.equals(remoteDiskThroughput, that.remoteDiskThroughput) && Objects.equals(state, that.state) && Objects.equals(stats, that.stats) - && Objects.equals(status, that.status); + && Objects.equals(status, that.status) + && Objects.equals(totalInitialRemoteDiskSize, that.totalInitialRemoteDiskSize); } @Override @@ -342,9 +376,11 @@ public int hashCode() { nodeTypeId, preloadedDockerImages, preloadedSparkVersions, + remoteDiskThroughput, state, stats, - status); + status, + totalInitialRemoteDiskSize); } @Override @@ -365,9 +401,11 @@ public String toString() { .add("nodeTypeId", nodeTypeId) .add("preloadedDockerImages", preloadedDockerImages) .add("preloadedSparkVersions", preloadedSparkVersions) + .add("remoteDiskThroughput", remoteDiskThroughput) .add("state", state) .add("stats", stats) .add("status", status) + .add("totalInitialRemoteDiskSize", totalInitialRemoteDiskSize) .toString(); } } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolsAPI.java index 435127f2c..eea10c20c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolsAPI.java @@ -45,11 +45,7 @@ public CreateInstancePoolResponse create(String instancePoolName, String nodeTyp new CreateInstancePool().setInstancePoolName(instancePoolName).setNodeTypeId(nodeTypeId)); } - /** - * Create a new instance pool. - * - *

Creates a new instance pool using idle and ready-to-use cloud instances. - */ + /** Creates a new instance pool using idle and ready-to-use cloud instances. */ public CreateInstancePoolResponse create(CreateInstancePool request) { return impl.create(request); } @@ -59,9 +55,7 @@ public void delete(String instancePoolId) { } /** - * Delete an instance pool. - * - *

Deletes the instance pool permanently. The idle instances in the pool are terminated + * Deletes the instance pool permanently. The idle instances in the pool are terminated * asynchronously. */ public void delete(DeleteInstancePool request) { @@ -76,11 +70,7 @@ public void edit(String instancePoolId, String instancePoolName, String nodeType .setNodeTypeId(nodeTypeId)); } - /** - * Edit an existing instance pool. - * - *

Modifies the configuration of an existing instance pool. - */ + /** Modifies the configuration of an existing instance pool. */ public void edit(EditInstancePool request) { impl.edit(request); } @@ -89,11 +79,7 @@ public GetInstancePool get(String instancePoolId) { return get(new GetInstancePoolRequest().setInstancePoolId(instancePoolId)); } - /** - * Get instance pool information. - * - *

Retrieve the information for an instance pool based on its identifier. - */ + /** Retrieve the information for an instance pool based on its identifier. */ public GetInstancePool get(GetInstancePoolRequest request) { return impl.get(request); } @@ -103,11 +89,7 @@ public GetInstancePoolPermissionLevelsResponse getPermissionLevels(String instan new GetInstancePoolPermissionLevelsRequest().setInstancePoolId(instancePoolId)); } - /** - * Get instance pool permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ public GetInstancePoolPermissionLevelsResponse getPermissionLevels( GetInstancePoolPermissionLevelsRequest request) { return impl.getPermissionLevels(request); @@ -119,20 +101,14 @@ public InstancePoolPermissions getPermissions(String instancePoolId) { } /** - * Get instance pool permissions. - * - *

Gets the permissions of an instance pool. Instance pools can inherit permissions from their + * Gets the permissions of an instance pool. Instance pools can inherit permissions from their * root object. */ public InstancePoolPermissions getPermissions(GetInstancePoolPermissionsRequest request) { return impl.getPermissions(request); } - /** - * List instance pool info. - * - *

Gets a list of instance pools with their statistics. - */ + /** Gets a list of instance pools with their statistics. */ public Iterable list() { return new Paginator<>( null, (Void v) -> impl.list(), ListInstancePools::getInstancePools, response -> null); @@ -143,11 +119,8 @@ public InstancePoolPermissions setPermissions(String instancePoolId) { } /** - * Set instance pool permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ public InstancePoolPermissions setPermissions(InstancePoolPermissionsRequest request) { return impl.setPermissions(request); @@ -159,10 +132,8 @@ public InstancePoolPermissions updatePermissions(String instancePoolId) { } /** - * Update instance pool permissions. - * - *

Updates the permissions on an instance pool. Instance pools can inherit permissions from - * their root object. + * Updates the permissions on an instance pool. Instance pools can inherit permissions from their + * root object. */ public InstancePoolPermissions updatePermissions(InstancePoolPermissionsRequest request) { return impl.updatePermissions(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolsService.java index 0a7d03ead..4b41a1123 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolsService.java @@ -26,74 +26,45 @@ */ @Generated public interface InstancePoolsService { - /** - * Create a new instance pool. - * - *

Creates a new instance pool using idle and ready-to-use cloud instances. - */ + /** Creates a new instance pool using idle and ready-to-use cloud instances. */ CreateInstancePoolResponse create(CreateInstancePool createInstancePool); /** - * Delete an instance pool. - * - *

Deletes the instance pool permanently. The idle instances in the pool are terminated + * Deletes the instance pool permanently. The idle instances in the pool are terminated * asynchronously. */ void delete(DeleteInstancePool deleteInstancePool); - /** - * Edit an existing instance pool. - * - *

Modifies the configuration of an existing instance pool. - */ + /** Modifies the configuration of an existing instance pool. */ void edit(EditInstancePool editInstancePool); - /** - * Get instance pool information. - * - *

Retrieve the information for an instance pool based on its identifier. - */ + /** Retrieve the information for an instance pool based on its identifier. */ GetInstancePool get(GetInstancePoolRequest getInstancePoolRequest); - /** - * Get instance pool permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ GetInstancePoolPermissionLevelsResponse getPermissionLevels( GetInstancePoolPermissionLevelsRequest getInstancePoolPermissionLevelsRequest); /** - * Get instance pool permissions. - * - *

Gets the permissions of an instance pool. Instance pools can inherit permissions from their + * Gets the permissions of an instance pool. Instance pools can inherit permissions from their * root object. */ InstancePoolPermissions getPermissions( GetInstancePoolPermissionsRequest getInstancePoolPermissionsRequest); - /** - * List instance pool info. - * - *

Gets a list of instance pools with their statistics. - */ + /** Gets a list of instance pools with their statistics. */ ListInstancePools list(); /** - * Set instance pool permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ InstancePoolPermissions setPermissions( InstancePoolPermissionsRequest instancePoolPermissionsRequest); /** - * Update instance pool permissions. - * - *

Updates the permissions on an instance pool. Instance pools can inherit permissions from - * their root object. + * Updates the permissions on an instance pool. Instance pools can inherit permissions from their + * root object. */ InstancePoolPermissions updatePermissions( InstancePoolPermissionsRequest instancePoolPermissionsRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfilesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfilesAPI.java index 89729b951..d5ca075b7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfilesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfilesAPI.java @@ -36,10 +36,8 @@ public void add(String instanceProfileArn) { } /** - * Register an instance profile. - * - *

Registers an instance profile in Databricks. In the UI, you can then give users the - * permission to use this instance profile when launching clusters. + * Registers an instance profile in Databricks. In the UI, you can then give users the permission + * to use this instance profile when launching clusters. * *

This API is only available to admin users. */ @@ -52,9 +50,7 @@ public void edit(String instanceProfileArn) { } /** - * Edit an instance profile. - * - *

The only supported field to change is the optional IAM role ARN associated with the instance + * The only supported field to change is the optional IAM role ARN associated with the instance * profile. It is required to specify the IAM role ARN if both of the following are true: * *

* Your role name and instance profile name do not match. The name is the part after the last @@ -73,9 +69,7 @@ public void edit(InstanceProfile request) { } /** - * List available instance profiles. - * - *

List the instance profiles that the calling user can use to launch a cluster. + * List the instance profiles that the calling user can use to launch a cluster. * *

This API is available to all users. */ @@ -92,10 +86,8 @@ public void remove(String instanceProfileArn) { } /** - * Remove the instance profile. - * - *

Remove the instance profile with the provided ARN. Existing clusters with this instance - * profile will continue to function. + * Remove the instance profile with the provided ARN. Existing clusters with this instance profile + * will continue to function. * *

This API is only accessible to admin users. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfilesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfilesService.java index eb7e78c1d..e5b4d304f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfilesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfilesService.java @@ -18,19 +18,15 @@ @Generated public interface InstanceProfilesService { /** - * Register an instance profile. - * - *

Registers an instance profile in Databricks. In the UI, you can then give users the - * permission to use this instance profile when launching clusters. + * Registers an instance profile in Databricks. In the UI, you can then give users the permission + * to use this instance profile when launching clusters. * *

This API is only available to admin users. */ void add(AddInstanceProfile addInstanceProfile); /** - * Edit an instance profile. - * - *

The only supported field to change is the optional IAM role ARN associated with the instance + * The only supported field to change is the optional IAM role ARN associated with the instance * profile. It is required to specify the IAM role ARN if both of the following are true: * *

* Your role name and instance profile name do not match. The name is the part after the last @@ -47,19 +43,15 @@ public interface InstanceProfilesService { void edit(InstanceProfile instanceProfile); /** - * List available instance profiles. - * - *

List the instance profiles that the calling user can use to launch a cluster. + * List the instance profiles that the calling user can use to launch a cluster. * *

This API is available to all users. */ ListInstanceProfilesResponse list(); /** - * Remove the instance profile. - * - *

Remove the instance profile with the provided ARN. Existing clusters with this instance - * profile will continue to function. + * Remove the instance profile with the provided ARN. Existing clusters with this instance profile + * will continue to function. * *

This API is only accessible to admin users. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Language.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Language.java index 9dd89c2c3..e8b677236 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Language.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Language.java @@ -10,6 +10,9 @@ public enum Language { @JsonProperty("python") PYTHON, + @JsonProperty("r") + R, + @JsonProperty("scala") SCALA, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LibrariesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LibrariesAPI.java index a65b5f6b0..e1495320b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LibrariesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LibrariesAPI.java @@ -42,9 +42,7 @@ public LibrariesAPI(LibrariesService mock) { } /** - * Get all statuses. - * - *

Get the status of all libraries on all clusters. A status is returned for all libraries + * Get the status of all libraries on all clusters. A status is returned for all libraries * installed on this cluster via the API or the libraries UI. */ public Iterable allClusterStatuses() { @@ -60,11 +58,9 @@ public Iterable clusterStatus(String clusterId) { } /** - * Get status. - * - *

Get the status of libraries on a cluster. A status is returned for all libraries installed - * on this cluster via the API or the libraries UI. The order of returned libraries is as follows: - * 1. Libraries set to be installed on this cluster, in the order that the libraries were added to + * Get the status of libraries on a cluster. A status is returned for all libraries installed on + * this cluster via the API or the libraries UI. The order of returned libraries is as follows: 1. + * Libraries set to be installed on this cluster, in the order that the libraries were added to * the cluster, are returned first. 2. Libraries that were previously requested to be installed on * this cluster or, but are now marked for removal, in no particular order, are returned last. */ @@ -78,9 +74,7 @@ public void install(String clusterId, Collection libraries) { } /** - * Add a library. - * - *

Add libraries to install on a cluster. The installation is asynchronous; it happens in the + * Add libraries to install on a cluster. The installation is asynchronous; it happens in the * background after the completion of this request. */ public void install(InstallLibraries request) { @@ -92,11 +86,8 @@ public void uninstall(String clusterId, Collection libraries) { } /** - * Uninstall libraries. - * - *

Set libraries to uninstall from a cluster. The libraries won't be uninstalled until the - * cluster is restarted. A request to uninstall a library that is not currently installed is - * ignored. + * Set libraries to uninstall from a cluster. The libraries won't be uninstalled until the cluster + * is restarted. A request to uninstall a library that is not currently installed is ignored. */ public void uninstall(UninstallLibraries request) { impl.uninstall(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LibrariesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LibrariesService.java index 58e5a51fd..5ccaf55cb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LibrariesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LibrariesService.java @@ -27,38 +27,29 @@ @Generated public interface LibrariesService { /** - * Get all statuses. - * - *

Get the status of all libraries on all clusters. A status is returned for all libraries + * Get the status of all libraries on all clusters. A status is returned for all libraries * installed on this cluster via the API or the libraries UI. */ ListAllClusterLibraryStatusesResponse allClusterStatuses(); /** - * Get status. - * - *

Get the status of libraries on a cluster. A status is returned for all libraries installed - * on this cluster via the API or the libraries UI. The order of returned libraries is as follows: - * 1. Libraries set to be installed on this cluster, in the order that the libraries were added to + * Get the status of libraries on a cluster. A status is returned for all libraries installed on + * this cluster via the API or the libraries UI. The order of returned libraries is as follows: 1. + * Libraries set to be installed on this cluster, in the order that the libraries were added to * the cluster, are returned first. 2. Libraries that were previously requested to be installed on * this cluster or, but are now marked for removal, in no particular order, are returned last. */ ClusterLibraryStatuses clusterStatus(ClusterStatus clusterStatus); /** - * Add a library. - * - *

Add libraries to install on a cluster. The installation is asynchronous; it happens in the + * Add libraries to install on a cluster. The installation is asynchronous; it happens in the * background after the completion of this request. */ void install(InstallLibraries installLibraries); /** - * Uninstall libraries. - * - *

Set libraries to uninstall from a cluster. The libraries won't be uninstalled until the - * cluster is restarted. A request to uninstall a library that is not currently installed is - * ignored. + * Set libraries to uninstall from a cluster. The libraries won't be uninstalled until the cluster + * is restarted. A request to uninstall a library that is not currently installed is ignored. */ void uninstall(UninstallLibraries uninstallLibraries); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClusterCompliancesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClusterCompliancesRequest.java index 1347905b7..33e7f38f8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClusterCompliancesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClusterCompliancesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List cluster policy compliance */ @Generated public class ListClusterCompliancesRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClusterPoliciesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClusterPoliciesRequest.java index fa8edb3dc..ee797f3c2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClusterPoliciesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClusterPoliciesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List cluster policies */ @Generated public class ListClusterPoliciesRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClustersRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClustersRequest.java index 7139f7763..519c5f0de 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClustersRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClustersRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List clusters */ @Generated public class ListClustersRequest { /** Filters to apply to the list of clusters. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListPolicyFamiliesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListPolicyFamiliesRequest.java index f267ac127..b26f40156 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListPolicyFamiliesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListPolicyFamiliesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List policy families */ @Generated public class ListPolicyFamiliesRequest { /** Maximum number of policy families to return. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyComplianceForClustersAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyComplianceForClustersAPI.java index 7af090378..565c943ee 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyComplianceForClustersAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyComplianceForClustersAPI.java @@ -40,9 +40,7 @@ public EnforceClusterComplianceResponse enforceCompliance(String clusterId) { } /** - * Enforce cluster policy compliance. - * - *

Updates a cluster to be compliant with the current version of its policy. A cluster can be + * Updates a cluster to be compliant with the current version of its policy. A cluster can be * updated if it is in a `RUNNING` or `TERMINATED` state. * *

If a cluster is updated while in a `RUNNING` state, it will be restarted so that the new @@ -64,10 +62,8 @@ public GetClusterComplianceResponse getCompliance(String clusterId) { } /** - * Get cluster policy compliance. - * - *

Returns the policy compliance status of a cluster. Clusters could be out of compliance if - * their policy was updated after the cluster was last edited. + * Returns the policy compliance status of a cluster. Clusters could be out of compliance if their + * policy was updated after the cluster was last edited. */ public GetClusterComplianceResponse getCompliance(GetClusterComplianceRequest request) { return impl.getCompliance(request); @@ -78,10 +74,8 @@ public Iterable listCompliance(String policyId) { } /** - * List cluster policy compliance. - * - *

Returns the policy compliance status of all clusters that use a given policy. Clusters could - * be out of compliance if their policy was updated after the cluster was last edited. + * Returns the policy compliance status of all clusters that use a given policy. Clusters could be + * out of compliance if their policy was updated after the cluster was last edited. */ public Iterable listCompliance(ListClusterCompliancesRequest request) { return new Paginator<>( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyComplianceForClustersService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyComplianceForClustersService.java index cf0690c63..c7a70552e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyComplianceForClustersService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyComplianceForClustersService.java @@ -22,9 +22,7 @@ @Generated public interface PolicyComplianceForClustersService { /** - * Enforce cluster policy compliance. - * - *

Updates a cluster to be compliant with the current version of its policy. A cluster can be + * Updates a cluster to be compliant with the current version of its policy. A cluster can be * updated if it is in a `RUNNING` or `TERMINATED` state. * *

If a cluster is updated while in a `RUNNING` state, it will be restarted so that the new @@ -40,19 +38,15 @@ EnforceClusterComplianceResponse enforceCompliance( EnforceClusterComplianceRequest enforceClusterComplianceRequest); /** - * Get cluster policy compliance. - * - *

Returns the policy compliance status of a cluster. Clusters could be out of compliance if - * their policy was updated after the cluster was last edited. + * Returns the policy compliance status of a cluster. Clusters could be out of compliance if their + * policy was updated after the cluster was last edited. */ GetClusterComplianceResponse getCompliance( GetClusterComplianceRequest getClusterComplianceRequest); /** - * List cluster policy compliance. - * - *

Returns the policy compliance status of all clusters that use a given policy. Clusters could - * be out of compliance if their policy was updated after the cluster was last edited. + * Returns the policy compliance status of all clusters that use a given policy. Clusters could be + * out of compliance if their policy was updated after the cluster was last edited. */ ListClusterCompliancesResponse listCompliance( ListClusterCompliancesRequest listClusterCompliancesRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyFamiliesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyFamiliesAPI.java index d31df6eaf..a6c49c7fb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyFamiliesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyFamiliesAPI.java @@ -38,20 +38,14 @@ public PolicyFamily get(String policyFamilyId) { return get(new GetPolicyFamilyRequest().setPolicyFamilyId(policyFamilyId)); } - /** - * Get policy family information. - * - *

Retrieve the information for an policy family based on its identifier and version - */ + /** Retrieve the information for an policy family based on its identifier and version */ public PolicyFamily get(GetPolicyFamilyRequest request) { return impl.get(request); } /** - * List policy families. - * - *

Returns the list of policy definition types available to use at their latest version. This - * API is paginated. + * Returns the list of policy definition types available to use at their latest version. This API + * is paginated. */ public Iterable list(ListPolicyFamiliesRequest request) { return new Paginator<>( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyFamiliesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyFamiliesService.java index 48dd2e3c1..589391260 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyFamiliesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyFamiliesService.java @@ -20,18 +20,12 @@ */ @Generated public interface PolicyFamiliesService { - /** - * Get policy family information. - * - *

Retrieve the information for an policy family based on its identifier and version - */ + /** Retrieve the information for an policy family based on its identifier and version */ PolicyFamily get(GetPolicyFamilyRequest getPolicyFamilyRequest); /** - * List policy families. - * - *

Returns the list of policy definition types available to use at their latest version. This - * API is paginated. + * Returns the list of policy definition types available to use at their latest version. This API + * is paginated. */ ListPolicyFamiliesResponse list(ListPolicyFamiliesRequest listPolicyFamiliesRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/UpdateClusterResource.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/UpdateClusterResource.java index 151d44359..9471ef127 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/UpdateClusterResource.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/UpdateClusterResource.java @@ -207,6 +207,13 @@ public class UpdateClusterResource { @JsonProperty("policy_id") private String policyId; + /** + * If set, what the configurable throughput (in Mb/s) for the remote disk is. Currently only + * supported for GCP HYPERDISK_BALANCED disks. + */ + @JsonProperty("remote_disk_throughput") + private Long remoteDiskThroughput; + /** * Determines the cluster's runtime engine, either standard or Photon. * @@ -262,6 +269,13 @@ public class UpdateClusterResource { @JsonProperty("ssh_public_keys") private Collection sshPublicKeys; + /** + * If set, what the total initial volume size (in GB) of the remote disks should be. Currently + * only supported for GCP HYPERDISK_BALANCED disks. + */ + @JsonProperty("total_initial_remote_disk_size") + private Long totalInitialRemoteDiskSize; + /** * This field can only be used when `kind = CLASSIC_PREVIEW`. * @@ -464,6 +478,15 @@ public String getPolicyId() { return policyId; } + public UpdateClusterResource setRemoteDiskThroughput(Long remoteDiskThroughput) { + this.remoteDiskThroughput = remoteDiskThroughput; + return this; + } + + public Long getRemoteDiskThroughput() { + return remoteDiskThroughput; + } + public UpdateClusterResource setRuntimeEngine(RuntimeEngine runtimeEngine) { this.runtimeEngine = runtimeEngine; return this; @@ -518,6 +541,15 @@ public Collection getSshPublicKeys() { return sshPublicKeys; } + public UpdateClusterResource setTotalInitialRemoteDiskSize(Long totalInitialRemoteDiskSize) { + this.totalInitialRemoteDiskSize = totalInitialRemoteDiskSize; + return this; + } + + public Long getTotalInitialRemoteDiskSize() { + return totalInitialRemoteDiskSize; + } + public UpdateClusterResource setUseMlRuntime(Boolean useMlRuntime) { this.useMlRuntime = useMlRuntime; return this; @@ -562,12 +594,14 @@ public boolean equals(Object o) { && Objects.equals(nodeTypeId, that.nodeTypeId) && Objects.equals(numWorkers, that.numWorkers) && Objects.equals(policyId, that.policyId) + && Objects.equals(remoteDiskThroughput, that.remoteDiskThroughput) && Objects.equals(runtimeEngine, that.runtimeEngine) && Objects.equals(singleUserName, that.singleUserName) && Objects.equals(sparkConf, that.sparkConf) && Objects.equals(sparkEnvVars, that.sparkEnvVars) && Objects.equals(sparkVersion, that.sparkVersion) && Objects.equals(sshPublicKeys, that.sshPublicKeys) + && Objects.equals(totalInitialRemoteDiskSize, that.totalInitialRemoteDiskSize) && Objects.equals(useMlRuntime, that.useMlRuntime) && Objects.equals(workloadType, that.workloadType); } @@ -596,12 +630,14 @@ public int hashCode() { nodeTypeId, numWorkers, policyId, + remoteDiskThroughput, runtimeEngine, singleUserName, sparkConf, sparkEnvVars, sparkVersion, sshPublicKeys, + totalInitialRemoteDiskSize, useMlRuntime, workloadType); } @@ -630,12 +666,14 @@ public String toString() { .add("nodeTypeId", nodeTypeId) .add("numWorkers", numWorkers) .add("policyId", policyId) + .add("remoteDiskThroughput", remoteDiskThroughput) .add("runtimeEngine", runtimeEngine) .add("singleUserName", singleUserName) .add("sparkConf", sparkConf) .add("sparkEnvVars", sparkEnvVars) .add("sparkVersion", sparkVersion) .add("sshPublicKeys", sshPublicKeys) + .add("totalInitialRemoteDiskSize", totalInitialRemoteDiskSize) .add("useMlRuntime", useMlRuntime) .add("workloadType", workloadType) .toString(); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CreateDashboardRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CreateDashboardRequest.java index 9c6ddecd1..d92ea36ff 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CreateDashboardRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CreateDashboardRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create dashboard */ @Generated public class CreateDashboardRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CreateScheduleRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CreateScheduleRequest.java index 1c364865f..33e0c8889 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CreateScheduleRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CreateScheduleRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create dashboard schedule */ @Generated public class CreateScheduleRequest { /** UUID identifying the dashboard to which the schedule belongs. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CreateSubscriptionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CreateSubscriptionRequest.java index 66ce04221..815f3fc8e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CreateSubscriptionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CreateSubscriptionRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create schedule subscription */ @Generated public class CreateSubscriptionRequest { /** UUID identifying the dashboard to which the subscription belongs. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DeleteConversationResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DeleteConversationResponse.java new file mode 100755 index 000000000..06ac6947a --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DeleteConversationResponse.java @@ -0,0 +1,28 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.dashboards; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import java.util.Objects; + +@Generated +public class DeleteConversationResponse { + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + @Override + public String toString() { + return new ToStringer(DeleteConversationResponse.class).toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DeleteScheduleRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DeleteScheduleRequest.java index 9700498fe..9215ce8fb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DeleteScheduleRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DeleteScheduleRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete dashboard schedule */ @Generated public class DeleteScheduleRequest { /** UUID identifying the dashboard to which the schedule belongs. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DeleteSubscriptionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DeleteSubscriptionRequest.java index e69b3bc96..0dc9d9199 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DeleteSubscriptionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/DeleteSubscriptionRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete schedule subscription */ @Generated public class DeleteSubscriptionRequest { /** UUID identifying the dashboard which the subscription belongs. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieAPI.java index c06edace8..c42dec495 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieAPI.java @@ -102,10 +102,8 @@ public Wait createMessage( } /** - * Create conversation message. - * - *

Create new message in a [conversation](:method:genie/startconversation). The AI response - * uses all previously created messages in the conversation to respond. + * Create new message in a [conversation](:method:genie/startconversation). The AI response uses + * all previously created messages in the conversation to respond. */ public Wait createMessage( GenieCreateConversationMessageRequest request) { @@ -121,6 +119,16 @@ public Wait createMessage( response); } + public void deleteConversation(String spaceId, String conversationId) { + deleteConversation( + new GenieDeleteConversationRequest().setSpaceId(spaceId).setConversationId(conversationId)); + } + + /** Delete a conversation. */ + public void deleteConversation(GenieDeleteConversationRequest request) { + impl.deleteConversation(request); + } + public GenieGetMessageQueryResultResponse executeMessageAttachmentQuery( String spaceId, String conversationId, String messageId, String attachmentId) { return executeMessageAttachmentQuery( @@ -132,9 +140,7 @@ public GenieGetMessageQueryResultResponse executeMessageAttachmentQuery( } /** - * Execute message attachment SQL query. - * - *

Execute the SQL for a message query attachment. Use this API when the query attachment has + * Execute the SQL for a message query attachment. Use this API when the query attachment has * expired and needs to be re-executed. */ public GenieGetMessageQueryResultResponse executeMessageAttachmentQuery( @@ -151,73 +157,12 @@ public GenieGetMessageQueryResultResponse executeMessageQuery( .setMessageId(messageId)); } - /** - * [Deprecated] Execute SQL query in a conversation message. - * - *

Execute the SQL query in the message. - */ + /** Execute the SQL query in the message. */ public GenieGetMessageQueryResultResponse executeMessageQuery( GenieExecuteMessageQueryRequest request) { return impl.executeMessageQuery(request); } - public GenieGenerateDownloadFullQueryResultResponse generateDownloadFullQueryResult( - String spaceId, String conversationId, String messageId, String attachmentId) { - return generateDownloadFullQueryResult( - new GenieGenerateDownloadFullQueryResultRequest() - .setSpaceId(spaceId) - .setConversationId(conversationId) - .setMessageId(messageId) - .setAttachmentId(attachmentId)); - } - - /** - * Generate full query result download. - * - *

Initiates a new SQL execution and returns a `download_id` that you can use to track the - * progress of the download. The query result is stored in an external link and can be retrieved - * using the [Get Download Full Query Result](:method:genie/getdownloadfullqueryresult) API. - * Warning: Databricks strongly recommends that you protect the URLs that are returned by the - * `EXTERNAL_LINKS` disposition. See [Execute - * Statement](:method:statementexecution/executestatement) for more details. - */ - public GenieGenerateDownloadFullQueryResultResponse generateDownloadFullQueryResult( - GenieGenerateDownloadFullQueryResultRequest request) { - return impl.generateDownloadFullQueryResult(request); - } - - public GenieGetDownloadFullQueryResultResponse getDownloadFullQueryResult( - String spaceId, - String conversationId, - String messageId, - String attachmentId, - String downloadId) { - return getDownloadFullQueryResult( - new GenieGetDownloadFullQueryResultRequest() - .setSpaceId(spaceId) - .setConversationId(conversationId) - .setMessageId(messageId) - .setAttachmentId(attachmentId) - .setDownloadId(downloadId)); - } - - /** - * Get download full query result. - * - *

After [Generating a Full Query Result Download](:method:genie/getdownloadfullqueryresult) - * and successfully receiving a `download_id`, use this API to poll the download progress. When - * the download is complete, the API returns one or more external links to the query result files. - * Warning: Databricks strongly recommends that you protect the URLs that are returned by the - * `EXTERNAL_LINKS` disposition. You must not set an Authorization header in download requests. - * When using the `EXTERNAL_LINKS` disposition, Databricks returns presigned URLs that grant - * temporary access to data. See [Execute Statement](:method:statementexecution/executestatement) - * for more details. - */ - public GenieGetDownloadFullQueryResultResponse getDownloadFullQueryResult( - GenieGetDownloadFullQueryResultRequest request) { - return impl.getDownloadFullQueryResult(request); - } - public GenieMessage getMessage(String spaceId, String conversationId, String messageId) { return getMessage( new GenieGetConversationMessageRequest() @@ -226,11 +171,7 @@ public GenieMessage getMessage(String spaceId, String conversationId, String mes .setMessageId(messageId)); } - /** - * Get conversation message. - * - *

Get message from conversation. - */ + /** Get message from conversation. */ public GenieMessage getMessage(GenieGetConversationMessageRequest request) { return impl.getMessage(request); } @@ -246,10 +187,8 @@ public GenieGetMessageQueryResultResponse getMessageAttachmentQueryResult( } /** - * Get message attachment SQL query result. - * - *

Get the result of SQL query if the message has a query attachment. This is only available if - * a message has a query attachment and the message status is `EXECUTING_QUERY` OR `COMPLETED`. + * Get the result of SQL query if the message has a query attachment. This is only available if a + * message has a query attachment and the message status is `EXECUTING_QUERY` OR `COMPLETED`. */ public GenieGetMessageQueryResultResponse getMessageAttachmentQueryResult( GenieGetMessageAttachmentQueryResultRequest request) { @@ -266,10 +205,8 @@ public GenieGetMessageQueryResultResponse getMessageQueryResult( } /** - * [Deprecated] Get conversation message SQL query result. - * - *

Get the result of SQL query if the message has a query attachment. This is only available if - * a message has a query attachment and the message status is `EXECUTING_QUERY`. + * Get the result of SQL query if the message has a query attachment. This is only available if a + * message has a query attachment and the message status is `EXECUTING_QUERY`. */ public GenieGetMessageQueryResultResponse getMessageQueryResult( GenieGetMessageQueryResultRequest request) { @@ -287,10 +224,8 @@ public GenieGetMessageQueryResultResponse getMessageQueryResultByAttachment( } /** - * [Deprecated] Get conversation message SQL query result. - * - *

Get the result of SQL query if the message has a query attachment. This is only available if - * a message has a query attachment and the message status is `EXECUTING_QUERY` OR `COMPLETED`. + * Get the result of SQL query if the message has a query attachment. This is only available if a + * message has a query attachment and the message status is `EXECUTING_QUERY` OR `COMPLETED`. */ public GenieGetMessageQueryResultResponse getMessageQueryResultByAttachment( GenieGetQueryResultByAttachmentRequest request) { @@ -301,20 +236,21 @@ public GenieSpace getSpace(String spaceId) { return getSpace(new GenieGetSpaceRequest().setSpaceId(spaceId)); } - /** - * Get Genie Space. - * - *

Get details of a Genie Space. - */ + /** Get details of a Genie Space. */ public GenieSpace getSpace(GenieGetSpaceRequest request) { return impl.getSpace(request); } - /** - * List Genie spaces. - * - *

Get list of Genie Spaces. - */ + public GenieListConversationsResponse listConversations(String spaceId) { + return listConversations(new GenieListConversationsRequest().setSpaceId(spaceId)); + } + + /** Get a list of conversations in a Genie Space. */ + public GenieListConversationsResponse listConversations(GenieListConversationsRequest request) { + return impl.listConversations(request); + } + + /** Get list of Genie Spaces. */ public GenieListSpacesResponse listSpaces(GenieListSpacesRequest request) { return impl.listSpaces(request); } @@ -325,11 +261,7 @@ public Wait startConversation( new GenieStartConversationMessageRequest().setSpaceId(spaceId).setContent(content)); } - /** - * Start conversation. - * - *

Start a new conversation. - */ + /** Start a new conversation. */ public Wait startConversation( GenieStartConversationMessageRequest request) { GenieStartConversationResponse response = impl.startConversation(request); @@ -344,6 +276,15 @@ public Wait startConversation( response); } + public void trashSpace(String spaceId) { + trashSpace(new GenieTrashSpaceRequest().setSpaceId(spaceId)); + } + + /** Trash a Genie Space. */ + public void trashSpace(GenieTrashSpaceRequest request) { + impl.trashSpace(request); + } + public GenieService impl() { return impl; } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieConversationSummary.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieConversationSummary.java new file mode 100755 index 000000000..7c9778186 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieConversationSummary.java @@ -0,0 +1,74 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.dashboards; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +@Generated +public class GenieConversationSummary { + /** */ + @JsonProperty("conversation_id") + private String conversationId; + + /** */ + @JsonProperty("created_timestamp") + private Long createdTimestamp; + + /** */ + @JsonProperty("title") + private String title; + + public GenieConversationSummary setConversationId(String conversationId) { + this.conversationId = conversationId; + return this; + } + + public String getConversationId() { + return conversationId; + } + + public GenieConversationSummary setCreatedTimestamp(Long createdTimestamp) { + this.createdTimestamp = createdTimestamp; + return this; + } + + public Long getCreatedTimestamp() { + return createdTimestamp; + } + + public GenieConversationSummary setTitle(String title) { + this.title = title; + return this; + } + + public String getTitle() { + return title; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + GenieConversationSummary that = (GenieConversationSummary) o; + return Objects.equals(conversationId, that.conversationId) + && Objects.equals(createdTimestamp, that.createdTimestamp) + && Objects.equals(title, that.title); + } + + @Override + public int hashCode() { + return Objects.hash(conversationId, createdTimestamp, title); + } + + @Override + public String toString() { + return new ToStringer(GenieConversationSummary.class) + .add("conversationId", conversationId) + .add("createdTimestamp", createdTimestamp) + .add("title", title) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieDeleteConversationRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieDeleteConversationRequest.java new file mode 100755 index 000000000..d709147bc --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieDeleteConversationRequest.java @@ -0,0 +1,57 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.dashboards; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Objects; + +@Generated +public class GenieDeleteConversationRequest { + /** The ID of the conversation to delete. */ + @JsonIgnore private String conversationId; + + /** The ID associated with the Genie space where the conversation is located. */ + @JsonIgnore private String spaceId; + + public GenieDeleteConversationRequest setConversationId(String conversationId) { + this.conversationId = conversationId; + return this; + } + + public String getConversationId() { + return conversationId; + } + + public GenieDeleteConversationRequest setSpaceId(String spaceId) { + this.spaceId = spaceId; + return this; + } + + public String getSpaceId() { + return spaceId; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + GenieDeleteConversationRequest that = (GenieDeleteConversationRequest) o; + return Objects.equals(conversationId, that.conversationId) + && Objects.equals(spaceId, that.spaceId); + } + + @Override + public int hashCode() { + return Objects.hash(conversationId, spaceId); + } + + @Override + public String toString() { + return new ToStringer(GenieDeleteConversationRequest.class) + .add("conversationId", conversationId) + .add("spaceId", spaceId) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieExecuteMessageAttachmentQueryRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieExecuteMessageAttachmentQueryRequest.java index 45fcf1257..09182923b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieExecuteMessageAttachmentQueryRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieExecuteMessageAttachmentQueryRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Execute message attachment SQL query */ @Generated public class GenieExecuteMessageAttachmentQueryRequest { /** Attachment ID */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieExecuteMessageQueryRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieExecuteMessageQueryRequest.java index 52305df74..e083d4652 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieExecuteMessageQueryRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieExecuteMessageQueryRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** [Deprecated] Execute SQL query in a conversation message */ @Generated public class GenieExecuteMessageQueryRequest { /** Conversation ID */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGenerateDownloadFullQueryResultRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGenerateDownloadFullQueryResultRequest.java deleted file mode 100755 index a4a38dadf..000000000 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGenerateDownloadFullQueryResultRequest.java +++ /dev/null @@ -1,87 +0,0 @@ -// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. - -package com.databricks.sdk.service.dashboards; - -import com.databricks.sdk.support.Generated; -import com.databricks.sdk.support.ToStringer; -import com.fasterxml.jackson.annotation.JsonIgnore; -import java.util.Objects; - -/** Generate full query result download */ -@Generated -public class GenieGenerateDownloadFullQueryResultRequest { - /** Attachment ID */ - @JsonIgnore private String attachmentId; - - /** Conversation ID */ - @JsonIgnore private String conversationId; - - /** Message ID */ - @JsonIgnore private String messageId; - - /** Genie space ID */ - @JsonIgnore private String spaceId; - - public GenieGenerateDownloadFullQueryResultRequest setAttachmentId(String attachmentId) { - this.attachmentId = attachmentId; - return this; - } - - public String getAttachmentId() { - return attachmentId; - } - - public GenieGenerateDownloadFullQueryResultRequest setConversationId(String conversationId) { - this.conversationId = conversationId; - return this; - } - - public String getConversationId() { - return conversationId; - } - - public GenieGenerateDownloadFullQueryResultRequest setMessageId(String messageId) { - this.messageId = messageId; - return this; - } - - public String getMessageId() { - return messageId; - } - - public GenieGenerateDownloadFullQueryResultRequest setSpaceId(String spaceId) { - this.spaceId = spaceId; - return this; - } - - public String getSpaceId() { - return spaceId; - } - - @Override - public boolean equals(Object o) { - if (this == o) return true; - if (o == null || getClass() != o.getClass()) return false; - GenieGenerateDownloadFullQueryResultRequest that = - (GenieGenerateDownloadFullQueryResultRequest) o; - return Objects.equals(attachmentId, that.attachmentId) - && Objects.equals(conversationId, that.conversationId) - && Objects.equals(messageId, that.messageId) - && Objects.equals(spaceId, that.spaceId); - } - - @Override - public int hashCode() { - return Objects.hash(attachmentId, conversationId, messageId, spaceId); - } - - @Override - public String toString() { - return new ToStringer(GenieGenerateDownloadFullQueryResultRequest.class) - .add("attachmentId", attachmentId) - .add("conversationId", conversationId) - .add("messageId", messageId) - .add("spaceId", spaceId) - .toString(); - } -} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGenerateDownloadFullQueryResultResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGenerateDownloadFullQueryResultResponse.java deleted file mode 100755 index e51751c8b..000000000 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGenerateDownloadFullQueryResultResponse.java +++ /dev/null @@ -1,45 +0,0 @@ -// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. - -package com.databricks.sdk.service.dashboards; - -import com.databricks.sdk.support.Generated; -import com.databricks.sdk.support.ToStringer; -import com.fasterxml.jackson.annotation.JsonProperty; -import java.util.Objects; - -@Generated -public class GenieGenerateDownloadFullQueryResultResponse { - /** Download ID. Use this ID to track the download request in subsequent polling calls */ - @JsonProperty("download_id") - private String downloadId; - - public GenieGenerateDownloadFullQueryResultResponse setDownloadId(String downloadId) { - this.downloadId = downloadId; - return this; - } - - public String getDownloadId() { - return downloadId; - } - - @Override - public boolean equals(Object o) { - if (this == o) return true; - if (o == null || getClass() != o.getClass()) return false; - GenieGenerateDownloadFullQueryResultResponse that = - (GenieGenerateDownloadFullQueryResultResponse) o; - return Objects.equals(downloadId, that.downloadId); - } - - @Override - public int hashCode() { - return Objects.hash(downloadId); - } - - @Override - public String toString() { - return new ToStringer(GenieGenerateDownloadFullQueryResultResponse.class) - .add("downloadId", downloadId) - .toString(); - } -} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetConversationMessageRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetConversationMessageRequest.java index fd3c14ae6..20130afd8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetConversationMessageRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetConversationMessageRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get conversation message */ @Generated public class GenieGetConversationMessageRequest { /** The ID associated with the target conversation. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultRequest.java deleted file mode 100755 index c3f1cf2e4..000000000 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultRequest.java +++ /dev/null @@ -1,103 +0,0 @@ -// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. - -package com.databricks.sdk.service.dashboards; - -import com.databricks.sdk.support.Generated; -import com.databricks.sdk.support.ToStringer; -import com.fasterxml.jackson.annotation.JsonIgnore; -import java.util.Objects; - -/** Get download full query result */ -@Generated -public class GenieGetDownloadFullQueryResultRequest { - /** Attachment ID */ - @JsonIgnore private String attachmentId; - - /** Conversation ID */ - @JsonIgnore private String conversationId; - - /** - * Download ID. This ID is provided by the [Generate Download - * endpoint](:method:genie/generateDownloadFullQueryResult) - */ - @JsonIgnore private String downloadId; - - /** Message ID */ - @JsonIgnore private String messageId; - - /** Genie space ID */ - @JsonIgnore private String spaceId; - - public GenieGetDownloadFullQueryResultRequest setAttachmentId(String attachmentId) { - this.attachmentId = attachmentId; - return this; - } - - public String getAttachmentId() { - return attachmentId; - } - - public GenieGetDownloadFullQueryResultRequest setConversationId(String conversationId) { - this.conversationId = conversationId; - return this; - } - - public String getConversationId() { - return conversationId; - } - - public GenieGetDownloadFullQueryResultRequest setDownloadId(String downloadId) { - this.downloadId = downloadId; - return this; - } - - public String getDownloadId() { - return downloadId; - } - - public GenieGetDownloadFullQueryResultRequest setMessageId(String messageId) { - this.messageId = messageId; - return this; - } - - public String getMessageId() { - return messageId; - } - - public GenieGetDownloadFullQueryResultRequest setSpaceId(String spaceId) { - this.spaceId = spaceId; - return this; - } - - public String getSpaceId() { - return spaceId; - } - - @Override - public boolean equals(Object o) { - if (this == o) return true; - if (o == null || getClass() != o.getClass()) return false; - GenieGetDownloadFullQueryResultRequest that = (GenieGetDownloadFullQueryResultRequest) o; - return Objects.equals(attachmentId, that.attachmentId) - && Objects.equals(conversationId, that.conversationId) - && Objects.equals(downloadId, that.downloadId) - && Objects.equals(messageId, that.messageId) - && Objects.equals(spaceId, that.spaceId); - } - - @Override - public int hashCode() { - return Objects.hash(attachmentId, conversationId, downloadId, messageId, spaceId); - } - - @Override - public String toString() { - return new ToStringer(GenieGetDownloadFullQueryResultRequest.class) - .add("attachmentId", attachmentId) - .add("conversationId", conversationId) - .add("downloadId", downloadId) - .add("messageId", messageId) - .add("spaceId", spaceId) - .toString(); - } -} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultResponse.java deleted file mode 100755 index 490c5c518..000000000 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultResponse.java +++ /dev/null @@ -1,48 +0,0 @@ -// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. - -package com.databricks.sdk.service.dashboards; - -import com.databricks.sdk.support.Generated; -import com.databricks.sdk.support.ToStringer; -import com.fasterxml.jackson.annotation.JsonProperty; -import java.util.Objects; - -@Generated -public class GenieGetDownloadFullQueryResultResponse { - /** - * SQL Statement Execution response. See [Get status, manifest, and result first - * chunk](:method:statementexecution/getstatement) for more details. - */ - @JsonProperty("statement_response") - private com.databricks.sdk.service.sql.StatementResponse statementResponse; - - public GenieGetDownloadFullQueryResultResponse setStatementResponse( - com.databricks.sdk.service.sql.StatementResponse statementResponse) { - this.statementResponse = statementResponse; - return this; - } - - public com.databricks.sdk.service.sql.StatementResponse getStatementResponse() { - return statementResponse; - } - - @Override - public boolean equals(Object o) { - if (this == o) return true; - if (o == null || getClass() != o.getClass()) return false; - GenieGetDownloadFullQueryResultResponse that = (GenieGetDownloadFullQueryResultResponse) o; - return Objects.equals(statementResponse, that.statementResponse); - } - - @Override - public int hashCode() { - return Objects.hash(statementResponse); - } - - @Override - public String toString() { - return new ToStringer(GenieGetDownloadFullQueryResultResponse.class) - .add("statementResponse", statementResponse) - .toString(); - } -} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetMessageAttachmentQueryResultRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetMessageAttachmentQueryResultRequest.java index b832faa07..496a13dfb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetMessageAttachmentQueryResultRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetMessageAttachmentQueryResultRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get message attachment SQL query result */ @Generated public class GenieGetMessageAttachmentQueryResultRequest { /** Attachment ID */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetMessageQueryResultRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetMessageQueryResultRequest.java index a65e75683..80866a565 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetMessageQueryResultRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetMessageQueryResultRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** [Deprecated] Get conversation message SQL query result */ @Generated public class GenieGetMessageQueryResultRequest { /** Conversation ID */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetQueryResultByAttachmentRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetQueryResultByAttachmentRequest.java index 588fb6e71..abf7888ce 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetQueryResultByAttachmentRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetQueryResultByAttachmentRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** [Deprecated] Get conversation message SQL query result */ @Generated public class GenieGetQueryResultByAttachmentRequest { /** Attachment ID */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetSpaceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetSpaceRequest.java index d259b43df..ce017eddc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetSpaceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetSpaceRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get Genie Space */ @Generated public class GenieGetSpaceRequest { /** The ID associated with the Genie space */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieImpl.java index 7812c329c..feed6dd92 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieImpl.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieImpl.java @@ -34,48 +34,27 @@ public GenieMessage createMessage(GenieCreateConversationMessageRequest request) } @Override - public GenieGetMessageQueryResultResponse executeMessageAttachmentQuery( - GenieExecuteMessageAttachmentQueryRequest request) { + public void deleteConversation(GenieDeleteConversationRequest request) { String path = String.format( - "/api/2.0/genie/spaces/%s/conversations/%s/messages/%s/attachments/%s/execute-query", - request.getSpaceId(), - request.getConversationId(), - request.getMessageId(), - request.getAttachmentId()); - try { - Request req = new Request("POST", path); - ApiClient.setQuery(req, request); - req.withHeader("Accept", "application/json"); - return apiClient.execute(req, GenieGetMessageQueryResultResponse.class); - } catch (IOException e) { - throw new DatabricksException("IO error: " + e.getMessage(), e); - } - } - - @Override - public GenieGetMessageQueryResultResponse executeMessageQuery( - GenieExecuteMessageQueryRequest request) { - String path = - String.format( - "/api/2.0/genie/spaces/%s/conversations/%s/messages/%s/execute-query", - request.getSpaceId(), request.getConversationId(), request.getMessageId()); + "/api/2.0/genie/spaces/%s/conversations/%s", + request.getSpaceId(), request.getConversationId()); try { - Request req = new Request("POST", path); + Request req = new Request("DELETE", path); ApiClient.setQuery(req, request); req.withHeader("Accept", "application/json"); - return apiClient.execute(req, GenieGetMessageQueryResultResponse.class); + apiClient.execute(req, DeleteConversationResponse.class); } catch (IOException e) { throw new DatabricksException("IO error: " + e.getMessage(), e); } } @Override - public GenieGenerateDownloadFullQueryResultResponse generateDownloadFullQueryResult( - GenieGenerateDownloadFullQueryResultRequest request) { + public GenieGetMessageQueryResultResponse executeMessageAttachmentQuery( + GenieExecuteMessageAttachmentQueryRequest request) { String path = String.format( - "/api/2.0/genie/spaces/%s/conversations/%s/messages/%s/attachments/%s/downloads", + "/api/2.0/genie/spaces/%s/conversations/%s/messages/%s/attachments/%s/execute-query", request.getSpaceId(), request.getConversationId(), request.getMessageId(), @@ -84,28 +63,24 @@ public GenieGenerateDownloadFullQueryResultResponse generateDownloadFullQueryRes Request req = new Request("POST", path); ApiClient.setQuery(req, request); req.withHeader("Accept", "application/json"); - return apiClient.execute(req, GenieGenerateDownloadFullQueryResultResponse.class); + return apiClient.execute(req, GenieGetMessageQueryResultResponse.class); } catch (IOException e) { throw new DatabricksException("IO error: " + e.getMessage(), e); } } @Override - public GenieGetDownloadFullQueryResultResponse getDownloadFullQueryResult( - GenieGetDownloadFullQueryResultRequest request) { + public GenieGetMessageQueryResultResponse executeMessageQuery( + GenieExecuteMessageQueryRequest request) { String path = String.format( - "/api/2.0/genie/spaces/%s/conversations/%s/messages/%s/attachments/%s/downloads/%s", - request.getSpaceId(), - request.getConversationId(), - request.getMessageId(), - request.getAttachmentId(), - request.getDownloadId()); + "/api/2.0/genie/spaces/%s/conversations/%s/messages/%s/execute-query", + request.getSpaceId(), request.getConversationId(), request.getMessageId()); try { - Request req = new Request("GET", path); + Request req = new Request("POST", path); ApiClient.setQuery(req, request); req.withHeader("Accept", "application/json"); - return apiClient.execute(req, GenieGetDownloadFullQueryResultResponse.class); + return apiClient.execute(req, GenieGetMessageQueryResultResponse.class); } catch (IOException e) { throw new DatabricksException("IO error: " + e.getMessage(), e); } @@ -197,6 +172,19 @@ public GenieSpace getSpace(GenieGetSpaceRequest request) { } } + @Override + public GenieListConversationsResponse listConversations(GenieListConversationsRequest request) { + String path = String.format("/api/2.0/genie/spaces/%s/conversations", request.getSpaceId()); + try { + Request req = new Request("GET", path); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + return apiClient.execute(req, GenieListConversationsResponse.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } + @Override public GenieListSpacesResponse listSpaces(GenieListSpacesRequest request) { String path = "/api/2.0/genie/spaces"; @@ -225,4 +213,17 @@ public GenieStartConversationResponse startConversation( throw new DatabricksException("IO error: " + e.getMessage(), e); } } + + @Override + public void trashSpace(GenieTrashSpaceRequest request) { + String path = String.format("/api/2.0/genie/spaces/%s", request.getSpaceId()); + try { + Request req = new Request("DELETE", path); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + apiClient.execute(req, TrashSpaceResponse.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieListConversationsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieListConversationsRequest.java new file mode 100755 index 000000000..67a45a2b9 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieListConversationsRequest.java @@ -0,0 +1,76 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.dashboards; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.QueryParam; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Objects; + +@Generated +public class GenieListConversationsRequest { + /** Maximum number of conversations to return per page */ + @JsonIgnore + @QueryParam("page_size") + private Long pageSize; + + /** Token to get the next page of results */ + @JsonIgnore + @QueryParam("page_token") + private String pageToken; + + /** The ID associated with the Genie space to list conversations from. */ + @JsonIgnore private String spaceId; + + public GenieListConversationsRequest setPageSize(Long pageSize) { + this.pageSize = pageSize; + return this; + } + + public Long getPageSize() { + return pageSize; + } + + public GenieListConversationsRequest setPageToken(String pageToken) { + this.pageToken = pageToken; + return this; + } + + public String getPageToken() { + return pageToken; + } + + public GenieListConversationsRequest setSpaceId(String spaceId) { + this.spaceId = spaceId; + return this; + } + + public String getSpaceId() { + return spaceId; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + GenieListConversationsRequest that = (GenieListConversationsRequest) o; + return Objects.equals(pageSize, that.pageSize) + && Objects.equals(pageToken, that.pageToken) + && Objects.equals(spaceId, that.spaceId); + } + + @Override + public int hashCode() { + return Objects.hash(pageSize, pageToken, spaceId); + } + + @Override + public String toString() { + return new ToStringer(GenieListConversationsRequest.class) + .add("pageSize", pageSize) + .add("pageToken", pageToken) + .add("spaceId", spaceId) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieListConversationsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieListConversationsResponse.java new file mode 100755 index 000000000..e6336cec1 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieListConversationsResponse.java @@ -0,0 +1,61 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.dashboards; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Collection; +import java.util.Objects; + +@Generated +public class GenieListConversationsResponse { + /** List of conversations in the Genie space */ + @JsonProperty("conversations") + private Collection conversations; + + /** Token to get the next page of results */ + @JsonProperty("next_page_token") + private String nextPageToken; + + public GenieListConversationsResponse setConversations( + Collection conversations) { + this.conversations = conversations; + return this; + } + + public Collection getConversations() { + return conversations; + } + + public GenieListConversationsResponse setNextPageToken(String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + public String getNextPageToken() { + return nextPageToken; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + GenieListConversationsResponse that = (GenieListConversationsResponse) o; + return Objects.equals(conversations, that.conversations) + && Objects.equals(nextPageToken, that.nextPageToken); + } + + @Override + public int hashCode() { + return Objects.hash(conversations, nextPageToken); + } + + @Override + public String toString() { + return new ToStringer(GenieListConversationsResponse.class) + .add("conversations", conversations) + .add("nextPageToken", nextPageToken) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieListSpacesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieListSpacesRequest.java index d4a48245e..25baa6d59 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieListSpacesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieListSpacesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List Genie spaces */ @Generated public class GenieListSpacesRequest { /** Maximum number of spaces to return per page */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieService.java index 98dd0b4d3..02368b9cd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieService.java @@ -16,112 +16,64 @@ @Generated public interface GenieService { /** - * Create conversation message. - * - *

Create new message in a [conversation](:method:genie/startconversation). The AI response - * uses all previously created messages in the conversation to respond. + * Create new message in a [conversation](:method:genie/startconversation). The AI response uses + * all previously created messages in the conversation to respond. */ GenieMessage createMessage( GenieCreateConversationMessageRequest genieCreateConversationMessageRequest); + /** Delete a conversation. */ + void deleteConversation(GenieDeleteConversationRequest genieDeleteConversationRequest); + /** - * Execute message attachment SQL query. - * - *

Execute the SQL for a message query attachment. Use this API when the query attachment has + * Execute the SQL for a message query attachment. Use this API when the query attachment has * expired and needs to be re-executed. */ GenieGetMessageQueryResultResponse executeMessageAttachmentQuery( GenieExecuteMessageAttachmentQueryRequest genieExecuteMessageAttachmentQueryRequest); - /** - * [Deprecated] Execute SQL query in a conversation message. - * - *

Execute the SQL query in the message. - */ + /** Execute the SQL query in the message. */ GenieGetMessageQueryResultResponse executeMessageQuery( GenieExecuteMessageQueryRequest genieExecuteMessageQueryRequest); - /** - * Generate full query result download. - * - *

Initiates a new SQL execution and returns a `download_id` that you can use to track the - * progress of the download. The query result is stored in an external link and can be retrieved - * using the [Get Download Full Query Result](:method:genie/getdownloadfullqueryresult) API. - * Warning: Databricks strongly recommends that you protect the URLs that are returned by the - * `EXTERNAL_LINKS` disposition. See [Execute - * Statement](:method:statementexecution/executestatement) for more details. - */ - GenieGenerateDownloadFullQueryResultResponse generateDownloadFullQueryResult( - GenieGenerateDownloadFullQueryResultRequest genieGenerateDownloadFullQueryResultRequest); - - /** - * Get download full query result. - * - *

After [Generating a Full Query Result Download](:method:genie/getdownloadfullqueryresult) - * and successfully receiving a `download_id`, use this API to poll the download progress. When - * the download is complete, the API returns one or more external links to the query result files. - * Warning: Databricks strongly recommends that you protect the URLs that are returned by the - * `EXTERNAL_LINKS` disposition. You must not set an Authorization header in download requests. - * When using the `EXTERNAL_LINKS` disposition, Databricks returns presigned URLs that grant - * temporary access to data. See [Execute Statement](:method:statementexecution/executestatement) - * for more details. - */ - GenieGetDownloadFullQueryResultResponse getDownloadFullQueryResult( - GenieGetDownloadFullQueryResultRequest genieGetDownloadFullQueryResultRequest); - - /** - * Get conversation message. - * - *

Get message from conversation. - */ + /** Get message from conversation. */ GenieMessage getMessage(GenieGetConversationMessageRequest genieGetConversationMessageRequest); /** - * Get message attachment SQL query result. - * - *

Get the result of SQL query if the message has a query attachment. This is only available if - * a message has a query attachment and the message status is `EXECUTING_QUERY` OR `COMPLETED`. + * Get the result of SQL query if the message has a query attachment. This is only available if a + * message has a query attachment and the message status is `EXECUTING_QUERY` OR `COMPLETED`. */ GenieGetMessageQueryResultResponse getMessageAttachmentQueryResult( GenieGetMessageAttachmentQueryResultRequest genieGetMessageAttachmentQueryResultRequest); /** - * [Deprecated] Get conversation message SQL query result. - * - *

Get the result of SQL query if the message has a query attachment. This is only available if - * a message has a query attachment and the message status is `EXECUTING_QUERY`. + * Get the result of SQL query if the message has a query attachment. This is only available if a + * message has a query attachment and the message status is `EXECUTING_QUERY`. */ GenieGetMessageQueryResultResponse getMessageQueryResult( GenieGetMessageQueryResultRequest genieGetMessageQueryResultRequest); /** - * [Deprecated] Get conversation message SQL query result. - * - *

Get the result of SQL query if the message has a query attachment. This is only available if - * a message has a query attachment and the message status is `EXECUTING_QUERY` OR `COMPLETED`. + * Get the result of SQL query if the message has a query attachment. This is only available if a + * message has a query attachment and the message status is `EXECUTING_QUERY` OR `COMPLETED`. */ GenieGetMessageQueryResultResponse getMessageQueryResultByAttachment( GenieGetQueryResultByAttachmentRequest genieGetQueryResultByAttachmentRequest); - /** - * Get Genie Space. - * - *

Get details of a Genie Space. - */ + /** Get details of a Genie Space. */ GenieSpace getSpace(GenieGetSpaceRequest genieGetSpaceRequest); - /** - * List Genie spaces. - * - *

Get list of Genie Spaces. - */ + /** Get a list of conversations in a Genie Space. */ + GenieListConversationsResponse listConversations( + GenieListConversationsRequest genieListConversationsRequest); + + /** Get list of Genie Spaces. */ GenieListSpacesResponse listSpaces(GenieListSpacesRequest genieListSpacesRequest); - /** - * Start conversation. - * - *

Start a new conversation. - */ + /** Start a new conversation. */ GenieStartConversationResponse startConversation( GenieStartConversationMessageRequest genieStartConversationMessageRequest); + + /** Trash a Genie Space. */ + void trashSpace(GenieTrashSpaceRequest genieTrashSpaceRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieTrashSpaceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieTrashSpaceRequest.java new file mode 100755 index 000000000..5b27effad --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieTrashSpaceRequest.java @@ -0,0 +1,41 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.dashboards; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Objects; + +@Generated +public class GenieTrashSpaceRequest { + /** The ID associated with the Genie space to be trashed. */ + @JsonIgnore private String spaceId; + + public GenieTrashSpaceRequest setSpaceId(String spaceId) { + this.spaceId = spaceId; + return this; + } + + public String getSpaceId() { + return spaceId; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + GenieTrashSpaceRequest that = (GenieTrashSpaceRequest) o; + return Objects.equals(spaceId, that.spaceId); + } + + @Override + public int hashCode() { + return Objects.hash(spaceId); + } + + @Override + public String toString() { + return new ToStringer(GenieTrashSpaceRequest.class).add("spaceId", spaceId).toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetDashboardRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetDashboardRequest.java index 3c623f7d4..283f0884b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetDashboardRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetDashboardRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get dashboard */ @Generated public class GetDashboardRequest { /** UUID identifying the dashboard. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetPublishedDashboardRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetPublishedDashboardRequest.java index d35848af6..9b1cd9da0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetPublishedDashboardRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetPublishedDashboardRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get published dashboard */ @Generated public class GetPublishedDashboardRequest { /** UUID identifying the published dashboard. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetPublishedDashboardTokenInfoRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetPublishedDashboardTokenInfoRequest.java index 6bba3f0d8..37a2db41f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetPublishedDashboardTokenInfoRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetPublishedDashboardTokenInfoRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Read an information of a published dashboard to mint an OAuth token. */ @Generated public class GetPublishedDashboardTokenInfoRequest { /** UUID identifying the published dashboard. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetScheduleRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetScheduleRequest.java index 19c45e234..f3d3364ee 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetScheduleRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetScheduleRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get dashboard schedule */ @Generated public class GetScheduleRequest { /** UUID identifying the dashboard to which the schedule belongs. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetSubscriptionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetSubscriptionRequest.java index 8fb7d6e6f..f924e63f4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetSubscriptionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetSubscriptionRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get schedule subscription */ @Generated public class GetSubscriptionRequest { /** UUID identifying the dashboard which the subscription belongs. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewAPI.java index 8ceb4c401..0268f3fd3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewAPI.java @@ -31,11 +31,7 @@ public Dashboard create(Dashboard dashboard) { return create(new CreateDashboardRequest().setDashboard(dashboard)); } - /** - * Create dashboard. - * - *

Create a draft dashboard. - */ + /** Create a draft dashboard. */ public Dashboard create(CreateDashboardRequest request) { return impl.create(request); } @@ -91,11 +87,7 @@ public Dashboard get(String dashboardId) { return get(new GetDashboardRequest().setDashboardId(dashboardId)); } - /** - * Get dashboard. - * - *

Get a draft dashboard. - */ + /** Get a draft dashboard. */ public Dashboard get(GetDashboardRequest request) { return impl.get(request); } @@ -104,11 +96,7 @@ public PublishedDashboard getPublished(String dashboardId) { return getPublished(new GetPublishedDashboardRequest().setDashboardId(dashboardId)); } - /** - * Get published dashboard. - * - *

Get the current published dashboard. - */ + /** Get the current published dashboard. */ public PublishedDashboard getPublished(GetPublishedDashboardRequest request) { return impl.getPublished(request); } @@ -195,11 +183,7 @@ public Dashboard migrate(String sourceDashboardId) { return migrate(new MigrateDashboardRequest().setSourceDashboardId(sourceDashboardId)); } - /** - * Migrate dashboard. - * - *

Migrates a classic SQL dashboard to Lakeview. - */ + /** Migrates a classic SQL dashboard to Lakeview. */ public Dashboard migrate(MigrateDashboardRequest request) { return impl.migrate(request); } @@ -208,11 +192,7 @@ public PublishedDashboard publish(String dashboardId) { return publish(new PublishRequest().setDashboardId(dashboardId)); } - /** - * Publish dashboard. - * - *

Publish the current draft dashboard. - */ + /** Publish the current draft dashboard. */ public PublishedDashboard publish(PublishRequest request) { return impl.publish(request); } @@ -221,11 +201,7 @@ public void trash(String dashboardId) { trash(new TrashDashboardRequest().setDashboardId(dashboardId)); } - /** - * Trash dashboard. - * - *

Trash a dashboard. - */ + /** Trash a dashboard. */ public void trash(TrashDashboardRequest request) { impl.trash(request); } @@ -234,11 +210,7 @@ public void unpublish(String dashboardId) { unpublish(new UnpublishDashboardRequest().setDashboardId(dashboardId)); } - /** - * Unpublish dashboard. - * - *

Unpublish the dashboard. - */ + /** Unpublish the dashboard. */ public void unpublish(UnpublishDashboardRequest request) { impl.unpublish(request); } @@ -247,11 +219,7 @@ public Dashboard update(String dashboardId, Dashboard dashboard) { return update(new UpdateDashboardRequest().setDashboardId(dashboardId).setDashboard(dashboard)); } - /** - * Update dashboard. - * - *

Update a draft dashboard. - */ + /** Update a draft dashboard. */ public Dashboard update(UpdateDashboardRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewEmbeddedAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewEmbeddedAPI.java index eb5fda3a4..f82cf8c5b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewEmbeddedAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewEmbeddedAPI.java @@ -29,9 +29,7 @@ public GetPublishedDashboardTokenInfoResponse getPublishedDashboardTokenInfo(Str } /** - * Read an information of a published dashboard to mint an OAuth token. - * - *

Get a required authorization details and scopes of a published dashboard to mint an OAuth + * Get a required authorization details and scopes of a published dashboard to mint an OAuth * token. The `authorization_details` can be enriched to apply additional restriction. * *

Example: Adding the following `authorization_details` object to downscope the viewer diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewEmbeddedService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewEmbeddedService.java index cad465780..02e295012 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewEmbeddedService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewEmbeddedService.java @@ -13,9 +13,7 @@ @Generated public interface LakeviewEmbeddedService { /** - * Read an information of a published dashboard to mint an OAuth token. - * - *

Get a required authorization details and scopes of a published dashboard to mint an OAuth + * Get a required authorization details and scopes of a published dashboard to mint an OAuth * token. The `authorization_details` can be enriched to apply additional restriction. * *

Example: Adding the following `authorization_details` object to downscope the viewer diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewService.java index 66187e358..9baa2f5e0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewService.java @@ -13,11 +13,7 @@ */ @Generated public interface LakeviewService { - /** - * Create dashboard. - * - *

Create a draft dashboard. - */ + /** Create a draft dashboard. */ Dashboard create(CreateDashboardRequest createDashboardRequest); /** Create dashboard schedule. */ @@ -32,18 +28,10 @@ public interface LakeviewService { /** Delete schedule subscription. */ void deleteSubscription(DeleteSubscriptionRequest deleteSubscriptionRequest); - /** - * Get dashboard. - * - *

Get a draft dashboard. - */ + /** Get a draft dashboard. */ Dashboard get(GetDashboardRequest getDashboardRequest); - /** - * Get published dashboard. - * - *

Get the current published dashboard. - */ + /** Get the current published dashboard. */ PublishedDashboard getPublished(GetPublishedDashboardRequest getPublishedDashboardRequest); /** Get dashboard schedule. */ @@ -61,39 +49,19 @@ public interface LakeviewService { /** List schedule subscriptions. */ ListSubscriptionsResponse listSubscriptions(ListSubscriptionsRequest listSubscriptionsRequest); - /** - * Migrate dashboard. - * - *

Migrates a classic SQL dashboard to Lakeview. - */ + /** Migrates a classic SQL dashboard to Lakeview. */ Dashboard migrate(MigrateDashboardRequest migrateDashboardRequest); - /** - * Publish dashboard. - * - *

Publish the current draft dashboard. - */ + /** Publish the current draft dashboard. */ PublishedDashboard publish(PublishRequest publishRequest); - /** - * Trash dashboard. - * - *

Trash a dashboard. - */ + /** Trash a dashboard. */ void trash(TrashDashboardRequest trashDashboardRequest); - /** - * Unpublish dashboard. - * - *

Unpublish the dashboard. - */ + /** Unpublish the dashboard. */ void unpublish(UnpublishDashboardRequest unpublishDashboardRequest); - /** - * Update dashboard. - * - *

Update a draft dashboard. - */ + /** Update a draft dashboard. */ Dashboard update(UpdateDashboardRequest updateDashboardRequest); /** Update dashboard schedule. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListDashboardsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListDashboardsRequest.java index 2a7a7d8ec..27e018055 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListDashboardsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListDashboardsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List dashboards */ @Generated public class ListDashboardsRequest { /** The number of dashboards to return per page. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSchedulesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSchedulesRequest.java index 9ba29e91a..5382151b8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSchedulesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSchedulesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List dashboard schedules */ @Generated public class ListSchedulesRequest { /** UUID identifying the dashboard to which the schedules belongs. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSubscriptionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSubscriptionsRequest.java index 275fa17db..d38d1dc36 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSubscriptionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSubscriptionsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List schedule subscriptions */ @Generated public class ListSubscriptionsRequest { /** UUID identifying the dashboard which the subscriptions belongs. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TrashDashboardRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TrashDashboardRequest.java index 901212478..51f66ade4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TrashDashboardRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TrashDashboardRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Trash dashboard */ @Generated public class TrashDashboardRequest { /** UUID identifying the dashboard. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TrashSpaceResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TrashSpaceResponse.java new file mode 100755 index 000000000..4203305e7 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TrashSpaceResponse.java @@ -0,0 +1,28 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.dashboards; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import java.util.Objects; + +@Generated +public class TrashSpaceResponse { + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + @Override + public String toString() { + return new ToStringer(TrashSpaceResponse.class).toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UnpublishDashboardRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UnpublishDashboardRequest.java index cb8e8e7c4..5277402f6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UnpublishDashboardRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UnpublishDashboardRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Unpublish dashboard */ @Generated public class UnpublishDashboardRequest { /** UUID identifying the published dashboard. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UpdateDashboardRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UpdateDashboardRequest.java index 84298ffd8..acdb87fe8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UpdateDashboardRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UpdateDashboardRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Update dashboard */ @Generated public class UpdateDashboardRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UpdateScheduleRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UpdateScheduleRequest.java index cffdc6370..f3faa860d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UpdateScheduleRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UpdateScheduleRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Update dashboard schedule */ @Generated public class UpdateScheduleRequest { /** UUID identifying the dashboard to which the schedule belongs. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseCatalogRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseCatalogRequest.java index a05d27a4a..8a28a5ada 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseCatalogRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseCatalogRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create a Database Catalog */ @Generated public class CreateDatabaseCatalogRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseInstanceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseInstanceRequest.java index d7da58737..73af31b6c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseInstanceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseInstanceRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create a Database Instance */ @Generated public class CreateDatabaseInstanceRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseInstanceRoleRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseInstanceRoleRequest.java new file mode 100755 index 000000000..28c177a98 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseInstanceRoleRequest.java @@ -0,0 +1,60 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.database; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +@Generated +public class CreateDatabaseInstanceRoleRequest { + /** A DatabaseInstanceRole represents a Postgres role in a database instance. */ + @JsonProperty("database_instance_role") + private DatabaseInstanceRole databaseInstanceRole; + + /** */ + @JsonIgnore private String instanceName; + + public CreateDatabaseInstanceRoleRequest setDatabaseInstanceRole( + DatabaseInstanceRole databaseInstanceRole) { + this.databaseInstanceRole = databaseInstanceRole; + return this; + } + + public DatabaseInstanceRole getDatabaseInstanceRole() { + return databaseInstanceRole; + } + + public CreateDatabaseInstanceRoleRequest setInstanceName(String instanceName) { + this.instanceName = instanceName; + return this; + } + + public String getInstanceName() { + return instanceName; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + CreateDatabaseInstanceRoleRequest that = (CreateDatabaseInstanceRoleRequest) o; + return Objects.equals(databaseInstanceRole, that.databaseInstanceRole) + && Objects.equals(instanceName, that.instanceName); + } + + @Override + public int hashCode() { + return Objects.hash(databaseInstanceRole, instanceName); + } + + @Override + public String toString() { + return new ToStringer(CreateDatabaseInstanceRoleRequest.class) + .add("databaseInstanceRole", databaseInstanceRole) + .add("instanceName", instanceName) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseTableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseTableRequest.java index b3eef0fb3..bfadcb9fc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseTableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateDatabaseTableRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create a Database Table */ @Generated public class CreateDatabaseTableRequest { /** Next field marker: 13 */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateSyncedDatabaseTableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateSyncedDatabaseTableRequest.java index 02070ad39..7dc427c0d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateSyncedDatabaseTableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/CreateSyncedDatabaseTableRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create a Synced Database Table */ @Generated public class CreateSyncedDatabaseTableRequest { /** Next field marker: 12 */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseAPI.java index 1d452de83..c7baf5d89 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseAPI.java @@ -43,11 +43,28 @@ public DatabaseInstance createDatabaseInstance(CreateDatabaseInstanceRequest req return impl.createDatabaseInstance(request); } + public DatabaseInstanceRole createDatabaseInstanceRole( + String instanceName, DatabaseInstanceRole databaseInstanceRole) { + return createDatabaseInstanceRole( + new CreateDatabaseInstanceRoleRequest() + .setInstanceName(instanceName) + .setDatabaseInstanceRole(databaseInstanceRole)); + } + + /** Create a role for a Database Instance. */ + public DatabaseInstanceRole createDatabaseInstanceRole( + CreateDatabaseInstanceRoleRequest request) { + return impl.createDatabaseInstanceRole(request); + } + public DatabaseTable createDatabaseTable(DatabaseTable table) { return createDatabaseTable(new CreateDatabaseTableRequest().setTable(table)); } - /** Create a Database Table. */ + /** + * Create a Database Table. Useful for registering pre-existing PG tables in UC. See + * CreateSyncedDatabaseTable for creating synced tables in PG from a source table in UC. + */ public DatabaseTable createDatabaseTable(CreateDatabaseTableRequest request) { return impl.createDatabaseTable(request); } @@ -80,6 +97,16 @@ public void deleteDatabaseInstance(DeleteDatabaseInstanceRequest request) { impl.deleteDatabaseInstance(request); } + public void deleteDatabaseInstanceRole(String instanceName, String name) { + deleteDatabaseInstanceRole( + new DeleteDatabaseInstanceRoleRequest().setInstanceName(instanceName).setName(name)); + } + + /** Deletes a role for a Database Instance. */ + public void deleteDatabaseInstanceRole(DeleteDatabaseInstanceRoleRequest request) { + impl.deleteDatabaseInstanceRole(request); + } + public void deleteDatabaseTable(String name) { deleteDatabaseTable(new DeleteDatabaseTableRequest().setName(name)); } @@ -126,6 +153,16 @@ public DatabaseInstance getDatabaseInstance(GetDatabaseInstanceRequest request) return impl.getDatabaseInstance(request); } + public DatabaseInstanceRole getDatabaseInstanceRole(String instanceName, String name) { + return getDatabaseInstanceRole( + new GetDatabaseInstanceRoleRequest().setInstanceName(instanceName).setName(name)); + } + + /** Gets a role for a Database Instance. */ + public DatabaseInstanceRole getDatabaseInstanceRole(GetDatabaseInstanceRoleRequest request) { + return impl.getDatabaseInstanceRole(request); + } + public DatabaseTable getDatabaseTable(String name) { return getDatabaseTable(new GetDatabaseTableRequest().setName(name)); } @@ -144,6 +181,27 @@ public SyncedDatabaseTable getSyncedDatabaseTable(GetSyncedDatabaseTableRequest return impl.getSyncedDatabaseTable(request); } + public Iterable listDatabaseInstanceRoles(String instanceName) { + return listDatabaseInstanceRoles( + new ListDatabaseInstanceRolesRequest().setInstanceName(instanceName)); + } + + /** START OF PG ROLE APIs Section */ + public Iterable listDatabaseInstanceRoles( + ListDatabaseInstanceRolesRequest request) { + return new Paginator<>( + request, + impl::listDatabaseInstanceRoles, + ListDatabaseInstanceRolesResponse::getDatabaseInstanceRoles, + response -> { + String token = response.getNextPageToken(); + if (token == null || token.isEmpty()) { + return null; + } + return request.setPageToken(token); + }); + } + /** List Database Instances. */ public Iterable listDatabaseInstances(ListDatabaseInstancesRequest request) { return new Paginator<>( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseCredential.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseCredential.java index 088ca1d41..80007b73f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseCredential.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseCredential.java @@ -9,10 +9,23 @@ @Generated public class DatabaseCredential { + /** */ + @JsonProperty("expiration_time") + private String expirationTime; + /** */ @JsonProperty("token") private String token; + public DatabaseCredential setExpirationTime(String expirationTime) { + this.expirationTime = expirationTime; + return this; + } + + public String getExpirationTime() { + return expirationTime; + } + public DatabaseCredential setToken(String token) { this.token = token; return this; @@ -27,16 +40,19 @@ public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; DatabaseCredential that = (DatabaseCredential) o; - return Objects.equals(token, that.token); + return Objects.equals(expirationTime, that.expirationTime) && Objects.equals(token, that.token); } @Override public int hashCode() { - return Objects.hash(token); + return Objects.hash(expirationTime, token); } @Override public String toString() { - return new ToStringer(DatabaseCredential.class).add("token", token).toString(); + return new ToStringer(DatabaseCredential.class) + .add("expirationTime", expirationTime) + .add("token", token) + .toString(); } } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseImpl.java index b32623c1c..ee9b0801e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseImpl.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseImpl.java @@ -44,6 +44,22 @@ public DatabaseInstance createDatabaseInstance(CreateDatabaseInstanceRequest req } } + @Override + public DatabaseInstanceRole createDatabaseInstanceRole( + CreateDatabaseInstanceRoleRequest request) { + String path = String.format("/api/2.0/database/instances/%s/roles", request.getInstanceName()); + try { + Request req = + new Request("POST", path, apiClient.serialize(request.getDatabaseInstanceRole())); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + req.withHeader("Content-Type", "application/json"); + return apiClient.execute(req, DatabaseInstanceRole.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } + @Override public DatabaseTable createDatabaseTable(CreateDatabaseTableRequest request) { String path = "/api/2.0/database/tables"; @@ -98,6 +114,22 @@ public void deleteDatabaseInstance(DeleteDatabaseInstanceRequest request) { } } + @Override + public void deleteDatabaseInstanceRole(DeleteDatabaseInstanceRoleRequest request) { + String path = + String.format( + "/api/2.0/database/instances/%s/roles/%s", + request.getInstanceName(), request.getName()); + try { + Request req = new Request("DELETE", path); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + apiClient.execute(req, DeleteDatabaseInstanceRoleResponse.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } + @Override public void deleteDatabaseTable(DeleteDatabaseTableRequest request) { String path = String.format("/api/2.0/database/tables/%s", request.getName()); @@ -177,6 +209,22 @@ public DatabaseInstance getDatabaseInstance(GetDatabaseInstanceRequest request) } } + @Override + public DatabaseInstanceRole getDatabaseInstanceRole(GetDatabaseInstanceRoleRequest request) { + String path = + String.format( + "/api/2.0/database/instances/%s/roles/%s", + request.getInstanceName(), request.getName()); + try { + Request req = new Request("GET", path); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + return apiClient.execute(req, DatabaseInstanceRole.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } + @Override public DatabaseTable getDatabaseTable(GetDatabaseTableRequest request) { String path = String.format("/api/2.0/database/tables/%s", request.getName()); @@ -203,6 +251,20 @@ public SyncedDatabaseTable getSyncedDatabaseTable(GetSyncedDatabaseTableRequest } } + @Override + public ListDatabaseInstanceRolesResponse listDatabaseInstanceRoles( + ListDatabaseInstanceRolesRequest request) { + String path = String.format("/api/2.0/database/instances/%s/roles", request.getInstanceName()); + try { + Request req = new Request("GET", path); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + return apiClient.execute(req, ListDatabaseInstanceRolesResponse.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } + @Override public ListDatabaseInstancesResponse listDatabaseInstances(ListDatabaseInstancesRequest request) { String path = "/api/2.0/database/instances"; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstance.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstance.java index 045e7f04e..bb57e65ef 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstance.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstance.java @@ -5,6 +5,7 @@ import com.databricks.sdk.support.Generated; import com.databricks.sdk.support.ToStringer; import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Collection; import java.util.Objects; /** @@ -16,6 +17,10 @@ public class DatabaseInstance { @JsonProperty("capacity") private String capacity; + /** The refs of the child instances. This is only available if the instance is parent instance. */ + @JsonProperty("child_instance_refs") + private Collection childInstanceRefs; + /** The timestamp when the instance was created. */ @JsonProperty("creation_time") private String creationTime; @@ -24,18 +29,89 @@ public class DatabaseInstance { @JsonProperty("creator") private String creator; + /** + * xref AIP-129. `enable_readable_secondaries` is owned by the client, while + * `effective_enable_readable_secondaries` is owned by the server. `enable_readable_secondaries` + * will only be set in Create/Update response messages if and only if the user provides the field + * via the request. `effective_enable_readable_secondaries` on the other hand will always bet set + * in all response messages (Create/Update/Get/List). + */ + @JsonProperty("effective_enable_readable_secondaries") + private Boolean effectiveEnableReadableSecondaries; + + /** + * xref AIP-129. `node_count` is owned by the client, while `effective_node_count` is owned by the + * server. `node_count` will only be set in Create/Update response messages if and only if the + * user provides the field via the request. `effective_node_count` on the other hand will always + * bet set in all response messages (Create/Update/Get/List). + */ + @JsonProperty("effective_node_count") + private Long effectiveNodeCount; + + /** + * xref AIP-129. `retention_window_in_days` is owned by the client, while + * `effective_retention_window_in_days` is owned by the server. `retention_window_in_days` will + * only be set in Create/Update response messages if and only if the user provides the field via + * the request. `effective_retention_window_in_days` on the other hand will always bet set in all + * response messages (Create/Update/Get/List). + */ + @JsonProperty("effective_retention_window_in_days") + private Long effectiveRetentionWindowInDays; + + /** + * xref AIP-129. `stopped` is owned by the client, while `effective_stopped` is owned by the + * server. `stopped` will only be set in Create/Update response messages if and only if the user + * provides the field via the request. `effective_stopped` on the other hand will always bet set + * in all response messages (Create/Update/Get/List). + */ + @JsonProperty("effective_stopped") + private Boolean effectiveStopped; + + /** Whether to enable secondaries to serve read-only traffic. Defaults to false. */ + @JsonProperty("enable_readable_secondaries") + private Boolean enableReadableSecondaries; + /** The name of the instance. This is the unique identifier for the instance. */ @JsonProperty("name") private String name; + /** + * The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults + * to 1 primary and 0 secondaries. + */ + @JsonProperty("node_count") + private Long nodeCount; + + /** + * The ref of the parent instance. This is only available if the instance is child instance. + * Input: For specifying the parent instance to create a child instance. Optional. Output: Only + * populated if provided as input to create a child instance. + */ + @JsonProperty("parent_instance_ref") + private DatabaseInstanceRef parentInstanceRef; + /** The version of Postgres running on the instance. */ @JsonProperty("pg_version") private String pgVersion; + /** + * The DNS endpoint to connect to the instance for read only access. This is only available if + * enable_readable_secondaries is true. + */ + @JsonProperty("read_only_dns") + private String readOnlyDns; + /** The DNS endpoint to connect to the instance for read+write access. */ @JsonProperty("read_write_dns") private String readWriteDns; + /** + * The retention window for the instance. This is the time window in days for which the historical + * data is retained. The default value is 7 days. Valid values are 2 to 35 days. + */ + @JsonProperty("retention_window_in_days") + private Long retentionWindowInDays; + /** The current state of the instance. */ @JsonProperty("state") private DatabaseInstanceState state; @@ -57,6 +133,15 @@ public String getCapacity() { return capacity; } + public DatabaseInstance setChildInstanceRefs(Collection childInstanceRefs) { + this.childInstanceRefs = childInstanceRefs; + return this; + } + + public Collection getChildInstanceRefs() { + return childInstanceRefs; + } + public DatabaseInstance setCreationTime(String creationTime) { this.creationTime = creationTime; return this; @@ -75,6 +160,52 @@ public String getCreator() { return creator; } + public DatabaseInstance setEffectiveEnableReadableSecondaries( + Boolean effectiveEnableReadableSecondaries) { + this.effectiveEnableReadableSecondaries = effectiveEnableReadableSecondaries; + return this; + } + + public Boolean getEffectiveEnableReadableSecondaries() { + return effectiveEnableReadableSecondaries; + } + + public DatabaseInstance setEffectiveNodeCount(Long effectiveNodeCount) { + this.effectiveNodeCount = effectiveNodeCount; + return this; + } + + public Long getEffectiveNodeCount() { + return effectiveNodeCount; + } + + public DatabaseInstance setEffectiveRetentionWindowInDays(Long effectiveRetentionWindowInDays) { + this.effectiveRetentionWindowInDays = effectiveRetentionWindowInDays; + return this; + } + + public Long getEffectiveRetentionWindowInDays() { + return effectiveRetentionWindowInDays; + } + + public DatabaseInstance setEffectiveStopped(Boolean effectiveStopped) { + this.effectiveStopped = effectiveStopped; + return this; + } + + public Boolean getEffectiveStopped() { + return effectiveStopped; + } + + public DatabaseInstance setEnableReadableSecondaries(Boolean enableReadableSecondaries) { + this.enableReadableSecondaries = enableReadableSecondaries; + return this; + } + + public Boolean getEnableReadableSecondaries() { + return enableReadableSecondaries; + } + public DatabaseInstance setName(String name) { this.name = name; return this; @@ -84,6 +215,24 @@ public String getName() { return name; } + public DatabaseInstance setNodeCount(Long nodeCount) { + this.nodeCount = nodeCount; + return this; + } + + public Long getNodeCount() { + return nodeCount; + } + + public DatabaseInstance setParentInstanceRef(DatabaseInstanceRef parentInstanceRef) { + this.parentInstanceRef = parentInstanceRef; + return this; + } + + public DatabaseInstanceRef getParentInstanceRef() { + return parentInstanceRef; + } + public DatabaseInstance setPgVersion(String pgVersion) { this.pgVersion = pgVersion; return this; @@ -93,6 +242,15 @@ public String getPgVersion() { return pgVersion; } + public DatabaseInstance setReadOnlyDns(String readOnlyDns) { + this.readOnlyDns = readOnlyDns; + return this; + } + + public String getReadOnlyDns() { + return readOnlyDns; + } + public DatabaseInstance setReadWriteDns(String readWriteDns) { this.readWriteDns = readWriteDns; return this; @@ -102,6 +260,15 @@ public String getReadWriteDns() { return readWriteDns; } + public DatabaseInstance setRetentionWindowInDays(Long retentionWindowInDays) { + this.retentionWindowInDays = retentionWindowInDays; + return this; + } + + public Long getRetentionWindowInDays() { + return retentionWindowInDays; + } + public DatabaseInstance setState(DatabaseInstanceState state) { this.state = state; return this; @@ -135,11 +302,22 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) return false; DatabaseInstance that = (DatabaseInstance) o; return Objects.equals(capacity, that.capacity) + && Objects.equals(childInstanceRefs, that.childInstanceRefs) && Objects.equals(creationTime, that.creationTime) && Objects.equals(creator, that.creator) + && Objects.equals( + effectiveEnableReadableSecondaries, that.effectiveEnableReadableSecondaries) + && Objects.equals(effectiveNodeCount, that.effectiveNodeCount) + && Objects.equals(effectiveRetentionWindowInDays, that.effectiveRetentionWindowInDays) + && Objects.equals(effectiveStopped, that.effectiveStopped) + && Objects.equals(enableReadableSecondaries, that.enableReadableSecondaries) && Objects.equals(name, that.name) + && Objects.equals(nodeCount, that.nodeCount) + && Objects.equals(parentInstanceRef, that.parentInstanceRef) && Objects.equals(pgVersion, that.pgVersion) + && Objects.equals(readOnlyDns, that.readOnlyDns) && Objects.equals(readWriteDns, that.readWriteDns) + && Objects.equals(retentionWindowInDays, that.retentionWindowInDays) && Objects.equals(state, that.state) && Objects.equals(stopped, that.stopped) && Objects.equals(uid, that.uid); @@ -148,18 +326,46 @@ public boolean equals(Object o) { @Override public int hashCode() { return Objects.hash( - capacity, creationTime, creator, name, pgVersion, readWriteDns, state, stopped, uid); + capacity, + childInstanceRefs, + creationTime, + creator, + effectiveEnableReadableSecondaries, + effectiveNodeCount, + effectiveRetentionWindowInDays, + effectiveStopped, + enableReadableSecondaries, + name, + nodeCount, + parentInstanceRef, + pgVersion, + readOnlyDns, + readWriteDns, + retentionWindowInDays, + state, + stopped, + uid); } @Override public String toString() { return new ToStringer(DatabaseInstance.class) .add("capacity", capacity) + .add("childInstanceRefs", childInstanceRefs) .add("creationTime", creationTime) .add("creator", creator) + .add("effectiveEnableReadableSecondaries", effectiveEnableReadableSecondaries) + .add("effectiveNodeCount", effectiveNodeCount) + .add("effectiveRetentionWindowInDays", effectiveRetentionWindowInDays) + .add("effectiveStopped", effectiveStopped) + .add("enableReadableSecondaries", enableReadableSecondaries) .add("name", name) + .add("nodeCount", nodeCount) + .add("parentInstanceRef", parentInstanceRef) .add("pgVersion", pgVersion) + .add("readOnlyDns", readOnlyDns) .add("readWriteDns", readWriteDns) + .add("retentionWindowInDays", retentionWindowInDays) .add("state", state) .add("stopped", stopped) .add("uid", uid) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRef.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRef.java new file mode 100755 index 000000000..a2faf3cc4 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRef.java @@ -0,0 +1,130 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.database; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +/** + * DatabaseInstanceRef is a reference to a database instance. It is used in the DatabaseInstance + * object to refer to the parent instance of an instance and to refer the child instances of an + * instance. To specify as a parent instance during creation of an instance, the lsn and branch_time + * fields are optional. If not specified, the child instance will be created from the latest lsn of + * the parent. If both lsn and branch_time are specified, the lsn will be used to create the child + * instance. + */ +@Generated +public class DatabaseInstanceRef { + /** + * Branch time of the ref database instance. For a parent ref instance, this is the point in time + * on the parent instance from which the instance was created. For a child ref instance, this is + * the point in time on the instance from which the child instance was created. Input: For + * specifying the point in time to create a child instance. Optional. Output: Only populated if + * provided as input to create a child instance. + */ + @JsonProperty("branch_time") + private String branchTime; + + /** + * xref AIP-129. `lsn` is owned by the client, while `effective_lsn` is owned by the server. `lsn` + * will only be set in Create/Update response messages if and only if the user provides the field + * via the request. `effective_lsn` on the other hand will always bet set in all response messages + * (Create/Update/Get/List). For a parent ref instance, this is the LSN on the parent instance + * from which the instance was created. For a child ref instance, this is the LSN on the instance + * from which the child instance was created. + */ + @JsonProperty("effective_lsn") + private String effectiveLsn; + + /** + * User-specified WAL LSN of the ref database instance. + * + *

Input: For specifying the WAL LSN to create a child instance. Optional. Output: Only + * populated if provided as input to create a child instance. + */ + @JsonProperty("lsn") + private String lsn; + + /** Name of the ref database instance. */ + @JsonProperty("name") + private String name; + + /** Id of the ref database instance. */ + @JsonProperty("uid") + private String uid; + + public DatabaseInstanceRef setBranchTime(String branchTime) { + this.branchTime = branchTime; + return this; + } + + public String getBranchTime() { + return branchTime; + } + + public DatabaseInstanceRef setEffectiveLsn(String effectiveLsn) { + this.effectiveLsn = effectiveLsn; + return this; + } + + public String getEffectiveLsn() { + return effectiveLsn; + } + + public DatabaseInstanceRef setLsn(String lsn) { + this.lsn = lsn; + return this; + } + + public String getLsn() { + return lsn; + } + + public DatabaseInstanceRef setName(String name) { + this.name = name; + return this; + } + + public String getName() { + return name; + } + + public DatabaseInstanceRef setUid(String uid) { + this.uid = uid; + return this; + } + + public String getUid() { + return uid; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + DatabaseInstanceRef that = (DatabaseInstanceRef) o; + return Objects.equals(branchTime, that.branchTime) + && Objects.equals(effectiveLsn, that.effectiveLsn) + && Objects.equals(lsn, that.lsn) + && Objects.equals(name, that.name) + && Objects.equals(uid, that.uid); + } + + @Override + public int hashCode() { + return Objects.hash(branchTime, effectiveLsn, lsn, name, uid); + } + + @Override + public String toString() { + return new ToStringer(DatabaseInstanceRef.class) + .add("branchTime", branchTime) + .add("effectiveLsn", effectiveLsn) + .add("lsn", lsn) + .add("name", name) + .add("uid", uid) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRole.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRole.java new file mode 100755 index 000000000..cc9b99b4c --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRole.java @@ -0,0 +1,90 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.database; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +/** A DatabaseInstanceRole represents a Postgres role in a database instance. */ +@Generated +public class DatabaseInstanceRole { + /** API-exposed Postgres role attributes */ + @JsonProperty("attributes") + private DatabaseInstanceRoleAttributes attributes; + + /** The type of the role. */ + @JsonProperty("identity_type") + private DatabaseInstanceRoleIdentityType identityType; + + /** An enum value for a standard role that this role is a member of. */ + @JsonProperty("membership_role") + private DatabaseInstanceRoleMembershipRole membershipRole; + + /** The name of the role. This is the unique identifier for the role in an instance. */ + @JsonProperty("name") + private String name; + + public DatabaseInstanceRole setAttributes(DatabaseInstanceRoleAttributes attributes) { + this.attributes = attributes; + return this; + } + + public DatabaseInstanceRoleAttributes getAttributes() { + return attributes; + } + + public DatabaseInstanceRole setIdentityType(DatabaseInstanceRoleIdentityType identityType) { + this.identityType = identityType; + return this; + } + + public DatabaseInstanceRoleIdentityType getIdentityType() { + return identityType; + } + + public DatabaseInstanceRole setMembershipRole(DatabaseInstanceRoleMembershipRole membershipRole) { + this.membershipRole = membershipRole; + return this; + } + + public DatabaseInstanceRoleMembershipRole getMembershipRole() { + return membershipRole; + } + + public DatabaseInstanceRole setName(String name) { + this.name = name; + return this; + } + + public String getName() { + return name; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + DatabaseInstanceRole that = (DatabaseInstanceRole) o; + return Objects.equals(attributes, that.attributes) + && Objects.equals(identityType, that.identityType) + && Objects.equals(membershipRole, that.membershipRole) + && Objects.equals(name, that.name); + } + + @Override + public int hashCode() { + return Objects.hash(attributes, identityType, membershipRole, name); + } + + @Override + public String toString() { + return new ToStringer(DatabaseInstanceRole.class) + .add("attributes", attributes) + .add("identityType", identityType) + .add("membershipRole", membershipRole) + .add("name", name) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRoleAttributes.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRoleAttributes.java new file mode 100755 index 000000000..6e94e970c --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRoleAttributes.java @@ -0,0 +1,81 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.database; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +/** + * Attributes that can be granted to a Postgres role. We are only implementing a subset for now, see + * xref: https://www.postgresql.org/docs/16/sql-createrole.html The values follow Postgres keyword + * naming e.g. CREATEDB, BYPASSRLS, etc. which is why they don't include typical underscores between + * words. We were requested to make this a nested object/struct representation since these are knobs + * from an external spec. + */ +@Generated +public class DatabaseInstanceRoleAttributes { + /** */ + @JsonProperty("bypassrls") + private Boolean bypassrls; + + /** */ + @JsonProperty("createdb") + private Boolean createdb; + + /** */ + @JsonProperty("createrole") + private Boolean createrole; + + public DatabaseInstanceRoleAttributes setBypassrls(Boolean bypassrls) { + this.bypassrls = bypassrls; + return this; + } + + public Boolean getBypassrls() { + return bypassrls; + } + + public DatabaseInstanceRoleAttributes setCreatedb(Boolean createdb) { + this.createdb = createdb; + return this; + } + + public Boolean getCreatedb() { + return createdb; + } + + public DatabaseInstanceRoleAttributes setCreaterole(Boolean createrole) { + this.createrole = createrole; + return this; + } + + public Boolean getCreaterole() { + return createrole; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + DatabaseInstanceRoleAttributes that = (DatabaseInstanceRoleAttributes) o; + return Objects.equals(bypassrls, that.bypassrls) + && Objects.equals(createdb, that.createdb) + && Objects.equals(createrole, that.createrole); + } + + @Override + public int hashCode() { + return Objects.hash(bypassrls, createdb, createrole); + } + + @Override + public String toString() { + return new ToStringer(DatabaseInstanceRoleAttributes.class) + .add("bypassrls", bypassrls) + .add("createdb", createdb) + .add("createrole", createrole) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRoleIdentityType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRoleIdentityType.java new file mode 100755 index 000000000..23e1ccdc7 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRoleIdentityType.java @@ -0,0 +1,13 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.database; + +import com.databricks.sdk.support.Generated; + +@Generated +public enum DatabaseInstanceRoleIdentityType { + GROUP, + PG_ONLY, + SERVICE_PRINCIPAL, + USER, +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRoleMembershipRole.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRoleMembershipRole.java new file mode 100755 index 000000000..970f66ee8 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseInstanceRoleMembershipRole.java @@ -0,0 +1,11 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.database; + +import com.databricks.sdk.support.Generated; + +/** Roles that the DatabaseInstanceRole can be a member of. */ +@Generated +public enum DatabaseInstanceRoleMembershipRole { + DATABRICKS_SUPERUSER, +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseService.java index 09dcbff3f..8f67c97ff 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseService.java @@ -19,7 +19,14 @@ public interface DatabaseService { DatabaseInstance createDatabaseInstance( CreateDatabaseInstanceRequest createDatabaseInstanceRequest); - /** Create a Database Table. */ + /** Create a role for a Database Instance. */ + DatabaseInstanceRole createDatabaseInstanceRole( + CreateDatabaseInstanceRoleRequest createDatabaseInstanceRoleRequest); + + /** + * Create a Database Table. Useful for registering pre-existing PG tables in UC. See + * CreateSyncedDatabaseTable for creating synced tables in PG from a source table in UC. + */ DatabaseTable createDatabaseTable(CreateDatabaseTableRequest createDatabaseTableRequest); /** Create a Synced Database Table. */ @@ -32,6 +39,10 @@ SyncedDatabaseTable createSyncedDatabaseTable( /** Delete a Database Instance. */ void deleteDatabaseInstance(DeleteDatabaseInstanceRequest deleteDatabaseInstanceRequest); + /** Deletes a role for a Database Instance. */ + void deleteDatabaseInstanceRole( + DeleteDatabaseInstanceRoleRequest deleteDatabaseInstanceRoleRequest); + /** Delete a Database Table. */ void deleteDatabaseTable(DeleteDatabaseTableRequest deleteDatabaseTableRequest); @@ -52,6 +63,10 @@ DatabaseCredential generateDatabaseCredential( /** Get a Database Instance. */ DatabaseInstance getDatabaseInstance(GetDatabaseInstanceRequest getDatabaseInstanceRequest); + /** Gets a role for a Database Instance. */ + DatabaseInstanceRole getDatabaseInstanceRole( + GetDatabaseInstanceRoleRequest getDatabaseInstanceRoleRequest); + /** Get a Database Table. */ DatabaseTable getDatabaseTable(GetDatabaseTableRequest getDatabaseTableRequest); @@ -59,6 +74,10 @@ DatabaseCredential generateDatabaseCredential( SyncedDatabaseTable getSyncedDatabaseTable( GetSyncedDatabaseTableRequest getSyncedDatabaseTableRequest); + /** START OF PG ROLE APIs Section */ + ListDatabaseInstanceRolesResponse listDatabaseInstanceRoles( + ListDatabaseInstanceRolesRequest listDatabaseInstanceRolesRequest); + /** List Database Instances. */ ListDatabaseInstancesResponse listDatabaseInstances( ListDatabaseInstancesRequest listDatabaseInstancesRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseTable.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseTable.java index 5018d7b59..8bae3d07a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseTable.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseTable.java @@ -20,18 +20,15 @@ public class DatabaseTable { private String databaseInstanceName; /** - * Target Postgres database object (logical database) name for this table. This field is optional - * in all scenarios. + * Target Postgres database object (logical database) name for this table. * *

When creating a table in a registered Postgres catalog, the target Postgres database name is * inferred to be that of the registered catalog. If this field is specified in this scenario, the * Postgres database name MUST match that of the registered catalog (or the request will be * rejected). * - *

When creating a table in a standard catalog, the target database name is inferred to be that - * of the standard catalog. In this scenario, specifying this field will allow targeting an - * arbitrary postgres database. Note that this has implications for the - * `create_database_objects_is_missing` field in `spec`. + *

When creating a table in a standard catalog, this field is required. In this scenario, + * specifying this field will allow targeting an arbitrary postgres database. */ @JsonProperty("logical_database_name") private String logicalDatabaseName; @@ -40,10 +37,6 @@ public class DatabaseTable { @JsonProperty("name") private String name; - /** Data serving REST API URL for this table */ - @JsonProperty("table_serving_url") - private String tableServingUrl; - public DatabaseTable setDatabaseInstanceName(String databaseInstanceName) { this.databaseInstanceName = databaseInstanceName; return this; @@ -71,15 +64,6 @@ public String getName() { return name; } - public DatabaseTable setTableServingUrl(String tableServingUrl) { - this.tableServingUrl = tableServingUrl; - return this; - } - - public String getTableServingUrl() { - return tableServingUrl; - } - @Override public boolean equals(Object o) { if (this == o) return true; @@ -87,13 +71,12 @@ public boolean equals(Object o) { DatabaseTable that = (DatabaseTable) o; return Objects.equals(databaseInstanceName, that.databaseInstanceName) && Objects.equals(logicalDatabaseName, that.logicalDatabaseName) - && Objects.equals(name, that.name) - && Objects.equals(tableServingUrl, that.tableServingUrl); + && Objects.equals(name, that.name); } @Override public int hashCode() { - return Objects.hash(databaseInstanceName, logicalDatabaseName, name, tableServingUrl); + return Objects.hash(databaseInstanceName, logicalDatabaseName, name); } @Override @@ -102,7 +85,6 @@ public String toString() { .add("databaseInstanceName", databaseInstanceName) .add("logicalDatabaseName", logicalDatabaseName) .add("name", name) - .add("tableServingUrl", tableServingUrl) .toString(); } } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseCatalogRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseCatalogRequest.java index 3ac34bf9e..7759d67fc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseCatalogRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseCatalogRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a Database Catalog */ @Generated public class DeleteDatabaseCatalogRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRequest.java index 81ed118c6..16048b2eb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a Database Instance */ @Generated public class DeleteDatabaseInstanceRequest { /** @@ -23,10 +22,12 @@ public class DeleteDatabaseInstanceRequest { @JsonIgnore private String name; /** - * If false, the database instance is soft deleted. Soft deleted instances behave as if they are - * deleted, and cannot be used for CRUD operations nor connected to. However they can be undeleted - * by calling the undelete API for a limited time. If true, the database instance is hard deleted - * and cannot be undeleted. + * Note purge=false is in development. If false, the database instance is soft deleted + * (implementation pending). Soft deleted instances behave as if they are deleted, and cannot be + * used for CRUD operations nor connected to. However they can be undeleted by calling the + * undelete API for a limited time (implementation pending). If true, the database instance is + * hard deleted and cannot be undeleted. For the time being, setting this value to true is + * required to delete an instance (soft delete is not yet supported). */ @JsonIgnore @QueryParam("purge") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRoleRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRoleRequest.java new file mode 100755 index 000000000..ef3efc5f5 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRoleRequest.java @@ -0,0 +1,90 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.database; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.QueryParam; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Objects; + +@Generated +public class DeleteDatabaseInstanceRoleRequest { + /** This is the AIP standard name for the equivalent of Postgres' `IF EXISTS` option */ + @JsonIgnore + @QueryParam("allow_missing") + private Boolean allowMissing; + + /** */ + @JsonIgnore private String instanceName; + + /** */ + @JsonIgnore private String name; + + /** */ + @JsonIgnore + @QueryParam("reassign_owned_to") + private String reassignOwnedTo; + + public DeleteDatabaseInstanceRoleRequest setAllowMissing(Boolean allowMissing) { + this.allowMissing = allowMissing; + return this; + } + + public Boolean getAllowMissing() { + return allowMissing; + } + + public DeleteDatabaseInstanceRoleRequest setInstanceName(String instanceName) { + this.instanceName = instanceName; + return this; + } + + public String getInstanceName() { + return instanceName; + } + + public DeleteDatabaseInstanceRoleRequest setName(String name) { + this.name = name; + return this; + } + + public String getName() { + return name; + } + + public DeleteDatabaseInstanceRoleRequest setReassignOwnedTo(String reassignOwnedTo) { + this.reassignOwnedTo = reassignOwnedTo; + return this; + } + + public String getReassignOwnedTo() { + return reassignOwnedTo; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + DeleteDatabaseInstanceRoleRequest that = (DeleteDatabaseInstanceRoleRequest) o; + return Objects.equals(allowMissing, that.allowMissing) + && Objects.equals(instanceName, that.instanceName) + && Objects.equals(name, that.name) + && Objects.equals(reassignOwnedTo, that.reassignOwnedTo); + } + + @Override + public int hashCode() { + return Objects.hash(allowMissing, instanceName, name, reassignOwnedTo); + } + + @Override + public String toString() { + return new ToStringer(DeleteDatabaseInstanceRoleRequest.class) + .add("allowMissing", allowMissing) + .add("instanceName", instanceName) + .add("name", name) + .add("reassignOwnedTo", reassignOwnedTo) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRoleResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRoleResponse.java new file mode 100755 index 000000000..4620e449a --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRoleResponse.java @@ -0,0 +1,28 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.database; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import java.util.Objects; + +@Generated +public class DeleteDatabaseInstanceRoleResponse { + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + @Override + public String toString() { + return new ToStringer(DeleteDatabaseInstanceRoleResponse.class).toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseTableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseTableRequest.java index a372f064a..fa719b7fa 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseTableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseTableRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a Database Table */ @Generated public class DeleteDatabaseTableRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteSyncedDatabaseTableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteSyncedDatabaseTableRequest.java index 41d1a388c..43377e486 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteSyncedDatabaseTableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteSyncedDatabaseTableRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a Synced Database Table */ @Generated public class DeleteSyncedDatabaseTableRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeltaTableSyncInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeltaTableSyncInfo.java new file mode 100755 index 000000000..d37eca8a5 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeltaTableSyncInfo.java @@ -0,0 +1,62 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.database; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +@Generated +public class DeltaTableSyncInfo { + /** + * The timestamp when the above Delta version was committed in the source Delta table. Note: This + * is the Delta commit time, not the time the data was written to the synced table. + */ + @JsonProperty("delta_commit_timestamp") + private String deltaCommitTimestamp; + + /** The Delta Lake commit version that was last successfully synced. */ + @JsonProperty("delta_commit_version") + private Long deltaCommitVersion; + + public DeltaTableSyncInfo setDeltaCommitTimestamp(String deltaCommitTimestamp) { + this.deltaCommitTimestamp = deltaCommitTimestamp; + return this; + } + + public String getDeltaCommitTimestamp() { + return deltaCommitTimestamp; + } + + public DeltaTableSyncInfo setDeltaCommitVersion(Long deltaCommitVersion) { + this.deltaCommitVersion = deltaCommitVersion; + return this; + } + + public Long getDeltaCommitVersion() { + return deltaCommitVersion; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + DeltaTableSyncInfo that = (DeltaTableSyncInfo) o; + return Objects.equals(deltaCommitTimestamp, that.deltaCommitTimestamp) + && Objects.equals(deltaCommitVersion, that.deltaCommitVersion); + } + + @Override + public int hashCode() { + return Objects.hash(deltaCommitTimestamp, deltaCommitVersion); + } + + @Override + public String toString() { + return new ToStringer(DeltaTableSyncInfo.class) + .add("deltaCommitTimestamp", deltaCommitTimestamp) + .add("deltaCommitVersion", deltaCommitVersion) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/FindDatabaseInstanceByUidRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/FindDatabaseInstanceByUidRequest.java index 180eb8971..06210fc7d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/FindDatabaseInstanceByUidRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/FindDatabaseInstanceByUidRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Find a Database Instance by uid */ @Generated public class FindDatabaseInstanceByUidRequest { /** UID of the cluster to get. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseCatalogRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseCatalogRequest.java index 49550232b..95b33b025 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseCatalogRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseCatalogRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a Database Catalog */ @Generated public class GetDatabaseCatalogRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseInstanceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseInstanceRequest.java index 2aa6924ec..4c66741c9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseInstanceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseInstanceRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a Database Instance */ @Generated public class GetDatabaseInstanceRequest { /** Name of the cluster to get. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseInstanceRoleRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseInstanceRoleRequest.java new file mode 100755 index 000000000..7640c29c2 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseInstanceRoleRequest.java @@ -0,0 +1,56 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.database; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Objects; + +@Generated +public class GetDatabaseInstanceRoleRequest { + /** */ + @JsonIgnore private String instanceName; + + /** */ + @JsonIgnore private String name; + + public GetDatabaseInstanceRoleRequest setInstanceName(String instanceName) { + this.instanceName = instanceName; + return this; + } + + public String getInstanceName() { + return instanceName; + } + + public GetDatabaseInstanceRoleRequest setName(String name) { + this.name = name; + return this; + } + + public String getName() { + return name; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + GetDatabaseInstanceRoleRequest that = (GetDatabaseInstanceRoleRequest) o; + return Objects.equals(instanceName, that.instanceName) && Objects.equals(name, that.name); + } + + @Override + public int hashCode() { + return Objects.hash(instanceName, name); + } + + @Override + public String toString() { + return new ToStringer(GetDatabaseInstanceRoleRequest.class) + .add("instanceName", instanceName) + .add("name", name) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseTableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseTableRequest.java index 81c25b174..b2c0c89db 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseTableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetDatabaseTableRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a Database Table */ @Generated public class GetDatabaseTableRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetSyncedDatabaseTableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetSyncedDatabaseTableRequest.java index d15853061..045da6891 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetSyncedDatabaseTableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GetSyncedDatabaseTableRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a Synced Database Table */ @Generated public class GetSyncedDatabaseTableRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/ListDatabaseInstanceRolesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/ListDatabaseInstanceRolesRequest.java new file mode 100755 index 000000000..d3dab4f4c --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/ListDatabaseInstanceRolesRequest.java @@ -0,0 +1,78 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.database; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.QueryParam; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Objects; + +@Generated +public class ListDatabaseInstanceRolesRequest { + /** */ + @JsonIgnore private String instanceName; + + /** Upper bound for items returned. */ + @JsonIgnore + @QueryParam("page_size") + private Long pageSize; + + /** + * Pagination token to go to the next page of Database Instances. Requests first page if absent. + */ + @JsonIgnore + @QueryParam("page_token") + private String pageToken; + + public ListDatabaseInstanceRolesRequest setInstanceName(String instanceName) { + this.instanceName = instanceName; + return this; + } + + public String getInstanceName() { + return instanceName; + } + + public ListDatabaseInstanceRolesRequest setPageSize(Long pageSize) { + this.pageSize = pageSize; + return this; + } + + public Long getPageSize() { + return pageSize; + } + + public ListDatabaseInstanceRolesRequest setPageToken(String pageToken) { + this.pageToken = pageToken; + return this; + } + + public String getPageToken() { + return pageToken; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + ListDatabaseInstanceRolesRequest that = (ListDatabaseInstanceRolesRequest) o; + return Objects.equals(instanceName, that.instanceName) + && Objects.equals(pageSize, that.pageSize) + && Objects.equals(pageToken, that.pageToken); + } + + @Override + public int hashCode() { + return Objects.hash(instanceName, pageSize, pageToken); + } + + @Override + public String toString() { + return new ToStringer(ListDatabaseInstanceRolesRequest.class) + .add("instanceName", instanceName) + .add("pageSize", pageSize) + .add("pageToken", pageToken) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/ListDatabaseInstanceRolesResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/ListDatabaseInstanceRolesResponse.java new file mode 100755 index 000000000..06b00a301 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/ListDatabaseInstanceRolesResponse.java @@ -0,0 +1,61 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.database; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Collection; +import java.util.Objects; + +@Generated +public class ListDatabaseInstanceRolesResponse { + /** List of database instance roles. */ + @JsonProperty("database_instance_roles") + private Collection databaseInstanceRoles; + + /** Pagination token to request the next page of instances. */ + @JsonProperty("next_page_token") + private String nextPageToken; + + public ListDatabaseInstanceRolesResponse setDatabaseInstanceRoles( + Collection databaseInstanceRoles) { + this.databaseInstanceRoles = databaseInstanceRoles; + return this; + } + + public Collection getDatabaseInstanceRoles() { + return databaseInstanceRoles; + } + + public ListDatabaseInstanceRolesResponse setNextPageToken(String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + public String getNextPageToken() { + return nextPageToken; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + ListDatabaseInstanceRolesResponse that = (ListDatabaseInstanceRolesResponse) o; + return Objects.equals(databaseInstanceRoles, that.databaseInstanceRoles) + && Objects.equals(nextPageToken, that.nextPageToken); + } + + @Override + public int hashCode() { + return Objects.hash(databaseInstanceRoles, nextPageToken); + } + + @Override + public String toString() { + return new ToStringer(ListDatabaseInstanceRolesResponse.class) + .add("databaseInstanceRoles", databaseInstanceRoles) + .add("nextPageToken", nextPageToken) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/ListDatabaseInstancesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/ListDatabaseInstancesRequest.java index 72eeb79c8..6e90930f4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/ListDatabaseInstancesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/ListDatabaseInstancesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List Database Instances */ @Generated public class ListDatabaseInstancesRequest { /** Upper bound for items returned. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedDatabaseTable.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedDatabaseTable.java index 5a23e80d7..c52f7a692 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedDatabaseTable.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedDatabaseTable.java @@ -25,17 +25,16 @@ public class SyncedDatabaseTable { private String databaseInstanceName; /** - * Target Postgres database object (logical database) name for this table. This field is optional - * in all scenarios. + * Target Postgres database object (logical database) name for this table. * *

When creating a synced table in a registered Postgres catalog, the target Postgres database * name is inferred to be that of the registered catalog. If this field is specified in this * scenario, the Postgres database name MUST match that of the registered catalog (or the request * will be rejected). * - *

When creating a synced table in a standard catalog, the target database name is inferred to - * be that of the standard catalog. In this scenario, specifying this field will allow targeting - * an arbitrary postgres database. + *

When creating a synced table in a standard catalog, this field is required. In this + * scenario, specifying this field will allow targeting an arbitrary postgres database. Note that + * this has implications for the `create_database_objects_is_missing` field in `spec`. */ @JsonProperty("logical_database_name") private String logicalDatabaseName; @@ -48,10 +47,6 @@ public class SyncedDatabaseTable { @JsonProperty("spec") private SyncedTableSpec spec; - /** Data serving REST API URL for this table */ - @JsonProperty("table_serving_url") - private String tableServingUrl; - /** * The provisioning state of the synced 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 @@ -106,15 +101,6 @@ public SyncedTableSpec getSpec() { return spec; } - public SyncedDatabaseTable setTableServingUrl(String tableServingUrl) { - this.tableServingUrl = tableServingUrl; - return this; - } - - public String getTableServingUrl() { - return tableServingUrl; - } - public SyncedDatabaseTable setUnityCatalogProvisioningState( ProvisioningInfoState unityCatalogProvisioningState) { this.unityCatalogProvisioningState = unityCatalogProvisioningState; @@ -135,7 +121,6 @@ public boolean equals(Object o) { && Objects.equals(logicalDatabaseName, that.logicalDatabaseName) && Objects.equals(name, that.name) && Objects.equals(spec, that.spec) - && Objects.equals(tableServingUrl, that.tableServingUrl) && Objects.equals(unityCatalogProvisioningState, that.unityCatalogProvisioningState); } @@ -147,7 +132,6 @@ public int hashCode() { logicalDatabaseName, name, spec, - tableServingUrl, unityCatalogProvisioningState); } @@ -159,7 +143,6 @@ public String toString() { .add("logicalDatabaseName", logicalDatabaseName) .add("name", name) .add("spec", spec) - .add("tableServingUrl", tableServingUrl) .add("unityCatalogProvisioningState", unityCatalogProvisioningState) .toString(); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableContinuousUpdateStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableContinuousUpdateStatus.java index b8bd29ac7..b82574350 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableContinuousUpdateStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableContinuousUpdateStatus.java @@ -17,16 +17,13 @@ public class SyncedTableContinuousUpdateStatus { @JsonProperty("initial_pipeline_sync_progress") private SyncedTablePipelineProgress initialPipelineSyncProgress; - /** - * The last source table Delta version that was synced to the synced table. Note that this Delta - * version may not be completely synced to the synced table yet. - */ + /** The last source table Delta version that was successfully synced to the synced table. */ @JsonProperty("last_processed_commit_version") private Long lastProcessedCommitVersion; /** - * The timestamp of the last time any data was synchronized from the source table to the synced - * table. + * The end timestamp of the last time any data was synchronized from the source table to the + * synced table. This is when the data is available in the synced table. */ @JsonProperty("timestamp") private String timestamp; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableFailedStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableFailedStatus.java index e79f9da4f..ff3ccaf29 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableFailedStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableFailedStatus.java @@ -14,16 +14,16 @@ @Generated public class SyncedTableFailedStatus { /** - * The last source table Delta version that was synced to the synced table. Note that this Delta - * version may only be partially synced to the synced table. Only populated if the table is still - * synced and available for serving. + * The last source table Delta version that was successfully synced to the synced table. The last + * source table Delta version that was synced to the synced table. Only populated if the table is + * still synced and available for serving. */ @JsonProperty("last_processed_commit_version") private Long lastProcessedCommitVersion; /** - * The timestamp of the last time any data was synchronized from the source table to the synced - * table. Only populated if the table is still synced and available for serving. + * The end timestamp of the last time any data was synchronized from the source table to the + * synced table. Only populated if the table is still synced and available for serving. */ @JsonProperty("timestamp") private String timestamp; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTablePosition.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTablePosition.java new file mode 100755 index 000000000..97402c518 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTablePosition.java @@ -0,0 +1,81 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.database; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +@Generated +public class SyncedTablePosition { + /** */ + @JsonProperty("delta_table_sync_info") + private DeltaTableSyncInfo deltaTableSyncInfo; + + /** + * The end timestamp of the most recent successful synchronization. This is the time when the data + * is available in the synced table. + */ + @JsonProperty("sync_end_timestamp") + private String syncEndTimestamp; + + /** + * The starting timestamp of the most recent successful synchronization from the source table to + * the destination (synced) table. Note this is the starting timestamp of the sync operation, not + * the end time. E.g., for a batch, this is the time when the sync operation started. + */ + @JsonProperty("sync_start_timestamp") + private String syncStartTimestamp; + + public SyncedTablePosition setDeltaTableSyncInfo(DeltaTableSyncInfo deltaTableSyncInfo) { + this.deltaTableSyncInfo = deltaTableSyncInfo; + return this; + } + + public DeltaTableSyncInfo getDeltaTableSyncInfo() { + return deltaTableSyncInfo; + } + + public SyncedTablePosition setSyncEndTimestamp(String syncEndTimestamp) { + this.syncEndTimestamp = syncEndTimestamp; + return this; + } + + public String getSyncEndTimestamp() { + return syncEndTimestamp; + } + + public SyncedTablePosition setSyncStartTimestamp(String syncStartTimestamp) { + this.syncStartTimestamp = syncStartTimestamp; + return this; + } + + public String getSyncStartTimestamp() { + return syncStartTimestamp; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + SyncedTablePosition that = (SyncedTablePosition) o; + return Objects.equals(deltaTableSyncInfo, that.deltaTableSyncInfo) + && Objects.equals(syncEndTimestamp, that.syncEndTimestamp) + && Objects.equals(syncStartTimestamp, that.syncStartTimestamp); + } + + @Override + public int hashCode() { + return Objects.hash(deltaTableSyncInfo, syncEndTimestamp, syncStartTimestamp); + } + + @Override + public String toString() { + return new ToStringer(SyncedTablePosition.class) + .add("deltaTableSyncInfo", deltaTableSyncInfo) + .add("syncEndTimestamp", syncEndTimestamp) + .add("syncStartTimestamp", syncStartTimestamp) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableSpec.java index c454a0d3c..7df8aab22 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableSpec.java @@ -18,14 +18,19 @@ public class SyncedTableSpec { @JsonProperty("create_database_objects_if_missing") private Boolean createDatabaseObjectsIfMissing; - /** Spec of new pipeline. Should be empty if pipeline_id is set */ + /** + * User-specified ID of a pre-existing pipeline to bin pack. This field is optional, and should be + * empty if new_pipeline_spec is set. This field will only be set by the server in response + * messages if it is specified in the request. The SyncedTableStatus message will always contain + * the effective pipeline ID (either client provided or server generated), however. + */ + @JsonProperty("existing_pipeline_id") + private String existingPipelineId; + + /** Spec of new pipeline. Should be empty if pipeline_id / existing_pipeline_id is set */ @JsonProperty("new_pipeline_spec") private NewPipelineSpec newPipelineSpec; - /** ID of the associated pipeline. Should be empty if new_pipeline_spec is set */ - @JsonProperty("pipeline_id") - private String pipelineId; - /** Primary Key columns to be used for data insert/update in the destination. */ @JsonProperty("primary_key_columns") private Collection primaryKeyColumns; @@ -51,22 +56,22 @@ public Boolean getCreateDatabaseObjectsIfMissing() { return createDatabaseObjectsIfMissing; } - public SyncedTableSpec setNewPipelineSpec(NewPipelineSpec newPipelineSpec) { - this.newPipelineSpec = newPipelineSpec; + public SyncedTableSpec setExistingPipelineId(String existingPipelineId) { + this.existingPipelineId = existingPipelineId; return this; } - public NewPipelineSpec getNewPipelineSpec() { - return newPipelineSpec; + public String getExistingPipelineId() { + return existingPipelineId; } - public SyncedTableSpec setPipelineId(String pipelineId) { - this.pipelineId = pipelineId; + public SyncedTableSpec setNewPipelineSpec(NewPipelineSpec newPipelineSpec) { + this.newPipelineSpec = newPipelineSpec; return this; } - public String getPipelineId() { - return pipelineId; + public NewPipelineSpec getNewPipelineSpec() { + return newPipelineSpec; } public SyncedTableSpec setPrimaryKeyColumns(Collection primaryKeyColumns) { @@ -111,8 +116,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) return false; SyncedTableSpec that = (SyncedTableSpec) o; return Objects.equals(createDatabaseObjectsIfMissing, that.createDatabaseObjectsIfMissing) + && Objects.equals(existingPipelineId, that.existingPipelineId) && Objects.equals(newPipelineSpec, that.newPipelineSpec) - && Objects.equals(pipelineId, that.pipelineId) && Objects.equals(primaryKeyColumns, that.primaryKeyColumns) && Objects.equals(schedulingPolicy, that.schedulingPolicy) && Objects.equals(sourceTableFullName, that.sourceTableFullName) @@ -123,8 +128,8 @@ public boolean equals(Object o) { public int hashCode() { return Objects.hash( createDatabaseObjectsIfMissing, + existingPipelineId, newPipelineSpec, - pipelineId, primaryKeyColumns, schedulingPolicy, sourceTableFullName, @@ -135,8 +140,8 @@ public int hashCode() { public String toString() { return new ToStringer(SyncedTableSpec.class) .add("createDatabaseObjectsIfMissing", createDatabaseObjectsIfMissing) + .add("existingPipelineId", existingPipelineId) .add("newPipelineSpec", newPipelineSpec) - .add("pipelineId", pipelineId) .add("primaryKeyColumns", primaryKeyColumns) .add("schedulingPolicy", schedulingPolicy) .add("sourceTableFullName", sourceTableFullName) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableStatus.java index a62637cfe..e555485bd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableStatus.java @@ -28,10 +28,33 @@ public class SyncedTableStatus { @JsonProperty("failed_status") private SyncedTableFailedStatus failedStatus; + /** + * Summary of the last successful synchronization from source to destination. + * + *

Will always be present if there has been a successful sync. Even if the most recent syncs + * have failed. + * + *

Limitation: The only exception is if the synced table is doing a FULL REFRESH, then the last + * sync information will not be available until the full refresh is complete. This limitation will + * be addressed in a future version. + * + *

This top-level field is a convenience for consumers who want easy access to last sync + * information without having to traverse detailed_status. + */ + @JsonProperty("last_sync") + private SyncedTablePosition lastSync; + /** A text description of the current state of the synced table. */ @JsonProperty("message") private String message; + /** + * ID of the associated pipeline. The pipeline ID may have been provided by the client (in the + * case of bin packing), or generated by the server (when creating a new pipeline). + */ + @JsonProperty("pipeline_id") + private String pipelineId; + /** * Detailed status of a synced table. Shown if the synced table is in the * PROVISIONING_PIPELINE_RESOURCES or the PROVISIONING_INITIAL_SNAPSHOT state. @@ -74,6 +97,15 @@ public SyncedTableFailedStatus getFailedStatus() { return failedStatus; } + public SyncedTableStatus setLastSync(SyncedTablePosition lastSync) { + this.lastSync = lastSync; + return this; + } + + public SyncedTablePosition getLastSync() { + return lastSync; + } + public SyncedTableStatus setMessage(String message) { this.message = message; return this; @@ -83,6 +115,15 @@ public String getMessage() { return message; } + public SyncedTableStatus setPipelineId(String pipelineId) { + this.pipelineId = pipelineId; + return this; + } + + public String getPipelineId() { + return pipelineId; + } + public SyncedTableStatus setProvisioningStatus(SyncedTableProvisioningStatus provisioningStatus) { this.provisioningStatus = provisioningStatus; return this; @@ -110,7 +151,9 @@ public boolean equals(Object o) { return Objects.equals(continuousUpdateStatus, that.continuousUpdateStatus) && Objects.equals(detailedState, that.detailedState) && Objects.equals(failedStatus, that.failedStatus) + && Objects.equals(lastSync, that.lastSync) && Objects.equals(message, that.message) + && Objects.equals(pipelineId, that.pipelineId) && Objects.equals(provisioningStatus, that.provisioningStatus) && Objects.equals(triggeredUpdateStatus, that.triggeredUpdateStatus); } @@ -121,7 +164,9 @@ public int hashCode() { continuousUpdateStatus, detailedState, failedStatus, + lastSync, message, + pipelineId, provisioningStatus, triggeredUpdateStatus); } @@ -132,7 +177,9 @@ public String toString() { .add("continuousUpdateStatus", continuousUpdateStatus) .add("detailedState", detailedState) .add("failedStatus", failedStatus) + .add("lastSync", lastSync) .add("message", message) + .add("pipelineId", pipelineId) .add("provisioningStatus", provisioningStatus) .add("triggeredUpdateStatus", triggeredUpdateStatus) .toString(); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableTriggeredUpdateStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableTriggeredUpdateStatus.java index 756e597ec..246810286 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableTriggeredUpdateStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedTableTriggeredUpdateStatus.java @@ -13,16 +13,13 @@ */ @Generated public class SyncedTableTriggeredUpdateStatus { - /** - * The last source table Delta version that was synced to the synced table. Note that this Delta - * version may not be completely synced to the synced table yet. - */ + /** The last source table Delta version that was successfully synced to the synced table. */ @JsonProperty("last_processed_commit_version") private Long lastProcessedCommitVersion; /** - * The timestamp of the last time any data was synchronized from the source table to the synced - * table. + * The end timestamp of the last time any data was synchronized from the source table to the + * synced table. This is when the data is available in the synced table. */ @JsonProperty("timestamp") private String timestamp; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/UpdateDatabaseInstanceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/UpdateDatabaseInstanceRequest.java index fe0ed445c..9ce802b5b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/UpdateDatabaseInstanceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/UpdateDatabaseInstanceRequest.java @@ -9,7 +9,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Update a Database Instance */ @Generated public class UpdateDatabaseInstanceRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/CreateDirectoryRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/CreateDirectoryRequest.java index 6b8708368..9fb2ebc26 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/CreateDirectoryRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/CreateDirectoryRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Create a directory */ @Generated public class CreateDirectoryRequest { /** The absolute path of a directory. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DbfsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DbfsAPI.java index f1909f28f..f0e7e51e4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DbfsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DbfsAPI.java @@ -32,9 +32,7 @@ public void addBlock(long handle, String data) { } /** - * Append data block. - * - *

Appends a block of data to the stream specified by the input handle. If the handle does not + * Appends a block of data to the stream specified by the input handle. If the handle does not * exist, this call will throw an exception with ``RESOURCE_DOES_NOT_EXIST``. * *

If the block of data exceeds 1 MB, this call will throw an exception with @@ -49,10 +47,8 @@ public void close(long handle) { } /** - * Close the stream. - * - *

Closes the stream specified by the input handle. If the handle does not exist, this call - * throws an exception with ``RESOURCE_DOES_NOT_EXIST``. + * Closes the stream specified by the input handle. If the handle does not exist, this call throws + * an exception with ``RESOURCE_DOES_NOT_EXIST``. */ public void close(Close request) { impl.close(request); @@ -63,9 +59,7 @@ public CreateResponse create(String path) { } /** - * Open a stream. - * - *

Opens a stream to write to a file and returns a handle to this stream. There is a 10 minute + * Opens a stream to write to a file and returns a handle to this stream. There is a 10 minute * idle timeout on this handle. If a file or directory already exists on the given path and * __overwrite__ is set to false, this call will throw an exception with * ``RESOURCE_ALREADY_EXISTS``. @@ -84,11 +78,9 @@ public void delete(String path) { } /** - * Delete a file/directory. - * - *

Delete the file or directory (optionally recursively delete all files in the directory). - * This call throws an exception with `IO_ERROR` if the path is a non-empty directory and - * `recursive` is set to `false` or on other similar errors. + * Delete the file or directory (optionally recursively delete all files in the directory). This + * call throws an exception with `IO_ERROR` if the path is a non-empty directory and `recursive` + * is set to `false` or on other similar errors. * *

When you delete a large number of files, the delete operation is done in increments. The * call returns a response after approximately 45 seconds with an error message (503 Service @@ -111,9 +103,7 @@ public FileInfo getStatus(String path) { } /** - * Get the information of a file or directory. - * - *

Gets the file information for a file or directory. If the file or directory does not exist, + * Gets the file information for a file or directory. If the file or directory does not exist, * this call throws an exception with `RESOURCE_DOES_NOT_EXIST`. */ public FileInfo getStatus(GetStatusRequest request) { @@ -125,9 +115,7 @@ public Iterable list(String path) { } /** - * List directory contents or file details. - * - *

List the contents of a directory, or details of the file. If the file or directory does not + * List the contents of a directory, or details of the file. If the file or directory does not * exist, this call throws an exception with `RESOURCE_DOES_NOT_EXIST`. * *

When calling list on a large directory, the list operation will time out after approximately @@ -146,9 +134,7 @@ public void mkdirs(String path) { } /** - * Create a directory. - * - *

Creates the given directory and necessary parent directories if they do not exist. If a file + * Creates the given directory and necessary parent directories if they do not exist. If a file * (not a directory) exists at any prefix of the input path, this call throws an exception with * `RESOURCE_ALREADY_EXISTS`. **Note**: If this operation fails, it might have succeeded in * creating some of the necessary parent directories. @@ -162,9 +148,7 @@ public void move(String sourcePath, String destinationPath) { } /** - * Move a file. - * - *

Moves a file from one location to another location within DBFS. If the source file does not + * Moves a file from one location to another location within DBFS. If the source file does not * exist, this call throws an exception with `RESOURCE_DOES_NOT_EXIST`. If a file already exists * in the destination path, this call throws an exception with `RESOURCE_ALREADY_EXISTS`. If the * given source path is a directory, this call always recursively moves all files. @@ -178,10 +162,8 @@ public void put(String path) { } /** - * Upload a file. - * - *

Uploads a file through the use of multipart form post. It is mainly used for streaming - * uploads, but can also be used as a convenient single call for data upload. + * Uploads a file through the use of multipart form post. It is mainly used for streaming uploads, + * but can also be used as a convenient single call for data upload. * *

Alternatively you can pass contents as base64 string. * @@ -200,12 +182,10 @@ public ReadResponse read(String path) { } /** - * Get the contents of a file. - * - *

Returns the contents of a file. If the file does not exist, this call throws an exception - * with `RESOURCE_DOES_NOT_EXIST`. If the path is a directory, the read length is negative, or if - * the offset is negative, this call throws an exception with `INVALID_PARAMETER_VALUE`. If the - * read length exceeds 1 MB, this call throws an exception with `MAX_READ_SIZE_EXCEEDED`. + * Returns the contents of a file. If the file does not exist, this call throws an exception with + * `RESOURCE_DOES_NOT_EXIST`. If the path is a directory, the read length is negative, or if the + * offset is negative, this call throws an exception with `INVALID_PARAMETER_VALUE`. If the read + * length exceeds 1 MB, this call throws an exception with `MAX_READ_SIZE_EXCEEDED`. * *

If `offset + length` exceeds the number of bytes in a file, it reads the contents until the * end of file. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DbfsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DbfsService.java index 007d6eba3..f2457b67f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DbfsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DbfsService.java @@ -14,9 +14,7 @@ @Generated public interface DbfsService { /** - * Append data block. - * - *

Appends a block of data to the stream specified by the input handle. If the handle does not + * Appends a block of data to the stream specified by the input handle. If the handle does not * exist, this call will throw an exception with ``RESOURCE_DOES_NOT_EXIST``. * *

If the block of data exceeds 1 MB, this call will throw an exception with @@ -25,17 +23,13 @@ public interface DbfsService { void addBlock(AddBlock addBlock); /** - * Close the stream. - * - *

Closes the stream specified by the input handle. If the handle does not exist, this call - * throws an exception with ``RESOURCE_DOES_NOT_EXIST``. + * Closes the stream specified by the input handle. If the handle does not exist, this call throws + * an exception with ``RESOURCE_DOES_NOT_EXIST``. */ void close(Close close); /** - * Open a stream. - * - *

Opens a stream to write to a file and returns a handle to this stream. There is a 10 minute + * Opens a stream to write to a file and returns a handle to this stream. There is a 10 minute * idle timeout on this handle. If a file or directory already exists on the given path and * __overwrite__ is set to false, this call will throw an exception with * ``RESOURCE_ALREADY_EXISTS``. @@ -48,11 +42,9 @@ public interface DbfsService { CreateResponse create(Create create); /** - * Delete a file/directory. - * - *

Delete the file or directory (optionally recursively delete all files in the directory). - * This call throws an exception with `IO_ERROR` if the path is a non-empty directory and - * `recursive` is set to `false` or on other similar errors. + * Delete the file or directory (optionally recursively delete all files in the directory). This + * call throws an exception with `IO_ERROR` if the path is a non-empty directory and `recursive` + * is set to `false` or on other similar errors. * *

When you delete a large number of files, the delete operation is done in increments. The * call returns a response after approximately 45 seconds with an error message (503 Service @@ -69,17 +61,13 @@ public interface DbfsService { void delete(Delete delete); /** - * Get the information of a file or directory. - * - *

Gets the file information for a file or directory. If the file or directory does not exist, + * Gets the file information for a file or directory. If the file or directory does not exist, * this call throws an exception with `RESOURCE_DOES_NOT_EXIST`. */ FileInfo getStatus(GetStatusRequest getStatusRequest); /** - * List directory contents or file details. - * - *

List the contents of a directory, or details of the file. If the file or directory does not + * List the contents of a directory, or details of the file. If the file or directory does not * exist, this call throws an exception with `RESOURCE_DOES_NOT_EXIST`. * *

When calling list on a large directory, the list operation will time out after approximately @@ -92,9 +80,7 @@ public interface DbfsService { ListStatusResponse list(ListDbfsRequest listDbfsRequest); /** - * Create a directory. - * - *

Creates the given directory and necessary parent directories if they do not exist. If a file + * Creates the given directory and necessary parent directories if they do not exist. If a file * (not a directory) exists at any prefix of the input path, this call throws an exception with * `RESOURCE_ALREADY_EXISTS`. **Note**: If this operation fails, it might have succeeded in * creating some of the necessary parent directories. @@ -102,9 +88,7 @@ public interface DbfsService { void mkdirs(MkDirs mkDirs); /** - * Move a file. - * - *

Moves a file from one location to another location within DBFS. If the source file does not + * Moves a file from one location to another location within DBFS. If the source file does not * exist, this call throws an exception with `RESOURCE_DOES_NOT_EXIST`. If a file already exists * in the destination path, this call throws an exception with `RESOURCE_ALREADY_EXISTS`. If the * given source path is a directory, this call always recursively moves all files. @@ -112,10 +96,8 @@ public interface DbfsService { void move(Move move); /** - * Upload a file. - * - *

Uploads a file through the use of multipart form post. It is mainly used for streaming - * uploads, but can also be used as a convenient single call for data upload. + * Uploads a file through the use of multipart form post. It is mainly used for streaming uploads, + * but can also be used as a convenient single call for data upload. * *

Alternatively you can pass contents as base64 string. * @@ -128,12 +110,10 @@ public interface DbfsService { void put(Put put); /** - * Get the contents of a file. - * - *

Returns the contents of a file. If the file does not exist, this call throws an exception - * with `RESOURCE_DOES_NOT_EXIST`. If the path is a directory, the read length is negative, or if - * the offset is negative, this call throws an exception with `INVALID_PARAMETER_VALUE`. If the - * read length exceeds 1 MB, this call throws an exception with `MAX_READ_SIZE_EXCEEDED`. + * Returns the contents of a file. If the file does not exist, this call throws an exception with + * `RESOURCE_DOES_NOT_EXIST`. If the path is a directory, the read length is negative, or if the + * offset is negative, this call throws an exception with `INVALID_PARAMETER_VALUE`. If the read + * length exceeds 1 MB, this call throws an exception with `MAX_READ_SIZE_EXCEEDED`. * *

If `offset + length` exceeds the number of bytes in a file, it reads the contents until the * end of file. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DeleteDirectoryRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DeleteDirectoryRequest.java index 462b1a8a4..db3e38e17 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DeleteDirectoryRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DeleteDirectoryRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a directory */ @Generated public class DeleteDirectoryRequest { /** The absolute path of a directory. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DeleteFileRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DeleteFileRequest.java index 14fb11c3e..04b79d076 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DeleteFileRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DeleteFileRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a file */ @Generated public class DeleteFileRequest { /** The absolute path of the file. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DownloadRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DownloadRequest.java index 91e5cefa5..cebd8307a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DownloadRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DownloadRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Download a file */ @Generated public class DownloadRequest { /** The absolute path of the file. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/FilesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/FilesAPI.java index 7bfecc4ca..ee87aebe4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/FilesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/FilesAPI.java @@ -51,12 +51,9 @@ public void createDirectory(String directoryPath) { } /** - * Create a directory. - * - *

Creates an empty directory. If necessary, also creates any parent directories of the new, - * empty directory (like the shell command `mkdir -p`). If called on an existing directory, - * returns a success response; this method is idempotent (it will succeed if the directory already - * exists). + * Creates an empty directory. If necessary, also creates any parent directories of the new, empty + * directory (like the shell command `mkdir -p`). If called on an existing directory, returns a + * success response; this method is idempotent (it will succeed if the directory already exists). */ public void createDirectory(CreateDirectoryRequest request) { impl.createDirectory(request); @@ -66,11 +63,7 @@ public void delete(String filePath) { delete(new DeleteFileRequest().setFilePath(filePath)); } - /** - * Delete a file. - * - *

Deletes a file. If the request is successful, there is no response body. - */ + /** Deletes a file. If the request is successful, there is no response body. */ public void delete(DeleteFileRequest request) { impl.delete(request); } @@ -80,9 +73,7 @@ public void deleteDirectory(String directoryPath) { } /** - * Delete a directory. - * - *

Deletes an empty directory. + * Deletes an empty directory. * *

To delete a non-empty directory, first delete all of its contents. This can be done by * listing the directory contents and deleting each file and subdirectory recursively. @@ -96,9 +87,7 @@ public DownloadResponse download(String filePath) { } /** - * Download a file. - * - *

Downloads a file. The file contents are the response body. This is a standard HTTP file + * Downloads a file. The file contents are the response body. This is a standard HTTP file * download, not a JSON RPC. It supports the Range and If-Unmodified-Since HTTP headers. */ public DownloadResponse download(DownloadRequest request) { @@ -110,9 +99,7 @@ public void getDirectoryMetadata(String directoryPath) { } /** - * Get directory metadata. - * - *

Get the metadata of a directory. The response HTTP headers contain the metadata. There is no + * Get the metadata of a directory. The response HTTP headers contain the metadata. There is no * response body. * *

This method is useful to check if a directory exists and the caller has access to it. @@ -130,9 +117,7 @@ public GetMetadataResponse getMetadata(String filePath) { } /** - * Get file metadata. - * - *

Get the metadata of a file. The response HTTP headers contain the metadata. There is no + * Get the metadata of a file. The response HTTP headers contain the metadata. There is no * response body. */ public GetMetadataResponse getMetadata(GetMetadataRequest request) { @@ -145,9 +130,7 @@ public Iterable listDirectoryContents(String directoryPath) { } /** - * List directory contents. - * - *

Returns the contents of a directory. If there is no directory at the specified path, the API + * Returns the contents of a directory. If there is no directory at the specified path, the API * returns a HTTP 404 error. */ public Iterable listDirectoryContents(ListDirectoryContentsRequest request) { @@ -169,9 +152,7 @@ public void upload(String filePath, InputStream contents) { } /** - * Upload a file. - * - *

Uploads a file of up to 5 GiB. The file contents should be sent as the request body as raw + * Uploads a file of up to 5 GiB. The file contents should be sent as the request body as raw * bytes (an octet stream); do not encode or otherwise modify the bytes before sending. The * contents of the resulting file will be exactly the bytes sent in the request body. If the * request is successful, there is no response body. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/FilesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/FilesService.java index 791175943..e2d7724f6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/FilesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/FilesService.java @@ -32,26 +32,17 @@ @Generated public interface FilesService { /** - * Create a directory. - * - *

Creates an empty directory. If necessary, also creates any parent directories of the new, - * empty directory (like the shell command `mkdir -p`). If called on an existing directory, - * returns a success response; this method is idempotent (it will succeed if the directory already - * exists). + * Creates an empty directory. If necessary, also creates any parent directories of the new, empty + * directory (like the shell command `mkdir -p`). If called on an existing directory, returns a + * success response; this method is idempotent (it will succeed if the directory already exists). */ void createDirectory(CreateDirectoryRequest createDirectoryRequest); - /** - * Delete a file. - * - *

Deletes a file. If the request is successful, there is no response body. - */ + /** Deletes a file. If the request is successful, there is no response body. */ void delete(DeleteFileRequest deleteFileRequest); /** - * Delete a directory. - * - *

Deletes an empty directory. + * Deletes an empty directory. * *

To delete a non-empty directory, first delete all of its contents. This can be done by * listing the directory contents and deleting each file and subdirectory recursively. @@ -59,17 +50,13 @@ public interface FilesService { void deleteDirectory(DeleteDirectoryRequest deleteDirectoryRequest); /** - * Download a file. - * - *

Downloads a file. The file contents are the response body. This is a standard HTTP file + * Downloads a file. The file contents are the response body. This is a standard HTTP file * download, not a JSON RPC. It supports the Range and If-Unmodified-Since HTTP headers. */ DownloadResponse download(DownloadRequest downloadRequest); /** - * Get directory metadata. - * - *

Get the metadata of a directory. The response HTTP headers contain the metadata. There is no + * Get the metadata of a directory. The response HTTP headers contain the metadata. There is no * response body. * *

This method is useful to check if a directory exists and the caller has access to it. @@ -81,26 +68,20 @@ public interface FilesService { void getDirectoryMetadata(GetDirectoryMetadataRequest getDirectoryMetadataRequest); /** - * Get file metadata. - * - *

Get the metadata of a file. The response HTTP headers contain the metadata. There is no + * Get the metadata of a file. The response HTTP headers contain the metadata. There is no * response body. */ GetMetadataResponse getMetadata(GetMetadataRequest getMetadataRequest); /** - * List directory contents. - * - *

Returns the contents of a directory. If there is no directory at the specified path, the API + * Returns the contents of a directory. If there is no directory at the specified path, the API * returns a HTTP 404 error. */ ListDirectoryResponse listDirectoryContents( ListDirectoryContentsRequest listDirectoryContentsRequest); /** - * Upload a file. - * - *

Uploads a file of up to 5 GiB. The file contents should be sent as the request body as raw + * Uploads a file of up to 5 GiB. The file contents should be sent as the request body as raw * bytes (an octet stream); do not encode or otherwise modify the bytes before sending. The * contents of the resulting file will be exactly the bytes sent in the request body. If the * request is successful, there is no response body. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/GetDirectoryMetadataRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/GetDirectoryMetadataRequest.java index 7225379c4..2784a7136 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/GetDirectoryMetadataRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/GetDirectoryMetadataRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get directory metadata */ @Generated public class GetDirectoryMetadataRequest { /** The absolute path of a directory. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/GetMetadataRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/GetMetadataRequest.java index 05693c633..e6f512571 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/GetMetadataRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/GetMetadataRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get file metadata */ @Generated public class GetMetadataRequest { /** The absolute path of the file. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/GetStatusRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/GetStatusRequest.java index f5091a01c..ad0ab1056 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/GetStatusRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/GetStatusRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the information of a file or directory */ @Generated public class GetStatusRequest { /** The path of the file or directory. The path should be the absolute DBFS path. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ListDbfsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ListDbfsRequest.java index 5b66be4cc..ec8d127f4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ListDbfsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ListDbfsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List directory contents or file details */ @Generated public class ListDbfsRequest { /** The path of the file or directory. The path should be the absolute DBFS path. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ListDirectoryContentsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ListDirectoryContentsRequest.java index 684dde699..842f6c511 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ListDirectoryContentsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ListDirectoryContentsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List directory contents */ @Generated public class ListDirectoryContentsRequest { /** The absolute path of a directory. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ReadDbfsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ReadDbfsRequest.java index 945e0c78d..845c0de43 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ReadDbfsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ReadDbfsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the contents of a file */ @Generated public class ReadDbfsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/UploadRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/UploadRequest.java index a6c715147..ae27966cc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/UploadRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/UploadRequest.java @@ -9,7 +9,6 @@ import java.io.InputStream; import java.util.Objects; -/** Upload a file */ @Generated public class UploadRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountAccessControlAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountAccessControlAPI.java index cfa50b192..24c609428 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountAccessControlAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountAccessControlAPI.java @@ -33,10 +33,8 @@ public GetAssignableRolesForResourceResponse getAssignableRolesForResource(Strin } /** - * Get assignable roles for a resource. - * - *

Gets all the roles that can be granted on an account level resource. A role is grantable if - * the rule set on the resource can contain an access rule of the role. + * Gets all the roles that can be granted on an account level resource. A role is grantable if the + * rule set on the resource can contain an access rule of the role. */ public GetAssignableRolesForResourceResponse getAssignableRolesForResource( GetAssignableRolesForResourceRequest request) { @@ -48,10 +46,8 @@ public RuleSetResponse getRuleSet(String name, String etag) { } /** - * Get a rule set. - * - *

Get a rule set by its name. A rule set is always attached to a resource and contains a list - * of access rules on the said resource. Currently only a default rule set for each resource is + * Get a rule set by its name. A rule set is always attached to a resource and contains a list of + * access rules on the said resource. Currently only a default rule set for each resource is * supported. */ public RuleSetResponse getRuleSet(GetRuleSetRequest request) { @@ -63,9 +59,7 @@ public RuleSetResponse updateRuleSet(String name, RuleSetUpdateRequest ruleSet) } /** - * Update a rule set. - * - *

Replace the rules of a rule set. First, use get to read the current version of the rule set + * Replace the rules of a rule set. First, use get to read the current version of the rule set * before modifying it. This pattern helps prevent conflicts between concurrent updates. */ public RuleSetResponse updateRuleSet(UpdateRuleSetRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountAccessControlProxyAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountAccessControlProxyAPI.java index 6d95a309b..af1e94ffe 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountAccessControlProxyAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountAccessControlProxyAPI.java @@ -34,10 +34,8 @@ public GetAssignableRolesForResourceResponse getAssignableRolesForResource(Strin } /** - * Get assignable roles for a resource. - * - *

Gets all the roles that can be granted on an account level resource. A role is grantable if - * the rule set on the resource can contain an access rule of the role. + * Gets all the roles that can be granted on an account level resource. A role is grantable if the + * rule set on the resource can contain an access rule of the role. */ public GetAssignableRolesForResourceResponse getAssignableRolesForResource( GetAssignableRolesForResourceRequest request) { @@ -49,10 +47,8 @@ public RuleSetResponse getRuleSet(String name, String etag) { } /** - * Get a rule set. - * - *

Get a rule set by its name. A rule set is always attached to a resource and contains a list - * of access rules on the said resource. Currently only a default rule set for each resource is + * Get a rule set by its name. A rule set is always attached to a resource and contains a list of + * access rules on the said resource. Currently only a default rule set for each resource is * supported. */ public RuleSetResponse getRuleSet(GetRuleSetRequest request) { @@ -64,9 +60,7 @@ public RuleSetResponse updateRuleSet(String name, RuleSetUpdateRequest ruleSet) } /** - * Update a rule set. - * - *

Replace the rules of a rule set. First, use get to read the current version of the rule set + * Replace the rules of a rule set. First, use get to read the current version of the rule set * before modifying it. This pattern helps prevent conflicts between concurrent updates. */ public RuleSetResponse updateRuleSet(UpdateRuleSetRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountAccessControlProxyService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountAccessControlProxyService.java index 3de92d68e..71f1d1145 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountAccessControlProxyService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountAccessControlProxyService.java @@ -16,27 +16,21 @@ @Generated public interface AccountAccessControlProxyService { /** - * Get assignable roles for a resource. - * - *

Gets all the roles that can be granted on an account level resource. A role is grantable if - * the rule set on the resource can contain an access rule of the role. + * Gets all the roles that can be granted on an account level resource. A role is grantable if the + * rule set on the resource can contain an access rule of the role. */ GetAssignableRolesForResourceResponse getAssignableRolesForResource( GetAssignableRolesForResourceRequest getAssignableRolesForResourceRequest); /** - * Get a rule set. - * - *

Get a rule set by its name. A rule set is always attached to a resource and contains a list - * of access rules on the said resource. Currently only a default rule set for each resource is + * Get a rule set by its name. A rule set is always attached to a resource and contains a list of + * access rules on the said resource. Currently only a default rule set for each resource is * supported. */ RuleSetResponse getRuleSet(GetRuleSetRequest getRuleSetRequest); /** - * Update a rule set. - * - *

Replace the rules of a rule set. First, use get to read the current version of the rule set + * Replace the rules of a rule set. First, use get to read the current version of the rule set * before modifying it. This pattern helps prevent conflicts between concurrent updates. */ RuleSetResponse updateRuleSet(UpdateRuleSetRequest updateRuleSetRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountAccessControlService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountAccessControlService.java index 3b5f6f0cb..b7825e379 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountAccessControlService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountAccessControlService.java @@ -15,27 +15,21 @@ @Generated public interface AccountAccessControlService { /** - * Get assignable roles for a resource. - * - *

Gets all the roles that can be granted on an account level resource. A role is grantable if - * the rule set on the resource can contain an access rule of the role. + * Gets all the roles that can be granted on an account level resource. A role is grantable if the + * rule set on the resource can contain an access rule of the role. */ GetAssignableRolesForResourceResponse getAssignableRolesForResource( GetAssignableRolesForResourceRequest getAssignableRolesForResourceRequest); /** - * Get a rule set. - * - *

Get a rule set by its name. A rule set is always attached to a resource and contains a list - * of access rules on the said resource. Currently only a default rule set for each resource is + * Get a rule set by its name. A rule set is always attached to a resource and contains a list of + * access rules on the said resource. Currently only a default rule set for each resource is * supported. */ RuleSetResponse getRuleSet(GetRuleSetRequest getRuleSetRequest); /** - * Update a rule set. - * - *

Replace the rules of a rule set. First, use get to read the current version of the rule set + * Replace the rules of a rule set. First, use get to read the current version of the rule set * before modifying it. This pattern helps prevent conflicts between concurrent updates. */ RuleSetResponse updateRuleSet(UpdateRuleSetRequest updateRuleSetRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountGroupsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountGroupsAPI.java index 7016a0673..4e0bbc9e7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountGroupsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountGroupsAPI.java @@ -32,10 +32,7 @@ public AccountGroupsAPI(AccountGroupsService mock) { } /** - * Create a new group. - * - *

Creates a group in the Databricks account with a unique name, using the supplied group - * details. + * Creates a group in the Databricks account with a unique name, using the supplied group details. */ public Group create(Group request) { return impl.create(request); @@ -45,11 +42,7 @@ public void delete(String id) { delete(new DeleteAccountGroupRequest().setId(id)); } - /** - * Delete a group. - * - *

Deletes a group from the Databricks account. - */ + /** Deletes a group from the Databricks account. */ public void delete(DeleteAccountGroupRequest request) { impl.delete(request); } @@ -58,20 +51,12 @@ public Group get(String id) { return get(new GetAccountGroupRequest().setId(id)); } - /** - * Get group details. - * - *

Gets the information for a specific group in the Databricks account. - */ + /** Gets the information for a specific group in the Databricks account. */ public Group get(GetAccountGroupRequest request) { return impl.get(request); } - /** - * List group details. - * - *

Gets all details of the groups associated with the Databricks account. - */ + /** Gets all details of the groups associated with the Databricks account. */ public Iterable list(ListAccountGroupsRequest request) { request.setStartIndex(1L); if (request.getCount() == null) { @@ -96,11 +81,7 @@ public void patch(String id) { patch(new PartialUpdate().setId(id)); } - /** - * Update group details. - * - *

Partially updates the details of a group. - */ + /** Partially updates the details of a group. */ public void patch(PartialUpdate request) { impl.patch(request); } @@ -109,11 +90,7 @@ public void update(String id) { update(new Group().setId(id)); } - /** - * Replace a group. - * - *

Updates the details of a group by replacing the entire group entity. - */ + /** Updates the details of a group by replacing the entire group entity. */ public void update(Group request) { impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountGroupsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountGroupsService.java index 736db157f..a2d0f489e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountGroupsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountGroupsService.java @@ -18,45 +18,22 @@ @Generated public interface AccountGroupsService { /** - * Create a new group. - * - *

Creates a group in the Databricks account with a unique name, using the supplied group - * details. + * Creates a group in the Databricks account with a unique name, using the supplied group details. */ Group create(Group group); - /** - * Delete a group. - * - *

Deletes a group from the Databricks account. - */ + /** Deletes a group from the Databricks account. */ void delete(DeleteAccountGroupRequest deleteAccountGroupRequest); - /** - * Get group details. - * - *

Gets the information for a specific group in the Databricks account. - */ + /** Gets the information for a specific group in the Databricks account. */ Group get(GetAccountGroupRequest getAccountGroupRequest); - /** - * List group details. - * - *

Gets all details of the groups associated with the Databricks account. - */ + /** Gets all details of the groups associated with the Databricks account. */ ListGroupsResponse list(ListAccountGroupsRequest listAccountGroupsRequest); - /** - * Update group details. - * - *

Partially updates the details of a group. - */ + /** Partially updates the details of a group. */ void patch(PartialUpdate partialUpdate); - /** - * Replace a group. - * - *

Updates the details of a group by replacing the entire group entity. - */ + /** Updates the details of a group by replacing the entire group entity. */ void update(Group group); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountServicePrincipalsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountServicePrincipalsAPI.java index 415577a5a..22ada4119 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountServicePrincipalsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountServicePrincipalsAPI.java @@ -30,11 +30,7 @@ public AccountServicePrincipalsAPI(AccountServicePrincipalsService mock) { impl = mock; } - /** - * Create a service principal. - * - *

Creates a new service principal in the Databricks account. - */ + /** Creates a new service principal in the Databricks account. */ public ServicePrincipal create(ServicePrincipal request) { return impl.create(request); } @@ -43,11 +39,7 @@ public void delete(String id) { delete(new DeleteAccountServicePrincipalRequest().setId(id)); } - /** - * Delete a service principal. - * - *

Delete a single service principal in the Databricks account. - */ + /** Delete a single service principal in the Databricks account. */ public void delete(DeleteAccountServicePrincipalRequest request) { impl.delete(request); } @@ -56,20 +48,12 @@ public ServicePrincipal get(String id) { return get(new GetAccountServicePrincipalRequest().setId(id)); } - /** - * Get service principal details. - * - *

Gets the details for a single service principal define in the Databricks account. - */ + /** Gets the details for a single service principal define in the Databricks account. */ public ServicePrincipal get(GetAccountServicePrincipalRequest request) { return impl.get(request); } - /** - * List service principals. - * - *

Gets the set of service principals associated with a Databricks account. - */ + /** Gets the set of service principals associated with a Databricks account. */ public Iterable list(ListAccountServicePrincipalsRequest request) { request.setStartIndex(1L); if (request.getCount() == null) { @@ -94,11 +78,7 @@ public void patch(String id) { patch(new PartialUpdate().setId(id)); } - /** - * Update service principal details. - * - *

Partially updates the details of a single service principal in the Databricks account. - */ + /** Partially updates the details of a single service principal in the Databricks account. */ public void patch(PartialUpdate request) { impl.patch(request); } @@ -108,9 +88,7 @@ public void update(String id) { } /** - * Replace service principal. - * - *

Updates the details of a single service principal. + * Updates the details of a single service principal. * *

This action replaces the existing service principal with the same name. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountServicePrincipalsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountServicePrincipalsService.java index 5c211e929..baafa6c71 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountServicePrincipalsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountServicePrincipalsService.java @@ -16,46 +16,24 @@ */ @Generated public interface AccountServicePrincipalsService { - /** - * Create a service principal. - * - *

Creates a new service principal in the Databricks account. - */ + /** Creates a new service principal in the Databricks account. */ ServicePrincipal create(ServicePrincipal servicePrincipal); - /** - * Delete a service principal. - * - *

Delete a single service principal in the Databricks account. - */ + /** Delete a single service principal in the Databricks account. */ void delete(DeleteAccountServicePrincipalRequest deleteAccountServicePrincipalRequest); - /** - * Get service principal details. - * - *

Gets the details for a single service principal define in the Databricks account. - */ + /** Gets the details for a single service principal define in the Databricks account. */ ServicePrincipal get(GetAccountServicePrincipalRequest getAccountServicePrincipalRequest); - /** - * List service principals. - * - *

Gets the set of service principals associated with a Databricks account. - */ + /** Gets the set of service principals associated with a Databricks account. */ ListServicePrincipalResponse list( ListAccountServicePrincipalsRequest listAccountServicePrincipalsRequest); - /** - * Update service principal details. - * - *

Partially updates the details of a single service principal in the Databricks account. - */ + /** Partially updates the details of a single service principal in the Databricks account. */ void patch(PartialUpdate partialUpdate); /** - * Replace service principal. - * - *

Updates the details of a single service principal. + * Updates the details of a single service principal. * *

This action replaces the existing service principal with the same name. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountUsersAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountUsersAPI.java index 77249ac5e..d1e7b1a5b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountUsersAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountUsersAPI.java @@ -35,9 +35,7 @@ public AccountUsersAPI(AccountUsersService mock) { } /** - * Create a new user. - * - *

Creates a new user in the Databricks account. This new user will also be added to the + * Creates a new user in the Databricks account. This new user will also be added to the * Databricks account. */ public User create(User request) { @@ -49,10 +47,8 @@ public void delete(String id) { } /** - * Delete a user. - * - *

Deletes a user. Deleting a user from a Databricks account also removes objects associated - * with the user. + * Deletes a user. Deleting a user from a Databricks account also removes objects associated with + * the user. */ public void delete(DeleteAccountUserRequest request) { impl.delete(request); @@ -62,20 +58,12 @@ public User get(String id) { return get(new GetAccountUserRequest().setId(id)); } - /** - * Get user details. - * - *

Gets information for a specific user in Databricks account. - */ + /** Gets information for a specific user in Databricks account. */ public User get(GetAccountUserRequest request) { return impl.get(request); } - /** - * List users. - * - *

Gets details for all the users associated with a Databricks account. - */ + /** Gets details for all the users associated with a Databricks account. */ public Iterable list(ListAccountUsersRequest request) { request.setStartIndex(1L); if (request.getCount() == null) { @@ -101,9 +89,7 @@ public void patch(String id) { } /** - * Update user details. - * - *

Partially updates a user resource by applying the supplied operations on specific user + * Partially updates a user resource by applying the supplied operations on specific user * attributes. */ public void patch(PartialUpdate request) { @@ -114,11 +100,7 @@ public void update(String id) { update(new User().setId(id)); } - /** - * Replace a user. - * - *

Replaces a user's information with the data supplied in request. - */ + /** Replaces a user's information with the data supplied in request. */ public void update(User request) { impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountUsersService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountUsersService.java index 332e1ffb4..1df0d2921 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountUsersService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountUsersService.java @@ -21,47 +21,29 @@ @Generated public interface AccountUsersService { /** - * Create a new user. - * - *

Creates a new user in the Databricks account. This new user will also be added to the + * Creates a new user in the Databricks account. This new user will also be added to the * Databricks account. */ User create(User user); /** - * Delete a user. - * - *

Deletes a user. Deleting a user from a Databricks account also removes objects associated - * with the user. + * Deletes a user. Deleting a user from a Databricks account also removes objects associated with + * the user. */ void delete(DeleteAccountUserRequest deleteAccountUserRequest); - /** - * Get user details. - * - *

Gets information for a specific user in Databricks account. - */ + /** Gets information for a specific user in Databricks account. */ User get(GetAccountUserRequest getAccountUserRequest); - /** - * List users. - * - *

Gets details for all the users associated with a Databricks account. - */ + /** Gets details for all the users associated with a Databricks account. */ ListUsersResponse list(ListAccountUsersRequest listAccountUsersRequest); /** - * Update user details. - * - *

Partially updates a user resource by applying the supplied operations on specific user + * Partially updates a user resource by applying the supplied operations on specific user * attributes. */ void patch(PartialUpdate partialUpdate); - /** - * Replace a user. - * - *

Replaces a user's information with the data supplied in request. - */ + /** Replaces a user's information with the data supplied in request. */ void update(User user); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CheckPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CheckPolicyRequest.java index fae98e5d2..0e57a9142 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CheckPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CheckPolicyRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Check access policy to a resource */ @Generated public class CheckPolicyRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CurrentUserAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CurrentUserAPI.java index d77e11a0b..257e60d9e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CurrentUserAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CurrentUserAPI.java @@ -25,11 +25,7 @@ public CurrentUserAPI(CurrentUserService mock) { impl = mock; } - /** - * Get current user info. - * - *

Get details about the current method caller's identity. - */ + /** Get details about the current method caller's identity. */ public User me() { return impl.me(); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CurrentUserService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CurrentUserService.java index 3de69d71b..ae5466cce 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CurrentUserService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CurrentUserService.java @@ -12,10 +12,6 @@ */ @Generated public interface CurrentUserService { - /** - * Get current user info. - * - *

Get details about the current method caller's identity. - */ + /** Get details about the current method caller's identity. */ User me(); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteAccountGroupRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteAccountGroupRequest.java index bc96255a3..71ea17107 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteAccountGroupRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteAccountGroupRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a group. */ @Generated public class DeleteAccountGroupRequest { /** Unique ID for a group in the Databricks account. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteAccountServicePrincipalRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteAccountServicePrincipalRequest.java index 8970debe2..1d324f4e1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteAccountServicePrincipalRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteAccountServicePrincipalRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a service principal. */ @Generated public class DeleteAccountServicePrincipalRequest { /** Unique ID for a service principal in the Databricks account. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteAccountUserRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteAccountUserRequest.java index 3b41e0c7c..9f28c9df6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteAccountUserRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteAccountUserRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a user. */ @Generated public class DeleteAccountUserRequest { /** Unique ID for a user in the Databricks account. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteGroupRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteGroupRequest.java index f7ca0d7ee..d48a10c73 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteGroupRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteGroupRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a group. */ @Generated public class DeleteGroupRequest { /** Unique ID for a group in the Databricks workspace. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteServicePrincipalRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteServicePrincipalRequest.java index e24962cbc..307f133f4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteServicePrincipalRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteServicePrincipalRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a service principal. */ @Generated public class DeleteServicePrincipalRequest { /** Unique ID for a service principal in the Databricks workspace. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteUserRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteUserRequest.java index 05f3dcad4..52f5aaa7e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteUserRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteUserRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a user. */ @Generated public class DeleteUserRequest { /** Unique ID for a user in the Databricks workspace. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteWorkspaceAssignmentRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteWorkspaceAssignmentRequest.java index 3aaf9b8bb..9ba06f540 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteWorkspaceAssignmentRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/DeleteWorkspaceAssignmentRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete permissions assignment */ @Generated public class DeleteWorkspaceAssignmentRequest { /** The ID of the user, service principal, or group. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAccountGroupRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAccountGroupRequest.java index 03afecc6c..74b6ad1e5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAccountGroupRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAccountGroupRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get group details. */ @Generated public class GetAccountGroupRequest { /** Unique ID for a group in the Databricks account. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAccountServicePrincipalRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAccountServicePrincipalRequest.java index bc6682251..1c12d1f4b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAccountServicePrincipalRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAccountServicePrincipalRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get service principal details. */ @Generated public class GetAccountServicePrincipalRequest { /** Unique ID for a service principal in the Databricks account. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAccountUserRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAccountUserRequest.java index d36f2bc97..2d94f3b4e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAccountUserRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAccountUserRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get user details. */ @Generated public class GetAccountUserRequest { /** Comma-separated list of attributes to return in response. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAssignableRolesForResourceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAssignableRolesForResourceRequest.java index 2b034b2d3..44fa9f859 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAssignableRolesForResourceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAssignableRolesForResourceRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get assignable roles for a resource */ @Generated public class GetAssignableRolesForResourceRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetGroupRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetGroupRequest.java index 45820a35f..7a970fb88 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetGroupRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetGroupRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get group details. */ @Generated public class GetGroupRequest { /** Unique ID for a group in the Databricks workspace. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetPermissionLevelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetPermissionLevelsRequest.java index d48921d05..9536da96a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetPermissionLevelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetPermissionLevelsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get object permission levels */ @Generated public class GetPermissionLevelsRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetPermissionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetPermissionRequest.java index a53dc9247..a559a7789 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetPermissionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetPermissionRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get object permissions */ @Generated public class GetPermissionRequest { /** The id of the request object. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetRuleSetRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetRuleSetRequest.java index 611758c5e..d76f368c4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetRuleSetRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetRuleSetRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a rule set */ @Generated public class GetRuleSetRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetServicePrincipalRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetServicePrincipalRequest.java index b6f108016..8c95c980b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetServicePrincipalRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetServicePrincipalRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get service principal details. */ @Generated public class GetServicePrincipalRequest { /** Unique ID for a service principal in the Databricks workspace. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetUserRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetUserRequest.java index 641367c1f..bee19e846 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetUserRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetUserRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get user details. */ @Generated public class GetUserRequest { /** Comma-separated list of attributes to return in response. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetWorkspaceAssignmentRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetWorkspaceAssignmentRequest.java index 0131e1657..8c7589fa6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetWorkspaceAssignmentRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetWorkspaceAssignmentRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List workspace permissions */ @Generated public class GetWorkspaceAssignmentRequest { /** The workspace ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GroupsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GroupsAPI.java index a6b7414d2..1d62df7ca 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GroupsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GroupsAPI.java @@ -32,9 +32,7 @@ public GroupsAPI(GroupsService mock) { } /** - * Create a new group. - * - *

Creates a group in the Databricks workspace with a unique name, using the supplied group + * Creates a group in the Databricks workspace with a unique name, using the supplied group * details. */ public Group create(Group request) { @@ -45,11 +43,7 @@ public void delete(String id) { delete(new DeleteGroupRequest().setId(id)); } - /** - * Delete a group. - * - *

Deletes a group from the Databricks workspace. - */ + /** Deletes a group from the Databricks workspace. */ public void delete(DeleteGroupRequest request) { impl.delete(request); } @@ -58,20 +52,12 @@ public Group get(String id) { return get(new GetGroupRequest().setId(id)); } - /** - * Get group details. - * - *

Gets the information for a specific group in the Databricks workspace. - */ + /** Gets the information for a specific group in the Databricks workspace. */ public Group get(GetGroupRequest request) { return impl.get(request); } - /** - * List group details. - * - *

Gets all details of the groups associated with the Databricks workspace. - */ + /** Gets all details of the groups associated with the Databricks workspace. */ public Iterable list(ListGroupsRequest request) { request.setStartIndex(1L); if (request.getCount() == null) { @@ -96,11 +82,7 @@ public void patch(String id) { patch(new PartialUpdate().setId(id)); } - /** - * Update group details. - * - *

Partially updates the details of a group. - */ + /** Partially updates the details of a group. */ public void patch(PartialUpdate request) { impl.patch(request); } @@ -109,11 +91,7 @@ public void update(String id) { update(new Group().setId(id)); } - /** - * Replace a group. - * - *

Updates the details of a group by replacing the entire group entity. - */ + /** Updates the details of a group by replacing the entire group entity. */ public void update(Group request) { impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GroupsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GroupsService.java index 6d197f2d4..b4a8e5256 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GroupsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GroupsService.java @@ -18,45 +18,23 @@ @Generated public interface GroupsService { /** - * Create a new group. - * - *

Creates a group in the Databricks workspace with a unique name, using the supplied group + * Creates a group in the Databricks workspace with a unique name, using the supplied group * details. */ Group create(Group group); - /** - * Delete a group. - * - *

Deletes a group from the Databricks workspace. - */ + /** Deletes a group from the Databricks workspace. */ void delete(DeleteGroupRequest deleteGroupRequest); - /** - * Get group details. - * - *

Gets the information for a specific group in the Databricks workspace. - */ + /** Gets the information for a specific group in the Databricks workspace. */ Group get(GetGroupRequest getGroupRequest); - /** - * List group details. - * - *

Gets all details of the groups associated with the Databricks workspace. - */ + /** Gets all details of the groups associated with the Databricks workspace. */ ListGroupsResponse list(ListGroupsRequest listGroupsRequest); - /** - * Update group details. - * - *

Partially updates the details of a group. - */ + /** Partially updates the details of a group. */ void patch(PartialUpdate partialUpdate); - /** - * Replace a group. - * - *

Updates the details of a group by replacing the entire group entity. - */ + /** Updates the details of a group by replacing the entire group entity. */ void update(Group group); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountGroupsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountGroupsRequest.java index 0561e6669..2f646a7ed 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountGroupsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountGroupsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List group details. */ @Generated public class ListAccountGroupsRequest { /** Comma-separated list of attributes to return in response. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountServicePrincipalsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountServicePrincipalsRequest.java index 23f3255c5..8b99059e8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountServicePrincipalsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountServicePrincipalsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List service principals. */ @Generated public class ListAccountServicePrincipalsRequest { /** Comma-separated list of attributes to return in response. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountUsersRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountUsersRequest.java index 4615abfbd..da1f72479 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountUsersRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountUsersRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List users. */ @Generated public class ListAccountUsersRequest { /** Comma-separated list of attributes to return in response. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListGroupsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListGroupsRequest.java index 85f9e831d..8f3077490 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListGroupsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListGroupsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List group details. */ @Generated public class ListGroupsRequest { /** Comma-separated list of attributes to return in response. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListServicePrincipalsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListServicePrincipalsRequest.java index 35003ac3c..8e9fc41c9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListServicePrincipalsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListServicePrincipalsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List service principals. */ @Generated public class ListServicePrincipalsRequest { /** Comma-separated list of attributes to return in response. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListUsersRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListUsersRequest.java index 373ad0552..032c6d0de 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListUsersRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListUsersRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List users. */ @Generated public class ListUsersRequest { /** Comma-separated list of attributes to return in response. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListWorkspaceAssignmentRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListWorkspaceAssignmentRequest.java index 5b6aaa9c9..1e4ed425c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListWorkspaceAssignmentRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListWorkspaceAssignmentRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get permission assignments */ @Generated public class ListWorkspaceAssignmentRequest { /** The workspace ID for the account. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionsAPI.java index 4e4ef27aa..9d6d988d4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionsAPI.java @@ -56,10 +56,8 @@ public ObjectPermissions get(String requestObjectType, String requestObjectId) { } /** - * Get object permissions. - * - *

Gets the permissions of an object. Objects can inherit permissions from their parent objects - * or root object. + * Gets the permissions of an object. Objects can inherit permissions from their parent objects or + * root object. */ public ObjectPermissions get(GetPermissionRequest request) { return impl.get(request); @@ -73,11 +71,7 @@ public GetPermissionLevelsResponse getPermissionLevels( .setRequestObjectId(requestObjectId)); } - /** - * Get object permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ public GetPermissionLevelsResponse getPermissionLevels(GetPermissionLevelsRequest request) { return impl.getPermissionLevels(request); } @@ -90,11 +84,9 @@ public ObjectPermissions set(String requestObjectType, String requestObjectId) { } /** - * Set object permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their parent - * objects or root object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their parent objects or + * root object. */ public ObjectPermissions set(SetObjectPermissions request) { return impl.set(request); @@ -108,10 +100,8 @@ public ObjectPermissions update(String requestObjectType, String requestObjectId } /** - * Update object permissions. - * - *

Updates the permissions on an object. Objects can inherit permissions from their parent - * objects or root object. + * Updates the permissions on an object. Objects can inherit permissions from their parent objects + * or root object. */ public ObjectPermissions update(UpdateObjectPermissions request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionsService.java index 592dcea96..0b011366f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionsService.java @@ -36,35 +36,25 @@ @Generated public interface PermissionsService { /** - * Get object permissions. - * - *

Gets the permissions of an object. Objects can inherit permissions from their parent objects - * or root object. + * Gets the permissions of an object. Objects can inherit permissions from their parent objects or + * root object. */ ObjectPermissions get(GetPermissionRequest getPermissionRequest); - /** - * Get object permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ GetPermissionLevelsResponse getPermissionLevels( GetPermissionLevelsRequest getPermissionLevelsRequest); /** - * Set object permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their parent - * objects or root object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their parent objects or + * root object. */ ObjectPermissions set(SetObjectPermissions setObjectPermissions); /** - * Update object permissions. - * - *

Updates the permissions on an object. Objects can inherit permissions from their parent - * objects or root object. + * Updates the permissions on an object. Objects can inherit permissions from their parent objects + * or root object. */ ObjectPermissions update(UpdateObjectPermissions updateObjectPermissions); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ServicePrincipalsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ServicePrincipalsAPI.java index f28627207..fb8feb5c7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ServicePrincipalsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ServicePrincipalsAPI.java @@ -30,11 +30,7 @@ public ServicePrincipalsAPI(ServicePrincipalsService mock) { impl = mock; } - /** - * Create a service principal. - * - *

Creates a new service principal in the Databricks workspace. - */ + /** Creates a new service principal in the Databricks workspace. */ public ServicePrincipal create(ServicePrincipal request) { return impl.create(request); } @@ -43,11 +39,7 @@ public void delete(String id) { delete(new DeleteServicePrincipalRequest().setId(id)); } - /** - * Delete a service principal. - * - *

Delete a single service principal in the Databricks workspace. - */ + /** Delete a single service principal in the Databricks workspace. */ public void delete(DeleteServicePrincipalRequest request) { impl.delete(request); } @@ -56,20 +48,12 @@ public ServicePrincipal get(String id) { return get(new GetServicePrincipalRequest().setId(id)); } - /** - * Get service principal details. - * - *

Gets the details for a single service principal define in the Databricks workspace. - */ + /** Gets the details for a single service principal define in the Databricks workspace. */ public ServicePrincipal get(GetServicePrincipalRequest request) { return impl.get(request); } - /** - * List service principals. - * - *

Gets the set of service principals associated with a Databricks workspace. - */ + /** Gets the set of service principals associated with a Databricks workspace. */ public Iterable list(ListServicePrincipalsRequest request) { request.setStartIndex(1L); if (request.getCount() == null) { @@ -94,11 +78,7 @@ public void patch(String id) { patch(new PartialUpdate().setId(id)); } - /** - * Update service principal details. - * - *

Partially updates the details of a single service principal in the Databricks workspace. - */ + /** Partially updates the details of a single service principal in the Databricks workspace. */ public void patch(PartialUpdate request) { impl.patch(request); } @@ -108,9 +88,7 @@ public void update(String id) { } /** - * Replace service principal. - * - *

Updates the details of a single service principal. + * Updates the details of a single service principal. * *

This action replaces the existing service principal with the same name. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ServicePrincipalsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ServicePrincipalsService.java index da9437596..46cf60363 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ServicePrincipalsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ServicePrincipalsService.java @@ -16,45 +16,23 @@ */ @Generated public interface ServicePrincipalsService { - /** - * Create a service principal. - * - *

Creates a new service principal in the Databricks workspace. - */ + /** Creates a new service principal in the Databricks workspace. */ ServicePrincipal create(ServicePrincipal servicePrincipal); - /** - * Delete a service principal. - * - *

Delete a single service principal in the Databricks workspace. - */ + /** Delete a single service principal in the Databricks workspace. */ void delete(DeleteServicePrincipalRequest deleteServicePrincipalRequest); - /** - * Get service principal details. - * - *

Gets the details for a single service principal define in the Databricks workspace. - */ + /** Gets the details for a single service principal define in the Databricks workspace. */ ServicePrincipal get(GetServicePrincipalRequest getServicePrincipalRequest); - /** - * List service principals. - * - *

Gets the set of service principals associated with a Databricks workspace. - */ + /** Gets the set of service principals associated with a Databricks workspace. */ ListServicePrincipalResponse list(ListServicePrincipalsRequest listServicePrincipalsRequest); - /** - * Update service principal details. - * - *

Partially updates the details of a single service principal in the Databricks workspace. - */ + /** Partially updates the details of a single service principal in the Databricks workspace. */ void patch(PartialUpdate partialUpdate); /** - * Replace service principal. - * - *

Updates the details of a single service principal. + * Updates the details of a single service principal. * *

This action replaces the existing service principal with the same name. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UsersAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UsersAPI.java index d5797926d..610af9157 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UsersAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UsersAPI.java @@ -35,9 +35,7 @@ public UsersAPI(UsersService mock) { } /** - * Create a new user. - * - *

Creates a new user in the Databricks workspace. This new user will also be added to the + * Creates a new user in the Databricks workspace. This new user will also be added to the * Databricks account. */ public User create(User request) { @@ -49,9 +47,7 @@ public void delete(String id) { } /** - * Delete a user. - * - *

Deletes a user. Deleting a user from a Databricks workspace also removes objects associated + * Deletes a user. Deleting a user from a Databricks workspace also removes objects associated * with the user. */ public void delete(DeleteUserRequest request) { @@ -62,39 +58,25 @@ public User get(String id) { return get(new GetUserRequest().setId(id)); } - /** - * Get user details. - * - *

Gets information for a specific user in Databricks workspace. - */ + /** Gets information for a specific user in Databricks workspace. */ public User get(GetUserRequest request) { return impl.get(request); } - /** - * Get password permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ public GetPasswordPermissionLevelsResponse getPermissionLevels() { return impl.getPermissionLevels(); } /** - * Get password permissions. - * - *

Gets the permissions of all passwords. Passwords can inherit permissions from their root + * Gets the permissions of all passwords. Passwords can inherit permissions from their root * object. */ public PasswordPermissions getPermissions() { return impl.getPermissions(); } - /** - * List users. - * - *

Gets details for all the users associated with a Databricks workspace. - */ + /** Gets details for all the users associated with a Databricks workspace. */ public Iterable list(ListUsersRequest request) { request.setStartIndex(1L); if (request.getCount() == null) { @@ -120,9 +102,7 @@ public void patch(String id) { } /** - * Update user details. - * - *

Partially updates a user resource by applying the supplied operations on specific user + * Partially updates a user resource by applying the supplied operations on specific user * attributes. */ public void patch(PartialUpdate request) { @@ -130,11 +110,8 @@ public void patch(PartialUpdate request) { } /** - * Set password permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ public PasswordPermissions setPermissions(PasswordPermissionsRequest request) { return impl.setPermissions(request); @@ -144,19 +121,13 @@ public void update(String id) { update(new User().setId(id)); } - /** - * Replace a user. - * - *

Replaces a user's information with the data supplied in request. - */ + /** Replaces a user's information with the data supplied in request. */ public void update(User request) { impl.update(request); } /** - * Update password permissions. - * - *

Updates the permissions on all passwords. Passwords can inherit permissions from their root + * Updates the permissions on all passwords. Passwords can inherit permissions from their root * object. */ public PasswordPermissions updatePermissions(PasswordPermissionsRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UsersService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UsersService.java index 83d9421eb..0b2966c38 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UsersService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UsersService.java @@ -21,78 +21,49 @@ @Generated public interface UsersService { /** - * Create a new user. - * - *

Creates a new user in the Databricks workspace. This new user will also be added to the + * Creates a new user in the Databricks workspace. This new user will also be added to the * Databricks account. */ User create(User user); /** - * Delete a user. - * - *

Deletes a user. Deleting a user from a Databricks workspace also removes objects associated + * Deletes a user. Deleting a user from a Databricks workspace also removes objects associated * with the user. */ void delete(DeleteUserRequest deleteUserRequest); - /** - * Get user details. - * - *

Gets information for a specific user in Databricks workspace. - */ + /** Gets information for a specific user in Databricks workspace. */ User get(GetUserRequest getUserRequest); - /** - * Get password permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ GetPasswordPermissionLevelsResponse getPermissionLevels(); /** - * Get password permissions. - * - *

Gets the permissions of all passwords. Passwords can inherit permissions from their root + * Gets the permissions of all passwords. Passwords can inherit permissions from their root * object. */ PasswordPermissions getPermissions(); - /** - * List users. - * - *

Gets details for all the users associated with a Databricks workspace. - */ + /** Gets details for all the users associated with a Databricks workspace. */ ListUsersResponse list(ListUsersRequest listUsersRequest); /** - * Update user details. - * - *

Partially updates a user resource by applying the supplied operations on specific user + * Partially updates a user resource by applying the supplied operations on specific user * attributes. */ void patch(PartialUpdate partialUpdate); /** - * Set password permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ PasswordPermissions setPermissions(PasswordPermissionsRequest passwordPermissionsRequest); - /** - * Replace a user. - * - *

Replaces a user's information with the data supplied in request. - */ + /** Replaces a user's information with the data supplied in request. */ void update(User user); /** - * Update password permissions. - * - *

Updates the permissions on all passwords. Passwords can inherit permissions from their root + * Updates the permissions on all passwords. Passwords can inherit permissions from their root * object. */ PasswordPermissions updatePermissions(PasswordPermissionsRequest passwordPermissionsRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/WorkspaceAssignmentAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/WorkspaceAssignmentAPI.java index 8b2c7cd8c..a1a6c6daa 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/WorkspaceAssignmentAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/WorkspaceAssignmentAPI.java @@ -35,10 +35,8 @@ public void delete(long workspaceId, long principalId) { } /** - * Delete permissions assignment. - * - *

Deletes the workspace permissions assignment in a given account and workspace for the - * specified principal. + * Deletes the workspace permissions assignment in a given account and workspace for the specified + * principal. */ public void delete(DeleteWorkspaceAssignmentRequest request) { impl.delete(request); @@ -48,11 +46,7 @@ public WorkspacePermissions get(long workspaceId) { return get(new GetWorkspaceAssignmentRequest().setWorkspaceId(workspaceId)); } - /** - * List workspace permissions. - * - *

Get an array of workspace permissions for the specified account and workspace. - */ + /** Get an array of workspace permissions for the specified account and workspace. */ public WorkspacePermissions get(GetWorkspaceAssignmentRequest request) { return impl.get(request); } @@ -62,10 +56,7 @@ public Iterable list(long workspaceId) { } /** - * Get permission assignments. - * - *

Get the permission assignments for the specified Databricks account and Databricks - * workspace. + * Get the permission assignments for the specified Databricks account and Databricks workspace. */ public Iterable list(ListWorkspaceAssignmentRequest request) { return new Paginator<>( @@ -78,9 +69,7 @@ public PermissionAssignment update(long workspaceId, long principalId) { } /** - * Create or update permissions assignment. - * - *

Creates or updates the workspace permissions assignment in a given account and workspace for + * Creates or updates the workspace permissions assignment in a given account and workspace for * the specified principal. */ public PermissionAssignment update(UpdateWorkspaceAssignments request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/WorkspaceAssignmentService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/WorkspaceAssignmentService.java index 4ec0dca6d..917517872 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/WorkspaceAssignmentService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/WorkspaceAssignmentService.java @@ -14,32 +14,21 @@ @Generated public interface WorkspaceAssignmentService { /** - * Delete permissions assignment. - * - *

Deletes the workspace permissions assignment in a given account and workspace for the - * specified principal. + * Deletes the workspace permissions assignment in a given account and workspace for the specified + * principal. */ void delete(DeleteWorkspaceAssignmentRequest deleteWorkspaceAssignmentRequest); - /** - * List workspace permissions. - * - *

Get an array of workspace permissions for the specified account and workspace. - */ + /** Get an array of workspace permissions for the specified account and workspace. */ WorkspacePermissions get(GetWorkspaceAssignmentRequest getWorkspaceAssignmentRequest); /** - * Get permission assignments. - * - *

Get the permission assignments for the specified Databricks account and Databricks - * workspace. + * Get the permission assignments for the specified Databricks account and Databricks workspace. */ PermissionAssignments list(ListWorkspaceAssignmentRequest listWorkspaceAssignmentRequest); /** - * Create or update permissions assignment. - * - *

Creates or updates the workspace permissions assignment in a given account and workspace for + * Creates or updates the workspace permissions assignment in a given account and workspace for * the specified principal. */ PermissionAssignment update(UpdateWorkspaceAssignments updateWorkspaceAssignments); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/BaseRun.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/BaseRun.java index d6864e7ba..e7ad71205 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/BaseRun.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/BaseRun.java @@ -224,9 +224,10 @@ public class BaseRun { * demand through the UI or the API. * `RETRY`: Indicates a run that is triggered as a retry of a * previously failed run. This occurs when you request to re-run the job in case of failures. * * `RUN_JOB_TASK`: Indicates a run that is triggered using a Run Job task. * `FILE_ARRIVAL`: - * Indicates a run that is triggered by a file arrival. * `TABLE`: Indicates a run that is - * triggered by a table update. * `CONTINUOUS_RESTART`: Indicates a run created by user to - * manually restart a continuous job run. + * Indicates a run that is triggered by a file arrival. * `CONTINUOUS`: Indicates a run that is + * triggered by a continuous job. * `TABLE`: Indicates a run that is triggered by a table update. + * * `CONTINUOUS_RESTART`: Indicates a run created by user to manually restart a continuous job + * run. * `MODEL`: Indicates a run that is triggered by a model update. */ @JsonProperty("trigger") private TriggerType trigger; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudJobRunStep.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudJobRunStep.java index 76683e3f5..6a0d0d9fe 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudJobRunStep.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudJobRunStep.java @@ -7,7 +7,10 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Format of response retrieved from dbt Cloud, for inclusion in output */ +/** + * Format of response retrieved from dbt Cloud, for inclusion in output Deprecated in favor of + * DbtPlatformJobRunStep + */ @Generated public class DbtCloudJobRunStep { /** Orders the steps in the job */ @@ -24,7 +27,7 @@ public class DbtCloudJobRunStep { /** State of the step */ @JsonProperty("status") - private DbtCloudRunStatus status; + private DbtPlatformRunStatus status; public DbtCloudJobRunStep setIndex(Long index) { this.index = index; @@ -53,12 +56,12 @@ public String getName() { return name; } - public DbtCloudJobRunStep setStatus(DbtCloudRunStatus status) { + public DbtCloudJobRunStep setStatus(DbtPlatformRunStatus status) { this.status = status; return this; } - public DbtCloudRunStatus getStatus() { + public DbtPlatformRunStatus getStatus() { return status; } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudTask.java index 7d54134b0..9c14c40eb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudTask.java @@ -7,6 +7,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; +/** Deprecated in favor of DbtPlatformTask */ @Generated public class DbtCloudTask { /** The resource name of the UC connection that authenticates the dbt Cloud for this task */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudTaskOutput.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudTaskOutput.java index cfbc136be..0019cd5a2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudTaskOutput.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudTaskOutput.java @@ -8,6 +8,7 @@ import java.util.Collection; import java.util.Objects; +/** Deprecated in favor of DbtPlatformTaskOutput */ @Generated public class DbtCloudTaskOutput { /** Id of the job run in dbt Cloud */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformJobRunStep.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformJobRunStep.java new file mode 100755 index 000000000..15afb7dad --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformJobRunStep.java @@ -0,0 +1,126 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.jobs; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +/** Format of response retrieved from dbt platform, for inclusion in output */ +@Generated +public class DbtPlatformJobRunStep { + /** Orders the steps in the job */ + @JsonProperty("index") + private Long index; + + /** Output of the step */ + @JsonProperty("logs") + private String logs; + + /** + * Whether the logs of this step have been truncated. If true, the logs has been truncated to + * 10000 characters. + */ + @JsonProperty("logs_truncated") + private Boolean logsTruncated; + + /** Name of the step in the job */ + @JsonProperty("name") + private String name; + + /** + * Whether the name of the job has been truncated. If true, the name has been truncated to 100 + * characters. + */ + @JsonProperty("name_truncated") + private Boolean nameTruncated; + + /** State of the step */ + @JsonProperty("status") + private DbtPlatformRunStatus status; + + public DbtPlatformJobRunStep setIndex(Long index) { + this.index = index; + return this; + } + + public Long getIndex() { + return index; + } + + public DbtPlatformJobRunStep setLogs(String logs) { + this.logs = logs; + return this; + } + + public String getLogs() { + return logs; + } + + public DbtPlatformJobRunStep setLogsTruncated(Boolean logsTruncated) { + this.logsTruncated = logsTruncated; + return this; + } + + public Boolean getLogsTruncated() { + return logsTruncated; + } + + public DbtPlatformJobRunStep setName(String name) { + this.name = name; + return this; + } + + public String getName() { + return name; + } + + public DbtPlatformJobRunStep setNameTruncated(Boolean nameTruncated) { + this.nameTruncated = nameTruncated; + return this; + } + + public Boolean getNameTruncated() { + return nameTruncated; + } + + public DbtPlatformJobRunStep setStatus(DbtPlatformRunStatus status) { + this.status = status; + return this; + } + + public DbtPlatformRunStatus getStatus() { + return status; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + DbtPlatformJobRunStep that = (DbtPlatformJobRunStep) o; + return Objects.equals(index, that.index) + && Objects.equals(logs, that.logs) + && Objects.equals(logsTruncated, that.logsTruncated) + && Objects.equals(name, that.name) + && Objects.equals(nameTruncated, that.nameTruncated) + && Objects.equals(status, that.status); + } + + @Override + public int hashCode() { + return Objects.hash(index, logs, logsTruncated, name, nameTruncated, status); + } + + @Override + public String toString() { + return new ToStringer(DbtPlatformJobRunStep.class) + .add("index", index) + .add("logs", logs) + .add("logsTruncated", logsTruncated) + .add("name", name) + .add("nameTruncated", nameTruncated) + .add("status", status) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudRunStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformRunStatus.java similarity index 66% rename from databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudRunStatus.java rename to databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformRunStatus.java index 9ae787e53..8cd847886 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtCloudRunStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformRunStatus.java @@ -4,9 +4,9 @@ import com.databricks.sdk.support.Generated; -/** Response enumeration from calling the dbt Cloud API, for inclusion in output */ +/** Response enumeration from calling the dbt platform API, for inclusion in output */ @Generated -public enum DbtCloudRunStatus { +public enum DbtPlatformRunStatus { CANCELLED, ERROR, QUEUED, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformTask.java new file mode 100755 index 000000000..ba7e86b7a --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformTask.java @@ -0,0 +1,62 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.jobs; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +@Generated +public class DbtPlatformTask { + /** The resource name of the UC connection that authenticates the dbt platform for this task */ + @JsonProperty("connection_resource_name") + private String connectionResourceName; + + /** + * Id of the dbt platform job to be triggered. Specified as a string for maximum compatibility + * with clients. + */ + @JsonProperty("dbt_platform_job_id") + private String dbtPlatformJobId; + + public DbtPlatformTask setConnectionResourceName(String connectionResourceName) { + this.connectionResourceName = connectionResourceName; + return this; + } + + public String getConnectionResourceName() { + return connectionResourceName; + } + + public DbtPlatformTask setDbtPlatformJobId(String dbtPlatformJobId) { + this.dbtPlatformJobId = dbtPlatformJobId; + return this; + } + + public String getDbtPlatformJobId() { + return dbtPlatformJobId; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + DbtPlatformTask that = (DbtPlatformTask) o; + return Objects.equals(connectionResourceName, that.connectionResourceName) + && Objects.equals(dbtPlatformJobId, that.dbtPlatformJobId); + } + + @Override + public int hashCode() { + return Objects.hash(connectionResourceName, dbtPlatformJobId); + } + + @Override + public String toString() { + return new ToStringer(DbtPlatformTask.class) + .add("connectionResourceName", connectionResourceName) + .add("dbtPlatformJobId", dbtPlatformJobId) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformTaskOutput.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformTaskOutput.java new file mode 100755 index 000000000..b86a4ccfd --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtPlatformTaskOutput.java @@ -0,0 +1,98 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.jobs; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Collection; +import java.util.Objects; + +@Generated +public class DbtPlatformTaskOutput { + /** + * Id of the job run in dbt platform. Specified as a string for maximum compatibility with + * clients. + */ + @JsonProperty("dbt_platform_job_run_id") + private String dbtPlatformJobRunId; + + /** Steps of the job run as received from dbt platform */ + @JsonProperty("dbt_platform_job_run_output") + private Collection dbtPlatformJobRunOutput; + + /** Url where full run details can be viewed */ + @JsonProperty("dbt_platform_job_run_url") + private String dbtPlatformJobRunUrl; + + /** + * Whether the number of steps in the output has been truncated. If true, the output will contain + * the first 20 steps of the output. + */ + @JsonProperty("steps_truncated") + private Boolean stepsTruncated; + + public DbtPlatformTaskOutput setDbtPlatformJobRunId(String dbtPlatformJobRunId) { + this.dbtPlatformJobRunId = dbtPlatformJobRunId; + return this; + } + + public String getDbtPlatformJobRunId() { + return dbtPlatformJobRunId; + } + + public DbtPlatformTaskOutput setDbtPlatformJobRunOutput( + Collection dbtPlatformJobRunOutput) { + this.dbtPlatformJobRunOutput = dbtPlatformJobRunOutput; + return this; + } + + public Collection getDbtPlatformJobRunOutput() { + return dbtPlatformJobRunOutput; + } + + public DbtPlatformTaskOutput setDbtPlatformJobRunUrl(String dbtPlatformJobRunUrl) { + this.dbtPlatformJobRunUrl = dbtPlatformJobRunUrl; + return this; + } + + public String getDbtPlatformJobRunUrl() { + return dbtPlatformJobRunUrl; + } + + public DbtPlatformTaskOutput setStepsTruncated(Boolean stepsTruncated) { + this.stepsTruncated = stepsTruncated; + return this; + } + + public Boolean getStepsTruncated() { + return stepsTruncated; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + DbtPlatformTaskOutput that = (DbtPlatformTaskOutput) o; + return Objects.equals(dbtPlatformJobRunId, that.dbtPlatformJobRunId) + && Objects.equals(dbtPlatformJobRunOutput, that.dbtPlatformJobRunOutput) + && Objects.equals(dbtPlatformJobRunUrl, that.dbtPlatformJobRunUrl) + && Objects.equals(stepsTruncated, that.stepsTruncated); + } + + @Override + public int hashCode() { + return Objects.hash( + dbtPlatformJobRunId, dbtPlatformJobRunOutput, dbtPlatformJobRunUrl, stepsTruncated); + } + + @Override + public String toString() { + return new ToStringer(DbtPlatformTaskOutput.class) + .add("dbtPlatformJobRunId", dbtPlatformJobRunId) + .add("dbtPlatformJobRunOutput", dbtPlatformJobRunOutput) + .add("dbtPlatformJobRunUrl", dbtPlatformJobRunUrl) + .add("stepsTruncated", stepsTruncated) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ExportRunRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ExportRunRequest.java index 6cdd91a27..35841cfef 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ExportRunRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ExportRunRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Export and retrieve a job run */ @Generated public class ExportRunRequest { /** The canonical identifier for the run. This field is required. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetJobPermissionLevelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetJobPermissionLevelsRequest.java index 6bb25631c..a3da88632 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetJobPermissionLevelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetJobPermissionLevelsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get job permission levels */ @Generated public class GetJobPermissionLevelsRequest { /** The job for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetJobPermissionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetJobPermissionsRequest.java index fffcf7444..2495031f2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetJobPermissionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetJobPermissionsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get job permissions */ @Generated public class GetJobPermissionsRequest { /** The job for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetJobRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetJobRequest.java index 9a1064c89..782000d0b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetJobRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetJobRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a single job */ @Generated public class GetJobRequest { /** The canonical identifier of the job to retrieve information about. This field is required. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetPolicyComplianceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetPolicyComplianceRequest.java index 8af3d01c7..3764ccfff 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetPolicyComplianceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetPolicyComplianceRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get job policy compliance */ @Generated public class GetPolicyComplianceRequest { /** The ID of the job whose compliance status you are requesting. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetRunOutputRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetRunOutputRequest.java index ae51416ad..544f832b1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetRunOutputRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetRunOutputRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the output for a single run */ @Generated public class GetRunOutputRequest { /** The canonical identifier for the run. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetRunRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetRunRequest.java index afa115088..c11c215d2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetRunRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetRunRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a single job run */ @Generated public class GetRunRequest { /** Whether to include the repair history in the response. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsAPI.java index 3acf1dace..c9d27cae7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsAPI.java @@ -100,10 +100,8 @@ public Run waitGetRunJobTerminatedOrSkipped(Long runId, Duration timeout, Consum } /** - * Cancel all runs of a job. - * - *

Cancels all active runs of a job. The runs are canceled asynchronously, so it doesn't - * prevent new runs from being started. + * Cancels all active runs of a job. The runs are canceled asynchronously, so it doesn't prevent + * new runs from being started. */ public void cancelAllRuns(CancelAllRuns request) { impl.cancelAllRuns(request); @@ -114,10 +112,8 @@ public Wait cancelRun(long runId) { } /** - * Cancel a run. - * - *

Cancels a job run or a task run. The run is canceled asynchronously, so it may still be - * running when this request completes. + * Cancels a job run or a task run. The run is canceled asynchronously, so it may still be running + * when this request completes. */ public Wait cancelRun(CancelRun request) { impl.cancelRun(request); @@ -126,11 +122,7 @@ public Wait cancelRun(CancelRun request) { waitGetRunJobTerminatedOrSkipped(request.getRunId(), timeout, callback)); } - /** - * Create a new job. - * - *

Create a new job. - */ + /** Create a new job. */ public CreateResponse create(CreateJob request) { return impl.create(request); } @@ -139,11 +131,7 @@ public void delete(long jobId) { delete(new DeleteJob().setJobId(jobId)); } - /** - * Delete a job. - * - *

Deletes a job. - */ + /** Deletes a job. */ public void delete(DeleteJob request) { impl.delete(request); } @@ -152,11 +140,7 @@ public void deleteRun(long runId) { deleteRun(new DeleteRun().setRunId(runId)); } - /** - * Delete a job run. - * - *

Deletes a non-active run. Returns an error if the run is active. - */ + /** Deletes a non-active run. Returns an error if the run is active. */ public void deleteRun(DeleteRun request) { impl.deleteRun(request); } @@ -165,11 +149,7 @@ public ExportRunOutput exportRun(long runId) { return exportRun(new ExportRunRequest().setRunId(runId)); } - /** - * Export and retrieve a job run. - * - *

Export and retrieve the job run task. - */ + /** Export and retrieve the job run task. */ public ExportRunOutput exportRun(ExportRunRequest request) { return impl.exportRun(request); } @@ -179,9 +159,7 @@ public Job get(long jobId) { } /** - * Get a single job. - * - *

Retrieves the details for a single job. + * Retrieves the details for a single job. * *

Large arrays in the results will be paginated when they exceed 100 elements. A request for a * single job will return all properties for that job, and the first 100 elements of array @@ -199,11 +177,7 @@ public GetJobPermissionLevelsResponse getPermissionLevels(String jobId) { return getPermissionLevels(new GetJobPermissionLevelsRequest().setJobId(jobId)); } - /** - * Get job permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ public GetJobPermissionLevelsResponse getPermissionLevels(GetJobPermissionLevelsRequest request) { return impl.getPermissionLevels(request); } @@ -212,11 +186,7 @@ public JobPermissions getPermissions(String jobId) { return getPermissions(new GetJobPermissionsRequest().setJobId(jobId)); } - /** - * Get job permissions. - * - *

Gets the permissions of a job. Jobs can inherit permissions from their root object. - */ + /** Gets the permissions of a job. Jobs can inherit permissions from their root object. */ public JobPermissions getPermissions(GetJobPermissionsRequest request) { return impl.getPermissions(request); } @@ -226,9 +196,7 @@ public Run getRun(long runId) { } /** - * Get a single job run. - * - *

Retrieves the metadata of a run. + * Retrieves the metadata of a run. * *

Large arrays in the results will be paginated when they exceed 100 elements. A request for a * single run will return all properties for that run, and the first 100 elements of array @@ -247,9 +215,7 @@ public RunOutput getRunOutput(long runId) { } /** - * Get the output for a single run. - * - *

Retrieve the output and metadata of a single task run. When a notebook task returns a value + * Retrieve the output and metadata of a single task run. When a notebook task returns a value * through the `dbutils.notebook.exit()` call, you can use this endpoint to retrieve that value. * Databricks restricts this API to returning the first 5 MB of the output. To return a larger * result, you can store job results in a cloud storage service. @@ -263,11 +229,7 @@ public RunOutput getRunOutput(GetRunOutputRequest request) { return impl.getRunOutput(request); } - /** - * List jobs. - * - *

Retrieves a list of jobs. - */ + /** Retrieves a list of jobs. */ public Iterable list(ListJobsRequest request) { return new Paginator<>( request, @@ -282,11 +244,7 @@ public Iterable list(ListJobsRequest request) { }); } - /** - * List job runs. - * - *

List runs in descending order by start time. - */ + /** List runs in descending order by start time. */ public Iterable listRuns(ListRunsRequest request) { return new Paginator<>( request, @@ -306,9 +264,7 @@ public Wait repairRun(long runId) { } /** - * Repair a job run. - * - *

Re-run one or more tasks. Tasks are re-run as part of the original job run. They use the + * Re-run one or more tasks. Tasks are re-run as part of the original job run. They use the * current job and task settings, and can be viewed in the history for the original job run. */ public Wait repairRun(RepairRun request) { @@ -324,10 +280,8 @@ public void reset(long jobId, JobSettings newSettings) { } /** - * Update all job settings (reset). - * - *

Overwrite all settings for the given job. Use the [_Update_ endpoint](:method:jobs/update) - * to update job settings partially. + * Overwrite all settings for the given job. Use the [_Update_ endpoint](:method:jobs/update) to + * update job settings partially. */ public void reset(ResetJob request) { impl.reset(request); @@ -337,11 +291,7 @@ public Wait runNow(long jobId) { return runNow(new RunNow().setJobId(jobId)); } - /** - * Trigger a new job run. - * - *

Run a job and return the `run_id` of the triggered run. - */ + /** Run a job and return the `run_id` of the triggered run. */ public Wait runNow(RunNow request) { RunNowResponse response = impl.runNow(request); return new Wait<>( @@ -355,22 +305,17 @@ public JobPermissions setPermissions(String jobId) { } /** - * Set job permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ public JobPermissions setPermissions(JobPermissionsRequest request) { return impl.setPermissions(request); } /** - * Create and trigger a one-time run. - * - *

Submit a one-time run. This endpoint allows you to submit a workload directly without - * creating a job. Runs submitted using this endpoint don’t display in the UI. Use the - * `jobs/runs/get` API to check the run state after the job is submitted. + * Submit a one-time run. This endpoint allows you to submit a workload directly without creating + * a job. Runs submitted using this endpoint don’t display in the UI. Use the `jobs/runs/get` API + * to check the run state after the job is submitted. */ public Wait submit(SubmitRun request) { SubmitRunResponse response = impl.submit(request); @@ -385,9 +330,7 @@ public void update(long jobId) { } /** - * Update job settings partially. - * - *

Add, update, or remove specific settings of an existing job. Use the [_Reset_ + * Add, update, or remove specific settings of an existing job. Use the [_Reset_ * endpoint](:method:jobs/reset) to overwrite all job settings. */ public void update(UpdateJob request) { @@ -398,11 +341,7 @@ public JobPermissions updatePermissions(String jobId) { return updatePermissions(new JobPermissionsRequest().setJobId(jobId)); } - /** - * Update job permissions. - * - *

Updates the permissions on a job. Jobs can inherit permissions from their root object. - */ + /** Updates the permissions on a job. Jobs can inherit permissions from their root object. */ public JobPermissions updatePermissions(JobPermissionsRequest request) { return impl.updatePermissions(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsService.java index d99c7f062..951b35a5c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsService.java @@ -29,53 +29,31 @@ @Generated public interface JobsService { /** - * Cancel all runs of a job. - * - *

Cancels all active runs of a job. The runs are canceled asynchronously, so it doesn't - * prevent new runs from being started. + * Cancels all active runs of a job. The runs are canceled asynchronously, so it doesn't prevent + * new runs from being started. */ void cancelAllRuns(CancelAllRuns cancelAllRuns); /** - * Cancel a run. - * - *

Cancels a job run or a task run. The run is canceled asynchronously, so it may still be - * running when this request completes. + * Cancels a job run or a task run. The run is canceled asynchronously, so it may still be running + * when this request completes. */ void cancelRun(CancelRun cancelRun); - /** - * Create a new job. - * - *

Create a new job. - */ + /** Create a new job. */ CreateResponse create(CreateJob createJob); - /** - * Delete a job. - * - *

Deletes a job. - */ + /** Deletes a job. */ void delete(DeleteJob deleteJob); - /** - * Delete a job run. - * - *

Deletes a non-active run. Returns an error if the run is active. - */ + /** Deletes a non-active run. Returns an error if the run is active. */ void deleteRun(DeleteRun deleteRun); - /** - * Export and retrieve a job run. - * - *

Export and retrieve the job run task. - */ + /** Export and retrieve the job run task. */ ExportRunOutput exportRun(ExportRunRequest exportRunRequest); /** - * Get a single job. - * - *

Retrieves the details for a single job. + * Retrieves the details for a single job. * *

Large arrays in the results will be paginated when they exceed 100 elements. A request for a * single job will return all properties for that job, and the first 100 elements of array @@ -87,25 +65,15 @@ public interface JobsService { */ Job get(GetJobRequest getJobRequest); - /** - * Get job permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ GetJobPermissionLevelsResponse getPermissionLevels( GetJobPermissionLevelsRequest getJobPermissionLevelsRequest); - /** - * Get job permissions. - * - *

Gets the permissions of a job. Jobs can inherit permissions from their root object. - */ + /** Gets the permissions of a job. Jobs can inherit permissions from their root object. */ JobPermissions getPermissions(GetJobPermissionsRequest getJobPermissionsRequest); /** - * Get a single job run. - * - *

Retrieves the metadata of a run. + * Retrieves the metadata of a run. * *

Large arrays in the results will be paginated when they exceed 100 elements. A request for a * single run will return all properties for that run, and the first 100 elements of array @@ -118,9 +86,7 @@ GetJobPermissionLevelsResponse getPermissionLevels( Run getRun(GetRunRequest getRunRequest); /** - * Get the output for a single run. - * - *

Retrieve the output and metadata of a single task run. When a notebook task returns a value + * Retrieve the output and metadata of a single task run. When a notebook task returns a value * through the `dbutils.notebook.exit()` call, you can use this endpoint to retrieve that value. * Databricks restricts this API to returning the first 5 MB of the output. To return a larger * result, you can store job results in a cloud storage service. @@ -132,73 +98,46 @@ GetJobPermissionLevelsResponse getPermissionLevels( */ RunOutput getRunOutput(GetRunOutputRequest getRunOutputRequest); - /** - * List jobs. - * - *

Retrieves a list of jobs. - */ + /** Retrieves a list of jobs. */ ListJobsResponse list(ListJobsRequest listJobsRequest); - /** - * List job runs. - * - *

List runs in descending order by start time. - */ + /** List runs in descending order by start time. */ ListRunsResponse listRuns(ListRunsRequest listRunsRequest); /** - * Repair a job run. - * - *

Re-run one or more tasks. Tasks are re-run as part of the original job run. They use the + * Re-run one or more tasks. Tasks are re-run as part of the original job run. They use the * current job and task settings, and can be viewed in the history for the original job run. */ RepairRunResponse repairRun(RepairRun repairRun); /** - * Update all job settings (reset). - * - *

Overwrite all settings for the given job. Use the [_Update_ endpoint](:method:jobs/update) - * to update job settings partially. + * Overwrite all settings for the given job. Use the [_Update_ endpoint](:method:jobs/update) to + * update job settings partially. */ void reset(ResetJob resetJob); - /** - * Trigger a new job run. - * - *

Run a job and return the `run_id` of the triggered run. - */ + /** Run a job and return the `run_id` of the triggered run. */ RunNowResponse runNow(RunNow runNow); /** - * Set job permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ JobPermissions setPermissions(JobPermissionsRequest jobPermissionsRequest); /** - * Create and trigger a one-time run. - * - *

Submit a one-time run. This endpoint allows you to submit a workload directly without - * creating a job. Runs submitted using this endpoint don’t display in the UI. Use the - * `jobs/runs/get` API to check the run state after the job is submitted. + * Submit a one-time run. This endpoint allows you to submit a workload directly without creating + * a job. Runs submitted using this endpoint don’t display in the UI. Use the `jobs/runs/get` API + * to check the run state after the job is submitted. */ SubmitRunResponse submit(SubmitRun submitRun); /** - * Update job settings partially. - * - *

Add, update, or remove specific settings of an existing job. Use the [_Reset_ + * Add, update, or remove specific settings of an existing job. Use the [_Reset_ * endpoint](:method:jobs/reset) to overwrite all job settings. */ void update(UpdateJob updateJob); - /** - * Update job permissions. - * - *

Updates the permissions on a job. Jobs can inherit permissions from their root object. - */ + /** Updates the permissions on a job. Jobs can inherit permissions from their root object. */ JobPermissions updatePermissions(JobPermissionsRequest jobPermissionsRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListJobComplianceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListJobComplianceRequest.java index 0aa6b6b42..e5c26a2a7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListJobComplianceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListJobComplianceRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List job policy compliance */ @Generated public class ListJobComplianceRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListJobsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListJobsRequest.java index cae63d9e8..4a6878454 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListJobsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListJobsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List jobs */ @Generated public class ListJobsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListRunsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListRunsRequest.java index 2f28cf7ef..46cae9c13 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListRunsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListRunsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List job runs */ @Generated public class ListRunsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PolicyComplianceForJobsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PolicyComplianceForJobsAPI.java index 11f8eebd3..7200782c1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PolicyComplianceForJobsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PolicyComplianceForJobsAPI.java @@ -41,9 +41,7 @@ public EnforcePolicyComplianceResponse enforceCompliance(long jobId) { } /** - * Enforce job policy compliance. - * - *

Updates a job so the job clusters that are created when running the job (specified in + * Updates a job so the job clusters that are created when running the job (specified in * `new_cluster`) are compliant with the current versions of their respective cluster policies. * All-purpose clusters used in the job will not be updated. */ @@ -56,9 +54,7 @@ public GetPolicyComplianceResponse getCompliance(long jobId) { } /** - * Get job policy compliance. - * - *

Returns the policy compliance status of a job. Jobs could be out of compliance if a cluster + * Returns the policy compliance status of a job. Jobs could be out of compliance if a cluster * policy they use was updated after the job was last edited and some of its job clusters no * longer comply with their updated policies. */ @@ -71,11 +67,9 @@ public Iterable listCompliance(String policyId) { } /** - * List job policy compliance. - * - *

Returns the policy compliance status of all jobs that use a given policy. Jobs could be out - * of compliance if a cluster policy they use was updated after the job was last edited and its - * job clusters no longer comply with the updated policy. + * Returns the policy compliance status of all jobs that use a given policy. Jobs could be out of + * compliance if a cluster policy they use was updated after the job was last edited and its job + * clusters no longer comply with the updated policy. */ public Iterable listCompliance(ListJobComplianceRequest request) { return new Paginator<>( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PolicyComplianceForJobsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PolicyComplianceForJobsService.java index c33fc240a..af4ada317 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PolicyComplianceForJobsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PolicyComplianceForJobsService.java @@ -23,9 +23,7 @@ @Generated public interface PolicyComplianceForJobsService { /** - * Enforce job policy compliance. - * - *

Updates a job so the job clusters that are created when running the job (specified in + * Updates a job so the job clusters that are created when running the job (specified in * `new_cluster`) are compliant with the current versions of their respective cluster policies. * All-purpose clusters used in the job will not be updated. */ @@ -33,20 +31,16 @@ EnforcePolicyComplianceResponse enforceCompliance( EnforcePolicyComplianceRequest enforcePolicyComplianceRequest); /** - * Get job policy compliance. - * - *

Returns the policy compliance status of a job. Jobs could be out of compliance if a cluster + * Returns the policy compliance status of a job. Jobs could be out of compliance if a cluster * policy they use was updated after the job was last edited and some of its job clusters no * longer comply with their updated policies. */ GetPolicyComplianceResponse getCompliance(GetPolicyComplianceRequest getPolicyComplianceRequest); /** - * List job policy compliance. - * - *

Returns the policy compliance status of all jobs that use a given policy. Jobs could be out - * of compliance if a cluster policy they use was updated after the job was last edited and its - * job clusters no longer comply with the updated policy. + * Returns the policy compliance status of all jobs that use a given policy. Jobs could be out of + * compliance if a cluster policy they use was updated after the job was last edited and its job + * clusters no longer comply with the updated policy. */ ListJobComplianceForPolicyResponse listCompliance( ListJobComplianceRequest listJobComplianceRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Run.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Run.java index 2e090dcd9..1e113851a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Run.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Run.java @@ -233,9 +233,10 @@ public class Run { * demand through the UI or the API. * `RETRY`: Indicates a run that is triggered as a retry of a * previously failed run. This occurs when you request to re-run the job in case of failures. * * `RUN_JOB_TASK`: Indicates a run that is triggered using a Run Job task. * `FILE_ARRIVAL`: - * Indicates a run that is triggered by a file arrival. * `TABLE`: Indicates a run that is - * triggered by a table update. * `CONTINUOUS_RESTART`: Indicates a run created by user to - * manually restart a continuous job run. + * Indicates a run that is triggered by a file arrival. * `CONTINUOUS`: Indicates a run that is + * triggered by a continuous job. * `TABLE`: Indicates a run that is triggered by a table update. + * * `CONTINUOUS_RESTART`: Indicates a run created by user to manually restart a continuous job + * run. * `MODEL`: Indicates a run that is triggered by a model update. */ @JsonProperty("trigger") private TriggerType trigger; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunOutput.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunOutput.java index 2f8c6294b..c88c3114b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunOutput.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunOutput.java @@ -18,7 +18,7 @@ public class RunOutput { @JsonProperty("dashboard_output") private DashboardTaskOutput dashboardOutput; - /** */ + /** Deprecated in favor of the new dbt_platform_output */ @JsonProperty("dbt_cloud_output") private DbtCloudTaskOutput dbtCloudOutput; @@ -26,6 +26,10 @@ public class RunOutput { @JsonProperty("dbt_output") private DbtOutput dbtOutput; + /** */ + @JsonProperty("dbt_platform_output") + private DbtPlatformTaskOutput dbtPlatformOutput; + /** * An error message indicating why a task failed or why output is not available. The message is * unstructured, and its exact format is subject to change. @@ -118,6 +122,15 @@ public DbtOutput getDbtOutput() { return dbtOutput; } + public RunOutput setDbtPlatformOutput(DbtPlatformTaskOutput dbtPlatformOutput) { + this.dbtPlatformOutput = dbtPlatformOutput; + return this; + } + + public DbtPlatformTaskOutput getDbtPlatformOutput() { + return dbtPlatformOutput; + } + public RunOutput setError(String error) { this.error = error; return this; @@ -208,6 +221,7 @@ public boolean equals(Object o) { && Objects.equals(dashboardOutput, that.dashboardOutput) && Objects.equals(dbtCloudOutput, that.dbtCloudOutput) && Objects.equals(dbtOutput, that.dbtOutput) + && Objects.equals(dbtPlatformOutput, that.dbtPlatformOutput) && Objects.equals(error, that.error) && Objects.equals(errorTrace, that.errorTrace) && Objects.equals(info, that.info) @@ -226,6 +240,7 @@ public int hashCode() { dashboardOutput, dbtCloudOutput, dbtOutput, + dbtPlatformOutput, error, errorTrace, info, @@ -244,6 +259,7 @@ public String toString() { .add("dashboardOutput", dashboardOutput) .add("dbtCloudOutput", dbtCloudOutput) .add("dbtOutput", dbtOutput) + .add("dbtPlatformOutput", dbtPlatformOutput) .add("error", error) .add("errorTrace", errorTrace) .add("info", info) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunTask.java index 40661ad7f..56ffe907b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunTask.java @@ -57,10 +57,14 @@ public class RunTask { @JsonProperty("dashboard_task") private DashboardTask dashboardTask; - /** Task type for dbt cloud */ + /** Task type for dbt cloud, deprecated in favor of the new name dbt_platform_task */ @JsonProperty("dbt_cloud_task") private DbtCloudTask dbtCloudTask; + /** */ + @JsonProperty("dbt_platform_task") + private DbtPlatformTask dbtPlatformTask; + /** * The task runs one or more dbt commands when the `dbt_task` field is present. The dbt task * requires both Databricks SQL and the ability to use a serverless or a pro SQL warehouse. @@ -379,6 +383,15 @@ public DbtCloudTask getDbtCloudTask() { return dbtCloudTask; } + public RunTask setDbtPlatformTask(DbtPlatformTask dbtPlatformTask) { + this.dbtPlatformTask = dbtPlatformTask; + return this; + } + + public DbtPlatformTask getDbtPlatformTask() { + return dbtPlatformTask; + } + public RunTask setDbtTask(DbtTask dbtTask) { this.dbtTask = dbtTask; return this; @@ -742,6 +755,7 @@ public boolean equals(Object o) { && Objects.equals(conditionTask, that.conditionTask) && Objects.equals(dashboardTask, that.dashboardTask) && Objects.equals(dbtCloudTask, that.dbtCloudTask) + && Objects.equals(dbtPlatformTask, that.dbtPlatformTask) && Objects.equals(dbtTask, that.dbtTask) && Objects.equals(dependsOn, that.dependsOn) && Objects.equals(description, that.description) @@ -793,6 +807,7 @@ public int hashCode() { conditionTask, dashboardTask, dbtCloudTask, + dbtPlatformTask, dbtTask, dependsOn, description, @@ -844,6 +859,7 @@ public String toString() { .add("conditionTask", conditionTask) .add("dashboardTask", dashboardTask) .add("dbtCloudTask", dbtCloudTask) + .add("dbtPlatformTask", dbtPlatformTask) .add("dbtTask", dbtTask) .add("dependsOn", dependsOn) .add("description", description) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SubmitTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SubmitTask.java index a87ac5818..e17c2d833 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SubmitTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SubmitTask.java @@ -30,10 +30,14 @@ public class SubmitTask { @JsonProperty("dashboard_task") private DashboardTask dashboardTask; - /** Task type for dbt cloud */ + /** Task type for dbt cloud, deprecated in favor of the new name dbt_platform_task */ @JsonProperty("dbt_cloud_task") private DbtCloudTask dbtCloudTask; + /** */ + @JsonProperty("dbt_platform_task") + private DbtPlatformTask dbtPlatformTask; + /** * The task runs one or more dbt commands when the `dbt_task` field is present. The dbt task * requires both Databricks SQL and the ability to use a serverless or a pro SQL warehouse. @@ -232,6 +236,15 @@ public DbtCloudTask getDbtCloudTask() { return dbtCloudTask; } + public SubmitTask setDbtPlatformTask(DbtPlatformTask dbtPlatformTask) { + this.dbtPlatformTask = dbtPlatformTask; + return this; + } + + public DbtPlatformTask getDbtPlatformTask() { + return dbtPlatformTask; + } + public SubmitTask setDbtTask(DbtTask dbtTask) { this.dbtTask = dbtTask; return this; @@ -466,6 +479,7 @@ public boolean equals(Object o) { && Objects.equals(conditionTask, that.conditionTask) && Objects.equals(dashboardTask, that.dashboardTask) && Objects.equals(dbtCloudTask, that.dbtCloudTask) + && Objects.equals(dbtPlatformTask, that.dbtPlatformTask) && Objects.equals(dbtTask, that.dbtTask) && Objects.equals(dependsOn, that.dependsOn) && Objects.equals(description, that.description) @@ -500,6 +514,7 @@ public int hashCode() { conditionTask, dashboardTask, dbtCloudTask, + dbtPlatformTask, dbtTask, dependsOn, description, @@ -534,6 +549,7 @@ public String toString() { .add("conditionTask", conditionTask) .add("dashboardTask", dashboardTask) .add("dbtCloudTask", dbtCloudTask) + .add("dbtPlatformTask", dbtPlatformTask) .add("dbtTask", dbtTask) .add("dependsOn", dependsOn) .add("description", description) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Task.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Task.java index de5569841..9de9e54e8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Task.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Task.java @@ -30,10 +30,14 @@ public class Task { @JsonProperty("dashboard_task") private DashboardTask dashboardTask; - /** Task type for dbt cloud */ + /** Task type for dbt cloud, deprecated in favor of the new name dbt_platform_task */ @JsonProperty("dbt_cloud_task") private DbtCloudTask dbtCloudTask; + /** */ + @JsonProperty("dbt_platform_task") + private DbtPlatformTask dbtPlatformTask; + /** * The task runs one or more dbt commands when the `dbt_task` field is present. The dbt task * requires both Databricks SQL and the ability to use a serverless or a pro SQL warehouse. @@ -271,6 +275,15 @@ public DbtCloudTask getDbtCloudTask() { return dbtCloudTask; } + public Task setDbtPlatformTask(DbtPlatformTask dbtPlatformTask) { + this.dbtPlatformTask = dbtPlatformTask; + return this; + } + + public DbtPlatformTask getDbtPlatformTask() { + return dbtPlatformTask; + } + public Task setDbtTask(DbtTask dbtTask) { this.dbtTask = dbtTask; return this; @@ -550,6 +563,7 @@ public boolean equals(Object o) { && Objects.equals(conditionTask, that.conditionTask) && Objects.equals(dashboardTask, that.dashboardTask) && Objects.equals(dbtCloudTask, that.dbtCloudTask) + && Objects.equals(dbtPlatformTask, that.dbtPlatformTask) && Objects.equals(dbtTask, that.dbtTask) && Objects.equals(dependsOn, that.dependsOn) && Objects.equals(description, that.description) @@ -589,6 +603,7 @@ public int hashCode() { conditionTask, dashboardTask, dbtCloudTask, + dbtPlatformTask, dbtTask, dependsOn, description, @@ -628,6 +643,7 @@ public String toString() { .add("conditionTask", conditionTask) .add("dashboardTask", dashboardTask) .add("dbtCloudTask", dbtCloudTask) + .add("dbtPlatformTask", dbtPlatformTask) .add("dbtTask", dbtTask) .add("dependsOn", dependsOn) .add("description", description) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TriggerType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TriggerType.java index 898287736..b5c70add9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TriggerType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TriggerType.java @@ -12,12 +12,15 @@ * demand through the UI or the API. * `RETRY`: Indicates a run that is triggered as a retry of a * previously failed run. This occurs when you request to re-run the job in case of failures. * * `RUN_JOB_TASK`: Indicates a run that is triggered using a Run Job task. * `FILE_ARRIVAL`: - * Indicates a run that is triggered by a file arrival. * `TABLE`: Indicates a run that is triggered - * by a table update. * `CONTINUOUS_RESTART`: Indicates a run created by user to manually restart a - * continuous job run. + * Indicates a run that is triggered by a file arrival. * `CONTINUOUS`: Indicates a run that is + * triggered by a continuous job. * `TABLE`: Indicates a run that is triggered by a table update. * + * `CONTINUOUS_RESTART`: Indicates a run created by user to manually restart a continuous job run. * + * `MODEL`: Indicates a run that is triggered by a model update. */ @Generated public enum TriggerType { + CONTINUOUS, // Indicates a run that is triggered by a continuous job. + CONTINUOUS_RESTART, // Indicates a run created by user to manually restart a continuous job run. FILE_ARRIVAL, // Indicates a run that is triggered by a file arrival. ONE_TIME, // One time triggers that fire a single run. This occurs you triggered a single // run on demand through the UI or the API. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/BatchGetListingsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/BatchGetListingsRequest.java index 6846db013..fa9b4b8a3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/BatchGetListingsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/BatchGetListingsRequest.java @@ -9,7 +9,6 @@ import java.util.Collection; import java.util.Objects; -/** Get one batch of listings. One may specify up to 50 IDs per request. */ @Generated public class BatchGetListingsRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/BatchGetProvidersRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/BatchGetProvidersRequest.java index 41788168d..a228f20d4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/BatchGetProvidersRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/BatchGetProvidersRequest.java @@ -9,7 +9,6 @@ import java.util.Collection; import java.util.Objects; -/** Get one batch of providers. One may specify up to 50 IDs per request. */ @Generated public class BatchGetProvidersRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerFulfillmentsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerFulfillmentsAPI.java index 3d043206e..73bc4b380 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerFulfillmentsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerFulfillmentsAPI.java @@ -28,11 +28,7 @@ public Iterable get(String listingId) { return get(new GetListingContentMetadataRequest().setListingId(listingId)); } - /** - * Get listing content metadata. - * - *

Get a high level preview of the metadata of listing installable content. - */ + /** Get a high level preview of the metadata of listing installable content. */ public Iterable get(GetListingContentMetadataRequest request) { return new Paginator<>( request, @@ -52,9 +48,7 @@ public Iterable list(String listingId) { } /** - * List all listing fulfillments. - * - *

Get all listings fulfillments associated with a listing. A _fulfillment_ is a potential + * Get all listings fulfillments associated with a listing. A _fulfillment_ is a potential * installation. Standard installations contain metadata about the attached share or git repo. * Only one of these fields will be present. Personalized installations contain metadata about the * attached share or git repo, as well as the Delta Sharing recipient type. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerFulfillmentsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerFulfillmentsService.java index 0a7737bd6..c346d8201 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerFulfillmentsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerFulfillmentsService.java @@ -12,18 +12,12 @@ */ @Generated public interface ConsumerFulfillmentsService { - /** - * Get listing content metadata. - * - *

Get a high level preview of the metadata of listing installable content. - */ + /** Get a high level preview of the metadata of listing installable content. */ GetListingContentMetadataResponse get( GetListingContentMetadataRequest getListingContentMetadataRequest); /** - * List all listing fulfillments. - * - *

Get all listings fulfillments associated with a listing. A _fulfillment_ is a potential + * Get all listings fulfillments associated with a listing. A _fulfillment_ is a potential * installation. Standard installations contain metadata about the attached share or git repo. * Only one of these fields will be present. Personalized installations contain metadata about the * attached share or git repo, as well as the Delta Sharing recipient type. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerInstallationsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerInstallationsAPI.java index bb5d91094..66266c91c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerInstallationsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerInstallationsAPI.java @@ -30,11 +30,7 @@ public Installation create(String listingId) { return create(new CreateInstallationRequest().setListingId(listingId)); } - /** - * Install from a listing. - * - *

Install payload associated with a Databricks Marketplace listing. - */ + /** Install payload associated with a Databricks Marketplace listing. */ public Installation create(CreateInstallationRequest request) { return impl.create(request); } @@ -44,20 +40,12 @@ public void delete(String listingId, String installationId) { new DeleteInstallationRequest().setListingId(listingId).setInstallationId(installationId)); } - /** - * Uninstall from a listing. - * - *

Uninstall an installation associated with a Databricks Marketplace listing. - */ + /** Uninstall an installation associated with a Databricks Marketplace listing. */ public void delete(DeleteInstallationRequest request) { impl.delete(request); } - /** - * List all installations. - * - *

List all installations across all listings. - */ + /** List all installations across all listings. */ public Iterable list(ListAllInstallationsRequest request) { return new Paginator<>( request, @@ -76,11 +64,7 @@ public Iterable listListingInstallations(String listingId) { return listListingInstallations(new ListInstallationsRequest().setListingId(listingId)); } - /** - * List installations for a listing. - * - *

List all installations for a particular listing. - */ + /** List all installations for a particular listing. */ public Iterable listListingInstallations(ListInstallationsRequest request) { return new Paginator<>( request, @@ -105,10 +89,8 @@ public UpdateInstallationResponse update( } /** - * Update an installation. - * - *

This is a update API that will update the part of the fields defined in the installation - * table as well as interact with external services according to the fields not included in the + * This is a update API that will update the part of the fields defined in the installation table + * as well as interact with external services according to the fields not included in the * installation table 1. the token will be rotate if the rotateToken flag is true 2. the token * will be forcibly rotate if the rotateToken flag is true and the tokenInfo field is empty */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerInstallationsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerInstallationsService.java index 0b94c9a25..247cddbbd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerInstallationsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerInstallationsService.java @@ -12,40 +12,22 @@ */ @Generated public interface ConsumerInstallationsService { - /** - * Install from a listing. - * - *

Install payload associated with a Databricks Marketplace listing. - */ + /** Install payload associated with a Databricks Marketplace listing. */ Installation create(CreateInstallationRequest createInstallationRequest); - /** - * Uninstall from a listing. - * - *

Uninstall an installation associated with a Databricks Marketplace listing. - */ + /** Uninstall an installation associated with a Databricks Marketplace listing. */ void delete(DeleteInstallationRequest deleteInstallationRequest); - /** - * List all installations. - * - *

List all installations across all listings. - */ + /** List all installations across all listings. */ ListAllInstallationsResponse list(ListAllInstallationsRequest listAllInstallationsRequest); - /** - * List installations for a listing. - * - *

List all installations for a particular listing. - */ + /** List all installations for a particular listing. */ ListInstallationsResponse listListingInstallations( ListInstallationsRequest listInstallationsRequest); /** - * Update an installation. - * - *

This is a update API that will update the part of the fields defined in the installation - * table as well as interact with external services according to the fields not included in the + * This is a update API that will update the part of the fields defined in the installation table + * as well as interact with external services according to the fields not included in the * installation table 1. the token will be rotate if the rotateToken flag is true 2. the token * will be forcibly rotate if the rotateToken flag is true and the tokenInfo field is empty */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerListingsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerListingsAPI.java index d58cbdd8d..5f947cfd8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerListingsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerListingsAPI.java @@ -28,9 +28,7 @@ public ConsumerListingsAPI(ConsumerListingsService mock) { } /** - * Get one batch of listings. One may specify up to 50 IDs per request. - * - *

Batch get a published listing in the Databricks Marketplace that the consumer has access to. + * Batch get a published listing in the Databricks Marketplace that the consumer has access to. */ public BatchGetListingsResponse batchGet(BatchGetListingsRequest request) { return impl.batchGet(request); @@ -40,20 +38,12 @@ public GetListingResponse get(String id) { return get(new GetListingRequest().setId(id)); } - /** - * Get listing. - * - *

Get a published listing in the Databricks Marketplace that the consumer has access to. - */ + /** Get a published listing in the Databricks Marketplace that the consumer has access to. */ public GetListingResponse get(GetListingRequest request) { return impl.get(request); } - /** - * List listings. - * - *

List all published listings in the Databricks Marketplace that the consumer has access to. - */ + /** List all published listings in the Databricks Marketplace that the consumer has access to. */ public Iterable

list(ListListingsRequest request) { return new Paginator<>( request, @@ -73,10 +63,8 @@ public Iterable search(String query) { } /** - * Search listings. - * - *

Search published listings in the Databricks Marketplace that the consumer has access to. - * This query supports a variety of different search parameters and performs fuzzy matching. + * Search published listings in the Databricks Marketplace that the consumer has access to. This + * query supports a variety of different search parameters and performs fuzzy matching. */ public Iterable

search(SearchListingsRequest request) { return new Paginator<>( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerListingsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerListingsService.java index 91849c5ad..aeab46fb0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerListingsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerListingsService.java @@ -14,31 +14,19 @@ @Generated public interface ConsumerListingsService { /** - * Get one batch of listings. One may specify up to 50 IDs per request. - * - *

Batch get a published listing in the Databricks Marketplace that the consumer has access to. + * Batch get a published listing in the Databricks Marketplace that the consumer has access to. */ BatchGetListingsResponse batchGet(BatchGetListingsRequest batchGetListingsRequest); - /** - * Get listing. - * - *

Get a published listing in the Databricks Marketplace that the consumer has access to. - */ + /** Get a published listing in the Databricks Marketplace that the consumer has access to. */ GetListingResponse get(GetListingRequest getListingRequest); - /** - * List listings. - * - *

List all published listings in the Databricks Marketplace that the consumer has access to. - */ + /** List all published listings in the Databricks Marketplace that the consumer has access to. */ ListListingsResponse list(ListListingsRequest listListingsRequest); /** - * Search listings. - * - *

Search published listings in the Databricks Marketplace that the consumer has access to. - * This query supports a variety of different search parameters and performs fuzzy matching. + * Search published listings in the Databricks Marketplace that the consumer has access to. This + * query supports a variety of different search parameters and performs fuzzy matching. */ SearchListingsResponse search(SearchListingsRequest searchListingsRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerPersonalizationRequestsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerPersonalizationRequestsAPI.java index f89fa83fe..f1ead3668 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerPersonalizationRequestsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerPersonalizationRequestsAPI.java @@ -37,11 +37,7 @@ public CreatePersonalizationRequestResponse create( .setAcceptedConsumerTerms(acceptedConsumerTerms)); } - /** - * Create a personalization request. - * - *

Create a personalization request for a listing. - */ + /** Create a personalization request for a listing. */ public CreatePersonalizationRequestResponse create(CreatePersonalizationRequest request) { return impl.create(request); } @@ -51,20 +47,14 @@ public GetPersonalizationRequestResponse get(String listingId) { } /** - * Get the personalization request for a listing. - * - *

Get the personalization request for a listing. Each consumer can make at *most* one + * Get the personalization request for a listing. Each consumer can make at *most* one * personalization request for a listing. */ public GetPersonalizationRequestResponse get(GetPersonalizationRequestRequest request) { return impl.get(request); } - /** - * List all personalization requests. - * - *

List personalization requests for a consumer across all listings. - */ + /** List personalization requests for a consumer across all listings. */ public Iterable list(ListAllPersonalizationRequestsRequest request) { return new Paginator<>( request, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerPersonalizationRequestsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerPersonalizationRequestsService.java index 076d75c1c..42d1fc7d1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerPersonalizationRequestsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerPersonalizationRequestsService.java @@ -13,28 +13,18 @@ */ @Generated public interface ConsumerPersonalizationRequestsService { - /** - * Create a personalization request. - * - *

Create a personalization request for a listing. - */ + /** Create a personalization request for a listing. */ CreatePersonalizationRequestResponse create( CreatePersonalizationRequest createPersonalizationRequest); /** - * Get the personalization request for a listing. - * - *

Get the personalization request for a listing. Each consumer can make at *most* one + * Get the personalization request for a listing. Each consumer can make at *most* one * personalization request for a listing. */ GetPersonalizationRequestResponse get( GetPersonalizationRequestRequest getPersonalizationRequestRequest); - /** - * List all personalization requests. - * - *

List personalization requests for a consumer across all listings. - */ + /** List personalization requests for a consumer across all listings. */ ListAllPersonalizationRequestsResponse list( ListAllPersonalizationRequestsRequest listAllPersonalizationRequestsRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerProvidersAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerProvidersAPI.java index 1771bfc30..9a6a622d5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerProvidersAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerProvidersAPI.java @@ -24,11 +24,7 @@ public ConsumerProvidersAPI(ConsumerProvidersService mock) { impl = mock; } - /** - * Get one batch of providers. One may specify up to 50 IDs per request. - * - *

Batch get a provider in the Databricks Marketplace with at least one visible listing. - */ + /** Batch get a provider in the Databricks Marketplace with at least one visible listing. */ public BatchGetProvidersResponse batchGet(BatchGetProvidersRequest request) { return impl.batchGet(request); } @@ -37,20 +33,12 @@ public GetProviderResponse get(String id) { return get(new GetProviderRequest().setId(id)); } - /** - * Get a provider. - * - *

Get a provider in the Databricks Marketplace with at least one visible listing. - */ + /** Get a provider in the Databricks Marketplace with at least one visible listing. */ public GetProviderResponse get(GetProviderRequest request) { return impl.get(request); } - /** - * List providers. - * - *

List all providers in the Databricks Marketplace with at least one visible listing. - */ + /** List all providers in the Databricks Marketplace with at least one visible listing. */ public Iterable list(ListProvidersRequest request) { return new Paginator<>( request, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerProvidersService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerProvidersService.java index 08d3b963e..9cb127aa9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerProvidersService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerProvidersService.java @@ -12,24 +12,12 @@ */ @Generated public interface ConsumerProvidersService { - /** - * Get one batch of providers. One may specify up to 50 IDs per request. - * - *

Batch get a provider in the Databricks Marketplace with at least one visible listing. - */ + /** Batch get a provider in the Databricks Marketplace with at least one visible listing. */ BatchGetProvidersResponse batchGet(BatchGetProvidersRequest batchGetProvidersRequest); - /** - * Get a provider. - * - *

Get a provider in the Databricks Marketplace with at least one visible listing. - */ + /** Get a provider in the Databricks Marketplace with at least one visible listing. */ GetProviderResponse get(GetProviderRequest getProviderRequest); - /** - * List providers. - * - *

List all providers in the Databricks Marketplace with at least one visible listing. - */ + /** List all providers in the Databricks Marketplace with at least one visible listing. */ ListProvidersResponse list(ListProvidersRequest listProvidersRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteExchangeFilterRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteExchangeFilterRequest.java index 83cdfa4fa..c4afb4f46 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteExchangeFilterRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteExchangeFilterRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete an exchange filter */ @Generated public class DeleteExchangeFilterRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteExchangeRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteExchangeRequest.java index 8dbf652bf..923a6e5f7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteExchangeRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteExchangeRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete an exchange */ @Generated public class DeleteExchangeRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteFileRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteFileRequest.java index fb7cefd4a..c6f22c9c3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteFileRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteFileRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a file */ @Generated public class DeleteFileRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteInstallationRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteInstallationRequest.java index ab1f87045..c94b3e25a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteInstallationRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteInstallationRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Uninstall from a listing */ @Generated public class DeleteInstallationRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteListingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteListingRequest.java index 2fb9506c5..03f79bf66 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteListingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteListingRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a listing */ @Generated public class DeleteListingRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteProviderRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteProviderRequest.java index 337f31b2f..fcc74a991 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteProviderRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/DeleteProviderRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete provider */ @Generated public class DeleteProviderRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetExchangeRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetExchangeRequest.java index e6e3903ae..f09071c90 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetExchangeRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetExchangeRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get an exchange */ @Generated public class GetExchangeRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetFileRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetFileRequest.java index d0da2329f..1f9f6c016 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetFileRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetFileRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a file */ @Generated public class GetFileRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetListingContentMetadataRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetListingContentMetadataRequest.java index 3201c3ea6..e02b65cc5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetListingContentMetadataRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetListingContentMetadataRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get listing content metadata */ @Generated public class GetListingContentMetadataRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetListingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetListingRequest.java index e89f17ce2..7febcd609 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetListingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetListingRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get listing */ @Generated public class GetListingRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetListingsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetListingsRequest.java index dfc06799c..7045ceaa9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetListingsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetListingsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List listings */ @Generated public class GetListingsRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetPersonalizationRequestRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetPersonalizationRequestRequest.java index d6b1073c0..7133380fe 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetPersonalizationRequestRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetPersonalizationRequestRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the personalization request for a listing */ @Generated public class GetPersonalizationRequestRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetProviderRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetProviderRequest.java index 459501392..f0f17c276 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetProviderRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/GetProviderRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a provider */ @Generated public class GetProviderRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListAllInstallationsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListAllInstallationsRequest.java index c8bd0b125..ff7cbcab0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListAllInstallationsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListAllInstallationsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List all installations */ @Generated public class ListAllInstallationsRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListAllPersonalizationRequestsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListAllPersonalizationRequestsRequest.java index 04aba4605..3e5fa0f9f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListAllPersonalizationRequestsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListAllPersonalizationRequestsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List all personalization requests */ @Generated public class ListAllPersonalizationRequestsRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListExchangeFiltersRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListExchangeFiltersRequest.java index dfb0dffa6..69c9200e0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListExchangeFiltersRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListExchangeFiltersRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List exchange filters */ @Generated public class ListExchangeFiltersRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListExchangesForListingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListExchangesForListingRequest.java index 40db7def5..6b50473a2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListExchangesForListingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListExchangesForListingRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List exchanges for listing */ @Generated public class ListExchangesForListingRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListExchangesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListExchangesRequest.java index deeec6a78..1e851f37a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListExchangesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListExchangesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List exchanges */ @Generated public class ListExchangesRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListFilesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListFilesRequest.java index a84fa947a..509b6edee 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListFilesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListFilesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List files */ @Generated public class ListFilesRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListFulfillmentsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListFulfillmentsRequest.java index 15c22e34b..b6d5b3cf4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListFulfillmentsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListFulfillmentsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List all listing fulfillments */ @Generated public class ListFulfillmentsRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListInstallationsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListInstallationsRequest.java index 80d96fa64..442ef6f26 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListInstallationsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListInstallationsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List installations for a listing */ @Generated public class ListInstallationsRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListListingsForExchangeRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListListingsForExchangeRequest.java index eb49ab129..ca8e2d372 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListListingsForExchangeRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListListingsForExchangeRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List listings for exchange */ @Generated public class ListListingsForExchangeRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListListingsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListListingsRequest.java index 7d4ca0de8..2cc8fd092 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListListingsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListListingsRequest.java @@ -9,7 +9,6 @@ import java.util.Collection; import java.util.Objects; -/** List listings */ @Generated public class ListListingsRequest { /** Matches any of the following asset types */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListProvidersRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListProvidersRequest.java index a609ba7b1..f2a29e370 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListProvidersRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListProvidersRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List providers */ @Generated public class ListProvidersRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderExchangeFiltersAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderExchangeFiltersAPI.java index 1588908ae..cc92dfdc7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderExchangeFiltersAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderExchangeFiltersAPI.java @@ -28,11 +28,7 @@ public CreateExchangeFilterResponse create(ExchangeFilter filter) { return create(new CreateExchangeFilterRequest().setFilter(filter)); } - /** - * Create a new exchange filter. - * - *

Add an exchange filter. - */ + /** Add an exchange filter. */ public CreateExchangeFilterResponse create(CreateExchangeFilterRequest request) { return impl.create(request); } @@ -41,11 +37,7 @@ public void delete(String id) { delete(new DeleteExchangeFilterRequest().setId(id)); } - /** - * Delete an exchange filter. - * - *

Delete an exchange filter - */ + /** Delete an exchange filter */ public void delete(DeleteExchangeFilterRequest request) { impl.delete(request); } @@ -54,11 +46,7 @@ public Iterable list(String exchangeId) { return list(new ListExchangeFiltersRequest().setExchangeId(exchangeId)); } - /** - * List exchange filters. - * - *

List exchange filter - */ + /** List exchange filter */ public Iterable list(ListExchangeFiltersRequest request) { return new Paginator<>( request, @@ -77,11 +65,7 @@ public UpdateExchangeFilterResponse update(String id, ExchangeFilter filter) { return update(new UpdateExchangeFilterRequest().setId(id).setFilter(filter)); } - /** - * Update exchange filter. - * - *

Update an exchange filter. - */ + /** Update an exchange filter. */ public UpdateExchangeFilterResponse update(UpdateExchangeFilterRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderExchangeFiltersService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderExchangeFiltersService.java index 0b554e895..1d3f1d191 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderExchangeFiltersService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderExchangeFiltersService.java @@ -12,31 +12,15 @@ */ @Generated public interface ProviderExchangeFiltersService { - /** - * Create a new exchange filter. - * - *

Add an exchange filter. - */ + /** Add an exchange filter. */ CreateExchangeFilterResponse create(CreateExchangeFilterRequest createExchangeFilterRequest); - /** - * Delete an exchange filter. - * - *

Delete an exchange filter - */ + /** Delete an exchange filter */ void delete(DeleteExchangeFilterRequest deleteExchangeFilterRequest); - /** - * List exchange filters. - * - *

List exchange filter - */ + /** List exchange filter */ ListExchangeFiltersResponse list(ListExchangeFiltersRequest listExchangeFiltersRequest); - /** - * Update exchange filter. - * - *

Update an exchange filter. - */ + /** Update an exchange filter. */ UpdateExchangeFilterResponse update(UpdateExchangeFilterRequest updateExchangeFilterRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderExchangesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderExchangesAPI.java index 0abeb6121..f54ea1936 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderExchangesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderExchangesAPI.java @@ -31,11 +31,7 @@ public AddExchangeForListingResponse addListingToExchange(String listingId, Stri new AddExchangeForListingRequest().setListingId(listingId).setExchangeId(exchangeId)); } - /** - * Add an exchange for listing. - * - *

Associate an exchange with a listing - */ + /** Associate an exchange with a listing */ public AddExchangeForListingResponse addListingToExchange(AddExchangeForListingRequest request) { return impl.addListingToExchange(request); } @@ -44,11 +40,7 @@ public CreateExchangeResponse create(Exchange exchange) { return create(new CreateExchangeRequest().setExchange(exchange)); } - /** - * Create an exchange. - * - *

Create an exchange - */ + /** Create an exchange */ public CreateExchangeResponse create(CreateExchangeRequest request) { return impl.create(request); } @@ -57,11 +49,7 @@ public void delete(String id) { delete(new DeleteExchangeRequest().setId(id)); } - /** - * Delete an exchange. - * - *

This removes a listing from marketplace. - */ + /** This removes a listing from marketplace. */ public void delete(DeleteExchangeRequest request) { impl.delete(request); } @@ -70,11 +58,7 @@ public void deleteListingFromExchange(String id) { deleteListingFromExchange(new RemoveExchangeForListingRequest().setId(id)); } - /** - * Remove an exchange for listing. - * - *

Disassociate an exchange with a listing - */ + /** Disassociate an exchange with a listing */ public void deleteListingFromExchange(RemoveExchangeForListingRequest request) { impl.deleteListingFromExchange(request); } @@ -83,20 +67,12 @@ public GetExchangeResponse get(String id) { return get(new GetExchangeRequest().setId(id)); } - /** - * Get an exchange. - * - *

Get an exchange. - */ + /** Get an exchange. */ public GetExchangeResponse get(GetExchangeRequest request) { return impl.get(request); } - /** - * List exchanges. - * - *

List exchanges visible to provider - */ + /** List exchanges visible to provider */ public Iterable list(ListExchangesRequest request) { return new Paginator<>( request, @@ -115,11 +91,7 @@ public Iterable listExchangesForListing(String listingId) { return listExchangesForListing(new ListExchangesForListingRequest().setListingId(listingId)); } - /** - * List exchanges for listing. - * - *

List exchanges associated with a listing - */ + /** List exchanges associated with a listing */ public Iterable listExchangesForListing(ListExchangesForListingRequest request) { return new Paginator<>( request, @@ -138,11 +110,7 @@ public Iterable listListingsForExchange(String exchangeId) { return listListingsForExchange(new ListListingsForExchangeRequest().setExchangeId(exchangeId)); } - /** - * List listings for exchange. - * - *

List listings associated with an exchange - */ + /** List listings associated with an exchange */ public Iterable listListingsForExchange(ListListingsForExchangeRequest request) { return new Paginator<>( request, @@ -161,11 +129,7 @@ public UpdateExchangeResponse update(String id, Exchange exchange) { return update(new UpdateExchangeRequest().setId(id).setExchange(exchange)); } - /** - * Update exchange. - * - *

Update an exchange - */ + /** Update an exchange */ public UpdateExchangeResponse update(UpdateExchangeRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderExchangesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderExchangesService.java index 50b789076..15c178eea 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderExchangesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderExchangesService.java @@ -12,69 +12,33 @@ */ @Generated public interface ProviderExchangesService { - /** - * Add an exchange for listing. - * - *

Associate an exchange with a listing - */ + /** Associate an exchange with a listing */ AddExchangeForListingResponse addListingToExchange( AddExchangeForListingRequest addExchangeForListingRequest); - /** - * Create an exchange. - * - *

Create an exchange - */ + /** Create an exchange */ CreateExchangeResponse create(CreateExchangeRequest createExchangeRequest); - /** - * Delete an exchange. - * - *

This removes a listing from marketplace. - */ + /** This removes a listing from marketplace. */ void delete(DeleteExchangeRequest deleteExchangeRequest); - /** - * Remove an exchange for listing. - * - *

Disassociate an exchange with a listing - */ + /** Disassociate an exchange with a listing */ void deleteListingFromExchange(RemoveExchangeForListingRequest removeExchangeForListingRequest); - /** - * Get an exchange. - * - *

Get an exchange. - */ + /** Get an exchange. */ GetExchangeResponse get(GetExchangeRequest getExchangeRequest); - /** - * List exchanges. - * - *

List exchanges visible to provider - */ + /** List exchanges visible to provider */ ListExchangesResponse list(ListExchangesRequest listExchangesRequest); - /** - * List exchanges for listing. - * - *

List exchanges associated with a listing - */ + /** List exchanges associated with a listing */ ListExchangesForListingResponse listExchangesForListing( ListExchangesForListingRequest listExchangesForListingRequest); - /** - * List listings for exchange. - * - *

List listings associated with an exchange - */ + /** List listings associated with an exchange */ ListListingsForExchangeResponse listListingsForExchange( ListListingsForExchangeRequest listListingsForExchangeRequest); - /** - * Update exchange. - * - *

Update an exchange - */ + /** Update an exchange */ UpdateExchangeResponse update(UpdateExchangeRequest updateExchangeRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderFilesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderFilesAPI.java index e10402b7a..b4b6f8a1a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderFilesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderFilesAPI.java @@ -36,11 +36,7 @@ public CreateFileResponse create( .setMimeType(mimeType)); } - /** - * Create a file. - * - *

Create a file. Currently, only provider icons and attached notebooks are supported. - */ + /** Create a file. Currently, only provider icons and attached notebooks are supported. */ public CreateFileResponse create(CreateFileRequest request) { return impl.create(request); } @@ -49,11 +45,7 @@ public void delete(String fileId) { delete(new DeleteFileRequest().setFileId(fileId)); } - /** - * Delete a file. - * - *

Delete a file - */ + /** Delete a file */ public void delete(DeleteFileRequest request) { impl.delete(request); } @@ -62,11 +54,7 @@ public GetFileResponse get(String fileId) { return get(new GetFileRequest().setFileId(fileId)); } - /** - * Get a file. - * - *

Get a file - */ + /** Get a file */ public GetFileResponse get(GetFileRequest request) { return impl.get(request); } @@ -75,11 +63,7 @@ public Iterable list(FileParent fileParent) { return list(new ListFilesRequest().setFileParent(fileParent)); } - /** - * List files. - * - *

List files attached to a parent entity. - */ + /** List files attached to a parent entity. */ public Iterable list(ListFilesRequest request) { return new Paginator<>( request, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderFilesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderFilesService.java index 79d307ec2..a8aa9b0de 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderFilesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderFilesService.java @@ -13,31 +13,15 @@ */ @Generated public interface ProviderFilesService { - /** - * Create a file. - * - *

Create a file. Currently, only provider icons and attached notebooks are supported. - */ + /** Create a file. Currently, only provider icons and attached notebooks are supported. */ CreateFileResponse create(CreateFileRequest createFileRequest); - /** - * Delete a file. - * - *

Delete a file - */ + /** Delete a file */ void delete(DeleteFileRequest deleteFileRequest); - /** - * Get a file. - * - *

Get a file - */ + /** Get a file */ GetFileResponse get(GetFileRequest getFileRequest); - /** - * List files. - * - *

List files attached to a parent entity. - */ + /** List files attached to a parent entity. */ ListFilesResponse list(ListFilesRequest listFilesRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderListingsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderListingsAPI.java index a1635bdd9..281b0c5fe 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderListingsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderListingsAPI.java @@ -31,11 +31,7 @@ public CreateListingResponse create(Listing listing) { return create(new CreateListingRequest().setListing(listing)); } - /** - * Create a listing. - * - *

Create a new listing - */ + /** Create a new listing */ public CreateListingResponse create(CreateListingRequest request) { return impl.create(request); } @@ -44,11 +40,7 @@ public void delete(String id) { delete(new DeleteListingRequest().setId(id)); } - /** - * Delete a listing. - * - *

Delete a listing - */ + /** Delete a listing */ public void delete(DeleteListingRequest request) { impl.delete(request); } @@ -57,20 +49,12 @@ public GetListingResponse get(String id) { return get(new GetListingRequest().setId(id)); } - /** - * Get a listing. - * - *

Get a listing - */ + /** Get a listing */ public GetListingResponse get(GetListingRequest request) { return impl.get(request); } - /** - * List listings. - * - *

List listings owned by this provider - */ + /** List listings owned by this provider */ public Iterable

list(GetListingsRequest request) { return new Paginator<>( request, @@ -89,11 +73,7 @@ public UpdateListingResponse update(String id, Listing listing) { return update(new UpdateListingRequest().setId(id).setListing(listing)); } - /** - * Update listing. - * - *

Update a listing - */ + /** Update a listing */ public UpdateListingResponse update(UpdateListingRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderListingsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderListingsService.java index 20d8792aa..27d31a9d5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderListingsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderListingsService.java @@ -13,38 +13,18 @@ */ @Generated public interface ProviderListingsService { - /** - * Create a listing. - * - *

Create a new listing - */ + /** Create a new listing */ CreateListingResponse create(CreateListingRequest createListingRequest); - /** - * Delete a listing. - * - *

Delete a listing - */ + /** Delete a listing */ void delete(DeleteListingRequest deleteListingRequest); - /** - * Get a listing. - * - *

Get a listing - */ + /** Get a listing */ GetListingResponse get(GetListingRequest getListingRequest); - /** - * List listings. - * - *

List listings owned by this provider - */ + /** List listings owned by this provider */ GetListingsResponse list(GetListingsRequest getListingsRequest); - /** - * Update listing. - * - *

Update a listing - */ + /** Update a listing */ UpdateListingResponse update(UpdateListingRequest updateListingRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderPersonalizationRequestsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderPersonalizationRequestsAPI.java index 71ce3280b..22d8848f6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderPersonalizationRequestsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderPersonalizationRequestsAPI.java @@ -29,10 +29,8 @@ public ProviderPersonalizationRequestsAPI(ProviderPersonalizationRequestsService } /** - * All personalization requests across all listings. - * - *

List personalization requests to this provider. This will return all personalization - * requests, regardless of which listing they are for. + * List personalization requests to this provider. This will return all personalization requests, + * regardless of which listing they are for. */ public Iterable list(ListAllPersonalizationRequestsRequest request) { return new Paginator<>( @@ -58,9 +56,7 @@ public UpdatePersonalizationRequestResponse update( } /** - * Update personalization request status. - * - *

Update personalization request. This method only permits updating the status of the request. + * Update personalization request. This method only permits updating the status of the request. */ public UpdatePersonalizationRequestResponse update(UpdatePersonalizationRequestRequest request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderPersonalizationRequestsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderPersonalizationRequestsService.java index c6fdc7a44..5552ef338 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderPersonalizationRequestsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderPersonalizationRequestsService.java @@ -14,18 +14,14 @@ @Generated public interface ProviderPersonalizationRequestsService { /** - * All personalization requests across all listings. - * - *

List personalization requests to this provider. This will return all personalization - * requests, regardless of which listing they are for. + * List personalization requests to this provider. This will return all personalization requests, + * regardless of which listing they are for. */ ListAllPersonalizationRequestsResponse list( ListAllPersonalizationRequestsRequest listAllPersonalizationRequestsRequest); /** - * Update personalization request status. - * - *

Update personalization request. This method only permits updating the status of the request. + * Update personalization request. This method only permits updating the status of the request. */ UpdatePersonalizationRequestResponse update( UpdatePersonalizationRequestRequest updatePersonalizationRequestRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProviderAnalyticsDashboardsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProviderAnalyticsDashboardsAPI.java index 52a5c05b9..f20527d31 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProviderAnalyticsDashboardsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProviderAnalyticsDashboardsAPI.java @@ -25,29 +25,19 @@ public ProviderProviderAnalyticsDashboardsAPI(ProviderProviderAnalyticsDashboard } /** - * Create provider analytics dashboard. - * - *

Create provider analytics dashboard. Returns Marketplace specific `id`. Not to be confused - * with the Lakeview dashboard id. + * Create provider analytics dashboard. Returns Marketplace specific `id`. Not to be confused with + * the Lakeview dashboard id. */ public ProviderAnalyticsDashboard create() { return impl.create(); } - /** - * Get provider analytics dashboard. - * - *

Get provider analytics dashboard. - */ + /** Get provider analytics dashboard. */ public ListProviderAnalyticsDashboardResponse get() { return impl.get(); } - /** - * Get latest version of provider analytics dashboard. - * - *

Get latest version of provider analytics dashboard. - */ + /** Get latest version of provider analytics dashboard. */ public GetLatestVersionProviderAnalyticsDashboardResponse getLatestVersion() { return impl.getLatestVersion(); } @@ -56,11 +46,7 @@ public UpdateProviderAnalyticsDashboardResponse update(String id) { return update(new UpdateProviderAnalyticsDashboardRequest().setId(id)); } - /** - * Update provider analytics dashboard. - * - *

Update provider analytics dashboard. - */ + /** Update provider analytics dashboard. */ public UpdateProviderAnalyticsDashboardResponse update( UpdateProviderAnalyticsDashboardRequest request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProviderAnalyticsDashboardsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProviderAnalyticsDashboardsService.java index 5b1d0a9ef..174f0e786 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProviderAnalyticsDashboardsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProviderAnalyticsDashboardsService.java @@ -13,32 +13,18 @@ @Generated public interface ProviderProviderAnalyticsDashboardsService { /** - * Create provider analytics dashboard. - * - *

Create provider analytics dashboard. Returns Marketplace specific `id`. Not to be confused - * with the Lakeview dashboard id. + * Create provider analytics dashboard. Returns Marketplace specific `id`. Not to be confused with + * the Lakeview dashboard id. */ ProviderAnalyticsDashboard create(); - /** - * Get provider analytics dashboard. - * - *

Get provider analytics dashboard. - */ + /** Get provider analytics dashboard. */ ListProviderAnalyticsDashboardResponse get(); - /** - * Get latest version of provider analytics dashboard. - * - *

Get latest version of provider analytics dashboard. - */ + /** Get latest version of provider analytics dashboard. */ GetLatestVersionProviderAnalyticsDashboardResponse getLatestVersion(); - /** - * Update provider analytics dashboard. - * - *

Update provider analytics dashboard. - */ + /** Update provider analytics dashboard. */ UpdateProviderAnalyticsDashboardResponse update( UpdateProviderAnalyticsDashboardRequest updateProviderAnalyticsDashboardRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProvidersAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProvidersAPI.java index 71179c421..60078668a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProvidersAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProvidersAPI.java @@ -28,11 +28,7 @@ public CreateProviderResponse create(ProviderInfo provider) { return create(new CreateProviderRequest().setProvider(provider)); } - /** - * Create a provider. - * - *

Create a provider - */ + /** Create a provider */ public CreateProviderResponse create(CreateProviderRequest request) { return impl.create(request); } @@ -41,11 +37,7 @@ public void delete(String id) { delete(new DeleteProviderRequest().setId(id)); } - /** - * Delete provider. - * - *

Delete provider - */ + /** Delete provider */ public void delete(DeleteProviderRequest request) { impl.delete(request); } @@ -54,20 +46,12 @@ public GetProviderResponse get(String id) { return get(new GetProviderRequest().setId(id)); } - /** - * Get provider. - * - *

Get provider profile - */ + /** Get provider profile */ public GetProviderResponse get(GetProviderRequest request) { return impl.get(request); } - /** - * List providers. - * - *

List provider profiles for account. - */ + /** List provider profiles for account. */ public Iterable list(ListProvidersRequest request) { return new Paginator<>( request, @@ -86,11 +70,7 @@ public UpdateProviderResponse update(String id, ProviderInfo provider) { return update(new UpdateProviderRequest().setId(id).setProvider(provider)); } - /** - * Update provider. - * - *

Update provider profile - */ + /** Update provider profile */ public UpdateProviderResponse update(UpdateProviderRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProvidersService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProvidersService.java index 584ca51cf..f56e2f0c9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProvidersService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProvidersService.java @@ -12,38 +12,18 @@ */ @Generated public interface ProviderProvidersService { - /** - * Create a provider. - * - *

Create a provider - */ + /** Create a provider */ CreateProviderResponse create(CreateProviderRequest createProviderRequest); - /** - * Delete provider. - * - *

Delete provider - */ + /** Delete provider */ void delete(DeleteProviderRequest deleteProviderRequest); - /** - * Get provider. - * - *

Get provider profile - */ + /** Get provider profile */ GetProviderResponse get(GetProviderRequest getProviderRequest); - /** - * List providers. - * - *

List provider profiles for account. - */ + /** List provider profiles for account. */ ListProvidersResponse list(ListProvidersRequest listProvidersRequest); - /** - * Update provider. - * - *

Update provider profile - */ + /** Update provider profile */ UpdateProviderResponse update(UpdateProviderRequest updateProviderRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/RemoveExchangeForListingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/RemoveExchangeForListingRequest.java index 47162e4f5..e0498bd62 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/RemoveExchangeForListingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/RemoveExchangeForListingRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Remove an exchange for listing */ @Generated public class RemoveExchangeForListingRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/SearchListingsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/SearchListingsRequest.java index 5b8d3a47a..9ed944d7d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/SearchListingsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/SearchListingsRequest.java @@ -9,7 +9,6 @@ import java.util.Collection; import java.util.Objects; -/** Search listings */ @Generated public class SearchListingsRequest { /** Matches any of the following asset types */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateFeatureTagRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateFeatureTagRequest.java new file mode 100755 index 000000000..564e1b285 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateFeatureTagRequest.java @@ -0,0 +1,73 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +@Generated +public class CreateFeatureTagRequest { + /** */ + @JsonIgnore private String featureName; + + /** Represents a tag on a feature in a feature table. */ + @JsonProperty("feature_tag") + private FeatureTag featureTag; + + /** */ + @JsonIgnore private String tableName; + + public CreateFeatureTagRequest setFeatureName(String featureName) { + this.featureName = featureName; + return this; + } + + public String getFeatureName() { + return featureName; + } + + public CreateFeatureTagRequest setFeatureTag(FeatureTag featureTag) { + this.featureTag = featureTag; + return this; + } + + public FeatureTag getFeatureTag() { + return featureTag; + } + + public CreateFeatureTagRequest setTableName(String tableName) { + this.tableName = tableName; + return this; + } + + public String getTableName() { + return tableName; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + CreateFeatureTagRequest that = (CreateFeatureTagRequest) o; + return Objects.equals(featureName, that.featureName) + && Objects.equals(featureTag, that.featureTag) + && Objects.equals(tableName, that.tableName); + } + + @Override + public int hashCode() { + return Objects.hash(featureName, featureTag, tableName); + } + + @Override + public String toString() { + return new ToStringer(CreateFeatureTagRequest.class) + .add("featureName", featureName) + .add("featureTag", featureTag) + .add("tableName", tableName) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateOnlineStoreRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateOnlineStoreRequest.java new file mode 100755 index 000000000..fac5e8b51 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateOnlineStoreRequest.java @@ -0,0 +1,44 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +@Generated +public class CreateOnlineStoreRequest { + /** An OnlineStore is a logical database instance that stores and serves features online. */ + @JsonProperty("online_store") + private OnlineStore onlineStore; + + public CreateOnlineStoreRequest setOnlineStore(OnlineStore onlineStore) { + this.onlineStore = onlineStore; + return this; + } + + public OnlineStore getOnlineStore() { + return onlineStore; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + CreateOnlineStoreRequest that = (CreateOnlineStoreRequest) o; + return Objects.equals(onlineStore, that.onlineStore); + } + + @Override + public int hashCode() { + return Objects.hash(onlineStore); + } + + @Override + public String toString() { + return new ToStringer(CreateOnlineStoreRequest.class) + .add("onlineStore", onlineStore) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteCommentRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteCommentRequest.java index 7c4288cea..dcd731792 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteCommentRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteCommentRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a comment */ @Generated public class DeleteCommentRequest { /** Unique identifier of an activity */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteFeatureTagRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteFeatureTagRequest.java new file mode 100755 index 000000000..275b27f40 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteFeatureTagRequest.java @@ -0,0 +1,71 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Objects; + +@Generated +public class DeleteFeatureTagRequest { + /** The name of the feature within the feature table. */ + @JsonIgnore private String featureName; + + /** The key of the tag to delete. */ + @JsonIgnore private String key; + + /** The name of the feature table. */ + @JsonIgnore private String tableName; + + public DeleteFeatureTagRequest setFeatureName(String featureName) { + this.featureName = featureName; + return this; + } + + public String getFeatureName() { + return featureName; + } + + public DeleteFeatureTagRequest setKey(String key) { + this.key = key; + return this; + } + + public String getKey() { + return key; + } + + public DeleteFeatureTagRequest setTableName(String tableName) { + this.tableName = tableName; + return this; + } + + public String getTableName() { + return tableName; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + DeleteFeatureTagRequest that = (DeleteFeatureTagRequest) o; + return Objects.equals(featureName, that.featureName) + && Objects.equals(key, that.key) + && Objects.equals(tableName, that.tableName); + } + + @Override + public int hashCode() { + return Objects.hash(featureName, key, tableName); + } + + @Override + public String toString() { + return new ToStringer(DeleteFeatureTagRequest.class) + .add("featureName", featureName) + .add("key", key) + .add("tableName", tableName) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteFeatureTagResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteFeatureTagResponse.java new file mode 100755 index 000000000..c42a17ca6 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteFeatureTagResponse.java @@ -0,0 +1,28 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import java.util.Objects; + +@Generated +public class DeleteFeatureTagResponse { + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + @Override + public String toString() { + return new ToStringer(DeleteFeatureTagResponse.class).toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteLoggedModelRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteLoggedModelRequest.java index 011c95025..a8f564f55 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteLoggedModelRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteLoggedModelRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a logged model */ @Generated public class DeleteLoggedModelRequest { /** The ID of the logged model to delete. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteLoggedModelTagRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteLoggedModelTagRequest.java index e5c0983e6..da417bd43 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteLoggedModelTagRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteLoggedModelTagRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a tag on a logged model */ @Generated public class DeleteLoggedModelTagRequest { /** The ID of the logged model to delete the tag from. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelRequest.java index 58d5548c8..9c3c8ff6f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a model */ @Generated public class DeleteModelRequest { /** Registered model unique name identifier. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelTagRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelTagRequest.java index b46f87663..b4b104a77 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelTagRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelTagRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a model tag */ @Generated public class DeleteModelTagRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelVersionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelVersionRequest.java index 30b7a35c2..e0d37eb09 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelVersionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelVersionRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a model version. */ @Generated public class DeleteModelVersionRequest { /** Name of the registered model */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelVersionTagRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelVersionTagRequest.java index e05b0249a..4bb9e70b7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelVersionTagRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteModelVersionTagRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a model version tag */ @Generated public class DeleteModelVersionTagRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteOnlineStoreRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteOnlineStoreRequest.java new file mode 100755 index 000000000..6d19a0cdd --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteOnlineStoreRequest.java @@ -0,0 +1,41 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Objects; + +@Generated +public class DeleteOnlineStoreRequest { + /** Name of the online store to delete. */ + @JsonIgnore private String name; + + public DeleteOnlineStoreRequest setName(String name) { + this.name = name; + return this; + } + + public String getName() { + return name; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + DeleteOnlineStoreRequest that = (DeleteOnlineStoreRequest) o; + return Objects.equals(name, that.name); + } + + @Override + public int hashCode() { + return Objects.hash(name); + } + + @Override + public String toString() { + return new ToStringer(DeleteOnlineStoreRequest.class).add("name", name).toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteOnlineStoreResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteOnlineStoreResponse.java new file mode 100755 index 000000000..85cbf8da3 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteOnlineStoreResponse.java @@ -0,0 +1,28 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import java.util.Objects; + +@Generated +public class DeleteOnlineStoreResponse { + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + @Override + public String toString() { + return new ToStringer(DeleteOnlineStoreResponse.class).toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteTransitionRequestRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteTransitionRequestRequest.java index a326d9928..a1977c2af 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteTransitionRequestRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteTransitionRequestRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a transition request */ @Generated public class DeleteTransitionRequestRequest { /** User-provided comment on the action. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteWebhookRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteWebhookRequest.java index 48ed6f8f5..941e930ff 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteWebhookRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteWebhookRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a webhook */ @Generated public class DeleteWebhookRequest { /** Webhook ID required to delete a registry webhook. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsAPI.java index ecc0c1931..e103caff1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsAPI.java @@ -37,9 +37,7 @@ public CreateExperimentResponse createExperiment(String name) { } /** - * Create experiment. - * - *

Creates an experiment with a name. Returns the ID of the newly created experiment. Validates + * Creates an experiment with a name. Returns the ID of the newly created experiment. Validates * that another experiment with the same name does not already exist and fails if another * experiment with the same name already exists. * @@ -59,9 +57,7 @@ public CreateLoggedModelResponse createLoggedModel(CreateLoggedModelRequest requ } /** - * Create a run. - * - *

Creates a new run within an experiment. A run is usually a single execution of a machine + * Creates a new run within an experiment. A run is usually a single execution of a machine * learning or data ETL pipeline. MLflow uses runs to track the `mlflowParam`, `mlflowMetric`, and * `mlflowRunTag` associated with a single execution. */ @@ -74,10 +70,8 @@ public void deleteExperiment(String experimentId) { } /** - * Delete an experiment. - * - *

Marks an experiment and associated metadata, runs, metrics, params, and tags for deletion. - * If the experiment uses FileStore, artifacts associated with the experiment are also deleted. + * Marks an experiment and associated metadata, runs, metrics, params, and tags for deletion. If + * the experiment uses FileStore, artifacts associated with the experiment are also deleted. */ public void deleteExperiment(DeleteExperiment request) { impl.deleteExperiment(request); @@ -105,11 +99,7 @@ public void deleteRun(String runId) { deleteRun(new DeleteRun().setRunId(runId)); } - /** - * Delete a run. - * - *

Marks a run for deletion. - */ + /** Marks a run for deletion. */ public void deleteRun(DeleteRun request) { impl.deleteRun(request); } @@ -120,9 +110,7 @@ public DeleteRunsResponse deleteRuns(String experimentId, long maxTimestampMilli } /** - * Delete runs by creation time. - * - *

Bulk delete runs in an experiment that were created prior to or at the specified timestamp. + * Bulk delete runs in an experiment that were created prior to or at the specified timestamp. * Deletes at most max_runs per request. To call this API from a Databricks Notebook in Python, * you can use the client code snippet on */ @@ -135,10 +123,8 @@ public void deleteTag(String runId, String key) { } /** - * Delete a tag on a run. - * - *

Deletes a tag on a run. Tags are run metadata that can be updated during a run and after a - * run completes. + * Deletes a tag on a run. Tags are run metadata that can be updated during a run and after a run + * completes. */ public void deleteTag(DeleteTag request) { impl.deleteTag(request); @@ -159,9 +145,7 @@ public GetExperimentByNameResponse getByName(String experimentName) { } /** - * Get an experiment by name. - * - *

Gets metadata for an experiment. + * Gets metadata for an experiment. * *

This endpoint will return deleted experiments, but prefers the active experiment if an * active and deleted experiment share the same name. If multiple deleted experiments share the @@ -177,11 +161,7 @@ public GetExperimentResponse getExperiment(String experimentId) { return getExperiment(new GetExperimentRequest().setExperimentId(experimentId)); } - /** - * Get an experiment. - * - *

Gets metadata for an experiment. This method works on deleted experiments. - */ + /** Gets metadata for an experiment. This method works on deleted experiments. */ public GetExperimentResponse getExperiment(GetExperimentRequest request) { return impl.getExperiment(request); } @@ -190,11 +170,7 @@ public Iterable getHistory(String metricKey) { return getHistory(new GetHistoryRequest().setMetricKey(metricKey)); } - /** - * Get metric history for a run. - * - *

Gets a list of all values for the specified metric for a given run. - */ + /** Gets a list of all values for the specified metric for a given run. */ public Iterable getHistory(GetHistoryRequest request) { return new Paginator<>( request, @@ -223,11 +199,7 @@ public GetExperimentPermissionLevelsResponse getPermissionLevels(String experime new GetExperimentPermissionLevelsRequest().setExperimentId(experimentId)); } - /** - * Get experiment permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ public GetExperimentPermissionLevelsResponse getPermissionLevels( GetExperimentPermissionLevelsRequest request) { return impl.getPermissionLevels(request); @@ -238,9 +210,7 @@ public ExperimentPermissions getPermissions(String experimentId) { } /** - * Get experiment permissions. - * - *

Gets the permissions of an experiment. Experiments can inherit permissions from their root + * Gets the permissions of an experiment. Experiments can inherit permissions from their root * object. */ public ExperimentPermissions getPermissions(GetExperimentPermissionsRequest request) { @@ -252,10 +222,8 @@ public GetRunResponse getRun(String runId) { } /** - * Get a run. - * - *

Gets the metadata, metrics, params, and tags for a run. In the case where multiple metrics - * with the same key are logged for a run, return only the value with the latest timestamp. + * Gets the metadata, metrics, params, and tags for a run. In the case where multiple metrics with + * the same key are logged for a run, return only the value with the latest timestamp. * *

If there are multiple values with the latest timestamp, return the maximum of these values. */ @@ -264,9 +232,7 @@ public GetRunResponse getRun(GetRunRequest request) { } /** - * List artifacts. - * - *

List artifacts for a run. Takes an optional `artifact_path` prefix which if specified, the + * List artifacts for a run. Takes an optional `artifact_path` prefix which if specified, the * response contains only artifacts with the specified prefix. A maximum of 1000 artifacts will be * retrieved for UC Volumes. Please call `/api/2.0/fs/directories{directory_path}` for listing * artifacts in UC Volumes, which supports pagination. See [List directory contents | Files @@ -286,11 +252,7 @@ public Iterable listArtifacts(ListArtifactsRequest request) { }); } - /** - * List experiments. - * - *

Gets a list of all experiments. - */ + /** Gets a list of all experiments. */ public Iterable listExperiments(ListExperimentsRequest request) { return new Paginator<>( request, @@ -306,9 +268,7 @@ public Iterable listExperiments(ListExperimentsRequest request) { } /** - * Log a batch of metrics/params/tags for a run. - * - *

Logs a batch of metrics, params, and tags for a run. If any data failed to be persisted, the + * Logs a batch of metrics, params, and tags for a run. If any data failed to be persisted, the * server will respond with an error (non-200 status code). * *

In case of error (due to internal server error or an invalid request), partial data may be @@ -359,14 +319,7 @@ public void logInputs(String runId) { logInputs(new LogInputs().setRunId(runId)); } - /** - * Log inputs to a run. - * - *

**NOTE:** Experimental: This API may change or be removed in a future release without - * warning. - * - *

Logs inputs, such as datasets and models, to an MLflow Run. - */ + /** Logs inputs, such as datasets and models, to an MLflow Run. */ public void logInputs(LogInputs request) { impl.logInputs(request); } @@ -376,9 +329,7 @@ public void logLoggedModelParams(String modelId) { } /** - * Log params for a logged model. - * - *

Logs params for a logged model. A param is a key-value pair (string key, string value). + * Logs params for a logged model. A param is a key-value pair (string key, string value). * Examples include hyperparameters used for ML model training. A param can be logged only once * for a logged model, and attempting to overwrite an existing param with a different value will * result in an error @@ -392,9 +343,7 @@ public void logMetric(String key, double value, long timestamp) { } /** - * Log a metric for a run. - * - *

Log a metric for a run. A metric is a key-value pair (string key, float value) with an + * Log a metric for a run. A metric is a key-value pair (string key, float value) with an * associated timestamp. Examples include the various metrics that represent ML model accuracy. A * metric can be logged multiple times. */ @@ -403,10 +352,10 @@ public void logMetric(LogMetric request) { } /** - * Log a model. + * **Note:** the [Create a logged model](/api/workspace/experiments/createloggedmodel) API + * replaces this endpoint. * - *

**NOTE:** Experimental: This API may change or be removed in a future release without - * warning. + *

Log a model to an MLflow Run. */ public void logModel(LogModel request) { impl.logModel(request); @@ -416,14 +365,7 @@ public void logOutputs(String runId) { logOutputs(new LogOutputsRequest().setRunId(runId)); } - /** - * Log outputs from a run. - * - *

**NOTE**: Experimental: This API may change or be removed in a future release without - * warning. - * - *

Logs outputs, such as models, from an MLflow Run. - */ + /** Logs outputs, such as models, from an MLflow Run. */ public void logOutputs(LogOutputsRequest request) { impl.logOutputs(request); } @@ -433,11 +375,9 @@ public void logParam(String key, String value) { } /** - * Log a param for a run. - * - *

Logs a param used for a run. A param is a key-value pair (string key, string value). - * Examples include hyperparameters used for ML model training and constant dates and values used - * in an ETL pipeline. A param can be logged only once for a run. + * Logs a param used for a run. A param is a key-value pair (string key, string value). Examples + * include hyperparameters used for ML model training and constant dates and values used in an ETL + * pipeline. A param can be logged only once for a run. */ public void logParam(LogParam request) { impl.logParam(request); @@ -448,9 +388,7 @@ public void restoreExperiment(String experimentId) { } /** - * Restore an experiment. - * - *

Restore an experiment marked for deletion. This also restores associated metadata, runs, + * Restore an experiment marked for deletion. This also restores associated metadata, runs, * metrics, params, and tags. If experiment uses FileStore, underlying artifacts associated with * experiment are also restored. * @@ -465,9 +403,7 @@ public void restoreRun(String runId) { } /** - * Restore a run. - * - *

Restores a deleted run. This also restores associated metadata, runs, metrics, params, and + * Restores a deleted run. This also restores associated metadata, runs, metrics, params, and * tags. * *

Throws `RESOURCE_DOES_NOT_EXIST` if the run was never created or was permanently deleted. @@ -482,21 +418,15 @@ public RestoreRunsResponse restoreRuns(String experimentId, long minTimestampMil } /** - * Restore runs by deletion time. - * - *

Bulk restore runs in an experiment that were deleted no earlier than the specified - * timestamp. Restores at most max_runs per request. To call this API from a Databricks Notebook - * in Python, you can use the client code snippet on + * Bulk restore runs in an experiment that were deleted no earlier than the specified timestamp. + * Restores at most max_runs per request. To call this API from a Databricks Notebook in Python, + * you can use the client code snippet on */ public RestoreRunsResponse restoreRuns(RestoreRuns request) { return impl.restoreRuns(request); } - /** - * Search experiments. - * - *

Searches for experiments that satisfy specified search criteria. - */ + /** Searches for experiments that satisfy specified search criteria. */ public Iterable searchExperiments(SearchExperiments request) { return new Paginator<>( request, @@ -511,19 +441,13 @@ public Iterable searchExperiments(SearchExperiments request) { }); } - /** - * Search logged models. - * - *

Search for Logged Models that satisfy specified search criteria. - */ + /** Search for Logged Models that satisfy specified search criteria. */ public SearchLoggedModelsResponse searchLoggedModels(SearchLoggedModelsRequest request) { return impl.searchLoggedModels(request); } /** - * Search for runs. - * - *

Searches for runs that satisfy expressions. + * Searches for runs that satisfy expressions. * *

Search expressions can use `mlflowMetric` and `mlflowParam` keys. */ @@ -546,11 +470,7 @@ public void setExperimentTag(String experimentId, String key, String value) { new SetExperimentTag().setExperimentId(experimentId).setKey(key).setValue(value)); } - /** - * Set a tag for an experiment. - * - *

Sets a tag on an experiment. Experiment tags are metadata that can be updated. - */ + /** Sets a tag on an experiment. Experiment tags are metadata that can be updated. */ public void setExperimentTag(SetExperimentTag request) { impl.setExperimentTag(request); } @@ -559,7 +479,7 @@ public void setLoggedModelTags(String modelId) { setLoggedModelTags(new SetLoggedModelTagsRequest().setModelId(modelId)); } - /** Set a tag for a logged model. */ + /** Set tags for a logged model. */ public void setLoggedModelTags(SetLoggedModelTagsRequest request) { impl.setLoggedModelTags(request); } @@ -569,11 +489,8 @@ public ExperimentPermissions setPermissions(String experimentId) { } /** - * Set experiment permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ public ExperimentPermissions setPermissions(ExperimentPermissionsRequest request) { return impl.setPermissions(request); @@ -584,9 +501,7 @@ public void setTag(String key, String value) { } /** - * Set a tag for a run. - * - *

Sets a tag on a run. Tags are run metadata that can be updated during a run and after a run + * Sets a tag on a run. Tags are run metadata that can be updated during a run and after a run * completes. */ public void setTag(SetTag request) { @@ -597,11 +512,7 @@ public void updateExperiment(String experimentId) { updateExperiment(new UpdateExperiment().setExperimentId(experimentId)); } - /** - * Update an experiment. - * - *

Updates experiment metadata. - */ + /** Updates experiment metadata. */ public void updateExperiment(UpdateExperiment request) { impl.updateExperiment(request); } @@ -611,20 +522,14 @@ public ExperimentPermissions updatePermissions(String experimentId) { } /** - * Update experiment permissions. - * - *

Updates the permissions on an experiment. Experiments can inherit permissions from their - * root object. + * Updates the permissions on an experiment. Experiments can inherit permissions from their root + * object. */ public ExperimentPermissions updatePermissions(ExperimentPermissionsRequest request) { return impl.updatePermissions(request); } - /** - * Update a run. - * - *

Updates run metadata. - */ + /** Updates run metadata. */ public UpdateRunResponse updateRun(UpdateRun request) { return impl.updateRun(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsService.java index 7613522e1..486c97d62 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsService.java @@ -19,9 +19,7 @@ @Generated public interface ExperimentsService { /** - * Create experiment. - * - *

Creates an experiment with a name. Returns the ID of the newly created experiment. Validates + * Creates an experiment with a name. Returns the ID of the newly created experiment. Validates * that another experiment with the same name does not already exist and fails if another * experiment with the same name already exists. * @@ -33,19 +31,15 @@ public interface ExperimentsService { CreateLoggedModelResponse createLoggedModel(CreateLoggedModelRequest createLoggedModelRequest); /** - * Create a run. - * - *

Creates a new run within an experiment. A run is usually a single execution of a machine + * Creates a new run within an experiment. A run is usually a single execution of a machine * learning or data ETL pipeline. MLflow uses runs to track the `mlflowParam`, `mlflowMetric`, and * `mlflowRunTag` associated with a single execution. */ CreateRunResponse createRun(CreateRun createRun); /** - * Delete an experiment. - * - *

Marks an experiment and associated metadata, runs, metrics, params, and tags for deletion. - * If the experiment uses FileStore, artifacts associated with the experiment are also deleted. + * Marks an experiment and associated metadata, runs, metrics, params, and tags for deletion. If + * the experiment uses FileStore, artifacts associated with the experiment are also deleted. */ void deleteExperiment(DeleteExperiment deleteExperiment); @@ -55,27 +49,19 @@ public interface ExperimentsService { /** Delete a tag on a logged model. */ void deleteLoggedModelTag(DeleteLoggedModelTagRequest deleteLoggedModelTagRequest); - /** - * Delete a run. - * - *

Marks a run for deletion. - */ + /** Marks a run for deletion. */ void deleteRun(DeleteRun deleteRun); /** - * Delete runs by creation time. - * - *

Bulk delete runs in an experiment that were created prior to or at the specified timestamp. + * Bulk delete runs in an experiment that were created prior to or at the specified timestamp. * Deletes at most max_runs per request. To call this API from a Databricks Notebook in Python, * you can use the client code snippet on */ DeleteRunsResponse deleteRuns(DeleteRuns deleteRuns); /** - * Delete a tag on a run. - * - *

Deletes a tag on a run. Tags are run metadata that can be updated during a run and after a - * run completes. + * Deletes a tag on a run. Tags are run metadata that can be updated during a run and after a run + * completes. */ void deleteTag(DeleteTag deleteTag); @@ -84,9 +70,7 @@ FinalizeLoggedModelResponse finalizeLoggedModel( FinalizeLoggedModelRequest finalizeLoggedModelRequest); /** - * Get an experiment by name. - * - *

Gets metadata for an experiment. + * Gets metadata for an experiment. * *

This endpoint will return deleted experiments, but prefers the active experiment if an * active and deleted experiment share the same name. If multiple deleted experiments share the @@ -96,54 +80,36 @@ FinalizeLoggedModelResponse finalizeLoggedModel( */ GetExperimentByNameResponse getByName(GetByNameRequest getByNameRequest); - /** - * Get an experiment. - * - *

Gets metadata for an experiment. This method works on deleted experiments. - */ + /** Gets metadata for an experiment. This method works on deleted experiments. */ GetExperimentResponse getExperiment(GetExperimentRequest getExperimentRequest); - /** - * Get metric history for a run. - * - *

Gets a list of all values for the specified metric for a given run. - */ + /** Gets a list of all values for the specified metric for a given run. */ GetMetricHistoryResponse getHistory(GetHistoryRequest getHistoryRequest); /** Get a logged model. */ GetLoggedModelResponse getLoggedModel(GetLoggedModelRequest getLoggedModelRequest); - /** - * Get experiment permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ GetExperimentPermissionLevelsResponse getPermissionLevels( GetExperimentPermissionLevelsRequest getExperimentPermissionLevelsRequest); /** - * Get experiment permissions. - * - *

Gets the permissions of an experiment. Experiments can inherit permissions from their root + * Gets the permissions of an experiment. Experiments can inherit permissions from their root * object. */ ExperimentPermissions getPermissions( GetExperimentPermissionsRequest getExperimentPermissionsRequest); /** - * Get a run. - * - *

Gets the metadata, metrics, params, and tags for a run. In the case where multiple metrics - * with the same key are logged for a run, return only the value with the latest timestamp. + * Gets the metadata, metrics, params, and tags for a run. In the case where multiple metrics with + * the same key are logged for a run, return only the value with the latest timestamp. * *

If there are multiple values with the latest timestamp, return the maximum of these values. */ GetRunResponse getRun(GetRunRequest getRunRequest); /** - * List artifacts. - * - *

List artifacts for a run. Takes an optional `artifact_path` prefix which if specified, the + * List artifacts for a run. Takes an optional `artifact_path` prefix which if specified, the * response contains only artifacts with the specified prefix. A maximum of 1000 artifacts will be * retrieved for UC Volumes. Please call `/api/2.0/fs/directories{directory_path}` for listing * artifacts in UC Volumes, which supports pagination. See [List directory contents | Files @@ -151,17 +117,11 @@ ExperimentPermissions getPermissions( */ ListArtifactsResponse listArtifacts(ListArtifactsRequest listArtifactsRequest); - /** - * List experiments. - * - *

Gets a list of all experiments. - */ + /** Gets a list of all experiments. */ ListExperimentsResponse listExperiments(ListExperimentsRequest listExperimentsRequest); /** - * Log a batch of metrics/params/tags for a run. - * - *

Logs a batch of metrics, params, and tags for a run. If any data failed to be persisted, the + * Logs a batch of metrics, params, and tags for a run. If any data failed to be persisted, the * server will respond with an error (non-200 status code). * *

In case of error (due to internal server error or an invalid request), partial data may be @@ -206,20 +166,11 @@ ExperimentPermissions getPermissions( */ void logBatch(LogBatch logBatch); - /** - * Log inputs to a run. - * - *

**NOTE:** Experimental: This API may change or be removed in a future release without - * warning. - * - *

Logs inputs, such as datasets and models, to an MLflow Run. - */ + /** Logs inputs, such as datasets and models, to an MLflow Run. */ void logInputs(LogInputs logInputs); /** - * Log params for a logged model. - * - *

Logs params for a logged model. A param is a key-value pair (string key, string value). + * Logs params for a logged model. A param is a key-value pair (string key, string value). * Examples include hyperparameters used for ML model training. A param can be logged only once * for a logged model, and attempting to overwrite an existing param with a different value will * result in an error @@ -227,45 +178,32 @@ ExperimentPermissions getPermissions( void logLoggedModelParams(LogLoggedModelParamsRequest logLoggedModelParamsRequest); /** - * Log a metric for a run. - * - *

Log a metric for a run. A metric is a key-value pair (string key, float value) with an + * Log a metric for a run. A metric is a key-value pair (string key, float value) with an * associated timestamp. Examples include the various metrics that represent ML model accuracy. A * metric can be logged multiple times. */ void logMetric(LogMetric logMetric); /** - * Log a model. + * **Note:** the [Create a logged model](/api/workspace/experiments/createloggedmodel) API + * replaces this endpoint. * - *

**NOTE:** Experimental: This API may change or be removed in a future release without - * warning. + *

Log a model to an MLflow Run. */ void logModel(LogModel logModel); - /** - * Log outputs from a run. - * - *

**NOTE**: Experimental: This API may change or be removed in a future release without - * warning. - * - *

Logs outputs, such as models, from an MLflow Run. - */ + /** Logs outputs, such as models, from an MLflow Run. */ void logOutputs(LogOutputsRequest logOutputsRequest); /** - * Log a param for a run. - * - *

Logs a param used for a run. A param is a key-value pair (string key, string value). - * Examples include hyperparameters used for ML model training and constant dates and values used - * in an ETL pipeline. A param can be logged only once for a run. + * Logs a param used for a run. A param is a key-value pair (string key, string value). Examples + * include hyperparameters used for ML model training and constant dates and values used in an ETL + * pipeline. A param can be logged only once for a run. */ void logParam(LogParam logParam); /** - * Restore an experiment. - * - *

Restore an experiment marked for deletion. This also restores associated metadata, runs, + * Restore an experiment marked for deletion. This also restores associated metadata, runs, * metrics, params, and tags. If experiment uses FileStore, underlying artifacts associated with * experiment are also restored. * @@ -274,9 +212,7 @@ ExperimentPermissions getPermissions( void restoreExperiment(RestoreExperiment restoreExperiment); /** - * Restore a run. - * - *

Restores a deleted run. This also restores associated metadata, runs, metrics, params, and + * Restores a deleted run. This also restores associated metadata, runs, metrics, params, and * tags. * *

Throws `RESOURCE_DOES_NOT_EXIST` if the run was never created or was permanently deleted. @@ -284,85 +220,54 @@ ExperimentPermissions getPermissions( void restoreRun(RestoreRun restoreRun); /** - * Restore runs by deletion time. - * - *

Bulk restore runs in an experiment that were deleted no earlier than the specified - * timestamp. Restores at most max_runs per request. To call this API from a Databricks Notebook - * in Python, you can use the client code snippet on + * Bulk restore runs in an experiment that were deleted no earlier than the specified timestamp. + * Restores at most max_runs per request. To call this API from a Databricks Notebook in Python, + * you can use the client code snippet on */ RestoreRunsResponse restoreRuns(RestoreRuns restoreRuns); - /** - * Search experiments. - * - *

Searches for experiments that satisfy specified search criteria. - */ + /** Searches for experiments that satisfy specified search criteria. */ SearchExperimentsResponse searchExperiments(SearchExperiments searchExperiments); - /** - * Search logged models. - * - *

Search for Logged Models that satisfy specified search criteria. - */ + /** Search for Logged Models that satisfy specified search criteria. */ SearchLoggedModelsResponse searchLoggedModels( SearchLoggedModelsRequest searchLoggedModelsRequest); /** - * Search for runs. - * - *

Searches for runs that satisfy expressions. + * Searches for runs that satisfy expressions. * *

Search expressions can use `mlflowMetric` and `mlflowParam` keys. */ SearchRunsResponse searchRuns(SearchRuns searchRuns); - /** - * Set a tag for an experiment. - * - *

Sets a tag on an experiment. Experiment tags are metadata that can be updated. - */ + /** Sets a tag on an experiment. Experiment tags are metadata that can be updated. */ void setExperimentTag(SetExperimentTag setExperimentTag); - /** Set a tag for a logged model. */ + /** Set tags for a logged model. */ void setLoggedModelTags(SetLoggedModelTagsRequest setLoggedModelTagsRequest); /** - * Set experiment permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ ExperimentPermissions setPermissions(ExperimentPermissionsRequest experimentPermissionsRequest); /** - * Set a tag for a run. - * - *

Sets a tag on a run. Tags are run metadata that can be updated during a run and after a run + * Sets a tag on a run. Tags are run metadata that can be updated during a run and after a run * completes. */ void setTag(SetTag setTag); - /** - * Update an experiment. - * - *

Updates experiment metadata. - */ + /** Updates experiment metadata. */ void updateExperiment(UpdateExperiment updateExperiment); /** - * Update experiment permissions. - * - *

Updates the permissions on an experiment. Experiments can inherit permissions from their - * root object. + * Updates the permissions on an experiment. Experiments can inherit permissions from their root + * object. */ ExperimentPermissions updatePermissions( ExperimentPermissionsRequest experimentPermissionsRequest); - /** - * Update a run. - * - *

Updates run metadata. - */ + /** Updates run metadata. */ UpdateRunResponse updateRun(UpdateRun updateRun); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineage.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineage.java new file mode 100755 index 000000000..4f2386a5f --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineage.java @@ -0,0 +1,75 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Collection; +import java.util.Objects; + +@Generated +public class FeatureLineage { + /** List of feature specs that contain this feature. */ + @JsonProperty("feature_specs") + private Collection featureSpecs; + + /** List of Unity Catalog models that were trained on this feature. */ + @JsonProperty("models") + private Collection models; + + /** List of online features that use this feature as source. */ + @JsonProperty("online_features") + private Collection onlineFeatures; + + public FeatureLineage setFeatureSpecs(Collection featureSpecs) { + this.featureSpecs = featureSpecs; + return this; + } + + public Collection getFeatureSpecs() { + return featureSpecs; + } + + public FeatureLineage setModels(Collection models) { + this.models = models; + return this; + } + + public Collection getModels() { + return models; + } + + public FeatureLineage setOnlineFeatures(Collection onlineFeatures) { + this.onlineFeatures = onlineFeatures; + return this; + } + + public Collection getOnlineFeatures() { + return onlineFeatures; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + FeatureLineage that = (FeatureLineage) o; + return Objects.equals(featureSpecs, that.featureSpecs) + && Objects.equals(models, that.models) + && Objects.equals(onlineFeatures, that.onlineFeatures); + } + + @Override + public int hashCode() { + return Objects.hash(featureSpecs, models, onlineFeatures); + } + + @Override + public String toString() { + return new ToStringer(FeatureLineage.class) + .add("featureSpecs", featureSpecs) + .add("models", models) + .add("onlineFeatures", onlineFeatures) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineageFeatureSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineageFeatureSpec.java new file mode 100755 index 000000000..e255fc4a4 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineageFeatureSpec.java @@ -0,0 +1,42 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +@Generated +public class FeatureLineageFeatureSpec { + /** The full name of the feature spec in Unity Catalog. */ + @JsonProperty("name") + private String name; + + public FeatureLineageFeatureSpec setName(String name) { + this.name = name; + return this; + } + + public String getName() { + return name; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + FeatureLineageFeatureSpec that = (FeatureLineageFeatureSpec) o; + return Objects.equals(name, that.name); + } + + @Override + public int hashCode() { + return Objects.hash(name); + } + + @Override + public String toString() { + return new ToStringer(FeatureLineageFeatureSpec.class).add("name", name).toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineageModel.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineageModel.java new file mode 100755 index 000000000..f9b7fbc5c --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineageModel.java @@ -0,0 +1,58 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +@Generated +public class FeatureLineageModel { + /** The full name of the model in Unity Catalog. */ + @JsonProperty("name") + private String name; + + /** The version of the model. */ + @JsonProperty("version") + private Long version; + + public FeatureLineageModel setName(String name) { + this.name = name; + return this; + } + + public String getName() { + return name; + } + + public FeatureLineageModel setVersion(Long version) { + this.version = version; + return this; + } + + public Long getVersion() { + return version; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + FeatureLineageModel that = (FeatureLineageModel) o; + return Objects.equals(name, that.name) && Objects.equals(version, that.version); + } + + @Override + public int hashCode() { + return Objects.hash(name, version); + } + + @Override + public String toString() { + return new ToStringer(FeatureLineageModel.class) + .add("name", name) + .add("version", version) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineageOnlineFeature.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineageOnlineFeature.java new file mode 100755 index 000000000..2d3bf16d7 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureLineageOnlineFeature.java @@ -0,0 +1,59 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +@Generated +public class FeatureLineageOnlineFeature { + /** The name of the online feature (column name). */ + @JsonProperty("feature_name") + private String featureName; + + /** The full name of the online table in Unity Catalog. */ + @JsonProperty("table_name") + private String tableName; + + public FeatureLineageOnlineFeature setFeatureName(String featureName) { + this.featureName = featureName; + return this; + } + + public String getFeatureName() { + return featureName; + } + + public FeatureLineageOnlineFeature setTableName(String tableName) { + this.tableName = tableName; + return this; + } + + public String getTableName() { + return tableName; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + FeatureLineageOnlineFeature that = (FeatureLineageOnlineFeature) o; + return Objects.equals(featureName, that.featureName) + && Objects.equals(tableName, that.tableName); + } + + @Override + public int hashCode() { + return Objects.hash(featureName, tableName); + } + + @Override + public String toString() { + return new ToStringer(FeatureLineageOnlineFeature.class) + .add("featureName", featureName) + .add("tableName", tableName) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureStoreAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureStoreAPI.java new file mode 100755 index 000000000..8a41a91f8 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureStoreAPI.java @@ -0,0 +1,102 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.core.ApiClient; +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.Paginator; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * A feature store is a centralized repository that enables data scientists to find and share + * features. Using a feature store also ensures that the code used to compute feature values is the + * same during model training and when the model is used for inference. + * + *

An online store is a low-latency database used for feature lookup during real-time model + * inference or serve feature for real-time applications. + */ +@Generated +public class FeatureStoreAPI { + private static final Logger LOG = LoggerFactory.getLogger(FeatureStoreAPI.class); + + private final FeatureStoreService impl; + + /** Regular-use constructor */ + public FeatureStoreAPI(ApiClient apiClient) { + impl = new FeatureStoreImpl(apiClient); + } + + /** Constructor for mocks */ + public FeatureStoreAPI(FeatureStoreService mock) { + impl = mock; + } + + public OnlineStore createOnlineStore(OnlineStore onlineStore) { + return createOnlineStore(new CreateOnlineStoreRequest().setOnlineStore(onlineStore)); + } + + /** Create an Online Feature Store. */ + public OnlineStore createOnlineStore(CreateOnlineStoreRequest request) { + return impl.createOnlineStore(request); + } + + public void deleteOnlineStore(String name) { + deleteOnlineStore(new DeleteOnlineStoreRequest().setName(name)); + } + + /** Delete an Online Feature Store. */ + public void deleteOnlineStore(DeleteOnlineStoreRequest request) { + impl.deleteOnlineStore(request); + } + + public OnlineStore getOnlineStore(String name) { + return getOnlineStore(new GetOnlineStoreRequest().setName(name)); + } + + /** Get an Online Feature Store. */ + public OnlineStore getOnlineStore(GetOnlineStoreRequest request) { + return impl.getOnlineStore(request); + } + + /** List Online Feature Stores. */ + public Iterable listOnlineStores(ListOnlineStoresRequest request) { + return new Paginator<>( + request, + impl::listOnlineStores, + ListOnlineStoresResponse::getOnlineStores, + response -> { + String token = response.getNextPageToken(); + if (token == null || token.isEmpty()) { + return null; + } + return request.setPageToken(token); + }); + } + + public PublishTableResponse publishTable(String sourceTableName, PublishSpec publishSpec) { + return publishTable( + new PublishTableRequest().setSourceTableName(sourceTableName).setPublishSpec(publishSpec)); + } + + /** Publish features. */ + public PublishTableResponse publishTable(PublishTableRequest request) { + return impl.publishTable(request); + } + + public OnlineStore updateOnlineStore(String name, OnlineStore onlineStore, String updateMask) { + return updateOnlineStore( + new UpdateOnlineStoreRequest() + .setName(name) + .setOnlineStore(onlineStore) + .setUpdateMask(updateMask)); + } + + /** Update an Online Feature Store. */ + public OnlineStore updateOnlineStore(UpdateOnlineStoreRequest request) { + return impl.updateOnlineStore(request); + } + + public FeatureStoreService impl() { + return impl; + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureStoreImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureStoreImpl.java new file mode 100755 index 000000000..97a48a1db --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureStoreImpl.java @@ -0,0 +1,100 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.core.ApiClient; +import com.databricks.sdk.core.DatabricksException; +import com.databricks.sdk.core.http.Request; +import com.databricks.sdk.support.Generated; +import java.io.IOException; + +/** Package-local implementation of FeatureStore */ +@Generated +class FeatureStoreImpl implements FeatureStoreService { + private final ApiClient apiClient; + + public FeatureStoreImpl(ApiClient apiClient) { + this.apiClient = apiClient; + } + + @Override + public OnlineStore createOnlineStore(CreateOnlineStoreRequest request) { + String path = "/api/2.0/feature-store/online-stores"; + try { + Request req = new Request("POST", path, apiClient.serialize(request.getOnlineStore())); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + req.withHeader("Content-Type", "application/json"); + return apiClient.execute(req, OnlineStore.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } + + @Override + public void deleteOnlineStore(DeleteOnlineStoreRequest request) { + String path = String.format("/api/2.0/feature-store/online-stores/%s", request.getName()); + try { + Request req = new Request("DELETE", path); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + apiClient.execute(req, DeleteOnlineStoreResponse.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } + + @Override + public OnlineStore getOnlineStore(GetOnlineStoreRequest request) { + String path = String.format("/api/2.0/feature-store/online-stores/%s", request.getName()); + try { + Request req = new Request("GET", path); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + return apiClient.execute(req, OnlineStore.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } + + @Override + public ListOnlineStoresResponse listOnlineStores(ListOnlineStoresRequest request) { + String path = "/api/2.0/feature-store/online-stores"; + try { + Request req = new Request("GET", path); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + return apiClient.execute(req, ListOnlineStoresResponse.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } + + @Override + public PublishTableResponse publishTable(PublishTableRequest request) { + String path = + String.format("/api/2.0/feature-store/tables/%s/publish", request.getSourceTableName()); + try { + Request req = new Request("POST", path, apiClient.serialize(request)); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + req.withHeader("Content-Type", "application/json"); + return apiClient.execute(req, PublishTableResponse.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } + + @Override + public OnlineStore updateOnlineStore(UpdateOnlineStoreRequest request) { + String path = String.format("/api/2.0/feature-store/online-stores/%s", request.getName()); + try { + Request req = new Request("PATCH", path, apiClient.serialize(request.getOnlineStore())); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + req.withHeader("Content-Type", "application/json"); + return apiClient.execute(req, OnlineStore.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureStoreService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureStoreService.java new file mode 100755 index 000000000..65bbe351a --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureStoreService.java @@ -0,0 +1,37 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; + +/** + * A feature store is a centralized repository that enables data scientists to find and share + * features. Using a feature store also ensures that the code used to compute feature values is the + * same during model training and when the model is used for inference. + * + *

An online store is a low-latency database used for feature lookup during real-time model + * inference or serve feature for real-time applications. + * + *

This is the high-level interface, that contains generated methods. + * + *

Evolving: this interface is under development. Method signatures may change. + */ +@Generated +public interface FeatureStoreService { + /** Create an Online Feature Store. */ + OnlineStore createOnlineStore(CreateOnlineStoreRequest createOnlineStoreRequest); + + /** Delete an Online Feature Store. */ + void deleteOnlineStore(DeleteOnlineStoreRequest deleteOnlineStoreRequest); + + /** Get an Online Feature Store. */ + OnlineStore getOnlineStore(GetOnlineStoreRequest getOnlineStoreRequest); + + /** List Online Feature Stores. */ + ListOnlineStoresResponse listOnlineStores(ListOnlineStoresRequest listOnlineStoresRequest); + + /** Publish features. */ + PublishTableResponse publishTable(PublishTableRequest publishTableRequest); + + /** Update an Online Feature Store. */ + OnlineStore updateOnlineStore(UpdateOnlineStoreRequest updateOnlineStoreRequest); +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureTag.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureTag.java new file mode 100755 index 000000000..38dd9fa5c --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureTag.java @@ -0,0 +1,56 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +/** Represents a tag on a feature in a feature table. */ +@Generated +public class FeatureTag { + /** */ + @JsonProperty("key") + private String key; + + /** */ + @JsonProperty("value") + private String value; + + public FeatureTag setKey(String key) { + this.key = key; + return this; + } + + public String getKey() { + return key; + } + + public FeatureTag setValue(String value) { + this.value = value; + return this; + } + + public String getValue() { + return value; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + FeatureTag that = (FeatureTag) o; + return Objects.equals(key, that.key) && Objects.equals(value, that.value); + } + + @Override + public int hashCode() { + return Objects.hash(key, value); + } + + @Override + public String toString() { + return new ToStringer(FeatureTag.class).add("key", key).add("value", value).toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ForecastingAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ForecastingAPI.java index ced569e1f..508a7123f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ForecastingAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ForecastingAPI.java @@ -93,11 +93,7 @@ public Wait createEx .setForecastHorizon(forecastHorizon)); } - /** - * Create a forecasting experiment. - * - *

Creates a serverless forecasting experiment. Returns the experiment ID. - */ + /** Creates a serverless forecasting experiment. Returns the experiment ID. */ public Wait createExperiment( CreateForecastingExperimentRequest request) { CreateForecastingExperimentResponse response = impl.createExperiment(request); @@ -111,11 +107,7 @@ public ForecastingExperiment getExperiment(String experimentId) { return getExperiment(new GetForecastingExperimentRequest().setExperimentId(experimentId)); } - /** - * Get a forecasting experiment. - * - *

Public RPC to get forecasting experiment - */ + /** Public RPC to get forecasting experiment */ public ForecastingExperiment getExperiment(GetForecastingExperimentRequest request) { return impl.getExperiment(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ForecastingService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ForecastingService.java index f525514e2..394152708 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ForecastingService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ForecastingService.java @@ -12,19 +12,11 @@ */ @Generated public interface ForecastingService { - /** - * Create a forecasting experiment. - * - *

Creates a serverless forecasting experiment. Returns the experiment ID. - */ + /** Creates a serverless forecasting experiment. Returns the experiment ID. */ CreateForecastingExperimentResponse createExperiment( CreateForecastingExperimentRequest createForecastingExperimentRequest); - /** - * Get a forecasting experiment. - * - *

Public RPC to get forecasting experiment - */ + /** Public RPC to get forecasting experiment */ ForecastingExperiment getExperiment( GetForecastingExperimentRequest getForecastingExperimentRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetByNameRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetByNameRequest.java index b3e7b7da2..dd6ff9736 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetByNameRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetByNameRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get an experiment by name */ @Generated public class GetByNameRequest { /** Name of the associated experiment. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetExperimentPermissionLevelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetExperimentPermissionLevelsRequest.java index 5f1692921..b1dd3748c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetExperimentPermissionLevelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetExperimentPermissionLevelsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get experiment permission levels */ @Generated public class GetExperimentPermissionLevelsRequest { /** The experiment for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetExperimentPermissionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetExperimentPermissionsRequest.java index 39f0fcaba..a8552005f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetExperimentPermissionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetExperimentPermissionsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get experiment permissions */ @Generated public class GetExperimentPermissionsRequest { /** The experiment for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetExperimentRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetExperimentRequest.java index 459b4a3ff..a1b267484 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetExperimentRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetExperimentRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get an experiment */ @Generated public class GetExperimentRequest { /** ID of the associated experiment. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetFeatureLineageRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetFeatureLineageRequest.java new file mode 100755 index 000000000..94fcfa7c2 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetFeatureLineageRequest.java @@ -0,0 +1,57 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Objects; + +@Generated +public class GetFeatureLineageRequest { + /** The name of the feature. */ + @JsonIgnore private String featureName; + + /** The full name of the feature table in Unity Catalog. */ + @JsonIgnore private String tableName; + + public GetFeatureLineageRequest setFeatureName(String featureName) { + this.featureName = featureName; + return this; + } + + public String getFeatureName() { + return featureName; + } + + public GetFeatureLineageRequest setTableName(String tableName) { + this.tableName = tableName; + return this; + } + + public String getTableName() { + return tableName; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + GetFeatureLineageRequest that = (GetFeatureLineageRequest) o; + return Objects.equals(featureName, that.featureName) + && Objects.equals(tableName, that.tableName); + } + + @Override + public int hashCode() { + return Objects.hash(featureName, tableName); + } + + @Override + public String toString() { + return new ToStringer(GetFeatureLineageRequest.class) + .add("featureName", featureName) + .add("tableName", tableName) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetFeatureTagRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetFeatureTagRequest.java new file mode 100755 index 000000000..df0112f7e --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetFeatureTagRequest.java @@ -0,0 +1,71 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Objects; + +@Generated +public class GetFeatureTagRequest { + /** */ + @JsonIgnore private String featureName; + + /** */ + @JsonIgnore private String key; + + /** */ + @JsonIgnore private String tableName; + + public GetFeatureTagRequest setFeatureName(String featureName) { + this.featureName = featureName; + return this; + } + + public String getFeatureName() { + return featureName; + } + + public GetFeatureTagRequest setKey(String key) { + this.key = key; + return this; + } + + public String getKey() { + return key; + } + + public GetFeatureTagRequest setTableName(String tableName) { + this.tableName = tableName; + return this; + } + + public String getTableName() { + return tableName; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + GetFeatureTagRequest that = (GetFeatureTagRequest) o; + return Objects.equals(featureName, that.featureName) + && Objects.equals(key, that.key) + && Objects.equals(tableName, that.tableName); + } + + @Override + public int hashCode() { + return Objects.hash(featureName, key, tableName); + } + + @Override + public String toString() { + return new ToStringer(GetFeatureTagRequest.class) + .add("featureName", featureName) + .add("key", key) + .add("tableName", tableName) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetForecastingExperimentRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetForecastingExperimentRequest.java index bf12ad25a..f760475bb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetForecastingExperimentRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetForecastingExperimentRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a forecasting experiment */ @Generated public class GetForecastingExperimentRequest { /** The unique ID of a forecasting experiment */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetHistoryRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetHistoryRequest.java index 60f597c20..223e481b2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetHistoryRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetHistoryRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get metric history for a run */ @Generated public class GetHistoryRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetLoggedModelRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetLoggedModelRequest.java index e2f070898..c066fcf74 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetLoggedModelRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetLoggedModelRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a logged model */ @Generated public class GetLoggedModelRequest { /** The ID of the logged model to retrieve. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetModelRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetModelRequest.java index a4535382a..0b7a152f3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetModelRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetModelRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get model */ @Generated public class GetModelRequest { /** Registered model unique name identifier. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetModelVersionDownloadUriRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetModelVersionDownloadUriRequest.java index 1d2142e2f..477b366e8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetModelVersionDownloadUriRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetModelVersionDownloadUriRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a model version URI */ @Generated public class GetModelVersionDownloadUriRequest { /** Name of the registered model */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetModelVersionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetModelVersionRequest.java index da9b7df1d..33918b34b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetModelVersionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetModelVersionRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a model version */ @Generated public class GetModelVersionRequest { /** Name of the registered model */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetOnlineStoreRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetOnlineStoreRequest.java new file mode 100755 index 000000000..52847c22a --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetOnlineStoreRequest.java @@ -0,0 +1,41 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Objects; + +@Generated +public class GetOnlineStoreRequest { + /** Name of the online store to get. */ + @JsonIgnore private String name; + + public GetOnlineStoreRequest setName(String name) { + this.name = name; + return this; + } + + public String getName() { + return name; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + GetOnlineStoreRequest that = (GetOnlineStoreRequest) o; + return Objects.equals(name, that.name); + } + + @Override + public int hashCode() { + return Objects.hash(name); + } + + @Override + public String toString() { + return new ToStringer(GetOnlineStoreRequest.class).add("name", name).toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRegisteredModelPermissionLevelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRegisteredModelPermissionLevelsRequest.java index 77ff13346..7da7d957d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRegisteredModelPermissionLevelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRegisteredModelPermissionLevelsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get registered model permission levels */ @Generated public class GetRegisteredModelPermissionLevelsRequest { /** The registered model for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRegisteredModelPermissionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRegisteredModelPermissionsRequest.java index 54b5ac09e..254230c6b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRegisteredModelPermissionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRegisteredModelPermissionsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get registered model permissions */ @Generated public class GetRegisteredModelPermissionsRequest { /** The registered model for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRunRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRunRequest.java index 3206a8d1a..963d55de4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRunRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRunRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a run */ @Generated public class GetRunRequest { /** ID of the run to fetch. Must be provided. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListArtifactsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListArtifactsRequest.java index d1211a376..50e6f718f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListArtifactsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListArtifactsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List artifacts */ @Generated public class ListArtifactsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListExperimentsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListExperimentsRequest.java index f3b09e157..6b50ba2bd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListExperimentsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListExperimentsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List experiments */ @Generated public class ListExperimentsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListFeatureTagsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListFeatureTagsRequest.java new file mode 100755 index 000000000..b8a9585d3 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListFeatureTagsRequest.java @@ -0,0 +1,90 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.QueryParam; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Objects; + +@Generated +public class ListFeatureTagsRequest { + /** */ + @JsonIgnore private String featureName; + + /** The maximum number of results to return. */ + @JsonIgnore + @QueryParam("page_size") + private Long pageSize; + + /** Pagination token to go to the next page based on a previous query. */ + @JsonIgnore + @QueryParam("page_token") + private String pageToken; + + /** */ + @JsonIgnore private String tableName; + + public ListFeatureTagsRequest setFeatureName(String featureName) { + this.featureName = featureName; + return this; + } + + public String getFeatureName() { + return featureName; + } + + public ListFeatureTagsRequest setPageSize(Long pageSize) { + this.pageSize = pageSize; + return this; + } + + public Long getPageSize() { + return pageSize; + } + + public ListFeatureTagsRequest setPageToken(String pageToken) { + this.pageToken = pageToken; + return this; + } + + public String getPageToken() { + return pageToken; + } + + public ListFeatureTagsRequest setTableName(String tableName) { + this.tableName = tableName; + return this; + } + + public String getTableName() { + return tableName; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + ListFeatureTagsRequest that = (ListFeatureTagsRequest) o; + return Objects.equals(featureName, that.featureName) + && Objects.equals(pageSize, that.pageSize) + && Objects.equals(pageToken, that.pageToken) + && Objects.equals(tableName, that.tableName); + } + + @Override + public int hashCode() { + return Objects.hash(featureName, pageSize, pageToken, tableName); + } + + @Override + public String toString() { + return new ToStringer(ListFeatureTagsRequest.class) + .add("featureName", featureName) + .add("pageSize", pageSize) + .add("pageToken", pageToken) + .add("tableName", tableName) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListFeatureTagsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListFeatureTagsResponse.java new file mode 100755 index 000000000..c68c8ab3f --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListFeatureTagsResponse.java @@ -0,0 +1,61 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Collection; +import java.util.Objects; + +/** Response message for ListFeatureTag. */ +@Generated +public class ListFeatureTagsResponse { + /** */ + @JsonProperty("feature_tags") + private Collection featureTags; + + /** Pagination token to request the next page of results for this query. */ + @JsonProperty("next_page_token") + private String nextPageToken; + + public ListFeatureTagsResponse setFeatureTags(Collection featureTags) { + this.featureTags = featureTags; + return this; + } + + public Collection getFeatureTags() { + return featureTags; + } + + public ListFeatureTagsResponse setNextPageToken(String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + public String getNextPageToken() { + return nextPageToken; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + ListFeatureTagsResponse that = (ListFeatureTagsResponse) o; + return Objects.equals(featureTags, that.featureTags) + && Objects.equals(nextPageToken, that.nextPageToken); + } + + @Override + public int hashCode() { + return Objects.hash(featureTags, nextPageToken); + } + + @Override + public String toString() { + return new ToStringer(ListFeatureTagsResponse.class) + .add("featureTags", featureTags) + .add("nextPageToken", nextPageToken) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListModelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListModelsRequest.java index c39f0b536..c35a2bdc8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListModelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListModelsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List models */ @Generated public class ListModelsRequest { /** Maximum number of registered models desired. Max threshold is 1000. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListOnlineStoresRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListOnlineStoresRequest.java new file mode 100755 index 000000000..69bb78993 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListOnlineStoresRequest.java @@ -0,0 +1,61 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.QueryParam; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Objects; + +@Generated +public class ListOnlineStoresRequest { + /** The maximum number of results to return. Defaults to 100 if not specified. */ + @JsonIgnore + @QueryParam("page_size") + private Long pageSize; + + /** Pagination token to go to the next page based on a previous query. */ + @JsonIgnore + @QueryParam("page_token") + private String pageToken; + + public ListOnlineStoresRequest setPageSize(Long pageSize) { + this.pageSize = pageSize; + return this; + } + + public Long getPageSize() { + return pageSize; + } + + public ListOnlineStoresRequest setPageToken(String pageToken) { + this.pageToken = pageToken; + return this; + } + + public String getPageToken() { + return pageToken; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + ListOnlineStoresRequest that = (ListOnlineStoresRequest) o; + return Objects.equals(pageSize, that.pageSize) && Objects.equals(pageToken, that.pageToken); + } + + @Override + public int hashCode() { + return Objects.hash(pageSize, pageToken); + } + + @Override + public String toString() { + return new ToStringer(ListOnlineStoresRequest.class) + .add("pageSize", pageSize) + .add("pageToken", pageToken) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListOnlineStoresResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListOnlineStoresResponse.java new file mode 100755 index 000000000..f76f58175 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListOnlineStoresResponse.java @@ -0,0 +1,60 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Collection; +import java.util.Objects; + +@Generated +public class ListOnlineStoresResponse { + /** Pagination token to request the next page of results for this query. */ + @JsonProperty("next_page_token") + private String nextPageToken; + + /** List of online stores. */ + @JsonProperty("online_stores") + private Collection onlineStores; + + public ListOnlineStoresResponse setNextPageToken(String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + public String getNextPageToken() { + return nextPageToken; + } + + public ListOnlineStoresResponse setOnlineStores(Collection onlineStores) { + this.onlineStores = onlineStores; + return this; + } + + public Collection getOnlineStores() { + return onlineStores; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + ListOnlineStoresResponse that = (ListOnlineStoresResponse) o; + return Objects.equals(nextPageToken, that.nextPageToken) + && Objects.equals(onlineStores, that.onlineStores); + } + + @Override + public int hashCode() { + return Objects.hash(nextPageToken, onlineStores); + } + + @Override + public String toString() { + return new ToStringer(ListOnlineStoresResponse.class) + .add("nextPageToken", nextPageToken) + .add("onlineStores", onlineStores) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListTransitionRequestsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListTransitionRequestsRequest.java index 5f6196c45..0f5e5bf08 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListTransitionRequestsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListTransitionRequestsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List transition requests */ @Generated public class ListTransitionRequestsRequest { /** Name of the model. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListWebhooksRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListWebhooksRequest.java index 4d387e55d..4afa99dbf 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListWebhooksRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListWebhooksRequest.java @@ -9,7 +9,6 @@ import java.util.Collection; import java.util.Objects; -/** List registry webhooks */ @Generated public class ListWebhooksRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeaturesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeaturesAPI.java new file mode 100755 index 000000000..06f653c4f --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeaturesAPI.java @@ -0,0 +1,114 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.core.ApiClient; +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.Paginator; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Materialized Features are columns in tables and views that can be directly used as features to + * train and serve ML models. + */ +@Generated +public class MaterializedFeaturesAPI { + private static final Logger LOG = LoggerFactory.getLogger(MaterializedFeaturesAPI.class); + + private final MaterializedFeaturesService impl; + + /** Regular-use constructor */ + public MaterializedFeaturesAPI(ApiClient apiClient) { + impl = new MaterializedFeaturesImpl(apiClient); + } + + /** Constructor for mocks */ + public MaterializedFeaturesAPI(MaterializedFeaturesService mock) { + impl = mock; + } + + public FeatureTag createFeatureTag(String tableName, String featureName, FeatureTag featureTag) { + return createFeatureTag( + new CreateFeatureTagRequest() + .setTableName(tableName) + .setFeatureName(featureName) + .setFeatureTag(featureTag)); + } + + /** Creates a FeatureTag. */ + public FeatureTag createFeatureTag(CreateFeatureTagRequest request) { + return impl.createFeatureTag(request); + } + + public void deleteFeatureTag(String tableName, String featureName, String key) { + deleteFeatureTag( + new DeleteFeatureTagRequest() + .setTableName(tableName) + .setFeatureName(featureName) + .setKey(key)); + } + + /** Deletes a FeatureTag. */ + public void deleteFeatureTag(DeleteFeatureTagRequest request) { + impl.deleteFeatureTag(request); + } + + public FeatureLineage getFeatureLineage(String tableName, String featureName) { + return getFeatureLineage( + new GetFeatureLineageRequest().setTableName(tableName).setFeatureName(featureName)); + } + + /** Get Feature Lineage. */ + public FeatureLineage getFeatureLineage(GetFeatureLineageRequest request) { + return impl.getFeatureLineage(request); + } + + public FeatureTag getFeatureTag(String tableName, String featureName, String key) { + return getFeatureTag( + new GetFeatureTagRequest().setTableName(tableName).setFeatureName(featureName).setKey(key)); + } + + /** Gets a FeatureTag. */ + public FeatureTag getFeatureTag(GetFeatureTagRequest request) { + return impl.getFeatureTag(request); + } + + public Iterable listFeatureTags(String tableName, String featureName) { + return listFeatureTags( + new ListFeatureTagsRequest().setTableName(tableName).setFeatureName(featureName)); + } + + /** Lists FeatureTags. */ + public Iterable listFeatureTags(ListFeatureTagsRequest request) { + return new Paginator<>( + request, + impl::listFeatureTags, + ListFeatureTagsResponse::getFeatureTags, + response -> { + String token = response.getNextPageToken(); + if (token == null || token.isEmpty()) { + return null; + } + return request.setPageToken(token); + }); + } + + public FeatureTag updateFeatureTag( + String tableName, String featureName, String key, FeatureTag featureTag) { + return updateFeatureTag( + new UpdateFeatureTagRequest() + .setTableName(tableName) + .setFeatureName(featureName) + .setKey(key) + .setFeatureTag(featureTag)); + } + + /** Updates a FeatureTag. */ + public FeatureTag updateFeatureTag(UpdateFeatureTagRequest request) { + return impl.updateFeatureTag(request); + } + + public MaterializedFeaturesService impl() { + return impl; + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeaturesImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeaturesImpl.java new file mode 100755 index 000000000..44b9126de --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeaturesImpl.java @@ -0,0 +1,116 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.core.ApiClient; +import com.databricks.sdk.core.DatabricksException; +import com.databricks.sdk.core.http.Request; +import com.databricks.sdk.support.Generated; +import java.io.IOException; + +/** Package-local implementation of MaterializedFeatures */ +@Generated +class MaterializedFeaturesImpl implements MaterializedFeaturesService { + private final ApiClient apiClient; + + public MaterializedFeaturesImpl(ApiClient apiClient) { + this.apiClient = apiClient; + } + + @Override + public FeatureTag createFeatureTag(CreateFeatureTagRequest request) { + String path = + String.format( + "/api/2.0/feature-store/feature-tables/%s/features/%s/tags", + request.getTableName(), request.getFeatureName()); + try { + Request req = new Request("POST", path, apiClient.serialize(request.getFeatureTag())); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + req.withHeader("Content-Type", "application/json"); + return apiClient.execute(req, FeatureTag.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } + + @Override + public void deleteFeatureTag(DeleteFeatureTagRequest request) { + String path = + String.format( + "/api/2.0/feature-store/feature-tables/%s/features/%s/tags/%s", + request.getTableName(), request.getFeatureName(), request.getKey()); + try { + Request req = new Request("DELETE", path); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + apiClient.execute(req, DeleteFeatureTagResponse.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } + + @Override + public FeatureLineage getFeatureLineage(GetFeatureLineageRequest request) { + String path = + String.format( + "/api/2.0/feature-store/feature-tables/%s/features/%s/lineage", + request.getTableName(), request.getFeatureName()); + try { + Request req = new Request("GET", path); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + return apiClient.execute(req, FeatureLineage.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } + + @Override + public FeatureTag getFeatureTag(GetFeatureTagRequest request) { + String path = + String.format( + "/api/2.0/feature-store/feature-tables/%s/features/%s/tags/%s", + request.getTableName(), request.getFeatureName(), request.getKey()); + try { + Request req = new Request("GET", path); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + return apiClient.execute(req, FeatureTag.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } + + @Override + public ListFeatureTagsResponse listFeatureTags(ListFeatureTagsRequest request) { + String path = + String.format( + "/api/2.0/feature-store/feature-tables/%s/features/%s/tags", + request.getTableName(), request.getFeatureName()); + try { + Request req = new Request("GET", path); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + return apiClient.execute(req, ListFeatureTagsResponse.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } + + @Override + public FeatureTag updateFeatureTag(UpdateFeatureTagRequest request) { + String path = + String.format( + "/api/2.0/feature-store/feature-tables/%s/features/%s/tags/%s", + request.getTableName(), request.getFeatureName(), request.getKey()); + try { + Request req = new Request("PATCH", path, apiClient.serialize(request.getFeatureTag())); + ApiClient.setQuery(req, request); + req.withHeader("Accept", "application/json"); + req.withHeader("Content-Type", "application/json"); + return apiClient.execute(req, FeatureTag.class); + } catch (IOException e) { + throw new DatabricksException("IO error: " + e.getMessage(), e); + } + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeaturesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeaturesService.java new file mode 100755 index 000000000..9133c9882 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeaturesService.java @@ -0,0 +1,33 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; + +/** + * Materialized Features are columns in tables and views that can be directly used as features to + * train and serve ML models. + * + *

This is the high-level interface, that contains generated methods. + * + *

Evolving: this interface is under development. Method signatures may change. + */ +@Generated +public interface MaterializedFeaturesService { + /** Creates a FeatureTag. */ + FeatureTag createFeatureTag(CreateFeatureTagRequest createFeatureTagRequest); + + /** Deletes a FeatureTag. */ + void deleteFeatureTag(DeleteFeatureTagRequest deleteFeatureTagRequest); + + /** Get Feature Lineage. */ + FeatureLineage getFeatureLineage(GetFeatureLineageRequest getFeatureLineageRequest); + + /** Gets a FeatureTag. */ + FeatureTag getFeatureTag(GetFeatureTagRequest getFeatureTagRequest); + + /** Lists FeatureTags. */ + ListFeatureTagsResponse listFeatureTags(ListFeatureTagsRequest listFeatureTagsRequest); + + /** Updates a FeatureTag. */ + FeatureTag updateFeatureTag(UpdateFeatureTagRequest updateFeatureTagRequest); +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelRegistryAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelRegistryAPI.java index 9c4325eb9..2c970330f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelRegistryAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelRegistryAPI.java @@ -43,11 +43,7 @@ public ApproveTransitionRequestResponse approveTransitionRequest( .setArchiveExistingVersions(archiveExistingVersions)); } - /** - * Approve transition request. - * - *

Approves a model version stage transition request. - */ + /** Approves a model version stage transition request. */ public ApproveTransitionRequestResponse approveTransitionRequest( ApproveTransitionRequest request) { return impl.approveTransitionRequest(request); @@ -58,9 +54,7 @@ public CreateCommentResponse createComment(String name, String version, String c } /** - * Post a comment. - * - *

Posts a comment on a model version. A comment can be submitted either by a user or + * Posts a comment on a model version. A comment can be submitted either by a user or * programmatically to display relevant information about the model. For example, test results or * deployment errors. */ @@ -73,9 +67,7 @@ public CreateModelResponse createModel(String name) { } /** - * Create a model. - * - *

Creates a new registered model with the name specified in the request body. + * Creates a new registered model with the name specified in the request body. * *

Throws `RESOURCE_ALREADY_EXISTS` if a registered model with the given name exists. */ @@ -87,11 +79,7 @@ public CreateModelVersionResponse createModelVersion(String name, String source) return createModelVersion(new CreateModelVersionRequest().setName(name).setSource(source)); } - /** - * Create a model version. - * - *

Creates a model version. - */ + /** Creates a model version. */ public CreateModelVersionResponse createModelVersion(CreateModelVersionRequest request) { return impl.createModelVersion(request); } @@ -102,11 +90,7 @@ public CreateTransitionRequestResponse createTransitionRequest( new CreateTransitionRequest().setName(name).setVersion(version).setStage(stage)); } - /** - * Make a transition request. - * - *

Creates a model version stage transition request. - */ + /** Creates a model version stage transition request. */ public CreateTransitionRequestResponse createTransitionRequest(CreateTransitionRequest request) { return impl.createTransitionRequest(request); } @@ -116,9 +100,7 @@ public CreateWebhookResponse createWebhook(Collection even } /** - * Create a webhook. - * - *

**NOTE**: This endpoint is in Public Preview. + * **NOTE**: This endpoint is in Public Preview. * *

Creates a registry webhook. */ @@ -130,11 +112,7 @@ public void deleteComment(String id) { deleteComment(new DeleteCommentRequest().setId(id)); } - /** - * Delete a comment. - * - *

Deletes a comment on a model version. - */ + /** Deletes a comment on a model version. */ public void deleteComment(DeleteCommentRequest request) { impl.deleteComment(request); } @@ -143,11 +121,7 @@ public void deleteModel(String name) { deleteModel(new DeleteModelRequest().setName(name)); } - /** - * Delete a model. - * - *

Deletes a registered model. - */ + /** Deletes a registered model. */ public void deleteModel(DeleteModelRequest request) { impl.deleteModel(request); } @@ -156,11 +130,7 @@ public void deleteModelTag(String name, String key) { deleteModelTag(new DeleteModelTagRequest().setName(name).setKey(key)); } - /** - * Delete a model tag. - * - *

Deletes the tag for a registered model. - */ + /** Deletes the tag for a registered model. */ public void deleteModelTag(DeleteModelTagRequest request) { impl.deleteModelTag(request); } @@ -169,11 +139,7 @@ public void deleteModelVersion(String name, String version) { deleteModelVersion(new DeleteModelVersionRequest().setName(name).setVersion(version)); } - /** - * Delete a model version. - * - *

Deletes a model version. - */ + /** Deletes a model version. */ public void deleteModelVersion(DeleteModelVersionRequest request) { impl.deleteModelVersion(request); } @@ -183,11 +149,7 @@ public void deleteModelVersionTag(String name, String version, String key) { new DeleteModelVersionTagRequest().setName(name).setVersion(version).setKey(key)); } - /** - * Delete a model version tag. - * - *

Deletes a model version tag. - */ + /** Deletes a model version tag. */ public void deleteModelVersionTag(DeleteModelVersionTagRequest request) { impl.deleteModelVersionTag(request); } @@ -202,19 +164,13 @@ public void deleteTransitionRequest( .setCreator(creator)); } - /** - * Delete a transition request. - * - *

Cancels a model version stage transition request. - */ + /** Cancels a model version stage transition request. */ public void deleteTransitionRequest(DeleteTransitionRequestRequest request) { impl.deleteTransitionRequest(request); } /** - * Delete a webhook. - * - *

**NOTE:** This endpoint is in Public Preview. + * **NOTE:** This endpoint is in Public Preview. * *

Deletes a registry webhook. */ @@ -226,11 +182,7 @@ public Iterable getLatestVersions(String name) { return getLatestVersions(new GetLatestVersionsRequest().setName(name)); } - /** - * Get the latest version. - * - *

Gets the latest version of a registered model. - */ + /** Gets the latest version of a registered model. */ public Iterable getLatestVersions(GetLatestVersionsRequest request) { return new Paginator<>( request, @@ -244,9 +196,7 @@ public GetModelResponse getModel(String name) { } /** - * Get model. - * - *

Get the details of a model. This is a Databricks workspace version of the [MLflow endpoint] + * Get the details of a model. This is a Databricks workspace version of the [MLflow endpoint] * that also returns the model's Databricks workspace ID and the permission level of the * requesting user on the model. * @@ -260,11 +210,7 @@ public GetModelVersionResponse getModelVersion(String name, String version) { return getModelVersion(new GetModelVersionRequest().setName(name).setVersion(version)); } - /** - * Get a model version. - * - *

Get a model version. - */ + /** Get a model version. */ public GetModelVersionResponse getModelVersion(GetModelVersionRequest request) { return impl.getModelVersion(request); } @@ -275,11 +221,7 @@ public GetModelVersionDownloadUriResponse getModelVersionDownloadUri( new GetModelVersionDownloadUriRequest().setName(name).setVersion(version)); } - /** - * Get a model version URI. - * - *

Gets a URI to download the model version. - */ + /** Gets a URI to download the model version. */ public GetModelVersionDownloadUriResponse getModelVersionDownloadUri( GetModelVersionDownloadUriRequest request) { return impl.getModelVersionDownloadUri(request); @@ -290,11 +232,7 @@ public GetRegisteredModelPermissionLevelsResponse getPermissionLevels(String reg new GetRegisteredModelPermissionLevelsRequest().setRegisteredModelId(registeredModelId)); } - /** - * Get registered model permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ public GetRegisteredModelPermissionLevelsResponse getPermissionLevels( GetRegisteredModelPermissionLevelsRequest request) { return impl.getPermissionLevels(request); @@ -306,20 +244,14 @@ public RegisteredModelPermissions getPermissions(String registeredModelId) { } /** - * Get registered model permissions. - * - *

Gets the permissions of a registered model. Registered models can inherit permissions from + * Gets the permissions of a registered model. Registered models can inherit permissions from * their root object. */ public RegisteredModelPermissions getPermissions(GetRegisteredModelPermissionsRequest request) { return impl.getPermissions(request); } - /** - * List models. - * - *

Lists all available registered models, up to the limit specified in __max_results__. - */ + /** Lists all available registered models, up to the limit specified in __max_results__. */ public Iterable listModels(ListModelsRequest request) { return new Paginator<>( request, @@ -339,11 +271,7 @@ public Iterable listTransitionRequests(String name, String version) { new ListTransitionRequestsRequest().setName(name).setVersion(version)); } - /** - * List transition requests. - * - *

Gets a list of all open stage transition requests for the model version. - */ + /** Gets a list of all open stage transition requests for the model version. */ public Iterable listTransitionRequests(ListTransitionRequestsRequest request) { return new Paginator<>( request, @@ -353,9 +281,7 @@ public Iterable listTransitionRequests(ListTransitionRequestsRequest r } /** - * List registry webhooks. - * - *

**NOTE:** This endpoint is in Public Preview. + * **NOTE:** This endpoint is in Public Preview. * *

Lists all registry webhooks. */ @@ -379,11 +305,7 @@ public RejectTransitionRequestResponse rejectTransitionRequest( new RejectTransitionRequest().setName(name).setVersion(version).setStage(stage)); } - /** - * Reject a transition request. - * - *

Rejects a model version stage transition request. - */ + /** Rejects a model version stage transition request. */ public RejectTransitionRequestResponse rejectTransitionRequest(RejectTransitionRequest request) { return impl.rejectTransitionRequest(request); } @@ -392,20 +314,12 @@ public RenameModelResponse renameModel(String name) { return renameModel(new RenameModelRequest().setName(name)); } - /** - * Rename a model. - * - *

Renames a registered model. - */ + /** Renames a registered model. */ public RenameModelResponse renameModel(RenameModelRequest request) { return impl.renameModel(request); } - /** - * Searches model versions. - * - *

Searches for specific model versions based on the supplied __filter__. - */ + /** Searches for specific model versions based on the supplied __filter__. */ public Iterable searchModelVersions(SearchModelVersionsRequest request) { return new Paginator<>( request, @@ -420,11 +334,7 @@ public Iterable searchModelVersions(SearchModelVersionsRequest req }); } - /** - * Search models. - * - *

Search for registered models based on the specified __filter__. - */ + /** Search for registered models based on the specified __filter__. */ public Iterable searchModels(SearchModelsRequest request) { return new Paginator<>( request, @@ -443,11 +353,7 @@ public void setModelTag(String name, String key, String value) { setModelTag(new SetModelTagRequest().setName(name).setKey(key).setValue(value)); } - /** - * Set a tag. - * - *

Sets a tag on a registered model. - */ + /** Sets a tag on a registered model. */ public void setModelTag(SetModelTagRequest request) { impl.setModelTag(request); } @@ -461,11 +367,7 @@ public void setModelVersionTag(String name, String version, String key, String v .setValue(value)); } - /** - * Set a version tag. - * - *

Sets a model version tag. - */ + /** Sets a model version tag. */ public void setModelVersionTag(SetModelVersionTagRequest request) { impl.setModelVersionTag(request); } @@ -476,11 +378,8 @@ public RegisteredModelPermissions setPermissions(String registeredModelId) { } /** - * Set registered model permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ public RegisteredModelPermissions setPermissions(RegisteredModelPermissionsRequest request) { return impl.setPermissions(request); @@ -491,9 +390,7 @@ public TestRegistryWebhookResponse testRegistryWebhook(String id) { } /** - * Test a webhook. - * - *

**NOTE:** This endpoint is in Public Preview. + * **NOTE:** This endpoint is in Public Preview. * *

Tests a registry webhook. */ @@ -512,9 +409,7 @@ public TransitionStageResponse transitionStage( } /** - * Transition a stage. - * - *

Transition a model version's stage. This is a Databricks workspace version of the [MLflow + * Transition a model version's stage. This is a Databricks workspace version of the [MLflow * endpoint] that also accepts a comment associated with the transition to be recorded.", * *

[MLflow endpoint]: @@ -528,11 +423,7 @@ public UpdateCommentResponse updateComment(String id, String comment) { return updateComment(new UpdateComment().setId(id).setComment(comment)); } - /** - * Update a comment. - * - *

Post an edit to a comment on a model version. - */ + /** Post an edit to a comment on a model version. */ public UpdateCommentResponse updateComment(UpdateComment request) { return impl.updateComment(request); } @@ -541,11 +432,7 @@ public void updateModel(String name) { updateModel(new UpdateModelRequest().setName(name)); } - /** - * Update model. - * - *

Updates a registered model. - */ + /** Updates a registered model. */ public void updateModel(UpdateModelRequest request) { impl.updateModel(request); } @@ -554,11 +441,7 @@ public void updateModelVersion(String name, String version) { updateModelVersion(new UpdateModelVersionRequest().setName(name).setVersion(version)); } - /** - * Update model version. - * - *

Updates the model version. - */ + /** Updates the model version. */ public void updateModelVersion(UpdateModelVersionRequest request) { impl.updateModelVersion(request); } @@ -569,10 +452,8 @@ public RegisteredModelPermissions updatePermissions(String registeredModelId) { } /** - * Update registered model permissions. - * - *

Updates the permissions on a registered model. Registered models can inherit permissions - * from their root object. + * Updates the permissions on a registered model. Registered models can inherit permissions from + * their root object. */ public RegisteredModelPermissions updatePermissions(RegisteredModelPermissionsRequest request) { return impl.updatePermissions(request); @@ -583,9 +464,7 @@ public void updateWebhook(String id) { } /** - * Update a webhook. - * - *

**NOTE:** This endpoint is in Public Preview. + * **NOTE:** This endpoint is in Public Preview. * *

Updates a registry webhook. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelRegistryService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelRegistryService.java index 3f9dfae1a..ece320439 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelRegistryService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelRegistryService.java @@ -18,119 +18,69 @@ */ @Generated public interface ModelRegistryService { - /** - * Approve transition request. - * - *

Approves a model version stage transition request. - */ + /** Approves a model version stage transition request. */ ApproveTransitionRequestResponse approveTransitionRequest( ApproveTransitionRequest approveTransitionRequest); /** - * Post a comment. - * - *

Posts a comment on a model version. A comment can be submitted either by a user or + * Posts a comment on a model version. A comment can be submitted either by a user or * programmatically to display relevant information about the model. For example, test results or * deployment errors. */ CreateCommentResponse createComment(CreateComment createComment); /** - * Create a model. - * - *

Creates a new registered model with the name specified in the request body. + * Creates a new registered model with the name specified in the request body. * *

Throws `RESOURCE_ALREADY_EXISTS` if a registered model with the given name exists. */ CreateModelResponse createModel(CreateModelRequest createModelRequest); - /** - * Create a model version. - * - *

Creates a model version. - */ + /** Creates a model version. */ CreateModelVersionResponse createModelVersion( CreateModelVersionRequest createModelVersionRequest); - /** - * Make a transition request. - * - *

Creates a model version stage transition request. - */ + /** Creates a model version stage transition request. */ CreateTransitionRequestResponse createTransitionRequest( CreateTransitionRequest createTransitionRequest); /** - * Create a webhook. - * - *

**NOTE**: This endpoint is in Public Preview. + * **NOTE**: This endpoint is in Public Preview. * *

Creates a registry webhook. */ CreateWebhookResponse createWebhook(CreateRegistryWebhook createRegistryWebhook); - /** - * Delete a comment. - * - *

Deletes a comment on a model version. - */ + /** Deletes a comment on a model version. */ void deleteComment(DeleteCommentRequest deleteCommentRequest); - /** - * Delete a model. - * - *

Deletes a registered model. - */ + /** Deletes a registered model. */ void deleteModel(DeleteModelRequest deleteModelRequest); - /** - * Delete a model tag. - * - *

Deletes the tag for a registered model. - */ + /** Deletes the tag for a registered model. */ void deleteModelTag(DeleteModelTagRequest deleteModelTagRequest); - /** - * Delete a model version. - * - *

Deletes a model version. - */ + /** Deletes a model version. */ void deleteModelVersion(DeleteModelVersionRequest deleteModelVersionRequest); - /** - * Delete a model version tag. - * - *

Deletes a model version tag. - */ + /** Deletes a model version tag. */ void deleteModelVersionTag(DeleteModelVersionTagRequest deleteModelVersionTagRequest); - /** - * Delete a transition request. - * - *

Cancels a model version stage transition request. - */ + /** Cancels a model version stage transition request. */ void deleteTransitionRequest(DeleteTransitionRequestRequest deleteTransitionRequestRequest); /** - * Delete a webhook. - * - *

**NOTE:** This endpoint is in Public Preview. + * **NOTE:** This endpoint is in Public Preview. * *

Deletes a registry webhook. */ void deleteWebhook(DeleteWebhookRequest deleteWebhookRequest); - /** - * Get the latest version. - * - *

Gets the latest version of a registered model. - */ + /** Gets the latest version of a registered model. */ GetLatestVersionsResponse getLatestVersions(GetLatestVersionsRequest getLatestVersionsRequest); /** - * Get model. - * - *

Get the details of a model. This is a Databricks workspace version of the [MLflow endpoint] + * Get the details of a model. This is a Databricks workspace version of the [MLflow endpoint] * that also returns the model's Databricks workspace ID and the permission level of the * requesting user on the model. * @@ -138,120 +88,67 @@ CreateTransitionRequestResponse createTransitionRequest( */ GetModelResponse getModel(GetModelRequest getModelRequest); - /** - * Get a model version. - * - *

Get a model version. - */ + /** Get a model version. */ GetModelVersionResponse getModelVersion(GetModelVersionRequest getModelVersionRequest); - /** - * Get a model version URI. - * - *

Gets a URI to download the model version. - */ + /** Gets a URI to download the model version. */ GetModelVersionDownloadUriResponse getModelVersionDownloadUri( GetModelVersionDownloadUriRequest getModelVersionDownloadUriRequest); - /** - * Get registered model permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ GetRegisteredModelPermissionLevelsResponse getPermissionLevels( GetRegisteredModelPermissionLevelsRequest getRegisteredModelPermissionLevelsRequest); /** - * Get registered model permissions. - * - *

Gets the permissions of a registered model. Registered models can inherit permissions from + * Gets the permissions of a registered model. Registered models can inherit permissions from * their root object. */ RegisteredModelPermissions getPermissions( GetRegisteredModelPermissionsRequest getRegisteredModelPermissionsRequest); - /** - * List models. - * - *

Lists all available registered models, up to the limit specified in __max_results__. - */ + /** Lists all available registered models, up to the limit specified in __max_results__. */ ListModelsResponse listModels(ListModelsRequest listModelsRequest); - /** - * List transition requests. - * - *

Gets a list of all open stage transition requests for the model version. - */ + /** Gets a list of all open stage transition requests for the model version. */ ListTransitionRequestsResponse listTransitionRequests( ListTransitionRequestsRequest listTransitionRequestsRequest); /** - * List registry webhooks. - * - *

**NOTE:** This endpoint is in Public Preview. + * **NOTE:** This endpoint is in Public Preview. * *

Lists all registry webhooks. */ ListRegistryWebhooks listWebhooks(ListWebhooksRequest listWebhooksRequest); - /** - * Reject a transition request. - * - *

Rejects a model version stage transition request. - */ + /** Rejects a model version stage transition request. */ RejectTransitionRequestResponse rejectTransitionRequest( RejectTransitionRequest rejectTransitionRequest); - /** - * Rename a model. - * - *

Renames a registered model. - */ + /** Renames a registered model. */ RenameModelResponse renameModel(RenameModelRequest renameModelRequest); - /** - * Searches model versions. - * - *

Searches for specific model versions based on the supplied __filter__. - */ + /** Searches for specific model versions based on the supplied __filter__. */ SearchModelVersionsResponse searchModelVersions( SearchModelVersionsRequest searchModelVersionsRequest); - /** - * Search models. - * - *

Search for registered models based on the specified __filter__. - */ + /** Search for registered models based on the specified __filter__. */ SearchModelsResponse searchModels(SearchModelsRequest searchModelsRequest); - /** - * Set a tag. - * - *

Sets a tag on a registered model. - */ + /** Sets a tag on a registered model. */ void setModelTag(SetModelTagRequest setModelTagRequest); - /** - * Set a version tag. - * - *

Sets a model version tag. - */ + /** Sets a model version tag. */ void setModelVersionTag(SetModelVersionTagRequest setModelVersionTagRequest); /** - * Set registered model permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ RegisteredModelPermissions setPermissions( RegisteredModelPermissionsRequest registeredModelPermissionsRequest); /** - * Test a webhook. - * - *

**NOTE:** This endpoint is in Public Preview. + * **NOTE:** This endpoint is in Public Preview. * *

Tests a registry webhook. */ @@ -259,9 +156,7 @@ TestRegistryWebhookResponse testRegistryWebhook( TestRegistryWebhookRequest testRegistryWebhookRequest); /** - * Transition a stage. - * - *

Transition a model version's stage. This is a Databricks workspace version of the [MLflow + * Transition a model version's stage. This is a Databricks workspace version of the [MLflow * endpoint] that also accepts a comment associated with the transition to be recorded.", * *

[MLflow endpoint]: @@ -270,40 +165,24 @@ TestRegistryWebhookResponse testRegistryWebhook( TransitionStageResponse transitionStage( TransitionModelVersionStageDatabricks transitionModelVersionStageDatabricks); - /** - * Update a comment. - * - *

Post an edit to a comment on a model version. - */ + /** Post an edit to a comment on a model version. */ UpdateCommentResponse updateComment(UpdateComment updateComment); - /** - * Update model. - * - *

Updates a registered model. - */ + /** Updates a registered model. */ void updateModel(UpdateModelRequest updateModelRequest); - /** - * Update model version. - * - *

Updates the model version. - */ + /** Updates the model version. */ void updateModelVersion(UpdateModelVersionRequest updateModelVersionRequest); /** - * Update registered model permissions. - * - *

Updates the permissions on a registered model. Registered models can inherit permissions - * from their root object. + * Updates the permissions on a registered model. Registered models can inherit permissions from + * their root object. */ RegisteredModelPermissions updatePermissions( RegisteredModelPermissionsRequest registeredModelPermissionsRequest); /** - * Update a webhook. - * - *

**NOTE:** This endpoint is in Public Preview. + * **NOTE:** This endpoint is in Public Preview. * *

Updates a registry webhook. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/OnlineStore.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/OnlineStore.java new file mode 100755 index 000000000..d40273eed --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/OnlineStore.java @@ -0,0 +1,105 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +/** An OnlineStore is a logical database instance that stores and serves features online. */ +@Generated +public class OnlineStore { + /** The capacity of the online store. Valid values are "CU_1", "CU_2", "CU_4", "CU_8". */ + @JsonProperty("capacity") + private String capacity; + + /** The timestamp when the online store was created. */ + @JsonProperty("creation_time") + private String creationTime; + + /** The email of the creator of the online store. */ + @JsonProperty("creator") + private String creator; + + /** The name of the online store. This is the unique identifier for the online store. */ + @JsonProperty("name") + private String name; + + /** The current state of the online store. */ + @JsonProperty("state") + private OnlineStoreState state; + + public OnlineStore setCapacity(String capacity) { + this.capacity = capacity; + return this; + } + + public String getCapacity() { + return capacity; + } + + public OnlineStore setCreationTime(String creationTime) { + this.creationTime = creationTime; + return this; + } + + public String getCreationTime() { + return creationTime; + } + + public OnlineStore setCreator(String creator) { + this.creator = creator; + return this; + } + + public String getCreator() { + return creator; + } + + public OnlineStore setName(String name) { + this.name = name; + return this; + } + + public String getName() { + return name; + } + + public OnlineStore setState(OnlineStoreState state) { + this.state = state; + return this; + } + + public OnlineStoreState getState() { + return state; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + OnlineStore that = (OnlineStore) o; + return Objects.equals(capacity, that.capacity) + && Objects.equals(creationTime, that.creationTime) + && Objects.equals(creator, that.creator) + && Objects.equals(name, that.name) + && Objects.equals(state, that.state); + } + + @Override + public int hashCode() { + return Objects.hash(capacity, creationTime, creator, name, state); + } + + @Override + public String toString() { + return new ToStringer(OnlineStore.class) + .add("capacity", capacity) + .add("creationTime", creationTime) + .add("creator", creator) + .add("name", name) + .add("state", state) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/OnlineStoreState.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/OnlineStoreState.java new file mode 100755 index 000000000..0aea63098 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/OnlineStoreState.java @@ -0,0 +1,15 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; + +@Generated +public enum OnlineStoreState { + AVAILABLE, + DELETING, + FAILING_OVER, + STARTING, + STOPPED, + UPDATING, +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishSpec.java new file mode 100755 index 000000000..6444b7a8a --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishSpec.java @@ -0,0 +1,81 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +@Generated +public class PublishSpec { + /** The name of the target online store. */ + @JsonProperty("online_store") + private String onlineStore; + + /** + * The full three-part (catalog, schema, table) name of the online table. Auto-generated if not + * specified. + */ + @JsonProperty("online_table_name") + private String onlineTableName; + + /** + * The publish mode of the pipeline that syncs the online table with the source table. Defaults to + * TRIGGERED if not specified. All publish modes require the source table to have Change Data Feed + * (CDF) enabled. + */ + @JsonProperty("publish_mode") + private PublishSpecPublishMode publishMode; + + public PublishSpec setOnlineStore(String onlineStore) { + this.onlineStore = onlineStore; + return this; + } + + public String getOnlineStore() { + return onlineStore; + } + + public PublishSpec setOnlineTableName(String onlineTableName) { + this.onlineTableName = onlineTableName; + return this; + } + + public String getOnlineTableName() { + return onlineTableName; + } + + public PublishSpec setPublishMode(PublishSpecPublishMode publishMode) { + this.publishMode = publishMode; + return this; + } + + public PublishSpecPublishMode getPublishMode() { + return publishMode; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + PublishSpec that = (PublishSpec) o; + return Objects.equals(onlineStore, that.onlineStore) + && Objects.equals(onlineTableName, that.onlineTableName) + && Objects.equals(publishMode, that.publishMode); + } + + @Override + public int hashCode() { + return Objects.hash(onlineStore, onlineTableName, publishMode); + } + + @Override + public String toString() { + return new ToStringer(PublishSpec.class) + .add("onlineStore", onlineStore) + .add("onlineTableName", onlineTableName) + .add("publishMode", publishMode) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishSpecPublishMode.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishSpecPublishMode.java new file mode 100755 index 000000000..627ba03d2 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishSpecPublishMode.java @@ -0,0 +1,11 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; + +@Generated +public enum PublishSpecPublishMode { + CONTINUOUS, + TRIGGERED, +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishTableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishTableRequest.java new file mode 100755 index 000000000..ea570980d --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishTableRequest.java @@ -0,0 +1,59 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +@Generated +public class PublishTableRequest { + /** The specification for publishing the online table from the source table. */ + @JsonProperty("publish_spec") + private PublishSpec publishSpec; + + /** The full three-part (catalog, schema, table) name of the source table. */ + @JsonIgnore private String sourceTableName; + + public PublishTableRequest setPublishSpec(PublishSpec publishSpec) { + this.publishSpec = publishSpec; + return this; + } + + public PublishSpec getPublishSpec() { + return publishSpec; + } + + public PublishTableRequest setSourceTableName(String sourceTableName) { + this.sourceTableName = sourceTableName; + return this; + } + + public String getSourceTableName() { + return sourceTableName; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + PublishTableRequest that = (PublishTableRequest) o; + return Objects.equals(publishSpec, that.publishSpec) + && Objects.equals(sourceTableName, that.sourceTableName); + } + + @Override + public int hashCode() { + return Objects.hash(publishSpec, sourceTableName); + } + + @Override + public String toString() { + return new ToStringer(PublishTableRequest.class) + .add("publishSpec", publishSpec) + .add("sourceTableName", sourceTableName) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishTableResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishTableResponse.java new file mode 100755 index 000000000..6a685e1fe --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PublishTableResponse.java @@ -0,0 +1,59 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +@Generated +public class PublishTableResponse { + /** The full three-part (catalog, schema, table) name of the online table. */ + @JsonProperty("online_table_name") + private String onlineTableName; + + /** The ID of the pipeline that syncs the online table with the source table. */ + @JsonProperty("pipeline_id") + private String pipelineId; + + public PublishTableResponse setOnlineTableName(String onlineTableName) { + this.onlineTableName = onlineTableName; + return this; + } + + public String getOnlineTableName() { + return onlineTableName; + } + + public PublishTableResponse setPipelineId(String pipelineId) { + this.pipelineId = pipelineId; + return this; + } + + public String getPipelineId() { + return pipelineId; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + PublishTableResponse that = (PublishTableResponse) o; + return Objects.equals(onlineTableName, that.onlineTableName) + && Objects.equals(pipelineId, that.pipelineId); + } + + @Override + public int hashCode() { + return Objects.hash(onlineTableName, pipelineId); + } + + @Override + public String toString() { + return new ToStringer(PublishTableResponse.class) + .add("onlineTableName", onlineTableName) + .add("pipelineId", pipelineId) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchModelVersionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchModelVersionsRequest.java index c4eb51d14..8a7ed38a8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchModelVersionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchModelVersionsRequest.java @@ -9,7 +9,6 @@ import java.util.Collection; import java.util.Objects; -/** Searches model versions */ @Generated public class SearchModelVersionsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchModelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchModelsRequest.java index abbf2de98..cd6dd6f96 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchModelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchModelsRequest.java @@ -9,7 +9,6 @@ import java.util.Collection; import java.util.Objects; -/** Search models */ @Generated public class SearchModelsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateFeatureTagRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateFeatureTagRequest.java new file mode 100755 index 000000000..a651bd1cf --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateFeatureTagRequest.java @@ -0,0 +1,104 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.QueryParam; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +@Generated +public class UpdateFeatureTagRequest { + /** */ + @JsonIgnore private String featureName; + + /** Represents a tag on a feature in a feature table. */ + @JsonProperty("feature_tag") + private FeatureTag featureTag; + + /** */ + @JsonIgnore private String key; + + /** */ + @JsonIgnore private String tableName; + + /** The list of fields to update. */ + @JsonIgnore + @QueryParam("update_mask") + private String updateMask; + + public UpdateFeatureTagRequest setFeatureName(String featureName) { + this.featureName = featureName; + return this; + } + + public String getFeatureName() { + return featureName; + } + + public UpdateFeatureTagRequest setFeatureTag(FeatureTag featureTag) { + this.featureTag = featureTag; + return this; + } + + public FeatureTag getFeatureTag() { + return featureTag; + } + + public UpdateFeatureTagRequest setKey(String key) { + this.key = key; + return this; + } + + public String getKey() { + return key; + } + + public UpdateFeatureTagRequest setTableName(String tableName) { + this.tableName = tableName; + return this; + } + + public String getTableName() { + return tableName; + } + + public UpdateFeatureTagRequest setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + public String getUpdateMask() { + return updateMask; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + UpdateFeatureTagRequest that = (UpdateFeatureTagRequest) o; + return Objects.equals(featureName, that.featureName) + && Objects.equals(featureTag, that.featureTag) + && Objects.equals(key, that.key) + && Objects.equals(tableName, that.tableName) + && Objects.equals(updateMask, that.updateMask); + } + + @Override + public int hashCode() { + return Objects.hash(featureName, featureTag, key, tableName, updateMask); + } + + @Override + public String toString() { + return new ToStringer(UpdateFeatureTagRequest.class) + .add("featureName", featureName) + .add("featureTag", featureTag) + .add("key", key) + .add("tableName", tableName) + .add("updateMask", updateMask) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateOnlineStoreRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateOnlineStoreRequest.java new file mode 100755 index 000000000..d6daac367 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateOnlineStoreRequest.java @@ -0,0 +1,76 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.QueryParam; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +@Generated +public class UpdateOnlineStoreRequest { + /** The name of the online store. This is the unique identifier for the online store. */ + @JsonIgnore private String name; + + /** An OnlineStore is a logical database instance that stores and serves features online. */ + @JsonProperty("online_store") + private OnlineStore onlineStore; + + /** The list of fields to update. */ + @JsonIgnore + @QueryParam("update_mask") + private String updateMask; + + public UpdateOnlineStoreRequest setName(String name) { + this.name = name; + return this; + } + + public String getName() { + return name; + } + + public UpdateOnlineStoreRequest setOnlineStore(OnlineStore onlineStore) { + this.onlineStore = onlineStore; + return this; + } + + public OnlineStore getOnlineStore() { + return onlineStore; + } + + public UpdateOnlineStoreRequest setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + public String getUpdateMask() { + return updateMask; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + UpdateOnlineStoreRequest that = (UpdateOnlineStoreRequest) o; + return Objects.equals(name, that.name) + && Objects.equals(onlineStore, that.onlineStore) + && Objects.equals(updateMask, that.updateMask); + } + + @Override + public int hashCode() { + return Objects.hash(name, onlineStore, updateMask); + } + + @Override + public String toString() { + return new ToStringer(UpdateOnlineStoreRequest.class) + .add("name", name) + .add("onlineStore", onlineStore) + .add("updateMask", updateMask) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/CreateAccountFederationPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/CreateAccountFederationPolicyRequest.java index f4641952e..5361b2a3d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/CreateAccountFederationPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/CreateAccountFederationPolicyRequest.java @@ -9,7 +9,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create account federation policy */ @Generated public class CreateAccountFederationPolicyRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/CreateServicePrincipalFederationPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/CreateServicePrincipalFederationPolicyRequest.java index 517a5f08e..2a9c5cbeb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/CreateServicePrincipalFederationPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/CreateServicePrincipalFederationPolicyRequest.java @@ -9,7 +9,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create service principal federation policy */ @Generated public class CreateServicePrincipalFederationPolicyRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/CustomAppIntegrationAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/CustomAppIntegrationAPI.java index aebeaff88..355cef8a3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/CustomAppIntegrationAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/CustomAppIntegrationAPI.java @@ -30,8 +30,6 @@ public CustomAppIntegrationAPI(CustomAppIntegrationService mock) { /** * Create Custom OAuth App Integration. * - *

Create Custom OAuth App Integration. - * *

You can retrieve the custom OAuth app integration via :method:CustomAppIntegration/get. */ public CreateCustomAppIntegrationOutput create(CreateCustomAppIntegration request) { @@ -43,9 +41,7 @@ public void delete(String integrationId) { } /** - * Delete Custom OAuth App Integration. - * - *

Delete an existing Custom OAuth App Integration. You can retrieve the custom OAuth app + * Delete an existing Custom OAuth App Integration. You can retrieve the custom OAuth app * integration via :method:CustomAppIntegration/get. */ public void delete(DeleteCustomAppIntegrationRequest request) { @@ -56,20 +52,12 @@ public GetCustomAppIntegrationOutput get(String integrationId) { return get(new GetCustomAppIntegrationRequest().setIntegrationId(integrationId)); } - /** - * Get OAuth Custom App Integration. - * - *

Gets the Custom OAuth App Integration for the given integration id. - */ + /** Gets the Custom OAuth App Integration for the given integration id. */ public GetCustomAppIntegrationOutput get(GetCustomAppIntegrationRequest request) { return impl.get(request); } - /** - * Get custom oauth app integrations. - * - *

Get the list of custom OAuth app integrations for the specified Databricks account - */ + /** Get the list of custom OAuth app integrations for the specified Databricks account */ public Iterable list(ListCustomAppIntegrationsRequest request) { return new Paginator<>( request, @@ -89,9 +77,7 @@ public void update(String integrationId) { } /** - * Updates Custom OAuth App Integration. - * - *

Updates an existing custom OAuth App Integration. You can retrieve the custom OAuth app + * Updates an existing custom OAuth App Integration. You can retrieve the custom OAuth app * integration via :method:CustomAppIntegration/get. */ public void update(UpdateCustomAppIntegration request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/CustomAppIntegrationService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/CustomAppIntegrationService.java index 258fb4c9a..b28d086e6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/CustomAppIntegrationService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/CustomAppIntegrationService.java @@ -16,39 +16,25 @@ public interface CustomAppIntegrationService { /** * Create Custom OAuth App Integration. * - *

Create Custom OAuth App Integration. - * *

You can retrieve the custom OAuth app integration via :method:CustomAppIntegration/get. */ CreateCustomAppIntegrationOutput create(CreateCustomAppIntegration createCustomAppIntegration); /** - * Delete Custom OAuth App Integration. - * - *

Delete an existing Custom OAuth App Integration. You can retrieve the custom OAuth app + * Delete an existing Custom OAuth App Integration. You can retrieve the custom OAuth app * integration via :method:CustomAppIntegration/get. */ void delete(DeleteCustomAppIntegrationRequest deleteCustomAppIntegrationRequest); - /** - * Get OAuth Custom App Integration. - * - *

Gets the Custom OAuth App Integration for the given integration id. - */ + /** Gets the Custom OAuth App Integration for the given integration id. */ GetCustomAppIntegrationOutput get(GetCustomAppIntegrationRequest getCustomAppIntegrationRequest); - /** - * Get custom oauth app integrations. - * - *

Get the list of custom OAuth app integrations for the specified Databricks account - */ + /** Get the list of custom OAuth app integrations for the specified Databricks account */ GetCustomAppIntegrationsOutput list( ListCustomAppIntegrationsRequest listCustomAppIntegrationsRequest); /** - * Updates Custom OAuth App Integration. - * - *

Updates an existing custom OAuth App Integration. You can retrieve the custom OAuth app + * Updates an existing custom OAuth App Integration. You can retrieve the custom OAuth app * integration via :method:CustomAppIntegration/get. */ void update(UpdateCustomAppIntegration updateCustomAppIntegration); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeleteAccountFederationPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeleteAccountFederationPolicyRequest.java index ab0bb9b5b..7477b6c36 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeleteAccountFederationPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeleteAccountFederationPolicyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete account federation policy */ @Generated public class DeleteAccountFederationPolicyRequest { /** The identifier for the federation policy. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeleteCustomAppIntegrationRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeleteCustomAppIntegrationRequest.java index 39e0cecb4..e9d5140a0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeleteCustomAppIntegrationRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeleteCustomAppIntegrationRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete Custom OAuth App Integration */ @Generated public class DeleteCustomAppIntegrationRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeletePublishedAppIntegrationRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeletePublishedAppIntegrationRequest.java index 9c4bb5563..3281e4604 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeletePublishedAppIntegrationRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeletePublishedAppIntegrationRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete Published OAuth App Integration */ @Generated public class DeletePublishedAppIntegrationRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeleteServicePrincipalFederationPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeleteServicePrincipalFederationPolicyRequest.java index 63b5dedae..ee324ed66 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeleteServicePrincipalFederationPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeleteServicePrincipalFederationPolicyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete service principal federation policy */ @Generated public class DeleteServicePrincipalFederationPolicyRequest { /** The identifier for the federation policy. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeleteServicePrincipalSecretRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeleteServicePrincipalSecretRequest.java index 8968c06d7..2777ce932 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeleteServicePrincipalSecretRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/DeleteServicePrincipalSecretRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete service principal secret */ @Generated public class DeleteServicePrincipalSecretRequest { /** The secret ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/GetAccountFederationPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/GetAccountFederationPolicyRequest.java index 2637cf8f6..426cf741b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/GetAccountFederationPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/GetAccountFederationPolicyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get account federation policy */ @Generated public class GetAccountFederationPolicyRequest { /** The identifier for the federation policy. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/GetCustomAppIntegrationRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/GetCustomAppIntegrationRequest.java index 6b0c6115a..18dd8f19d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/GetCustomAppIntegrationRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/GetCustomAppIntegrationRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get OAuth Custom App Integration */ @Generated public class GetCustomAppIntegrationRequest { /** The OAuth app integration ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/GetPublishedAppIntegrationRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/GetPublishedAppIntegrationRequest.java index 8d9b3f718..b544e4f29 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/GetPublishedAppIntegrationRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/GetPublishedAppIntegrationRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get OAuth Published App Integration */ @Generated public class GetPublishedAppIntegrationRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/GetServicePrincipalFederationPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/GetServicePrincipalFederationPolicyRequest.java index a9e986b21..290eed6a1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/GetServicePrincipalFederationPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/GetServicePrincipalFederationPolicyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get service principal federation policy */ @Generated public class GetServicePrincipalFederationPolicyRequest { /** The identifier for the federation policy. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListAccountFederationPoliciesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListAccountFederationPoliciesRequest.java index cda3d1b8a..4e5aee8d1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListAccountFederationPoliciesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListAccountFederationPoliciesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List account federation policies */ @Generated public class ListAccountFederationPoliciesRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListCustomAppIntegrationsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListCustomAppIntegrationsRequest.java index b85059720..0ade6f297 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListCustomAppIntegrationsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListCustomAppIntegrationsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get custom oauth app integrations */ @Generated public class ListCustomAppIntegrationsRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListOAuthPublishedAppsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListOAuthPublishedAppsRequest.java index 1a8576228..9c8dd041c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListOAuthPublishedAppsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListOAuthPublishedAppsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get all the published OAuth apps */ @Generated public class ListOAuthPublishedAppsRequest { /** The max number of OAuth published apps to return in one page. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListPublishedAppIntegrationsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListPublishedAppIntegrationsRequest.java index cded44d9e..d49d4cbfa 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListPublishedAppIntegrationsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListPublishedAppIntegrationsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get published oauth app integrations */ @Generated public class ListPublishedAppIntegrationsRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListServicePrincipalFederationPoliciesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListServicePrincipalFederationPoliciesRequest.java index 52ebe4dbb..f3e61a997 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListServicePrincipalFederationPoliciesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListServicePrincipalFederationPoliciesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List service principal federation policies */ @Generated public class ListServicePrincipalFederationPoliciesRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListServicePrincipalSecretsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListServicePrincipalSecretsRequest.java index 816fb09bb..ca9f7b6f7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListServicePrincipalSecretsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListServicePrincipalSecretsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List service principal secrets */ @Generated public class ListServicePrincipalSecretsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/OAuthPublishedAppsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/OAuthPublishedAppsAPI.java index aded91ea2..2ff9cc815 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/OAuthPublishedAppsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/OAuthPublishedAppsAPI.java @@ -28,11 +28,7 @@ public OAuthPublishedAppsAPI(OAuthPublishedAppsService mock) { impl = mock; } - /** - * Get all the published OAuth apps. - * - *

Get all the available published OAuth apps in Databricks. - */ + /** Get all the available published OAuth apps in Databricks. */ public Iterable list(ListOAuthPublishedAppsRequest request) { return new Paginator<>( request, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/OAuthPublishedAppsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/OAuthPublishedAppsService.java index d89e602f2..0521353a0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/OAuthPublishedAppsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/OAuthPublishedAppsService.java @@ -14,10 +14,6 @@ */ @Generated public interface OAuthPublishedAppsService { - /** - * Get all the published OAuth apps. - * - *

Get all the available published OAuth apps in Databricks. - */ + /** Get all the available published OAuth apps in Databricks. */ GetPublishedAppsOutput list(ListOAuthPublishedAppsRequest listOAuthPublishedAppsRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/PublishedAppIntegrationAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/PublishedAppIntegrationAPI.java index 49edacfd0..dcda1600e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/PublishedAppIntegrationAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/PublishedAppIntegrationAPI.java @@ -31,8 +31,6 @@ public PublishedAppIntegrationAPI(PublishedAppIntegrationService mock) { /** * Create Published OAuth App Integration. * - *

Create Published OAuth App Integration. - * *

You can retrieve the published OAuth app integration via * :method:PublishedAppIntegration/get. */ @@ -45,9 +43,7 @@ public void delete(String integrationId) { } /** - * Delete Published OAuth App Integration. - * - *

Delete an existing Published OAuth App Integration. You can retrieve the published OAuth app + * Delete an existing Published OAuth App Integration. You can retrieve the published OAuth app * integration via :method:PublishedAppIntegration/get. */ public void delete(DeletePublishedAppIntegrationRequest request) { @@ -58,20 +54,12 @@ public GetPublishedAppIntegrationOutput get(String integrationId) { return get(new GetPublishedAppIntegrationRequest().setIntegrationId(integrationId)); } - /** - * Get OAuth Published App Integration. - * - *

Gets the Published OAuth App Integration for the given integration id. - */ + /** Gets the Published OAuth App Integration for the given integration id. */ public GetPublishedAppIntegrationOutput get(GetPublishedAppIntegrationRequest request) { return impl.get(request); } - /** - * Get published oauth app integrations. - * - *

Get the list of published OAuth app integrations for the specified Databricks account - */ + /** Get the list of published OAuth app integrations for the specified Databricks account */ public Iterable list( ListPublishedAppIntegrationsRequest request) { return new Paginator<>( @@ -92,10 +80,8 @@ public void update(String integrationId) { } /** - * Updates Published OAuth App Integration. - * - *

Updates an existing published OAuth App Integration. You can retrieve the published OAuth - * app integration via :method:PublishedAppIntegration/get. + * Updates an existing published OAuth App Integration. You can retrieve the published OAuth app + * integration via :method:PublishedAppIntegration/get. */ public void update(UpdatePublishedAppIntegration request) { impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/PublishedAppIntegrationService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/PublishedAppIntegrationService.java index f3e1dfb52..bc9200a5e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/PublishedAppIntegrationService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/PublishedAppIntegrationService.java @@ -17,8 +17,6 @@ public interface PublishedAppIntegrationService { /** * Create Published OAuth App Integration. * - *

Create Published OAuth App Integration. - * *

You can retrieve the published OAuth app integration via * :method:PublishedAppIntegration/get. */ @@ -26,34 +24,22 @@ CreatePublishedAppIntegrationOutput create( CreatePublishedAppIntegration createPublishedAppIntegration); /** - * Delete Published OAuth App Integration. - * - *

Delete an existing Published OAuth App Integration. You can retrieve the published OAuth app + * Delete an existing Published OAuth App Integration. You can retrieve the published OAuth app * integration via :method:PublishedAppIntegration/get. */ void delete(DeletePublishedAppIntegrationRequest deletePublishedAppIntegrationRequest); - /** - * Get OAuth Published App Integration. - * - *

Gets the Published OAuth App Integration for the given integration id. - */ + /** Gets the Published OAuth App Integration for the given integration id. */ GetPublishedAppIntegrationOutput get( GetPublishedAppIntegrationRequest getPublishedAppIntegrationRequest); - /** - * Get published oauth app integrations. - * - *

Get the list of published OAuth app integrations for the specified Databricks account - */ + /** Get the list of published OAuth app integrations for the specified Databricks account */ GetPublishedAppIntegrationsOutput list( ListPublishedAppIntegrationsRequest listPublishedAppIntegrationsRequest); /** - * Updates Published OAuth App Integration. - * - *

Updates an existing published OAuth App Integration. You can retrieve the published OAuth - * app integration via :method:PublishedAppIntegration/get. + * Updates an existing published OAuth App Integration. You can retrieve the published OAuth app + * integration via :method:PublishedAppIntegration/get. */ void update(UpdatePublishedAppIntegration updatePublishedAppIntegration); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalFederationPolicyAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalFederationPolicyAPI.java index 0db7cfd6f..9d65e3f8a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalFederationPolicyAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalFederationPolicyAPI.java @@ -76,7 +76,7 @@ public FederationPolicy create(long servicePrincipalId, FederationPolicy policy) .setPolicy(policy)); } - /** Create service principal federation policy. */ + /** Create account federation policy. */ public FederationPolicy create(CreateServicePrincipalFederationPolicyRequest request) { return impl.create(request); } @@ -88,7 +88,7 @@ public void delete(long servicePrincipalId, String policyId) { .setPolicyId(policyId)); } - /** Delete service principal federation policy. */ + /** Delete account federation policy. */ public void delete(DeleteServicePrincipalFederationPolicyRequest request) { impl.delete(request); } @@ -100,7 +100,7 @@ public FederationPolicy get(long servicePrincipalId, String policyId) { .setPolicyId(policyId)); } - /** Get service principal federation policy. */ + /** Get account federation policy. */ public FederationPolicy get(GetServicePrincipalFederationPolicyRequest request) { return impl.get(request); } @@ -111,7 +111,7 @@ public Iterable list(long servicePrincipalId) { .setServicePrincipalId(servicePrincipalId)); } - /** List service principal federation policies. */ + /** List account federation policies. */ public Iterable list(ListServicePrincipalFederationPoliciesRequest request) { return new Paginator<>( request, @@ -135,7 +135,7 @@ public FederationPolicy update( .setPolicy(policy)); } - /** Update service principal federation policy. */ + /** Update account federation policy. */ public FederationPolicy update(UpdateServicePrincipalFederationPolicyRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalFederationPolicyService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalFederationPolicyService.java index 530597c76..55732c89a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalFederationPolicyService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalFederationPolicyService.java @@ -54,23 +54,23 @@ */ @Generated public interface ServicePrincipalFederationPolicyService { - /** Create service principal federation policy. */ + /** Create account federation policy. */ FederationPolicy create( CreateServicePrincipalFederationPolicyRequest createServicePrincipalFederationPolicyRequest); - /** Delete service principal federation policy. */ + /** Delete account federation policy. */ void delete( DeleteServicePrincipalFederationPolicyRequest deleteServicePrincipalFederationPolicyRequest); - /** Get service principal federation policy. */ + /** Get account federation policy. */ FederationPolicy get( GetServicePrincipalFederationPolicyRequest getServicePrincipalFederationPolicyRequest); - /** List service principal federation policies. */ + /** List account federation policies. */ ListFederationPoliciesResponse list( ListServicePrincipalFederationPoliciesRequest listServicePrincipalFederationPoliciesRequest); - /** Update service principal federation policy. */ + /** Update account federation policy. */ FederationPolicy update( UpdateServicePrincipalFederationPolicyRequest updateServicePrincipalFederationPolicyRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsAPI.java index 534617edb..afe5fc87f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsAPI.java @@ -43,11 +43,7 @@ public CreateServicePrincipalSecretResponse create(long servicePrincipalId) { new CreateServicePrincipalSecretRequest().setServicePrincipalId(servicePrincipalId)); } - /** - * Create service principal secret. - * - *

Create a secret for the given service principal. - */ + /** Create a secret for the given service principal. */ public CreateServicePrincipalSecretResponse create(CreateServicePrincipalSecretRequest request) { return impl.create(request); } @@ -59,11 +55,7 @@ public void delete(long servicePrincipalId, String secretId) { .setSecretId(secretId)); } - /** - * Delete service principal secret. - * - *

Delete a secret from the given service principal. - */ + /** Delete a secret from the given service principal. */ public void delete(DeleteServicePrincipalSecretRequest request) { impl.delete(request); } @@ -73,9 +65,7 @@ public Iterable list(long servicePrincipalId) { } /** - * List service principal secrets. - * - *

List all secrets associated with the given service principal. This operation only returns + * List all secrets associated with the given service principal. This operation only returns * information about the secrets themselves and does not include the secret values. */ public Iterable list(ListServicePrincipalSecretsRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsService.java index 342f032b0..d8859e6b1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsService.java @@ -24,25 +24,15 @@ */ @Generated public interface ServicePrincipalSecretsService { - /** - * Create service principal secret. - * - *

Create a secret for the given service principal. - */ + /** Create a secret for the given service principal. */ CreateServicePrincipalSecretResponse create( CreateServicePrincipalSecretRequest createServicePrincipalSecretRequest); - /** - * Delete service principal secret. - * - *

Delete a secret from the given service principal. - */ + /** Delete a secret from the given service principal. */ void delete(DeleteServicePrincipalSecretRequest deleteServicePrincipalSecretRequest); /** - * List service principal secrets. - * - *

List all secrets associated with the given service principal. This operation only returns + * List all secrets associated with the given service principal. This operation only returns * information about the secrets themselves and does not include the secret values. */ ListServicePrincipalSecretsResponse list( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/UpdateAccountFederationPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/UpdateAccountFederationPolicyRequest.java index c30aa6595..c2feb2046 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/UpdateAccountFederationPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/UpdateAccountFederationPolicyRequest.java @@ -9,7 +9,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Update account federation policy */ @Generated public class UpdateAccountFederationPolicyRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/UpdateServicePrincipalFederationPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/UpdateServicePrincipalFederationPolicyRequest.java index 4f03417eb..a3145721b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/UpdateServicePrincipalFederationPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/UpdateServicePrincipalFederationPolicyRequest.java @@ -9,7 +9,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Update service principal federation policy */ @Generated public class UpdateServicePrincipalFederationPolicyRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/CreatePipeline.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/CreatePipeline.java index b81984eca..85f4d3dbc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/CreatePipeline.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/CreatePipeline.java @@ -60,6 +60,10 @@ public class CreatePipeline { @JsonProperty("edition") private String edition; + /** Environment specification for this pipeline used to install dependencies. */ + @JsonProperty("environment") + private PipelinesEnvironment environment; + /** Event log configuration for this pipeline */ @JsonProperty("event_log") private EventLogSpec eventLog; @@ -253,6 +257,15 @@ public String getEdition() { return edition; } + public CreatePipeline setEnvironment(PipelinesEnvironment environment) { + this.environment = environment; + return this; + } + + public PipelinesEnvironment getEnvironment() { + return environment; + } + public CreatePipeline setEventLog(EventLogSpec eventLog) { this.eventLog = eventLog; return this; @@ -431,6 +444,7 @@ public boolean equals(Object o) { && Objects.equals(development, that.development) && Objects.equals(dryRun, that.dryRun) && Objects.equals(edition, that.edition) + && Objects.equals(environment, that.environment) && Objects.equals(eventLog, that.eventLog) && Objects.equals(filters, that.filters) && Objects.equals(gatewayDefinition, that.gatewayDefinition) @@ -465,6 +479,7 @@ public int hashCode() { development, dryRun, edition, + environment, eventLog, filters, gatewayDefinition, @@ -499,6 +514,7 @@ public String toString() { .add("development", development) .add("dryRun", dryRun) .add("edition", edition) + .add("environment", environment) .add("eventLog", eventLog) .add("filters", filters) .add("gatewayDefinition", gatewayDefinition) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/DeletePipelineRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/DeletePipelineRequest.java index 53f84666e..afe85dd27 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/DeletePipelineRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/DeletePipelineRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a pipeline */ @Generated public class DeletePipelineRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/EditPipeline.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/EditPipeline.java index 776b17166..add58b4bd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/EditPipeline.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/EditPipeline.java @@ -59,6 +59,10 @@ public class EditPipeline { @JsonProperty("edition") private String edition; + /** Environment specification for this pipeline used to install dependencies. */ + @JsonProperty("environment") + private PipelinesEnvironment environment; + /** Event log configuration for this pipeline */ @JsonProperty("event_log") private EventLogSpec eventLog; @@ -253,6 +257,15 @@ public String getEdition() { return edition; } + public EditPipeline setEnvironment(PipelinesEnvironment environment) { + this.environment = environment; + return this; + } + + public PipelinesEnvironment getEnvironment() { + return environment; + } + public EditPipeline setEventLog(EventLogSpec eventLog) { this.eventLog = eventLog; return this; @@ -448,6 +461,7 @@ public boolean equals(Object o) { && Objects.equals(deployment, that.deployment) && Objects.equals(development, that.development) && Objects.equals(edition, that.edition) + && Objects.equals(environment, that.environment) && Objects.equals(eventLog, that.eventLog) && Objects.equals(expectedLastModified, that.expectedLastModified) && Objects.equals(filters, that.filters) @@ -483,6 +497,7 @@ public int hashCode() { deployment, development, edition, + environment, eventLog, expectedLastModified, filters, @@ -518,6 +533,7 @@ public String toString() { .add("deployment", deployment) .add("development", development) .add("edition", edition) + .add("environment", environment) .add("eventLog", eventLog) .add("expectedLastModified", expectedLastModified) .add("filters", filters) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetPipelinePermissionLevelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetPipelinePermissionLevelsRequest.java index 1af0089dc..14437ec35 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetPipelinePermissionLevelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetPipelinePermissionLevelsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get pipeline permission levels */ @Generated public class GetPipelinePermissionLevelsRequest { /** The pipeline for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetPipelinePermissionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetPipelinePermissionsRequest.java index 35f4fc17f..733d3a1ac 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetPipelinePermissionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetPipelinePermissionsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get pipeline permissions */ @Generated public class GetPipelinePermissionsRequest { /** The pipeline for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetPipelineRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetPipelineRequest.java index f8612ef4c..05304a860 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetPipelineRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetPipelineRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a pipeline */ @Generated public class GetPipelineRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetUpdateRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetUpdateRequest.java index 19e9844a9..7a55d578e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetUpdateRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetUpdateRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a pipeline update */ @Generated public class GetUpdateRequest { /** The ID of the pipeline. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelineEventsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelineEventsRequest.java index e0f49c010..fedb29c57 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelineEventsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelineEventsRequest.java @@ -9,7 +9,6 @@ import java.util.Collection; import java.util.Objects; -/** List pipeline events */ @Generated public class ListPipelineEventsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelinesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelinesRequest.java index 07c9fd1b5..d144bcd02 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelinesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelinesRequest.java @@ -9,7 +9,6 @@ import java.util.Collection; import java.util.Objects; -/** List pipelines */ @Generated public class ListPipelinesRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListUpdatesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListUpdatesRequest.java index 5808e3cc8..665cdc3eb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListUpdatesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListUpdatesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List pipeline updates */ @Generated public class ListUpdatesRequest { /** Max number of entries to return in a single page. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineSpec.java index b4c5c4d8e..ff14ee59b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineSpec.java @@ -52,6 +52,10 @@ public class PipelineSpec { @JsonProperty("edition") private String edition; + /** Environment specification for this pipeline used to install dependencies. */ + @JsonProperty("environment") + private PipelinesEnvironment environment; + /** Event log configuration for this pipeline */ @JsonProperty("event_log") private EventLogSpec eventLog; @@ -216,6 +220,15 @@ public String getEdition() { return edition; } + public PipelineSpec setEnvironment(PipelinesEnvironment environment) { + this.environment = environment; + return this; + } + + public PipelinesEnvironment getEnvironment() { + return environment; + } + public PipelineSpec setEventLog(EventLogSpec eventLog) { this.eventLog = eventLog; return this; @@ -383,6 +396,7 @@ public boolean equals(Object o) { && Objects.equals(deployment, that.deployment) && Objects.equals(development, that.development) && Objects.equals(edition, that.edition) + && Objects.equals(environment, that.environment) && Objects.equals(eventLog, that.eventLog) && Objects.equals(filters, that.filters) && Objects.equals(gatewayDefinition, that.gatewayDefinition) @@ -414,6 +428,7 @@ public int hashCode() { deployment, development, edition, + environment, eventLog, filters, gatewayDefinition, @@ -445,6 +460,7 @@ public String toString() { .add("deployment", deployment) .add("development", development) .add("edition", edition) + .add("environment", environment) .add("eventLog", eventLog) .add("filters", filters) .add("gatewayDefinition", gatewayDefinition) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesAPI.java index 55ad9af9e..ad41edac4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesAPI.java @@ -90,9 +90,7 @@ public GetPipelineResponse waitGetPipelineIdle( } /** - * Create a pipeline. - * - *

Creates a new data processing pipeline based on the requested configuration. If successful, + * Creates a new data processing pipeline based on the requested configuration. If successful, * this method returns the ID of the new pipeline. */ public CreatePipelineResponse create(CreatePipeline request) { @@ -104,9 +102,7 @@ public void delete(String pipelineId) { } /** - * Delete a pipeline. - * - *

Deletes a pipeline. Deleting a pipeline is a permanent action that stops and removes the + * Deletes a pipeline. Deleting a pipeline is a permanent action that stops and removes the * pipeline and its tables. You cannot undo this action. */ public void delete(DeletePipelineRequest request) { @@ -126,11 +122,7 @@ public GetPipelinePermissionLevelsResponse getPermissionLevels(String pipelineId return getPermissionLevels(new GetPipelinePermissionLevelsRequest().setPipelineId(pipelineId)); } - /** - * Get pipeline permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ public GetPipelinePermissionLevelsResponse getPermissionLevels( GetPipelinePermissionLevelsRequest request) { return impl.getPermissionLevels(request); @@ -141,10 +133,7 @@ public PipelinePermissions getPermissions(String pipelineId) { } /** - * Get pipeline permissions. - * - *

Gets the permissions of a pipeline. Pipelines can inherit permissions from their root - * object. + * Gets the permissions of a pipeline. Pipelines can inherit permissions from their root object. */ public PipelinePermissions getPermissions(GetPipelinePermissionsRequest request) { return impl.getPermissions(request); @@ -154,11 +143,7 @@ public GetUpdateResponse getUpdate(String pipelineId, String updateId) { return getUpdate(new GetUpdateRequest().setPipelineId(pipelineId).setUpdateId(updateId)); } - /** - * Get a pipeline update. - * - *

Gets an update from an active pipeline. - */ + /** Gets an update from an active pipeline. */ public GetUpdateResponse getUpdate(GetUpdateRequest request) { return impl.getUpdate(request); } @@ -167,11 +152,7 @@ public Iterable listPipelineEvents(String pipelineId) { return listPipelineEvents(new ListPipelineEventsRequest().setPipelineId(pipelineId)); } - /** - * List pipeline events. - * - *

Retrieves events for a pipeline. - */ + /** Retrieves events for a pipeline. */ public Iterable listPipelineEvents(ListPipelineEventsRequest request) { return new Paginator<>( request, @@ -186,11 +167,7 @@ public Iterable listPipelineEvents(ListPipelineEventsRequest requ }); } - /** - * List pipelines. - * - *

Lists pipelines defined in the Delta Live Tables system. - */ + /** Lists pipelines defined in the Delta Live Tables system. */ public Iterable listPipelines(ListPipelinesRequest request) { return new Paginator<>( request, @@ -209,11 +186,7 @@ public ListUpdatesResponse listUpdates(String pipelineId) { return listUpdates(new ListUpdatesRequest().setPipelineId(pipelineId)); } - /** - * List pipeline updates. - * - *

List updates for an active pipeline. - */ + /** List updates for an active pipeline. */ public ListUpdatesResponse listUpdates(ListUpdatesRequest request) { return impl.listUpdates(request); } @@ -223,11 +196,8 @@ public PipelinePermissions setPermissions(String pipelineId) { } /** - * Set pipeline permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ public PipelinePermissions setPermissions(PipelinePermissionsRequest request) { return impl.setPermissions(request); @@ -238,9 +208,7 @@ public StartUpdateResponse startUpdate(String pipelineId) { } /** - * Start a pipeline. - * - *

Starts a new update for the pipeline. If there is already an active update for the pipeline, + * Starts a new update for the pipeline. If there is already an active update for the pipeline, * the request will fail and the active update will remain running. */ public StartUpdateResponse startUpdate(StartUpdate request) { @@ -252,9 +220,7 @@ public Wait stop(String pipelineId) { } /** - * Stop a pipeline. - * - *

Stops the pipeline by canceling the active update. If there is no active update for the + * Stops the pipeline by canceling the active update. If there is no active update for the * pipeline, this request is a no-op. */ public Wait stop(StopRequest request) { @@ -267,11 +233,7 @@ public void update(String pipelineId) { update(new EditPipeline().setPipelineId(pipelineId)); } - /** - * Edit a pipeline. - * - *

Updates a pipeline with the supplied configuration. - */ + /** Updates a pipeline with the supplied configuration. */ public void update(EditPipeline request) { impl.update(request); } @@ -281,9 +243,7 @@ public PipelinePermissions updatePermissions(String pipelineId) { } /** - * Update pipeline permissions. - * - *

Updates the permissions on a pipeline. Pipelines can inherit permissions from their root + * Updates the permissions on a pipeline. Pipelines can inherit permissions from their root * object. */ public PipelinePermissions updatePermissions(PipelinePermissionsRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesEnvironment.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesEnvironment.java new file mode 100755 index 000000000..4f9146503 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesEnvironment.java @@ -0,0 +1,54 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.pipelines; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Collection; +import java.util.Objects; + +/** + * The environment entity used to preserve serverless environment side panel, jobs' environment for + * non-notebook task, and DLT's environment for classic and serverless pipelines. In this minimal + * environment spec, only pip dependencies are supported. + */ +@Generated +public class PipelinesEnvironment { + /** + * List of pip dependencies, as supported by the version of pip in this environment. Each + * dependency is a pip requirement file line + * https://pip.pypa.io/en/stable/reference/requirements-file-format/ Allowed dependency could be + * , , (WSFS or Volumes in + * Databricks), + */ + @JsonProperty("dependencies") + private Collection dependencies; + + public PipelinesEnvironment setDependencies(Collection dependencies) { + this.dependencies = dependencies; + return this; + } + + public Collection getDependencies() { + return dependencies; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + PipelinesEnvironment that = (PipelinesEnvironment) o; + return Objects.equals(dependencies, that.dependencies); + } + + @Override + public int hashCode() { + return Objects.hash(dependencies); + } + + @Override + public String toString() { + return new ToStringer(PipelinesEnvironment.class).add("dependencies", dependencies).toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesService.java index 59f5b9f3e..d2d0a81c4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesService.java @@ -25,17 +25,13 @@ @Generated public interface PipelinesService { /** - * Create a pipeline. - * - *

Creates a new data processing pipeline based on the requested configuration. If successful, + * Creates a new data processing pipeline based on the requested configuration. If successful, * this method returns the ID of the new pipeline. */ CreatePipelineResponse create(CreatePipeline createPipeline); /** - * Delete a pipeline. - * - *

Deletes a pipeline. Deleting a pipeline is a permanent action that stops and removes the + * Deletes a pipeline. Deleting a pipeline is a permanent action that stops and removes the * pipeline and its tables. You cannot undo this action. */ void delete(DeletePipelineRequest deletePipelineRequest); @@ -43,87 +39,51 @@ public interface PipelinesService { /** Get a pipeline. */ GetPipelineResponse get(GetPipelineRequest getPipelineRequest); - /** - * Get pipeline permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ GetPipelinePermissionLevelsResponse getPermissionLevels( GetPipelinePermissionLevelsRequest getPipelinePermissionLevelsRequest); /** - * Get pipeline permissions. - * - *

Gets the permissions of a pipeline. Pipelines can inherit permissions from their root - * object. + * Gets the permissions of a pipeline. Pipelines can inherit permissions from their root object. */ PipelinePermissions getPermissions(GetPipelinePermissionsRequest getPipelinePermissionsRequest); - /** - * Get a pipeline update. - * - *

Gets an update from an active pipeline. - */ + /** Gets an update from an active pipeline. */ GetUpdateResponse getUpdate(GetUpdateRequest getUpdateRequest); - /** - * List pipeline events. - * - *

Retrieves events for a pipeline. - */ + /** Retrieves events for a pipeline. */ ListPipelineEventsResponse listPipelineEvents( ListPipelineEventsRequest listPipelineEventsRequest); - /** - * List pipelines. - * - *

Lists pipelines defined in the Delta Live Tables system. - */ + /** Lists pipelines defined in the Delta Live Tables system. */ ListPipelinesResponse listPipelines(ListPipelinesRequest listPipelinesRequest); - /** - * List pipeline updates. - * - *

List updates for an active pipeline. - */ + /** List updates for an active pipeline. */ ListUpdatesResponse listUpdates(ListUpdatesRequest listUpdatesRequest); /** - * Set pipeline permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ PipelinePermissions setPermissions(PipelinePermissionsRequest pipelinePermissionsRequest); /** - * Start a pipeline. - * - *

Starts a new update for the pipeline. If there is already an active update for the pipeline, + * Starts a new update for the pipeline. If there is already an active update for the pipeline, * the request will fail and the active update will remain running. */ StartUpdateResponse startUpdate(StartUpdate startUpdate); /** - * Stop a pipeline. - * - *

Stops the pipeline by canceling the active update. If there is no active update for the + * Stops the pipeline by canceling the active update. If there is no active update for the * pipeline, this request is a no-op. */ void stop(StopRequest stopRequest); - /** - * Edit a pipeline. - * - *

Updates a pipeline with the supplied configuration. - */ + /** Updates a pipeline with the supplied configuration. */ void update(EditPipeline editPipeline); /** - * Update pipeline permissions. - * - *

Updates the permissions on a pipeline. Pipelines can inherit permissions from their root + * Updates the permissions on a pipeline. Pipelines can inherit permissions from their root * object. */ PipelinePermissions updatePermissions(PipelinePermissionsRequest pipelinePermissionsRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/Sequencing.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/Sequencing.java index 320bd660d..0fd11f3d8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/Sequencing.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/Sequencing.java @@ -9,7 +9,7 @@ @Generated public class Sequencing { - /** A sequence number, unique and increasing within the control plane. */ + /** A sequence number, unique and increasing per pipeline. */ @JsonProperty("control_plane_seq_no") private Long controlPlaneSeqNo; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/StopRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/StopRequest.java index 747427f9c..c5e2b5d84 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/StopRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/StopRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Stop a pipeline */ @Generated public class StopRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/TableSpecificConfigScdType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/TableSpecificConfigScdType.java index d9f62017d..a0e3fe202 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/TableSpecificConfigScdType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/TableSpecificConfigScdType.java @@ -7,6 +7,7 @@ /** The SCD type to use to ingest the table. */ @Generated public enum TableSpecificConfigScdType { + APPEND_ONLY, SCD_TYPE_1, SCD_TYPE_2, } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CredentialsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CredentialsAPI.java index a4fff16b7..ef7e411f3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CredentialsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CredentialsAPI.java @@ -36,13 +36,11 @@ public Credential create(String credentialsName, CreateCredentialAwsCredentials } /** - * Create credential configuration. - * - *

Creates a Databricks credential configuration that represents cloud cross-account - * credentials for a specified account. Databricks uses this to set up network infrastructure - * properly to host Databricks clusters. For your AWS IAM role, you need to trust the External ID - * (the Databricks Account API account ID) in the returned credential object, and configure the - * required access policy. + * Creates a Databricks credential configuration that represents cloud cross-account credentials + * for a specified account. Databricks uses this to set up network infrastructure properly to host + * Databricks clusters. For your AWS IAM role, you need to trust the External ID (the Databricks + * Account API account ID) in the returned credential object, and configure the required access + * policy. * *

Save the response's `credentials_id` field, which is the ID for your new credential * configuration object. @@ -62,10 +60,8 @@ public void delete(String credentialsId) { } /** - * Delete credential configuration. - * - *

Deletes a Databricks credential configuration object for an account, both specified by ID. - * You cannot delete a credential that is associated with any workspace. + * Deletes a Databricks credential configuration object for an account, both specified by ID. You + * cannot delete a credential that is associated with any workspace. */ public void delete(DeleteCredentialRequest request) { impl.delete(request); @@ -75,20 +71,12 @@ public Credential get(String credentialsId) { return get(new GetCredentialRequest().setCredentialsId(credentialsId)); } - /** - * Get credential configuration. - * - *

Gets a Databricks credential configuration object for an account, both specified by ID. - */ + /** Gets a Databricks credential configuration object for an account, both specified by ID. */ public Credential get(GetCredentialRequest request) { return impl.get(request); } - /** - * Get all credential configurations. - * - *

Gets all Databricks credential configurations associated with an account specified by ID. - */ + /** Gets all Databricks credential configurations associated with an account specified by ID. */ public Iterable list() { return impl.list(); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CredentialsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CredentialsService.java index a9e600ce7..620a274b6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CredentialsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CredentialsService.java @@ -17,13 +17,11 @@ @Generated public interface CredentialsService { /** - * Create credential configuration. - * - *

Creates a Databricks credential configuration that represents cloud cross-account - * credentials for a specified account. Databricks uses this to set up network infrastructure - * properly to host Databricks clusters. For your AWS IAM role, you need to trust the External ID - * (the Databricks Account API account ID) in the returned credential object, and configure the - * required access policy. + * Creates a Databricks credential configuration that represents cloud cross-account credentials + * for a specified account. Databricks uses this to set up network infrastructure properly to host + * Databricks clusters. For your AWS IAM role, you need to trust the External ID (the Databricks + * Account API account ID) in the returned credential object, and configure the required access + * policy. * *

Save the response's `credentials_id` field, which is the ID for your new credential * configuration object. @@ -37,24 +35,14 @@ public interface CredentialsService { Credential create(CreateCredentialRequest createCredentialRequest); /** - * Delete credential configuration. - * - *

Deletes a Databricks credential configuration object for an account, both specified by ID. - * You cannot delete a credential that is associated with any workspace. + * Deletes a Databricks credential configuration object for an account, both specified by ID. You + * cannot delete a credential that is associated with any workspace. */ void delete(DeleteCredentialRequest deleteCredentialRequest); - /** - * Get credential configuration. - * - *

Gets a Databricks credential configuration object for an account, both specified by ID. - */ + /** Gets a Databricks credential configuration object for an account, both specified by ID. */ Credential get(GetCredentialRequest getCredentialRequest); - /** - * Get all credential configurations. - * - *

Gets all Databricks credential configurations associated with an account specified by ID. - */ + /** Gets all Databricks credential configurations associated with an account specified by ID. */ Collection list(); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteCredentialRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteCredentialRequest.java index 35caca7ed..81f2a92c3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteCredentialRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteCredentialRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete credential configuration */ @Generated public class DeleteCredentialRequest { /** Databricks Account API credential configuration ID */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteEncryptionKeyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteEncryptionKeyRequest.java index 9f751cc88..4d164890f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteEncryptionKeyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteEncryptionKeyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete encryption key configuration */ @Generated public class DeleteEncryptionKeyRequest { /** Databricks encryption key configuration ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteNetworkRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteNetworkRequest.java index c40ea86cd..74e968d15 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteNetworkRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteNetworkRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a network configuration */ @Generated public class DeleteNetworkRequest { /** Databricks Account API network configuration ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeletePrivateAccesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeletePrivateAccesRequest.java index 64da3675e..d58b68aa2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeletePrivateAccesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeletePrivateAccesRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a private access settings object */ @Generated public class DeletePrivateAccesRequest { /** Databricks Account API private access settings ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteStorageRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteStorageRequest.java index 8b337259c..3ff26d6da 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteStorageRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteStorageRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete storage configuration */ @Generated public class DeleteStorageRequest { /** Databricks Account API storage configuration ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteVpcEndpointRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteVpcEndpointRequest.java index c1ecb36ff..7a3ebaf99 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteVpcEndpointRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteVpcEndpointRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete VPC endpoint configuration */ @Generated public class DeleteVpcEndpointRequest { /** Databricks VPC endpoint ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteWorkspaceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteWorkspaceRequest.java index a5d7ee825..3ee6f1ee3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteWorkspaceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/DeleteWorkspaceRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a workspace */ @Generated public class DeleteWorkspaceRequest { /** Workspace ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/EncryptionKeysAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/EncryptionKeysAPI.java index 16df9adf5..91c3fef6c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/EncryptionKeysAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/EncryptionKeysAPI.java @@ -43,9 +43,7 @@ public CustomerManagedKey create(Collection useCases) { } /** - * Create encryption key configuration. - * - *

Creates a customer-managed key configuration object for an account, specified by ID. This + * Creates a customer-managed key configuration object for an account, specified by ID. This * operation uploads a reference to a customer-managed key to Databricks. If the key is assigned * as a workspace's customer-managed key for managed services, Databricks uses the key to encrypt * the workspaces notebooks and secrets in the control plane, in addition to Databricks SQL @@ -68,9 +66,7 @@ public void delete(String customerManagedKeyId) { } /** - * Delete encryption key configuration. - * - *

Deletes a customer-managed key configuration object for an account. You cannot delete a + * Deletes a customer-managed key configuration object for an account. You cannot delete a * configuration that is associated with a running workspace. */ public void delete(DeleteEncryptionKeyRequest request) { @@ -82,9 +78,7 @@ public CustomerManagedKey get(String customerManagedKeyId) { } /** - * Get encryption key configuration. - * - *

Gets a customer-managed key configuration object for an account, specified by ID. This + * Gets a customer-managed key configuration object for an account, specified by ID. This * operation uploads a reference to a customer-managed key to Databricks. If assigned as a * workspace's customer-managed key for managed services, Databricks uses the key to encrypt the * workspaces notebooks and secrets in the control plane, in addition to Databricks SQL queries @@ -102,10 +96,8 @@ public CustomerManagedKey get(GetEncryptionKeyRequest request) { } /** - * Get all encryption key configurations. - * - *

Gets all customer-managed key configuration objects for an account. If the key is specified - * as a workspace's managed services customer-managed key, Databricks uses the key to encrypt the + * Gets all customer-managed key configuration objects for an account. If the key is specified as + * a workspace's managed services customer-managed key, Databricks uses the key to encrypt the * workspace's notebooks and secrets in the control plane, in addition to Databricks SQL queries * and query history. If the key is specified as a workspace's storage customer-managed key, the * key is used to encrypt the workspace's root S3 bucket and optionally can encrypt cluster EBS diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/EncryptionKeysService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/EncryptionKeysService.java index bb2b0f835..083d083ae 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/EncryptionKeysService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/EncryptionKeysService.java @@ -26,9 +26,7 @@ @Generated public interface EncryptionKeysService { /** - * Create encryption key configuration. - * - *

Creates a customer-managed key configuration object for an account, specified by ID. This + * Creates a customer-managed key configuration object for an account, specified by ID. This * operation uploads a reference to a customer-managed key to Databricks. If the key is assigned * as a workspace's customer-managed key for managed services, Databricks uses the key to encrypt * the workspaces notebooks and secrets in the control plane, in addition to Databricks SQL @@ -45,17 +43,13 @@ public interface EncryptionKeysService { CustomerManagedKey create(CreateCustomerManagedKeyRequest createCustomerManagedKeyRequest); /** - * Delete encryption key configuration. - * - *

Deletes a customer-managed key configuration object for an account. You cannot delete a + * Deletes a customer-managed key configuration object for an account. You cannot delete a * configuration that is associated with a running workspace. */ void delete(DeleteEncryptionKeyRequest deleteEncryptionKeyRequest); /** - * Get encryption key configuration. - * - *

Gets a customer-managed key configuration object for an account, specified by ID. This + * Gets a customer-managed key configuration object for an account, specified by ID. This * operation uploads a reference to a customer-managed key to Databricks. If assigned as a * workspace's customer-managed key for managed services, Databricks uses the key to encrypt the * workspaces notebooks and secrets in the control plane, in addition to Databricks SQL queries @@ -71,10 +65,8 @@ public interface EncryptionKeysService { CustomerManagedKey get(GetEncryptionKeyRequest getEncryptionKeyRequest); /** - * Get all encryption key configurations. - * - *

Gets all customer-managed key configuration objects for an account. If the key is specified - * as a workspace's managed services customer-managed key, Databricks uses the key to encrypt the + * Gets all customer-managed key configuration objects for an account. If the key is specified as + * a workspace's managed services customer-managed key, Databricks uses the key to encrypt the * workspace's notebooks and secrets in the control plane, in addition to Databricks SQL queries * and query history. If the key is specified as a workspace's storage customer-managed key, the * key is used to encrypt the workspace's root S3 bucket and optionally can encrypt cluster EBS diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetCredentialRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetCredentialRequest.java index c7fe22dfa..f4b3add8a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetCredentialRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetCredentialRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get credential configuration */ @Generated public class GetCredentialRequest { /** Databricks Account API credential configuration ID */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetEncryptionKeyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetEncryptionKeyRequest.java index 2f48fcf65..a53b8258b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetEncryptionKeyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetEncryptionKeyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get encryption key configuration */ @Generated public class GetEncryptionKeyRequest { /** Databricks encryption key configuration ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetNetworkRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetNetworkRequest.java index 1627a7114..afb3c7b19 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetNetworkRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetNetworkRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a network configuration */ @Generated public class GetNetworkRequest { /** Databricks Account API network configuration ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetPrivateAccesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetPrivateAccesRequest.java index 7817a63f5..563d2ea88 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetPrivateAccesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetPrivateAccesRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a private access settings object */ @Generated public class GetPrivateAccesRequest { /** Databricks Account API private access settings ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetStorageRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetStorageRequest.java index aaa9f9050..f9a99b30a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetStorageRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetStorageRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get storage configuration */ @Generated public class GetStorageRequest { /** Databricks Account API storage configuration ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetVpcEndpointRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetVpcEndpointRequest.java index 4bd83e796..166f95b99 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetVpcEndpointRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetVpcEndpointRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a VPC endpoint configuration */ @Generated public class GetVpcEndpointRequest { /** Databricks VPC endpoint ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetWorkspaceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetWorkspaceRequest.java index b118a8bf7..7b8b7bb44 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetWorkspaceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GetWorkspaceRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a workspace */ @Generated public class GetWorkspaceRequest { /** Workspace ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/NetworksAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/NetworksAPI.java index 9a3b787d2..f1c965440 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/NetworksAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/NetworksAPI.java @@ -31,9 +31,7 @@ public Network create(String networkName) { } /** - * Create network configuration. - * - *

Creates a Databricks network configuration that represents an VPC and its resources. The VPC + * Creates a Databricks network configuration that represents an VPC and its resources. The VPC * will be used for new Databricks clusters. This requires a pre-existing VPC and subnets. */ public Network create(CreateNetworkRequest request) { @@ -45,10 +43,8 @@ public void delete(String networkId) { } /** - * Delete a network configuration. - * - *

Deletes a Databricks network configuration, which represents a cloud VPC and its resources. - * You cannot delete a network that is associated with a workspace. + * Deletes a Databricks network configuration, which represents a cloud VPC and its resources. You + * cannot delete a network that is associated with a workspace. * *

This operation is available only if your account is on the E2 version of the platform. */ @@ -60,19 +56,13 @@ public Network get(String networkId) { return get(new GetNetworkRequest().setNetworkId(networkId)); } - /** - * Get a network configuration. - * - *

Gets a Databricks network configuration, which represents a cloud VPC and its resources. - */ + /** Gets a Databricks network configuration, which represents a cloud VPC and its resources. */ public Network get(GetNetworkRequest request) { return impl.get(request); } /** - * Get all network configurations. - * - *

Gets a list of all Databricks network configurations for an account, specified by ID. + * Gets a list of all Databricks network configurations for an account, specified by ID. * *

This operation is available only if your account is on the E2 version of the platform. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/NetworksService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/NetworksService.java index dd2c32578..db13e6997 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/NetworksService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/NetworksService.java @@ -15,34 +15,24 @@ @Generated public interface NetworksService { /** - * Create network configuration. - * - *

Creates a Databricks network configuration that represents an VPC and its resources. The VPC + * Creates a Databricks network configuration that represents an VPC and its resources. The VPC * will be used for new Databricks clusters. This requires a pre-existing VPC and subnets. */ Network create(CreateNetworkRequest createNetworkRequest); /** - * Delete a network configuration. - * - *

Deletes a Databricks network configuration, which represents a cloud VPC and its resources. - * You cannot delete a network that is associated with a workspace. + * Deletes a Databricks network configuration, which represents a cloud VPC and its resources. You + * cannot delete a network that is associated with a workspace. * *

This operation is available only if your account is on the E2 version of the platform. */ void delete(DeleteNetworkRequest deleteNetworkRequest); - /** - * Get a network configuration. - * - *

Gets a Databricks network configuration, which represents a cloud VPC and its resources. - */ + /** Gets a Databricks network configuration, which represents a cloud VPC and its resources. */ Network get(GetNetworkRequest getNetworkRequest); /** - * Get all network configurations. - * - *

Gets a list of all Databricks network configurations for an account, specified by ID. + * Gets a list of all Databricks network configurations for an account, specified by ID. * *

This operation is available only if your account is on the E2 version of the platform. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/PrivateAccessAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/PrivateAccessAPI.java index 2ac13cf5e..7b4e68b9f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/PrivateAccessAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/PrivateAccessAPI.java @@ -31,10 +31,8 @@ public PrivateAccessSettings create(String privateAccessSettingsName, String reg } /** - * Create private access settings. - * - *

Creates a private access settings object, which specifies how your workspace is accessed - * over [AWS PrivateLink]. To use AWS PrivateLink, a workspace must have a private access settings + * Creates a private access settings object, which specifies how your workspace is accessed over + * [AWS PrivateLink]. To use AWS PrivateLink, a workspace must have a private access settings * object referenced by ID in the workspace's `private_access_settings_id` property. * *

You can share one private access settings with multiple workspaces in a single account. @@ -56,10 +54,8 @@ public void delete(String privateAccessSettingsId) { } /** - * Delete a private access settings object. - * - *

Deletes a private access settings object, which determines how your workspace is accessed - * over [AWS PrivateLink]. + * Deletes a private access settings object, which determines how your workspace is accessed over + * [AWS PrivateLink]. * *

Before configuring PrivateLink, read the [Databricks article about PrivateLink].", * @@ -76,10 +72,8 @@ public PrivateAccessSettings get(String privateAccessSettingsId) { } /** - * Get a private access settings object. - * - *

Gets a private access settings object, which specifies how your workspace is accessed over - * [AWS PrivateLink]. + * Gets a private access settings object, which specifies how your workspace is accessed over [AWS + * PrivateLink]. * *

Before configuring PrivateLink, read the [Databricks article about PrivateLink].", * @@ -91,11 +85,7 @@ public PrivateAccessSettings get(GetPrivateAccesRequest request) { return impl.get(request); } - /** - * Get all private access settings objects. - * - *

Gets a list of all private access settings objects for an account, specified by ID. - */ + /** Gets a list of all private access settings objects for an account, specified by ID. */ public Iterable list() { return impl.list(); } @@ -110,9 +100,7 @@ public void replace( } /** - * Replace private access settings. - * - *

Updates an existing private access settings object, which specifies how your workspace is + * Updates an existing private access settings object, which specifies how your workspace is * accessed over [AWS PrivateLink]. To use AWS PrivateLink, a workspace must have a private access * settings object referenced by ID in the workspace's `private_access_settings_id` property. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/PrivateAccessService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/PrivateAccessService.java index 91f55d428..fcc1d2ec3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/PrivateAccessService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/PrivateAccessService.java @@ -14,10 +14,8 @@ @Generated public interface PrivateAccessService { /** - * Create private access settings. - * - *

Creates a private access settings object, which specifies how your workspace is accessed - * over [AWS PrivateLink]. To use AWS PrivateLink, a workspace must have a private access settings + * Creates a private access settings object, which specifies how your workspace is accessed over + * [AWS PrivateLink]. To use AWS PrivateLink, a workspace must have a private access settings * object referenced by ID in the workspace's `private_access_settings_id` property. * *

You can share one private access settings with multiple workspaces in a single account. @@ -34,10 +32,8 @@ PrivateAccessSettings create( UpsertPrivateAccessSettingsRequest upsertPrivateAccessSettingsRequest); /** - * Delete a private access settings object. - * - *

Deletes a private access settings object, which determines how your workspace is accessed - * over [AWS PrivateLink]. + * Deletes a private access settings object, which determines how your workspace is accessed over + * [AWS PrivateLink]. * *

Before configuring PrivateLink, read the [Databricks article about PrivateLink].", * @@ -48,10 +44,8 @@ PrivateAccessSettings create( void delete(DeletePrivateAccesRequest deletePrivateAccesRequest); /** - * Get a private access settings object. - * - *

Gets a private access settings object, which specifies how your workspace is accessed over - * [AWS PrivateLink]. + * Gets a private access settings object, which specifies how your workspace is accessed over [AWS + * PrivateLink]. * *

Before configuring PrivateLink, read the [Databricks article about PrivateLink].", * @@ -61,17 +55,11 @@ PrivateAccessSettings create( */ PrivateAccessSettings get(GetPrivateAccesRequest getPrivateAccesRequest); - /** - * Get all private access settings objects. - * - *

Gets a list of all private access settings objects for an account, specified by ID. - */ + /** Gets a list of all private access settings objects for an account, specified by ID. */ Collection list(); /** - * Replace private access settings. - * - *

Updates an existing private access settings object, which specifies how your workspace is + * Updates an existing private access settings object, which specifies how your workspace is * accessed over [AWS PrivateLink]. To use AWS PrivateLink, a workspace must have a private access * settings object referenced by ID in the workspace's `private_access_settings_id` property. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/StorageAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/StorageAPI.java index 9f4791282..bef17495b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/StorageAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/StorageAPI.java @@ -38,9 +38,7 @@ public StorageConfiguration create( } /** - * Create new storage configuration. - * - *

Creates new storage configuration for an account, specified by ID. Uploads a storage + * Creates new storage configuration for an account, specified by ID. Uploads a storage * configuration object that represents the root AWS S3 bucket in your account. Databricks stores * related workspace assets including DBFS, cluster logs, and job results. For the AWS S3 bucket, * you need to configure the required bucket policy. @@ -60,10 +58,8 @@ public void delete(String storageConfigurationId) { } /** - * Delete storage configuration. - * - *

Deletes a Databricks storage configuration. You cannot delete a storage configuration that - * is associated with any workspace. + * Deletes a Databricks storage configuration. You cannot delete a storage configuration that is + * associated with any workspace. */ public void delete(DeleteStorageRequest request) { impl.delete(request); @@ -73,20 +69,12 @@ public StorageConfiguration get(String storageConfigurationId) { return get(new GetStorageRequest().setStorageConfigurationId(storageConfigurationId)); } - /** - * Get storage configuration. - * - *

Gets a Databricks storage configuration for an account, both specified by ID. - */ + /** Gets a Databricks storage configuration for an account, both specified by ID. */ public StorageConfiguration get(GetStorageRequest request) { return impl.get(request); } - /** - * Get all storage configurations. - * - *

Gets a list of all Databricks storage configurations for your account, specified by ID. - */ + /** Gets a list of all Databricks storage configurations for your account, specified by ID. */ public Iterable list() { return impl.list(); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/StorageService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/StorageService.java index e768d5a2a..8324e8267 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/StorageService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/StorageService.java @@ -18,9 +18,7 @@ @Generated public interface StorageService { /** - * Create new storage configuration. - * - *

Creates new storage configuration for an account, specified by ID. Uploads a storage + * Creates new storage configuration for an account, specified by ID. Uploads a storage * configuration object that represents the root AWS S3 bucket in your account. Databricks stores * related workspace assets including DBFS, cluster logs, and job results. For the AWS S3 bucket, * you need to configure the required bucket policy. @@ -34,24 +32,14 @@ public interface StorageService { StorageConfiguration create(CreateStorageConfigurationRequest createStorageConfigurationRequest); /** - * Delete storage configuration. - * - *

Deletes a Databricks storage configuration. You cannot delete a storage configuration that - * is associated with any workspace. + * Deletes a Databricks storage configuration. You cannot delete a storage configuration that is + * associated with any workspace. */ void delete(DeleteStorageRequest deleteStorageRequest); - /** - * Get storage configuration. - * - *

Gets a Databricks storage configuration for an account, both specified by ID. - */ + /** Gets a Databricks storage configuration for an account, both specified by ID. */ StorageConfiguration get(GetStorageRequest getStorageRequest); - /** - * Get all storage configurations. - * - *

Gets a list of all Databricks storage configurations for your account, specified by ID. - */ + /** Gets a list of all Databricks storage configurations for your account, specified by ID. */ Collection list(); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpointsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpointsAPI.java index 06d1ebb3e..8ad90b7e9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpointsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpointsAPI.java @@ -28,10 +28,8 @@ public VpcEndpoint create(String vpcEndpointName) { } /** - * Create VPC endpoint configuration. - * - *

Creates a VPC endpoint configuration, which represents a [VPC endpoint] object in AWS used - * to communicate privately with Databricks over [AWS PrivateLink]. + * Creates a VPC endpoint configuration, which represents a [VPC endpoint] object in AWS used to + * communicate privately with Databricks over [AWS PrivateLink]. * *

After you create the VPC endpoint configuration, the Databricks [endpoint service] * automatically accepts the VPC endpoint. @@ -54,9 +52,7 @@ public void delete(String vpcEndpointId) { } /** - * Delete VPC endpoint configuration. - * - *

Deletes a VPC endpoint configuration, which represents an [AWS VPC endpoint] that can + * Deletes a VPC endpoint configuration, which represents an [AWS VPC endpoint] that can * communicate privately with Databricks over [AWS PrivateLink]. * *

Before configuring PrivateLink, read the [Databricks article about PrivateLink]. @@ -75,9 +71,7 @@ public VpcEndpoint get(String vpcEndpointId) { } /** - * Get a VPC endpoint configuration. - * - *

Gets a VPC endpoint configuration, which represents a [VPC endpoint] object in AWS used to + * Gets a VPC endpoint configuration, which represents a [VPC endpoint] object in AWS used to * communicate privately with Databricks over [AWS PrivateLink]. * *

[AWS PrivateLink]: https://aws.amazon.com/privatelink [VPC endpoint]: @@ -88,9 +82,7 @@ public VpcEndpoint get(GetVpcEndpointRequest request) { } /** - * Get all VPC endpoint configurations. - * - *

Gets a list of all VPC endpoints for an account, specified by ID. + * Gets a list of all VPC endpoints for an account, specified by ID. * *

Before configuring PrivateLink, read the [Databricks article about PrivateLink]. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpointsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpointsService.java index a0abba905..0f4a57c16 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpointsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpointsService.java @@ -14,10 +14,8 @@ @Generated public interface VpcEndpointsService { /** - * Create VPC endpoint configuration. - * - *

Creates a VPC endpoint configuration, which represents a [VPC endpoint] object in AWS used - * to communicate privately with Databricks over [AWS PrivateLink]. + * Creates a VPC endpoint configuration, which represents a [VPC endpoint] object in AWS used to + * communicate privately with Databricks over [AWS PrivateLink]. * *

After you create the VPC endpoint configuration, the Databricks [endpoint service] * automatically accepts the VPC endpoint. @@ -34,9 +32,7 @@ public interface VpcEndpointsService { VpcEndpoint create(CreateVpcEndpointRequest createVpcEndpointRequest); /** - * Delete VPC endpoint configuration. - * - *

Deletes a VPC endpoint configuration, which represents an [AWS VPC endpoint] that can + * Deletes a VPC endpoint configuration, which represents an [AWS VPC endpoint] that can * communicate privately with Databricks over [AWS PrivateLink]. * *

Before configuring PrivateLink, read the [Databricks article about PrivateLink]. @@ -49,9 +45,7 @@ public interface VpcEndpointsService { void delete(DeleteVpcEndpointRequest deleteVpcEndpointRequest); /** - * Get a VPC endpoint configuration. - * - *

Gets a VPC endpoint configuration, which represents a [VPC endpoint] object in AWS used to + * Gets a VPC endpoint configuration, which represents a [VPC endpoint] object in AWS used to * communicate privately with Databricks over [AWS PrivateLink]. * *

[AWS PrivateLink]: https://aws.amazon.com/privatelink [VPC endpoint]: @@ -60,9 +54,7 @@ public interface VpcEndpointsService { VpcEndpoint get(GetVpcEndpointRequest getVpcEndpointRequest); /** - * Get all VPC endpoint configurations. - * - *

Gets a list of all VPC endpoints for an account, specified by ID. + * Gets a list of all VPC endpoints for an account, specified by ID. * *

Before configuring PrivateLink, read the [Databricks article about PrivateLink]. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspacesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspacesAPI.java index 51785c973..980d5c625 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspacesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspacesAPI.java @@ -87,9 +87,7 @@ public Wait create(String workspaceName) { } /** - * Create a new workspace. - * - *

Creates a new workspace. + * Creates a new workspace. * *

**Important**: This operation is asynchronous. A response with HTTP status code 200 means * the request has been accepted and is in progress, but does not mean that the workspace deployed @@ -111,11 +109,9 @@ public void delete(long workspaceId) { } /** - * Delete a workspace. - * - *

Terminates and deletes a Databricks workspace. From an API perspective, deletion is - * immediate. However, it might take a few minutes for all workspaces resources to be deleted, - * depending on the size and number of workspace resources. + * Terminates and deletes a Databricks workspace. From an API perspective, deletion is immediate. + * However, it might take a few minutes for all workspaces resources to be deleted, depending on + * the size and number of workspace resources. * *

This operation is available only if your account is on the E2 version of the platform or on * a select custom plan that allows multiple workspaces per account. @@ -129,12 +125,10 @@ public Workspace get(long workspaceId) { } /** - * Get a workspace. - * - *

Gets information including status for a Databricks workspace, specified by ID. In the - * response, the `workspace_status` field indicates the current status. After initial workspace - * creation (which is asynchronous), make repeated `GET` requests with the workspace ID and check - * its status. The workspace becomes available when the status changes to `RUNNING`. + * Gets information including status for a Databricks workspace, specified by ID. In the response, + * the `workspace_status` field indicates the current status. After initial workspace creation + * (which is asynchronous), make repeated `GET` requests with the workspace ID and check its + * status. The workspace becomes available when the status changes to `RUNNING`. * *

For information about how to create a new workspace with this API **including error * handling**, see [Create a new workspace using the Account API]. @@ -150,9 +144,7 @@ public Workspace get(GetWorkspaceRequest request) { } /** - * Get all workspaces. - * - *

Gets a list of all workspaces associated with an account, specified by ID. + * Gets a list of all workspaces associated with an account, specified by ID. * *

This operation is available only if your account is on the E2 version of the platform or on * a select custom plan that allows multiple workspaces per account. @@ -166,9 +158,7 @@ public Wait update(long workspaceId) { } /** - * Update workspace configuration. - * - *

Updates a workspace configuration for either a running workspace or a failed workspace. The + * Updates a workspace configuration for either a running workspace or a failed workspace. The * elements that can be updated varies between these two use cases. * *

### Update a failed workspace You can update a Databricks workspace configuration for failed diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspacesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspacesService.java index a9c9dcfa0..7679504a0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspacesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspacesService.java @@ -20,9 +20,7 @@ @Generated public interface WorkspacesService { /** - * Create a new workspace. - * - *

Creates a new workspace. + * Creates a new workspace. * *

**Important**: This operation is asynchronous. A response with HTTP status code 200 means * the request has been accepted and is in progress, but does not mean that the workspace deployed @@ -34,11 +32,9 @@ public interface WorkspacesService { Workspace create(CreateWorkspaceRequest createWorkspaceRequest); /** - * Delete a workspace. - * - *

Terminates and deletes a Databricks workspace. From an API perspective, deletion is - * immediate. However, it might take a few minutes for all workspaces resources to be deleted, - * depending on the size and number of workspace resources. + * Terminates and deletes a Databricks workspace. From an API perspective, deletion is immediate. + * However, it might take a few minutes for all workspaces resources to be deleted, depending on + * the size and number of workspace resources. * *

This operation is available only if your account is on the E2 version of the platform or on * a select custom plan that allows multiple workspaces per account. @@ -46,12 +42,10 @@ public interface WorkspacesService { void delete(DeleteWorkspaceRequest deleteWorkspaceRequest); /** - * Get a workspace. - * - *

Gets information including status for a Databricks workspace, specified by ID. In the - * response, the `workspace_status` field indicates the current status. After initial workspace - * creation (which is asynchronous), make repeated `GET` requests with the workspace ID and check - * its status. The workspace becomes available when the status changes to `RUNNING`. + * Gets information including status for a Databricks workspace, specified by ID. In the response, + * the `workspace_status` field indicates the current status. After initial workspace creation + * (which is asynchronous), make repeated `GET` requests with the workspace ID and check its + * status. The workspace becomes available when the status changes to `RUNNING`. * *

For information about how to create a new workspace with this API **including error * handling**, see [Create a new workspace using the Account API]. @@ -65,9 +59,7 @@ public interface WorkspacesService { Workspace get(GetWorkspaceRequest getWorkspaceRequest); /** - * Get all workspaces. - * - *

Gets a list of all workspaces associated with an account, specified by ID. + * Gets a list of all workspaces associated with an account, specified by ID. * *

This operation is available only if your account is on the E2 version of the platform or on * a select custom plan that allows multiple workspaces per account. @@ -75,9 +67,7 @@ public interface WorkspacesService { Collection list(); /** - * Update workspace configuration. - * - *

Updates a workspace configuration for either a running workspace or a failed workspace. The + * Updates a workspace configuration for either a running workspace or a failed workspace. The * elements that can be updated varies between these two use cases. * *

### Update a failed workspace You can update a Databricks workspace configuration for failed diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/CreateQualityMonitorRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/CreateQualityMonitorRequest.java index f7ea1c964..0dae8f55e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/CreateQualityMonitorRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/CreateQualityMonitorRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create a quality monitor */ @Generated public class CreateQualityMonitorRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/DeleteQualityMonitorRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/DeleteQualityMonitorRequest.java index 761677c05..aa8ac7471 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/DeleteQualityMonitorRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/DeleteQualityMonitorRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a quality monitor */ @Generated public class DeleteQualityMonitorRequest { /** The uuid of the request object. For example, schema id. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/GetQualityMonitorRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/GetQualityMonitorRequest.java index 7575721ec..be1d761fb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/GetQualityMonitorRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/GetQualityMonitorRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Read a quality monitor */ @Generated public class GetQualityMonitorRequest { /** The uuid of the request object. For example, schema id. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/ListQualityMonitorRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/ListQualityMonitorRequest.java index db6234b9e..dbe54c7d1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/ListQualityMonitorRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/ListQualityMonitorRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List quality monitors */ @Generated public class ListQualityMonitorRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/QualityMonitorV2API.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/QualityMonitorV2API.java index b0a02ea48..3d064a78a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/QualityMonitorV2API.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/QualityMonitorV2API.java @@ -29,11 +29,7 @@ public QualityMonitor createQualityMonitor(QualityMonitor qualityMonitor) { new CreateQualityMonitorRequest().setQualityMonitor(qualityMonitor)); } - /** - * Create a quality monitor. - * - *

Create a quality monitor on UC object - */ + /** Create a quality monitor on UC object */ public QualityMonitor createQualityMonitor(CreateQualityMonitorRequest request) { return impl.createQualityMonitor(request); } @@ -43,11 +39,7 @@ public void deleteQualityMonitor(String objectType, String objectId) { new DeleteQualityMonitorRequest().setObjectType(objectType).setObjectId(objectId)); } - /** - * Delete a quality monitor. - * - *

Delete a quality monitor on UC object - */ + /** Delete a quality monitor on UC object */ public void deleteQualityMonitor(DeleteQualityMonitorRequest request) { impl.deleteQualityMonitor(request); } @@ -57,20 +49,12 @@ public QualityMonitor getQualityMonitor(String objectType, String objectId) { new GetQualityMonitorRequest().setObjectType(objectType).setObjectId(objectId)); } - /** - * Read a quality monitor. - * - *

Read a quality monitor on UC object - */ + /** Read a quality monitor on UC object */ public QualityMonitor getQualityMonitor(GetQualityMonitorRequest request) { return impl.getQualityMonitor(request); } - /** - * List quality monitors. - * - *

(Unimplemented) List quality monitors - */ + /** (Unimplemented) List quality monitors */ public Iterable listQualityMonitor(ListQualityMonitorRequest request) { return new Paginator<>( request, @@ -94,11 +78,7 @@ public QualityMonitor updateQualityMonitor( .setQualityMonitor(qualityMonitor)); } - /** - * Update a quality monitor. - * - *

(Unimplemented) Update a quality monitor on UC object - */ + /** (Unimplemented) Update a quality monitor on UC object */ public QualityMonitor updateQualityMonitor(UpdateQualityMonitorRequest request) { return impl.updateQualityMonitor(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/QualityMonitorV2Service.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/QualityMonitorV2Service.java index 762b01606..aae677aa9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/QualityMonitorV2Service.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/QualityMonitorV2Service.java @@ -12,39 +12,19 @@ */ @Generated public interface QualityMonitorV2Service { - /** - * Create a quality monitor. - * - *

Create a quality monitor on UC object - */ + /** Create a quality monitor on UC object */ QualityMonitor createQualityMonitor(CreateQualityMonitorRequest createQualityMonitorRequest); - /** - * Delete a quality monitor. - * - *

Delete a quality monitor on UC object - */ + /** Delete a quality monitor on UC object */ void deleteQualityMonitor(DeleteQualityMonitorRequest deleteQualityMonitorRequest); - /** - * Read a quality monitor. - * - *

Read a quality monitor on UC object - */ + /** Read a quality monitor on UC object */ QualityMonitor getQualityMonitor(GetQualityMonitorRequest getQualityMonitorRequest); - /** - * List quality monitors. - * - *

(Unimplemented) List quality monitors - */ + /** (Unimplemented) List quality monitors */ ListQualityMonitorResponse listQualityMonitor( ListQualityMonitorRequest listQualityMonitorRequest); - /** - * Update a quality monitor. - * - *

(Unimplemented) Update a quality monitor on UC object - */ + /** (Unimplemented) Update a quality monitor on UC object */ QualityMonitor updateQualityMonitor(UpdateQualityMonitorRequest updateQualityMonitorRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/UpdateQualityMonitorRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/UpdateQualityMonitorRequest.java index 0c7f4fb84..e6a1c36a1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/UpdateQualityMonitorRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/UpdateQualityMonitorRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Update a quality monitor */ @Generated public class UpdateQualityMonitorRequest { /** The uuid of the request object. For example, schema id. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/BuildLogsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/BuildLogsRequest.java index 0beec7085..a75a87406 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/BuildLogsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/BuildLogsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get build logs for a served model */ @Generated public class BuildLogsRequest { /** The name of the serving endpoint that the served model belongs to. This field is required. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/CreateServingEndpoint.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/CreateServingEndpoint.java index b02ca6ab8..0c78af532 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/CreateServingEndpoint.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/CreateServingEndpoint.java @@ -26,6 +26,10 @@ public class CreateServingEndpoint { @JsonProperty("config") private EndpointCoreConfigInput config; + /** */ + @JsonProperty("description") + private String description; + /** * The name of the serving endpoint. This field is required and must be unique across a Databricks * workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. @@ -75,6 +79,15 @@ public EndpointCoreConfigInput getConfig() { return config; } + public CreateServingEndpoint setDescription(String description) { + this.description = description; + return this; + } + + public String getDescription() { + return description; + } + public CreateServingEndpoint setName(String name) { this.name = name; return this; @@ -119,6 +132,7 @@ public boolean equals(Object o) { return Objects.equals(aiGateway, that.aiGateway) && Objects.equals(budgetPolicyId, that.budgetPolicyId) && Objects.equals(config, that.config) + && Objects.equals(description, that.description) && Objects.equals(name, that.name) && Objects.equals(rateLimits, that.rateLimits) && Objects.equals(routeOptimized, that.routeOptimized) @@ -127,7 +141,8 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(aiGateway, budgetPolicyId, config, name, rateLimits, routeOptimized, tags); + return Objects.hash( + aiGateway, budgetPolicyId, config, description, name, rateLimits, routeOptimized, tags); } @Override @@ -136,6 +151,7 @@ public String toString() { .add("aiGateway", aiGateway) .add("budgetPolicyId", budgetPolicyId) .add("config", config) + .add("description", description) .add("name", name) .add("rateLimits", rateLimits) .add("routeOptimized", routeOptimized) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/DeleteServingEndpointRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/DeleteServingEndpointRequest.java index ba579de1b..962a3c11b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/DeleteServingEndpointRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/DeleteServingEndpointRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a serving endpoint */ @Generated public class DeleteServingEndpointRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ExportMetricsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ExportMetricsRequest.java index 02e5a881b..1c141246a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ExportMetricsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ExportMetricsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get metrics of a serving endpoint */ @Generated public class ExportMetricsRequest { /** The name of the serving endpoint to retrieve metrics for. This field is required. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GetOpenApiRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GetOpenApiRequest.java index ad05234d3..06986f7de 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GetOpenApiRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GetOpenApiRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the schema for a serving endpoint */ @Generated public class GetOpenApiRequest { /** The name of the serving endpoint that the served model belongs to. This field is required. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GetServingEndpointPermissionLevelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GetServingEndpointPermissionLevelsRequest.java index df34d1f50..b5bb0471c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GetServingEndpointPermissionLevelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GetServingEndpointPermissionLevelsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get serving endpoint permission levels */ @Generated public class GetServingEndpointPermissionLevelsRequest { /** The serving endpoint for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GetServingEndpointPermissionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GetServingEndpointPermissionsRequest.java index 3e0d5cdd5..c6485f431 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GetServingEndpointPermissionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GetServingEndpointPermissionsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get serving endpoint permissions */ @Generated public class GetServingEndpointPermissionsRequest { /** The serving endpoint for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GetServingEndpointRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GetServingEndpointRequest.java index d31230a06..702368683 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GetServingEndpointRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GetServingEndpointRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a single serving endpoint */ @Generated public class GetServingEndpointRequest { /** The name of the serving endpoint. This field is required. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/LogsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/LogsRequest.java index 7c7606e9e..8ed4260e6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/LogsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/LogsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the latest logs for a served model */ @Generated public class LogsRequest { /** The name of the serving endpoint that the served model belongs to. This field is required. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/Route.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/Route.java index 4d6fbb6ea..64fe2e69a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/Route.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/Route.java @@ -9,6 +9,10 @@ @Generated public class Route { + /** */ + @JsonProperty("served_entity_name") + private String servedEntityName; + /** The name of the served model this route configures traffic for. */ @JsonProperty("served_model_name") private String servedModelName; @@ -20,6 +24,15 @@ public class Route { @JsonProperty("traffic_percentage") private Long trafficPercentage; + public Route setServedEntityName(String servedEntityName) { + this.servedEntityName = servedEntityName; + return this; + } + + public String getServedEntityName() { + return servedEntityName; + } + public Route setServedModelName(String servedModelName) { this.servedModelName = servedModelName; return this; @@ -43,18 +56,20 @@ public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Route that = (Route) o; - return Objects.equals(servedModelName, that.servedModelName) + return Objects.equals(servedEntityName, that.servedEntityName) + && Objects.equals(servedModelName, that.servedModelName) && Objects.equals(trafficPercentage, that.trafficPercentage); } @Override public int hashCode() { - return Objects.hash(servedModelName, trafficPercentage); + return Objects.hash(servedEntityName, servedModelName, trafficPercentage); } @Override public String toString() { return new ToStringer(Route.class) + .add("servedEntityName", servedEntityName) .add("servedModelName", servedModelName) .add("trafficPercentage", trafficPercentage) .toString(); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpoint.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpoint.java index 9a0da78e1..e6f955427 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpoint.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpoint.java @@ -34,6 +34,10 @@ public class ServingEndpoint { @JsonProperty("creator") private String creator; + /** Description of the endpoint */ + @JsonProperty("description") + private String description; + /** System-generated ID of the endpoint, included to be used by the Permissions API. */ @JsonProperty("id") private String id; @@ -103,6 +107,15 @@ public String getCreator() { return creator; } + public ServingEndpoint setDescription(String description) { + this.description = description; + return this; + } + + public String getDescription() { + return description; + } + public ServingEndpoint setId(String id) { this.id = id; return this; @@ -167,6 +180,7 @@ public boolean equals(Object o) { && Objects.equals(config, that.config) && Objects.equals(creationTimestamp, that.creationTimestamp) && Objects.equals(creator, that.creator) + && Objects.equals(description, that.description) && Objects.equals(id, that.id) && Objects.equals(lastUpdatedTimestamp, that.lastUpdatedTimestamp) && Objects.equals(name, that.name) @@ -183,6 +197,7 @@ public int hashCode() { config, creationTimestamp, creator, + description, id, lastUpdatedTimestamp, name, @@ -199,6 +214,7 @@ public String toString() { .add("config", config) .add("creationTimestamp", creationTimestamp) .add("creator", creator) + .add("description", description) .add("id", id) .add("lastUpdatedTimestamp", lastUpdatedTimestamp) .add("name", name) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpointDetailed.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpointDetailed.java index b01c6e572..3f5297a3e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpointDetailed.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpointDetailed.java @@ -38,6 +38,10 @@ public class ServingEndpointDetailed { @JsonProperty("data_plane_info") private ModelDataPlaneInfo dataPlaneInfo; + /** Description of the serving model */ + @JsonProperty("description") + private String description; + /** Endpoint invocation url if route optimization is enabled for endpoint */ @JsonProperty("endpoint_url") private String endpointUrl; @@ -135,6 +139,15 @@ public ModelDataPlaneInfo getDataPlaneInfo() { return dataPlaneInfo; } + public ServingEndpointDetailed setDescription(String description) { + this.description = description; + return this; + } + + public String getDescription() { + return description; + } + public ServingEndpointDetailed setEndpointUrl(String endpointUrl) { this.endpointUrl = endpointUrl; return this; @@ -237,6 +250,7 @@ public boolean equals(Object o) { && Objects.equals(creationTimestamp, that.creationTimestamp) && Objects.equals(creator, that.creator) && Objects.equals(dataPlaneInfo, that.dataPlaneInfo) + && Objects.equals(description, that.description) && Objects.equals(endpointUrl, that.endpointUrl) && Objects.equals(id, that.id) && Objects.equals(lastUpdatedTimestamp, that.lastUpdatedTimestamp) @@ -258,6 +272,7 @@ public int hashCode() { creationTimestamp, creator, dataPlaneInfo, + description, endpointUrl, id, lastUpdatedTimestamp, @@ -279,6 +294,7 @@ public String toString() { .add("creationTimestamp", creationTimestamp) .add("creator", creator) .add("dataPlaneInfo", dataPlaneInfo) + .add("description", description) .add("endpointUrl", endpointUrl) .add("id", id) .add("lastUpdatedTimestamp", lastUpdatedTimestamp) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpointsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpointsAPI.java index 0380b75cb..e63e1284f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpointsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpointsAPI.java @@ -95,11 +95,7 @@ public BuildLogsResponse buildLogs(String name, String servedModelName) { return buildLogs(new BuildLogsRequest().setName(name).setServedModelName(servedModelName)); } - /** - * Get build logs for a served model. - * - *

Retrieves the build logs associated with the provided served model. - */ + /** Retrieves the build logs associated with the provided served model. */ public BuildLogsResponse buildLogs(BuildLogsRequest request) { return impl.buildLogs(request); } @@ -148,9 +144,7 @@ public ExportMetricsResponse exportMetrics(String name) { } /** - * Get metrics of a serving endpoint. - * - *

Retrieves the metrics associated with the provided serving endpoint in either Prometheus or + * Retrieves the metrics associated with the provided serving endpoint in either Prometheus or * OpenMetrics exposition format. */ public ExportMetricsResponse exportMetrics(ExportMetricsRequest request) { @@ -161,11 +155,7 @@ public ServingEndpointDetailed get(String name) { return get(new GetServingEndpointRequest().setName(name)); } - /** - * Get a single serving endpoint. - * - *

Retrieves the details for a single serving endpoint. - */ + /** Retrieves the details for a single serving endpoint. */ public ServingEndpointDetailed get(GetServingEndpointRequest request) { return impl.get(request); } @@ -175,10 +165,8 @@ public GetOpenApiResponse getOpenApi(String name) { } /** - * Get the schema for a serving endpoint. - * - *

Get the query schema of the serving endpoint in OpenAPI format. The schema contains - * information for the supported paths, input and output format and datatypes. + * Get the query schema of the serving endpoint in OpenAPI format. The schema contains information + * for the supported paths, input and output format and datatypes. */ public GetOpenApiResponse getOpenApi(GetOpenApiRequest request) { return impl.getOpenApi(request); @@ -189,11 +177,7 @@ public GetServingEndpointPermissionLevelsResponse getPermissionLevels(String ser new GetServingEndpointPermissionLevelsRequest().setServingEndpointId(servingEndpointId)); } - /** - * Get serving endpoint permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ public GetServingEndpointPermissionLevelsResponse getPermissionLevels( GetServingEndpointPermissionLevelsRequest request) { return impl.getPermissionLevels(request); @@ -205,9 +189,7 @@ public ServingEndpointPermissions getPermissions(String servingEndpointId) { } /** - * Get serving endpoint permissions. - * - *

Gets the permissions of a serving endpoint. Serving endpoints can inherit permissions from + * Gets the permissions of a serving endpoint. Serving endpoints can inherit permissions from * their root object. */ public ServingEndpointPermissions getPermissions(GetServingEndpointPermissionsRequest request) { @@ -238,11 +220,7 @@ public ServerLogsResponse logs(String name, String servedModelName) { return logs(new LogsRequest().setName(name).setServedModelName(servedModelName)); } - /** - * Get the latest logs for a served model. - * - *

Retrieves the service logs associated with the provided served model. - */ + /** Retrieves the service logs associated with the provided served model. */ public ServerLogsResponse logs(LogsRequest request) { return impl.logs(request); } @@ -251,11 +229,7 @@ public EndpointTags patch(String name) { return patch(new PatchServingEndpointTags().setName(name)); } - /** - * Update tags of a serving endpoint. - * - *

Used to batch add and delete tags from a serving endpoint with a single API call. - */ + /** Used to batch add and delete tags from a serving endpoint with a single API call. */ public EndpointTags patch(PatchServingEndpointTags request) { return impl.patch(request); } @@ -264,11 +238,7 @@ public PutResponse put(String name) { return put(new PutRequest().setName(name)); } - /** - * Update rate limits of a serving endpoint. - * - *

Deprecated: Please use AI Gateway to manage rate limits instead. - */ + /** Deprecated: Please use AI Gateway to manage rate limits instead. */ public PutResponse put(PutRequest request) { return impl.put(request); } @@ -278,9 +248,7 @@ public PutAiGatewayResponse putAiGateway(String name) { } /** - * Update AI Gateway of a serving endpoint. - * - *

Used to update the AI Gateway of a serving endpoint. NOTE: External model, provisioned + * Used to update the AI Gateway of a serving endpoint. NOTE: External model, provisioned * throughput, and pay-per-token endpoints are fully supported; agent endpoints currently only * support inference tables. */ @@ -303,11 +271,8 @@ public ServingEndpointPermissions setPermissions(String servingEndpointId) { } /** - * Set serving endpoint permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ public ServingEndpointPermissions setPermissions(ServingEndpointPermissionsRequest request) { return impl.setPermissions(request); @@ -318,10 +283,8 @@ public Wait updateConfig(Strin } /** - * Update config of a serving endpoint. - * - *

Updates any combination of the serving endpoint's served entities, the compute configuration - * of those served entities, and the endpoint's traffic config. An endpoint that already has an + * Updates any combination of the serving endpoint's served entities, the compute configuration of + * those served entities, and the endpoint's traffic config. An endpoint that already has an * update in progress can not be updated until the current update completes or fails. */ public Wait updateConfig( @@ -339,10 +302,8 @@ public ServingEndpointPermissions updatePermissions(String servingEndpointId) { } /** - * Update serving endpoint permissions. - * - *

Updates the permissions on a serving endpoint. Serving endpoints can inherit permissions - * from their root object. + * Updates the permissions on a serving endpoint. Serving endpoints can inherit permissions from + * their root object. */ public ServingEndpointPermissions updatePermissions(ServingEndpointPermissionsRequest request) { return impl.updatePermissions(request); @@ -355,9 +316,7 @@ public ServingEndpointPermissions updatePermissions(ServingEndpointPermissionsRe } /** - * Update config of a PT serving endpoint. - * - *

Updates any combination of the pt endpoint's served entities, the compute configuration of + * Updates any combination of the pt endpoint's served entities, the compute configuration of * those served entities, and the endpoint's traffic config. Updates are instantaneous and * endpoint should be updated instantly */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpointsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpointsService.java index fe996b208..4d61dc712 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpointsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpointsService.java @@ -21,11 +21,7 @@ */ @Generated public interface ServingEndpointsService { - /** - * Get build logs for a served model. - * - *

Retrieves the build logs associated with the provided served model. - */ + /** Retrieves the build logs associated with the provided served model. */ BuildLogsResponse buildLogs(BuildLogsRequest buildLogsRequest); /** Create a new serving endpoint. */ @@ -39,40 +35,26 @@ ServingEndpointDetailed createProvisionedThroughputEndpoint( void delete(DeleteServingEndpointRequest deleteServingEndpointRequest); /** - * Get metrics of a serving endpoint. - * - *

Retrieves the metrics associated with the provided serving endpoint in either Prometheus or + * Retrieves the metrics associated with the provided serving endpoint in either Prometheus or * OpenMetrics exposition format. */ ExportMetricsResponse exportMetrics(ExportMetricsRequest exportMetricsRequest); - /** - * Get a single serving endpoint. - * - *

Retrieves the details for a single serving endpoint. - */ + /** Retrieves the details for a single serving endpoint. */ ServingEndpointDetailed get(GetServingEndpointRequest getServingEndpointRequest); /** - * Get the schema for a serving endpoint. - * - *

Get the query schema of the serving endpoint in OpenAPI format. The schema contains - * information for the supported paths, input and output format and datatypes. + * Get the query schema of the serving endpoint in OpenAPI format. The schema contains information + * for the supported paths, input and output format and datatypes. */ GetOpenApiResponse getOpenApi(GetOpenApiRequest getOpenApiRequest); - /** - * Get serving endpoint permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ GetServingEndpointPermissionLevelsResponse getPermissionLevels( GetServingEndpointPermissionLevelsRequest getServingEndpointPermissionLevelsRequest); /** - * Get serving endpoint permissions. - * - *

Gets the permissions of a serving endpoint. Serving endpoints can inherit permissions from + * Gets the permissions of a serving endpoint. Serving endpoints can inherit permissions from * their root object. */ ServingEndpointPermissions getPermissions( @@ -84,31 +66,17 @@ ServingEndpointPermissions getPermissions( /** Get all serving endpoints. */ ListEndpointsResponse list(); - /** - * Get the latest logs for a served model. - * - *

Retrieves the service logs associated with the provided served model. - */ + /** Retrieves the service logs associated with the provided served model. */ ServerLogsResponse logs(LogsRequest logsRequest); - /** - * Update tags of a serving endpoint. - * - *

Used to batch add and delete tags from a serving endpoint with a single API call. - */ + /** Used to batch add and delete tags from a serving endpoint with a single API call. */ EndpointTags patch(PatchServingEndpointTags patchServingEndpointTags); - /** - * Update rate limits of a serving endpoint. - * - *

Deprecated: Please use AI Gateway to manage rate limits instead. - */ + /** Deprecated: Please use AI Gateway to manage rate limits instead. */ PutResponse put(PutRequest putRequest); /** - * Update AI Gateway of a serving endpoint. - * - *

Used to update the AI Gateway of a serving endpoint. NOTE: External model, provisioned + * Used to update the AI Gateway of a serving endpoint. NOTE: External model, provisioned * throughput, and pay-per-token endpoints are fully supported; agent endpoints currently only * support inference tables. */ @@ -118,37 +86,28 @@ ServingEndpointPermissions getPermissions( QueryEndpointResponse query(QueryEndpointInput queryEndpointInput); /** - * Set serving endpoint permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ ServingEndpointPermissions setPermissions( ServingEndpointPermissionsRequest servingEndpointPermissionsRequest); /** - * Update config of a serving endpoint. - * - *

Updates any combination of the serving endpoint's served entities, the compute configuration - * of those served entities, and the endpoint's traffic config. An endpoint that already has an + * Updates any combination of the serving endpoint's served entities, the compute configuration of + * those served entities, and the endpoint's traffic config. An endpoint that already has an * update in progress can not be updated until the current update completes or fails. */ ServingEndpointDetailed updateConfig(EndpointCoreConfigInput endpointCoreConfigInput); /** - * Update serving endpoint permissions. - * - *

Updates the permissions on a serving endpoint. Serving endpoints can inherit permissions - * from their root object. + * Updates the permissions on a serving endpoint. Serving endpoints can inherit permissions from + * their root object. */ ServingEndpointPermissions updatePermissions( ServingEndpointPermissionsRequest servingEndpointPermissionsRequest); /** - * Update config of a PT serving endpoint. - * - *

Updates any combination of the pt endpoint's served entities, the compute configuration of + * Updates any combination of the pt endpoint's served entities, the compute configuration of * those served entities, and the endpoint's traffic config. Updates are instantaneous and * endpoint should be updated instantly */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsAPI.java index a8a4d01c5..f4ac54a40 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsAPI.java @@ -50,9 +50,7 @@ public CreateIpAccessListResponse create(String label, ListType listType) { } /** - * Create access list. - * - *

Creates an IP access list for the account. + * Creates an IP access list for the account. * *

A list can be an allow list or a block list. See the top of this file for a description of * how the server treats allow lists and block lists at runtime. @@ -74,11 +72,7 @@ public void delete(String ipAccessListId) { delete(new DeleteAccountIpAccessListRequest().setIpAccessListId(ipAccessListId)); } - /** - * Delete access list. - * - *

Deletes an IP access list, specified by its list ID. - */ + /** Deletes an IP access list, specified by its list ID. */ public void delete(DeleteAccountIpAccessListRequest request) { impl.delete(request); } @@ -87,20 +81,12 @@ public GetIpAccessListResponse get(String ipAccessListId) { return get(new GetAccountIpAccessListRequest().setIpAccessListId(ipAccessListId)); } - /** - * Get IP access list. - * - *

Gets an IP access list, specified by its list ID. - */ + /** Gets an IP access list, specified by its list ID. */ public GetIpAccessListResponse get(GetAccountIpAccessListRequest request) { return impl.get(request); } - /** - * Get access lists. - * - *

Gets all IP access lists for the specified account. - */ + /** Gets all IP access lists for the specified account. */ public Iterable list() { return new Paginator<>( null, @@ -119,9 +105,7 @@ public void replace(String ipAccessListId, String label, ListType listType, bool } /** - * Replace access list. - * - *

Replaces an IP access list, specified by its ID. + * Replaces an IP access list, specified by its ID. * *

A list can include allow lists and block lists. See the top of this file for a description * of how the server treats allow lists and block lists at run time. When replacing an IP access @@ -140,9 +124,7 @@ public void update(String ipAccessListId) { } /** - * Update access list. - * - *

Updates an existing IP access list, specified by its ID. + * Updates an existing IP access list, specified by its ID. * *

A list can include allow lists and block lists. See the top of this file for a description * of how the server treats allow lists and block lists at run time. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsService.java index 2efde024a..97dc87523 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsService.java @@ -32,9 +32,7 @@ @Generated public interface AccountIpAccessListsService { /** - * Create access list. - * - *

Creates an IP access list for the account. + * Creates an IP access list for the account. * *

A list can be an allow list or a block list. See the top of this file for a description of * how the server treats allow lists and block lists at runtime. @@ -50,31 +48,17 @@ public interface AccountIpAccessListsService { */ CreateIpAccessListResponse create(CreateIpAccessList createIpAccessList); - /** - * Delete access list. - * - *

Deletes an IP access list, specified by its list ID. - */ + /** Deletes an IP access list, specified by its list ID. */ void delete(DeleteAccountIpAccessListRequest deleteAccountIpAccessListRequest); - /** - * Get IP access list. - * - *

Gets an IP access list, specified by its list ID. - */ + /** Gets an IP access list, specified by its list ID. */ GetIpAccessListResponse get(GetAccountIpAccessListRequest getAccountIpAccessListRequest); - /** - * Get access lists. - * - *

Gets all IP access lists for the specified account. - */ + /** Gets all IP access lists for the specified account. */ GetIpAccessListsResponse list(); /** - * Replace access list. - * - *

Replaces an IP access list, specified by its ID. + * Replaces an IP access list, specified by its ID. * *

A list can include allow lists and block lists. See the top of this file for a description * of how the server treats allow lists and block lists at run time. When replacing an IP access @@ -87,9 +71,7 @@ public interface AccountIpAccessListsService { void replace(ReplaceIpAccessList replaceIpAccessList); /** - * Update access list. - * - *

Updates an existing IP access list, specified by its ID. + * Updates an existing IP access list, specified by its ID. * *

A list can include allow lists and block lists. See the top of this file for a description * of how the server treats allow lists and block lists at run time. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingAccessPolicyAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingAccessPolicyAPI.java index 0a12f2dca..bf8b5ceff 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingAccessPolicyAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingAccessPolicyAPI.java @@ -28,20 +28,14 @@ public AibiDashboardEmbeddingAccessPolicyAPI(AibiDashboardEmbeddingAccessPolicyS impl = mock; } - /** - * Delete the AI/BI dashboard embedding access policy. - * - *

Delete the AI/BI dashboard embedding access policy, reverting back to the default. - */ + /** Delete the AI/BI dashboard embedding access policy, reverting back to the default. */ public DeleteAibiDashboardEmbeddingAccessPolicySettingResponse delete( DeleteAibiDashboardEmbeddingAccessPolicySettingRequest request) { return impl.delete(request); } /** - * Retrieve the AI/BI dashboard embedding access policy. - * - *

Retrieves the AI/BI dashboard embedding access policy. The default setting is + * Retrieves the AI/BI dashboard embedding access policy. The default setting is * ALLOW_APPROVED_DOMAINS, permitting AI/BI dashboards to be embedded on approved domains. */ public AibiDashboardEmbeddingAccessPolicySetting get( @@ -58,11 +52,7 @@ public AibiDashboardEmbeddingAccessPolicySetting update( .setFieldMask(fieldMask)); } - /** - * Update the AI/BI dashboard embedding access policy. - * - *

Updates the AI/BI dashboard embedding access policy at the workspace level. - */ + /** Updates the AI/BI dashboard embedding access policy at the workspace level. */ public AibiDashboardEmbeddingAccessPolicySetting update( UpdateAibiDashboardEmbeddingAccessPolicySettingRequest request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingAccessPolicyService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingAccessPolicyService.java index e66d65b46..0ee171482 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingAccessPolicyService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingAccessPolicyService.java @@ -14,30 +14,20 @@ */ @Generated public interface AibiDashboardEmbeddingAccessPolicyService { - /** - * Delete the AI/BI dashboard embedding access policy. - * - *

Delete the AI/BI dashboard embedding access policy, reverting back to the default. - */ + /** Delete the AI/BI dashboard embedding access policy, reverting back to the default. */ DeleteAibiDashboardEmbeddingAccessPolicySettingResponse delete( DeleteAibiDashboardEmbeddingAccessPolicySettingRequest deleteAibiDashboardEmbeddingAccessPolicySettingRequest); /** - * Retrieve the AI/BI dashboard embedding access policy. - * - *

Retrieves the AI/BI dashboard embedding access policy. The default setting is + * Retrieves the AI/BI dashboard embedding access policy. The default setting is * ALLOW_APPROVED_DOMAINS, permitting AI/BI dashboards to be embedded on approved domains. */ AibiDashboardEmbeddingAccessPolicySetting get( GetAibiDashboardEmbeddingAccessPolicySettingRequest getAibiDashboardEmbeddingAccessPolicySettingRequest); - /** - * Update the AI/BI dashboard embedding access policy. - * - *

Updates the AI/BI dashboard embedding access policy at the workspace level. - */ + /** Updates the AI/BI dashboard embedding access policy at the workspace level. */ AibiDashboardEmbeddingAccessPolicySetting update( UpdateAibiDashboardEmbeddingAccessPolicySettingRequest updateAibiDashboardEmbeddingAccessPolicySettingRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingApprovedDomainsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingApprovedDomainsAPI.java index 5a2ecc74a..2fdd21afb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingApprovedDomainsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingApprovedDomainsAPI.java @@ -29,9 +29,7 @@ public AibiDashboardEmbeddingApprovedDomainsAPI( } /** - * Delete AI/BI dashboard embedding approved domains. - * - *

Delete the list of domains approved to host embedded AI/BI dashboards, reverting back to the + * Delete the list of domains approved to host embedded AI/BI dashboards, reverting back to the * default empty list. */ public DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse delete( @@ -39,11 +37,7 @@ public DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse delete( return impl.delete(request); } - /** - * Retrieve the list of domains approved to host embedded AI/BI dashboards. - * - *

Retrieves the list of domains approved to host embedded AI/BI dashboards. - */ + /** Retrieves the list of domains approved to host embedded AI/BI dashboards. */ public AibiDashboardEmbeddingApprovedDomainsSetting get( GetAibiDashboardEmbeddingApprovedDomainsSettingRequest request) { return impl.get(request); @@ -61,10 +55,8 @@ public AibiDashboardEmbeddingApprovedDomainsSetting update( } /** - * Update the list of domains approved to host embedded AI/BI dashboards. - * - *

Updates the list of domains approved to host embedded AI/BI dashboards. This update will - * fail if the current workspace access policy is not ALLOW_APPROVED_DOMAINS. + * Updates the list of domains approved to host embedded AI/BI dashboards. This update will fail + * if the current workspace access policy is not ALLOW_APPROVED_DOMAINS. */ public AibiDashboardEmbeddingApprovedDomainsSetting update( UpdateAibiDashboardEmbeddingApprovedDomainsSettingRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingApprovedDomainsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingApprovedDomainsService.java index 430c8ded9..b4f58bc23 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingApprovedDomainsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingApprovedDomainsService.java @@ -14,29 +14,21 @@ @Generated public interface AibiDashboardEmbeddingApprovedDomainsService { /** - * Delete AI/BI dashboard embedding approved domains. - * - *

Delete the list of domains approved to host embedded AI/BI dashboards, reverting back to the + * Delete the list of domains approved to host embedded AI/BI dashboards, reverting back to the * default empty list. */ DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse delete( DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest deleteAibiDashboardEmbeddingApprovedDomainsSettingRequest); - /** - * Retrieve the list of domains approved to host embedded AI/BI dashboards. - * - *

Retrieves the list of domains approved to host embedded AI/BI dashboards. - */ + /** Retrieves the list of domains approved to host embedded AI/BI dashboards. */ AibiDashboardEmbeddingApprovedDomainsSetting get( GetAibiDashboardEmbeddingApprovedDomainsSettingRequest getAibiDashboardEmbeddingApprovedDomainsSettingRequest); /** - * Update the list of domains approved to host embedded AI/BI dashboards. - * - *

Updates the list of domains approved to host embedded AI/BI dashboards. This update will - * fail if the current workspace access policy is not ALLOW_APPROVED_DOMAINS. + * Updates the list of domains approved to host embedded AI/BI dashboards. This update will fail + * if the current workspace access policy is not ALLOW_APPROVED_DOMAINS. */ AibiDashboardEmbeddingApprovedDomainsSetting update( UpdateAibiDashboardEmbeddingApprovedDomainsSettingRequest diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateAPI.java index fa7d583a7..4be5a0c6d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateAPI.java @@ -26,11 +26,7 @@ public AutomaticClusterUpdateAPI(AutomaticClusterUpdateService mock) { impl = mock; } - /** - * Get the automatic cluster update setting. - * - *

Gets the automatic cluster update setting. - */ + /** Gets the automatic cluster update setting. */ public AutomaticClusterUpdateSetting get(GetAutomaticClusterUpdateSettingRequest request) { return impl.get(request); } @@ -45,9 +41,7 @@ public AutomaticClusterUpdateSetting update( } /** - * Update the automatic cluster update setting. - * - *

Updates the automatic cluster update setting for the workspace. A fresh etag needs to be + * Updates the automatic cluster update setting for the workspace. A fresh etag needs to be * provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by * making a `GET` request before the `PATCH` request. If the setting is updated concurrently, * `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateService.java index 73d68ffb8..ad28cacf3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateService.java @@ -13,18 +13,12 @@ */ @Generated public interface AutomaticClusterUpdateService { - /** - * Get the automatic cluster update setting. - * - *

Gets the automatic cluster update setting. - */ + /** Gets the automatic cluster update setting. */ AutomaticClusterUpdateSetting get( GetAutomaticClusterUpdateSettingRequest getAutomaticClusterUpdateSettingRequest); /** - * Update the automatic cluster update setting. - * - *

Updates the automatic cluster update setting for the workspace. A fresh etag needs to be + * Updates the automatic cluster update setting for the workspace. A fresh etag needs to be * provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by * making a `GET` request before the `PATCH` request. If the setting is updated concurrently, * `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileAPI.java index e5df51c0e..1ce258ff8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileAPI.java @@ -28,11 +28,7 @@ public ComplianceSecurityProfileAPI(ComplianceSecurityProfileService mock) { impl = mock; } - /** - * Get the compliance security profile setting. - * - *

Gets the compliance security profile setting. - */ + /** Gets the compliance security profile setting. */ public ComplianceSecurityProfileSetting get(GetComplianceSecurityProfileSettingRequest request) { return impl.get(request); } @@ -47,9 +43,7 @@ public ComplianceSecurityProfileSetting update( } /** - * Update the compliance security profile setting. - * - *

Updates the compliance security profile setting for the workspace. A fresh etag needs to be + * Updates the compliance security profile setting for the workspace. A fresh etag needs to be * provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by * making a `GET` request before the `PATCH` request. If the setting is updated concurrently, * `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileService.java index 9a8340f36..56ce1187d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileService.java @@ -15,18 +15,12 @@ */ @Generated public interface ComplianceSecurityProfileService { - /** - * Get the compliance security profile setting. - * - *

Gets the compliance security profile setting. - */ + /** Gets the compliance security profile setting. */ ComplianceSecurityProfileSetting get( GetComplianceSecurityProfileSettingRequest getComplianceSecurityProfileSettingRequest); /** - * Update the compliance security profile setting. - * - *

Updates the compliance security profile setting for the workspace. A fresh etag needs to be + * Updates the compliance security profile setting for the workspace. A fresh etag needs to be * provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by * making a `GET` request before the `PATCH` request. If the setting is updated concurrently, * `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreateNetworkConnectivityConfigRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreateNetworkConnectivityConfigRequest.java index 3188d16c2..85ca6762f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreateNetworkConnectivityConfigRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreateNetworkConnectivityConfigRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create a network connectivity configuration */ @Generated public class CreateNetworkConnectivityConfigRequest { /** Properties of the new network connectivity configuration. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreateNetworkPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreateNetworkPolicyRequest.java index 8afee90dd..dc6876eb9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreateNetworkPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreateNetworkPolicyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create a network policy */ @Generated public class CreateNetworkPolicyRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreatePrivateEndpointRuleRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreatePrivateEndpointRuleRequest.java index 1afe88442..fc369b6c2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreatePrivateEndpointRuleRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreatePrivateEndpointRuleRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create a private endpoint rule */ @Generated public class CreatePrivateEndpointRuleRequest { /** Your Network Connectivity Configuration ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CredentialsManagerAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CredentialsManagerAPI.java index febf83e87..34f521454 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CredentialsManagerAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CredentialsManagerAPI.java @@ -37,9 +37,7 @@ public ExchangeTokenResponse exchangeToken( } /** - * Exchange token. - * - *

Exchange tokens with an Identity Provider to get a new access token. It allows specifying + * Exchange tokens with an Identity Provider to get a new access token. It allows specifying * scopes to determine token permissions. */ public ExchangeTokenResponse exchangeToken(ExchangeTokenRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CredentialsManagerService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CredentialsManagerService.java index 226217bd1..6527ac845 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CredentialsManagerService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CredentialsManagerService.java @@ -14,9 +14,7 @@ @Generated public interface CredentialsManagerService { /** - * Exchange token. - * - *

Exchange tokens with an Identity Provider to get a new access token. It allows specifying + * Exchange tokens with an Identity Provider to get a new access token. It allows specifying * scopes to determine token permissions. */ ExchangeTokenResponse exchangeToken(ExchangeTokenRequest exchangeTokenRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountAPI.java index 99c33fd21..9e53ca47d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountAPI.java @@ -31,11 +31,7 @@ public CspEnablementAccountAPI(CspEnablementAccountService mock) { impl = mock; } - /** - * Get the compliance security profile setting for new workspaces. - * - *

Gets the compliance security profile setting for new workspaces. - */ + /** Gets the compliance security profile setting for new workspaces. */ public CspEnablementAccountSetting get(GetCspEnablementAccountSettingRequest request) { return impl.get(request); } @@ -49,11 +45,7 @@ public CspEnablementAccountSetting update( .setFieldMask(fieldMask)); } - /** - * Update the compliance security profile setting for new workspaces. - * - *

Updates the value of the compliance security profile setting for new workspaces. - */ + /** Updates the value of the compliance security profile setting for new workspaces. */ public CspEnablementAccountSetting update(UpdateCspEnablementAccountSettingRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountService.java index 09bbdf343..e77ace47a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountService.java @@ -18,19 +18,11 @@ */ @Generated public interface CspEnablementAccountService { - /** - * Get the compliance security profile setting for new workspaces. - * - *

Gets the compliance security profile setting for new workspaces. - */ + /** Gets the compliance security profile setting for new workspaces. */ CspEnablementAccountSetting get( GetCspEnablementAccountSettingRequest getCspEnablementAccountSettingRequest); - /** - * Update the compliance security profile setting for new workspaces. - * - *

Updates the value of the compliance security profile setting for new workspaces. - */ + /** Updates the value of the compliance security profile setting for new workspaces. */ CspEnablementAccountSetting update( UpdateCspEnablementAccountSettingRequest updateCspEnablementAccountSettingRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptionsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptionsAPI.java index daf85f77f..f13d8bf86 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptionsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptionsAPI.java @@ -27,21 +27,13 @@ public DashboardEmailSubscriptionsAPI(DashboardEmailSubscriptionsService mock) { impl = mock; } - /** - * Delete the Dashboard Email Subscriptions setting. - * - *

Reverts the Dashboard Email Subscriptions setting to its default value. - */ + /** Reverts the Dashboard Email Subscriptions setting to its default value. */ public DeleteDashboardEmailSubscriptionsResponse delete( DeleteDashboardEmailSubscriptionsRequest request) { return impl.delete(request); } - /** - * Get the Dashboard Email Subscriptions setting. - * - *

Gets the Dashboard Email Subscriptions setting. - */ + /** Gets the Dashboard Email Subscriptions setting. */ public DashboardEmailSubscriptions get(GetDashboardEmailSubscriptionsRequest request) { return impl.get(request); } @@ -55,11 +47,7 @@ public DashboardEmailSubscriptions update( .setFieldMask(fieldMask)); } - /** - * Update the Dashboard Email Subscriptions setting. - * - *

Updates the Dashboard Email Subscriptions setting. - */ + /** Updates the Dashboard Email Subscriptions setting. */ public DashboardEmailSubscriptions update(UpdateDashboardEmailSubscriptionsRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptionsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptionsService.java index 1dbc66188..2d52ecd1a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptionsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptionsService.java @@ -14,27 +14,15 @@ */ @Generated public interface DashboardEmailSubscriptionsService { - /** - * Delete the Dashboard Email Subscriptions setting. - * - *

Reverts the Dashboard Email Subscriptions setting to its default value. - */ + /** Reverts the Dashboard Email Subscriptions setting to its default value. */ DeleteDashboardEmailSubscriptionsResponse delete( DeleteDashboardEmailSubscriptionsRequest deleteDashboardEmailSubscriptionsRequest); - /** - * Get the Dashboard Email Subscriptions setting. - * - *

Gets the Dashboard Email Subscriptions setting. - */ + /** Gets the Dashboard Email Subscriptions setting. */ DashboardEmailSubscriptions get( GetDashboardEmailSubscriptionsRequest getDashboardEmailSubscriptionsRequest); - /** - * Update the Dashboard Email Subscriptions setting. - * - *

Updates the Dashboard Email Subscriptions setting. - */ + /** Updates the Dashboard Email Subscriptions setting. */ DashboardEmailSubscriptions update( UpdateDashboardEmailSubscriptionsRequest updateDashboardEmailSubscriptionsRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceAPI.java index a221e76ea..e0f2c841e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceAPI.java @@ -35,23 +35,17 @@ public DefaultNamespaceAPI(DefaultNamespaceService mock) { } /** - * Delete the default namespace setting. - * - *

Deletes the default namespace setting for the workspace. A fresh etag needs to be provided - * in `DELETE` requests (as a query parameter). The etag can be retrieved by making a `GET` - * request before the `DELETE` request. If the setting is updated/deleted concurrently, `DELETE` - * fails with 409 and the request must be retried by using the fresh etag in the 409 response. + * Deletes the default namespace setting for the workspace. A fresh etag needs to be provided in + * `DELETE` requests (as a query parameter). The etag can be retrieved by making a `GET` request + * before the `DELETE` request. If the setting is updated/deleted concurrently, `DELETE` fails + * with 409 and the request must be retried by using the fresh etag in the 409 response. */ public DeleteDefaultNamespaceSettingResponse delete( DeleteDefaultNamespaceSettingRequest request) { return impl.delete(request); } - /** - * Get the default namespace setting. - * - *

Gets the default namespace setting. - */ + /** Gets the default namespace setting. */ public DefaultNamespaceSetting get(GetDefaultNamespaceSettingRequest request) { return impl.get(request); } @@ -66,10 +60,8 @@ public DefaultNamespaceSetting update( } /** - * Update the default namespace setting. - * - *

Updates the default namespace setting for the workspace. A fresh etag needs to be provided - * in `PATCH` requests (as part of the setting field). The etag can be retrieved by making a `GET` + * Updates the default namespace setting for the workspace. A fresh etag needs to be provided in + * `PATCH` requests (as part of the setting field). The etag can be retrieved by making a `GET` * request before the `PATCH` request. Note that if the setting does not exist, `GET` returns a * NOT_FOUND error and the etag is present in the error response, which should be set in the * `PATCH` request. If the setting is updated concurrently, `PATCH` fails with 409 and the request diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceService.java index 7c7626ca2..f326d738e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceService.java @@ -22,28 +22,20 @@ @Generated public interface DefaultNamespaceService { /** - * Delete the default namespace setting. - * - *

Deletes the default namespace setting for the workspace. A fresh etag needs to be provided - * in `DELETE` requests (as a query parameter). The etag can be retrieved by making a `GET` - * request before the `DELETE` request. If the setting is updated/deleted concurrently, `DELETE` - * fails with 409 and the request must be retried by using the fresh etag in the 409 response. + * Deletes the default namespace setting for the workspace. A fresh etag needs to be provided in + * `DELETE` requests (as a query parameter). The etag can be retrieved by making a `GET` request + * before the `DELETE` request. If the setting is updated/deleted concurrently, `DELETE` fails + * with 409 and the request must be retried by using the fresh etag in the 409 response. */ DeleteDefaultNamespaceSettingResponse delete( DeleteDefaultNamespaceSettingRequest deleteDefaultNamespaceSettingRequest); - /** - * Get the default namespace setting. - * - *

Gets the default namespace setting. - */ + /** Gets the default namespace setting. */ DefaultNamespaceSetting get(GetDefaultNamespaceSettingRequest getDefaultNamespaceSettingRequest); /** - * Update the default namespace setting. - * - *

Updates the default namespace setting for the workspace. A fresh etag needs to be provided - * in `PATCH` requests (as part of the setting field). The etag can be retrieved by making a `GET` + * Updates the default namespace setting for the workspace. A fresh etag needs to be provided in + * `PATCH` requests (as part of the setting field). The etag can be retrieved by making a `GET` * request before the `PATCH` request. Note that if the setting does not exist, `GET` returns a * NOT_FOUND error and the etag is present in the error response, which should be set in the * `PATCH` request. If the setting is updated concurrently, `PATCH` fails with 409 and the request diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountIpAccessEnableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountIpAccessEnableRequest.java index ef3df304b..dfcba87cc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountIpAccessEnableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountIpAccessEnableRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete the account IP access toggle setting */ @Generated public class DeleteAccountIpAccessEnableRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountIpAccessListRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountIpAccessListRequest.java index 0a3852ec5..d055cb9a5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountIpAccessListRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountIpAccessListRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete access list */ @Generated public class DeleteAccountIpAccessListRequest { /** The ID for the corresponding IP access list */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingAccessPolicySettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingAccessPolicySettingRequest.java index 468e464fb..6a98940b9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingAccessPolicySettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingAccessPolicySettingRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete the AI/BI dashboard embedding access policy */ @Generated public class DeleteAibiDashboardEmbeddingAccessPolicySettingRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest.java index 686ba154e..4e1f28bfe 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete AI/BI dashboard embedding approved domains */ @Generated public class DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDashboardEmailSubscriptionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDashboardEmailSubscriptionsRequest.java index 8d3d36912..6f8edee53 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDashboardEmailSubscriptionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDashboardEmailSubscriptionsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete the Dashboard Email Subscriptions setting */ @Generated public class DeleteDashboardEmailSubscriptionsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceSettingRequest.java index 29aa023ed..874f3d293 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceSettingRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete the default namespace setting */ @Generated public class DeleteDefaultNamespaceSettingRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyAccessRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyAccessRequest.java index c8824e5ed..736069e12 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyAccessRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyAccessRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete Legacy Access Disablement Status */ @Generated public class DeleteDisableLegacyAccessRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyDbfsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyDbfsRequest.java index 51e3b14b3..be603ad13 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyDbfsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyDbfsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete the disable legacy DBFS setting */ @Generated public class DeleteDisableLegacyDbfsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyFeaturesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyFeaturesRequest.java index 23fbc5949..b46cd8800 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyFeaturesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyFeaturesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete the disable legacy features setting */ @Generated public class DeleteDisableLegacyFeaturesRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteIpAccessListRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteIpAccessListRequest.java index 1500e8355..bf0c5b1c4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteIpAccessListRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteIpAccessListRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete access list */ @Generated public class DeleteIpAccessListRequest { /** The ID for the corresponding IP access list */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteLlmProxyPartnerPoweredWorkspaceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteLlmProxyPartnerPoweredWorkspaceRequest.java index b746ad732..6c272f22a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteLlmProxyPartnerPoweredWorkspaceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteLlmProxyPartnerPoweredWorkspaceRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete the enable partner powered AI features workspace setting */ @Generated public class DeleteLlmProxyPartnerPoweredWorkspaceRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteNetworkConnectivityConfigurationRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteNetworkConnectivityConfigurationRequest.java index b4a5f6e09..264192f14 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteNetworkConnectivityConfigurationRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteNetworkConnectivityConfigurationRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a network connectivity configuration */ @Generated public class DeleteNetworkConnectivityConfigurationRequest { /** Your Network Connectivity Configuration ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteNetworkPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteNetworkPolicyRequest.java index cd646bba1..2ba6af1ae 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteNetworkPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteNetworkPolicyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a network policy */ @Generated public class DeleteNetworkPolicyRequest { /** The unique identifier of the network policy to delete. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteNotificationDestinationRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteNotificationDestinationRequest.java index e6aeebdae..9f262fd81 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteNotificationDestinationRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteNotificationDestinationRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a notification destination */ @Generated public class DeleteNotificationDestinationRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeSettingRequest.java index c16f60779..045df6840 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeSettingRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete Personal Compute setting */ @Generated public class DeletePersonalComputeSettingRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePrivateEndpointRuleRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePrivateEndpointRuleRequest.java index 3b74da91b..378be1343 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePrivateEndpointRuleRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePrivateEndpointRuleRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a private endpoint rule */ @Generated public class DeletePrivateEndpointRuleRequest { /** Your Network Connectvity Configuration ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminsSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminsSettingRequest.java index 9f893f43f..1aa58af9b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminsSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminsSettingRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete the restrict workspace admins setting */ @Generated public class DeleteRestrictWorkspaceAdminsSettingRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteSqlResultsDownloadRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteSqlResultsDownloadRequest.java index 3a5c3214a..56d057828 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteSqlResultsDownloadRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteSqlResultsDownloadRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete the SQL Results Download setting */ @Generated public class DeleteSqlResultsDownloadRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteTokenManagementRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteTokenManagementRequest.java index 98dcf2ab2..c0a169b1c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteTokenManagementRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteTokenManagementRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a token */ @Generated public class DeleteTokenManagementRequest { /** The ID of the token to revoke. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccessAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccessAPI.java index 14651fa45..da9edc961 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccessAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccessAPI.java @@ -29,20 +29,12 @@ public DisableLegacyAccessAPI(DisableLegacyAccessService mock) { impl = mock; } - /** - * Delete Legacy Access Disablement Status. - * - *

Deletes legacy access disablement status. - */ + /** Deletes legacy access disablement status. */ public DeleteDisableLegacyAccessResponse delete(DeleteDisableLegacyAccessRequest request) { return impl.delete(request); } - /** - * Retrieve Legacy Access Disablement Status. - * - *

Retrieves legacy access disablement Status. - */ + /** Retrieves legacy access disablement Status. */ public DisableLegacyAccess get(GetDisableLegacyAccessRequest request) { return impl.get(request); } @@ -56,11 +48,7 @@ public DisableLegacyAccess update( .setFieldMask(fieldMask)); } - /** - * Update Legacy Access Disablement Status. - * - *

Updates legacy access disablement status. - */ + /** Updates legacy access disablement status. */ public DisableLegacyAccess update(UpdateDisableLegacyAccessRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccessService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccessService.java index a6b09e7c2..38077c06c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccessService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccessService.java @@ -16,25 +16,13 @@ */ @Generated public interface DisableLegacyAccessService { - /** - * Delete Legacy Access Disablement Status. - * - *

Deletes legacy access disablement status. - */ + /** Deletes legacy access disablement status. */ DeleteDisableLegacyAccessResponse delete( DeleteDisableLegacyAccessRequest deleteDisableLegacyAccessRequest); - /** - * Retrieve Legacy Access Disablement Status. - * - *

Retrieves legacy access disablement Status. - */ + /** Retrieves legacy access disablement Status. */ DisableLegacyAccess get(GetDisableLegacyAccessRequest getDisableLegacyAccessRequest); - /** - * Update Legacy Access Disablement Status. - * - *

Updates legacy access disablement status. - */ + /** Updates legacy access disablement status. */ DisableLegacyAccess update(UpdateDisableLegacyAccessRequest updateDisableLegacyAccessRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfsAPI.java index 097e6c61b..8fcdd1122 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfsAPI.java @@ -32,20 +32,12 @@ public DisableLegacyDbfsAPI(DisableLegacyDbfsService mock) { impl = mock; } - /** - * Delete the disable legacy DBFS setting. - * - *

Deletes the disable legacy DBFS setting for a workspace, reverting back to the default. - */ + /** Deletes the disable legacy DBFS setting for a workspace, reverting back to the default. */ public DeleteDisableLegacyDbfsResponse delete(DeleteDisableLegacyDbfsRequest request) { return impl.delete(request); } - /** - * Get the disable legacy DBFS setting. - * - *

Gets the disable legacy DBFS setting. - */ + /** Gets the disable legacy DBFS setting. */ public DisableLegacyDbfs get(GetDisableLegacyDbfsRequest request) { return impl.get(request); } @@ -59,11 +51,7 @@ public DisableLegacyDbfs update( .setFieldMask(fieldMask)); } - /** - * Update the disable legacy DBFS setting. - * - *

Updates the disable legacy DBFS setting for the workspace. - */ + /** Updates the disable legacy DBFS setting for the workspace. */ public DisableLegacyDbfs update(UpdateDisableLegacyDbfsRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfsService.java index 28e7572cf..c943a0961 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfsService.java @@ -19,25 +19,13 @@ */ @Generated public interface DisableLegacyDbfsService { - /** - * Delete the disable legacy DBFS setting. - * - *

Deletes the disable legacy DBFS setting for a workspace, reverting back to the default. - */ + /** Deletes the disable legacy DBFS setting for a workspace, reverting back to the default. */ DeleteDisableLegacyDbfsResponse delete( DeleteDisableLegacyDbfsRequest deleteDisableLegacyDbfsRequest); - /** - * Get the disable legacy DBFS setting. - * - *

Gets the disable legacy DBFS setting. - */ + /** Gets the disable legacy DBFS setting. */ DisableLegacyDbfs get(GetDisableLegacyDbfsRequest getDisableLegacyDbfsRequest); - /** - * Update the disable legacy DBFS setting. - * - *

Updates the disable legacy DBFS setting for the workspace. - */ + /** Updates the disable legacy DBFS setting for the workspace. */ DisableLegacyDbfs update(UpdateDisableLegacyDbfsRequest updateDisableLegacyDbfsRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeaturesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeaturesAPI.java index 1c5e52996..63e2e5d7e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeaturesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeaturesAPI.java @@ -29,20 +29,12 @@ public DisableLegacyFeaturesAPI(DisableLegacyFeaturesService mock) { impl = mock; } - /** - * Delete the disable legacy features setting. - * - *

Deletes the disable legacy features setting. - */ + /** Deletes the disable legacy features setting. */ public DeleteDisableLegacyFeaturesResponse delete(DeleteDisableLegacyFeaturesRequest request) { return impl.delete(request); } - /** - * Get the disable legacy features setting. - * - *

Gets the value of the disable legacy features setting. - */ + /** Gets the value of the disable legacy features setting. */ public DisableLegacyFeatures get(GetDisableLegacyFeaturesRequest request) { return impl.get(request); } @@ -56,11 +48,7 @@ public DisableLegacyFeatures update( .setFieldMask(fieldMask)); } - /** - * Update the disable legacy features setting. - * - *

Updates the value of the disable legacy features setting. - */ + /** Updates the value of the disable legacy features setting. */ public DisableLegacyFeatures update(UpdateDisableLegacyFeaturesRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeaturesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeaturesService.java index 0e87af19b..f73569e86 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeaturesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeaturesService.java @@ -16,26 +16,14 @@ */ @Generated public interface DisableLegacyFeaturesService { - /** - * Delete the disable legacy features setting. - * - *

Deletes the disable legacy features setting. - */ + /** Deletes the disable legacy features setting. */ DeleteDisableLegacyFeaturesResponse delete( DeleteDisableLegacyFeaturesRequest deleteDisableLegacyFeaturesRequest); - /** - * Get the disable legacy features setting. - * - *

Gets the value of the disable legacy features setting. - */ + /** Gets the value of the disable legacy features setting. */ DisableLegacyFeatures get(GetDisableLegacyFeaturesRequest getDisableLegacyFeaturesRequest); - /** - * Update the disable legacy features setting. - * - *

Updates the value of the disable legacy features setting. - */ + /** Updates the value of the disable legacy features setting. */ DisableLegacyFeatures update( UpdateDisableLegacyFeaturesRequest updateDisableLegacyFeaturesRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EgressNetworkPolicyNetworkAccessPolicyStorageDestination.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EgressNetworkPolicyNetworkAccessPolicyStorageDestination.java index 8ea733247..dae0ac6ba 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EgressNetworkPolicyNetworkAccessPolicyStorageDestination.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EgressNetworkPolicyNetworkAccessPolicyStorageDestination.java @@ -22,7 +22,7 @@ public class EgressNetworkPolicyNetworkAccessPolicyStorageDestination { @JsonProperty("bucket_name") private String bucketName; - /** The region of the S3 bucket. */ + /** */ @JsonProperty("region") private String region; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableExportNotebookAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableExportNotebookAPI.java index c31acf4df..9e183c457 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableExportNotebookAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableExportNotebookAPI.java @@ -26,11 +26,7 @@ public EnableExportNotebookAPI(EnableExportNotebookService mock) { impl = mock; } - /** - * Get the Notebook and File exporting setting. - * - *

Gets the Notebook and File exporting setting. - */ + /** Gets the Notebook and File exporting setting. */ public EnableExportNotebook getEnableExportNotebook() { return impl.getEnableExportNotebook(); } @@ -45,10 +41,8 @@ public EnableExportNotebook patchEnableExportNotebook( } /** - * Update the Notebook and File exporting setting. - * - *

Updates the Notebook and File exporting setting. The model follows eventual consistency, - * which means the get after the update operation might receive stale values for some time. + * Updates the Notebook and File exporting setting. The model follows eventual consistency, which + * means the get after the update operation might receive stale values for some time. */ public EnableExportNotebook patchEnableExportNotebook(UpdateEnableExportNotebookRequest request) { return impl.patchEnableExportNotebook(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableExportNotebookService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableExportNotebookService.java index 0110669a1..57330852c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableExportNotebookService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableExportNotebookService.java @@ -13,18 +13,12 @@ */ @Generated public interface EnableExportNotebookService { - /** - * Get the Notebook and File exporting setting. - * - *

Gets the Notebook and File exporting setting. - */ + /** Gets the Notebook and File exporting setting. */ EnableExportNotebook getEnableExportNotebook(); /** - * Update the Notebook and File exporting setting. - * - *

Updates the Notebook and File exporting setting. The model follows eventual consistency, - * which means the get after the update operation might receive stale values for some time. + * Updates the Notebook and File exporting setting. The model follows eventual consistency, which + * means the get after the update operation might receive stale values for some time. */ EnableExportNotebook patchEnableExportNotebook( UpdateEnableExportNotebookRequest updateEnableExportNotebookRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableIpAccessListsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableIpAccessListsAPI.java index 19c5d4c5e..bf048d951 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableIpAccessListsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableIpAccessListsAPI.java @@ -26,20 +26,12 @@ public EnableIpAccessListsAPI(EnableIpAccessListsService mock) { impl = mock; } - /** - * Delete the account IP access toggle setting. - * - *

Reverts the value of the account IP access toggle setting to default (ON) - */ + /** Reverts the value of the account IP access toggle setting to default (ON) */ public DeleteAccountIpAccessEnableResponse delete(DeleteAccountIpAccessEnableRequest request) { return impl.delete(request); } - /** - * Get the account IP access toggle setting. - * - *

Gets the value of the account IP access toggle setting. - */ + /** Gets the value of the account IP access toggle setting. */ public AccountIpAccessEnable get(GetAccountIpAccessEnableRequest request) { return impl.get(request); } @@ -53,11 +45,7 @@ public AccountIpAccessEnable update( .setFieldMask(fieldMask)); } - /** - * Update the account IP access toggle setting. - * - *

Updates the value of the account IP access toggle setting. - */ + /** Updates the value of the account IP access toggle setting. */ public AccountIpAccessEnable update(UpdateAccountIpAccessEnableRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableIpAccessListsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableIpAccessListsService.java index 02340930d..5e8561cfd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableIpAccessListsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableIpAccessListsService.java @@ -13,26 +13,14 @@ */ @Generated public interface EnableIpAccessListsService { - /** - * Delete the account IP access toggle setting. - * - *

Reverts the value of the account IP access toggle setting to default (ON) - */ + /** Reverts the value of the account IP access toggle setting to default (ON) */ DeleteAccountIpAccessEnableResponse delete( DeleteAccountIpAccessEnableRequest deleteAccountIpAccessEnableRequest); - /** - * Get the account IP access toggle setting. - * - *

Gets the value of the account IP access toggle setting. - */ + /** Gets the value of the account IP access toggle setting. */ AccountIpAccessEnable get(GetAccountIpAccessEnableRequest getAccountIpAccessEnableRequest); - /** - * Update the account IP access toggle setting. - * - *

Updates the value of the account IP access toggle setting. - */ + /** Updates the value of the account IP access toggle setting. */ AccountIpAccessEnable update( UpdateAccountIpAccessEnableRequest updateAccountIpAccessEnableRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableNotebookTableClipboardAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableNotebookTableClipboardAPI.java index 52932e807..9ce9e0a00 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableNotebookTableClipboardAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableNotebookTableClipboardAPI.java @@ -26,11 +26,7 @@ public EnableNotebookTableClipboardAPI(EnableNotebookTableClipboardService mock) impl = mock; } - /** - * Get the Results Table Clipboard features setting. - * - *

Gets the Results Table Clipboard features setting. - */ + /** Gets the Results Table Clipboard features setting. */ public EnableNotebookTableClipboard getEnableNotebookTableClipboard() { return impl.getEnableNotebookTableClipboard(); } @@ -45,11 +41,8 @@ public EnableNotebookTableClipboard patchEnableNotebookTableClipboard( } /** - * Update the Results Table Clipboard features setting. - * - *

Updates the Results Table Clipboard features setting. The model follows eventual - * consistency, which means the get after the update operation might receive stale values for some - * time. + * Updates the Results Table Clipboard features setting. The model follows eventual consistency, + * which means the get after the update operation might receive stale values for some time. */ public EnableNotebookTableClipboard patchEnableNotebookTableClipboard( UpdateEnableNotebookTableClipboardRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableNotebookTableClipboardService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableNotebookTableClipboardService.java index 84a8080c4..43e81ab13 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableNotebookTableClipboardService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableNotebookTableClipboardService.java @@ -13,19 +13,12 @@ */ @Generated public interface EnableNotebookTableClipboardService { - /** - * Get the Results Table Clipboard features setting. - * - *

Gets the Results Table Clipboard features setting. - */ + /** Gets the Results Table Clipboard features setting. */ EnableNotebookTableClipboard getEnableNotebookTableClipboard(); /** - * Update the Results Table Clipboard features setting. - * - *

Updates the Results Table Clipboard features setting. The model follows eventual - * consistency, which means the get after the update operation might receive stale values for some - * time. + * Updates the Results Table Clipboard features setting. The model follows eventual consistency, + * which means the get after the update operation might receive stale values for some time. */ EnableNotebookTableClipboard patchEnableNotebookTableClipboard( UpdateEnableNotebookTableClipboardRequest updateEnableNotebookTableClipboardRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableResultsDownloadingAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableResultsDownloadingAPI.java index 87556c6f8..f5eb5b31b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableResultsDownloadingAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableResultsDownloadingAPI.java @@ -23,11 +23,7 @@ public EnableResultsDownloadingAPI(EnableResultsDownloadingService mock) { impl = mock; } - /** - * Get the Notebook results download setting. - * - *

Gets the Notebook results download setting. - */ + /** Gets the Notebook results download setting. */ public EnableResultsDownloading getEnableResultsDownloading() { return impl.getEnableResultsDownloading(); } @@ -42,9 +38,7 @@ public EnableResultsDownloading patchEnableResultsDownloading( } /** - * Update the Notebook results download setting. - * - *

Updates the Notebook results download setting. The model follows eventual consistency, which + * Updates the Notebook results download setting. The model follows eventual consistency, which * means the get after the update operation might receive stale values for some time. */ public EnableResultsDownloading patchEnableResultsDownloading( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableResultsDownloadingService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableResultsDownloadingService.java index 55b16c93b..70881e27a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableResultsDownloadingService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnableResultsDownloadingService.java @@ -12,17 +12,11 @@ */ @Generated public interface EnableResultsDownloadingService { - /** - * Get the Notebook results download setting. - * - *

Gets the Notebook results download setting. - */ + /** Gets the Notebook results download setting. */ EnableResultsDownloading getEnableResultsDownloading(); /** - * Update the Notebook results download setting. - * - *

Updates the Notebook results download setting. The model follows eventual consistency, which + * Updates the Notebook results download setting. The model follows eventual consistency, which * means the get after the update operation might receive stale values for some time. */ EnableResultsDownloading patchEnableResultsDownloading( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringAPI.java index e20828297..0bd218310 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringAPI.java @@ -30,11 +30,7 @@ public EnhancedSecurityMonitoringAPI(EnhancedSecurityMonitoringService mock) { impl = mock; } - /** - * Get the enhanced security monitoring setting. - * - *

Gets the enhanced security monitoring setting. - */ + /** Gets the enhanced security monitoring setting. */ public EnhancedSecurityMonitoringSetting get( GetEnhancedSecurityMonitoringSettingRequest request) { return impl.get(request); @@ -50,9 +46,7 @@ public EnhancedSecurityMonitoringSetting update( } /** - * Update the enhanced security monitoring setting. - * - *

Updates the enhanced security monitoring setting for the workspace. A fresh etag needs to be + * Updates the enhanced security monitoring setting for the workspace. A fresh etag needs to be * provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by * making a `GET` request before the `PATCH` request. If the setting is updated concurrently, * `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringService.java index 388559f6f..16d8d6e06 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringService.java @@ -17,18 +17,12 @@ */ @Generated public interface EnhancedSecurityMonitoringService { - /** - * Get the enhanced security monitoring setting. - * - *

Gets the enhanced security monitoring setting. - */ + /** Gets the enhanced security monitoring setting. */ EnhancedSecurityMonitoringSetting get( GetEnhancedSecurityMonitoringSettingRequest getEnhancedSecurityMonitoringSettingRequest); /** - * Update the enhanced security monitoring setting. - * - *

Updates the enhanced security monitoring setting for the workspace. A fresh etag needs to be + * Updates the enhanced security monitoring setting for the workspace. A fresh etag needs to be * provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by * making a `GET` request before the `PATCH` request. If the setting is updated concurrently, * `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountAPI.java index cec5ff9f0..e80ac150c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountAPI.java @@ -28,11 +28,7 @@ public EsmEnablementAccountAPI(EsmEnablementAccountService mock) { impl = mock; } - /** - * Get the enhanced security monitoring setting for new workspaces. - * - *

Gets the enhanced security monitoring setting for new workspaces. - */ + /** Gets the enhanced security monitoring setting for new workspaces. */ public EsmEnablementAccountSetting get(GetEsmEnablementAccountSettingRequest request) { return impl.get(request); } @@ -46,11 +42,7 @@ public EsmEnablementAccountSetting update( .setFieldMask(fieldMask)); } - /** - * Update the enhanced security monitoring setting for new workspaces. - * - *

Updates the value of the enhanced security monitoring setting for new workspaces. - */ + /** Updates the value of the enhanced security monitoring setting for new workspaces. */ public EsmEnablementAccountSetting update(UpdateEsmEnablementAccountSettingRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountService.java index 51a33c99b..c90fa0efe 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountService.java @@ -15,19 +15,11 @@ */ @Generated public interface EsmEnablementAccountService { - /** - * Get the enhanced security monitoring setting for new workspaces. - * - *

Gets the enhanced security monitoring setting for new workspaces. - */ + /** Gets the enhanced security monitoring setting for new workspaces. */ EsmEnablementAccountSetting get( GetEsmEnablementAccountSettingRequest getEsmEnablementAccountSettingRequest); - /** - * Update the enhanced security monitoring setting for new workspaces. - * - *

Updates the value of the enhanced security monitoring setting for new workspaces. - */ + /** Updates the value of the enhanced security monitoring setting for new workspaces. */ EsmEnablementAccountSetting update( UpdateEsmEnablementAccountSettingRequest updateEsmEnablementAccountSettingRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAccountIpAccessEnableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAccountIpAccessEnableRequest.java index 348af6711..1e0d365ad 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAccountIpAccessEnableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAccountIpAccessEnableRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the account IP access toggle setting */ @Generated public class GetAccountIpAccessEnableRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAccountIpAccessListRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAccountIpAccessListRequest.java index 4d2da465d..f9567efed 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAccountIpAccessListRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAccountIpAccessListRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get IP access list */ @Generated public class GetAccountIpAccessListRequest { /** The ID for the corresponding IP access list */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAibiDashboardEmbeddingAccessPolicySettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAibiDashboardEmbeddingAccessPolicySettingRequest.java index 48a8c3910..83f97009c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAibiDashboardEmbeddingAccessPolicySettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAibiDashboardEmbeddingAccessPolicySettingRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Retrieve the AI/BI dashboard embedding access policy */ @Generated public class GetAibiDashboardEmbeddingAccessPolicySettingRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAibiDashboardEmbeddingApprovedDomainsSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAibiDashboardEmbeddingApprovedDomainsSettingRequest.java index a9db24cfa..711309a71 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAibiDashboardEmbeddingApprovedDomainsSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAibiDashboardEmbeddingApprovedDomainsSettingRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Retrieve the list of domains approved to host embedded AI/BI dashboards */ @Generated public class GetAibiDashboardEmbeddingApprovedDomainsSettingRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAutomaticClusterUpdateSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAutomaticClusterUpdateSettingRequest.java index 2230b6b35..1031122da 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAutomaticClusterUpdateSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAutomaticClusterUpdateSettingRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the automatic cluster update setting */ @Generated public class GetAutomaticClusterUpdateSettingRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetComplianceSecurityProfileSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetComplianceSecurityProfileSettingRequest.java index d079f96ee..59a2f9dbb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetComplianceSecurityProfileSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetComplianceSecurityProfileSettingRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the compliance security profile setting */ @Generated public class GetComplianceSecurityProfileSettingRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementAccountSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementAccountSettingRequest.java index 6d23ed820..28aab9c85 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementAccountSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementAccountSettingRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the compliance security profile setting for new workspaces */ @Generated public class GetCspEnablementAccountSettingRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDashboardEmailSubscriptionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDashboardEmailSubscriptionsRequest.java index 0c545ca9b..542e65c37 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDashboardEmailSubscriptionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDashboardEmailSubscriptionsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the Dashboard Email Subscriptions setting */ @Generated public class GetDashboardEmailSubscriptionsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultNamespaceSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultNamespaceSettingRequest.java index 7d52bdc9b..bd735b22b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultNamespaceSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultNamespaceSettingRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the default namespace setting */ @Generated public class GetDefaultNamespaceSettingRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyAccessRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyAccessRequest.java index 75c0e9208..8f813d2ae 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyAccessRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyAccessRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Retrieve Legacy Access Disablement Status */ @Generated public class GetDisableLegacyAccessRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyDbfsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyDbfsRequest.java index d3f3545f9..8c417c219 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyDbfsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyDbfsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the disable legacy DBFS setting */ @Generated public class GetDisableLegacyDbfsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyFeaturesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyFeaturesRequest.java index edf3a313d..f36544e6f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyFeaturesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyFeaturesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the disable legacy features setting */ @Generated public class GetDisableLegacyFeaturesRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEnhancedSecurityMonitoringSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEnhancedSecurityMonitoringSettingRequest.java index 64a6b938c..5d481520a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEnhancedSecurityMonitoringSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEnhancedSecurityMonitoringSettingRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the enhanced security monitoring setting */ @Generated public class GetEnhancedSecurityMonitoringSettingRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementAccountSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementAccountSettingRequest.java index 2c6b8e50e..39f61fc98 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementAccountSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementAccountSettingRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the enhanced security monitoring setting for new workspaces */ @Generated public class GetEsmEnablementAccountSettingRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetIpAccessListRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetIpAccessListRequest.java index 092cb17ac..1f01974f6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetIpAccessListRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetIpAccessListRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get access list */ @Generated public class GetIpAccessListRequest { /** The ID for the corresponding IP access list */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredAccountRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredAccountRequest.java index d5fd149f4..c001a3f95 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredAccountRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredAccountRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the enable partner powered AI features account setting */ @Generated public class GetLlmProxyPartnerPoweredAccountRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredEnforceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredEnforceRequest.java index 63e690981..815993eb3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredEnforceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredEnforceRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the enforcement status of partner powered AI features account setting */ @Generated public class GetLlmProxyPartnerPoweredEnforceRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredWorkspaceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredWorkspaceRequest.java index b149178f4..c2d59f4e9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredWorkspaceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredWorkspaceRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the enable partner powered AI features workspace setting */ @Generated public class GetLlmProxyPartnerPoweredWorkspaceRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetNetworkConnectivityConfigurationRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetNetworkConnectivityConfigurationRequest.java index af3c9a1c5..9b81edf14 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetNetworkConnectivityConfigurationRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetNetworkConnectivityConfigurationRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a network connectivity configuration */ @Generated public class GetNetworkConnectivityConfigurationRequest { /** Your Network Connectivity Configuration ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetNetworkPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetNetworkPolicyRequest.java index 754bd62c0..7b0fdc086 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetNetworkPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetNetworkPolicyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a network policy */ @Generated public class GetNetworkPolicyRequest { /** The unique identifier of the network policy to retrieve. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetNotificationDestinationRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetNotificationDestinationRequest.java index da8dd0f1f..e5ea2ce40 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetNotificationDestinationRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetNotificationDestinationRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a notification destination */ @Generated public class GetNotificationDestinationRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPersonalComputeSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPersonalComputeSettingRequest.java index a3deaab78..6e1f3207e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPersonalComputeSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPersonalComputeSettingRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get Personal Compute setting */ @Generated public class GetPersonalComputeSettingRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPrivateEndpointRuleRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPrivateEndpointRuleRequest.java index e34e82d41..d5fa93bd7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPrivateEndpointRuleRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPrivateEndpointRuleRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Gets a private endpoint rule */ @Generated public class GetPrivateEndpointRuleRequest { /** Your Network Connectvity Configuration ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetRestrictWorkspaceAdminsSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetRestrictWorkspaceAdminsSettingRequest.java index 56bd86a10..076c65a6f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetRestrictWorkspaceAdminsSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetRestrictWorkspaceAdminsSettingRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the restrict workspace admins setting */ @Generated public class GetRestrictWorkspaceAdminsSettingRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetSqlResultsDownloadRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetSqlResultsDownloadRequest.java index c9cb75cc7..ac52220a8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetSqlResultsDownloadRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetSqlResultsDownloadRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get the SQL Results Download setting */ @Generated public class GetSqlResultsDownloadRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetStatusRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetStatusRequest.java index a086ce44d..7a3c57a12 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetStatusRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetStatusRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Check configuration status */ @Generated public class GetStatusRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetTokenManagementRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetTokenManagementRequest.java index 7c1292d9d..40be00945 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetTokenManagementRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetTokenManagementRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get token info */ @Generated public class GetTokenManagementRequest { /** The ID of the token to get. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetWorkspaceNetworkOptionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetWorkspaceNetworkOptionRequest.java index c3f99bf5d..eb1689cf2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetWorkspaceNetworkOptionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetWorkspaceNetworkOptionRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get workspace network option */ @Generated public class GetWorkspaceNetworkOptionRequest { /** The workspace ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsAPI.java index d56ba378c..fcc08db50 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsAPI.java @@ -49,9 +49,7 @@ public CreateIpAccessListResponse create(String label, ListType listType) { } /** - * Create access list. - * - *

Creates an IP access list for this workspace. + * Creates an IP access list for this workspace. * *

A list can be an allow list or a block list. See the top of this file for a description of * how the server treats allow lists and block lists at runtime. @@ -74,11 +72,7 @@ public void delete(String ipAccessListId) { delete(new DeleteIpAccessListRequest().setIpAccessListId(ipAccessListId)); } - /** - * Delete access list. - * - *

Deletes an IP access list, specified by its list ID. - */ + /** Deletes an IP access list, specified by its list ID. */ public void delete(DeleteIpAccessListRequest request) { impl.delete(request); } @@ -87,20 +81,12 @@ public FetchIpAccessListResponse get(String ipAccessListId) { return get(new GetIpAccessListRequest().setIpAccessListId(ipAccessListId)); } - /** - * Get access list. - * - *

Gets an IP access list, specified by its list ID. - */ + /** Gets an IP access list, specified by its list ID. */ public FetchIpAccessListResponse get(GetIpAccessListRequest request) { return impl.get(request); } - /** - * Get access lists. - * - *

Gets all IP access lists for the specified workspace. - */ + /** Gets all IP access lists for the specified workspace. */ public Iterable list() { return new Paginator<>( null, @@ -119,9 +105,7 @@ public void replace(String ipAccessListId, String label, ListType listType, bool } /** - * Replace access list. - * - *

Replaces an IP access list, specified by its ID. + * Replaces an IP access list, specified by its ID. * *

A list can include allow lists and block lists. See the top of this file for a description * of how the server treats allow lists and block lists at run time. When replacing an IP access @@ -141,9 +125,7 @@ public void update(String ipAccessListId) { } /** - * Update access list. - * - *

Updates an existing IP access list, specified by its ID. + * Updates an existing IP access list, specified by its ID. * *

A list can include allow lists and block lists. See the top of this file for a description * of how the server treats allow lists and block lists at run time. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsService.java index 08791e243..4f74e0aa9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsService.java @@ -31,9 +31,7 @@ @Generated public interface IpAccessListsService { /** - * Create access list. - * - *

Creates an IP access list for this workspace. + * Creates an IP access list for this workspace. * *

A list can be an allow list or a block list. See the top of this file for a description of * how the server treats allow lists and block lists at runtime. @@ -50,31 +48,17 @@ public interface IpAccessListsService { */ CreateIpAccessListResponse create(CreateIpAccessList createIpAccessList); - /** - * Delete access list. - * - *

Deletes an IP access list, specified by its list ID. - */ + /** Deletes an IP access list, specified by its list ID. */ void delete(DeleteIpAccessListRequest deleteIpAccessListRequest); - /** - * Get access list. - * - *

Gets an IP access list, specified by its list ID. - */ + /** Gets an IP access list, specified by its list ID. */ FetchIpAccessListResponse get(GetIpAccessListRequest getIpAccessListRequest); - /** - * Get access lists. - * - *

Gets all IP access lists for the specified workspace. - */ + /** Gets all IP access lists for the specified workspace. */ ListIpAccessListResponse list(); /** - * Replace access list. - * - *

Replaces an IP access list, specified by its ID. + * Replaces an IP access list, specified by its ID. * *

A list can include allow lists and block lists. See the top of this file for a description * of how the server treats allow lists and block lists at run time. When replacing an IP access @@ -88,9 +72,7 @@ public interface IpAccessListsService { void replace(ReplaceIpAccessList replaceIpAccessList); /** - * Update access list. - * - *

Updates an existing IP access list, specified by its ID. + * Updates an existing IP access list, specified by its ID. * *

A list can include allow lists and block lists. See the top of this file for a description * of how the server treats allow lists and block lists at run time. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListNetworkConnectivityConfigurationsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListNetworkConnectivityConfigurationsRequest.java index 39421aaa9..ef7912fb5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListNetworkConnectivityConfigurationsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListNetworkConnectivityConfigurationsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List network connectivity configurations */ @Generated public class ListNetworkConnectivityConfigurationsRequest { /** Pagination token to go to next page based on previous query. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListNetworkPoliciesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListNetworkPoliciesRequest.java index 963c735cc..280158eba 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListNetworkPoliciesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListNetworkPoliciesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List network policies */ @Generated public class ListNetworkPoliciesRequest { /** Pagination token to go to next page based on previous query. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListNotificationDestinationsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListNotificationDestinationsRequest.java index 0e06df8a9..0dd3f971a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListNotificationDestinationsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListNotificationDestinationsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List notification destinations */ @Generated public class ListNotificationDestinationsRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListPrivateEndpointRulesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListPrivateEndpointRulesRequest.java index 2772738c9..f073a92ed 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListPrivateEndpointRulesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListPrivateEndpointRulesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List private endpoint rules */ @Generated public class ListPrivateEndpointRulesRequest { /** Your Network Connectvity Configuration ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListTokenManagementRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListTokenManagementRequest.java index 30086533f..8490e15a8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListTokenManagementRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListTokenManagementRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List all tokens */ @Generated public class ListTokenManagementRequest { /** User ID of the user that created the token. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredAccountAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredAccountAPI.java index c5b67f821..c7cbb664c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredAccountAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredAccountAPI.java @@ -23,11 +23,7 @@ public LlmProxyPartnerPoweredAccountAPI(LlmProxyPartnerPoweredAccountService moc impl = mock; } - /** - * Get the enable partner powered AI features account setting. - * - *

Gets the enable partner powered AI features account setting. - */ + /** Gets the enable partner powered AI features account setting. */ public LlmProxyPartnerPoweredAccount get(GetLlmProxyPartnerPoweredAccountRequest request) { return impl.get(request); } @@ -41,11 +37,7 @@ public LlmProxyPartnerPoweredAccount update( .setFieldMask(fieldMask)); } - /** - * Update the enable partner powered AI features account setting. - * - *

Updates the enable partner powered AI features account setting. - */ + /** Updates the enable partner powered AI features account setting. */ public LlmProxyPartnerPoweredAccount update(UpdateLlmProxyPartnerPoweredAccountRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredAccountService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredAccountService.java index 075f5e07f..46d1e4c22 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredAccountService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredAccountService.java @@ -12,19 +12,11 @@ */ @Generated public interface LlmProxyPartnerPoweredAccountService { - /** - * Get the enable partner powered AI features account setting. - * - *

Gets the enable partner powered AI features account setting. - */ + /** Gets the enable partner powered AI features account setting. */ LlmProxyPartnerPoweredAccount get( GetLlmProxyPartnerPoweredAccountRequest getLlmProxyPartnerPoweredAccountRequest); - /** - * Update the enable partner powered AI features account setting. - * - *

Updates the enable partner powered AI features account setting. - */ + /** Updates the enable partner powered AI features account setting. */ LlmProxyPartnerPoweredAccount update( UpdateLlmProxyPartnerPoweredAccountRequest updateLlmProxyPartnerPoweredAccountRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredEnforceAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredEnforceAPI.java index a706606fc..21ac95e62 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredEnforceAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredEnforceAPI.java @@ -26,11 +26,7 @@ public LlmProxyPartnerPoweredEnforceAPI(LlmProxyPartnerPoweredEnforceService moc impl = mock; } - /** - * Get the enforcement status of partner powered AI features account setting. - * - *

Gets the enforcement status of partner powered AI features account setting. - */ + /** Gets the enforcement status of partner powered AI features account setting. */ public LlmProxyPartnerPoweredEnforce get(GetLlmProxyPartnerPoweredEnforceRequest request) { return impl.get(request); } @@ -44,11 +40,7 @@ public LlmProxyPartnerPoweredEnforce update( .setFieldMask(fieldMask)); } - /** - * Update the enforcement status of partner powered AI features account setting. - * - *

Updates the enable enforcement status of partner powered AI features account setting. - */ + /** Updates the enable enforcement status of partner powered AI features account setting. */ public LlmProxyPartnerPoweredEnforce update(UpdateLlmProxyPartnerPoweredEnforceRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredEnforceService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredEnforceService.java index dcad9f4fc..081286cf3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredEnforceService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredEnforceService.java @@ -13,19 +13,11 @@ */ @Generated public interface LlmProxyPartnerPoweredEnforceService { - /** - * Get the enforcement status of partner powered AI features account setting. - * - *

Gets the enforcement status of partner powered AI features account setting. - */ + /** Gets the enforcement status of partner powered AI features account setting. */ LlmProxyPartnerPoweredEnforce get( GetLlmProxyPartnerPoweredEnforceRequest getLlmProxyPartnerPoweredEnforceRequest); - /** - * Update the enforcement status of partner powered AI features account setting. - * - *

Updates the enable enforcement status of partner powered AI features account setting. - */ + /** Updates the enable enforcement status of partner powered AI features account setting. */ LlmProxyPartnerPoweredEnforce update( UpdateLlmProxyPartnerPoweredEnforceRequest updateLlmProxyPartnerPoweredEnforceRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredWorkspaceAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredWorkspaceAPI.java index fcb5dfbc0..9bd7c22bf 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredWorkspaceAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredWorkspaceAPI.java @@ -24,21 +24,13 @@ public LlmProxyPartnerPoweredWorkspaceAPI(LlmProxyPartnerPoweredWorkspaceService impl = mock; } - /** - * Delete the enable partner powered AI features workspace setting. - * - *

Reverts the enable partner powered AI features workspace setting to its default value. - */ + /** Reverts the enable partner powered AI features workspace setting to its default value. */ public DeleteLlmProxyPartnerPoweredWorkspaceResponse delete( DeleteLlmProxyPartnerPoweredWorkspaceRequest request) { return impl.delete(request); } - /** - * Get the enable partner powered AI features workspace setting. - * - *

Gets the enable partner powered AI features workspace setting. - */ + /** Gets the enable partner powered AI features workspace setting. */ public LlmProxyPartnerPoweredWorkspace get(GetLlmProxyPartnerPoweredWorkspaceRequest request) { return impl.get(request); } @@ -52,11 +44,7 @@ public LlmProxyPartnerPoweredWorkspace update( .setFieldMask(fieldMask)); } - /** - * Update the enable partner powered AI features workspace setting. - * - *

Updates the enable partner powered AI features workspace setting. - */ + /** Updates the enable partner powered AI features workspace setting. */ public LlmProxyPartnerPoweredWorkspace update( UpdateLlmProxyPartnerPoweredWorkspaceRequest request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredWorkspaceService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredWorkspaceService.java index ee6083576..65b40bbb8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredWorkspaceService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredWorkspaceService.java @@ -12,27 +12,15 @@ */ @Generated public interface LlmProxyPartnerPoweredWorkspaceService { - /** - * Delete the enable partner powered AI features workspace setting. - * - *

Reverts the enable partner powered AI features workspace setting to its default value. - */ + /** Reverts the enable partner powered AI features workspace setting to its default value. */ DeleteLlmProxyPartnerPoweredWorkspaceResponse delete( DeleteLlmProxyPartnerPoweredWorkspaceRequest deleteLlmProxyPartnerPoweredWorkspaceRequest); - /** - * Get the enable partner powered AI features workspace setting. - * - *

Gets the enable partner powered AI features workspace setting. - */ + /** Gets the enable partner powered AI features workspace setting. */ LlmProxyPartnerPoweredWorkspace get( GetLlmProxyPartnerPoweredWorkspaceRequest getLlmProxyPartnerPoweredWorkspaceRequest); - /** - * Update the enable partner powered AI features workspace setting. - * - *

Updates the enable partner powered AI features workspace setting. - */ + /** Updates the enable partner powered AI features workspace setting. */ LlmProxyPartnerPoweredWorkspace update( UpdateLlmProxyPartnerPoweredWorkspaceRequest updateLlmProxyPartnerPoweredWorkspaceRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkConnectivityAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkConnectivityAPI.java index 275519332..5fff6147b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkConnectivityAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkConnectivityAPI.java @@ -42,10 +42,8 @@ public NetworkConnectivityConfiguration createNetworkConnectivityConfiguration( } /** - * Create a network connectivity configuration. - * - *

Creates a network connectivity configuration (NCC), which provides stable Azure service - * subnets when accessing your Azure Storage accounts. You can also use a network connectivity + * Creates a network connectivity configuration (NCC), which provides stable Azure service subnets + * when accessing your Azure Storage accounts. You can also use a network connectivity * configuration to create Databricks managed private endpoints so that Databricks serverless * compute resources privately access your resources. * @@ -71,11 +69,9 @@ public NccPrivateEndpointRule createPrivateEndpointRule( } /** - * Create a private endpoint rule. - * - *

Create a private endpoint rule for the specified network connectivity config object. Once - * the object is created, Databricks asynchronously provisions a new Azure private endpoint to - * your specified Azure resource. + * Create a private endpoint rule for the specified network connectivity config object. Once the + * object is created, Databricks asynchronously provisions a new Azure private endpoint to your + * specified Azure resource. * *

**IMPORTANT**: You must use Azure portal or other Azure tools to approve the private * endpoint to complete the connection. To get the information of the private endpoint created, @@ -95,11 +91,7 @@ public void deleteNetworkConnectivityConfiguration(String networkConnectivityCon .setNetworkConnectivityConfigId(networkConnectivityConfigId)); } - /** - * Delete a network connectivity configuration. - * - *

Deletes a network connectivity configuration. - */ + /** Deletes a network connectivity configuration. */ public void deleteNetworkConnectivityConfiguration( DeleteNetworkConnectivityConfigurationRequest request) { impl.deleteNetworkConnectivityConfiguration(request); @@ -114,10 +106,8 @@ public NccPrivateEndpointRule deletePrivateEndpointRule( } /** - * Delete a private endpoint rule. - * - *

Initiates deleting a private endpoint rule. If the connection state is PENDING or EXPIRED, - * the private endpoint is immediately deleted. Otherwise, the private endpoint is deactivated and + * Initiates deleting a private endpoint rule. If the connection state is PENDING or EXPIRED, the + * private endpoint is immediately deleted. Otherwise, the private endpoint is deactivated and * will be deleted after seven days of deactivation. When a private endpoint is deactivated, the * `deactivated` field is set to `true` and the private endpoint is not available to your * serverless compute resources. @@ -134,11 +124,7 @@ public NetworkConnectivityConfiguration getNetworkConnectivityConfiguration( .setNetworkConnectivityConfigId(networkConnectivityConfigId)); } - /** - * Get a network connectivity configuration. - * - *

Gets a network connectivity configuration. - */ + /** Gets a network connectivity configuration. */ public NetworkConnectivityConfiguration getNetworkConnectivityConfiguration( GetNetworkConnectivityConfigurationRequest request) { return impl.getNetworkConnectivityConfiguration(request); @@ -152,20 +138,12 @@ public NccPrivateEndpointRule getPrivateEndpointRule( .setPrivateEndpointRuleId(privateEndpointRuleId)); } - /** - * Gets a private endpoint rule. - * - *

Gets the private endpoint rule. - */ + /** Gets the private endpoint rule. */ public NccPrivateEndpointRule getPrivateEndpointRule(GetPrivateEndpointRuleRequest request) { return impl.getPrivateEndpointRule(request); } - /** - * List network connectivity configurations. - * - *

Gets an array of network connectivity configurations. - */ + /** Gets an array of network connectivity configurations. */ public Iterable listNetworkConnectivityConfigurations( ListNetworkConnectivityConfigurationsRequest request) { return new Paginator<>( @@ -188,11 +166,7 @@ public Iterable listPrivateEndpointRules( .setNetworkConnectivityConfigId(networkConnectivityConfigId)); } - /** - * List private endpoint rules. - * - *

Gets an array of private endpoint rules. - */ + /** Gets an array of private endpoint rules. */ public Iterable listPrivateEndpointRules( ListPrivateEndpointRulesRequest request) { return new Paginator<>( @@ -222,9 +196,7 @@ public NccPrivateEndpointRule updatePrivateEndpointRule( } /** - * Update a private endpoint rule. - * - *

Updates a private endpoint rule. Currently only a private endpoint rule to customer-managed + * Updates a private endpoint rule. Currently only a private endpoint rule to customer-managed * resources is allowed to be updated. */ public NccPrivateEndpointRule updatePrivateEndpointRule( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkConnectivityService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkConnectivityService.java index eeaa80e88..802d79ae4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkConnectivityService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkConnectivityService.java @@ -21,10 +21,8 @@ @Generated public interface NetworkConnectivityService { /** - * Create a network connectivity configuration. - * - *

Creates a network connectivity configuration (NCC), which provides stable Azure service - * subnets when accessing your Azure Storage accounts. You can also use a network connectivity + * Creates a network connectivity configuration (NCC), which provides stable Azure service subnets + * when accessing your Azure Storage accounts. You can also use a network connectivity * configuration to create Databricks managed private endpoints so that Databricks serverless * compute resources privately access your resources. * @@ -40,11 +38,9 @@ NetworkConnectivityConfiguration createNetworkConnectivityConfiguration( CreateNetworkConnectivityConfigRequest createNetworkConnectivityConfigRequest); /** - * Create a private endpoint rule. - * - *

Create a private endpoint rule for the specified network connectivity config object. Once - * the object is created, Databricks asynchronously provisions a new Azure private endpoint to - * your specified Azure resource. + * Create a private endpoint rule for the specified network connectivity config object. Once the + * object is created, Databricks asynchronously provisions a new Azure private endpoint to your + * specified Azure resource. * *

**IMPORTANT**: You must use Azure portal or other Azure tools to approve the private * endpoint to complete the connection. To get the information of the private endpoint created, @@ -56,19 +52,13 @@ NetworkConnectivityConfiguration createNetworkConnectivityConfiguration( NccPrivateEndpointRule createPrivateEndpointRule( CreatePrivateEndpointRuleRequest createPrivateEndpointRuleRequest); - /** - * Delete a network connectivity configuration. - * - *

Deletes a network connectivity configuration. - */ + /** Deletes a network connectivity configuration. */ void deleteNetworkConnectivityConfiguration( DeleteNetworkConnectivityConfigurationRequest deleteNetworkConnectivityConfigurationRequest); /** - * Delete a private endpoint rule. - * - *

Initiates deleting a private endpoint rule. If the connection state is PENDING or EXPIRED, - * the private endpoint is immediately deleted. Otherwise, the private endpoint is deactivated and + * Initiates deleting a private endpoint rule. If the connection state is PENDING or EXPIRED, the + * private endpoint is immediately deleted. Otherwise, the private endpoint is deactivated and * will be deleted after seven days of deactivation. When a private endpoint is deactivated, the * `deactivated` field is set to `true` and the private endpoint is not available to your * serverless compute resources. @@ -76,42 +66,24 @@ void deleteNetworkConnectivityConfiguration( NccPrivateEndpointRule deletePrivateEndpointRule( DeletePrivateEndpointRuleRequest deletePrivateEndpointRuleRequest); - /** - * Get a network connectivity configuration. - * - *

Gets a network connectivity configuration. - */ + /** Gets a network connectivity configuration. */ NetworkConnectivityConfiguration getNetworkConnectivityConfiguration( GetNetworkConnectivityConfigurationRequest getNetworkConnectivityConfigurationRequest); - /** - * Gets a private endpoint rule. - * - *

Gets the private endpoint rule. - */ + /** Gets the private endpoint rule. */ NccPrivateEndpointRule getPrivateEndpointRule( GetPrivateEndpointRuleRequest getPrivateEndpointRuleRequest); - /** - * List network connectivity configurations. - * - *

Gets an array of network connectivity configurations. - */ + /** Gets an array of network connectivity configurations. */ ListNetworkConnectivityConfigurationsResponse listNetworkConnectivityConfigurations( ListNetworkConnectivityConfigurationsRequest listNetworkConnectivityConfigurationsRequest); - /** - * List private endpoint rules. - * - *

Gets an array of private endpoint rules. - */ + /** Gets an array of private endpoint rules. */ ListPrivateEndpointRulesResponse listPrivateEndpointRules( ListPrivateEndpointRulesRequest listPrivateEndpointRulesRequest); /** - * Update a private endpoint rule. - * - *

Updates a private endpoint rule. Currently only a private endpoint rule to customer-managed + * Updates a private endpoint rule. Currently only a private endpoint rule to customer-managed * resources is allowed to be updated. */ NccPrivateEndpointRule updatePrivateEndpointRule( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkPoliciesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkPoliciesAPI.java index effba4aad..9d1a4be5b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkPoliciesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkPoliciesAPI.java @@ -36,9 +36,7 @@ public AccountNetworkPolicy createNetworkPolicyRpc(AccountNetworkPolicy networkP } /** - * Create a network policy. - * - *

Creates a new network policy to manage which network destinations can be accessed from the + * Creates a new network policy to manage which network destinations can be accessed from the * Databricks environment. */ public AccountNetworkPolicy createNetworkPolicyRpc(CreateNetworkPolicyRequest request) { @@ -49,11 +47,7 @@ public void deleteNetworkPolicyRpc(String networkPolicyId) { deleteNetworkPolicyRpc(new DeleteNetworkPolicyRequest().setNetworkPolicyId(networkPolicyId)); } - /** - * Delete a network policy. - * - *

Deletes a network policy. Cannot be called on 'default-policy'. - */ + /** Deletes a network policy. Cannot be called on 'default-policy'. */ public void deleteNetworkPolicyRpc(DeleteNetworkPolicyRequest request) { impl.deleteNetworkPolicyRpc(request); } @@ -62,20 +56,12 @@ public AccountNetworkPolicy getNetworkPolicyRpc(String networkPolicyId) { return getNetworkPolicyRpc(new GetNetworkPolicyRequest().setNetworkPolicyId(networkPolicyId)); } - /** - * Get a network policy. - * - *

Gets a network policy. - */ + /** Gets a network policy. */ public AccountNetworkPolicy getNetworkPolicyRpc(GetNetworkPolicyRequest request) { return impl.getNetworkPolicyRpc(request); } - /** - * List network policies. - * - *

Gets an array of network policies. - */ + /** Gets an array of network policies. */ public Iterable listNetworkPoliciesRpc(ListNetworkPoliciesRequest request) { return new Paginator<>( request, @@ -98,11 +84,7 @@ public AccountNetworkPolicy updateNetworkPolicyRpc( .setNetworkPolicy(networkPolicy)); } - /** - * Update a network policy. - * - *

Updates a network policy. This allows you to modify the configuration of a network policy. - */ + /** Updates a network policy. This allows you to modify the configuration of a network policy. */ public AccountNetworkPolicy updateNetworkPolicyRpc(UpdateNetworkPolicyRequest request) { return impl.updateNetworkPolicyRpc(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkPoliciesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkPoliciesService.java index 17cf556d1..6a689a754 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkPoliciesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkPoliciesService.java @@ -18,41 +18,23 @@ @Generated public interface NetworkPoliciesService { /** - * Create a network policy. - * - *

Creates a new network policy to manage which network destinations can be accessed from the + * Creates a new network policy to manage which network destinations can be accessed from the * Databricks environment. */ AccountNetworkPolicy createNetworkPolicyRpc( CreateNetworkPolicyRequest createNetworkPolicyRequest); - /** - * Delete a network policy. - * - *

Deletes a network policy. Cannot be called on 'default-policy'. - */ + /** Deletes a network policy. Cannot be called on 'default-policy'. */ void deleteNetworkPolicyRpc(DeleteNetworkPolicyRequest deleteNetworkPolicyRequest); - /** - * Get a network policy. - * - *

Gets a network policy. - */ + /** Gets a network policy. */ AccountNetworkPolicy getNetworkPolicyRpc(GetNetworkPolicyRequest getNetworkPolicyRequest); - /** - * List network policies. - * - *

Gets an array of network policies. - */ + /** Gets an array of network policies. */ ListNetworkPoliciesResponse listNetworkPoliciesRpc( ListNetworkPoliciesRequest listNetworkPoliciesRequest); - /** - * Update a network policy. - * - *

Updates a network policy. This allows you to modify the configuration of a network policy. - */ + /** Updates a network policy. This allows you to modify the configuration of a network policy. */ AccountNetworkPolicy updateNetworkPolicyRpc( UpdateNetworkPolicyRequest updateNetworkPolicyRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NotificationDestinationsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NotificationDestinationsAPI.java index 466e31f06..62afb8499 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NotificationDestinationsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NotificationDestinationsAPI.java @@ -29,11 +29,7 @@ public NotificationDestinationsAPI(NotificationDestinationsService mock) { impl = mock; } - /** - * Create a notification destination. - * - *

Creates a notification destination. Requires workspace admin permissions. - */ + /** Creates a notification destination. Requires workspace admin permissions. */ public NotificationDestination create(CreateNotificationDestinationRequest request) { return impl.create(request); } @@ -42,11 +38,7 @@ public void delete(String id) { delete(new DeleteNotificationDestinationRequest().setId(id)); } - /** - * Delete a notification destination. - * - *

Deletes a notification destination. Requires workspace admin permissions. - */ + /** Deletes a notification destination. Requires workspace admin permissions. */ public void delete(DeleteNotificationDestinationRequest request) { impl.delete(request); } @@ -55,20 +47,12 @@ public NotificationDestination get(String id) { return get(new GetNotificationDestinationRequest().setId(id)); } - /** - * Get a notification destination. - * - *

Gets a notification destination. - */ + /** Gets a notification destination. */ public NotificationDestination get(GetNotificationDestinationRequest request) { return impl.get(request); } - /** - * List notification destinations. - * - *

Lists notification destinations. - */ + /** Lists notification destinations. */ public Iterable list( ListNotificationDestinationsRequest request) { return new Paginator<>( @@ -89,10 +73,8 @@ public NotificationDestination update(String id) { } /** - * Update a notification destination. - * - *

Updates a notification destination. Requires workspace admin permissions. At least one field - * is required in the request body. + * Updates a notification destination. Requires workspace admin permissions. At least one field is + * required in the request body. */ public NotificationDestination update(UpdateNotificationDestinationRequest request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NotificationDestinationsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NotificationDestinationsService.java index 17ff94003..74b8eb0c5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NotificationDestinationsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NotificationDestinationsService.java @@ -15,41 +15,23 @@ */ @Generated public interface NotificationDestinationsService { - /** - * Create a notification destination. - * - *

Creates a notification destination. Requires workspace admin permissions. - */ + /** Creates a notification destination. Requires workspace admin permissions. */ NotificationDestination create( CreateNotificationDestinationRequest createNotificationDestinationRequest); - /** - * Delete a notification destination. - * - *

Deletes a notification destination. Requires workspace admin permissions. - */ + /** Deletes a notification destination. Requires workspace admin permissions. */ void delete(DeleteNotificationDestinationRequest deleteNotificationDestinationRequest); - /** - * Get a notification destination. - * - *

Gets a notification destination. - */ + /** Gets a notification destination. */ NotificationDestination get(GetNotificationDestinationRequest getNotificationDestinationRequest); - /** - * List notification destinations. - * - *

Lists notification destinations. - */ + /** Lists notification destinations. */ ListNotificationDestinationsResponse list( ListNotificationDestinationsRequest listNotificationDestinationsRequest); /** - * Update a notification destination. - * - *

Updates a notification destination. Requires workspace admin permissions. At least one field - * is required in the request body. + * Updates a notification destination. Requires workspace admin permissions. At least one field is + * required in the request body. */ NotificationDestination update( UpdateNotificationDestinationRequest updateNotificationDestinationRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeAPI.java index df86c53f9..d4cbecd17 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeAPI.java @@ -32,20 +32,12 @@ public PersonalComputeAPI(PersonalComputeService mock) { impl = mock; } - /** - * Delete Personal Compute setting. - * - *

Reverts back the Personal Compute setting value to default (ON) - */ + /** Reverts back the Personal Compute setting value to default (ON) */ public DeletePersonalComputeSettingResponse delete(DeletePersonalComputeSettingRequest request) { return impl.delete(request); } - /** - * Get Personal Compute setting. - * - *

Gets the value of the Personal Compute setting. - */ + /** Gets the value of the Personal Compute setting. */ public PersonalComputeSetting get(GetPersonalComputeSettingRequest request) { return impl.get(request); } @@ -59,11 +51,7 @@ public PersonalComputeSetting update( .setFieldMask(fieldMask)); } - /** - * Update Personal Compute setting. - * - *

Updates the value of the Personal Compute setting. - */ + /** Updates the value of the Personal Compute setting. */ public PersonalComputeSetting update(UpdatePersonalComputeSettingRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeService.java index ba2942219..0ff176010 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeService.java @@ -19,26 +19,14 @@ */ @Generated public interface PersonalComputeService { - /** - * Delete Personal Compute setting. - * - *

Reverts back the Personal Compute setting value to default (ON) - */ + /** Reverts back the Personal Compute setting value to default (ON) */ DeletePersonalComputeSettingResponse delete( DeletePersonalComputeSettingRequest deletePersonalComputeSettingRequest); - /** - * Get Personal Compute setting. - * - *

Gets the value of the Personal Compute setting. - */ + /** Gets the value of the Personal Compute setting. */ PersonalComputeSetting get(GetPersonalComputeSettingRequest getPersonalComputeSettingRequest); - /** - * Update Personal Compute setting. - * - *

Updates the value of the Personal Compute setting. - */ + /** Updates the value of the Personal Compute setting. */ PersonalComputeSetting update( UpdatePersonalComputeSettingRequest updatePersonalComputeSettingRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsAPI.java index 1baad48a2..6a51b32a3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsAPI.java @@ -35,11 +35,9 @@ public RestrictWorkspaceAdminsAPI(RestrictWorkspaceAdminsService mock) { } /** - * Delete the restrict workspace admins setting. - * - *

Reverts the restrict workspace admins setting status for the workspace. A fresh etag needs - * to be provided in `DELETE` requests (as a query parameter). The etag can be retrieved by making - * a `GET` request before the DELETE request. If the setting is updated/deleted concurrently, + * Reverts the restrict workspace admins setting status for the workspace. A fresh etag needs to + * be provided in `DELETE` requests (as a query parameter). The etag can be retrieved by making a + * `GET` request before the DELETE request. If the setting is updated/deleted concurrently, * `DELETE` fails with 409 and the request must be retried by using the fresh etag in the 409 * response. */ @@ -48,11 +46,7 @@ public DeleteRestrictWorkspaceAdminsSettingResponse delete( return impl.delete(request); } - /** - * Get the restrict workspace admins setting. - * - *

Gets the restrict workspace admins setting. - */ + /** Gets the restrict workspace admins setting. */ public RestrictWorkspaceAdminsSetting get(GetRestrictWorkspaceAdminsSettingRequest request) { return impl.get(request); } @@ -67,9 +61,7 @@ public RestrictWorkspaceAdminsSetting update( } /** - * Update the restrict workspace admins setting. - * - *

Updates the restrict workspace admins setting for the workspace. A fresh etag needs to be + * Updates the restrict workspace admins setting for the workspace. A fresh etag needs to be * provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by * making a GET request before the `PATCH` request. If the setting is updated concurrently, * `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsService.java index 6e1fcd475..54429f787 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsService.java @@ -22,29 +22,21 @@ @Generated public interface RestrictWorkspaceAdminsService { /** - * Delete the restrict workspace admins setting. - * - *

Reverts the restrict workspace admins setting status for the workspace. A fresh etag needs - * to be provided in `DELETE` requests (as a query parameter). The etag can be retrieved by making - * a `GET` request before the DELETE request. If the setting is updated/deleted concurrently, + * Reverts the restrict workspace admins setting status for the workspace. A fresh etag needs to + * be provided in `DELETE` requests (as a query parameter). The etag can be retrieved by making a + * `GET` request before the DELETE request. If the setting is updated/deleted concurrently, * `DELETE` fails with 409 and the request must be retried by using the fresh etag in the 409 * response. */ DeleteRestrictWorkspaceAdminsSettingResponse delete( DeleteRestrictWorkspaceAdminsSettingRequest deleteRestrictWorkspaceAdminsSettingRequest); - /** - * Get the restrict workspace admins setting. - * - *

Gets the restrict workspace admins setting. - */ + /** Gets the restrict workspace admins setting. */ RestrictWorkspaceAdminsSetting get( GetRestrictWorkspaceAdminsSettingRequest getRestrictWorkspaceAdminsSettingRequest); /** - * Update the restrict workspace admins setting. - * - *

Updates the restrict workspace admins setting for the workspace. A fresh etag needs to be + * Updates the restrict workspace admins setting for the workspace. A fresh etag needs to be * provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by * making a GET request before the `PATCH` request. If the setting is updated concurrently, * `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownloadAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownloadAPI.java index 7bc8f49d1..a9e0ca89c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownloadAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownloadAPI.java @@ -26,20 +26,12 @@ public SqlResultsDownloadAPI(SqlResultsDownloadService mock) { impl = mock; } - /** - * Delete the SQL Results Download setting. - * - *

Reverts the SQL Results Download setting to its default value. - */ + /** Reverts the SQL Results Download setting to its default value. */ public DeleteSqlResultsDownloadResponse delete(DeleteSqlResultsDownloadRequest request) { return impl.delete(request); } - /** - * Get the SQL Results Download setting. - * - *

Gets the SQL Results Download setting. - */ + /** Gets the SQL Results Download setting. */ public SqlResultsDownload get(GetSqlResultsDownloadRequest request) { return impl.get(request); } @@ -53,11 +45,7 @@ public SqlResultsDownload update( .setFieldMask(fieldMask)); } - /** - * Update the SQL Results Download setting. - * - *

Updates the SQL Results Download setting. - */ + /** Updates the SQL Results Download setting. */ public SqlResultsDownload update(UpdateSqlResultsDownloadRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownloadService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownloadService.java index 0929fba03..6a53277c0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownloadService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownloadService.java @@ -13,25 +13,13 @@ */ @Generated public interface SqlResultsDownloadService { - /** - * Delete the SQL Results Download setting. - * - *

Reverts the SQL Results Download setting to its default value. - */ + /** Reverts the SQL Results Download setting to its default value. */ DeleteSqlResultsDownloadResponse delete( DeleteSqlResultsDownloadRequest deleteSqlResultsDownloadRequest); - /** - * Get the SQL Results Download setting. - * - *

Gets the SQL Results Download setting. - */ + /** Gets the SQL Results Download setting. */ SqlResultsDownload get(GetSqlResultsDownloadRequest getSqlResultsDownloadRequest); - /** - * Update the SQL Results Download setting. - * - *

Updates the SQL Results Download setting. - */ + /** Updates the SQL Results Download setting. */ SqlResultsDownload update(UpdateSqlResultsDownloadRequest updateSqlResultsDownloadRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokenManagementAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokenManagementAPI.java index 5e5311539..1636e5966 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokenManagementAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokenManagementAPI.java @@ -31,11 +31,7 @@ public CreateOboTokenResponse createOboToken(String applicationId) { return createOboToken(new CreateOboTokenRequest().setApplicationId(applicationId)); } - /** - * Create on-behalf token. - * - *

Creates a token on behalf of a service principal. - */ + /** Creates a token on behalf of a service principal. */ public CreateOboTokenResponse createOboToken(CreateOboTokenRequest request) { return impl.createOboToken(request); } @@ -44,11 +40,7 @@ public void delete(String tokenId) { delete(new DeleteTokenManagementRequest().setTokenId(tokenId)); } - /** - * Delete a token. - * - *

Deletes a token, specified by its ID. - */ + /** Deletes a token, specified by its ID. */ public void delete(DeleteTokenManagementRequest request) { impl.delete(request); } @@ -57,59 +49,37 @@ public GetTokenResponse get(String tokenId) { return get(new GetTokenManagementRequest().setTokenId(tokenId)); } - /** - * Get token info. - * - *

Gets information about a token, specified by its ID. - */ + /** Gets information about a token, specified by its ID. */ public GetTokenResponse get(GetTokenManagementRequest request) { return impl.get(request); } - /** - * Get token permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ public GetTokenPermissionLevelsResponse getPermissionLevels() { return impl.getPermissionLevels(); } - /** - * Get token permissions. - * - *

Gets the permissions of all tokens. Tokens can inherit permissions from their root object. - */ + /** Gets the permissions of all tokens. Tokens can inherit permissions from their root object. */ public TokenPermissions getPermissions() { return impl.getPermissions(); } - /** - * List all tokens. - * - *

Lists all tokens associated with the specified workspace or user. - */ + /** Lists all tokens associated with the specified workspace or user. */ public Iterable list(ListTokenManagementRequest request) { return new Paginator<>( request, impl::list, ListTokensResponse::getTokenInfos, response -> null); } /** - * Set token permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ public TokenPermissions setPermissions(TokenPermissionsRequest request) { return impl.setPermissions(request); } /** - * Update token permissions. - * - *

Updates the permissions on all tokens. Tokens can inherit permissions from their root - * object. + * Updates the permissions on all tokens. Tokens can inherit permissions from their root object. */ public TokenPermissions updatePermissions(TokenPermissionsRequest request) { return impl.updatePermissions(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokenManagementService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokenManagementService.java index ad46b6abf..e51a86446 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokenManagementService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokenManagementService.java @@ -13,62 +13,32 @@ */ @Generated public interface TokenManagementService { - /** - * Create on-behalf token. - * - *

Creates a token on behalf of a service principal. - */ + /** Creates a token on behalf of a service principal. */ CreateOboTokenResponse createOboToken(CreateOboTokenRequest createOboTokenRequest); - /** - * Delete a token. - * - *

Deletes a token, specified by its ID. - */ + /** Deletes a token, specified by its ID. */ void delete(DeleteTokenManagementRequest deleteTokenManagementRequest); - /** - * Get token info. - * - *

Gets information about a token, specified by its ID. - */ + /** Gets information about a token, specified by its ID. */ GetTokenResponse get(GetTokenManagementRequest getTokenManagementRequest); - /** - * Get token permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ GetTokenPermissionLevelsResponse getPermissionLevels(); - /** - * Get token permissions. - * - *

Gets the permissions of all tokens. Tokens can inherit permissions from their root object. - */ + /** Gets the permissions of all tokens. Tokens can inherit permissions from their root object. */ TokenPermissions getPermissions(); - /** - * List all tokens. - * - *

Lists all tokens associated with the specified workspace or user. - */ + /** Lists all tokens associated with the specified workspace or user. */ ListTokensResponse list(ListTokenManagementRequest listTokenManagementRequest); /** - * Set token permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ TokenPermissions setPermissions(TokenPermissionsRequest tokenPermissionsRequest); /** - * Update token permissions. - * - *

Updates the permissions on all tokens. Tokens can inherit permissions from their root - * object. + * Updates the permissions on all tokens. Tokens can inherit permissions from their root object. */ TokenPermissions updatePermissions(TokenPermissionsRequest tokenPermissionsRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensAPI.java index 070f94996..e0274b63a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensAPI.java @@ -28,11 +28,9 @@ public TokensAPI(TokensService mock) { } /** - * Create a user token. - * - *

Creates and returns a token for a user. If this call is made through token authentication, - * it creates a token with the same client ID as the authenticated token. If the user's token - * quota is exceeded, this call returns an error **QUOTA_EXCEEDED**. + * Creates and returns a token for a user. If this call is made through token authentication, it + * creates a token with the same client ID as the authenticated token. If the user's token quota + * is exceeded, this call returns an error **QUOTA_EXCEEDED**. */ public CreateTokenResponse create(CreateTokenRequest request) { return impl.create(request); @@ -43,9 +41,7 @@ public void delete(String tokenId) { } /** - * Revoke token. - * - *

Revokes an access token. + * Revokes an access token. * *

If a token with the specified ID is not valid, this call returns an error * **RESOURCE_DOES_NOT_EXIST**. @@ -54,11 +50,7 @@ public void delete(RevokeTokenRequest request) { impl.delete(request); } - /** - * List tokens. - * - *

Lists all the valid tokens for a user-workspace pair. - */ + /** Lists all the valid tokens for a user-workspace pair. */ public Iterable list() { return new Paginator<>( null, (Void v) -> impl.list(), ListPublicTokensResponse::getTokenInfos, response -> null); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensService.java index 3de7c4d2e..9848537ed 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensService.java @@ -14,28 +14,20 @@ @Generated public interface TokensService { /** - * Create a user token. - * - *

Creates and returns a token for a user. If this call is made through token authentication, - * it creates a token with the same client ID as the authenticated token. If the user's token - * quota is exceeded, this call returns an error **QUOTA_EXCEEDED**. + * Creates and returns a token for a user. If this call is made through token authentication, it + * creates a token with the same client ID as the authenticated token. If the user's token quota + * is exceeded, this call returns an error **QUOTA_EXCEEDED**. */ CreateTokenResponse create(CreateTokenRequest createTokenRequest); /** - * Revoke token. - * - *

Revokes an access token. + * Revokes an access token. * *

If a token with the specified ID is not valid, this call returns an error * **RESOURCE_DOES_NOT_EXIST**. */ void delete(RevokeTokenRequest revokeTokenRequest); - /** - * List tokens. - * - *

Lists all the valid tokens for a user-workspace pair. - */ + /** Lists all the valid tokens for a user-workspace pair. */ ListPublicTokensResponse list(); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateNccPrivateEndpointRuleRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateNccPrivateEndpointRuleRequest.java index 7d38074a6..a8b5df2c4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateNccPrivateEndpointRuleRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateNccPrivateEndpointRuleRequest.java @@ -9,7 +9,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Update a private endpoint rule */ @Generated public class UpdateNccPrivateEndpointRuleRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateNetworkPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateNetworkPolicyRequest.java index 82fb015bd..54e9f3e6f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateNetworkPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateNetworkPolicyRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Update a network policy */ @Generated public class UpdateNetworkPolicyRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateWorkspaceNetworkOptionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateWorkspaceNetworkOptionRequest.java index 3dbcb2ba5..708394972 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateWorkspaceNetworkOptionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateWorkspaceNetworkOptionRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Update workspace network option */ @Generated public class UpdateWorkspaceNetworkOptionRequest { /** The workspace ID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/WorkspaceConfAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/WorkspaceConfAPI.java index aaf9fd787..67b5e9534 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/WorkspaceConfAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/WorkspaceConfAPI.java @@ -28,20 +28,12 @@ public Map getStatus(String keys) { return getStatus(new GetStatusRequest().setKeys(keys)); } - /** - * Check configuration status. - * - *

Gets the configuration status for a workspace. - */ + /** Gets the configuration status for a workspace. */ public Map getStatus(GetStatusRequest request) { return impl.getStatus(request); } - /** - * Enable/disable features. - * - *

Sets the configuration status for a workspace, including enabling or disabling it. - */ + /** Sets the configuration status for a workspace, including enabling or disabling it. */ public void setStatus(Map request) { impl.setStatus(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/WorkspaceConfService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/WorkspaceConfService.java index 4913469ba..ff66d173f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/WorkspaceConfService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/WorkspaceConfService.java @@ -13,17 +13,9 @@ */ @Generated public interface WorkspaceConfService { - /** - * Check configuration status. - * - *

Gets the configuration status for a workspace. - */ + /** Gets the configuration status for a workspace. */ Map getStatus(GetStatusRequest getStatusRequest); - /** - * Enable/disable features. - * - *

Sets the configuration status for a workspace, including enabling or disabling it. - */ + /** Sets the configuration status for a workspace, including enabling or disabling it. */ void setStatus(Map workspaceConf); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/WorkspaceNetworkConfigurationAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/WorkspaceNetworkConfigurationAPI.java index 825cf4f15..e4f65a428 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/WorkspaceNetworkConfigurationAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/WorkspaceNetworkConfigurationAPI.java @@ -36,9 +36,7 @@ public WorkspaceNetworkOption getWorkspaceNetworkOptionRpc(long workspaceId) { } /** - * Get workspace network option. - * - *

Gets the network option for a workspace. Every workspace has exactly one network policy + * Gets the network option for a workspace. Every workspace has exactly one network policy * binding, with 'default-policy' used if no explicit assignment exists. */ public WorkspaceNetworkOption getWorkspaceNetworkOptionRpc( @@ -55,9 +53,7 @@ public WorkspaceNetworkOption updateWorkspaceNetworkOptionRpc( } /** - * Update workspace network option. - * - *

Updates the network option for a workspace. This operation associates the workspace with the + * Updates the network option for a workspace. This operation associates the workspace with the * specified network policy. To revert to the default policy, specify 'default-policy' as the * network_policy_id. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/WorkspaceNetworkConfigurationService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/WorkspaceNetworkConfigurationService.java index 0a45ac324..9b01a1211 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/WorkspaceNetworkConfigurationService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/WorkspaceNetworkConfigurationService.java @@ -18,18 +18,14 @@ @Generated public interface WorkspaceNetworkConfigurationService { /** - * Get workspace network option. - * - *

Gets the network option for a workspace. Every workspace has exactly one network policy + * Gets the network option for a workspace. Every workspace has exactly one network policy * binding, with 'default-policy' used if no explicit assignment exists. */ WorkspaceNetworkOption getWorkspaceNetworkOptionRpc( GetWorkspaceNetworkOptionRequest getWorkspaceNetworkOptionRequest); /** - * Update workspace network option. - * - *

Updates the network option for a workspace. This operation associates the workspace with the + * Updates the network option for a workspace. This operation associates the workspace with the * specified network policy. To revert to the default policy, specify 'default-policy' as the * network_policy_id. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/CreateFederationPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/CreateFederationPolicyRequest.java index 0f8a544c2..59c3475f5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/CreateFederationPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/CreateFederationPolicyRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create recipient federation policy */ @Generated public class CreateFederationPolicyRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/DeleteFederationPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/DeleteFederationPolicyRequest.java index 1453ea54e..24ae25450 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/DeleteFederationPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/DeleteFederationPolicyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete recipient federation policy */ @Generated public class DeleteFederationPolicyRequest { /** Name of the policy. This is the name of the policy to be deleted. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/DeleteProviderRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/DeleteProviderRequest.java index ce8ef5901..e6020c3f0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/DeleteProviderRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/DeleteProviderRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a provider */ @Generated public class DeleteProviderRequest { /** Name of the provider. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/DeleteRecipientRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/DeleteRecipientRequest.java index 5734ea84f..c2caf3257 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/DeleteRecipientRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/DeleteRecipientRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a share recipient */ @Generated public class DeleteRecipientRequest { /** Name of the recipient. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/DeleteShareRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/DeleteShareRequest.java index e6276a311..863d63f2f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/DeleteShareRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/DeleteShareRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a share */ @Generated public class DeleteShareRequest { /** The name of the share. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetActivationUrlInfoRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetActivationUrlInfoRequest.java index d98db7184..d05ae77f5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetActivationUrlInfoRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetActivationUrlInfoRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a share activation URL */ @Generated public class GetActivationUrlInfoRequest { /** The one time activation url. It also accepts activation token. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetFederationPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetFederationPolicyRequest.java index 88320e5e1..a0340be8a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetFederationPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetFederationPolicyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get recipient federation policy */ @Generated public class GetFederationPolicyRequest { /** Name of the policy. This is the name of the policy to be retrieved. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetProviderRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetProviderRequest.java index 7f27c8335..26510b560 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetProviderRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetProviderRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a provider */ @Generated public class GetProviderRequest { /** Name of the provider. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetRecipientRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetRecipientRequest.java index 1fafaab1a..2c011b680 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetRecipientRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetRecipientRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a share recipient */ @Generated public class GetRecipientRequest { /** Name of the recipient. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetShareRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetShareRequest.java index 1cd3ac93f..f60187aca 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetShareRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetShareRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a share */ @Generated public class GetShareRequest { /** Query for data to include in the share. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListFederationPoliciesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListFederationPoliciesRequest.java index dcd317716..a324a241d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListFederationPoliciesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListFederationPoliciesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List recipient federation policies */ @Generated public class ListFederationPoliciesRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProviderShareAssetsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProviderShareAssetsRequest.java index fea546dc1..54410421c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProviderShareAssetsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProviderShareAssetsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List assets by provider share */ @Generated public class ListProviderShareAssetsRequest { /** Maximum number of functions to return. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProvidersRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProvidersRequest.java index e33e8ca7b..8180f6dd8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProvidersRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProvidersRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List providers */ @Generated public class ListProvidersRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListRecipientsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListRecipientsRequest.java index 1064eede3..52b6487a3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListRecipientsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListRecipientsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List share recipients */ @Generated public class ListRecipientsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListSharesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListSharesRequest.java index 61d09cbad..364cdf15c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListSharesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListSharesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List shares by Provider */ @Generated public class ListSharesRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/PrivilegeAssignment.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/PrivilegeAssignment.java index e6cd7395b..c3e2fcfae 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/PrivilegeAssignment.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/PrivilegeAssignment.java @@ -10,7 +10,10 @@ @Generated public class PrivilegeAssignment { - /** The principal (user email address or group name). */ + /** + * The principal (user email address or group name). For deleted principals, `principal` is empty + * while `principal_id` is populated. + */ @JsonProperty("principal") private String principal; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProvidersAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProvidersAPI.java index b049fc361..2362ad92e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProvidersAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProvidersAPI.java @@ -32,9 +32,7 @@ public ProviderInfo create(String name, AuthenticationType authenticationType) { } /** - * Create an auth provider. - * - *

Creates a new authentication provider minimally based on a name and authentication type. The + * Creates a new authentication provider minimally based on a name and authentication type. The * caller must be an admin on the metastore. */ public ProviderInfo create(CreateProvider request) { @@ -46,10 +44,8 @@ public void delete(String name) { } /** - * Delete a provider. - * - *

Deletes an authentication provider, if the caller is a metastore admin or is the owner of - * the provider. + * Deletes an authentication provider, if the caller is a metastore admin or is the owner of the + * provider. */ public void delete(DeleteProviderRequest request) { impl.delete(request); @@ -60,19 +56,15 @@ public ProviderInfo get(String name) { } /** - * Get a provider. - * - *

Gets a specific authentication provider. The caller must supply the name of the provider, - * and must either be a metastore admin or the owner of the provider. + * Gets a specific authentication provider. The caller must supply the name of the provider, and + * must either be a metastore admin or the owner of the provider. */ public ProviderInfo get(GetProviderRequest request) { return impl.get(request); } /** - * List providers. - * - *

Gets an array of available authentication providers. The caller must either be a metastore + * Gets an array of available authentication providers. The caller must either be a metastore * admin or the owner of the providers. Providers not owned by the caller are not included in the * response. There is no guarantee of a specific ordering of the elements in the array. */ @@ -101,10 +93,8 @@ public ListProviderShareAssetsResponse listProviderShareAssets( } /** - * List assets by provider share. - * - *

Get arrays of assets associated with a specified provider's share. The caller is the - * recipient of the share. + * Get arrays of assets associated with a specified provider's share. The caller is the recipient + * of the share. */ public ListProviderShareAssetsResponse listProviderShareAssets( ListProviderShareAssetsRequest request) { @@ -116,9 +106,7 @@ public Iterable listShares(String name) { } /** - * List shares by Provider. - * - *

Gets an array of a specified provider's shares within the metastore where: + * Gets an array of a specified provider's shares within the metastore where: * *

* the caller is a metastore admin, or * the caller is the owner. */ @@ -145,11 +133,9 @@ public ProviderInfo update(String name) { } /** - * Update a provider. - * - *

Updates the information for an authentication provider, if the caller is a metastore admin - * or is the owner of the provider. If the update changes the provider name, the caller must be - * both a metastore admin and the owner of the provider. + * Updates the information for an authentication provider, if the caller is a metastore admin or + * is the owner of the provider. If the update changes the provider name, the caller must be both + * a metastore admin and the owner of the provider. */ public ProviderInfo update(UpdateProvider request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProvidersService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProvidersService.java index 601031df1..59744887d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProvidersService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProvidersService.java @@ -14,62 +14,48 @@ @Generated public interface ProvidersService { /** - * Create an auth provider. - * - *

Creates a new authentication provider minimally based on a name and authentication type. The + * Creates a new authentication provider minimally based on a name and authentication type. The * caller must be an admin on the metastore. */ ProviderInfo create(CreateProvider createProvider); /** - * Delete a provider. - * - *

Deletes an authentication provider, if the caller is a metastore admin or is the owner of - * the provider. + * Deletes an authentication provider, if the caller is a metastore admin or is the owner of the + * provider. */ void delete(DeleteProviderRequest deleteProviderRequest); /** - * Get a provider. - * - *

Gets a specific authentication provider. The caller must supply the name of the provider, - * and must either be a metastore admin or the owner of the provider. + * Gets a specific authentication provider. The caller must supply the name of the provider, and + * must either be a metastore admin or the owner of the provider. */ ProviderInfo get(GetProviderRequest getProviderRequest); /** - * List providers. - * - *

Gets an array of available authentication providers. The caller must either be a metastore + * Gets an array of available authentication providers. The caller must either be a metastore * admin or the owner of the providers. Providers not owned by the caller are not included in the * response. There is no guarantee of a specific ordering of the elements in the array. */ ListProvidersResponse list(ListProvidersRequest listProvidersRequest); /** - * List assets by provider share. - * - *

Get arrays of assets associated with a specified provider's share. The caller is the - * recipient of the share. + * Get arrays of assets associated with a specified provider's share. The caller is the recipient + * of the share. */ ListProviderShareAssetsResponse listProviderShareAssets( ListProviderShareAssetsRequest listProviderShareAssetsRequest); /** - * List shares by Provider. - * - *

Gets an array of a specified provider's shares within the metastore where: + * Gets an array of a specified provider's shares within the metastore where: * *

* the caller is a metastore admin, or * the caller is the owner. */ ListProviderSharesResponse listShares(ListSharesRequest listSharesRequest); /** - * Update a provider. - * - *

Updates the information for an authentication provider, if the caller is a metastore admin - * or is the owner of the provider. If the update changes the provider name, the caller must be - * both a metastore admin and the owner of the provider. + * Updates the information for an authentication provider, if the caller is a metastore admin or + * is the owner of the provider. If the update changes the provider name, the caller must be both + * a metastore admin and the owner of the provider. */ ProviderInfo update(UpdateProvider updateProvider); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientActivationAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientActivationAPI.java index 08079835d..23d6470c3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientActivationAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientActivationAPI.java @@ -36,11 +36,7 @@ public void getActivationUrlInfo(String activationUrl) { getActivationUrlInfo(new GetActivationUrlInfoRequest().setActivationUrl(activationUrl)); } - /** - * Get a share activation URL. - * - *

Gets an activation URL for a share. - */ + /** Gets an activation URL for a share. */ public void getActivationUrlInfo(GetActivationUrlInfoRequest request) { impl.getActivationUrlInfo(request); } @@ -50,10 +46,7 @@ public RetrieveTokenResponse retrieveToken(String activationUrl) { } /** - * Get an access token. - * - *

Retrieve access token with an activation url. This is a public API without any - * authentication. + * Retrieve access token with an activation url. This is a public API without any authentication. */ public RetrieveTokenResponse retrieveToken(RetrieveTokenRequest request) { return impl.retrieveToken(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientActivationService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientActivationService.java index 4dcfc5f10..62f48f347 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientActivationService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientActivationService.java @@ -19,18 +19,11 @@ */ @Generated public interface RecipientActivationService { - /** - * Get a share activation URL. - * - *

Gets an activation URL for a share. - */ + /** Gets an activation URL for a share. */ void getActivationUrlInfo(GetActivationUrlInfoRequest getActivationUrlInfoRequest); /** - * Get an access token. - * - *

Retrieve access token with an activation url. This is a public API without any - * authentication. + * Retrieve access token with an activation url. This is a public API without any authentication. */ RetrieveTokenResponse retrieveToken(RetrieveTokenRequest retrieveTokenRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientFederationPoliciesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientFederationPoliciesAPI.java index fd10ac092..b93dbd26e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientFederationPoliciesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientFederationPoliciesAPI.java @@ -52,10 +52,8 @@ public FederationPolicy create(String recipientName, FederationPolicy policy) { } /** - * Create recipient federation policy. - * - *

Create a federation policy for an OIDC_FEDERATION recipient for sharing data from Databricks - * to non-Databricks recipients. The caller must be the owner of the recipient. When sharing data + * Create a federation policy for an OIDC_FEDERATION recipient for sharing data from Databricks to + * non-Databricks recipients. The caller must be the owner of the recipient. When sharing data * from Databricks to non-Databricks clients, you can define a federation policy to authenticate * non-Databricks recipients. The federation policy validates OIDC claims in federated tokens and * is defined at the recipient level. This enables secretless sharing clients to authenticate @@ -85,10 +83,8 @@ public void delete(String recipientName, String name) { } /** - * Delete recipient federation policy. - * - *

Deletes an existing federation policy for an OIDC_FEDERATION recipient. The caller must be - * the owner of the recipient. + * Deletes an existing federation policy for an OIDC_FEDERATION recipient. The caller must be the + * owner of the recipient. */ public void delete(DeleteFederationPolicyRequest request) { impl.delete(request); @@ -100,9 +96,7 @@ public FederationPolicy getFederationPolicy(String recipientName, String name) { } /** - * Get recipient federation policy. - * - *

Reads an existing federation policy for an OIDC_FEDERATION recipient for sharing data from + * Reads an existing federation policy for an OIDC_FEDERATION recipient for sharing data from * Databricks to non-Databricks recipients. The caller must have read access to the recipient. */ public FederationPolicy getFederationPolicy(GetFederationPolicyRequest request) { @@ -114,10 +108,8 @@ public Iterable list(String recipientName) { } /** - * List recipient federation policies. - * - *

Lists federation policies for an OIDC_FEDERATION recipient for sharing data from Databricks - * to non-Databricks recipients. The caller must have read access to the recipient. + * Lists federation policies for an OIDC_FEDERATION recipient for sharing data from Databricks to + * non-Databricks recipients. The caller must have read access to the recipient. */ public Iterable list(ListFederationPoliciesRequest request) { return new Paginator<>( @@ -142,9 +134,7 @@ public FederationPolicy update(String recipientName, String name, FederationPoli } /** - * Update recipient federation policy. - * - *

Updates an existing federation policy for an OIDC_RECIPIENT. The caller must be the owner of + * Updates an existing federation policy for an OIDC_RECIPIENT. The caller must be the owner of * the recipient. */ public FederationPolicy update(UpdateFederationPolicyRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientFederationPoliciesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientFederationPoliciesService.java index ccf79726a..f0301935b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientFederationPoliciesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientFederationPoliciesService.java @@ -33,10 +33,8 @@ @Generated public interface RecipientFederationPoliciesService { /** - * Create recipient federation policy. - * - *

Create a federation policy for an OIDC_FEDERATION recipient for sharing data from Databricks - * to non-Databricks recipients. The caller must be the owner of the recipient. When sharing data + * Create a federation policy for an OIDC_FEDERATION recipient for sharing data from Databricks to + * non-Databricks recipients. The caller must be the owner of the recipient. When sharing data * from Databricks to non-Databricks clients, you can define a federation policy to authenticate * non-Databricks recipients. The federation policy validates OIDC claims in federated tokens and * is defined at the recipient level. This enables secretless sharing clients to authenticate @@ -60,33 +58,25 @@ public interface RecipientFederationPoliciesService { FederationPolicy create(CreateFederationPolicyRequest createFederationPolicyRequest); /** - * Delete recipient federation policy. - * - *

Deletes an existing federation policy for an OIDC_FEDERATION recipient. The caller must be - * the owner of the recipient. + * Deletes an existing federation policy for an OIDC_FEDERATION recipient. The caller must be the + * owner of the recipient. */ void delete(DeleteFederationPolicyRequest deleteFederationPolicyRequest); /** - * Get recipient federation policy. - * - *

Reads an existing federation policy for an OIDC_FEDERATION recipient for sharing data from + * Reads an existing federation policy for an OIDC_FEDERATION recipient for sharing data from * Databricks to non-Databricks recipients. The caller must have read access to the recipient. */ FederationPolicy getFederationPolicy(GetFederationPolicyRequest getFederationPolicyRequest); /** - * List recipient federation policies. - * - *

Lists federation policies for an OIDC_FEDERATION recipient for sharing data from Databricks - * to non-Databricks recipients. The caller must have read access to the recipient. + * Lists federation policies for an OIDC_FEDERATION recipient for sharing data from Databricks to + * non-Databricks recipients. The caller must have read access to the recipient. */ ListFederationPoliciesResponse list(ListFederationPoliciesRequest listFederationPoliciesRequest); /** - * Update recipient federation policy. - * - *

Updates an existing federation policy for an OIDC_RECIPIENT. The caller must be the owner of + * Updates an existing federation policy for an OIDC_RECIPIENT. The caller must be the owner of * the recipient. */ FederationPolicy update(UpdateFederationPolicyRequest updateFederationPolicyRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientsAPI.java index cdc0717c9..185d1057b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientsAPI.java @@ -44,10 +44,8 @@ public RecipientInfo create(String name, AuthenticationType authenticationType) } /** - * Create a share recipient. - * - *

Creates a new recipient with the delta sharing authentication type in the metastore. The - * caller must be a metastore admin or have the **CREATE_RECIPIENT** privilege on the metastore. + * Creates a new recipient with the delta sharing authentication type in the metastore. The caller + * must be a metastore admin or have the **CREATE_RECIPIENT** privilege on the metastore. */ public RecipientInfo create(CreateRecipient request) { return impl.create(request); @@ -58,9 +56,7 @@ public void delete(String name) { } /** - * Delete a share recipient. - * - *

Deletes the specified recipient from the metastore. The caller must be the owner of the + * Deletes the specified recipient from the metastore. The caller must be the owner of the * recipient. */ public void delete(DeleteRecipientRequest request) { @@ -72,9 +68,7 @@ public RecipientInfo get(String name) { } /** - * Get a share recipient. - * - *

Gets a share recipient from the metastore if: + * Gets a share recipient from the metastore if: * *

* the caller is the owner of the share recipient, or: * is a metastore admin */ @@ -83,9 +77,7 @@ public RecipientInfo get(GetRecipientRequest request) { } /** - * List share recipients. - * - *

Gets an array of all share recipients within the current metastore where: + * Gets an array of all share recipients within the current metastore where: * *

* the caller is a metastore admin, or * the caller is the owner. There is no guarantee of a * specific ordering of the elements in the array. @@ -116,10 +108,8 @@ public RecipientInfo rotateToken(String name, long existingTokenExpireInSeconds) } /** - * Rotate a token. - * - *

Refreshes the specified recipient's delta sharing authentication token with the provided - * token info. The caller must be the owner of the recipient. + * Refreshes the specified recipient's delta sharing authentication token with the provided token + * info. The caller must be the owner of the recipient. */ public RecipientInfo rotateToken(RotateRecipientToken request) { return impl.rotateToken(request); @@ -130,10 +120,8 @@ public GetRecipientSharePermissionsResponse sharePermissions(String name) { } /** - * Get recipient share permissions. - * - *

Gets the share permissions for the specified Recipient. The caller must be a metastore admin - * or the owner of the Recipient. + * Gets the share permissions for the specified Recipient. The caller must be a metastore admin or + * the owner of the Recipient. */ public GetRecipientSharePermissionsResponse sharePermissions(SharePermissionsRequest request) { return impl.sharePermissions(request); @@ -144,9 +132,7 @@ public RecipientInfo update(String name) { } /** - * Update a share recipient. - * - *

Updates an existing recipient in the metastore. The caller must be a metastore admin or the + * Updates an existing recipient in the metastore. The caller must be a metastore admin or the * owner of the recipient. If the recipient name will be updated, the user must be both a * metastore admin and the owner of the recipient. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientsService.java index 8265f978e..baf5b1b93 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientsService.java @@ -26,34 +26,26 @@ @Generated public interface RecipientsService { /** - * Create a share recipient. - * - *

Creates a new recipient with the delta sharing authentication type in the metastore. The - * caller must be a metastore admin or have the **CREATE_RECIPIENT** privilege on the metastore. + * Creates a new recipient with the delta sharing authentication type in the metastore. The caller + * must be a metastore admin or have the **CREATE_RECIPIENT** privilege on the metastore. */ RecipientInfo create(CreateRecipient createRecipient); /** - * Delete a share recipient. - * - *

Deletes the specified recipient from the metastore. The caller must be the owner of the + * Deletes the specified recipient from the metastore. The caller must be the owner of the * recipient. */ void delete(DeleteRecipientRequest deleteRecipientRequest); /** - * Get a share recipient. - * - *

Gets a share recipient from the metastore if: + * Gets a share recipient from the metastore if: * *

* the caller is the owner of the share recipient, or: * is a metastore admin */ RecipientInfo get(GetRecipientRequest getRecipientRequest); /** - * List share recipients. - * - *

Gets an array of all share recipients within the current metastore where: + * Gets an array of all share recipients within the current metastore where: * *

* the caller is a metastore admin, or * the caller is the owner. There is no guarantee of a * specific ordering of the elements in the array. @@ -61,26 +53,20 @@ public interface RecipientsService { ListRecipientsResponse list(ListRecipientsRequest listRecipientsRequest); /** - * Rotate a token. - * - *

Refreshes the specified recipient's delta sharing authentication token with the provided - * token info. The caller must be the owner of the recipient. + * Refreshes the specified recipient's delta sharing authentication token with the provided token + * info. The caller must be the owner of the recipient. */ RecipientInfo rotateToken(RotateRecipientToken rotateRecipientToken); /** - * Get recipient share permissions. - * - *

Gets the share permissions for the specified Recipient. The caller must be a metastore admin - * or the owner of the Recipient. + * Gets the share permissions for the specified Recipient. The caller must be a metastore admin or + * the owner of the Recipient. */ GetRecipientSharePermissionsResponse sharePermissions( SharePermissionsRequest sharePermissionsRequest); /** - * Update a share recipient. - * - *

Updates an existing recipient in the metastore. The caller must be a metastore admin or the + * Updates an existing recipient in the metastore. The caller must be a metastore admin or the * owner of the recipient. If the recipient name will be updated, the user must be both a * metastore admin and the owner of the recipient. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RetrieveTokenRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RetrieveTokenRequest.java index e359a49a1..168264057 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RetrieveTokenRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RetrieveTokenRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get an access token */ @Generated public class RetrieveTokenRequest { /** The one time activation url. It also accepts activation token. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharePermissionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharePermissionsRequest.java index 0ea7e83c5..3ba3a5a2b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharePermissionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharePermissionsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get recipient share permissions */ @Generated public class SharePermissionsRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesAPI.java index e33871615..a36483f0c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesAPI.java @@ -34,11 +34,8 @@ public ShareInfo create(String name) { } /** - * Create a share. - * - *

Creates a new share for data objects. Data objects can be added after creation with - * **update**. The caller must be a metastore admin or have the **CREATE_SHARE** privilege on the - * metastore. + * Creates a new share for data objects. Data objects can be added after creation with **update**. + * The caller must be a metastore admin or have the **CREATE_SHARE** privilege on the metastore. */ public ShareInfo create(CreateShare request) { return impl.create(request); @@ -48,11 +45,7 @@ public void delete(String name) { delete(new DeleteShareRequest().setName(name)); } - /** - * Delete a share. - * - *

Deletes a data object share from the metastore. The caller must be an owner of the share. - */ + /** Deletes a data object share from the metastore. The caller must be an owner of the share. */ public void delete(DeleteShareRequest request) { impl.delete(request); } @@ -62,20 +55,16 @@ public ShareInfo get(String name) { } /** - * Get a share. - * - *

Gets a data object share from the metastore. The caller must be a metastore admin or the - * owner of the share. + * Gets a data object share from the metastore. The caller must be a metastore admin or the owner + * of the share. */ public ShareInfo get(GetShareRequest request) { return impl.get(request); } /** - * List shares. - * - *

Gets an array of data object shares from the metastore. The caller must be a metastore admin - * or the owner of the share. There is no guarantee of a specific ordering of the elements in the + * Gets an array of data object shares from the metastore. The caller must be a metastore admin or + * the owner of the share. There is no guarantee of a specific ordering of the elements in the * array. */ public Iterable list(ListSharesRequest request) { @@ -101,10 +90,8 @@ public GetSharePermissionsResponse sharePermissions(String name) { } /** - * Get permissions. - * - *

Gets the permissions for a data share from the metastore. The caller must be a metastore - * admin or the owner of the share. + * Gets the permissions for a data share from the metastore. The caller must be a metastore admin + * or the owner of the share. */ public GetSharePermissionsResponse sharePermissions(SharePermissionsRequest request) { return impl.sharePermissions(request); @@ -115,15 +102,13 @@ public ShareInfo update(String name) { } /** - * Update a share. - * - *

Updates the share with the changes and data objects in the request. The caller must be the + * Updates the share with the changes and data objects in the request. The caller must be the * owner of the share or a metastore admin. * *

When the caller is a metastore admin, only the __owner__ field can be updated. * - *

In the case that the share name is changed, **updateShare** requires that the caller is both - * the share owner and a metastore admin. + *

In the case the share name is changed, **updateShare** requires that the caller is the owner + * of the share and has the CREATE_SHARE privilege. * *

If there are notebook files in the share, the __storage_root__ field cannot be updated. * @@ -142,10 +127,8 @@ public UpdateSharePermissionsResponse updatePermissions(String name) { } /** - * Update permissions. - * - *

Updates the permissions for a data share in the metastore. The caller must be a metastore - * admin or an owner of the share. + * Updates the permissions for a data share in the metastore. The caller must be a metastore admin + * or an owner of the share. * *

For new recipient grants, the user must also be the recipient owner or metastore admin. * recipient revocations do not require additional privileges. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesService.java index bd8aabe0f..7efbc554c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesService.java @@ -16,56 +16,41 @@ @Generated public interface SharesService { /** - * Create a share. - * - *

Creates a new share for data objects. Data objects can be added after creation with - * **update**. The caller must be a metastore admin or have the **CREATE_SHARE** privilege on the - * metastore. + * Creates a new share for data objects. Data objects can be added after creation with **update**. + * The caller must be a metastore admin or have the **CREATE_SHARE** privilege on the metastore. */ ShareInfo create(CreateShare createShare); - /** - * Delete a share. - * - *

Deletes a data object share from the metastore. The caller must be an owner of the share. - */ + /** Deletes a data object share from the metastore. The caller must be an owner of the share. */ void delete(DeleteShareRequest deleteShareRequest); /** - * Get a share. - * - *

Gets a data object share from the metastore. The caller must be a metastore admin or the - * owner of the share. + * Gets a data object share from the metastore. The caller must be a metastore admin or the owner + * of the share. */ ShareInfo get(GetShareRequest getShareRequest); /** - * List shares. - * - *

Gets an array of data object shares from the metastore. The caller must be a metastore admin - * or the owner of the share. There is no guarantee of a specific ordering of the elements in the + * Gets an array of data object shares from the metastore. The caller must be a metastore admin or + * the owner of the share. There is no guarantee of a specific ordering of the elements in the * array. */ ListSharesResponse list(ListSharesRequest listSharesRequest); /** - * Get permissions. - * - *

Gets the permissions for a data share from the metastore. The caller must be a metastore - * admin or the owner of the share. + * Gets the permissions for a data share from the metastore. The caller must be a metastore admin + * or the owner of the share. */ GetSharePermissionsResponse sharePermissions(SharePermissionsRequest sharePermissionsRequest); /** - * Update a share. - * - *

Updates the share with the changes and data objects in the request. The caller must be the + * Updates the share with the changes and data objects in the request. The caller must be the * owner of the share or a metastore admin. * *

When the caller is a metastore admin, only the __owner__ field can be updated. * - *

In the case that the share name is changed, **updateShare** requires that the caller is both - * the share owner and a metastore admin. + *

In the case the share name is changed, **updateShare** requires that the caller is the owner + * of the share and has the CREATE_SHARE privilege. * *

If there are notebook files in the share, the __storage_root__ field cannot be updated. * @@ -78,10 +63,8 @@ public interface SharesService { ShareInfo update(UpdateShare updateShare); /** - * Update permissions. - * - *

Updates the permissions for a data share in the metastore. The caller must be a metastore - * admin or an owner of the share. + * Updates the permissions for a data share in the metastore. The caller must be a metastore admin + * or an owner of the share. * *

For new recipient grants, the user must also be the recipient owner or metastore admin. * recipient revocations do not require additional privileges. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/UpdateFederationPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/UpdateFederationPolicyRequest.java index d318fe872..75971d93e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/UpdateFederationPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/UpdateFederationPolicyRequest.java @@ -9,7 +9,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Update recipient federation policy */ @Generated public class UpdateFederationPolicyRequest { /** Name of the policy. This is the name of the current name of the policy. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsAPI.java index 8f77b7b94..7e22df0fb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsAPI.java @@ -29,11 +29,7 @@ public AlertsAPI(AlertsService mock) { impl = mock; } - /** - * Create an alert. - * - *

Creates an alert. - */ + /** Creates an alert. */ public Alert create(CreateAlertRequest request) { return impl.create(request); } @@ -43,11 +39,9 @@ public void delete(String id) { } /** - * Delete an alert. - * - *

Moves an alert to the trash. Trashed alerts immediately disappear from searches and list - * views, and can no longer trigger. You can restore a trashed alert through the UI. A trashed - * alert is permanently deleted after 30 days. + * Moves an alert to the trash. Trashed alerts immediately disappear from searches and list views, + * and can no longer trigger. You can restore a trashed alert through the UI. A trashed alert is + * permanently deleted after 30 days. */ public void delete(TrashAlertRequest request) { impl.delete(request); @@ -57,19 +51,13 @@ public Alert get(String id) { return get(new GetAlertRequest().setId(id)); } - /** - * Get an alert. - * - *

Gets an alert. - */ + /** Gets an alert. */ public Alert get(GetAlertRequest request) { return impl.get(request); } /** - * List alerts. - * - *

Gets a list of alerts accessible to the user, ordered by creation time. **Warning:** Calling + * Gets a list of alerts accessible to the user, ordered by creation time. **Warning:** Calling * this API concurrently 10 or more times could result in throttling, service degradation, or a * temporary ban. */ @@ -91,11 +79,7 @@ public Alert update(String id, String updateMask) { return update(new UpdateAlertRequest().setId(id).setUpdateMask(updateMask)); } - /** - * Update an alert. - * - *

Updates an alert. - */ + /** Updates an alert. */ public Alert update(UpdateAlertRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsLegacyAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsLegacyAPI.java index 3e4b85f2f..e15095640 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsLegacyAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsLegacyAPI.java @@ -38,11 +38,9 @@ public LegacyAlert create(String name, AlertOptions options, String queryId) { } /** - * Create an alert. - * - *

Creates an alert. An alert is a Databricks SQL object that periodically runs a query, - * evaluates a condition of its result, and notifies users or notification destinations if the - * condition was met. + * Creates an alert. An alert is a Databricks SQL object that periodically runs a query, evaluates + * a condition of its result, and notifies users or notification destinations if the condition was + * met. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:alerts/create instead. [Learn more] @@ -58,9 +56,7 @@ public void delete(String alertId) { } /** - * Delete an alert. - * - *

Deletes an alert. Deleted alerts are no longer accessible and cannot be restored. **Note**: + * Deletes an alert. Deleted alerts are no longer accessible and cannot be restored. **Note**: * Unlike queries and dashboards, alerts cannot be moved to the trash. * *

**Note**: A new version of the Databricks SQL API is now available. Please use @@ -77,9 +73,7 @@ public LegacyAlert get(String alertId) { } /** - * Get an alert. - * - *

Gets an alert. + * Gets an alert. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:alerts/get instead. [Learn more] @@ -91,9 +85,7 @@ public LegacyAlert get(GetAlertsLegacyRequest request) { } /** - * Get alerts. - * - *

Gets a list of alerts. + * Gets a list of alerts. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:alerts/list instead. [Learn more] @@ -110,9 +102,7 @@ public void update(String alertId, String name, AlertOptions options, String que } /** - * Update an alert. - * - *

Updates an alert. + * Updates an alert. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:alerts/update instead. [Learn more] diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsLegacyService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsLegacyService.java index ac0b1c554..d26c89c02 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsLegacyService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsLegacyService.java @@ -22,11 +22,9 @@ @Generated public interface AlertsLegacyService { /** - * Create an alert. - * - *

Creates an alert. An alert is a Databricks SQL object that periodically runs a query, - * evaluates a condition of its result, and notifies users or notification destinations if the - * condition was met. + * Creates an alert. An alert is a Databricks SQL object that periodically runs a query, evaluates + * a condition of its result, and notifies users or notification destinations if the condition was + * met. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:alerts/create instead. [Learn more] @@ -36,9 +34,7 @@ public interface AlertsLegacyService { LegacyAlert create(CreateAlert createAlert); /** - * Delete an alert. - * - *

Deletes an alert. Deleted alerts are no longer accessible and cannot be restored. **Note**: + * Deletes an alert. Deleted alerts are no longer accessible and cannot be restored. **Note**: * Unlike queries and dashboards, alerts cannot be moved to the trash. * *

**Note**: A new version of the Databricks SQL API is now available. Please use @@ -49,9 +45,7 @@ public interface AlertsLegacyService { void delete(DeleteAlertsLegacyRequest deleteAlertsLegacyRequest); /** - * Get an alert. - * - *

Gets an alert. + * Gets an alert. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:alerts/get instead. [Learn more] @@ -61,9 +55,7 @@ public interface AlertsLegacyService { LegacyAlert get(GetAlertsLegacyRequest getAlertsLegacyRequest); /** - * Get alerts. - * - *

Gets a list of alerts. + * Gets a list of alerts. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:alerts/list instead. [Learn more] @@ -73,9 +65,7 @@ public interface AlertsLegacyService { Collection list(); /** - * Update an alert. - * - *

Updates an alert. + * Updates an alert. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:alerts/update instead. [Learn more] diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsService.java index 9c20c2137..0ff794d3e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsService.java @@ -15,42 +15,26 @@ */ @Generated public interface AlertsService { - /** - * Create an alert. - * - *

Creates an alert. - */ + /** Creates an alert. */ Alert create(CreateAlertRequest createAlertRequest); /** - * Delete an alert. - * - *

Moves an alert to the trash. Trashed alerts immediately disappear from searches and list - * views, and can no longer trigger. You can restore a trashed alert through the UI. A trashed - * alert is permanently deleted after 30 days. + * Moves an alert to the trash. Trashed alerts immediately disappear from searches and list views, + * and can no longer trigger. You can restore a trashed alert through the UI. A trashed alert is + * permanently deleted after 30 days. */ void delete(TrashAlertRequest trashAlertRequest); - /** - * Get an alert. - * - *

Gets an alert. - */ + /** Gets an alert. */ Alert get(GetAlertRequest getAlertRequest); /** - * List alerts. - * - *

Gets a list of alerts accessible to the user, ordered by creation time. **Warning:** Calling + * Gets a list of alerts accessible to the user, ordered by creation time. **Warning:** Calling * this API concurrently 10 or more times could result in throttling, service degradation, or a * temporary ban. */ ListAlertsResponse list(ListAlertsRequest listAlertsRequest); - /** - * Update an alert. - * - *

Updates an alert. - */ + /** Updates an alert. */ Alert update(UpdateAlertRequest updateAlertRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsV2API.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsV2API.java index e868999eb..cd9b3c318 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsV2API.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsV2API.java @@ -28,11 +28,7 @@ public AlertV2 createAlert(AlertV2 alert) { return createAlert(new CreateAlertV2Request().setAlert(alert)); } - /** - * Create an alert. - * - *

Create Alert - */ + /** Create Alert */ public AlertV2 createAlert(CreateAlertV2Request request) { return impl.createAlert(request); } @@ -41,20 +37,12 @@ public AlertV2 getAlert(String id) { return getAlert(new GetAlertV2Request().setId(id)); } - /** - * Get an alert. - * - *

Gets an alert. - */ + /** Gets an alert. */ public AlertV2 getAlert(GetAlertV2Request request) { return impl.getAlert(request); } - /** - * List alerts. - * - *

Gets a list of alerts accessible to the user, ordered by creation time. - */ + /** Gets a list of alerts accessible to the user, ordered by creation time. */ public Iterable listAlerts(ListAlertsV2Request request) { return new Paginator<>( request, @@ -74,11 +62,9 @@ public void trashAlert(String id) { } /** - * Delete an alert. - * - *

Moves an alert to the trash. Trashed alerts immediately disappear from list views, and can - * no longer trigger. You can restore a trashed alert through the UI. A trashed alert is - * permanently deleted after 30 days. + * Moves an alert to the trash. Trashed alerts immediately disappear from list views, and can no + * longer trigger. You can restore a trashed alert through the UI. A trashed alert is permanently + * deleted after 30 days. */ public void trashAlert(TrashAlertV2Request request) { impl.trashAlert(request); @@ -89,11 +75,7 @@ public AlertV2 updateAlert(String id, AlertV2 alert, String updateMask) { new UpdateAlertV2Request().setId(id).setAlert(alert).setUpdateMask(updateMask)); } - /** - * Update an alert. - * - *

Update alert - */ + /** Update alert */ public AlertV2 updateAlert(UpdateAlertV2Request request) { return impl.updateAlert(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsV2Service.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsV2Service.java index cb9ec351a..65fb2d4cf 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsV2Service.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsV2Service.java @@ -12,40 +12,22 @@ */ @Generated public interface AlertsV2Service { - /** - * Create an alert. - * - *

Create Alert - */ + /** Create Alert */ AlertV2 createAlert(CreateAlertV2Request createAlertV2Request); - /** - * Get an alert. - * - *

Gets an alert. - */ + /** Gets an alert. */ AlertV2 getAlert(GetAlertV2Request getAlertV2Request); - /** - * List alerts. - * - *

Gets a list of alerts accessible to the user, ordered by creation time. - */ + /** Gets a list of alerts accessible to the user, ordered by creation time. */ ListAlertsV2Response listAlerts(ListAlertsV2Request listAlertsV2Request); /** - * Delete an alert. - * - *

Moves an alert to the trash. Trashed alerts immediately disappear from list views, and can - * no longer trigger. You can restore a trashed alert through the UI. A trashed alert is - * permanently deleted after 30 days. + * Moves an alert to the trash. Trashed alerts immediately disappear from list views, and can no + * longer trigger. You can restore a trashed alert through the UI. A trashed alert is permanently + * deleted after 30 days. */ void trashAlert(TrashAlertV2Request trashAlertV2Request); - /** - * Update an alert. - * - *

Update alert - */ + /** Update alert */ AlertV2 updateAlert(UpdateAlertV2Request updateAlertV2Request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CancelExecutionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CancelExecutionRequest.java index 3226a9fb7..e5703f512 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CancelExecutionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CancelExecutionRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Cancel statement execution */ @Generated public class CancelExecutionRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateAlertV2Request.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateAlertV2Request.java index 10b1698ab..e9dce84d6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateAlertV2Request.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateAlertV2Request.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Create an alert */ @Generated public class CreateAlertV2Request { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateWidget.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateWidget.java index 660f99c1d..0021c4c28 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateWidget.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateWidget.java @@ -4,7 +4,6 @@ import com.databricks.sdk.support.Generated; import com.databricks.sdk.support.ToStringer; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; @@ -14,9 +13,6 @@ public class CreateWidget { @JsonProperty("dashboard_id") private String dashboardId; - /** Widget ID returned by :method:dashboardwidgets/create */ - @JsonIgnore private String id; - /** */ @JsonProperty("options") private WidgetOptions options; @@ -45,15 +41,6 @@ public String getDashboardId() { return dashboardId; } - public CreateWidget setId(String id) { - this.id = id; - return this; - } - - public String getId() { - return id; - } - public CreateWidget setOptions(WidgetOptions options) { this.options = options; return this; @@ -96,7 +83,6 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) return false; CreateWidget that = (CreateWidget) o; return Objects.equals(dashboardId, that.dashboardId) - && Objects.equals(id, that.id) && Objects.equals(options, that.options) && Objects.equals(text, that.text) && Objects.equals(visualizationId, that.visualizationId) @@ -105,14 +91,13 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(dashboardId, id, options, text, visualizationId, width); + return Objects.hash(dashboardId, options, text, visualizationId, width); } @Override public String toString() { return new ToStringer(CreateWidget.class) .add("dashboardId", dashboardId) - .add("id", id) .add("options", options) .add("text", text) .add("visualizationId", visualizationId) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardWidgetsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardWidgetsAPI.java index 95d4875fe..eaafddcec 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardWidgetsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardWidgetsAPI.java @@ -31,7 +31,7 @@ public Widget create(String dashboardId, WidgetOptions options, long width) { new CreateWidget().setDashboardId(dashboardId).setOptions(options).setWidth(width)); } - /** Add widget to a dashboard. */ + /** Adds a widget to a dashboard */ public Widget create(CreateWidget request) { return impl.create(request); } @@ -40,22 +40,22 @@ public void delete(String id) { delete(new DeleteDashboardWidgetRequest().setId(id)); } - /** Remove widget. */ + /** Removes a widget from a dashboard */ public void delete(DeleteDashboardWidgetRequest request) { impl.delete(request); } public Widget update(String id, String dashboardId, WidgetOptions options, long width) { return update( - new CreateWidget() + new UpdateWidgetRequest() .setId(id) .setDashboardId(dashboardId) .setOptions(options) .setWidth(width)); } - /** Update existing widget. */ - public Widget update(CreateWidget request) { + /** Updates an existing widget */ + public Widget update(UpdateWidgetRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardWidgetsImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardWidgetsImpl.java index 55287384f..2a4e3438d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardWidgetsImpl.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardWidgetsImpl.java @@ -44,7 +44,7 @@ public void delete(DeleteDashboardWidgetRequest request) { } @Override - public Widget update(CreateWidget request) { + public Widget update(UpdateWidgetRequest request) { String path = String.format("/api/2.0/preview/sql/widgets/%s", request.getId()); try { Request req = new Request("POST", path, apiClient.serialize(request)); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardWidgetsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardWidgetsService.java index 354953e58..5ffc755b1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardWidgetsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardWidgetsService.java @@ -13,12 +13,12 @@ */ @Generated public interface DashboardWidgetsService { - /** Add widget to a dashboard. */ + /** Adds a widget to a dashboard */ Widget create(CreateWidget createWidget); - /** Remove widget. */ + /** Removes a widget from a dashboard */ void delete(DeleteDashboardWidgetRequest deleteDashboardWidgetRequest); - /** Update existing widget. */ - Widget update(CreateWidget createWidget); + /** Updates an existing widget */ + Widget update(UpdateWidgetRequest updateWidgetRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardsAPI.java index bbea13537..b69185309 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardsAPI.java @@ -34,7 +34,11 @@ public Dashboard create(String name) { return create(new DashboardPostContent().setName(name)); } - /** Create a dashboard object. */ + /** + * Creates a new dashboard object. Only the name parameter is required in the POST request JSON + * body. Other fields can be included when duplicating dashboards with this API. Databricks does + * not recommend designing dashboards exclusively using this API.', + */ public Dashboard create(DashboardPostContent request) { return impl.create(request); } @@ -44,10 +48,8 @@ public void delete(String dashboardId) { } /** - * Remove a dashboard. - * - *

Moves a dashboard to the trash. Trashed dashboards do not appear in list views or searches, - * and cannot be shared. + * Moves a dashboard to the trash. Trashed dashboards do not appear in list views or searches, and + * cannot be shared. */ public void delete(DeleteDashboardRequest request) { impl.delete(request); @@ -58,9 +60,7 @@ public Dashboard get(String dashboardId) { } /** - * Retrieve a definition. - * - *

Returns a JSON representation of a dashboard object, including its visualization and query + * Returns a JSON representation of a dashboard object, including its visualization and query * objects. */ public Dashboard get(GetDashboardRequest request) { @@ -68,9 +68,7 @@ public Dashboard get(GetDashboardRequest request) { } /** - * Get dashboard objects. - * - *

Fetch a paginated list of dashboard objects. + * Fetch a paginated list of dashboard objects. * *

**Warning**: Calling this API concurrently 10 or more times could result in throttling, * service degradation, or a temporary ban. @@ -78,28 +76,23 @@ public Dashboard get(GetDashboardRequest request) { public Iterable list(ListDashboardsRequest request) { request.setPage(1L); return new Paginator<>( - request, - impl::list, - ListResponse::getResults, - response -> { - Long page = request.getPage(); - if (page == null) { - page = 1L; // redash uses 1-based pagination - } - return request.setPage(page + 1L); - }) - .withDedupe(Dashboard::getId); + request, + impl::list, + ListResponse::getResults, + response -> { + Long page = request.getPage(); + if (page == null) { + page = 1L; // redash uses 1-based pagination + } + return request.setPage(page + 1L); + }); } public void restore(String dashboardId) { restore(new RestoreDashboardRequest().setDashboardId(dashboardId)); } - /** - * Restore a dashboard. - * - *

A restored dashboard appears in list views and searches and can be shared. - */ + /** A restored dashboard appears in list views and searches and can be shared. */ public void restore(RestoreDashboardRequest request) { impl.restore(request); } @@ -109,9 +102,7 @@ public Dashboard update(String dashboardId) { } /** - * Change a dashboard definition. - * - *

Modify this dashboard definition. This operation only affects attributes of the dashboard + * Modify this dashboard definition. This operation only affects attributes of the dashboard * object. It does not add, modify, or remove widgets. * *

**Note**: You cannot undo this operation. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardsService.java index 8608d16b0..0a7f64249 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardsService.java @@ -16,46 +16,38 @@ */ @Generated public interface DashboardsService { - /** Create a dashboard object. */ + /** + * Creates a new dashboard object. Only the name parameter is required in the POST request JSON + * body. Other fields can be included when duplicating dashboards with this API. Databricks does + * not recommend designing dashboards exclusively using this API.', + */ Dashboard create(DashboardPostContent dashboardPostContent); /** - * Remove a dashboard. - * - *

Moves a dashboard to the trash. Trashed dashboards do not appear in list views or searches, - * and cannot be shared. + * Moves a dashboard to the trash. Trashed dashboards do not appear in list views or searches, and + * cannot be shared. */ void delete(DeleteDashboardRequest deleteDashboardRequest); /** - * Retrieve a definition. - * - *

Returns a JSON representation of a dashboard object, including its visualization and query + * Returns a JSON representation of a dashboard object, including its visualization and query * objects. */ Dashboard get(GetDashboardRequest getDashboardRequest); /** - * Get dashboard objects. - * - *

Fetch a paginated list of dashboard objects. + * Fetch a paginated list of dashboard objects. * *

**Warning**: Calling this API concurrently 10 or more times could result in throttling, * service degradation, or a temporary ban. */ ListResponse list(ListDashboardsRequest listDashboardsRequest); - /** - * Restore a dashboard. - * - *

A restored dashboard appears in list views and searches and can be shared. - */ + /** A restored dashboard appears in list views and searches and can be shared. */ void restore(RestoreDashboardRequest restoreDashboardRequest); /** - * Change a dashboard definition. - * - *

Modify this dashboard definition. This operation only affects attributes of the dashboard + * Modify this dashboard definition. This operation only affects attributes of the dashboard * object. It does not add, modify, or remove widgets. * *

**Note**: You cannot undo this operation. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSourcesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSourcesAPI.java index 1be8f53fa..67d4db06b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSourcesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSourcesAPI.java @@ -37,11 +37,9 @@ public DataSourcesAPI(DataSourcesService mock) { } /** - * Get a list of SQL warehouses. - * - *

Retrieves a full list of SQL warehouses available in this workspace. All fields that appear - * in this API response are enumerated for clarity. However, you need only a SQL warehouse's `id` - * to create new queries against it. + * Retrieves a full list of SQL warehouses available in this workspace. All fields that appear in + * this API response are enumerated for clarity. However, you need only a SQL warehouse's `id` to + * create new queries against it. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:warehouses/list instead. [Learn more] diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSourcesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSourcesService.java index 95cadf809..0424b25b8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSourcesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSourcesService.java @@ -25,11 +25,9 @@ @Generated public interface DataSourcesService { /** - * Get a list of SQL warehouses. - * - *

Retrieves a full list of SQL warehouses available in this workspace. All fields that appear - * in this API response are enumerated for clarity. However, you need only a SQL warehouse's `id` - * to create new queries against it. + * Retrieves a full list of SQL warehouses available in this workspace. All fields that appear in + * this API response are enumerated for clarity. However, you need only a SQL warehouse's `id` to + * create new queries against it. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:warehouses/list instead. [Learn more] diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DbsqlPermissionsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DbsqlPermissionsAPI.java index 10c864e7e..d18742707 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DbsqlPermissionsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DbsqlPermissionsAPI.java @@ -45,9 +45,7 @@ public GetResponse get(ObjectTypePlural objectType, String objectId) { } /** - * Get object ACL. - * - *

Gets a JSON representation of the access control list (ACL) for a specified object. + * Gets a JSON representation of the access control list (ACL) for a specified object. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:workspace/getpermissions instead. [Learn more] @@ -63,10 +61,8 @@ public SetResponse set(ObjectTypePlural objectType, String objectId) { } /** - * Set object ACL. - * - *

Sets the access control list (ACL) for a specified object. This operation will complete - * rewrite the ACL. + * Sets the access control list (ACL) for a specified object. This operation will complete rewrite + * the ACL. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:workspace/setpermissions instead. [Learn more] @@ -84,9 +80,7 @@ public Success transferOwnership( } /** - * Transfer object ownership. - * - *

Transfers ownership of a dashboard, query, or alert to an active user. Requires an admin API + * Transfers ownership of a dashboard, query, or alert to an active user. Requires an admin API * key. * *

**Note**: A new version of the Databricks SQL API is now available. For queries and alerts, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DbsqlPermissionsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DbsqlPermissionsService.java index 255f5e4b2..3a0fd5e9f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DbsqlPermissionsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DbsqlPermissionsService.java @@ -28,9 +28,7 @@ @Generated public interface DbsqlPermissionsService { /** - * Get object ACL. - * - *

Gets a JSON representation of the access control list (ACL) for a specified object. + * Gets a JSON representation of the access control list (ACL) for a specified object. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:workspace/getpermissions instead. [Learn more] @@ -40,10 +38,8 @@ public interface DbsqlPermissionsService { GetResponse get(GetDbsqlPermissionRequest getDbsqlPermissionRequest); /** - * Set object ACL. - * - *

Sets the access control list (ACL) for a specified object. This operation will complete - * rewrite the ACL. + * Sets the access control list (ACL) for a specified object. This operation will complete rewrite + * the ACL. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:workspace/setpermissions instead. [Learn more] @@ -53,9 +49,7 @@ public interface DbsqlPermissionsService { SetResponse set(SetRequest setRequest); /** - * Transfer object ownership. - * - *

Transfers ownership of a dashboard, query, or alert to an active user. Requires an admin API + * Transfers ownership of a dashboard, query, or alert to an active user. Requires an admin API * key. * *

**Note**: A new version of the Databricks SQL API is now available. For queries and alerts, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteAlertsLegacyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteAlertsLegacyRequest.java index 7a6613aff..33bfb8c01 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteAlertsLegacyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteAlertsLegacyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete an alert */ @Generated public class DeleteAlertsLegacyRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteDashboardRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteDashboardRequest.java index d58ac278b..10b216e12 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteDashboardRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteDashboardRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Remove a dashboard */ @Generated public class DeleteDashboardRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteDashboardWidgetRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteDashboardWidgetRequest.java index 83ae374d7..3a499eb38 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteDashboardWidgetRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteDashboardWidgetRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Remove widget */ @Generated public class DeleteDashboardWidgetRequest { /** Widget ID returned by :method:dashboardwidgets/create */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteQueriesLegacyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteQueriesLegacyRequest.java index 5d73085bb..234ed4517 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteQueriesLegacyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteQueriesLegacyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a query */ @Generated public class DeleteQueriesLegacyRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteQueryVisualizationsLegacyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteQueryVisualizationsLegacyRequest.java index 9607c7066..4310807ba 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteQueryVisualizationsLegacyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteQueryVisualizationsLegacyRequest.java @@ -7,10 +7,9 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Remove visualization */ @Generated public class DeleteQueryVisualizationsLegacyRequest { - /** Widget ID returned by :method:queryvizualisations/create */ + /** Widget ID returned by :method:queryvisualizations/create */ @JsonIgnore private String id; public DeleteQueryVisualizationsLegacyRequest setId(String id) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteVisualizationRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteVisualizationRequest.java index f8d7fa8ac..8490f6a7c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteVisualizationRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteVisualizationRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Remove a visualization */ @Generated public class DeleteVisualizationRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteWarehouseRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteWarehouseRequest.java index c3f6a1d61..f08d85d64 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteWarehouseRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DeleteWarehouseRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a warehouse */ @Generated public class DeleteWarehouseRequest { /** Required. Id of the SQL warehouse. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ExecuteStatementRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ExecuteStatementRequest.java index de8ea5aec..cc6231890 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ExecuteStatementRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ExecuteStatementRequest.java @@ -132,6 +132,7 @@ public class ExecuteStatementRequest { /** * The SQL statement to execute. The statement can optionally be parameterized, see `parameters`. + * The maximum query text size is 16 MiB. */ @JsonProperty("statement") private String statement; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetAlertRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetAlertRequest.java index 2686c8252..6d0485738 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetAlertRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetAlertRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get an alert */ @Generated public class GetAlertRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetAlertV2Request.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetAlertV2Request.java index b5c4f94f8..ed17fed9b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetAlertV2Request.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetAlertV2Request.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get an alert */ @Generated public class GetAlertV2Request { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetAlertsLegacyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetAlertsLegacyRequest.java index a9651407e..491c317d5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetAlertsLegacyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetAlertsLegacyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get an alert */ @Generated public class GetAlertsLegacyRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetDashboardRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetDashboardRequest.java index d1b95ad82..50737a370 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetDashboardRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetDashboardRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Retrieve a definition */ @Generated public class GetDashboardRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetDbsqlPermissionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetDbsqlPermissionRequest.java index c667495c9..6a0e33377 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetDbsqlPermissionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetDbsqlPermissionRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get object ACL */ @Generated public class GetDbsqlPermissionRequest { /** Object ID. An ACL is returned for the object with this UUID. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetQueriesLegacyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetQueriesLegacyRequest.java index ee55a591e..afbdf40d6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetQueriesLegacyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetQueriesLegacyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a query definition. */ @Generated public class GetQueriesLegacyRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetQueryRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetQueryRequest.java index 57203d90c..cb97eae2e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetQueryRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetQueryRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a query */ @Generated public class GetQueryRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetStatementRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetStatementRequest.java index dee9724be..fcfb0bf45 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetStatementRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetStatementRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get status, manifest, and result first chunk */ @Generated public class GetStatementRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetStatementResultChunkNRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetStatementResultChunkNRequest.java index bebbc06b7..64829aa0e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetStatementResultChunkNRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetStatementResultChunkNRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get result chunk by index */ @Generated public class GetStatementResultChunkNRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehousePermissionLevelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehousePermissionLevelsRequest.java index 6e88fc62c..4cb281cb3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehousePermissionLevelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehousePermissionLevelsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get SQL warehouse permission levels */ @Generated public class GetWarehousePermissionLevelsRequest { /** The SQL warehouse for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehousePermissionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehousePermissionsRequest.java index e5973ba12..5329eb811 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehousePermissionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehousePermissionsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get SQL warehouse permissions */ @Generated public class GetWarehousePermissionsRequest { /** The SQL warehouse for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehouseRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehouseRequest.java index b37f5204c..7bb66c3db 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehouseRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehouseRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get warehouse info */ @Generated public class GetWarehouseRequest { /** Required. Id of the SQL warehouse. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/LegacyAlertState.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/LegacyAlertState.java index 6b5a70900..b31d47530 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/LegacyAlertState.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/LegacyAlertState.java @@ -5,10 +5,6 @@ import com.databricks.sdk.support.Generated; import com.fasterxml.jackson.annotation.JsonProperty; -/** - * State of the alert. Possible values are: `unknown` (yet to be evaluated), `triggered` (evaluated - * and fulfilled trigger conditions), or `ok` (evaluated and did not fulfill trigger conditions). - */ @Generated public enum LegacyAlertState { @JsonProperty("ok") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListAlertsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListAlertsRequest.java index f5784da65..dd2623548 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListAlertsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListAlertsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List alerts */ @Generated public class ListAlertsRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListAlertsV2Request.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListAlertsV2Request.java index dc51f962e..ffc520a1d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListAlertsV2Request.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListAlertsV2Request.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List alerts */ @Generated public class ListAlertsV2Request { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListDashboardsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListDashboardsRequest.java index 9ec702ba6..1b8be88b7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListDashboardsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListDashboardsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get dashboard objects */ @Generated public class ListDashboardsRequest { /** Name of dashboard attribute to order by. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueriesLegacyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueriesLegacyRequest.java index ef5047cc8..37647f303 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueriesLegacyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueriesLegacyRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a list of queries */ @Generated public class ListQueriesLegacyRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueriesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueriesRequest.java index e70416db7..47d3f64ec 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueriesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueriesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List queries */ @Generated public class ListQueriesRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueryHistoryRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueryHistoryRequest.java index bceedcdcc..8c0e7286d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueryHistoryRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueryHistoryRequest.java @@ -8,10 +8,13 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List Queries */ @Generated public class ListQueryHistoryRequest { - /** A filter to limit query history results. This field is optional. */ + /** + * An optional filter object to limit query history results. Accepts parameters such as user IDs, + * endpoint IDs, and statuses to narrow the returned data. In a URL, the parameters of this filter + * are specified with dot notation. For example: `filter_by.statement_ids`. + */ @JsonIgnore @QueryParam("filter_by") private QueryFilter filterBy; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListVisualizationsForQueryRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListVisualizationsForQueryRequest.java index 335426cf4..e490e2be6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListVisualizationsForQueryRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListVisualizationsForQueryRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List visualizations on a query */ @Generated public class ListVisualizationsForQueryRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListWarehousesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListWarehousesRequest.java index ae65d07db..157451774 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListWarehousesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListWarehousesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List warehouses */ @Generated public class ListWarehousesRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/OwnableObjectType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/OwnableObjectType.java index aa5eb6bfb..8348f8bfa 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/OwnableObjectType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/OwnableObjectType.java @@ -5,7 +5,6 @@ import com.databricks.sdk.support.Generated; import com.fasterxml.jackson.annotation.JsonProperty; -/** The singular form of the type of object which can be owned. */ @Generated public enum OwnableObjectType { @JsonProperty("alert") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ParameterType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ParameterType.java index 5b11b2d9f..31815c0bb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ParameterType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ParameterType.java @@ -5,7 +5,6 @@ import com.databricks.sdk.support.Generated; import com.fasterxml.jackson.annotation.JsonProperty; -/** Parameters can have several different types. */ @Generated public enum ParameterType { @JsonProperty("datetime") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesAPI.java index 4de05140b..b94350e71 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesAPI.java @@ -29,11 +29,7 @@ public QueriesAPI(QueriesService mock) { impl = mock; } - /** - * Create a query. - * - *

Creates a query. - */ + /** Creates a query. */ public Query create(CreateQueryRequest request) { return impl.create(request); } @@ -43,11 +39,9 @@ public void delete(String id) { } /** - * Delete a query. - * - *

Moves a query to the trash. Trashed queries immediately disappear from searches and list - * views, and cannot be used for alerts. You can restore a trashed query through the UI. A trashed - * query is permanently deleted after 30 days. + * Moves a query to the trash. Trashed queries immediately disappear from searches and list views, + * and cannot be used for alerts. You can restore a trashed query through the UI. A trashed query + * is permanently deleted after 30 days. */ public void delete(TrashQueryRequest request) { impl.delete(request); @@ -57,21 +51,15 @@ public Query get(String id) { return get(new GetQueryRequest().setId(id)); } - /** - * Get a query. - * - *

Gets a query. - */ + /** Gets a query. */ public Query get(GetQueryRequest request) { return impl.get(request); } /** - * List queries. - * - *

Gets a list of queries accessible to the user, ordered by creation time. **Warning:** - * Calling this API concurrently 10 or more times could result in throttling, service degradation, - * or a temporary ban. + * Gets a list of queries accessible to the user, ordered by creation time. **Warning:** Calling + * this API concurrently 10 or more times could result in throttling, service degradation, or a + * temporary ban. */ public Iterable list(ListQueriesRequest request) { return new Paginator<>( @@ -91,11 +79,7 @@ public Iterable listVisualizations(String id) { return listVisualizations(new ListVisualizationsForQueryRequest().setId(id)); } - /** - * List visualizations on a query. - * - *

Gets a list of visualizations on a query. - */ + /** Gets a list of visualizations on a query. */ public Iterable listVisualizations(ListVisualizationsForQueryRequest request) { return new Paginator<>( request, @@ -114,11 +98,7 @@ public Query update(String id, String updateMask) { return update(new UpdateQueryRequest().setId(id).setUpdateMask(updateMask)); } - /** - * Update a query. - * - *

Updates a query. - */ + /** Updates a query. */ public Query update(UpdateQueryRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesLegacyAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesLegacyAPI.java index e5340c40a..3456972dc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesLegacyAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesLegacyAPI.java @@ -34,10 +34,8 @@ public QueriesLegacyAPI(QueriesLegacyService mock) { } /** - * Create a new query definition. - * - *

Creates a new query definition. Queries created with this endpoint belong to the - * authenticated user making the request. + * Creates a new query definition. Queries created with this endpoint belong to the authenticated + * user making the request. * *

The `data_source_id` field specifies the ID of the SQL warehouse to run this query against. * You can use the Data Sources API to see a complete list of available SQL warehouses. Or you can @@ -59,10 +57,8 @@ public void delete(String queryId) { } /** - * Delete a query. - * - *

Moves a query to the trash. Trashed queries immediately disappear from searches and list - * views, and they cannot be used for alerts. The trash is deleted after 30 days. + * Moves a query to the trash. Trashed queries immediately disappear from searches and list views, + * and they cannot be used for alerts. The trash is deleted after 30 days. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:queries/delete instead. [Learn more] @@ -78,9 +74,7 @@ public LegacyQuery get(String queryId) { } /** - * Get a query definition. - * - *

Retrieve a query object definition along with contextual permissions information about the + * Retrieve a query object definition along with contextual permissions information about the * currently authenticated user. * *

**Note**: A new version of the Databricks SQL API is now available. Please use @@ -93,9 +87,7 @@ public LegacyQuery get(GetQueriesLegacyRequest request) { } /** - * Get a list of queries. - * - *

Gets a list of queries. Optionally, this list can be filtered by a search term. + * Gets a list of queries. Optionally, this list can be filtered by a search term. * *

**Warning**: Calling this API concurrently 10 or more times could result in throttling, * service degradation, or a temporary ban. @@ -108,17 +100,16 @@ public LegacyQuery get(GetQueriesLegacyRequest request) { public Iterable list(ListQueriesLegacyRequest request) { request.setPage(1L); return new Paginator<>( - request, - impl::list, - QueryList::getResults, - response -> { - Long page = request.getPage(); - if (page == null) { - page = 1L; // redash uses 1-based pagination - } - return request.setPage(page + 1L); - }) - .withDedupe(LegacyQuery::getId); + request, + impl::list, + QueryList::getResults, + response -> { + Long page = request.getPage(); + if (page == null) { + page = 1L; // redash uses 1-based pagination + } + return request.setPage(page + 1L); + }); } public void restore(String queryId) { @@ -126,9 +117,7 @@ public void restore(String queryId) { } /** - * Restore a query. - * - *

Restore a query that has been moved to the trash. A restored query appears in list views and + * Restore a query that has been moved to the trash. A restored query appears in list views and * searches. You can use restored queries for alerts. * *

**Note**: A new version of the Databricks SQL API is now available. Please see the latest @@ -145,9 +134,7 @@ public LegacyQuery update(String queryId) { } /** - * Change a query definition. - * - *

Modify this query definition. + * Modify this query definition. * *

**Note**: You cannot undo this operation. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesLegacyService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesLegacyService.java index 40c1761ba..7faf564f5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesLegacyService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesLegacyService.java @@ -20,10 +20,8 @@ @Generated public interface QueriesLegacyService { /** - * Create a new query definition. - * - *

Creates a new query definition. Queries created with this endpoint belong to the - * authenticated user making the request. + * Creates a new query definition. Queries created with this endpoint belong to the authenticated + * user making the request. * *

The `data_source_id` field specifies the ID of the SQL warehouse to run this query against. * You can use the Data Sources API to see a complete list of available SQL warehouses. Or you can @@ -39,10 +37,8 @@ public interface QueriesLegacyService { LegacyQuery create(QueryPostContent queryPostContent); /** - * Delete a query. - * - *

Moves a query to the trash. Trashed queries immediately disappear from searches and list - * views, and they cannot be used for alerts. The trash is deleted after 30 days. + * Moves a query to the trash. Trashed queries immediately disappear from searches and list views, + * and they cannot be used for alerts. The trash is deleted after 30 days. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:queries/delete instead. [Learn more] @@ -52,9 +48,7 @@ public interface QueriesLegacyService { void delete(DeleteQueriesLegacyRequest deleteQueriesLegacyRequest); /** - * Get a query definition. - * - *

Retrieve a query object definition along with contextual permissions information about the + * Retrieve a query object definition along with contextual permissions information about the * currently authenticated user. * *

**Note**: A new version of the Databricks SQL API is now available. Please use @@ -65,9 +59,7 @@ public interface QueriesLegacyService { LegacyQuery get(GetQueriesLegacyRequest getQueriesLegacyRequest); /** - * Get a list of queries. - * - *

Gets a list of queries. Optionally, this list can be filtered by a search term. + * Gets a list of queries. Optionally, this list can be filtered by a search term. * *

**Warning**: Calling this API concurrently 10 or more times could result in throttling, * service degradation, or a temporary ban. @@ -80,9 +72,7 @@ public interface QueriesLegacyService { QueryList list(ListQueriesLegacyRequest listQueriesLegacyRequest); /** - * Restore a query. - * - *

Restore a query that has been moved to the trash. A restored query appears in list views and + * Restore a query that has been moved to the trash. A restored query appears in list views and * searches. You can use restored queries for alerts. * *

**Note**: A new version of the Databricks SQL API is now available. Please see the latest @@ -93,9 +83,7 @@ public interface QueriesLegacyService { void restore(RestoreQueriesLegacyRequest restoreQueriesLegacyRequest); /** - * Change a query definition. - * - *

Modify this query definition. + * Modify this query definition. * *

**Note**: You cannot undo this operation. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesService.java index c3ccebd1f..7e2bb0b9b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesService.java @@ -15,50 +15,30 @@ */ @Generated public interface QueriesService { - /** - * Create a query. - * - *

Creates a query. - */ + /** Creates a query. */ Query create(CreateQueryRequest createQueryRequest); /** - * Delete a query. - * - *

Moves a query to the trash. Trashed queries immediately disappear from searches and list - * views, and cannot be used for alerts. You can restore a trashed query through the UI. A trashed - * query is permanently deleted after 30 days. + * Moves a query to the trash. Trashed queries immediately disappear from searches and list views, + * and cannot be used for alerts. You can restore a trashed query through the UI. A trashed query + * is permanently deleted after 30 days. */ void delete(TrashQueryRequest trashQueryRequest); - /** - * Get a query. - * - *

Gets a query. - */ + /** Gets a query. */ Query get(GetQueryRequest getQueryRequest); /** - * List queries. - * - *

Gets a list of queries accessible to the user, ordered by creation time. **Warning:** - * Calling this API concurrently 10 or more times could result in throttling, service degradation, - * or a temporary ban. + * Gets a list of queries accessible to the user, ordered by creation time. **Warning:** Calling + * this API concurrently 10 or more times could result in throttling, service degradation, or a + * temporary ban. */ ListQueryObjectsResponse list(ListQueriesRequest listQueriesRequest); - /** - * List visualizations on a query. - * - *

Gets a list of visualizations on a query. - */ + /** Gets a list of visualizations on a query. */ ListVisualizationsForQueryResponse listVisualizations( ListVisualizationsForQueryRequest listVisualizationsForQueryRequest); - /** - * Update a query. - * - *

Updates a query. - */ + /** Updates a query. */ Query update(UpdateQueryRequest updateQueryRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryFilter.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryFilter.java index 6299765ff..4ea2e39e3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryFilter.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryFilter.java @@ -11,7 +11,9 @@ @Generated public class QueryFilter { - /** A range filter for query submitted time. The time range must be <= 30 days. */ + /** + * A range filter for query submitted time. The time range must be less than or equal to 30 days. + */ @JsonProperty("query_start_time_range") @QueryParam("query_start_time_range") private TimeRange queryStartTimeRange; @@ -21,7 +23,12 @@ public class QueryFilter { @QueryParam("statement_ids") private Collection statementIds; - /** */ + /** + * A list of statuses (QUEUED, RUNNING, CANCELED, FAILED, FINISHED) to match query results. + * Corresponds to the `status` field in the response. Filtering for multiple statuses is not + * recommended. Instead, opt to filter by a single status multiple times and then combine the + * results. + */ @JsonProperty("statuses") @QueryParam("statuses") private Collection statuses; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryHistoryAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryHistoryAPI.java index dc7849462..c66cbde20 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryHistoryAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryHistoryAPI.java @@ -27,9 +27,7 @@ public QueryHistoryAPI(QueryHistoryService mock) { } /** - * List Queries. - * - *

List the history of queries through SQL warehouses, and serverless compute. + * List the history of queries through SQL warehouses, and serverless compute. * *

You can filter by user ID, warehouse ID, status, and time range. Most recently started * queries are returned first (up to max_results in request). The pagination token returned in diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryHistoryService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryHistoryService.java index 4d5c1ca63..f49075702 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryHistoryService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryHistoryService.java @@ -14,9 +14,7 @@ @Generated public interface QueryHistoryService { /** - * List Queries. - * - *

List the history of queries through SQL warehouses, and serverless compute. + * List the history of queries through SQL warehouses, and serverless compute. * *

You can filter by user ID, warehouse ID, status, and time range. Most recently started * queries are returned first (up to max_results in request). The pagination token returned in diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryInfo.java index da10c9e75..2d4d351bc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryInfo.java @@ -21,7 +21,11 @@ public class QueryInfo { @JsonProperty("client_application") private String clientApplication; - /** Total execution time of the statement ( excluding result fetch time ). */ + /** + * Total time of the statement execution. This value does not include the time taken to retrieve + * the results, which can result in a discrepancy between this value and the start-to-finish + * wall-clock time. + */ @JsonProperty("duration") private Long duration; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsAPI.java index ff7c57951..e57db15c3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsAPI.java @@ -26,11 +26,7 @@ public QueryVisualizationsAPI(QueryVisualizationsService mock) { impl = mock; } - /** - * Add a visualization to a query. - * - *

Adds a visualization to a query. - */ + /** Adds a visualization to a query. */ public Visualization create(CreateVisualizationRequest request) { return impl.create(request); } @@ -39,11 +35,7 @@ public void delete(String id) { delete(new DeleteVisualizationRequest().setId(id)); } - /** - * Remove a visualization. - * - *

Removes a visualization. - */ + /** Removes a visualization. */ public void delete(DeleteVisualizationRequest request) { impl.delete(request); } @@ -52,11 +44,7 @@ public Visualization update(String id, String updateMask) { return update(new UpdateVisualizationRequest().setId(id).setUpdateMask(updateMask)); } - /** - * Update a visualization. - * - *

Updates a visualization. - */ + /** Updates a visualization. */ public Visualization update(UpdateVisualizationRequest request) { return impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsLegacyAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsLegacyAPI.java index 492d9bcc7..059bf0f69 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsLegacyAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsLegacyAPI.java @@ -31,18 +31,16 @@ public QueryVisualizationsLegacyAPI(QueryVisualizationsLegacyService mock) { impl = mock; } - public LegacyVisualization create(String queryId, String typeValue, Object options) { + public LegacyVisualization create(Object options, String queryId, String typeValue) { return create( new CreateQueryVisualizationsLegacyRequest() + .setOptions(options) .setQueryId(queryId) - .setType(typeValue) - .setOptions(options)); + .setType(typeValue)); } /** - * Add visualization to a query. - * - *

Creates visualization in the query. + * Creates visualization in the query. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:queryvisualizations/create instead. [Learn more] @@ -58,9 +56,7 @@ public void delete(String id) { } /** - * Remove visualization. - * - *

Removes a visualization from the query. + * Removes a visualization from the query. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:queryvisualizations/delete instead. [Learn more] @@ -76,9 +72,7 @@ public LegacyVisualization update(String id) { } /** - * Edit existing visualization. - * - *

Updates visualization in the query. + * Updates visualization in the query. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:queryvisualizations/update instead. [Learn more] diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsLegacyService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsLegacyService.java index 39ffa9cdd..1f95628d4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsLegacyService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsLegacyService.java @@ -19,9 +19,7 @@ @Generated public interface QueryVisualizationsLegacyService { /** - * Add visualization to a query. - * - *

Creates visualization in the query. + * Creates visualization in the query. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:queryvisualizations/create instead. [Learn more] @@ -32,9 +30,7 @@ LegacyVisualization create( CreateQueryVisualizationsLegacyRequest createQueryVisualizationsLegacyRequest); /** - * Remove visualization. - * - *

Removes a visualization from the query. + * Removes a visualization from the query. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:queryvisualizations/delete instead. [Learn more] @@ -44,9 +40,7 @@ LegacyVisualization create( void delete(DeleteQueryVisualizationsLegacyRequest deleteQueryVisualizationsLegacyRequest); /** - * Edit existing visualization. - * - *

Updates visualization in the query. + * Updates visualization in the query. * *

**Note**: A new version of the Databricks SQL API is now available. Please use * :method:queryvisualizations/update instead. [Learn more] diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsService.java index 6d3ed78cc..46ced393e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsService.java @@ -13,24 +13,12 @@ */ @Generated public interface QueryVisualizationsService { - /** - * Add a visualization to a query. - * - *

Adds a visualization to a query. - */ + /** Adds a visualization to a query. */ Visualization create(CreateVisualizationRequest createVisualizationRequest); - /** - * Remove a visualization. - * - *

Removes a visualization. - */ + /** Removes a visualization. */ void delete(DeleteVisualizationRequest deleteVisualizationRequest); - /** - * Update a visualization. - * - *

Updates a visualization. - */ + /** Updates a visualization. */ Visualization update(UpdateVisualizationRequest updateVisualizationRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/RestoreDashboardRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/RestoreDashboardRequest.java index 0110209a3..da889e97f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/RestoreDashboardRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/RestoreDashboardRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Restore a dashboard */ @Generated public class RestoreDashboardRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/RestoreQueriesLegacyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/RestoreQueriesLegacyRequest.java index 85d6623ea..cbd071f90 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/RestoreQueriesLegacyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/RestoreQueriesLegacyRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Restore a query */ @Generated public class RestoreQueriesLegacyRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/RunAsRole.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/RunAsRole.java index c52c5432f..34c904240 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/RunAsRole.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/RunAsRole.java @@ -5,10 +5,6 @@ import com.databricks.sdk.support.Generated; import com.fasterxml.jackson.annotation.JsonProperty; -/** - * Sets the **Run as** role for the object. Must be set to one of `"viewer"` (signifying "run as - * viewer" behavior) or `"owner"` (signifying "run as owner" behavior) - */ @Generated public enum RunAsRole { @JsonProperty("owner") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StartRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StartRequest.java index 15ea041b0..efaa83e4d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StartRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StartRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Start a warehouse */ @Generated public class StartRequest { /** Required. Id of the SQL warehouse. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementExecutionAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementExecutionAPI.java index 8d25fa978..22ece030c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementExecutionAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementExecutionAPI.java @@ -117,9 +117,7 @@ public void cancelExecution(String statementId) { } /** - * Cancel statement execution. - * - *

Requests that an executing statement be canceled. Callers must poll for status to see the + * Requests that an executing statement be canceled. Callers must poll for status to see the * terminal state. */ public void cancelExecution(CancelExecutionRequest request) { @@ -131,7 +129,7 @@ public StatementResponse executeStatement(String statement, String warehouseId) new ExecuteStatementRequest().setStatement(statement).setWarehouseId(warehouseId)); } - /** Execute a SQL statement. */ + /** Execute a SQL statement */ public StatementResponse executeStatement(ExecuteStatementRequest request) { return impl.executeStatement(request); } @@ -141,10 +139,8 @@ public StatementResponse getStatement(String statementId) { } /** - * Get status, manifest, and result first chunk. - * - *

This request can be used to poll for the statement's status. When the `status.state` field - * is `SUCCEEDED` it will also return the result manifest and the first chunk of the result data. + * This request can be used to poll for the statement's status. When the `status.state` field is + * `SUCCEEDED` it will also return the result manifest and the first chunk of the result data. * When the statement is in the terminal states `CANCELED`, `CLOSED` or `FAILED`, it returns HTTP * 200 with the state set. After at least 12 hours in terminal state, the statement is removed * from the warehouse and further calls will receive an HTTP 404 response. @@ -163,10 +159,8 @@ public ResultData getStatementResultChunkN(String statementId, long chunkIndex) } /** - * Get result chunk by index. - * - *

After the statement execution has `SUCCEEDED`, this request can be used to fetch any chunk - * by index. Whereas the first chunk with `chunk_index=0` is typically fetched with + * After the statement execution has `SUCCEEDED`, this request can be used to fetch any chunk by + * index. Whereas the first chunk with `chunk_index=0` is typically fetched with * :method:statementexecution/executeStatement or :method:statementexecution/getStatement, this * request can be used to fetch subsequent chunks. The response structure is identical to the * nested `result` element described in the :method:statementexecution/getStatement request, and diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementExecutionService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementExecutionService.java index 5132b0354..50fae0fc5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementExecutionService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementExecutionService.java @@ -100,21 +100,17 @@ @Generated public interface StatementExecutionService { /** - * Cancel statement execution. - * - *

Requests that an executing statement be canceled. Callers must poll for status to see the + * Requests that an executing statement be canceled. Callers must poll for status to see the * terminal state. */ void cancelExecution(CancelExecutionRequest cancelExecutionRequest); - /** Execute a SQL statement. */ + /** Execute a SQL statement */ StatementResponse executeStatement(ExecuteStatementRequest executeStatementRequest); /** - * Get status, manifest, and result first chunk. - * - *

This request can be used to poll for the statement's status. When the `status.state` field - * is `SUCCEEDED` it will also return the result manifest and the first chunk of the result data. + * This request can be used to poll for the statement's status. When the `status.state` field is + * `SUCCEEDED` it will also return the result manifest and the first chunk of the result data. * When the statement is in the terminal states `CANCELED`, `CLOSED` or `FAILED`, it returns HTTP * 200 with the state set. After at least 12 hours in terminal state, the statement is removed * from the warehouse and further calls will receive an HTTP 404 response. @@ -124,10 +120,8 @@ public interface StatementExecutionService { StatementResponse getStatement(GetStatementRequest getStatementRequest); /** - * Get result chunk by index. - * - *

After the statement execution has `SUCCEEDED`, this request can be used to fetch any chunk - * by index. Whereas the first chunk with `chunk_index=0` is typically fetched with + * After the statement execution has `SUCCEEDED`, this request can be used to fetch any chunk by + * index. Whereas the first chunk with `chunk_index=0` is typically fetched with * :method:statementexecution/executeStatement or :method:statementexecution/getStatement, this * request can be used to fetch subsequent chunks. The response structure is identical to the * nested `result` element described in the :method:statementexecution/getStatement request, and diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StopRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StopRequest.java index 01d8b2402..d7a07483a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StopRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StopRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Stop a warehouse */ @Generated public class StopRequest { /** Required. Id of the SQL warehouse. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/TransferOwnershipRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/TransferOwnershipRequest.java index bd770b6bc..bc465de4b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/TransferOwnershipRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/TransferOwnershipRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Transfer object ownership */ @Generated public class TransferOwnershipRequest { /** Email address for the new owner, who must exist in the workspace. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/TrashAlertRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/TrashAlertRequest.java index 55b889bad..ec2227434 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/TrashAlertRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/TrashAlertRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete an alert */ @Generated public class TrashAlertRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/TrashAlertV2Request.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/TrashAlertV2Request.java index 819a17a3f..548381e2d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/TrashAlertV2Request.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/TrashAlertV2Request.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete an alert */ @Generated public class TrashAlertV2Request { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/TrashQueryRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/TrashQueryRequest.java index dbfefcd9b..adb5471e6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/TrashQueryRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/TrashQueryRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a query */ @Generated public class TrashQueryRequest { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateAlertV2Request.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateAlertV2Request.java index 1e43290d8..414bf3131 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateAlertV2Request.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateAlertV2Request.java @@ -9,7 +9,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Update an alert */ @Generated public class UpdateAlertV2Request { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateWidgetRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateWidgetRequest.java new file mode 100755 index 000000000..cdf77f151 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateWidgetRequest.java @@ -0,0 +1,122 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.sql; + +import com.databricks.sdk.support.Generated; +import com.databricks.sdk.support.ToStringer; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Objects; + +@Generated +public class UpdateWidgetRequest { + /** Dashboard ID returned by :method:dashboards/create. */ + @JsonProperty("dashboard_id") + private String dashboardId; + + /** Widget ID returned by :method:dashboardwidgets/create */ + @JsonIgnore private String id; + + /** */ + @JsonProperty("options") + private WidgetOptions options; + + /** + * If this is a textbox widget, the application displays this text. This field is ignored if the + * widget contains a visualization in the `visualization` field. + */ + @JsonProperty("text") + private String text; + + /** Query Vizualization ID returned by :method:queryvisualizations/create. */ + @JsonProperty("visualization_id") + private String visualizationId; + + /** Width of a widget */ + @JsonProperty("width") + private Long width; + + public UpdateWidgetRequest setDashboardId(String dashboardId) { + this.dashboardId = dashboardId; + return this; + } + + public String getDashboardId() { + return dashboardId; + } + + public UpdateWidgetRequest setId(String id) { + this.id = id; + return this; + } + + public String getId() { + return id; + } + + public UpdateWidgetRequest setOptions(WidgetOptions options) { + this.options = options; + return this; + } + + public WidgetOptions getOptions() { + return options; + } + + public UpdateWidgetRequest setText(String text) { + this.text = text; + return this; + } + + public String getText() { + return text; + } + + public UpdateWidgetRequest setVisualizationId(String visualizationId) { + this.visualizationId = visualizationId; + return this; + } + + public String getVisualizationId() { + return visualizationId; + } + + public UpdateWidgetRequest setWidth(Long width) { + this.width = width; + return this; + } + + public Long getWidth() { + return width; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + UpdateWidgetRequest that = (UpdateWidgetRequest) o; + return Objects.equals(dashboardId, that.dashboardId) + && Objects.equals(id, that.id) + && Objects.equals(options, that.options) + && Objects.equals(text, that.text) + && Objects.equals(visualizationId, that.visualizationId) + && Objects.equals(width, that.width); + } + + @Override + public int hashCode() { + return Objects.hash(dashboardId, id, options, text, visualizationId, width); + } + + @Override + public String toString() { + return new ToStringer(UpdateWidgetRequest.class) + .add("dashboardId", dashboardId) + .add("id", id) + .add("options", options) + .add("text", text) + .add("visualizationId", visualizationId) + .add("width", width) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/WarehousesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/WarehousesAPI.java index 00b0c3941..468855777 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/WarehousesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/WarehousesAPI.java @@ -124,11 +124,7 @@ public GetWarehouseResponse waitGetWarehouseStopped( throw new TimeoutException(String.format("timed out after %s: %s", timeout, statusMessage)); } - /** - * Create a warehouse. - * - *

Creates a new SQL warehouse. - */ + /** Creates a new SQL warehouse. */ public Wait create( CreateWarehouseRequest request) { CreateWarehouseResponse response = impl.create(request); @@ -141,11 +137,7 @@ public void delete(String id) { delete(new DeleteWarehouseRequest().setId(id)); } - /** - * Delete a warehouse. - * - *

Deletes a SQL warehouse. - */ + /** Deletes a SQL warehouse. */ public void delete(DeleteWarehouseRequest request) { impl.delete(request); } @@ -154,11 +146,7 @@ public Wait edit(String id) { return edit(new EditWarehouseRequest().setId(id)); } - /** - * Update a warehouse. - * - *

Updates the configuration for a SQL warehouse. - */ + /** Updates the configuration for a SQL warehouse. */ public Wait edit(EditWarehouseRequest request) { impl.edit(request); return new Wait<>( @@ -169,11 +157,7 @@ public GetWarehouseResponse get(String id) { return get(new GetWarehouseRequest().setId(id)); } - /** - * Get warehouse info. - * - *

Gets the information for a single SQL warehouse. - */ + /** Gets the information for a single SQL warehouse. */ public GetWarehouseResponse get(GetWarehouseRequest request) { return impl.get(request); } @@ -183,11 +167,7 @@ public GetWarehousePermissionLevelsResponse getPermissionLevels(String warehouse new GetWarehousePermissionLevelsRequest().setWarehouseId(warehouseId)); } - /** - * Get SQL warehouse permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ public GetWarehousePermissionLevelsResponse getPermissionLevels( GetWarehousePermissionLevelsRequest request) { return impl.getPermissionLevels(request); @@ -198,29 +178,19 @@ public WarehousePermissions getPermissions(String warehouseId) { } /** - * Get SQL warehouse permissions. - * - *

Gets the permissions of a SQL warehouse. SQL warehouses can inherit permissions from their - * root object. + * Gets the permissions of a SQL warehouse. SQL warehouses can inherit permissions from their root + * object. */ public WarehousePermissions getPermissions(GetWarehousePermissionsRequest request) { return impl.getPermissions(request); } - /** - * Get the workspace configuration. - * - *

Gets the workspace level configuration that is shared by all SQL warehouses in a workspace. - */ + /** Gets the workspace level configuration that is shared by all SQL warehouses in a workspace. */ public GetWorkspaceWarehouseConfigResponse getWorkspaceWarehouseConfig() { return impl.getWorkspaceWarehouseConfig(); } - /** - * List warehouses. - * - *

Lists all SQL warehouses that a user has manager permissions on. - */ + /** Lists all SQL warehouses that a user has manager permissions on. */ public Iterable list(ListWarehousesRequest request) { return new Paginator<>( request, impl::list, ListWarehousesResponse::getWarehouses, response -> null); @@ -231,21 +201,14 @@ public WarehousePermissions setPermissions(String warehouseId) { } /** - * Set SQL warehouse permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ public WarehousePermissions setPermissions(WarehousePermissionsRequest request) { return impl.setPermissions(request); } - /** - * Set the workspace configuration. - * - *

Sets the workspace level configuration that is shared by all SQL warehouses in a workspace. - */ + /** Sets the workspace level configuration that is shared by all SQL warehouses in a workspace. */ public void setWorkspaceWarehouseConfig(SetWorkspaceWarehouseConfigRequest request) { impl.setWorkspaceWarehouseConfig(request); } @@ -254,11 +217,7 @@ public Wait start(String id) { return start(new StartRequest().setId(id)); } - /** - * Start a warehouse. - * - *

Starts a SQL warehouse. - */ + /** Starts a SQL warehouse. */ public Wait start(StartRequest request) { impl.start(request); return new Wait<>( @@ -269,11 +228,7 @@ public Wait stop(String id) { return stop(new StopRequest().setId(id)); } - /** - * Stop a warehouse. - * - *

Stops a SQL warehouse. - */ + /** Stops a SQL warehouse. */ public Wait stop(StopRequest request) { impl.stop(request); return new Wait<>( @@ -285,10 +240,8 @@ public WarehousePermissions updatePermissions(String warehouseId) { } /** - * Update SQL warehouse permissions. - * - *

Updates the permissions on a SQL warehouse. SQL warehouses can inherit permissions from - * their root object. + * Updates the permissions on a SQL warehouse. SQL warehouses can inherit permissions from their + * root object. */ public WarehousePermissions updatePermissions(WarehousePermissionsRequest request) { return impl.updatePermissions(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/WarehousesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/WarehousesService.java index 8b18fcca2..46972f451 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/WarehousesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/WarehousesService.java @@ -14,101 +14,54 @@ */ @Generated public interface WarehousesService { - /** - * Create a warehouse. - * - *

Creates a new SQL warehouse. - */ + /** Creates a new SQL warehouse. */ CreateWarehouseResponse create(CreateWarehouseRequest createWarehouseRequest); - /** - * Delete a warehouse. - * - *

Deletes a SQL warehouse. - */ + /** Deletes a SQL warehouse. */ void delete(DeleteWarehouseRequest deleteWarehouseRequest); - /** - * Update a warehouse. - * - *

Updates the configuration for a SQL warehouse. - */ + /** Updates the configuration for a SQL warehouse. */ void edit(EditWarehouseRequest editWarehouseRequest); - /** - * Get warehouse info. - * - *

Gets the information for a single SQL warehouse. - */ + /** Gets the information for a single SQL warehouse. */ GetWarehouseResponse get(GetWarehouseRequest getWarehouseRequest); - /** - * Get SQL warehouse permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ GetWarehousePermissionLevelsResponse getPermissionLevels( GetWarehousePermissionLevelsRequest getWarehousePermissionLevelsRequest); /** - * Get SQL warehouse permissions. - * - *

Gets the permissions of a SQL warehouse. SQL warehouses can inherit permissions from their - * root object. + * Gets the permissions of a SQL warehouse. SQL warehouses can inherit permissions from their root + * object. */ WarehousePermissions getPermissions( GetWarehousePermissionsRequest getWarehousePermissionsRequest); - /** - * Get the workspace configuration. - * - *

Gets the workspace level configuration that is shared by all SQL warehouses in a workspace. - */ + /** Gets the workspace level configuration that is shared by all SQL warehouses in a workspace. */ GetWorkspaceWarehouseConfigResponse getWorkspaceWarehouseConfig(); - /** - * List warehouses. - * - *

Lists all SQL warehouses that a user has manager permissions on. - */ + /** Lists all SQL warehouses that a user has manager permissions on. */ ListWarehousesResponse list(ListWarehousesRequest listWarehousesRequest); /** - * Set SQL warehouse permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ WarehousePermissions setPermissions(WarehousePermissionsRequest warehousePermissionsRequest); - /** - * Set the workspace configuration. - * - *

Sets the workspace level configuration that is shared by all SQL warehouses in a workspace. - */ + /** Sets the workspace level configuration that is shared by all SQL warehouses in a workspace. */ void setWorkspaceWarehouseConfig( SetWorkspaceWarehouseConfigRequest setWorkspaceWarehouseConfigRequest); - /** - * Start a warehouse. - * - *

Starts a SQL warehouse. - */ + /** Starts a SQL warehouse. */ void start(StartRequest startRequest); - /** - * Stop a warehouse. - * - *

Stops a SQL warehouse. - */ + /** Stops a SQL warehouse. */ void stop(StopRequest stopRequest); /** - * Update SQL warehouse permissions. - * - *

Updates the permissions on a SQL warehouse. SQL warehouses can inherit permissions from - * their root object. + * Updates the permissions on a SQL warehouse. SQL warehouses can inherit permissions from their + * root object. */ WarehousePermissions updatePermissions(WarehousePermissionsRequest warehousePermissionsRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeleteDataVectorIndexRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeleteDataVectorIndexRequest.java index aa5783a57..52cc34287 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeleteDataVectorIndexRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeleteDataVectorIndexRequest.java @@ -9,7 +9,6 @@ import java.util.Collection; import java.util.Objects; -/** Delete data from index */ @Generated public class DeleteDataVectorIndexRequest { /** Name of the vector index where data is to be deleted. Must be a Direct Vector Access Index. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeleteEndpointRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeleteEndpointRequest.java index 43a984847..1e389772e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeleteEndpointRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeleteEndpointRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete an endpoint */ @Generated public class DeleteEndpointRequest { /** Name of the vector search endpoint */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeleteIndexRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeleteIndexRequest.java index b4114582b..75c97b476 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeleteIndexRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeleteIndexRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete an index */ @Generated public class DeleteIndexRequest { /** Name of the index */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/GetEndpointRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/GetEndpointRequest.java index 3ae0561cf..81d42314c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/GetEndpointRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/GetEndpointRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get an endpoint */ @Generated public class GetEndpointRequest { /** Name of the endpoint */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/GetIndexRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/GetIndexRequest.java index be598b85b..53a6c4cd5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/GetIndexRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/GetIndexRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get an index */ @Generated public class GetIndexRequest { /** Name of the index */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/ListEndpointsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/ListEndpointsRequest.java index 27e8ac8da..3064751a2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/ListEndpointsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/ListEndpointsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List all endpoints */ @Generated public class ListEndpointsRequest { /** Token for pagination */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/ListIndexesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/ListIndexesRequest.java index fd77629dd..01ee7f79a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/ListIndexesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/ListIndexesRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List indexes */ @Generated public class ListIndexesRequest { /** Name of the endpoint */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/SyncIndexRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/SyncIndexRequest.java index 06de13154..d358f96bb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/SyncIndexRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/SyncIndexRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Synchronize an index */ @Generated public class SyncIndexRequest { /** Name of the vector index to synchronize. Must be a Delta Sync Index. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchEndpointsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchEndpointsAPI.java index fbf782186..291902a65 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchEndpointsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchEndpointsAPI.java @@ -84,11 +84,7 @@ public Wait createEndpoint(String name, EndpointType return createEndpoint(new CreateEndpoint().setName(name).setEndpointType(endpointType)); } - /** - * Create an endpoint. - * - *

Create a new endpoint. - */ + /** Create a new endpoint. */ public Wait createEndpoint(CreateEndpoint request) { EndpointInfo response = impl.createEndpoint(request); return new Wait<>( @@ -101,11 +97,7 @@ public void deleteEndpoint(String endpointName) { deleteEndpoint(new DeleteEndpointRequest().setEndpointName(endpointName)); } - /** - * Delete an endpoint. - * - *

Delete a vector search endpoint. - */ + /** Delete a vector search endpoint. */ public void deleteEndpoint(DeleteEndpointRequest request) { impl.deleteEndpoint(request); } @@ -114,20 +106,12 @@ public EndpointInfo getEndpoint(String endpointName) { return getEndpoint(new GetEndpointRequest().setEndpointName(endpointName)); } - /** - * Get an endpoint. - * - *

Get details for a single vector search endpoint. - */ + /** Get details for a single vector search endpoint. */ public EndpointInfo getEndpoint(GetEndpointRequest request) { return impl.getEndpoint(request); } - /** - * List all endpoints. - * - *

List all vector search endpoints in the workspace. - */ + /** List all vector search endpoints in the workspace. */ public Iterable listEndpoints(ListEndpointsRequest request) { return new Paginator<>( request, @@ -150,11 +134,7 @@ public PatchEndpointBudgetPolicyResponse updateEndpointBudgetPolicy( .setBudgetPolicyId(budgetPolicyId)); } - /** - * Update the budget policy of an endpoint. - * - *

Update the budget policy of an endpoint - */ + /** Update the budget policy of an endpoint */ public PatchEndpointBudgetPolicyResponse updateEndpointBudgetPolicy( PatchEndpointBudgetPolicyRequest request) { return impl.updateEndpointBudgetPolicy(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchEndpointsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchEndpointsService.java index 225864bef..150d294a3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchEndpointsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchEndpointsService.java @@ -12,39 +12,19 @@ */ @Generated public interface VectorSearchEndpointsService { - /** - * Create an endpoint. - * - *

Create a new endpoint. - */ + /** Create a new endpoint. */ EndpointInfo createEndpoint(CreateEndpoint createEndpoint); - /** - * Delete an endpoint. - * - *

Delete a vector search endpoint. - */ + /** Delete a vector search endpoint. */ void deleteEndpoint(DeleteEndpointRequest deleteEndpointRequest); - /** - * Get an endpoint. - * - *

Get details for a single vector search endpoint. - */ + /** Get details for a single vector search endpoint. */ EndpointInfo getEndpoint(GetEndpointRequest getEndpointRequest); - /** - * List all endpoints. - * - *

List all vector search endpoints in the workspace. - */ + /** List all vector search endpoints in the workspace. */ ListEndpointResponse listEndpoints(ListEndpointsRequest listEndpointsRequest); - /** - * Update the budget policy of an endpoint. - * - *

Update the budget policy of an endpoint - */ + /** Update the budget policy of an endpoint */ PatchEndpointBudgetPolicyResponse updateEndpointBudgetPolicy( PatchEndpointBudgetPolicyRequest patchEndpointBudgetPolicyRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchIndexesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchIndexesAPI.java index a7d7e328a..be1e8c4e7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchIndexesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchIndexesAPI.java @@ -44,11 +44,7 @@ public VectorIndex createIndex( .setIndexType(indexType)); } - /** - * Create an index. - * - *

Create a new index. - */ + /** Create a new index. */ public VectorIndex createIndex(CreateVectorIndexRequest request) { return impl.createIndex(request); } @@ -59,11 +55,7 @@ public DeleteDataVectorIndexResponse deleteDataVectorIndex( new DeleteDataVectorIndexRequest().setIndexName(indexName).setPrimaryKeys(primaryKeys)); } - /** - * Delete data from index. - * - *

Handles the deletion of data from a specified vector index. - */ + /** Handles the deletion of data from a specified vector index. */ public DeleteDataVectorIndexResponse deleteDataVectorIndex(DeleteDataVectorIndexRequest request) { return impl.deleteDataVectorIndex(request); } @@ -72,11 +64,7 @@ public void deleteIndex(String indexName) { deleteIndex(new DeleteIndexRequest().setIndexName(indexName)); } - /** - * Delete an index. - * - *

Delete an index. - */ + /** Delete an index. */ public void deleteIndex(DeleteIndexRequest request) { impl.deleteIndex(request); } @@ -85,11 +73,7 @@ public VectorIndex getIndex(String indexName) { return getIndex(new GetIndexRequest().setIndexName(indexName)); } - /** - * Get an index. - * - *

Get an index. - */ + /** Get an index. */ public VectorIndex getIndex(GetIndexRequest request) { return impl.getIndex(request); } @@ -98,11 +82,7 @@ public Iterable listIndexes(String endpointName) { return listIndexes(new ListIndexesRequest().setEndpointName(endpointName)); } - /** - * List indexes. - * - *

List all indexes in the given endpoint. - */ + /** List all indexes in the given endpoint. */ public Iterable listIndexes(ListIndexesRequest request) { return new Paginator<>( request, @@ -121,11 +101,7 @@ public QueryVectorIndexResponse queryIndex(String indexName, Collection return queryIndex(new QueryVectorIndexRequest().setIndexName(indexName).setColumns(columns)); } - /** - * Query an index. - * - *

Query the specified vector index. - */ + /** Query the specified vector index. */ public QueryVectorIndexResponse queryIndex(QueryVectorIndexRequest request) { return impl.queryIndex(request); } @@ -135,10 +111,8 @@ public QueryVectorIndexResponse queryNextPage(String indexName) { } /** - * Query next page. - * - *

Use `next_page_token` returned from previous `QueryVectorIndex` or - * `QueryVectorIndexNextPage` request to fetch next page of results. + * Use `next_page_token` returned from previous `QueryVectorIndex` or `QueryVectorIndexNextPage` + * request to fetch next page of results. */ public QueryVectorIndexResponse queryNextPage(QueryVectorIndexNextPageRequest request) { return impl.queryNextPage(request); @@ -149,10 +123,8 @@ public ScanVectorIndexResponse scanIndex(String indexName) { } /** - * Scan an index. - * - *

Scan the specified vector index and return the first `num_results` entries after the - * exclusive `primary_key`. + * Scan the specified vector index and return the first `num_results` entries after the exclusive + * `primary_key`. */ public ScanVectorIndexResponse scanIndex(ScanVectorIndexRequest request) { return impl.scanIndex(request); @@ -162,11 +134,7 @@ public void syncIndex(String indexName) { syncIndex(new SyncIndexRequest().setIndexName(indexName)); } - /** - * Synchronize an index. - * - *

Triggers a synchronization process for a specified vector index. - */ + /** Triggers a synchronization process for a specified vector index. */ public void syncIndex(SyncIndexRequest request) { impl.syncIndex(request); } @@ -176,11 +144,7 @@ public UpsertDataVectorIndexResponse upsertDataVectorIndex(String indexName, Str new UpsertDataVectorIndexRequest().setIndexName(indexName).setInputsJson(inputsJson)); } - /** - * Upsert data into an index. - * - *

Handles the upserting of data into a specified vector index. - */ + /** Handles the upserting of data into a specified vector index. */ public UpsertDataVectorIndexResponse upsertDataVectorIndex(UpsertDataVectorIndexRequest request) { return impl.upsertDataVectorIndex(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchIndexesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchIndexesService.java index 4f864e450..5aa6e7409 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchIndexesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchIndexesService.java @@ -19,78 +19,42 @@ */ @Generated public interface VectorSearchIndexesService { - /** - * Create an index. - * - *

Create a new index. - */ + /** Create a new index. */ VectorIndex createIndex(CreateVectorIndexRequest createVectorIndexRequest); - /** - * Delete data from index. - * - *

Handles the deletion of data from a specified vector index. - */ + /** Handles the deletion of data from a specified vector index. */ DeleteDataVectorIndexResponse deleteDataVectorIndex( DeleteDataVectorIndexRequest deleteDataVectorIndexRequest); - /** - * Delete an index. - * - *

Delete an index. - */ + /** Delete an index. */ void deleteIndex(DeleteIndexRequest deleteIndexRequest); - /** - * Get an index. - * - *

Get an index. - */ + /** Get an index. */ VectorIndex getIndex(GetIndexRequest getIndexRequest); - /** - * List indexes. - * - *

List all indexes in the given endpoint. - */ + /** List all indexes in the given endpoint. */ ListVectorIndexesResponse listIndexes(ListIndexesRequest listIndexesRequest); - /** - * Query an index. - * - *

Query the specified vector index. - */ + /** Query the specified vector index. */ QueryVectorIndexResponse queryIndex(QueryVectorIndexRequest queryVectorIndexRequest); /** - * Query next page. - * - *

Use `next_page_token` returned from previous `QueryVectorIndex` or - * `QueryVectorIndexNextPage` request to fetch next page of results. + * Use `next_page_token` returned from previous `QueryVectorIndex` or `QueryVectorIndexNextPage` + * request to fetch next page of results. */ QueryVectorIndexResponse queryNextPage( QueryVectorIndexNextPageRequest queryVectorIndexNextPageRequest); /** - * Scan an index. - * - *

Scan the specified vector index and return the first `num_results` entries after the - * exclusive `primary_key`. + * Scan the specified vector index and return the first `num_results` entries after the exclusive + * `primary_key`. */ ScanVectorIndexResponse scanIndex(ScanVectorIndexRequest scanVectorIndexRequest); - /** - * Synchronize an index. - * - *

Triggers a synchronization process for a specified vector index. - */ + /** Triggers a synchronization process for a specified vector index. */ void syncIndex(SyncIndexRequest syncIndexRequest); - /** - * Upsert data into an index. - * - *

Handles the upserting of data into a specified vector index. - */ + /** Handles the upserting of data into a specified vector index. */ UpsertDataVectorIndexResponse upsertDataVectorIndex( UpsertDataVectorIndexRequest upsertDataVectorIndexRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/DeleteCredentialsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/DeleteCredentialsRequest.java index 103c730f8..63617e60d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/DeleteCredentialsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/DeleteCredentialsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a credential */ @Generated public class DeleteCredentialsRequest { /** The ID for the corresponding credential to access. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/DeleteRepoRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/DeleteRepoRequest.java index ceeaf005e..630077ce1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/DeleteRepoRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/DeleteRepoRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Delete a repo */ @Generated public class DeleteRepoRequest { /** The ID for the corresponding repo to delete. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ExportRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ExportRequest.java index c01ad34b4..fd4ef88fc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ExportRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ExportRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Export a workspace object */ @Generated public class ExportRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetAclRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetAclRequest.java index 47c2bd0ce..011f0d758 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetAclRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetAclRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get secret ACL details */ @Generated public class GetAclRequest { /** The principal to fetch ACL information for. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetCredentialsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetCredentialsRequest.java index 2dea34f1e..4adf14b9a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetCredentialsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetCredentialsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a credential entry */ @Generated public class GetCredentialsRequest { /** The ID for the corresponding credential to access. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetRepoPermissionLevelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetRepoPermissionLevelsRequest.java index 6fc04024e..be46d51c0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetRepoPermissionLevelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetRepoPermissionLevelsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get repo permission levels */ @Generated public class GetRepoPermissionLevelsRequest { /** The repo for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetRepoPermissionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetRepoPermissionsRequest.java index b37e72f6e..46f57e929 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetRepoPermissionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetRepoPermissionsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get repo permissions */ @Generated public class GetRepoPermissionsRequest { /** The repo for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetRepoRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetRepoRequest.java index a241caa4d..cd22fb2ba 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetRepoRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetRepoRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a repo */ @Generated public class GetRepoRequest { /** ID of the Git folder (repo) object in the workspace. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetSecretRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetSecretRequest.java index db04b0bf4..7a6282ef0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetSecretRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetSecretRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get a secret */ @Generated public class GetSecretRequest { /** The key to fetch secret for. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetStatusRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetStatusRequest.java index 34b1d0bbf..d8858e9da 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetStatusRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetStatusRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get status */ @Generated public class GetStatusRequest { /** The absolute path of the notebook or directory. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetWorkspaceObjectPermissionLevelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetWorkspaceObjectPermissionLevelsRequest.java index c7ea38824..6199a0737 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetWorkspaceObjectPermissionLevelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetWorkspaceObjectPermissionLevelsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get workspace object permission levels */ @Generated public class GetWorkspaceObjectPermissionLevelsRequest { /** The workspace object for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetWorkspaceObjectPermissionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetWorkspaceObjectPermissionsRequest.java index baad343a5..b852f879f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetWorkspaceObjectPermissionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetWorkspaceObjectPermissionsRequest.java @@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get workspace object permissions */ @Generated public class GetWorkspaceObjectPermissionsRequest { /** The workspace object for which to get or manage permissions. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GitCredentialsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GitCredentialsAPI.java index a660838ef..60241cee4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GitCredentialsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GitCredentialsAPI.java @@ -35,11 +35,9 @@ public CreateCredentialsResponse create(String gitProvider) { } /** - * Create a credential entry. - * - *

Creates a Git credential entry for the user. Only one Git credential per user is supported, - * so any attempts to create credentials if an entry already exists will fail. Use the PATCH - * endpoint to update existing credentials, or the DELETE endpoint to delete existing credentials. + * Creates a Git credential entry for the user. Only one Git credential per user is supported, so + * any attempts to create credentials if an entry already exists will fail. Use the PATCH endpoint + * to update existing credentials, or the DELETE endpoint to delete existing credentials. */ public CreateCredentialsResponse create(CreateCredentialsRequest request) { return impl.create(request); @@ -49,11 +47,7 @@ public void delete(long credentialId) { delete(new DeleteCredentialsRequest().setCredentialId(credentialId)); } - /** - * Delete a credential. - * - *

Deletes the specified Git credential. - */ + /** Deletes the specified Git credential. */ public void delete(DeleteCredentialsRequest request) { impl.delete(request); } @@ -62,20 +56,12 @@ public GetCredentialsResponse get(long credentialId) { return get(new GetCredentialsRequest().setCredentialId(credentialId)); } - /** - * Get a credential entry. - * - *

Gets the Git credential with the specified credential ID. - */ + /** Gets the Git credential with the specified credential ID. */ public GetCredentialsResponse get(GetCredentialsRequest request) { return impl.get(request); } - /** - * Get Git credentials. - * - *

Lists the calling user's Git credentials. One credential per user is supported. - */ + /** Lists the calling user's Git credentials. One credential per user is supported. */ public Iterable list() { return new Paginator<>( null, (Void v) -> impl.list(), ListCredentialsResponse::getCredentials, response -> null); @@ -86,11 +72,7 @@ public void update(long credentialId, String gitProvider) { new UpdateCredentialsRequest().setCredentialId(credentialId).setGitProvider(gitProvider)); } - /** - * Update a credential. - * - *

Updates the specified Git credential. - */ + /** Updates the specified Git credential. */ public void update(UpdateCredentialsRequest request) { impl.update(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GitCredentialsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GitCredentialsService.java index 823232088..d03730043 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GitCredentialsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GitCredentialsService.java @@ -17,39 +17,21 @@ @Generated public interface GitCredentialsService { /** - * Create a credential entry. - * - *

Creates a Git credential entry for the user. Only one Git credential per user is supported, - * so any attempts to create credentials if an entry already exists will fail. Use the PATCH - * endpoint to update existing credentials, or the DELETE endpoint to delete existing credentials. + * Creates a Git credential entry for the user. Only one Git credential per user is supported, so + * any attempts to create credentials if an entry already exists will fail. Use the PATCH endpoint + * to update existing credentials, or the DELETE endpoint to delete existing credentials. */ CreateCredentialsResponse create(CreateCredentialsRequest createCredentialsRequest); - /** - * Delete a credential. - * - *

Deletes the specified Git credential. - */ + /** Deletes the specified Git credential. */ void delete(DeleteCredentialsRequest deleteCredentialsRequest); - /** - * Get a credential entry. - * - *

Gets the Git credential with the specified credential ID. - */ + /** Gets the Git credential with the specified credential ID. */ GetCredentialsResponse get(GetCredentialsRequest getCredentialsRequest); - /** - * Get Git credentials. - * - *

Lists the calling user's Git credentials. One credential per user is supported. - */ + /** Lists the calling user's Git credentials. One credential per user is supported. */ ListCredentialsResponse list(); - /** - * Update a credential. - * - *

Updates the specified Git credential. - */ + /** Updates the specified Git credential. */ void update(UpdateCredentialsRequest updateCredentialsRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListAclsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListAclsRequest.java index a3dde701a..b5344df86 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListAclsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListAclsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Lists ACLs */ @Generated public class ListAclsRequest { /** The name of the scope to fetch ACL information from. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListReposRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListReposRequest.java index e8806105f..74ce32ada 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListReposRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListReposRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** Get repos */ @Generated public class ListReposRequest { /** diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListSecretsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListSecretsRequest.java index 719a177d1..35b82b8fb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListSecretsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListSecretsRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List secret keys */ @Generated public class ListSecretsRequest { /** The name of the scope to list secrets within. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListWorkspaceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListWorkspaceRequest.java index b6d053f2c..fdda608ab 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListWorkspaceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListWorkspaceRequest.java @@ -8,7 +8,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; -/** List contents */ @Generated public class ListWorkspaceRequest { /** UTC timestamp in milliseconds */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ReposAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ReposAPI.java index 8a51b47a3..4ec10a5fb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ReposAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ReposAPI.java @@ -40,10 +40,8 @@ public CreateRepoResponse create(String url, String provider) { } /** - * Create a repo. - * - *

Creates a repo in the workspace and links it to the remote Git repo specified. Note that - * repos created programmatically must be linked to a remote Git repo, unlike repos created in the + * Creates a repo in the workspace and links it to the remote Git repo specified. Note that repos + * created programmatically must be linked to a remote Git repo, unlike repos created in the * browser. */ public CreateRepoResponse create(CreateRepoRequest request) { @@ -54,11 +52,7 @@ public void delete(long repoId) { delete(new DeleteRepoRequest().setRepoId(repoId)); } - /** - * Delete a repo. - * - *

Deletes the specified repo. - */ + /** Deletes the specified repo. */ public void delete(DeleteRepoRequest request) { impl.delete(request); } @@ -67,11 +61,7 @@ public GetRepoResponse get(long repoId) { return get(new GetRepoRequest().setRepoId(repoId)); } - /** - * Get a repo. - * - *

Returns the repo with the given repo ID. - */ + /** Returns the repo with the given repo ID. */ public GetRepoResponse get(GetRepoRequest request) { return impl.get(request); } @@ -80,11 +70,7 @@ public GetRepoPermissionLevelsResponse getPermissionLevels(String repoId) { return getPermissionLevels(new GetRepoPermissionLevelsRequest().setRepoId(repoId)); } - /** - * Get repo permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ public GetRepoPermissionLevelsResponse getPermissionLevels( GetRepoPermissionLevelsRequest request) { return impl.getPermissionLevels(request); @@ -94,20 +80,14 @@ public RepoPermissions getPermissions(String repoId) { return getPermissions(new GetRepoPermissionsRequest().setRepoId(repoId)); } - /** - * Get repo permissions. - * - *

Gets the permissions of a repo. Repos can inherit permissions from their root object. - */ + /** Gets the permissions of a repo. Repos can inherit permissions from their root object. */ public RepoPermissions getPermissions(GetRepoPermissionsRequest request) { return impl.getPermissions(request); } /** - * Get repos. - * - *

Returns repos that the calling user has Manage permissions on. Use `next_page_token` to - * iterate through additional pages. + * Returns repos that the calling user has Manage permissions on. Use `next_page_token` to iterate + * through additional pages. */ public Iterable list(ListReposRequest request) { return new Paginator<>( @@ -128,11 +108,8 @@ public RepoPermissions setPermissions(String repoId) { } /** - * Set repo permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ public RepoPermissions setPermissions(RepoPermissionsRequest request) { return impl.setPermissions(request); @@ -143,10 +120,8 @@ public void update(long repoId) { } /** - * Update a repo. - * - *

Updates the repo to a different branch or tag, or updates the repo to the latest commit on - * the same branch. + * Updates the repo to a different branch or tag, or updates the repo to the latest commit on the + * same branch. */ public void update(UpdateRepoRequest request) { impl.update(request); @@ -156,11 +131,7 @@ public RepoPermissions updatePermissions(String repoId) { return updatePermissions(new RepoPermissionsRequest().setRepoId(repoId)); } - /** - * Update repo permissions. - * - *

Updates the permissions on a repo. Repos can inherit permissions from their root object. - */ + /** Updates the permissions on a repo. Repos can inherit permissions from their root object. */ public RepoPermissions updatePermissions(RepoPermissionsRequest request) { return impl.updatePermissions(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ReposService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ReposService.java index 188c2d30d..d122657ee 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ReposService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ReposService.java @@ -22,72 +22,43 @@ @Generated public interface ReposService { /** - * Create a repo. - * - *

Creates a repo in the workspace and links it to the remote Git repo specified. Note that - * repos created programmatically must be linked to a remote Git repo, unlike repos created in the + * Creates a repo in the workspace and links it to the remote Git repo specified. Note that repos + * created programmatically must be linked to a remote Git repo, unlike repos created in the * browser. */ CreateRepoResponse create(CreateRepoRequest createRepoRequest); - /** - * Delete a repo. - * - *

Deletes the specified repo. - */ + /** Deletes the specified repo. */ void delete(DeleteRepoRequest deleteRepoRequest); - /** - * Get a repo. - * - *

Returns the repo with the given repo ID. - */ + /** Returns the repo with the given repo ID. */ GetRepoResponse get(GetRepoRequest getRepoRequest); - /** - * Get repo permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ GetRepoPermissionLevelsResponse getPermissionLevels( GetRepoPermissionLevelsRequest getRepoPermissionLevelsRequest); - /** - * Get repo permissions. - * - *

Gets the permissions of a repo. Repos can inherit permissions from their root object. - */ + /** Gets the permissions of a repo. Repos can inherit permissions from their root object. */ RepoPermissions getPermissions(GetRepoPermissionsRequest getRepoPermissionsRequest); /** - * Get repos. - * - *

Returns repos that the calling user has Manage permissions on. Use `next_page_token` to - * iterate through additional pages. + * Returns repos that the calling user has Manage permissions on. Use `next_page_token` to iterate + * through additional pages. */ ListReposResponse list(ListReposRequest listReposRequest); /** - * Set repo permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their root - * object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their root object. */ RepoPermissions setPermissions(RepoPermissionsRequest repoPermissionsRequest); /** - * Update a repo. - * - *

Updates the repo to a different branch or tag, or updates the repo to the latest commit on - * the same branch. + * Updates the repo to a different branch or tag, or updates the repo to the latest commit on the + * same branch. */ void update(UpdateRepoRequest updateRepoRequest); - /** - * Update repo permissions. - * - *

Updates the permissions on a repo. Repos can inherit permissions from their root object. - */ + /** Updates the permissions on a repo. Repos can inherit permissions from their root object. */ RepoPermissions updatePermissions(RepoPermissionsRequest repoPermissionsRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretsAPI.java index 3e99279b4..f3c1398db 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretsAPI.java @@ -39,10 +39,8 @@ public void createScope(String scope) { } /** - * Create a new secret scope. - * - *

The scope name must consist of alphanumeric characters, dashes, underscores, and periods, - * and may not exceed 128 characters. + * The scope name must consist of alphanumeric characters, dashes, underscores, and periods, and + * may not exceed 128 characters. */ public void createScope(CreateScope request) { impl.createScope(request); @@ -53,9 +51,7 @@ public void deleteAcl(String scope, String principal) { } /** - * Delete an ACL. - * - *

Deletes the given ACL on the given scope. + * Deletes the given ACL on the given scope. * *

Users must have the `MANAGE` permission to invoke this API. Throws `RESOURCE_DOES_NOT_EXIST` * if no such secret scope, principal, or ACL exists. Throws `PERMISSION_DENIED` if the user does @@ -70,9 +66,7 @@ public void deleteScope(String scope) { } /** - * Delete a secret scope. - * - *

Deletes a secret scope. + * Deletes a secret scope. * *

Throws `RESOURCE_DOES_NOT_EXIST` if the scope does not exist. Throws `PERMISSION_DENIED` if * the user does not have permission to make this API call. @@ -86,10 +80,8 @@ public void deleteSecret(String scope, String key) { } /** - * Delete a secret. - * - *

Deletes the secret stored in this secret scope. You must have `WRITE` or `MANAGE` permission - * on the secret scope. + * Deletes the secret stored in this secret scope. You must have `WRITE` or `MANAGE` permission on + * the secret scope. * *

Throws `RESOURCE_DOES_NOT_EXIST` if no such secret scope or secret exists. Throws * `PERMISSION_DENIED` if the user does not have permission to make this API call. @@ -103,9 +95,7 @@ public AclItem getAcl(String scope, String principal) { } /** - * Get secret ACL details. - * - *

Gets the details about the given ACL, such as the group and permission. Users must have the + * Gets the details about the given ACL, such as the group and permission. Users must have the * `MANAGE` permission to invoke this API. * *

Throws `RESOURCE_DOES_NOT_EXIST` if no such secret scope exists. Throws `PERMISSION_DENIED` @@ -120,9 +110,7 @@ public GetSecretResponse getSecret(String scope, String key) { } /** - * Get a secret. - * - *

Gets the bytes representation of a secret value for the specified scope and key. + * Gets the bytes representation of a secret value for the specified scope and key. * *

Users need the READ permission to make this call. * @@ -141,10 +129,8 @@ public Iterable listAcls(String scope) { } /** - * Lists ACLs. - * - *

List the ACLs for a given secret scope. Users must have the `MANAGE` permission to invoke - * this API. + * List the ACLs for a given secret scope. Users must have the `MANAGE` permission to invoke this + * API. * *

Throws `RESOURCE_DOES_NOT_EXIST` if no such secret scope exists. Throws `PERMISSION_DENIED` * if the user does not have permission to make this API call. @@ -154,9 +140,7 @@ public Iterable listAcls(ListAclsRequest request) { } /** - * List all scopes. - * - *

Lists all secret scopes available in the workspace. + * Lists all secret scopes available in the workspace. * *

Throws `PERMISSION_DENIED` if the user does not have permission to make this API call. */ @@ -170,11 +154,8 @@ public Iterable listSecrets(String scope) { } /** - * List secret keys. - * - *

Lists the secret keys that are stored at this scope. This is a metadata-only operation; - * secret data cannot be retrieved using this API. Users need the READ permission to make this - * call. + * Lists the secret keys that are stored at this scope. This is a metadata-only operation; secret + * data cannot be retrieved using this API. Users need the READ permission to make this call. * *

The lastUpdatedTimestamp returned is in milliseconds since epoch. Throws * `RESOURCE_DOES_NOT_EXIST` if no such secret scope exists. Throws `PERMISSION_DENIED` if the @@ -190,10 +171,8 @@ public void putAcl(String scope, String principal, AclPermission permission) { } /** - * Create/update an ACL. - * - *

Creates or overwrites the Access Control List (ACL) associated with the given principal - * (user or group) on the specified scope point. + * Creates or overwrites the Access Control List (ACL) associated with the given principal (user + * or group) on the specified scope point. * *

In general, a user or group will use the most powerful permission available to them, and * permissions are ordered as follows: @@ -226,11 +205,9 @@ public void putSecret(String scope, String key) { } /** - * Add a secret. - * - *

Inserts a secret under the provided scope with the given name. If a secret already exists - * with the same name, this command overwrites the existing secret's value. The server encrypts - * the secret using the secret scope's encryption settings before storing it. + * Inserts a secret under the provided scope with the given name. If a secret already exists with + * the same name, this command overwrites the existing secret's value. The server encrypts the + * secret using the secret scope's encryption settings before storing it. * *

You must have `WRITE` or `MANAGE` permission on the secret scope. The secret key must * consist of alphanumeric characters, dashes, underscores, and periods, and cannot exceed 128 diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretsService.java index 697993a9c..f8de5787c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretsService.java @@ -21,17 +21,13 @@ @Generated public interface SecretsService { /** - * Create a new secret scope. - * - *

The scope name must consist of alphanumeric characters, dashes, underscores, and periods, - * and may not exceed 128 characters. + * The scope name must consist of alphanumeric characters, dashes, underscores, and periods, and + * may not exceed 128 characters. */ void createScope(CreateScope createScope); /** - * Delete an ACL. - * - *

Deletes the given ACL on the given scope. + * Deletes the given ACL on the given scope. * *

Users must have the `MANAGE` permission to invoke this API. Throws `RESOURCE_DOES_NOT_EXIST` * if no such secret scope, principal, or ACL exists. Throws `PERMISSION_DENIED` if the user does @@ -40,9 +36,7 @@ public interface SecretsService { void deleteAcl(DeleteAcl deleteAcl); /** - * Delete a secret scope. - * - *

Deletes a secret scope. + * Deletes a secret scope. * *

Throws `RESOURCE_DOES_NOT_EXIST` if the scope does not exist. Throws `PERMISSION_DENIED` if * the user does not have permission to make this API call. @@ -50,10 +44,8 @@ public interface SecretsService { void deleteScope(DeleteScope deleteScope); /** - * Delete a secret. - * - *

Deletes the secret stored in this secret scope. You must have `WRITE` or `MANAGE` permission - * on the secret scope. + * Deletes the secret stored in this secret scope. You must have `WRITE` or `MANAGE` permission on + * the secret scope. * *

Throws `RESOURCE_DOES_NOT_EXIST` if no such secret scope or secret exists. Throws * `PERMISSION_DENIED` if the user does not have permission to make this API call. @@ -61,9 +53,7 @@ public interface SecretsService { void deleteSecret(DeleteSecret deleteSecret); /** - * Get secret ACL details. - * - *

Gets the details about the given ACL, such as the group and permission. Users must have the + * Gets the details about the given ACL, such as the group and permission. Users must have the * `MANAGE` permission to invoke this API. * *

Throws `RESOURCE_DOES_NOT_EXIST` if no such secret scope exists. Throws `PERMISSION_DENIED` @@ -72,9 +62,7 @@ public interface SecretsService { AclItem getAcl(GetAclRequest getAclRequest); /** - * Get a secret. - * - *

Gets the bytes representation of a secret value for the specified scope and key. + * Gets the bytes representation of a secret value for the specified scope and key. * *

Users need the READ permission to make this call. * @@ -87,10 +75,8 @@ public interface SecretsService { GetSecretResponse getSecret(GetSecretRequest getSecretRequest); /** - * Lists ACLs. - * - *

List the ACLs for a given secret scope. Users must have the `MANAGE` permission to invoke - * this API. + * List the ACLs for a given secret scope. Users must have the `MANAGE` permission to invoke this + * API. * *

Throws `RESOURCE_DOES_NOT_EXIST` if no such secret scope exists. Throws `PERMISSION_DENIED` * if the user does not have permission to make this API call. @@ -98,20 +84,15 @@ public interface SecretsService { ListAclsResponse listAcls(ListAclsRequest listAclsRequest); /** - * List all scopes. - * - *

Lists all secret scopes available in the workspace. + * Lists all secret scopes available in the workspace. * *

Throws `PERMISSION_DENIED` if the user does not have permission to make this API call. */ ListScopesResponse listScopes(); /** - * List secret keys. - * - *

Lists the secret keys that are stored at this scope. This is a metadata-only operation; - * secret data cannot be retrieved using this API. Users need the READ permission to make this - * call. + * Lists the secret keys that are stored at this scope. This is a metadata-only operation; secret + * data cannot be retrieved using this API. Users need the READ permission to make this call. * *

The lastUpdatedTimestamp returned is in milliseconds since epoch. Throws * `RESOURCE_DOES_NOT_EXIST` if no such secret scope exists. Throws `PERMISSION_DENIED` if the @@ -120,10 +101,8 @@ public interface SecretsService { ListSecretsResponse listSecrets(ListSecretsRequest listSecretsRequest); /** - * Create/update an ACL. - * - *

Creates or overwrites the Access Control List (ACL) associated with the given principal - * (user or group) on the specified scope point. + * Creates or overwrites the Access Control List (ACL) associated with the given principal (user + * or group) on the specified scope point. * *

In general, a user or group will use the most powerful permission available to them, and * permissions are ordered as follows: @@ -150,11 +129,9 @@ public interface SecretsService { void putAcl(PutAcl putAcl); /** - * Add a secret. - * - *

Inserts a secret under the provided scope with the given name. If a secret already exists - * with the same name, this command overwrites the existing secret's value. The server encrypts - * the secret using the secret scope's encryption settings before storing it. + * Inserts a secret under the provided scope with the given name. If a secret already exists with + * the same name, this command overwrites the existing secret's value. The server encrypts the + * secret using the secret scope's encryption settings before storing it. * *

You must have `WRITE` or `MANAGE` permission on the secret scope. The secret key must * consist of alphanumeric characters, dashes, underscores, and periods, and cannot exceed 128 diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/WorkspaceAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/WorkspaceAPI.java index 3933eeff3..ede87d75d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/WorkspaceAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/WorkspaceAPI.java @@ -34,9 +34,7 @@ public void delete(String path) { } /** - * Delete a workspace object. - * - *

Deletes an object or a directory (and optionally recursively deletes all objects in the + * Deletes an object or a directory (and optionally recursively deletes all objects in the * directory). * If `path` does not exist, this call returns an error `RESOURCE_DOES_NOT_EXIST`. * * If `path` is a non-empty directory and `recursive` is set to `false`, this call returns an * error `DIRECTORY_NOT_EMPTY`. @@ -52,9 +50,7 @@ public ExportResponse export(String path) { } /** - * Export a workspace object. - * - *

Exports an object or the contents of an entire directory. + * Exports an object or the contents of an entire directory. * *

If `path` does not exist, this call returns an error `RESOURCE_DOES_NOT_EXIST`. * @@ -73,11 +69,7 @@ public GetWorkspaceObjectPermissionLevelsResponse getPermissionLevels( .setWorkspaceObjectId(workspaceObjectId)); } - /** - * Get workspace object permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ public GetWorkspaceObjectPermissionLevelsResponse getPermissionLevels( GetWorkspaceObjectPermissionLevelsRequest request) { return impl.getPermissionLevels(request); @@ -92,9 +84,7 @@ public WorkspaceObjectPermissions getPermissions( } /** - * Get workspace object permissions. - * - *

Gets the permissions of a workspace object. Workspace objects can inherit permissions from + * Gets the permissions of a workspace object. Workspace objects can inherit permissions from * their parent objects or root object. */ public WorkspaceObjectPermissions getPermissions(GetWorkspaceObjectPermissionsRequest request) { @@ -106,9 +96,7 @@ public ObjectInfo getStatus(String path) { } /** - * Get status. - * - *

Gets the status of an object or a directory. If `path` does not exist, this call returns an + * Gets the status of an object or a directory. If `path` does not exist, this call returns an * error `RESOURCE_DOES_NOT_EXIST`. */ public ObjectInfo getStatus(GetStatusRequest request) { @@ -120,9 +108,7 @@ public void importContent(String path) { } /** - * Import a workspace object. - * - *

Imports a workspace object (for example, a notebook or file) or the contents of an entire + * Imports a workspace object (for example, a notebook or file) or the contents of an entire * directory. If `path` already exists and `overwrite` is set to `false`, this call returns an * error `RESOURCE_ALREADY_EXISTS`. To import a directory, you can use either the `DBC` format or * the `SOURCE` format with the `language` field unset. To import a single file as `SOURCE`, you @@ -137,9 +123,7 @@ public Iterable list(String path) { } /** - * List contents. - * - *

Lists the contents of a directory, or the object if it is not a directory. If the input path + * Lists the contents of a directory, or the object if it is not a directory. If the input path * does not exist, this call returns an error `RESOURCE_DOES_NOT_EXIST`. */ public Iterable list(ListWorkspaceRequest request) { @@ -151,9 +135,7 @@ public void mkdirs(String path) { } /** - * Create a directory. - * - *

Creates the specified directory (and necessary parent directories if they do not exist). If + * Creates the specified directory (and necessary parent directories if they do not exist). If * there is an object (not a directory) at any prefix of the input path, this call returns an * error `RESOURCE_ALREADY_EXISTS`. * @@ -173,11 +155,9 @@ public WorkspaceObjectPermissions setPermissions( } /** - * Set workspace object permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their parent - * objects or root object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their parent objects or + * root object. */ public WorkspaceObjectPermissions setPermissions(WorkspaceObjectPermissionsRequest request) { return impl.setPermissions(request); @@ -192,10 +172,8 @@ public WorkspaceObjectPermissions updatePermissions( } /** - * Update workspace object permissions. - * - *

Updates the permissions on a workspace object. Workspace objects can inherit permissions - * from their parent objects or root object. + * Updates the permissions on a workspace object. Workspace objects can inherit permissions from + * their parent objects or root object. */ public WorkspaceObjectPermissions updatePermissions(WorkspaceObjectPermissionsRequest request) { return impl.updatePermissions(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/WorkspaceService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/WorkspaceService.java index 93dc98423..75c4a0608 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/WorkspaceService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/WorkspaceService.java @@ -16,9 +16,7 @@ @Generated public interface WorkspaceService { /** - * Delete a workspace object. - * - *

Deletes an object or a directory (and optionally recursively deletes all objects in the + * Deletes an object or a directory (and optionally recursively deletes all objects in the * directory). * If `path` does not exist, this call returns an error `RESOURCE_DOES_NOT_EXIST`. * * If `path` is a non-empty directory and `recursive` is set to `false`, this call returns an * error `DIRECTORY_NOT_EMPTY`. @@ -28,9 +26,7 @@ public interface WorkspaceService { void delete(Delete delete); /** - * Export a workspace object. - * - *

Exports an object or the contents of an entire directory. + * Exports an object or the contents of an entire directory. * *

If `path` does not exist, this call returns an error `RESOURCE_DOES_NOT_EXIST`. * @@ -39,35 +35,25 @@ public interface WorkspaceService { */ ExportResponse export(ExportRequest exportRequest); - /** - * Get workspace object permission levels. - * - *

Gets the permission levels that a user can have on an object. - */ + /** Gets the permission levels that a user can have on an object. */ GetWorkspaceObjectPermissionLevelsResponse getPermissionLevels( GetWorkspaceObjectPermissionLevelsRequest getWorkspaceObjectPermissionLevelsRequest); /** - * Get workspace object permissions. - * - *

Gets the permissions of a workspace object. Workspace objects can inherit permissions from + * Gets the permissions of a workspace object. Workspace objects can inherit permissions from * their parent objects or root object. */ WorkspaceObjectPermissions getPermissions( GetWorkspaceObjectPermissionsRequest getWorkspaceObjectPermissionsRequest); /** - * Get status. - * - *

Gets the status of an object or a directory. If `path` does not exist, this call returns an + * Gets the status of an object or a directory. If `path` does not exist, this call returns an * error `RESOURCE_DOES_NOT_EXIST`. */ ObjectInfo getStatus(GetStatusRequest getStatusRequest); /** - * Import a workspace object. - * - *

Imports a workspace object (for example, a notebook or file) or the contents of an entire + * Imports a workspace object (for example, a notebook or file) or the contents of an entire * directory. If `path` already exists and `overwrite` is set to `false`, this call returns an * error `RESOURCE_ALREADY_EXISTS`. To import a directory, you can use either the `DBC` format or * the `SOURCE` format with the `language` field unset. To import a single file as `SOURCE`, you @@ -76,17 +62,13 @@ WorkspaceObjectPermissions getPermissions( void importContent(Import importContent); /** - * List contents. - * - *

Lists the contents of a directory, or the object if it is not a directory. If the input path + * Lists the contents of a directory, or the object if it is not a directory. If the input path * does not exist, this call returns an error `RESOURCE_DOES_NOT_EXIST`. */ ListResponse list(ListWorkspaceRequest listWorkspaceRequest); /** - * Create a directory. - * - *

Creates the specified directory (and necessary parent directories if they do not exist). If + * Creates the specified directory (and necessary parent directories if they do not exist). If * there is an object (not a directory) at any prefix of the input path, this call returns an * error `RESOURCE_ALREADY_EXISTS`. * @@ -96,20 +78,16 @@ WorkspaceObjectPermissions getPermissions( void mkdirs(Mkdirs mkdirs); /** - * Set workspace object permissions. - * - *

Sets permissions on an object, replacing existing permissions if they exist. Deletes all - * direct permissions if none are specified. Objects can inherit permissions from their parent - * objects or root object. + * Sets permissions on an object, replacing existing permissions if they exist. Deletes all direct + * permissions if none are specified. Objects can inherit permissions from their parent objects or + * root object. */ WorkspaceObjectPermissions setPermissions( WorkspaceObjectPermissionsRequest workspaceObjectPermissionsRequest); /** - * Update workspace object permissions. - * - *

Updates the permissions on a workspace object. Workspace objects can inherit permissions - * from their parent objects or root object. + * Updates the permissions on a workspace object. Workspace objects can inherit permissions from + * their parent objects or root object. */ WorkspaceObjectPermissions updatePermissions( WorkspaceObjectPermissionsRequest workspaceObjectPermissionsRequest);