Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Internal Changes * Update SDK to latest OpenAPI spec ([#1042](#1042)). ### API Changes: * Added [w.DisableLegacyAccess](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#DisableLegacyAccessAPI) workspace-level service and [a.DisableLegacyFeatures](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#DisableLegacyFeaturesAPI) account-level service. * Added [w.TemporaryTableCredentials](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TemporaryTableCredentialsAPI) workspace-level service. * Added `PutAiGateway` method for [w.ServingEndpoints](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#ServingEndpointsAPI) workspace-level service. * Added [apps.ApplicationState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#ApplicationState), [apps.ApplicationStatus](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#ApplicationStatus), [apps.ComputeState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#ComputeState) and [apps.ComputeStatus](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#ComputeStatus). * Added [catalog.AwsCredentials](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsCredentials), [catalog.AzureUserDelegationSas](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AzureUserDelegationSas), [catalog.GcpOauthToken](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GcpOauthToken), [catalog.GenerateTemporaryTableCredentialRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GenerateTemporaryTableCredentialRequest), [catalog.GenerateTemporaryTableCredentialResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GenerateTemporaryTableCredentialResponse), [catalog.R2Credentials](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#R2Credentials) and [catalog.TableOperation](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TableOperation). * Added [serving.AiGatewayConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AiGatewayConfig), [serving.AiGatewayGuardrailParameters](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AiGatewayGuardrailParameters), [serving.AiGatewayGuardrailPiiBehavior](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AiGatewayGuardrailPiiBehavior), [serving.AiGatewayGuardrailPiiBehaviorBehavior](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AiGatewayGuardrailPiiBehaviorBehavior), [serving.AiGatewayGuardrails](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AiGatewayGuardrails), [serving.AiGatewayInferenceTableConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AiGatewayInferenceTableConfig), [serving.AiGatewayRateLimit](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AiGatewayRateLimit), [serving.AiGatewayRateLimitKey](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AiGatewayRateLimitKey), [serving.AiGatewayRateLimitRenewalPeriod](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AiGatewayRateLimitRenewalPeriod), [serving.AiGatewayUsageTrackingConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AiGatewayUsageTrackingConfig), [serving.PutAiGatewayRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#PutAiGatewayRequest) and [serving.PutAiGatewayResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#PutAiGatewayResponse). * Added [settings.BooleanMessage](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#BooleanMessage), [settings.DeleteDisableLegacyAccessRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#DeleteDisableLegacyAccessRequest), [settings.DeleteDisableLegacyAccessResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#DeleteDisableLegacyAccessResponse), [settings.DeleteDisableLegacyFeaturesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#DeleteDisableLegacyFeaturesRequest), [settings.DeleteDisableLegacyFeaturesResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#DeleteDisableLegacyFeaturesResponse), [settings.DisableLegacyAccess](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#DisableLegacyAccess), [settings.DisableLegacyFeatures](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#DisableLegacyFeatures), [settings.GetDisableLegacyAccessRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#GetDisableLegacyAccessRequest), [settings.GetDisableLegacyFeaturesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#GetDisableLegacyFeaturesRequest), [settings.UpdateDisableLegacyAccessRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#UpdateDisableLegacyAccessRequest) and [settings.UpdateDisableLegacyFeaturesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#UpdateDisableLegacyFeaturesRequest). * Added `AppStatus` and `ComputeStatus` fields for [apps.App](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#App). * Added `DeploymentId` field for [apps.CreateAppDeploymentRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#CreateAppDeploymentRequest). * Added `ExternalAccessEnabled` field for [catalog.GetMetastoreSummaryResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetMetastoreSummaryResponse). * Added `IncludeManifestCapabilities` field for [catalog.GetTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetTableRequest). * Added `IncludeManifestCapabilities` field for [catalog.ListSummariesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSummariesRequest). * Added `IncludeManifestCapabilities` field for [catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest). * Added `ExternalAccessEnabled` field for [catalog.MetastoreInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MetastoreInfo). * Added `BudgetPolicyId` field for [pipelines.CreatePipeline](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/pipelines#CreatePipeline). * Added `BudgetPolicyId` field for [pipelines.EditPipeline](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/pipelines#EditPipeline). * Added `EffectiveBudgetPolicyId` field for [pipelines.GetPipelineResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/pipelines#GetPipelineResponse). * Added `BudgetPolicyId` field for [pipelines.PipelineSpec](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/pipelines#PipelineSpec). * Added `AiGateway` field for [serving.CreateServingEndpoint](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#CreateServingEndpoint). * Added `AiGateway` field for [serving.ServingEndpoint](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#ServingEndpoint). * Added `AiGateway` field for [serving.ServingEndpointDetailed](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#ServingEndpointDetailed). * Added `WorkspaceId` field for [settings.TokenInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#TokenInfo). * Changed `Delete`, `Start` and `Stop` methods for [w.Apps](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#AppsAPI) workspace-level service to return [apps.App](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#App). * Changed `Deploy` method for [w.Apps](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#AppsAPI) workspace-level service with new required argument order. * Changed `SourceCodePath` field for [apps.AppDeployment](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#AppDeployment) to no longer be required. * Changed `SourceCodePath` field for [apps.CreateAppDeploymentRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#CreateAppDeploymentRequest) to no longer be required. * Changed `ReturnParams` and `RoutineDependencies` fields for [catalog.CreateFunction](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateFunction) to no longer be required. * Removed [apps.AppState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#AppState), [apps.AppStatus](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#AppStatus), `any` and `any`. * Removed [sql.ClientCallContext](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sql#ClientCallContext), [sql.EncodedText](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sql#EncodedText), [sql.EncodedTextEncoding](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sql#EncodedTextEncoding), [sql.QuerySource](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sql#QuerySource), [sql.QuerySourceDriverInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sql#QuerySourceDriverInfo), [sql.QuerySourceEntryPoint](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sql#QuerySourceEntryPoint), [sql.QuerySourceJobManager](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sql#QuerySourceJobManager), [sql.QuerySourceTrigger](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sql#QuerySourceTrigger) and [sql.ServerlessChannelInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sql#ServerlessChannelInfo). * Removed `Status` field for [apps.App](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#App). * Removed `QuerySource` field for [sql.QueryInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sql#QueryInfo). OpenAPI SHA: 6f6b1371e640f2dfeba72d365ac566368656f6b6, Date: 2024-09-19
- Loading branch information