v0.44.0
New Features and Improvements
- Remove deprecated
WithImpl
andImpl
service methods (#1003). w.Clusters.List()
is no longer limited to returning 200 all-purpose and 30 jobs clusters from the last 30 days. It now returns all terminated clusters in the last 30 days.
Bug Fixes
- Allowed filtering for graviton DBRs in
ClusterAPI.SelectSparkVersion
(#1004). - Avoid loading the response bodies twice in memory when parsing
bytes.Buffer
(#984). - Bump google.golang.org/grpc from 1.64.0 to 1.64.1 (#974).
- Fix default-auth example when less than 10 clusters (#1012).
- Infer Azure tenant ID if not set (#910).
Internal Changes
- Add comment to validate workflow (#987).
- Add error mapping for GetRun (#1006).
- Add missing Package to Entity (#995).
- Add prefix to Dependabot commit messages (#976).
- Configure Dependabot for security updates only (#988).
- Enable mixins via struct embedding (#1000).
- Fix GetWorkspaceClient test & GCP SQL Warehouse Creation test (#1010).
- Fix integration tests (#1008).
- Fix processing of
quoted
titles (#989). - Generate SDK from Open API (#997).
- Log a warning when declaring inline entities (#994).
- Move PR message validation to a separate workflow (#983).
- Pin jobs APIs to 2.1 in SDKs (#993).
- Prefix all extension files with
ext_
(#1001). - Trigger the
validate
workflow in the merge queue (#986). - Update OpenAPI spec (#991).
- Use HTTP status text as message if the error response body is empty (#990).
API Changes:
- Added apps package.
- Added a.UsageDashboards account-level service.
- Added w.AlertsLegacy workspace-level service, w.QueriesLegacy workspace-level service and w.QueryVisualizationsLegacy workspace-level service.
- Added w.Genie workspace-level service.
- Added w.NotificationDestinations workspace-level service.
- Added
Update
method for w.Clusters workspace-level service. - Added
ListVisualizations
method for w.Queries workspace-level service. - Added catalog.GetBindingsSecurableType and catalog.UpdateBindingsSecurableType.
- Added billing.ActionConfiguration, billing.ActionConfigurationType, billing.AlertConfiguration, billing.AlertConfigurationQuantityType, billing.AlertConfigurationTimePeriod, billing.AlertConfigurationTriggerType, billing.BudgetConfiguration, billing.BudgetConfigurationFilter, billing.BudgetConfigurationFilterClause, billing.BudgetConfigurationFilterOperator, billing.BudgetConfigurationFilterTagClause, billing.BudgetConfigurationFilterWorkspaceIdClause, billing.CreateBillingUsageDashboardRequest, billing.CreateBillingUsageDashboardResponse, billing.CreateBudgetConfigurationBudget, billing.CreateBudgetConfigurationBudgetActionConfigurations, billing.CreateBudgetConfigurationBudgetAlertConfigurations, billing.CreateBudgetConfigurationRequest, billing.CreateBudgetConfigurationResponse, billing.DeleteBudgetConfigurationRequest,
any
, billing.GetBillingUsageDashboardRequest, billing.GetBillingUsageDashboardResponse, billing.GetBudgetConfigurationRequest, billing.GetBudgetConfigurationResponse, billing.ListBudgetConfigurationsRequest, billing.ListBudgetConfigurationsResponse, billing.UpdateBudgetConfigurationBudget, billing.UpdateBudgetConfigurationRequest, billing.UpdateBudgetConfigurationResponse and billing.UsageDashboardType. - Added compute.ListClustersFilterBy, compute.ListClustersSortBy, compute.ListClustersSortByDirection, compute.ListClustersSortByField, compute.UpdateCluster, compute.UpdateClusterResource and
any
. - Added dashboards.ExecuteMessageQueryRequest, dashboards.GenieAttachment, dashboards.GenieConversation, dashboards.GenieCreateConversationMessageRequest, dashboards.GenieGetConversationMessageRequest, dashboards.GenieGetMessageQueryResultRequest, dashboards.GenieGetMessageQueryResultResponse, dashboards.GenieMessage, dashboards.GenieStartConversationMessageRequest, dashboards.GenieStartConversationResponse, dashboards.MessageError, dashboards.MessageErrorType, dashboards.MessageStatus, dashboards.QueryAttachment, dashboards.Result and dashboards.TextAttachment.
- Added
any
, iam.MigratePermissionsRequest and iam.MigratePermissionsResponse. - Added oauth2.ListCustomAppIntegrationsRequest and oauth2.ListPublishedAppIntegrationsRequest.
- Added pipelines.IngestionPipelineDefinition and pipelines.PipelineStateInfoHealth.
- Added serving.GoogleCloudVertexAiConfig.
- Added settings.Config, settings.CreateNotificationDestinationRequest, settings.DeleteNotificationDestinationRequest, settings.DestinationType, settings.EmailConfig,
any
, settings.GenericWebhookConfig, settings.GetNotificationDestinationRequest, settings.ListNotificationDestinationsRequest, settings.ListNotificationDestinationsResponse, settings.ListNotificationDestinationsResult, settings.MicrosoftTeamsConfig, settings.NotificationDestination, settings.PagerdutyConfig, settings.SlackConfig and settings.UpdateNotificationDestinationRequest. - Added sql.AlertCondition, sql.AlertConditionOperand, sql.AlertConditionThreshold, sql.AlertOperandColumn, sql.AlertOperandValue, sql.AlertOperator, sql.ClientCallContext, sql.ContextFilter, sql.CreateAlertRequest, sql.CreateAlertRequestAlert, sql.CreateQueryRequest, sql.CreateQueryRequestQuery, sql.CreateQueryVisualizationsLegacyRequest, sql.CreateVisualizationRequest, sql.CreateVisualizationRequestVisualization, sql.DatePrecision, sql.DateRange, sql.DateRangeValue, sql.DateRangeValueDynamicDateRange, sql.DateValue, sql.DateValueDynamicDate, sql.DeleteAlertsLegacyRequest, sql.DeleteQueriesLegacyRequest, sql.DeleteQueryVisualizationsLegacyRequest, sql.DeleteVisualizationRequest,
any
, sql.EncodedText, sql.EncodedTextEncoding, sql.EnumValue, sql.GetAlertsLegacyRequest, sql.GetQueriesLegacyRequest, sql.LegacyAlert, sql.LegacyAlertState, sql.LegacyQuery, sql.LegacyVisualization, sql.LifecycleState, sql.ListAlertsRequest, sql.ListAlertsResponse, sql.ListAlertsResponseAlert, sql.ListQueriesLegacyRequest, sql.ListQueryObjectsResponse, sql.ListQueryObjectsResponseQuery, sql.ListVisualizationsForQueryRequest, sql.ListVisualizationsForQueryResponse, sql.NumericValue, sql.QueryBackedValue, sql.QueryParameter, sql.QuerySource, sql.QuerySourceDriverInfo, sql.QuerySourceEntryPoint, sql.QuerySourceJobManager, sql.QuerySourceTrigger, sql.RestoreQueriesLegacyRequest, sql.RunAsMode, sql.ServerlessChannelInfo, sql.StatementResponse, sql.TextValue, sql.TrashAlertRequest, sql.TrashQueryRequest, sql.UpdateAlertRequest, sql.UpdateAlertRequestAlert, sql.UpdateQueryRequest, sql.UpdateQueryRequestQuery, sql.UpdateVisualizationRequest and sql.UpdateVisualizationRequestVisualization. - Added
Force
field for catalog.DeleteSchemaRequest. - Added
MaxResults
andPageToken
fields for catalog.GetBindingsRequest. - Added
IncludeAliases
field for catalog.GetByAliasRequest. - Added
IncludeAliases
field for catalog.GetModelVersionRequest. - Added
IncludeAliases
field for catalog.GetRegisteredModelRequest. - Added
MaxResults
andPageToken
fields for catalog.ListSystemSchemasRequest. - Added
NextPageToken
field for catalog.ListSystemSchemasResponse. - Added
Aliases
field for catalog.ModelVersionInfo. - Added
NextPageToken
field for catalog.WorkspaceBindingsResponse. - Added
Version
field for compute.GetPolicyFamilyRequest. - Added
FilterBy
,PageSize
,PageToken
andSortBy
fields for compute.ListClustersRequest. - Added
NextPageToken
andPrevPageToken
fields for compute.ListClustersResponse. - Added
PageToken
field for jobs.GetRunRequest. - Added
Iterations
,NextPageToken
andPrevPageToken
fields for jobs.Run. - Added
CreateTime
,CreatedBy
,CreatorUsername
andScopes
fields for oauth2.GetCustomAppIntegrationOutput. - Added
NextPageToken
field for oauth2.GetCustomAppIntegrationsOutput. - Added
CreateTime
andCreatedBy
fields for oauth2.GetPublishedAppIntegrationOutput. - Added
NextPageToken
field for oauth2.GetPublishedAppIntegrationsOutput. - Added
EnableLocalDiskEncryption
field for pipelines.PipelineCluster. - Added
Whl
field for pipelines.PipelineLibrary. - Added
Health
field for pipelines.PipelineStateInfo. - Added
Ai21labsApiKeyPlaintext
field for serving.Ai21LabsConfig. - Added
AwsAccessKeyIdPlaintext
andAwsSecretAccessKeyPlaintext
fields for serving.AmazonBedrockConfig. - Added
AnthropicApiKeyPlaintext
field for serving.AnthropicConfig. - Added
CohereApiBase
andCohereApiKeyPlaintext
fields for serving.CohereConfig. - Added
DatabricksApiTokenPlaintext
field for serving.DatabricksModelServingConfig. - Added
GoogleCloudVertexAiConfig
field for serving.ExternalModel. - Added
MicrosoftEntraClientSecretPlaintext
andOpenaiApiKeyPlaintext
fields for serving.OpenAiConfig. - Added
PalmApiKeyPlaintext
field for serving.PaLmConfig. - Added
ExpirationTime
field for sharing.CreateRecipient. - Added
NextPageToken
field for sharing.GetRecipientSharePermissionsResponse. - Added
NextPageToken
field for sharing.ListProviderSharesResponse. - Added
MaxResults
andPageToken
fields for sharing.ListProvidersRequest. - Added
NextPageToken
field for sharing.ListProvidersResponse. - Added
MaxResults
andPageToken
fields for sharing.ListRecipientsRequest. - Added
NextPageToken
field for sharing.ListRecipientsResponse. - Added
MaxResults
andPageToken
fields for sharing.ListSharesRequest. - Added
NextPageToken
field for sharing.ListSharesResponse. - Added
MaxResults
andPageToken
fields for sharing.SharePermissionsRequest. - Added
ExpirationTime
field for sharing.UpdateRecipient. - Added
MaxResults
andPageToken
fields for sharing.UpdateSharePermissions. - Added
Condition
,CreateTime
,CustomBody
,CustomSubject
,DisplayName
,LifecycleState
,OwnerUserName
,ParentPath
,QueryId
,SecondsToRetrigger
,TriggerTime
andUpdateTime
fields for sql.Alert. - Added
Id
field for sql.GetAlertRequest. - Added
Id
field for sql.GetQueryRequest. - Added
PageToken
field for sql.ListQueriesRequest. - Added
ApplyAutoLimit
,Catalog
,CreateTime
,DisplayName
,LastModifierUserName
,LifecycleState
,OwnerUserName
,Parameters
,ParentPath
,QueryText
,RunAsMode
,Schema
,UpdateTime
andWarehouseId
fields for sql.Query. - Added
ContextFilter
field for sql.QueryFilter. - Added
QuerySource
field for sql.QueryInfo. - Added
CreateTime
,DisplayName
,QueryId
,SerializedOptions
,SerializedQueryPlan
andUpdateTime
fields for sql.Visualization. - Changed
Create
method for a.Budgets account-level service to return billing.CreateBudgetConfigurationResponse. - Changed
Create
method for a.Budgets account-level service . New request type is billing.CreateBudgetConfigurationRequest. - Changed
Delete
method for a.Budgets account-level service . New request type is billing.DeleteBudgetConfigurationRequest. - Changed
Delete
method for a.Budgets account-level service to returnany
. - Changed
Get
method for a.Budgets account-level service to return billing.GetBudgetConfigurationResponse. - Changed
Get
method for a.Budgets account-level service . New request type is billing.GetBudgetConfigurationRequest. - Changed
List
method for a.Budgets account-level service to return billing.ListBudgetConfigurationsResponse. - Changed
List
method for a.Budgets account-level service to require request of billing.ListBudgetConfigurationsRequest. - Changed
Update
method for a.Budgets account-level service . New request type is billing.UpdateBudgetConfigurationRequest. - Changed
Update
method for a.Budgets account-level service to return billing.UpdateBudgetConfigurationResponse. - Changed
Create
method for a.CustomAppIntegration account-level service with new required argument order. - Changed
List
method for a.CustomAppIntegration account-level service to require request of oauth2.ListCustomAppIntegrationsRequest. - Changed
List
method for a.PublishedAppIntegration account-level service to require request of oauth2.ListPublishedAppIntegrationsRequest. - Changed
Delete
method for a.WorkspaceAssignment account-level service to returnany
. - Changed
Update
method for a.WorkspaceAssignment account-level service with new required argument order. - Changed
Create
method for w.Alerts workspace-level service . New request type is sql.CreateAlertRequest. - Changed
Delete
method for w.Alerts workspace-level service . New request type is sql.TrashAlertRequest. - Changed
Delete
method for w.Alerts workspace-level service to returnany
. - Changed
Get
method for w.Alerts workspace-level service with new required argument order. - Changed
List
method for w.Alerts workspace-level service to require request of sql.ListAlertsRequest. - Changed
List
method for w.Alerts workspace-level service to return sql.ListAlertsResponse. - Changed
Update
method for w.Alerts workspace-level service . New request type is sql.UpdateAlertRequest. - Changed
Update
method for w.Alerts workspace-level service to return sql.Alert. - Changed
Create
andEdit
methods for w.ClusterPolicies workspace-level service with new required argument order. - Changed
Get
method for w.ModelVersions workspace-level service to return catalog.ModelVersionInfo. - Changed
MigratePermissions
method for w.PermissionMigration workspace-level service to return iam.MigratePermissionsResponse. - Changed
MigratePermissions
method for w.PermissionMigration workspace-level service . New request type is iam.MigratePermissionsRequest. - Changed
Create
method for w.Queries workspace-level service . New request type is sql.CreateQueryRequest. - Changed
Delete
method for w.Queries workspace-level service . New request type is sql.TrashQueryRequest. - Changed
Delete
method for w.Queries workspace-level service to returnany
. - Changed
Get
method for w.Queries workspace-level service with new required argument order. - Changed
List
method for w.Queries workspace-level service to return sql.ListQueryObjectsResponse. - Changed
Update
method for w.Queries workspace-level service . New request type is sql.UpdateQueryRequest. - Changed
Create
method for w.QueryVisualizations workspace-level service . New request type is sql.CreateVisualizationRequest. - Changed
Delete
method for w.QueryVisualizations workspace-level service . New request type is sql.DeleteVisualizationRequest. - Changed
Delete
method for w.QueryVisualizations workspace-level service to returnany
. - Changed
Update
method for w.QueryVisualizations workspace-level service . New request type is sql.UpdateVisualizationRequest. - Changed
List
method for w.Shares workspace-level service to require request of sharing.ListSharesRequest. - Changed
ExecuteStatement
andGetStatement
methods for w.StatementExecution workspace-level service to return sql.StatementResponse. - Changed
SecurableType
field for catalog.GetBindingsRequest to catalog.GetBindingsSecurableType. - Changed
SecurableType
field for catalog.UpdateWorkspaceBindingsParameters to catalog.UpdateBindingsSecurableType. - Changed
Name
field for compute.CreatePolicy to no longer be required. - Changed
Name
field for compute.EditPolicy to no longer be required. - Changed
PolicyFamilyId
field for compute.GetPolicyFamilyRequest tostring
. - Changed
PolicyFamilies
field for compute.ListPolicyFamiliesResponse to no longer be required. - Changed
Definition
,Description
,Name
andPolicyFamilyId
fields for compute.PolicyFamily to no longer be required. - Changed
Permissions
field for iam.UpdateWorkspaceAssignments to no longer be required. - Changed
AccessControlList
field for jobs.CreateJob to jobs.JobAccessControlRequestList. - Changed
AccessControlList
field for jobs.SubmitRun to jobs.JobAccessControlRequestList. - Changed
Name
andRedirectUrls
fields for oauth2.CreateCustomAppIntegration to no longer be required. - Changed
IngestionDefinition
field for pipelines.CreatePipeline to pipelines.IngestionPipelineDefinition. - Changed
IngestionDefinition
field for pipelines.EditPipeline to pipelines.IngestionPipelineDefinition. - Changed
IngestionDefinition
field for pipelines.PipelineSpec to pipelines.IngestionPipelineDefinition. - Changed
Ai21labsApiKey
field for serving.Ai21LabsConfig to no longer be required. - Changed
AwsAccessKeyId
andAwsSecretAccessKey
fields for serving.AmazonBedrockConfig to no longer be required. - Changed
AnthropicApiKey
field for serving.AnthropicConfig to no longer be required. - Changed
CohereApiKey
field for serving.CohereConfig to no longer be required. - Changed
DatabricksApiToken
field for serving.DatabricksModelServingConfig to no longer be required. - Changed
PalmApiKey
field for serving.PaLmConfig to no longer be required. - Changed
Tags
field for sql.Query to sql.List. - Changed
UserIds
andWarehouseIds
fields for sql.QueryFilter to sql.List. - Changed
Results
field for sql.QueryList to sql.LegacyQueryList. - Changed
Visualization
field for sql.Widget to sql.LegacyVisualization. - Removed w.Apps workspace-level service.
- Removed
Restore
method for w.Queries workspace-level service. - Removed marketplace.FilterType, marketplace.ProviderIconFile, marketplace.ProviderIconType, marketplace.ProviderListingSummaryInfo, marketplace.SortBy and marketplace.VisibilityFilter.
- Removed billing.Budget, billing.BudgetAlert, billing.BudgetList, billing.BudgetWithStatus, billing.BudgetWithStatusStatusDailyItem, billing.DeleteBudgetRequest,
any
, billing.GetBudgetRequest,any
, billing.WrappedBudget and billing.WrappedBudgetWithStatus. - Removed
any
, iam.PermissionMigrationRequest and iam.PermissionMigrationResponse. - Removed pipelines.ManagedIngestionPipelineDefinition.
- Removed serving.App, serving.AppDeployment, serving.AppDeploymentArtifacts, serving.AppDeploymentMode, serving.AppDeploymentState, serving.AppDeploymentStatus, serving.AppEnvironment, serving.AppState, serving.AppStatus, serving.CreateAppDeploymentRequest, serving.CreateAppRequest, serving.DeleteAppRequest, serving.EnvVariable, serving.GetAppDeploymentRequest, serving.GetAppEnvironmentRequest, serving.GetAppRequest, serving.ListAppDeploymentsRequest, serving.ListAppDeploymentsResponse, serving.ListAppsRequest, serving.ListAppsResponse, serving.StartAppRequest, serving.StopAppRequest,
any
and serving.UpdateAppRequest. - Removed sql.CreateQueryVisualizationRequest, sql.DeleteAlertRequest, sql.DeleteQueryRequest, sql.DeleteQueryVisualizationRequest, sql.ExecuteStatementResponse, sql.GetStatementResponse, sql.RestoreQueryRequest, sql.StatementId, sql.UserId and sql.WarehouseId.
- Removed compute.PolicyFamilyId.
- Removed
CanUseClient
field for compute.ListClustersRequest. - Removed
IsAscending
andSortBy
fields for marketplace.ListListingsRequest. - Removed
ProviderSummary
field for marketplace.Listing. - Removed
Filters
field for marketplace.ListingSetting. - Removed
MetastoreId
field for marketplace.ListingSummary. - Removed
IsAscending
andSortBy
fields for marketplace.SearchListingsRequest. - Removed
CreatedAt
,LastTriggeredAt
,Name
,Options
,Parent
,Query
,Rearm
,UpdatedAt
andUser
fields for sql.Alert. - Removed
AlertId
field for sql.GetAlertRequest. - Removed
QueryId
field for sql.GetQueryRequest. - Removed
Order
,Page
andQ
fields for sql.ListQueriesRequest. - Removed
IncludeMetrics
field for sql.ListQueryHistoryRequest. - Removed
CanEdit
,CreatedAt
,DataSourceId
,IsArchived
,IsDraft
,IsFavorite
,IsSafe
,LastModifiedBy
,LastModifiedById
,LatestQueryDataId
,Name
,Options
,Parent
,PermissionTier
,Query
,QueryHash
,RunAsRole
,UpdatedAt
,User
,UserId
andVisualizations
fields for sql.Query. - Removed
StatementIds
field for sql.QueryFilter. - Removed
CanSubscribeToLiveQuery
field for sql.QueryInfo. - Removed
MetadataTimeMs
,PlanningTimeMs
andQueryExecutionTimeMs
fields for sql.QueryMetrics. - Removed
CreatedAt
,Description
,Name
,Options
,Query
andUpdatedAt
fields for sql.Visualization.
OpenAPI SHA: f98c07f9c71f579de65d2587bb0292f83d10e55d, Date: 2024-08-12