Skip to content

Added Config.GetAuthDetails#838

Merged
andrewnester merged 5 commits intomainfrom
improve-auth-details
Mar 8, 2024
Merged

Added Config.GetAuthDetails#838
andrewnester merged 5 commits intomainfrom
improve-auth-details

Conversation

@andrewnester
Copy link
Copy Markdown
Contributor

@andrewnester andrewnester commented Feb 29, 2024

Changes

Added Config.GetAuthDetails and use it in config debug string

Needed for databricks/cli#1244

Tests

  • make test passing
  • make fmt applied
  • relevant integration tests applied

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 29, 2024

Codecov Report

Attention: Patch coverage is 87.73585% with 13 lines in your changes are missing coverage. Please review.

Project coverage is 8.03%. Comparing base (28be042) to head (8657931).
Report is 5 commits behind head on main.

Files Patch % Lines
config/config_auth_details.go 87.67% 7 Missing and 2 partials ⚠️
config/config_attributes.go 80.95% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #838       +/-   ##
==========================================
- Coverage   18.33%   8.03%   -10.31%     
==========================================
  Files         118     257      +139     
  Lines       22166   63983    +41817     
==========================================
+ Hits         4064    5139     +1075     
- Misses      17851   58549    +40698     
- Partials      251     295       +44     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Copy Markdown
Contributor

@pietern pietern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand why the additional auth_group tag is needed. When I read the comment in the struct I kind of get it, but then I don't see where it has an effect in the rest of the PR. For example, in the Validate function the code falls back to using the AuthGroup field and the result is the same as before this PR. Am I missing anything?

@andrewnester andrewnester requested a review from pietern March 4, 2024 14:26
@andrewnester andrewnester changed the title Added source tracking for config attributes Added Config.GetAuthDetails and use it in config debug string Mar 4, 2024
@andrewnester andrewnester changed the title Added Config.GetAuthDetails and use it in config debug string Added Config.GetAuthDetails Mar 4, 2024
@andrewnester andrewnester requested a review from pietern March 4, 2024 16:45
@pietern
Copy link
Copy Markdown
Contributor

pietern commented Mar 4, 2024

@mgyucht Could you take a look at this as well?

@andrewnester andrewnester requested a review from pietern March 5, 2024 09:46
Copy link
Copy Markdown
Contributor

@pietern pietern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! Will defer to @mgyucht for the stamp.

continue
}
err := attr.SetS(cfg, v)
cfg.SetAttrSource(&attr, Source{Type: SourceEnv, Name: envName})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strictly speaking, this should only be set after the error check.

Copy link
Copy Markdown
Contributor

@mgyucht mgyucht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small comment, but otherwise LGTM. Thanks for doing this! We'll need to update the error logging to take advantage of this change.

}
}

func (c *Config) SetAttrSource(attr *ConfigAttribute, source Source) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be public?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mgyucht yes, it's being used in CLI to set a different attribute source which does not exist in SDK (bundle to be specifc)

@andrewnester andrewnester added this pull request to the merge queue Mar 8, 2024
Merged via the queue into main with commit bc9b34e Mar 8, 2024
@andrewnester andrewnester deleted the improve-auth-details branch March 8, 2024 11:05
mgyucht added a commit that referenced this pull request Mar 19, 2024
* Added Config.GetAuthDetails ([#838](#838)).
* Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION ([#854](#854)).

### Test Fixes

* Fix TestUcAccShares ([#858](#858)).

### Internal Changes

* Add telemetry for SDK usage from DBR ([#851](#851)).

API Changes:

 * Changed `List` method for [w.Catalogs](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogsAPI) workspace-level service to require request of [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest).
 * Changed `Create` method for [w.OnlineTables](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#OnlineTablesAPI) workspace-level service . New request type is [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest).
 * Removed [catalog.AwsIamRole](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRole).
 * Changed `Notifications` field for [catalog.CreateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Changed `AwsIamRole` field for [catalog.CreateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Added `IncludeBrowse` field for [catalog.GetCatalogRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetCatalogRequest), [catalog.GetExternalLocationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetExternalLocationRequest), [catalog.GetFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetFunctionRequest), [catalog.GetModelVersionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetModelVersionRequest), [catalog.GetRegisteredModelRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetRegisteredModelRequest), [catalog.GetSchemaRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetSchemaRequest), [catalog.GetTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetTableRequest), [catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest), [catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest), [catalog.ListModelVersionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListModelVersionsRequest), [catalog.ListRegisteredModelsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListRegisteredModelsRequest), [catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest), [catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest), [catalog.ListVolumesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListVolumesRequest), and [catalog.ReadVolumeRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ReadVolumeRequest).
 * Added `BrowseOnly` field for [catalog.ModelVersionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ModelVersionInfo), [catalog.RegisteredModelInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#RegisteredModelInfo), [catalog.SchemaInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#SchemaInfo), [catalog.TableInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TableInfo), [catalog.VolumeInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#VolumeInfo), [catalog.ExternalLocationInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationInfo), and [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo).
 * Changed `Notifications` field for [catalog.MonitorInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorInfo) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Changed `AwsIamRole` field for [catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo) to [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse).
 * Changed `Notifications` field for [catalog.UpdateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Changed `AwsIamRole` field for [catalog.UpdateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Changed `AwsIamRole` field for [catalog.ValidateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Removed [catalog.ViewData](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ViewData).
 * Added [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Added [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse).
 * Added [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest).
 * Added [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest).
 * Changed `Publish` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service to return [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard).
 * Added `Create` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Get` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `GetPublished` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Trash` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Update` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Removed `any`.
 * Added [dashboards.CreateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateDashboardRequest).
 * Added [dashboards.Dashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Dashboard).
 * Added [dashboards.GetLakeviewRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetLakeviewRequest).
 * Added [dashboards.GetPublishedRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetPublishedRequest).
 * Added [dashboards.LifecycleState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LifecycleState).
 * Added [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard).
 * Added `any`.
 * Added [dashboards.TrashRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#TrashRequest).
 * Added [dashboards.UpdateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#UpdateDashboardRequest).
 * Added `ScoreThreshold` field for [vectorsearch.QueryVectorIndexRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexRequest).

OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19
Dependency updates:

 * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog ([#855](#855)).
 * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog ([#856](#856)).
 * Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 ([#857](#857)).
 * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ([#840](#840)).
 * Bump golang.org/x/mod from 0.15.0 to 0.16.0 ([#843](#843)).
 * Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 ([#845](#845)).
 * Bump google.golang.org/api from 0.166.0 to 0.169.0 ([#849](#849)).
mgyucht added a commit that referenced this pull request Mar 19, 2024
* Added Config.GetAuthDetails ([#838](#838)).
* Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION ([#854](#854)).
* Fix TestUcAccShares ([#858](#858)).
* Add telemetry for SDK usage from DBR ([#851](#851)).

API Changes:

 * Changed `List` method for [w.Catalogs](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogsAPI) workspace-level service to require request of [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest).
 * Changed `Create` method for [w.OnlineTables](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#OnlineTablesAPI) workspace-level service . New request type is [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest).
 * Removed [catalog.AwsIamRole](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRole).
 * Changed `Notifications` field for [catalog.CreateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Changed `AwsIamRole` field for [catalog.CreateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Added `BrowseOnly` field for [catalog.ExternalLocationInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationInfo).
 * Added `BrowseOnly` field for [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo).
 * Added `IncludeBrowse` field for [catalog.GetCatalogRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetCatalogRequest).
 * Added `IncludeBrowse` field for [catalog.GetExternalLocationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetExternalLocationRequest).
 * Added `IncludeBrowse` field for [catalog.GetFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetFunctionRequest).
 * Added `IncludeBrowse` field for [catalog.GetModelVersionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetModelVersionRequest).
 * Added `IncludeBrowse` field for [catalog.GetRegisteredModelRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetRegisteredModelRequest).
 * Added `IncludeBrowse` field for [catalog.GetSchemaRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetSchemaRequest).
 * Added `IncludeBrowse` field for [catalog.GetTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetTableRequest).
 * Added `IncludeBrowse` field for [catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest).
 * Added `IncludeBrowse` field for [catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest).
 * Added `IncludeBrowse` field for [catalog.ListModelVersionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListModelVersionsRequest).
 * Added `IncludeBrowse` field for [catalog.ListRegisteredModelsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListRegisteredModelsRequest).
 * Added `IncludeBrowse` field for [catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest).
 * Added `IncludeBrowse` field for [catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest).
 * Added `IncludeBrowse` field for [catalog.ListVolumesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListVolumesRequest).
 * Added `BrowseOnly` field for [catalog.ModelVersionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ModelVersionInfo).
 * Changed `Notifications` field for [catalog.MonitorInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorInfo) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Added `IncludeBrowse` field for [catalog.ReadVolumeRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ReadVolumeRequest).
 * Added `BrowseOnly` field for [catalog.RegisteredModelInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#RegisteredModelInfo).
 * Added `BrowseOnly` field for [catalog.SchemaInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#SchemaInfo).
 * Changed `AwsIamRole` field for [catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo) to [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse).
 * Added `BrowseOnly` field for [catalog.TableInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TableInfo).
 * Changed `Notifications` field for [catalog.UpdateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Changed `AwsIamRole` field for [catalog.UpdateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Changed `AwsIamRole` field for [catalog.ValidateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Removed [catalog.ViewData](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ViewData).
 * Added `BrowseOnly` field for [catalog.VolumeInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#VolumeInfo).
 * Added [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Added [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse).
 * Added [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest).
 * Added [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest).
 * Changed `Publish` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service to return [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard).
 * Added `Create` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Get` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `GetPublished` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Trash` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Update` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Removed `any`.
 * Added [dashboards.CreateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateDashboardRequest).
 * Added [dashboards.Dashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Dashboard).
 * Added [dashboards.GetLakeviewRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetLakeviewRequest).
 * Added [dashboards.GetPublishedRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetPublishedRequest).
 * Added [dashboards.LifecycleState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LifecycleState).
 * Added [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard).
 * Added `any`.
 * Added [dashboards.TrashRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#TrashRequest).
 * Added [dashboards.UpdateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#UpdateDashboardRequest).
 * Added `ScoreThreshold` field for [vectorsearch.QueryVectorIndexRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexRequest).

OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19
Dependency updates:

 * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog ([#855](#855)).
 * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog ([#856](#856)).
 * Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 ([#857](#857)).
 * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ([#840](#840)).
 * Bump golang.org/x/mod from 0.15.0 to 0.16.0 ([#843](#843)).
 * Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 ([#845](#845)).
 * Bump google.golang.org/api from 0.166.0 to 0.169.0 ([#849](#849)).
mgyucht added a commit that referenced this pull request Mar 19, 2024
* Added Config.GetAuthDetails ([#838](#838)).
* Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION ([#854](#854)).

### Internal Changes

* Add telemetry for SDK usage from DBR ([#851](#851)).

### Test Fixes

* Fix TestUcAccShares ([#858](#858)).

API Changes:

 * Changed `List` method for [w.Catalogs](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogsAPI) workspace-level service to require request of [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest).
 * Changed `Create` method for [w.OnlineTables](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#OnlineTablesAPI) workspace-level service . New request type is [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest).
 * Removed [catalog.AwsIamRole](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRole).
 * Changed `AwsIamRole` field for [catalog.CreateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Changed `AwsIamRole` field for [catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo) to [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse).
 * Changed `AwsIamRole` field for [catalog.UpdateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Changed `AwsIamRole` field for [catalog.ValidateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Changed `Notifications` field for [catalog.CreateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Changed `Notifications` field for [catalog.UpdateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Changed `Notifications` field for [catalog.MonitorInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorInfo) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Added `IncludeBrowse` field for [catalog.GetCatalogRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetCatalogRequest), [catalog.GetExternalLocationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetExternalLocationRequest), [catalog.GetFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetFunctionRequest), [catalog.GetModelVersionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetModelVersionRequest), [catalog.GetRegisteredModelRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetRegisteredModelRequest), [catalog.GetSchemaRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetSchemaRequest), [catalog.GetTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetTableRequest), [catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest), [catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest), [catalog.ListModelVersionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListModelVersionsRequest), [catalog.ListRegisteredModelsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListRegisteredModelsRequest), [catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest), [catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest), [catalog.ListVolumesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListVolumesRequest), and [catalog.ReadVolumeRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ReadVolumeRequest).
 * Added `BrowseOnly` field for [catalog.ExternalLocationInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationInfo), [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo), [catalog.ModelVersionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ModelVersionInfo), [catalog.RegisteredModelInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#RegisteredModelInfo), [catalog.SchemaInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#SchemaInfo), [catalog.TableInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TableInfo), and [catalog.VolumeInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#VolumeInfo).
 * Removed [catalog.ViewData](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ViewData).
 * Added [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Added [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse).
 * Added [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest).
 * Added [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest).
 * Changed `Publish` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service to return [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard).
 * Added `Create` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Get` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `GetPublished` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Trash` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Update` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added [dashboards.CreateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateDashboardRequest).
 * Added [dashboards.Dashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Dashboard).
 * Added [dashboards.GetLakeviewRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetLakeviewRequest).
 * Added [dashboards.GetPublishedRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetPublishedRequest).
 * Added [dashboards.LifecycleState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LifecycleState).
 * Added [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard).
 * Added [dashboards.TrashRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#TrashRequest).
 * Added [dashboards.UpdateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#UpdateDashboardRequest).
 * Added `ScoreThreshold` field for [vectorsearch.QueryVectorIndexRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexRequest).

OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19
Dependency updates:

 * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog ([#855](#855)).
 * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog ([#856](#856)).
 * Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 ([#857](#857)).
 * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ([#840](#840)).
 * Bump golang.org/x/mod from 0.15.0 to 0.16.0 ([#843](#843)).
 * Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 ([#845](#845)).
 * Bump google.golang.org/api from 0.166.0 to 0.169.0 ([#849](#849)).
mgyucht added a commit that referenced this pull request Mar 19, 2024
* Added Config.GetAuthDetails ([#838](#838)).
* Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION ([#854](#854)).

### Internal Changes

* Add telemetry for SDK usage from DBR ([#851](#851)).

### Test Fixes

* Fix TestUcAccShares ([#858](#858)).

API Changes:

 * Changed `List` method for [w.Catalogs](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogsAPI) workspace-level service to require request of [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest).
 * Changed `Create` method for [w.OnlineTables](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#OnlineTablesAPI) workspace-level service . New request type is [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest).
 * Removed [catalog.AwsIamRole](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRole).
 * Changed `AwsIamRole` field for [catalog.CreateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Changed `AwsIamRole` field for [catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo) to [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse).
 * Changed `AwsIamRole` field for [catalog.UpdateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Changed `AwsIamRole` field for [catalog.ValidateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Changed `Notifications` field for [catalog.CreateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Changed `Notifications` field for [catalog.UpdateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Changed `Notifications` field for [catalog.MonitorInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorInfo) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Added `IncludeBrowse` field for [catalog.GetCatalogRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetCatalogRequest), [catalog.GetExternalLocationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetExternalLocationRequest), [catalog.GetFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetFunctionRequest), [catalog.GetModelVersionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetModelVersionRequest), [catalog.GetRegisteredModelRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetRegisteredModelRequest), [catalog.GetSchemaRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetSchemaRequest), [catalog.GetTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetTableRequest), [catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest), [catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest), [catalog.ListModelVersionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListModelVersionsRequest), [catalog.ListRegisteredModelsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListRegisteredModelsRequest), [catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest), [catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest), [catalog.ListVolumesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListVolumesRequest), and [catalog.ReadVolumeRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ReadVolumeRequest).
 * Added `BrowseOnly` field for [catalog.ExternalLocationInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationInfo), [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo), [catalog.ModelVersionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ModelVersionInfo), [catalog.RegisteredModelInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#RegisteredModelInfo), [catalog.SchemaInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#SchemaInfo), [catalog.TableInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TableInfo), and [catalog.VolumeInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#VolumeInfo).
 * Removed [catalog.ViewData](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ViewData).
 * Added [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Added [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse).
 * Added [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest).
 * Added [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest).
 * Changed `Publish` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service to return [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard).
 * Added `Create` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Get` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `GetPublished` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Trash` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Update` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added [dashboards.CreateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateDashboardRequest).
 * Added [dashboards.Dashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Dashboard).
 * Added [dashboards.GetLakeviewRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetLakeviewRequest).
 * Added [dashboards.GetPublishedRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetPublishedRequest).
 * Added [dashboards.LifecycleState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LifecycleState).
 * Added [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard).
 * Added [dashboards.TrashRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#TrashRequest).
 * Added [dashboards.UpdateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#UpdateDashboardRequest).
 * Added `ScoreThreshold` field for [vectorsearch.QueryVectorIndexRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexRequest).

OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19
Dependency updates:

 * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog ([#855](#855)).
 * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog ([#856](#856)).
 * Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 ([#857](#857)).
 * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ([#840](#840)).
 * Bump golang.org/x/mod from 0.15.0 to 0.16.0 ([#843](#843)).
 * Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 ([#845](#845)).
 * Bump google.golang.org/api from 0.166.0 to 0.169.0 ([#849](#849)).
@mgyucht mgyucht mentioned this pull request Mar 19, 2024
mgyucht added a commit that referenced this pull request Mar 19, 2024
* Added Config.GetAuthDetails ([#838](#838)).
* Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION ([#854](#854)).

### Internal Changes

* Add telemetry for SDK usage from DBR ([#851](#851)).

### Test Fixes

* Fix TestUcAccShares ([#858](#858)).

API Changes:

 * Changed `List` method for [w.Catalogs](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogsAPI) workspace-level service to require request of [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest).
 * Changed `Create` method for [w.OnlineTables](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#OnlineTablesAPI) workspace-level service . New request type is [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest).
 * Removed [catalog.AwsIamRole](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRole).
 * Changed `AwsIamRole` field for [catalog.CreateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Changed `AwsIamRole` field for [catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo) to [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse).
 * Changed `AwsIamRole` field for [catalog.UpdateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Changed `AwsIamRole` field for [catalog.ValidateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Changed `Notifications` field for [catalog.CreateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Changed `Notifications` field for [catalog.UpdateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Changed `Notifications` field for [catalog.MonitorInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorInfo) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Added `IncludeBrowse` field for [catalog.GetCatalogRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetCatalogRequest), [catalog.GetExternalLocationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetExternalLocationRequest), [catalog.GetFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetFunctionRequest), [catalog.GetModelVersionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetModelVersionRequest), [catalog.GetRegisteredModelRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetRegisteredModelRequest), [catalog.GetSchemaRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetSchemaRequest), [catalog.GetTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetTableRequest), [catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest), [catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest), [catalog.ListModelVersionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListModelVersionsRequest), [catalog.ListRegisteredModelsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListRegisteredModelsRequest), [catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest), [catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest), [catalog.ListVolumesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListVolumesRequest), and [catalog.ReadVolumeRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ReadVolumeRequest).
 * Added `BrowseOnly` field for [catalog.ExternalLocationInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationInfo), [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo), [catalog.ModelVersionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ModelVersionInfo), [catalog.RegisteredModelInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#RegisteredModelInfo), [catalog.SchemaInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#SchemaInfo), [catalog.TableInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TableInfo), and [catalog.VolumeInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#VolumeInfo).
 * Removed [catalog.ViewData](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ViewData).
 * Added [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Added [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse).
 * Added [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest).
 * Added [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest).
 * Changed `Publish` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service to return [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard).
 * Added `Create` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Get` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `GetPublished` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Trash` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Update` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added [dashboards.CreateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateDashboardRequest).
 * Added [dashboards.Dashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Dashboard).
 * Added [dashboards.GetLakeviewRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetLakeviewRequest).
 * Added [dashboards.GetPublishedRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetPublishedRequest).
 * Added [dashboards.LifecycleState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LifecycleState).
 * Added [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard).
 * Added [dashboards.TrashRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#TrashRequest).
 * Added [dashboards.UpdateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#UpdateDashboardRequest).
 * Added `ScoreThreshold` field for [vectorsearch.QueryVectorIndexRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexRequest).

OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19
Dependency updates:

 * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog ([#855](#855)).
 * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog ([#856](#856)).
 * Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 ([#857](#857)).
 * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ([#840](#840)).
 * Bump golang.org/x/mod from 0.15.0 to 0.16.0 ([#843](#843)).
 * Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 ([#845](#845)).
 * Bump google.golang.org/api from 0.166.0 to 0.169.0 ([#849](#849)).
mgyucht added a commit that referenced this pull request Mar 19, 2024
* Added Config.GetAuthDetails ([#838](#838)).
* Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION ([#854](#854)).

### Internal Changes

* Add telemetry for SDK usage from DBR ([#851](#851)).

### Test Fixes

* Fix TestUcAccShares ([#858](#858)).

API Changes:

 * Changed `List` method for [w.Catalogs](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogsAPI) workspace-level service to require request of [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest).
 * Changed `Create` method for [w.OnlineTables](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#OnlineTablesAPI) workspace-level service . New request type is [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest).
 * Removed [catalog.AwsIamRole](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRole).
 * Changed `AwsIamRole` field for [catalog.CreateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Changed `AwsIamRole` field for [catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo) to [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse).
 * Changed `AwsIamRole` field for [catalog.UpdateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Changed `AwsIamRole` field for [catalog.ValidateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Changed `Notifications` field for [catalog.CreateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Changed `Notifications` field for [catalog.UpdateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Changed `Notifications` field for [catalog.MonitorInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorInfo) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Added `IncludeBrowse` field for [catalog.GetCatalogRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetCatalogRequest), [catalog.GetExternalLocationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetExternalLocationRequest), [catalog.GetFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetFunctionRequest), [catalog.GetModelVersionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetModelVersionRequest), [catalog.GetRegisteredModelRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetRegisteredModelRequest), [catalog.GetSchemaRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetSchemaRequest), [catalog.GetTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetTableRequest), [catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest), [catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest), [catalog.ListModelVersionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListModelVersionsRequest), [catalog.ListRegisteredModelsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListRegisteredModelsRequest), [catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest), [catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest), [catalog.ListVolumesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListVolumesRequest), and [catalog.ReadVolumeRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ReadVolumeRequest).
 * Added `BrowseOnly` field for [catalog.ExternalLocationInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationInfo), [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo), [catalog.ModelVersionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ModelVersionInfo), [catalog.RegisteredModelInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#RegisteredModelInfo), [catalog.SchemaInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#SchemaInfo), [catalog.TableInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TableInfo), and [catalog.VolumeInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#VolumeInfo).
 * Removed [catalog.ViewData](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ViewData).
 * Added [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Added [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse).
 * Added [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest).
 * Added [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest).
 * Changed `Publish` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service to return [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard).
 * Added `Create` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Get` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `GetPublished` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Trash` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Update` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added [dashboards.CreateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateDashboardRequest).
 * Added [dashboards.Dashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Dashboard).
 * Added [dashboards.GetLakeviewRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetLakeviewRequest).
 * Added [dashboards.GetPublishedRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetPublishedRequest).
 * Added [dashboards.LifecycleState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LifecycleState).
 * Added [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard).
 * Added [dashboards.TrashRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#TrashRequest).
 * Added [dashboards.UpdateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#UpdateDashboardRequest).
 * Added `ScoreThreshold` field for [vectorsearch.QueryVectorIndexRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexRequest).

OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19
Dependency updates:

 * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog ([#855](#855)).
 * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog ([#856](#856)).
 * Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 ([#857](#857)).
 * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ([#840](#840)).
 * Bump golang.org/x/mod from 0.15.0 to 0.16.0 ([#843](#843)).
 * Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 ([#845](#845)).
 * Bump google.golang.org/api from 0.166.0 to 0.169.0 ([#849](#849)).
mgyucht added a commit that referenced this pull request Mar 19, 2024
* Added Config.GetAuthDetails ([#838](#838)).
* Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION ([#854](#854)).

### Internal Changes

* Add telemetry for SDK usage from DBR ([#851](#851)).

### Test Fixes

* Fix TestUcAccShares ([#858](#858)).

API Changes:

 * Changed `List` method for [w.Catalogs](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogsAPI) workspace-level service to require request of [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest).
 * Changed `Create` method for [w.OnlineTables](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#OnlineTablesAPI) workspace-level service . New request type is [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest).
 * Removed [catalog.AwsIamRole](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRole).
 * Changed `AwsIamRole` field for [catalog.CreateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Changed `AwsIamRole` field for [catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo) to [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse).
 * Changed `AwsIamRole` field for [catalog.UpdateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Changed `AwsIamRole` field for [catalog.ValidateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Changed `Notifications` field for [catalog.CreateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Changed `Notifications` field for [catalog.UpdateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Changed `Notifications` field for [catalog.MonitorInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorInfo) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
 * Added `IncludeBrowse` field for [catalog.GetCatalogRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetCatalogRequest), [catalog.GetExternalLocationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetExternalLocationRequest), [catalog.GetFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetFunctionRequest), [catalog.GetModelVersionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetModelVersionRequest), [catalog.GetRegisteredModelRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetRegisteredModelRequest), [catalog.GetSchemaRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetSchemaRequest), [catalog.GetTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetTableRequest), [catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest), [catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest), [catalog.ListModelVersionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListModelVersionsRequest), [catalog.ListRegisteredModelsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListRegisteredModelsRequest), [catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest), [catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest), [catalog.ListVolumesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListVolumesRequest), and [catalog.ReadVolumeRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ReadVolumeRequest).
 * Added `BrowseOnly` field for [catalog.ExternalLocationInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationInfo), [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo), [catalog.ModelVersionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ModelVersionInfo), [catalog.RegisteredModelInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#RegisteredModelInfo), [catalog.SchemaInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#SchemaInfo), [catalog.TableInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TableInfo), and [catalog.VolumeInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#VolumeInfo).
 * Removed [catalog.ViewData](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ViewData).
 * Added [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
 * Added [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse).
 * Added [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest).
 * Added [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest).
 * Changed `Publish` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service to return [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard).
 * Added `Create` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Get` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `GetPublished` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Trash` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added `Update` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service.
 * Added [dashboards.CreateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateDashboardRequest).
 * Added [dashboards.Dashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Dashboard).
 * Added [dashboards.GetLakeviewRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetLakeviewRequest).
 * Added [dashboards.GetPublishedRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetPublishedRequest).
 * Added [dashboards.LifecycleState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LifecycleState).
 * Added [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard).
 * Added [dashboards.TrashRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#TrashRequest).
 * Added [dashboards.UpdateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#UpdateDashboardRequest).
 * Added `ScoreThreshold` field for [vectorsearch.QueryVectorIndexRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexRequest).

OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19
Dependency updates:

 * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog ([#855](#855)).
 * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog ([#856](#856)).
 * Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 ([#857](#857)).
 * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ([#840](#840)).
 * Bump golang.org/x/mod from 0.15.0 to 0.16.0 ([#843](#843)).
 * Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 ([#845](#845)).
 * Bump google.golang.org/api from 0.166.0 to 0.169.0 ([#849](#849)).
github-merge-queue bot pushed a commit that referenced this pull request Mar 20, 2024
* Added Config.GetAuthDetails
([#838](#838)).
* Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION
([#854](#854)).

### Internal Changes

* Add telemetry for SDK usage from DBR
([#851](#851)).

### Test Fixes

* Fix TestUcAccShares
([#858](#858)).

API Changes:

* Changed `List` method for
[w.Catalogs](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogsAPI)
workspace-level service to require request of
[catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest).
* Changed `Create` method for
[w.OnlineTables](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#OnlineTablesAPI)
workspace-level service . New request type is
[catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest).
* Removed
[catalog.AwsIamRole](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRole).
* Changed `AwsIamRole` field for
[catalog.CreateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateStorageCredential)
to
[catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
* Changed `AwsIamRole` field for
[catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo)
to
[catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse).
* Changed `AwsIamRole` field for
[catalog.UpdateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateStorageCredential)
to
[catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
* Changed `AwsIamRole` field for
[catalog.ValidateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateStorageCredential)
to
[catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
* Changed `Notifications` field for
[catalog.CreateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMonitor)
to
[catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
* Changed `Notifications` field for
[catalog.UpdateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateMonitor)
to
[catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
* Changed `Notifications` field for
[catalog.MonitorInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorInfo)
to
[catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig).
* Added `IncludeBrowse` field for
[catalog.GetCatalogRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetCatalogRequest),
[catalog.GetExternalLocationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetExternalLocationRequest),
[catalog.GetFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetFunctionRequest),
[catalog.GetModelVersionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetModelVersionRequest),
[catalog.GetRegisteredModelRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetRegisteredModelRequest),
[catalog.GetSchemaRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetSchemaRequest),
[catalog.GetTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetTableRequest),
[catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest),
[catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest),
[catalog.ListModelVersionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListModelVersionsRequest),
[catalog.ListRegisteredModelsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListRegisteredModelsRequest),
[catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest),
[catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest),
[catalog.ListVolumesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListVolumesRequest),
and
[catalog.ReadVolumeRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ReadVolumeRequest).
* Added `BrowseOnly` field for
[catalog.ExternalLocationInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationInfo),
[catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo),
[catalog.ModelVersionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ModelVersionInfo),
[catalog.RegisteredModelInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#RegisteredModelInfo),
[catalog.SchemaInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#SchemaInfo),
[catalog.TableInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TableInfo),
and
[catalog.VolumeInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#VolumeInfo).
* Removed
[catalog.ViewData](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ViewData).
* Added
[catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest).
* Added
[catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse).
* Added
[catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest).
* Added
[catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest).
* Changed `Publish` method for
[w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI)
workspace-level service to return
[dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard).
* Added `Create` method for
[w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI)
workspace-level service.
* Added `Get` method for
[w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI)
workspace-level service.
* Added `GetPublished` method for
[w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI)
workspace-level service.
* Added `Trash` method for
[w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI)
workspace-level service.
* Added `Update` method for
[w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI)
workspace-level service.
* Added
[dashboards.CreateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateDashboardRequest).
* Added
[dashboards.Dashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Dashboard).
* Added
[dashboards.GetLakeviewRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetLakeviewRequest).
* Added
[dashboards.GetPublishedRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetPublishedRequest).
* Added
[dashboards.LifecycleState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LifecycleState).
* Added
[dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard).
* Added
[dashboards.TrashRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#TrashRequest).
* Added
[dashboards.UpdateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#UpdateDashboardRequest).
* Added `ScoreThreshold` field for
[vectorsearch.QueryVectorIndexRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexRequest).

OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19
Dependency updates:

* Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in
/examples/zerolog
([#855](#855)).
* Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in
/examples/slog
([#856](#856)).
* Bump google.golang.org/protobuf from 1.32.0 to 1.33.0
([#857](#857)).
* Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
([#840](#840)).
* Bump golang.org/x/mod from 0.15.0 to 0.16.0
([#843](#843)).
* Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0
([#845](#845)).
* Bump google.golang.org/api from 0.166.0 to 0.169.0
([#849](#849)).

---------

Co-authored-by: Tanmay Rustagi <[email protected]>
github-merge-queue bot pushed a commit to databricks/cli that referenced this pull request Apr 3, 2024
## Changes
This command provide details on auth configuration user is using as well
as authenticated user and auth mechanism used.

Relies on databricks/databricks-sdk-go#838
(tests will fail until merged)

Examples of output

```
Workspace: https://test.com
User: [email protected]
Authenticated with: pat
-----
Configuration:
  ✓ auth_type: pat
  ✓ host: https://test.com (from bundle)
  ✓ profile: DEFAULT (from --profile flag)
  ✓ token: ******** (from /Users/andrew.nester/.databrickscfg config file)
```

```
DATABRICKS_AUTH_TYPE=azure-msi databricks auth describe -p "Azure 2"
Unable to authenticate: inner token: Post "https://foobar.com/oauth2/token": AADSTS900023: Specified tenant identifier foobar_aaaaaaa' is neither a valid DNS name, nor a valid external domain. See https://login.microsoftonline.com/error?code=900023
-----
Configuration:
  ✓ auth_type: azure-msi (from DATABRICKS_AUTH_TYPE environment variable)
  ✓ azure_client_id: 8470f3ba-aaaa-bbbb-cccc-xxxxyyyyzzzz (from /Users/andrew.nester/.databrickscfg config file)
  ~ azure_client_secret: ******** (from /Users/andrew.nester/.databrickscfg config file, not used for auth type azure-msi)
  ~ azure_tenant_id: foobar_aaaaaaa (from /Users/andrew.nester/.databrickscfg config file, not used for auth type azure-msi)
  ✓ azure_use_msi: true (from /Users/andrew.nester/.databrickscfg config file)
  ✓ host: https://foobar.com (from /Users/andrew.nester/.databrickscfg config file)
  ✓ profile: Azure 2 (from --profile flag)
```

For account

```
Unable to authenticate: default auth: databricks-cli: cannot get access token: Error: token refresh: Post "https://xxxxxxx.com/v1/token": http 400: {"error":"invalid_request","error_description":"Refresh token is invalid"}
. Config: host=https://xxxxxxx.com, account_id=ed0ca3c5-fae5-4619-bb38-eebe04a4af4b, profile=ACCOUNT-ed0ca3c5-fae5-4619-bb38-eebe04a4af4b
-----
Configuration:
  ✓ account_id: ed0ca3c5-fae5-4619-bb38-eebe04a4af4b (from /Users/andrew.nester/.databrickscfg config file)
  ✓ auth_type: databricks-cli (from /Users/andrew.nester/.databrickscfg config file)
  ✓ host: https://xxxxxxxxx.com (from /Users/andrew.nester/.databrickscfg config file)
  ✓ profile: ACCOUNT-ed0ca3c5-fae5-4619-bb38-eebe04a4af4b
```

## Tests
Added unit tests

---------

Co-authored-by: Julia Crawford (Databricks) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants