From 2cd8728dd803cb4b258d903125267e8d0ea187c0 Mon Sep 17 00:00:00 2001 From: "databricks-ci-ghec-1[bot]" <184311507+databricks-ci-ghec-1[bot]@users.noreply.github.com> Date: Wed, 16 Sep 2026 03:43:44 +0000 Subject: [PATCH] Update SDK to 5c5ba67b19bb31f9cbfffa3ce267955c8141ed40 --- .codegen/_openapi_sha | 2 +- NEXT_CHANGELOG.md | 1 + service/apps/model.go | 4 +--- service/jobs/model.go | 14 ++++++++------ service/ml/api.go | 4 ++++ service/ml/interface.go | 5 +++++ service/pipelines/model.go | 5 +++++ 7 files changed, 25 insertions(+), 10 deletions(-) diff --git a/.codegen/_openapi_sha b/.codegen/_openapi_sha index 61d41fc77..a92ff0f06 100644 --- a/.codegen/_openapi_sha +++ b/.codegen/_openapi_sha @@ -1 +1 @@ -e591a35119560777a1a6ce9ea7e2fe2d30ac1161 \ No newline at end of file +5c5ba67b19bb31f9cbfffa3ce267955c8141ed40 \ No newline at end of file diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index 2ca4ae9e0..e73c38e32 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -13,3 +13,4 @@ ### Internal Changes ### API Changes +* Add `GroupName` field for [pipelines.RunAs](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/pipelines#RunAs). \ No newline at end of file diff --git a/service/apps/model.go b/service/apps/model.go index 753637d2a..1e422a3f3 100644 --- a/service/apps/model.go +++ b/service/apps/model.go @@ -1725,9 +1725,7 @@ func (f *ComputeState) Type() string { } type ComputeStatus struct { - // The number of compute instances currently serving requests for this - // application. An instance is considered active if it is reachable and - // ready to handle requests. + // The number of compute instances used and billed for this application. ActiveInstances int `json:"active_instances,omitempty"` // Compute status message Message string `json:"message,omitempty"` diff --git a/service/jobs/model.go b/service/jobs/model.go index ac9c8ea3b..848327ae8 100644 --- a/service/jobs/model.go +++ b/service/jobs/model.go @@ -2671,14 +2671,16 @@ func (s *JobPermissionsRequest) UnmarshalJSON(b []byte) error { return marshal.Unmarshal(b, s) } -// Write-only setting. Specifies the user or service principal that the job runs -// as. If not specified, the job runs as the user who created the job. +// Write-only setting. Specifies the user, service principal, or group that the +// job runs as. If not specified, the job runs as the user who created the job. // -// Either `user_name` or `service_principal_name` should be specified. If not, -// an error is thrown. +// One of `user_name`, `service_principal_name`, or `group_name` should be +// specified. If not, an error is thrown. type JobRunAs struct { - // Group name of an account group assigned to the workspace. Setting this - // field requires being a member of the group. + // Group name of an account group assigned to the workspace. When set, all + // tasks run as the group and the group's permissions are used for data + // access. Setting this field requires being a member of the group, or + // having the `Assume` permission on the group. GroupName string `json:"group_name,omitempty"` // Application ID of an active service principal. Setting this field // requires the `servicePrincipal/user` role. diff --git a/service/ml/api.go b/service/ml/api.go index c34fc5a7f..3fbcda1c2 100644 --- a/service/ml/api.go +++ b/service/ml/api.go @@ -832,6 +832,10 @@ type FeatureStoreInterface interface { PublishTable(ctx context.Context, request PublishTableRequest) (*PublishTableResponse, error) // Update an Online Feature Store. + // + // This update is not guaranteed to be atomic: when a request changes multiple + // fields, some may be applied while others fail. On a failed response, treat + // the update as partially applied and retry until it succeeds. UpdateOnlineStore(ctx context.Context, request UpdateOnlineStoreRequest) (*OnlineStore, error) } diff --git a/service/ml/interface.go b/service/ml/interface.go index a2f43bcf6..9c727d743 100644 --- a/service/ml/interface.go +++ b/service/ml/interface.go @@ -373,6 +373,11 @@ type FeatureStoreService interface { PublishTable(ctx context.Context, request PublishTableRequest) (*PublishTableResponse, error) // Update an Online Feature Store. + // + // This update is not guaranteed to be atomic: when a request changes + // multiple fields, some may be applied while others fail. On a failed + // response, treat the update as partially applied and retry until it + // succeeds. UpdateOnlineStore(ctx context.Context, request UpdateOnlineStoreRequest) (*OnlineStore, error) } diff --git a/service/pipelines/model.go b/service/pipelines/model.go index ad4f3bbcd..58472c93e 100644 --- a/service/pipelines/model.go +++ b/service/pipelines/model.go @@ -3321,6 +3321,11 @@ func (s RewindSpec) MarshalJSON() ([]byte, error) { // Only `user_name` or `service_principal_name` can be specified. If both are // specified, an error is thrown. type RunAs struct { + // Group name of an account group assigned to the workspace. When set, the + // pipeline runs as the group and the group's permissions are used for data + // access. Setting this field requires being a member of the group, or + // having the `Assume` permission on the group. + GroupName string `json:"group_name,omitempty"` // Application ID of an active service principal. Setting this field // requires the `servicePrincipal/user` role. ServicePrincipalName string `json:"service_principal_name,omitempty"`