From 4be9d9ac55184837d4d5b1d8d1cdd274438ad563 Mon Sep 17 00:00:00 2001 From: "databricks-ci-ghec-1[bot]" <184311507+databricks-ci-ghec-1[bot]@users.noreply.github.com> Date: Fri, 6 Nov 2026 04:35:13 +0000 Subject: [PATCH 1/2] Update Go SDK to v0.195.0 --- .codegen/_openapi_sha | 2 +- .codegen/cli.json | 797 +++++++++--------- .../dependency-updates/go-sdk-v0.195.0.md | 1 + .../data_quality_monitors.generated.yml | 4 + bundle/schema/jsonschema.json | 10 +- cmd/account/iam-v2/iam-v2.go | 280 +++--- .../feature-engineering.go | 22 +- cmd/workspace/metastores/metastores.go | 89 ++ .../workspace-iam-v2/workspace-iam-v2.go | 300 +++---- go.mod | 2 +- go.sum | 4 +- .../_models/cron_schedule.py | 2 +- .../_models/materialization_set.py | 6 +- .../_models/materialized_feature.py | 8 +- .../_models/table_trigger.py | 4 +- 15 files changed, 742 insertions(+), 789 deletions(-) create mode 100644 .nextchanges/dependency-updates/go-sdk-v0.195.0.md diff --git a/.codegen/_openapi_sha b/.codegen/_openapi_sha index eb4ad7855da..d583f8ce571 100644 --- a/.codegen/_openapi_sha +++ b/.codegen/_openapi_sha @@ -1 +1 @@ -103b5ddd69bf588066452bf5c01cce79c8964687 \ No newline at end of file +ced34d63e64d234affc3213758ac687edbf6f3c3 \ No newline at end of file diff --git a/.codegen/cli.json b/.codegen/cli.json index 8c7db6f6ab3..be795c9140e 100644 --- a/.codegen/cli.json +++ b/.codegen/cli.json @@ -15346,6 +15346,15 @@ } }, "catalog.UnassignResponse": {}, + "catalog.UndropMetastoreByIdRequest": { + "description": "Request to restore a soft-deleted metastore by ID.", + "fields": { + "id": { + "description": "Required. Id of the metastore to undrop.", + "launch_stage": "PUBLIC_PREVIEW" + } + } + }, "catalog.UpdateAccessRequestDestinationsRequest": { "fields": { "access_request_destinations": { @@ -26649,6 +26658,7 @@ "description": "Field for specifying the absolute path to a custom directory to store data-monitoring\nassets. Normally prepopulated to a default user location via UI and Python APIs.", "launch_stage": "GA", "behaviors": [ + "IMMUTABLE", "OPTIONAL" ] }, @@ -31265,7 +31275,7 @@ "direct_group_member": { "description": "Required. The group membership to create.", "ref": "iamv2.DirectGroupMember", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -31274,7 +31284,7 @@ "direct_group_member": { "description": "Required. The direct group member to be added to the group.", "ref": "iamv2.DirectGroupMember", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -31283,11 +31293,11 @@ "group": { "description": "Required. Group to be created in Databricks", "ref": "iamv2.Group", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "parent": { "description": "The resource name of the account to create the group in, `accounts/{account_id}`.\nOptional: defaults to the account of the calling workspace, and any other account is\nrejected.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -31299,7 +31309,7 @@ "group": { "description": "Required. Group to be created in Databricks", "ref": "iamv2.Group", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -31323,7 +31333,7 @@ "fields": { "parent": { "description": "The resource name of the account to create the service principal in, `accounts/{account_id}`.\nOptional: defaults to the account of the calling workspace, and any other account is\nrejected.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -31331,7 +31341,7 @@ "service_principal": { "description": "Required. Service principal to be created in Databricks", "ref": "iamv2.ServicePrincipal", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -31340,7 +31350,7 @@ "service_principal": { "description": "Required. Service principal to be created in Databricks", "ref": "iamv2.ServicePrincipal", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -31348,7 +31358,7 @@ "fields": { "parent": { "description": "The resource name of the account to create the user in, `accounts/{account_id}`.\nOptional: defaults to the account of the calling workspace, and any other account is\nrejected.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -31356,7 +31366,7 @@ "user": { "description": "Required. User to be created in Databricks", "ref": "iamv2.User", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -31365,7 +31375,7 @@ "user": { "description": "Required. User to be created in Databricks", "ref": "iamv2.User", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -31391,7 +31401,7 @@ "fields": { "parent": { "description": "The resource name of the workspace to assign the principal to,\n`accounts/{account_id}/workspaces/{workspace_id}`. Optional: defaults to the calling workspace,\nand any other workspace is rejected.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -31399,7 +31409,7 @@ "workspace_assignment": { "description": "Required. Workspace assignment to be created in Databricks.", "ref": "iamv2.WorkspaceAssignment", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -31408,7 +31418,7 @@ "workspace_assignment": { "description": "Required. Workspace assignment to be created in Databricks.", "ref": "iamv2.WorkspaceAssignment", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -31430,21 +31440,21 @@ "fields": { "display_name": { "description": "Display name of the principal.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "external_id": { "description": "The external ID of the principal in the customer's IdP.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "group_id": { "description": "The internal ID of the group this member belongs to.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL", "OUTPUT_ONLY" @@ -31453,18 +31463,18 @@ "membership_source": { "description": "The source of group membership (internal or from identity provider).", "ref": "iamv2.GroupMembershipSource", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "name": { "description": "The resource name of the group membership. The format depends on the API that returned it:\n- Account-scoped: accounts/{account_id}/groups/{group_id}/direct-members/{principal_id}\n- Workspace-scoped: groups/{group_id}/direct-members/{principal_id}", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "parent": { "description": "The resource name of the group that contains the membership. The format depends on the API\nthat returned it:\n- Account-scoped: accounts/{account_id}/groups/{group_id}\n- Workspace-scoped: groups/{group_id}", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE", "OUTPUT_ONLY" @@ -31472,7 +31482,7 @@ }, "principal_id": { "description": "Internal ID of the principal in Databricks.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE" ] @@ -31480,7 +31490,7 @@ "principal_type": { "description": "The type of the principal (user/service principal/group).", "ref": "iamv2.PrincipalType", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] @@ -31497,12 +31507,12 @@ "ALLOW_INSTANCE_POOL_CREATE" ], "enum_launch_stages": { - "ALLOW_CLUSTER_CREATE": "PUBLIC_BETA", - "ALLOW_INSTANCE_POOL_CREATE": "PUBLIC_BETA", - "DATABRICKS_SQL_ACCESS": "PUBLIC_BETA", - "WORKSPACE_ACCESS": "PUBLIC_BETA", - "WORKSPACE_ADMIN": "PUBLIC_BETA", - "WORKSPACE_CONSUME": "PUBLIC_BETA" + "ALLOW_CLUSTER_CREATE": "GA", + "ALLOW_INSTANCE_POOL_CREATE": "GA", + "DATABRICKS_SQL_ACCESS": "GA", + "WORKSPACE_ACCESS": "GA", + "WORKSPACE_ADMIN": "GA", + "WORKSPACE_CONSUME": "GA" } }, "iamv2.ExactMatchRule": { @@ -31522,35 +31532,35 @@ "fields": { "account_id": { "description": "The parent account ID, from Databricks.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "display_name": { "description": "Display name of the group from the customer's IdP.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "external_group_id": { "description": "The external ID of the group in the customer's IdP.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "internal_id": { "description": "Internal groupId of the group in Databricks.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "name": { "description": "The resource name of the external group. The format depends on the API that\nreturned it:\n- Account-scoped: accounts/{account_id}/external-groups/{external_group_id}\n- Workspace-scoped: external-groups/{external_group_id}", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] @@ -31562,7 +31572,7 @@ "fields": { "account_id": { "description": "The parent account ID, from Databricks.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] @@ -31570,42 +31580,42 @@ "account_sp_status": { "description": "The activity status of the service principal in the Databricks account.", "ref": "iamv2.State", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "application_id": { "description": "Application ID of the service principal, from the customer's IdP.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "display_name": { "description": "Display name of the service principal, from the customer's IdP.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "external_service_principal_id": { "description": "The external ID of the service principal in the customer's IdP.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "internal_id": { "description": "Internal servicePrincipalId of the service principal in Databricks.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "name": { "description": "The resource name of the external service principal. The format depends on\nthe API that returned it:\n- Account-scoped: accounts/{account_id}/external-service-principals/{external_service_principal_id}\n- Workspace-scoped: external-service-principals/{external_service_principal_id}", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] @@ -31617,7 +31627,7 @@ "fields": { "account_id": { "description": "The parent account ID, from Databricks.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] @@ -31625,21 +31635,21 @@ "account_user_status": { "description": "The activity status of the user in the Databricks account.", "ref": "iamv2.State", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "display_name": { "description": "Display name of the user from the customer's IdP.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "external_user_id": { "description": "The external ID of the user in the customer's IdP.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] @@ -31647,28 +31657,28 @@ "full_name": { "description": "The full name of the user, from the customer's IdP.", "ref": "iamv2.FullName", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "internal_id": { "description": "Internal userId of the user in Databricks.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "name": { "description": "The resource name of the external user. The format depends on the API that\nreturned it:\n- Account-scoped: accounts/{account_id}/external-users/{external_user_id}\n- Workspace-scoped: external-users/{external_user_id}", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "username": { "description": "Username/email of the user, from Databricks.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] @@ -31680,14 +31690,14 @@ "fields": { "family_name": { "description": "The family (last) name of the user, from the customer's IdP.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "given_name": { "description": "The given (first) name of the user, from the customer's IdP.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] @@ -31743,7 +31753,7 @@ "fields": { "account_id": { "description": "The parent account ID for group in Databricks.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE", "OUTPUT_ONLY" @@ -31751,14 +31761,14 @@ }, "external_id": { "description": "ExternalId of the group in the customer's IdP.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "group_id": { "description": "Internal group ID of the group in Databricks.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE", "OUTPUT_ONLY" @@ -31766,18 +31776,18 @@ }, "group_name": { "description": "Display name of the group.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "name": { "description": "The resource name of the group. The format depends on the API that returned it:\n- Account-scoped: accounts/{account_id}/groups/{group_id}\n- Workspace-scoped: groups/{group_id}", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "parent": { "description": "The resource name of the account that contains the group, `accounts/{account_id}`. Both the\naccount-scoped and workspace-scoped APIs return it.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE", "OUTPUT_ONLY" @@ -31792,8 +31802,8 @@ "IDENTITY_PROVIDER" ], "enum_launch_stages": { - "IDENTITY_PROVIDER": "PUBLIC_BETA", - "INTERNAL": "PUBLIC_BETA" + "IDENTITY_PROVIDER": "GA", + "INTERNAL": "GA" } }, "iamv2.IdentityVisibilityFilter": { @@ -31846,14 +31856,14 @@ "fields": { "page_size": { "description": "The maximum number of members to return. The service may return fewer than this value.\nIf not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_token": { "description": "A page token from a previous list call. Provide this to retrieve the subsequent page.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -31864,14 +31874,14 @@ "fields": { "page_size": { "description": "The maximum number of members to return. The service may return fewer than this value.\nIf not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_token": { "description": "A page token, received from a previous ListDirectGroupMembers call. Provide this to retrieve the subsequent page.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -31883,11 +31893,11 @@ "fields": { "direct_group_members": { "description": "The list of direct group members with their membership source type.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "next_page_token": { "description": "A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -31895,28 +31905,28 @@ "fields": { "filter": { "description": "Optional. Allows filtering groups by group name or external id.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_size": { "description": "The maximum number of groups to return. The service may return fewer than this value.\nIf not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_token": { "description": "A page token, received from a previous ListGroups call. Provide this to retrieve the subsequent page.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "parent": { "description": "The resource name of the account to list groups in, `accounts/{account_id}`. Optional:\ndefaults to the account of the calling workspace, and any other account is rejected.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -31927,21 +31937,21 @@ "fields": { "filter": { "description": "Optional. Allows filtering groups by group name or external id.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_size": { "description": "The maximum number of groups to return. The service may return fewer than this value.\nIf not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_token": { "description": "A page token, received from a previous ListGroups call. Provide this to retrieve the subsequent page.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -31952,11 +31962,11 @@ "description": "Response message containing a page of groups in the account.", "fields": { "groups": { - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "next_page_token": { "description": "A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -31995,28 +32005,28 @@ "fields": { "filter": { "description": "Optional. Allows filtering service principals by application id or external id.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_size": { "description": "The maximum number of SPs to return. The service may return fewer than this value.\nIf not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_token": { "description": "A page token, received from a previous ListServicePrincipals call. Provide this to retrieve the subsequent page.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "parent": { "description": "The resource name of the account to list service principals in, `accounts/{account_id}`. Optional:\ndefaults to the account of the calling workspace, and any other account is rejected.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -32027,21 +32037,21 @@ "fields": { "filter": { "description": "Optional. Allows filtering service principals by application id or external id.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_size": { "description": "The maximum number of service principals to return. The service may return fewer than this value.\nIf not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_token": { "description": "A page token, received from a previous ListServicePrincipals call. Provide this to retrieve the subsequent page.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -32053,10 +32063,10 @@ "fields": { "next_page_token": { "description": "A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "service_principals": { - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -32064,14 +32074,14 @@ "fields": { "page_size": { "description": "The maximum number of parent groups to return. The service may return fewer than this value.\nIf not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_token": { "description": "A page token, received from a previous ListTransitiveParentGroups call. Provide this to retrieve the subsequent page.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -32082,14 +32092,14 @@ "fields": { "page_size": { "description": "The maximum number of parent groups to return. The service may return fewer than this value.\nIf not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_token": { "description": "A page token, received from a previous ListTransitiveParentGroups call. Provide this to retrieve the subsequent page.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -32101,11 +32111,11 @@ "fields": { "next_page_token": { "description": "A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "transitive_parent_groups": { "description": "The list of transitive parent groups.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -32113,28 +32123,28 @@ "fields": { "filter": { "description": "Optional. Allows filtering users by username or external id.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_size": { "description": "The maximum number of users to return. The service may return fewer than this value.\nIf not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_token": { "description": "A page token, received from a previous ListUsers call. Provide this to retrieve the subsequent page.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "parent": { "description": "The resource name of the account to list users in, `accounts/{account_id}`. Optional:\ndefaults to the account of the calling workspace, and any other account is rejected.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -32145,21 +32155,21 @@ "fields": { "filter": { "description": "Optional. Allows filtering users by username or external id.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_size": { "description": "The maximum number of users to return. The service may return fewer than this value.\nIf not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_token": { "description": "A page token, received from a previous ListUsers call. Provide this to retrieve the subsequent page.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -32170,10 +32180,10 @@ "fields": { "next_page_token": { "description": "A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "users": { - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -32229,21 +32239,21 @@ "fields": { "page_size": { "description": "The maximum number of workspace assignments to return. The service may return fewer than this value.\nIf not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_token": { "description": "A page token from a previous list call. Provide this to retrieve the subsequent page.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "parent": { "description": "The resource name of the workspace to list assignments of,\n`accounts/{account_id}/workspaces/{workspace_id}`. Optional: defaults to the calling workspace,\nand any other workspace is rejected.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -32254,14 +32264,14 @@ "fields": { "page_size": { "description": "The maximum number of workspace assignments to return. The service may return fewer than this value.\nIf not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_token": { "description": "A page token, received from a previous ListWorkspaceAssignments call. Provide this to retrieve the subsequent page.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -32273,10 +32283,10 @@ "fields": { "next_page_token": { "description": "A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "workspace_assignments": { - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -32400,7 +32410,7 @@ "fields": { "account_id": { "description": "The parent account ID for the service principal in Databricks.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE", "OUTPUT_ONLY" @@ -32409,11 +32419,11 @@ "account_sp_status": { "description": "The activity status of a service principal in a Databricks account.", "ref": "iamv2.State", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "application_id": { "description": "Application ID of the service principal. Set at creation time and cannot be changed\nafterwards; when omitted, the server generates one.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE", "OPTIONAL" @@ -32421,22 +32431,22 @@ }, "display_name": { "description": "Display name of the service principal.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "external_id": { "description": "ExternalId of the service principal in the customer's IdP.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "name": { "description": "The resource name of the service principal. The format depends on the API that returned it:\n- Account-scoped: accounts/{account_id}/service-principals/{service_principal_id}\n- Workspace-scoped: service-principals/{service_principal_id}", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "parent": { "description": "The resource name of the account that contains the service principal,\n`accounts/{account_id}`. Both the account-scoped and workspace-scoped APIs return it.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE", "OUTPUT_ONLY" @@ -32444,7 +32454,7 @@ }, "service_principal_id": { "description": "Internal service principal ID of the service principal in Databricks.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE", "OUTPUT_ONLY" @@ -32459,8 +32469,8 @@ "INACTIVE" ], "enum_launch_stages": { - "ACTIVE": "PUBLIC_BETA", - "INACTIVE": "PUBLIC_BETA" + "ACTIVE": "GA", + "INACTIVE": "GA" } }, "iamv2.TransitiveParentGroup": { @@ -32468,28 +32478,28 @@ "fields": { "account_id": { "description": "The parent account ID for group in Databricks.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "external_id": { "description": "ExternalId of the group in the customer's IdP.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "group_id": { "description": "Internal group ID of the group in Databricks.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "name": { "description": "The resource name of the transitive parent group. The format depends on the API that\nreturned it:\n- Account-scoped: accounts/{account_id}/principals/{principal_id}/transitive-parent-groups/{group_id}\n- Workspace-scoped: principals/{principal_id}/transitive-parent-groups/{group_id}", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -32498,11 +32508,11 @@ "group": { "description": "Required. Group to be updated in Databricks", "ref": "iamv2.Group", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "update_mask": { "description": "Required. The list of fields to update.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -32511,11 +32521,11 @@ "group": { "description": "Required. Group to be updated in Databricks", "ref": "iamv2.Group", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "update_mask": { "description": "Required. The list of fields to update.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -32524,11 +32534,11 @@ "service_principal": { "description": "Required. Service principal to be updated in Databricks", "ref": "iamv2.ServicePrincipal", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "update_mask": { "description": "Required. The list of fields to update.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -32537,11 +32547,11 @@ "service_principal": { "description": "Required. Service Principal to be updated in Databricks", "ref": "iamv2.ServicePrincipal", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "update_mask": { "description": "Required. The list of fields to update.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -32549,12 +32559,12 @@ "fields": { "update_mask": { "description": "Required. The list of fields to update.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "user": { "description": "Required. User to be updated in Databricks", "ref": "iamv2.User", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -32562,12 +32572,12 @@ "fields": { "update_mask": { "description": "Required. The list of fields to update.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "user": { "description": "Required. User to be updated in Databricks", "ref": "iamv2.User", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -32601,12 +32611,12 @@ "fields": { "update_mask": { "description": "Required. The list of fields to update.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "workspace_assignment": { "description": "Required. Workspace assignment to be updated in Databricks.", "ref": "iamv2.WorkspaceAssignment", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -32614,12 +32624,12 @@ "fields": { "update_mask": { "description": "Required. The list of fields to update.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "workspace_assignment": { "description": "Required. Workspace assignment to be updated in Databricks.", "ref": "iamv2.WorkspaceAssignment", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -32627,12 +32637,12 @@ "fields": { "update_mask": { "description": "Required. The list of fields to update.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "workspace_identity_detail": { "description": "Required. Workspace identity detail to be updated in Databricks.", "ref": "iamv2.WorkspaceIdentityDetail", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" } } }, @@ -32641,7 +32651,7 @@ "fields": { "account_id": { "description": "The accountId parent of the user in Databricks.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE", "OUTPUT_ONLY" @@ -32650,26 +32660,26 @@ "account_user_status": { "description": "The activity status of a user in a Databricks account.", "ref": "iamv2.State", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "external_id": { "description": "ExternalId of the user in the customer's IdP.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "full_name": { "ref": "iamv2.UserFullName", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "name": { "description": "The resource name of the user. The format depends on the API that returned it:\n- Account-scoped: accounts/{account_id}/users/{user_id}\n- Workspace-scoped: users/{user_id}", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "parent": { "description": "The resource name of the account that contains the user, `accounts/{account_id}`. Both the\naccount-scoped and workspace-scoped APIs return it.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE", "OUTPUT_ONLY" @@ -32677,7 +32687,7 @@ }, "user_id": { "description": "Internal userId of the user in Databricks.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE", "OUTPUT_ONLY" @@ -32685,7 +32695,7 @@ }, "username": { "description": "Username/email of the user.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE" ] @@ -32695,13 +32705,13 @@ "iamv2.UserFullName": { "fields": { "family_name": { - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "given_name": { - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -32794,7 +32804,7 @@ "fields": { "account_id": { "description": "The account ID parent of the workspace where the principal is assigned", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE", "OUTPUT_ONLY" @@ -32802,7 +32812,7 @@ }, "effective_entitlements": { "description": "Every entitlement the principal holds in this workspace, whether granted directly or through\ngroup membership. Get responses populate this field. List responses leave it empty.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY", "UNORDERED_LIST" @@ -32810,7 +32820,7 @@ }, "entitlements": { "description": "Entitlements granted directly to the principal on this workspace. This is the only\nclient-settable field. Create and update manage exactly this set, including entitlements the\nprincipal also holds through a group.\nList responses leave this field empty. Get a single principal to read its entitlements.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL", "UNORDERED_LIST" @@ -32818,11 +32828,11 @@ }, "name": { "description": "The resource name of the workspace assignment. The format depends on the API that returned it:\n- Account-scoped: accounts/{account_id}/workspaces/{workspace_id}/workspace-assignments/{principal_id}\n- Workspace-scoped: workspace-assignments/{principal_id}", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "parent": { "description": "The resource name of the workspace that contains the assignment,\n`accounts/{account_id}/workspaces/{workspace_id}`. Both the account-scoped and workspace-scoped\nAPIs return it.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE", "OUTPUT_ONLY" @@ -32830,7 +32840,7 @@ }, "principal_id": { "description": "The internal ID of the principal (user/sp/group) in Databricks. Set when the assignment is\ncreated and cannot be changed afterwards; to assign a different principal, create a new\nassignment.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE" ] @@ -32838,14 +32848,14 @@ "principal_type": { "description": "The type of the principal (user/service principal/group) that is assigned.", "ref": "iamv2.PrincipalType", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "workspace_id": { "description": "The workspace ID where the principal is assigned.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE", "OPTIONAL", @@ -32907,18 +32917,18 @@ "assignment_type": { "description": "The type of assignment the principal has to the workspace (direct or indirect).", "ref": "iamv2.WorkspaceIdentityDetailAssignmentType", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "name": { "description": "The resource name of the workspace identity detail.\nFormat: principals/{principal_id}/workspace-identity-detail", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "principal_id": { "description": "The internal ID of the principal (user/sp/group) in Databricks.", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] @@ -32926,7 +32936,7 @@ "principal_type": { "description": "The type of the principal (user/service principal/group).", "ref": "iamv2.PrincipalType", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] @@ -32934,7 +32944,7 @@ "workspace_identity_status": { "description": "The activity status of an identity in a Databricks workspace.", "ref": "iamv2.State", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -32948,8 +32958,8 @@ "INDIRECT" ], "enum_launch_stages": { - "DIRECT": "PUBLIC_BETA", - "INDIRECT": "PUBLIC_BETA" + "DIRECT": "GA", + "INDIRECT": "GA" } }, "iamv2.WorkspacePermission": { @@ -44128,7 +44138,7 @@ } }, "ml.CronSchedule": { - "description": "A cron-based schedule trigger for the materialization pipeline.", + "description": "A cron-based schedule trigger for batch materialization.", "fields": { "cron_expression": { "description": "The cron expression defining the schedule (e.g., \"0 0 * * *\" for daily at midnight). The\nschedule is interpreted in timezone_id (defaults to UTC). Required when mode is MANUAL (or\nunset). Left empty when mode is DERIVED, where the service computes it (aligned to UTC) from\nthe features' window timing and fills it in on the response.", @@ -46952,7 +46962,7 @@ ] }, "materialized_features": { - "description": "The materialized features in this set. Order is not significant.\nUpdating the set with a materialized feature removed from this set will cause it to be deleted.", + "description": "The materialized features in this set. Order is not significant.\nAn `UpdateMaterializationSet` request with `materialized_features` or `*`\nin its update mask deletes omitted materialized features.", "launch_stage": "PRIVATE_PREVIEW", "behaviors": [ "OPTIONAL" @@ -47049,18 +47059,18 @@ } }, "ml.MaterializationSetUpdateProgress": { - "description": "What a partly failed UpdateMaterializationSet got through, attached to the error so a caller can\ntell which materialized feature members already changed and which ones did not and why it failed.", + "description": "Progress and outcomes of an `UpdateMaterializationSet` operation.", "fields": { "deleted_materialized_feature_ids": { - "description": "Materialized feature members that were deleted from the materialization set.", + "description": "IDs of materialized features that were deleted.", "launch_stage": "PRIVATE_PREVIEW" }, "failed_materialized_features": { - "description": "Materialized feature members that could not be updated, one entry each.", + "description": "Materialized features that could not be updated or deleted, one entry each.", "launch_stage": "PRIVATE_PREVIEW" }, "updated_materialized_feature_ids": { - "description": "Materialized feature members whose mutable state was updated.", + "description": "IDs of materialized features whose mutable state was updated.", "launch_stage": "PRIVATE_PREVIEW" } } @@ -47102,7 +47112,7 @@ ] }, "cron_schedule_trigger": { - "description": "A cron-based schedule trigger for the materialization pipeline.", + "description": "A cron-based schedule trigger for batch materialization.", "ref": "ml.CronSchedule", "launch_stage": "GA", "behaviors": [ @@ -47214,7 +47224,7 @@ ] }, "table_trigger": { - "description": "A trigger that fires when the upstream source table changes.", + "description": "A trigger that starts batch materialization when the upstream source table changes.", "ref": "ml.TableTrigger", "launch_stage": "GA", "behaviors": [ @@ -49526,7 +49536,7 @@ } }, "ml.TableTrigger": { - "description": "A trigger that fires when the feature's source table changes: a DeltaTableSource's table, or an\nSdpSource's input_tables.", + "description": "A trigger that starts batch materialization when the feature's source table changes:\na DeltaTableSource's table, or an SdpSource's input_tables.", "fields": { "condition": { "description": "Which source table updates trigger a materialization run. If not set, any source table update\ntriggers a run.", @@ -49851,7 +49861,7 @@ "ml.UpdateMaterializationSetRequest": { "fields": { "materialization_set": { - "description": "The desired state of the updated materialization set. materialization_set_id selects the set.", + "description": "The desired state of the materialization set. `materialization_set_id`\nidentifies the set.\n\nA request that changes pause settings must request the same `paused`\nvalue for all retained members with a cron schedule or table trigger.", "ref": "ml.MaterializationSet", "launch_stage": "PRIVATE_PREVIEW" }, @@ -49863,7 +49873,7 @@ ] }, "update_mask": { - "description": "The fields to update. Only 'materialized_features' or '*' is supported.", + "description": "The fields to update, relative to the materialization set.\nSupported values are `materialized_features` and `*`.\n\nThe `materialized_features` mask updates retained members and deletes\nomitted materialized features. The `*` mask selects all fields of the\nset and follows the same membership rules. Adding members is not\nsupported.\n\nTo change pause settings without changing membership, include every\nmember of the set. An omitted `paused` is reset to `false`.\n\nFields outside the mask are unchanged. Trigger types and settings\nother than `paused` must remain unchanged.", "launch_stage": "PRIVATE_PREVIEW" } } @@ -142321,7 +142331,7 @@ }, { "name": "materialized_features", - "description": "The materialized features in this set. Order is not significant.\nUpdating the set with a materialized feature removed from this set will cause it to be deleted.", + "description": "The materialized features in this set. Order is not significant.\nAn `UpdateMaterializationSet` request with `materialized_features` or `*`\nin its update mask deletes omitted materialized features.", "is_request_body_field": true, "entity": { "pascal_name": "MaterializedFeatureList", @@ -142503,7 +142513,7 @@ }, { "name": "cron_schedule_trigger", - "description": "A cron-based schedule trigger for the materialization pipeline.", + "description": "A cron-based schedule trigger for batch materialization.", "is_request_body_field": true, "is_optional_object": true, "entity": { @@ -142653,7 +142663,7 @@ }, { "name": "table_trigger", - "description": "A trigger that fires when the upstream source table changes.", + "description": "A trigger that starts batch materialization when the upstream source table changes.", "is_request_body_field": true, "is_optional_object": true, "entity": { @@ -145799,7 +145809,7 @@ }, { "name": "UpdateMaterializationSet", - "description": "Update the materialization set's state to match the supplied materialization set. Changes are\napplied member by member and are not atomic: when one member fails, the error reports which\nmembers were already changed.", + "description": "Updates a materialization set. Supports changing pause settings and\ndeleting materialized features from the set.\n\nChanges are not atomic. Some updates or deletions may succeed even if\nthe operation fails. Individual outcomes are available in\n`MaterializationSetUpdateProgress`.", "summary": "Update a materialization set.", "path": "/api/2.0/feature-engineering/materialization-sets/{materialization_set_id}", "can_use_json": true, @@ -145824,7 +145834,7 @@ }, { "name": "materialization_set", - "description": "The desired state of the updated materialization set. materialization_set_id selects the set.", + "description": "The desired state of the materialization set. `materialization_set_id`\nidentifies the set.\n\nA request that changes pause settings must request the same `paused`\nvalue for all retained members with a cron schedule or table trigger.", "required": true, "is_request_body_field": true, "entity": { @@ -145834,7 +145844,7 @@ }, { "name": "update_mask", - "description": "The fields to update. Only 'materialized_features' or '*' is supported.", + "description": "The fields to update, relative to the materialization set.\nSupported values are `materialized_features` and `*`.\n\nThe `materialized_features` mask updates retained members and deletes\nomitted materialized features. The `*` mask selects all fields of the\nset and follows the same membership rules. Adding members is not\nsupported.\n\nTo change pause settings without changing membership, include every\nmember of the set. An omitted `paused` is reset to `false`.\n\nFields outside the mask are unchanged. Trigger types and settings\nother than `paused` must remain unchanged.", "required": true, "is_query": true, "entity": { @@ -145854,7 +145864,7 @@ }, { "name": "update_mask", - "description": "The fields to update. Only 'materialized_features' or '*' is supported.", + "description": "The fields to update, relative to the materialization set.\nSupported values are `materialized_features` and `*`.\n\nThe `materialized_features` mask updates retained members and deletes\nomitted materialized features. The `*` mask selects all fields of the\nset and follows the same membership rules. Adding members is not\nsupported.\n\nTo change pause settings without changing membership, include every\nmember of the set. An omitted `paused` is reset to `false`.\n\nFields outside the mask are unchanged. Trigger types and settings\nother than `paused` must remain unchanged.", "required": true, "is_query": true, "entity": { @@ -145865,7 +145875,7 @@ "required_request_body_fields": [ { "name": "materialization_set", - "description": "The desired state of the updated materialization set. materialization_set_id selects the set.", + "description": "The desired state of the materialization set. `materialization_set_id`\nidentifies the set.\n\nA request that changes pause settings must request the same `paused`\nvalue for all retained members with a cron schedule or table trigger.", "required": true, "is_request_body_field": true, "entity": { @@ -145877,7 +145887,7 @@ }, "request_body_field": { "name": "materialization_set", - "description": "The desired state of the updated materialization set. materialization_set_id selects the set.", + "description": "The desired state of the materialization set. `materialization_set_id`\nidentifies the set.\n\nA request that changes pause settings must request the same `paused`\nvalue for all retained members with a cron schedule or table trigger.", "required": true, "is_request_body_field": true, "entity": { @@ -145892,7 +145902,7 @@ "all_fields": [ { "name": "materialization_set", - "description": "The desired state of the updated materialization set. materialization_set_id selects the set.", + "description": "The desired state of the materialization set. `materialization_set_id`\nidentifies the set.\n\nA request that changes pause settings must request the same `paused`\nvalue for all retained members with a cron schedule or table trigger.", "required": true, "is_request_body_field": true, "entity": { @@ -145919,7 +145929,7 @@ }, { "name": "update_mask", - "description": "The fields to update. Only 'materialized_features' or '*' is supported.", + "description": "The fields to update, relative to the materialization set.\nSupported values are `materialized_features` and `*`.\n\nThe `materialized_features` mask updates retained members and deletes\nomitted materialized features. The `*` mask selects all fields of the\nset and follows the same membership rules. Adding members is not\nsupported.\n\nTo change pause settings without changing membership, include every\nmember of the set. An omitted `paused` is reset to `false`.\n\nFields outside the mask are unchanged. Trigger types and settings\nother than `paused` must remain unchanged.", "required": true, "is_query": true, "entity": { @@ -145936,7 +145946,7 @@ }, { "name": "materialized_features", - "description": "The materialized features in this set. Order is not significant.\nUpdating the set with a materialized feature removed from this set will cause it to be deleted.", + "description": "The materialized features in this set. Order is not significant.\nAn `UpdateMaterializationSet` request with `materialized_features` or `*`\nin its update mask deletes omitted materialized features.", "is_request_body_field": true, "entity": { "pascal_name": "MaterializedFeatureList", @@ -145969,7 +145979,7 @@ }, { "name": "update_mask", - "description": "The fields to update. Only 'materialized_features' or '*' is supported.", + "description": "The fields to update, relative to the materialization set.\nSupported values are `materialized_features` and `*`.\n\nThe `materialized_features` mask updates retained members and deletes\nomitted materialized features. The `*` mask selects all fields of the\nset and follows the same membership rules. Adding members is not\nsupported.\n\nTo change pause settings without changing membership, include every\nmember of the set. An omitted `paused` is reset to `false`.\n\nFields outside the mask are unchanged. Trigger types and settings\nother than `paused` must remain unchanged.", "required": true, "is_query": true, "entity": { @@ -146193,7 +146203,7 @@ }, { "name": "cron_schedule_trigger", - "description": "A cron-based schedule trigger for the materialization pipeline.", + "description": "A cron-based schedule trigger for batch materialization.", "is_request_body_field": true, "is_optional_object": true, "entity": { @@ -146343,7 +146353,7 @@ }, { "name": "table_trigger", - "description": "A trigger that fires when the upstream source table changes.", + "description": "A trigger that starts batch materialization when the upstream source table changes.", "is_request_body_field": true, "is_optional_object": true, "entity": { @@ -158230,10 +158240,8 @@ "path": "/api/2.0/identity/{parent=accounts/*/groups/*}/direct-members", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "CreateDirectGroupMemberRequest", "is_object": true, @@ -158505,10 +158513,8 @@ "path": "/api/2.0/identity/{parent=accounts/*}/groups", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "CreateGroupRequest", "is_object": true, @@ -158990,10 +158996,8 @@ "path": "/api/2.0/identity/{parent=accounts/*}/service-principals", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "CreateServicePrincipalRequest", "is_object": true, @@ -159372,10 +159376,8 @@ "path": "/api/2.0/identity/{parent=accounts/*}/users", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "CreateUserRequest", "is_object": true, @@ -159817,10 +159819,8 @@ "path": "/api/2.0/identity/{parent=accounts/*/workspaces/*}/workspace-assignments", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "CreateWorkspaceAssignmentRequest", "is_object": true, @@ -160421,10 +160421,8 @@ "summary": "Delete a direct group membership.", "path": "/api/2.0/identity/{name=accounts/*/groups/*/direct-members/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "DeleteDirectGroupMemberRequest", "is_object": true, @@ -160483,10 +160481,8 @@ "summary": "Delete a group in the account.", "path": "/api/2.0/identity/{name=accounts/*/groups/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "DeleteGroupRequest", "is_object": true, @@ -160605,10 +160601,8 @@ "summary": "Delete a service principal in the account.", "path": "/api/2.0/identity/{name=accounts/*/service-principals/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "DeleteServicePrincipalRequest", "is_object": true, @@ -160667,10 +160661,8 @@ "summary": "Delete a user in the account.", "path": "/api/2.0/identity/{name=accounts/*/users/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "DeleteUserRequest", "is_object": true, @@ -160729,10 +160721,8 @@ "summary": "Delete a workspace assignment.", "path": "/api/2.0/identity/{name=accounts/*/workspaces/*/workspace-assignments/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "DeleteWorkspaceAssignmentRequest", "is_object": true, @@ -160888,10 +160878,8 @@ "summary": "Get a direct group member.", "path": "/api/2.0/identity/{name=accounts/*/groups/*/direct-members/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetDirectGroupMemberRequest", "is_object": true, @@ -160974,10 +160962,8 @@ "summary": "Get an external group in the account.", "path": "/api/2.0/identity/{name=accounts/*/external-groups/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetExternalGroupRequest", "is_object": true, @@ -161037,10 +161023,8 @@ "summary": "Get an external service principal in the account.", "path": "/api/2.0/identity/{name=accounts/*/external-service-principals/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetExternalServicePrincipalRequest", "is_object": true, @@ -161100,10 +161084,8 @@ "summary": "Get an external user in the account.", "path": "/api/2.0/identity/{name=accounts/*/external-users/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetExternalUserRequest", "is_object": true, @@ -161163,10 +161145,8 @@ "summary": "Get a group in the account.", "path": "/api/2.0/identity/{name=accounts/*/groups/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetGroupRequest", "is_object": true, @@ -161332,10 +161312,8 @@ "summary": "Get a service principal in the account.", "path": "/api/2.0/identity/{name=accounts/*/service-principals/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetServicePrincipalRequest", "is_object": true, @@ -161452,10 +161430,8 @@ "summary": "Get a user in the account.", "path": "/api/2.0/identity/{name=accounts/*/users/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetUserRequest", "is_object": true, @@ -161669,10 +161645,8 @@ "summary": "Get a workspace assignment for a principal.", "path": "/api/2.0/identity/{name=accounts/*/workspaces/*/workspace-assignments/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetWorkspaceAssignmentRequest", "is_object": true, @@ -161876,10 +161850,8 @@ "summary": "List direct group members.", "path": "/api/2.0/identity/{parent=accounts/*/groups/*}/direct-members", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "ListDirectGroupMembersRequest", "is_object": true, @@ -161967,10 +161939,8 @@ "summary": "List groups in the account.", "path": "/api/2.0/identity/{parent=accounts/*}/groups", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "ListGroupsRequest", "is_object": true, @@ -162155,10 +162125,8 @@ "summary": "List service principals in the account.", "path": "/api/2.0/identity/{parent=accounts/*}/service-principals", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "ListServicePrincipalsRequest", "is_object": true, @@ -162254,10 +162222,8 @@ "summary": "List all transitive parent groups of a principal.", "path": "/api/2.0/identity/{parent=accounts/*/principals/*}/transitive-parent-groups", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "ListTransitiveParentGroupsRequest", "is_object": true, @@ -162333,10 +162299,8 @@ "summary": "List users in the account.", "path": "/api/2.0/identity/{parent=accounts/*}/users", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "ListUsersRequest", "is_object": true, @@ -162522,10 +162486,8 @@ "summary": "List workspace assignments for a workspace.", "path": "/api/2.0/identity/{parent=accounts/*/workspaces/*}/workspace-assignments", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "ListWorkspaceAssignmentsRequest", "is_object": true, @@ -162809,10 +162771,8 @@ "path": "/api/2.0/identity/{name=accounts/*/groups/*}", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "UpdateGroupRequest", "is_object": true, @@ -163003,10 +162963,8 @@ "path": "/api/2.0/identity/{name=accounts/*/service-principals/*}", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "UpdateServicePrincipalRequest", "is_object": true, @@ -163421,10 +163379,8 @@ "path": "/api/2.0/identity/{name=accounts/*/users/*}", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "UpdateUserRequest", "is_object": true, @@ -163902,10 +163858,8 @@ "path": "/api/2.0/identity/{name=accounts/*/workspaces/*/workspace-assignments/*}", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "UpdateWorkspaceAssignmentRequest", "is_object": true, @@ -183948,6 +183902,71 @@ } ] }, + { + "name": "UndropMetastoreById", + "description": "Restores a soft-deleted metastore identified by its ID. The caller must be an account admin.\nA metastore may be eligible for restoration for up to five days after deletion. Restoration\nmay become unavailable earlier once permanent deletion begins. Returns the restored metastore.", + "summary": "Restore a metastore.", + "path": "/api/2.1/unity-catalog/metastores:undropById", + "can_use_json": true, + "has_required_positional_arguments": true, + "launch_stage": "PUBLIC_PREVIEW", + "cli_launch_stage_label": "*Public Preview*", + "cli_launch_stage_banner": "This command is in Public Preview and may change without notice.", + "cli_launch_stage_display": "Public Preview", + "request": { + "pascal_name": "UndropMetastoreByIdRequest", + "is_object": true, + "has_required_request_body_fields": true, + "required_fields": [ + { + "name": "id", + "description": "Required. Id of the metastore to undrop.", + "required": true, + "is_request_body_field": true, + "entity": { + "is_string": true + } + } + ], + "required_request_body_fields": [ + { + "name": "id", + "description": "Required. Id of the metastore to undrop.", + "required": true, + "is_request_body_field": true, + "entity": { + "is_string": true + } + } + ] + }, + "response": { + "pascal_name": "MetastoreInfo", + "is_object": true + }, + "all_fields": [ + { + "name": "id", + "description": "Required. Id of the metastore to undrop.", + "required": true, + "is_request_body_field": true, + "entity": { + "is_string": true + } + } + ], + "required_positional_arguments": [ + { + "name": "id", + "description": "Required. Id of the metastore to undrop.", + "required": true, + "is_request_body_field": true, + "entity": { + "is_string": true + } + } + ] + }, { "name": "Update", "description": "Updates information for a specific metastore. The caller must be a metastore admin.\nIf the __owner__ field is set to the empty string (**\"\"**), the ownership is updated\nto the System User.", @@ -246586,10 +246605,8 @@ "path": "/api/2.0/identity/{parent=groups/*}/direct-members", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "CreateDirectGroupMemberProxyRequest", "is_object": true, @@ -246861,10 +246878,8 @@ "path": "/api/2.0/identity/groups", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "CreateGroupProxyRequest", "is_object": true, @@ -246987,10 +247002,8 @@ "path": "/api/2.0/identity/service-principals", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "CreateServicePrincipalProxyRequest", "is_object": true, @@ -247339,10 +247352,8 @@ "path": "/api/2.0/identity/users", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "CreateUserProxyRequest", "is_object": true, @@ -248009,10 +248020,8 @@ "path": "/api/2.0/identity/workspace-assignments", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "CreateWorkspaceAssignmentProxyRequest", "is_object": true, @@ -248290,10 +248299,8 @@ "summary": "Delete a direct group membership.", "path": "/api/2.0/identity/{name=groups/*/direct-members/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "DeleteDirectGroupMemberProxyRequest", "is_object": true, @@ -248352,10 +248359,8 @@ "summary": "Delete a group in the account.", "path": "/api/2.0/identity/{name=groups/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "DeleteGroupProxyRequest", "is_object": true, @@ -248414,10 +248419,8 @@ "summary": "Delete a service principal in the account.", "path": "/api/2.0/identity/{name=service-principals/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "DeleteServicePrincipalProxyRequest", "is_object": true, @@ -248476,10 +248479,8 @@ "summary": "Delete a user in the account.", "path": "/api/2.0/identity/{name=users/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "DeleteUserProxyRequest", "is_object": true, @@ -248599,10 +248600,8 @@ "summary": "Delete a workspace assignment for a workspace.", "path": "/api/2.0/identity/{name=workspace-assignments/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "DeleteWorkspaceAssignmentProxyRequest", "is_object": true, @@ -248661,10 +248660,8 @@ "summary": "Get a direct group member.", "path": "/api/2.0/identity/{name=groups/*/direct-members/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetDirectGroupMemberProxyRequest", "is_object": true, @@ -248747,10 +248744,8 @@ "summary": "Get an external group in the account.", "path": "/api/2.0/identity/{name=external-groups/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetExternalGroupProxyRequest", "is_object": true, @@ -248810,10 +248805,8 @@ "summary": "Get an external service principal in the account.", "path": "/api/2.0/identity/{name=external-service-principals/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetExternalServicePrincipalProxyRequest", "is_object": true, @@ -248873,10 +248866,8 @@ "summary": "Get an external user in the account.", "path": "/api/2.0/identity/{name=external-users/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetExternalUserProxyRequest", "is_object": true, @@ -248936,10 +248927,8 @@ "summary": "Get a group in the account.", "path": "/api/2.0/identity/{name=groups/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetGroupProxyRequest", "is_object": true, @@ -248999,10 +248988,8 @@ "summary": "Get a service principal in the account.", "path": "/api/2.0/identity/{name=service-principals/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetServicePrincipalProxyRequest", "is_object": true, @@ -249119,10 +249106,8 @@ "summary": "Get a user in the account.", "path": "/api/2.0/identity/{name=users/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetUserProxyRequest", "is_object": true, @@ -249421,10 +249406,8 @@ "summary": "Get a workspace assignment for a principal.", "path": "/api/2.0/identity/{name=workspace-assignments/*}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetWorkspaceAssignmentProxyRequest", "is_object": true, @@ -249507,10 +249490,8 @@ "summary": "Get workspace identity details for a principal.", "path": "/api/2.0/identity/{name=principals/*/workspace-identity-detail}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetWorkspaceIdentityDetailRequest", "is_object": true, @@ -249570,10 +249551,8 @@ "summary": "List direct group members.", "path": "/api/2.0/identity/{parent=groups/*}/direct-members", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "ListDirectGroupMembersProxyRequest", "is_object": true, @@ -249661,10 +249640,8 @@ "summary": "List groups in the account.", "path": "/api/2.0/identity/groups", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "ListGroupsProxyRequest", "is_object": true @@ -249726,10 +249703,8 @@ "summary": "List service principals in the account.", "path": "/api/2.0/identity/service-principals", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "ListServicePrincipalsProxyRequest", "is_object": true @@ -249791,10 +249766,8 @@ "summary": "List all transitive parent groups of a principal.", "path": "/api/2.0/identity/{parent=principals/*}/transitive-parent-groups", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "ListTransitiveParentGroupsProxyRequest", "is_object": true, @@ -249870,10 +249843,8 @@ "summary": "List users in the account.", "path": "/api/2.0/identity/users", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "ListUsersProxyRequest", "is_object": true @@ -249983,10 +249954,8 @@ "summary": "List workspace assignments for a workspace.", "path": "/api/2.0/identity/workspace-assignments", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "ListWorkspaceAssignmentsProxyRequest", "is_object": true @@ -250236,10 +250205,8 @@ "path": "/api/2.0/identity/{name=groups/*}", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "UpdateGroupProxyRequest", "is_object": true, @@ -250430,10 +250397,8 @@ "path": "/api/2.0/identity/{name=service-principals/*}", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "UpdateServicePrincipalProxyRequest", "is_object": true, @@ -250848,10 +250813,8 @@ "path": "/api/2.0/identity/{name=users/*}", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "UpdateUserProxyRequest", "is_object": true, @@ -251659,10 +251622,8 @@ "path": "/api/2.0/identity/{name=workspace-assignments/*}", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "UpdateWorkspaceAssignmentProxyRequest", "is_object": true, @@ -252008,10 +251969,8 @@ "path": "/api/2.0/identity/{name=principals/*/workspace-identity-detail}", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_BETA", - "cli_launch_stage_label": "*Beta*", - "cli_launch_stage_banner": "This command is in Beta and may change without notice.", - "cli_launch_stage_display": "Beta", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "UpdateWorkspaceIdentityDetailRequest", "is_object": true, diff --git a/.nextchanges/dependency-updates/go-sdk-v0.195.0.md b/.nextchanges/dependency-updates/go-sdk-v0.195.0.md new file mode 100644 index 00000000000..232643d034a --- /dev/null +++ b/.nextchanges/dependency-updates/go-sdk-v0.195.0.md @@ -0,0 +1 @@ +* Update the Go SDK to [v0.195.0](https://github.com/databricks/databricks-sdk-go/releases/tag/v0.195.0). diff --git a/bundle/direct/dresources/configs/data_quality_monitors.generated.yml b/bundle/direct/dresources/configs/data_quality_monitors.generated.yml index 7d966ca4f06..c213f358fa7 100644 --- a/bundle/direct/dresources/configs/data_quality_monitors.generated.yml +++ b/bundle/direct/dresources/configs/data_quality_monitors.generated.yml @@ -1,5 +1,9 @@ # Generated, do not edit. +recreate_on_changes: + - field: data_profiling_config.assets_dir + reason: spec:immutable + ignore_remote_changes: - field: data_profiling_config.skip_builtin_dashboard reason: spec:input_only diff --git a/bundle/schema/jsonschema.json b/bundle/schema/jsonschema.json index 2bcd9701fce..a060ec2e8a1 100644 --- a/bundle/schema/jsonschema.json +++ b/bundle/schema/jsonschema.json @@ -1783,7 +1783,7 @@ "doNotSuggest": true }, "materialized_features": { - "description": "[Private Preview] The materialized features in this set. Order is not significant.\nUpdating the set with a materialized feature removed from this set will cause it to be deleted.", + "description": "[Private Preview] The materialized features in this set. Order is not significant.\nAn `UpdateMaterializationSet` request with `materialized_features` or `*`\nin its update mask deletes omitted materialized features.", "$ref": "#/$defs/slice/github.com/databricks/databricks-sdk-go/service/ml.MaterializedFeature", "x-databricks-launch-stage": "PRIVATE_PREVIEW", "doNotSuggest": true @@ -13922,7 +13922,7 @@ "oneOf": [ { "type": "object", - "description": "A cron-based schedule trigger for the materialization pipeline.", + "description": "A cron-based schedule trigger for batch materialization.", "properties": { "cron_expression": { "description": "The cron expression defining the schedule (e.g., \"0 0 * * *\" for daily at midnight). The\nschedule is interpreted in timezone_id (defaults to UTC). Required when mode is MANUAL (or\nunset). Left empty when mode is DERIVED, where the service computes it (aligned to UTC) from\nthe features' window timing and fills it in on the response.", @@ -14812,7 +14812,7 @@ "deprecated": true }, "cron_schedule_trigger": { - "description": "A cron-based schedule trigger for the materialization pipeline.", + "description": "A cron-based schedule trigger for batch materialization.", "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/ml.CronSchedule", "x-databricks-launch-stage": "GA" }, @@ -14850,7 +14850,7 @@ "x-databricks-launch-stage": "GA" }, "table_trigger": { - "description": "A trigger that fires when the upstream source table changes.", + "description": "A trigger that starts batch materialization when the upstream source table changes.", "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/ml.TableTrigger", "x-databricks-launch-stage": "GA" }, @@ -15455,7 +15455,7 @@ "oneOf": [ { "type": "object", - "description": "A trigger that fires when the feature's source table changes: a DeltaTableSource's table, or an\nSdpSource's input_tables.", + "description": "A trigger that starts batch materialization when the feature's source table changes:\na DeltaTableSource's table, or an SdpSource's input_tables.", "properties": { "condition": { "description": "[Private Preview] Which source table updates trigger a materialization run. If not set, any source table update\ntriggers a run.", diff --git a/cmd/account/iam-v2/iam-v2.go b/cmd/account/iam-v2/iam-v2.go index 576fcfa4345..e0950087f7c 100644 --- a/cmd/account/iam-v2/iam-v2.go +++ b/cmd/account/iam-v2/iam-v2.go @@ -106,10 +106,8 @@ func newCreateDirectGroupMember() *cobra.Command { cmd.Flags().StringVar(&createDirectGroupMemberReq.DirectGroupMember.Name, "name", createDirectGroupMemberReq.DirectGroupMember.Name, `The resource name of the group membership.`) cmd.Use = "create-direct-group-member PARENT PRINCIPAL_ID" - cmd.Short = `*Beta* Create a direct group membership.` - cmd.Long = `This command is in Beta and may change without notice. - -Create a direct group membership. + cmd.Short = `Create a direct group membership.` + cmd.Long = `Create a direct group membership. Creates a group membership (assigns a principal to a group). @@ -122,8 +120,8 @@ Create a direct group membership. PRINCIPAL_ID: Internal ID of the principal in Databricks.` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { if cmd.Flags().Changed("json") { @@ -206,10 +204,8 @@ func newCreateGroup() *cobra.Command { cmd.Flags().StringVar(&createGroupReq.Group.Name, "name", createGroupReq.Group.Name, `The resource name of the group.`) cmd.Use = "create-group PARENT" - cmd.Short = `*Beta* Create a group in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Create a group in the account. + cmd.Short = `Create a group in the account.` + cmd.Long = `Create a group in the account. Creates a local group in the Databricks account and returns the created group. A local group is one that is not synced from the customer's identity provider, @@ -226,8 +222,8 @@ Create a group in the account. Format: accounts/{account_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -398,10 +394,8 @@ func newCreateServicePrincipal() *cobra.Command { cmd.Flags().StringVar(&createServicePrincipalReq.ServicePrincipal.Name, "name", createServicePrincipalReq.ServicePrincipal.Name, `The resource name of the service principal.`) cmd.Use = "create-service-principal PARENT DISPLAY_NAME ACCOUNT_SP_STATUS" - cmd.Short = `*Beta* Create a service principal in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Create a service principal in the account. + cmd.Short = `Create a service principal in the account.` + cmd.Long = `Create a service principal in the account. Creates a local service principal in the Databricks account and returns the created service principal. A local service principal is one that is not synced @@ -421,8 +415,8 @@ Create a service principal in the account. Supported values: [ACTIVE, INACTIVE]` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { if cmd.Flags().Changed("json") { @@ -507,10 +501,8 @@ func newCreateUser() *cobra.Command { cmd.Flags().StringVar(&createUserReq.User.Name, "name", createUserReq.User.Name, `The resource name of the user.`) cmd.Use = "create-user PARENT USERNAME FULL_NAME ACCOUNT_USER_STATUS" - cmd.Short = `*Beta* Create a user in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Create a user in the account. + cmd.Short = `Create a user in the account.` + cmd.Long = `Create a user in the account. Creates a local user in the Databricks account and returns the created user. A local user is one that is not synced from the customer's identity provider, @@ -531,8 +523,8 @@ Create a user in the account. Supported values: [ACTIVE, INACTIVE]` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { if cmd.Flags().Changed("json") { @@ -625,10 +617,8 @@ func newCreateWorkspaceAssignment() *cobra.Command { cmd.Flags().StringVar(&createWorkspaceAssignmentReq.WorkspaceAssignment.Name, "name", createWorkspaceAssignmentReq.WorkspaceAssignment.Name, `The resource name of the workspace assignment.`) cmd.Use = "create-workspace-assignment PARENT PRINCIPAL_ID" - cmd.Short = `*Beta* Create a workspace assignment.` - cmd.Long = `This command is in Beta and may change without notice. - -Create a workspace assignment. + cmd.Short = `Create a workspace assignment.` + cmd.Long = `Create a workspace assignment. Creates a workspace assignment for a principal. Entitlements are granted one at a time rather than atomically. If the request fails partway through, the @@ -644,8 +634,8 @@ Create a workspace assignment. different principal, create a new assignment.` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { if cmd.Flags().Changed("json") { @@ -821,10 +811,8 @@ func newDeleteDirectGroupMember() *cobra.Command { var deleteDirectGroupMemberReq iamv2.DeleteDirectGroupMemberRequest cmd.Use = "delete-direct-group-member NAME" - cmd.Short = `*Beta* Delete a direct group membership.` - cmd.Long = `This command is in Beta and may change without notice. - -Delete a direct group membership. + cmd.Short = `Delete a direct group membership.` + cmd.Long = `Delete a direct group membership. Deletes a group membership (unassigns a principal from a group). @@ -836,8 +824,8 @@ Delete a direct group membership. accounts/{account_id}/groups/{group_id}/direct-members/{principal_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -885,10 +873,8 @@ func newDeleteGroup() *cobra.Command { var deleteGroupReq iamv2.DeleteGroupRequest cmd.Use = "delete-group NAME" - cmd.Short = `*Beta* Delete a group in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Delete a group in the account. + cmd.Short = `Delete a group in the account.` + cmd.Long = `Delete a group in the account. Deletes a group from the Databricks account by its internal ID. @@ -900,8 +886,8 @@ Delete a group in the account. accounts/{account_id}/groups/{group_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1013,10 +999,8 @@ func newDeleteServicePrincipal() *cobra.Command { var deleteServicePrincipalReq iamv2.DeleteServicePrincipalRequest cmd.Use = "delete-service-principal NAME" - cmd.Short = `*Beta* Delete a service principal in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Delete a service principal in the account. + cmd.Short = `Delete a service principal in the account.` + cmd.Long = `Delete a service principal in the account. Deletes a service principal from the Databricks account by its internal ID. @@ -1025,8 +1009,8 @@ Delete a service principal in the account. accounts/{account_id}/service-principals/{service_principal_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1074,10 +1058,8 @@ func newDeleteUser() *cobra.Command { var deleteUserReq iamv2.DeleteUserRequest cmd.Use = "delete-user NAME" - cmd.Short = `*Beta* Delete a user in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Delete a user in the account. + cmd.Short = `Delete a user in the account.` + cmd.Long = `Delete a user in the account. Deletes a user from the Databricks account by its internal ID. @@ -1086,8 +1068,8 @@ Delete a user in the account. accounts/{account_id}/users/{user_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1135,10 +1117,8 @@ func newDeleteWorkspaceAssignment() *cobra.Command { var deleteWorkspaceAssignmentReq iamv2.DeleteWorkspaceAssignmentRequest cmd.Use = "delete-workspace-assignment NAME" - cmd.Short = `*Beta* Delete a workspace assignment.` - cmd.Long = `This command is in Beta and may change without notice. - -Delete a workspace assignment. + cmd.Short = `Delete a workspace assignment.` + cmd.Long = `Delete a workspace assignment. Deletes a workspace assignment for a principal, revoking all of its entitlements. Entitlements are revoked one at a time rather than atomically. @@ -1150,8 +1130,8 @@ Delete a workspace assignment. accounts/{account_id}/workspaces/{workspace_id}/workspace-assignments/{principal_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1273,10 +1253,8 @@ func newGetDirectGroupMember() *cobra.Command { var getDirectGroupMemberReq iamv2.GetDirectGroupMemberRequest cmd.Use = "get-direct-group-member NAME" - cmd.Short = `*Beta* Get a direct group member.` - cmd.Long = `This command is in Beta and may change without notice. - -Get a direct group member. + cmd.Short = `Get a direct group member.` + cmd.Long = `Get a direct group member. Gets a provisioned direct member of a group. @@ -1285,8 +1263,8 @@ Get a direct group member. accounts/{account_id}/groups/{group_id}/direct-members/{principal_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1335,10 +1313,8 @@ func newGetExternalGroup() *cobra.Command { var getExternalGroupReq iamv2.GetExternalGroupRequest cmd.Use = "get-external-group NAME" - cmd.Short = `*Beta* Get an external group in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Get an external group in the account. + cmd.Short = `Get an external group in the account.` + cmd.Long = `Get an external group in the account. Retrieves an external group with the given external ID from the customer's IdP. If the group does not exist, it will be created in the account. If the @@ -1350,8 +1326,8 @@ Get an external group in the account. accounts/{account_id}/external-groups/{external_group_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1400,10 +1376,8 @@ func newGetExternalServicePrincipal() *cobra.Command { var getExternalServicePrincipalReq iamv2.GetExternalServicePrincipalRequest cmd.Use = "get-external-service-principal NAME" - cmd.Short = `*Beta* Get an external service principal in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Get an external service principal in the account. + cmd.Short = `Get an external service principal in the account.` + cmd.Long = `Get an external service principal in the account. Retrieves an external service principal with the given external ID from the customer's IdP. If the service principal does not exist, it will be created. @@ -1415,8 +1389,8 @@ Get an external service principal in the account. accounts/{account_id}/external-service-principals/{external_service_principal_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1465,10 +1439,8 @@ func newGetExternalUser() *cobra.Command { var getExternalUserReq iamv2.GetExternalUserRequest cmd.Use = "get-external-user NAME" - cmd.Short = `*Beta* Get an external user in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Get an external user in the account. + cmd.Short = `Get an external user in the account.` + cmd.Long = `Get an external user in the account. Retrieves an external user with the given external ID from the customer's IdP. If the user does not exist, it will be created. If the customer is not @@ -1479,8 +1451,8 @@ Get an external user in the account. accounts/{account_id}/external-users/{external_user_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1529,10 +1501,8 @@ func newGetGroup() *cobra.Command { var getGroupReq iamv2.GetGroupRequest cmd.Use = "get-group NAME" - cmd.Short = `*Beta* Get a group in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Get a group in the account. + cmd.Short = `Get a group in the account.` + cmd.Long = `Get a group in the account. Fetches a group from the Databricks account by its internal ID. @@ -1541,8 +1511,8 @@ Get a group in the account. accounts/{account_id}/groups/{group_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1652,10 +1622,8 @@ func newGetServicePrincipal() *cobra.Command { var getServicePrincipalReq iamv2.GetServicePrincipalRequest cmd.Use = "get-service-principal NAME" - cmd.Short = `*Beta* Get a service principal in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Get a service principal in the account. + cmd.Short = `Get a service principal in the account.` + cmd.Long = `Get a service principal in the account. Fetches a service principal from the Databricks account by its internal ID. @@ -1664,8 +1632,8 @@ Get a service principal in the account. accounts/{account_id}/service-principals/{service_principal_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1714,10 +1682,8 @@ func newGetUser() *cobra.Command { var getUserReq iamv2.GetUserRequest cmd.Use = "get-user NAME" - cmd.Short = `*Beta* Get a user in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Get a user in the account. + cmd.Short = `Get a user in the account.` + cmd.Long = `Get a user in the account. Fetches a user from the Databricks account by its internal ID. @@ -1726,8 +1692,8 @@ Get a user in the account. accounts/{account_id}/users/{user_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1845,10 +1811,8 @@ func newGetWorkspaceAssignment() *cobra.Command { var getWorkspaceAssignmentReq iamv2.GetWorkspaceAssignmentRequest cmd.Use = "get-workspace-assignment NAME" - cmd.Short = `*Beta* Get a workspace assignment for a principal.` - cmd.Long = `This command is in Beta and may change without notice. - -Get a workspace assignment for a principal. + cmd.Short = `Get a workspace assignment for a principal.` + cmd.Long = `Get a workspace assignment for a principal. Returns the assignment for a principal in a workspace. @@ -1857,8 +1821,8 @@ Get a workspace assignment for a principal. accounts/{account_id}/workspaces/{workspace_id}/workspace-assignments/{principal_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1993,10 +1957,8 @@ func newListDirectGroupMembers() *cobra.Command { cmd.Flags().Lookup("page-token").Hidden = true cmd.Use = "list-direct-group-members PARENT" - cmd.Short = `*Beta* List direct group members.` - cmd.Long = `This command is in Beta and may change without notice. - -List direct group members. + cmd.Short = `List direct group members.` + cmd.Long = `List direct group members. Lists provisioned direct members of a group with their membership source (internal or from identity provider). @@ -2006,8 +1968,8 @@ List direct group members. Format: accounts/{account_id}/groups/{group_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -2073,10 +2035,8 @@ func newListGroups() *cobra.Command { cmd.Flags().Lookup("page-token").Hidden = true cmd.Use = "list-groups PARENT" - cmd.Short = `*Beta* List groups in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -List groups in the account. + cmd.Short = `List groups in the account.` + cmd.Long = `List groups in the account. Lists the groups in the Databricks account, returning one page per call. Supports filtering by group name or external ID. @@ -2086,8 +2046,8 @@ List groups in the account. accounts/{account_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -2232,10 +2192,8 @@ func newListServicePrincipals() *cobra.Command { cmd.Flags().Lookup("page-token").Hidden = true cmd.Use = "list-service-principals PARENT" - cmd.Short = `*Beta* List service principals in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -List service principals in the account. + cmd.Short = `List service principals in the account.` + cmd.Long = `List service principals in the account. Lists the service principals in the Databricks account, returning one page per call. Supports filtering by application ID or external ID. @@ -2245,8 +2203,8 @@ List service principals in the account. Format: accounts/{account_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -2301,10 +2259,8 @@ func newListTransitiveParentGroups() *cobra.Command { cmd.Flags().StringVar(&listTransitiveParentGroupsReq.PageToken, "page-token", listTransitiveParentGroupsReq.PageToken, `A page token, received from a previous ListTransitiveParentGroups call.`) cmd.Use = "list-transitive-parent-groups PARENT" - cmd.Short = `*Beta* List all transitive parent groups of a principal.` - cmd.Long = `This command is in Beta and may change without notice. - -List all transitive parent groups of a principal. + cmd.Short = `List all transitive parent groups of a principal.` + cmd.Long = `List all transitive parent groups of a principal. Lists all transitive parent groups of a principal. @@ -2313,8 +2269,8 @@ List all transitive parent groups of a principal. to list. Format: accounts/{account_id}/principals/{principal_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -2377,10 +2333,8 @@ func newListUsers() *cobra.Command { cmd.Flags().Lookup("page-token").Hidden = true cmd.Use = "list-users PARENT" - cmd.Short = `*Beta* List users in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -List users in the account. + cmd.Short = `List users in the account.` + cmd.Long = `List users in the account. Lists the users in the Databricks account, returning one page per call. Supports filtering by username or external ID. @@ -2390,8 +2344,8 @@ List users in the account. accounts/{account_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -2541,10 +2495,8 @@ func newListWorkspaceAssignments() *cobra.Command { cmd.Flags().Lookup("page-token").Hidden = true cmd.Use = "list-workspace-assignments PARENT" - cmd.Short = `*Beta* List workspace assignments for a workspace.` - cmd.Long = `This command is in Beta and may change without notice. - -List workspace assignments for a workspace. + cmd.Short = `List workspace assignments for a workspace.` + cmd.Long = `List workspace assignments for a workspace. Lists workspace assignments for a workspace. The response omits the per-principal entitlement fields (entitlements and @@ -2556,8 +2508,8 @@ List workspace assignments for a workspace. Format: accounts/{account_id}/workspaces/{workspace_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -2880,10 +2832,8 @@ func newUpdateGroup() *cobra.Command { cmd.Flags().StringVar(&updateGroupReq.Group.Name, "name", updateGroupReq.Group.Name, `The resource name of the group.`) cmd.Use = "update-group NAME UPDATE_MASK" - cmd.Short = `*Beta* Update a group in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Update a group in the account. + cmd.Short = `Update a group in the account.` + cmd.Long = `Update a group in the account. Updates an existing group in the Databricks account. Only the fields named in the update mask are modified. Returns the updated Group resource. @@ -2903,8 +2853,8 @@ Update a group in the account. UPDATE_MASK: Required. The list of fields to update.` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(2) @@ -2973,10 +2923,8 @@ func newUpdateServicePrincipal() *cobra.Command { cmd.Flags().StringVar(&updateServicePrincipalReq.ServicePrincipal.Name, "name", updateServicePrincipalReq.ServicePrincipal.Name, `The resource name of the service principal.`) cmd.Use = "update-service-principal NAME UPDATE_MASK DISPLAY_NAME ACCOUNT_SP_STATUS" - cmd.Short = `*Beta* Update a service principal in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Update a service principal in the account. + cmd.Short = `Update a service principal in the account.` + cmd.Long = `Update a service principal in the account. Updates an existing service principal in the Databricks account. Only the fields named in the update mask are modified. Returns the updated @@ -3000,8 +2948,8 @@ Update a service principal in the account. Supported values: [ACTIVE, INACTIVE]` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { if cmd.Flags().Changed("json") { @@ -3087,10 +3035,8 @@ func newUpdateUser() *cobra.Command { cmd.Flags().StringVar(&updateUserReq.User.Name, "name", updateUserReq.User.Name, `The resource name of the user.`) cmd.Use = "update-user NAME UPDATE_MASK USERNAME FULL_NAME ACCOUNT_USER_STATUS" - cmd.Short = `*Beta* Update a user in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Update a user in the account. + cmd.Short = `Update a user in the account.` + cmd.Long = `Update a user in the account. Updates an existing user in the Databricks account and returns the updated user. Only the fields named in the update mask are modified. The updatable @@ -3111,8 +3057,8 @@ Update a user in the account. Supported values: [ACTIVE, INACTIVE]` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { if cmd.Flags().Changed("json") { @@ -3206,10 +3152,8 @@ func newUpdateWorkspaceAssignment() *cobra.Command { cmd.Flags().StringVar(&updateWorkspaceAssignmentReq.WorkspaceAssignment.Name, "name", updateWorkspaceAssignmentReq.WorkspaceAssignment.Name, `The resource name of the workspace assignment.`) cmd.Use = "update-workspace-assignment NAME UPDATE_MASK PRINCIPAL_ID" - cmd.Short = `*Beta* Update a workspace assignment.` - cmd.Long = `This command is in Beta and may change without notice. - -Update a workspace assignment. + cmd.Short = `Update a workspace assignment.` + cmd.Long = `Update a workspace assignment. Updates the entitlements of a directly assigned principal in a workspace. Changes are applied one at a time rather than atomically. If the request fails @@ -3227,8 +3171,8 @@ Update a workspace assignment. different principal, create a new assignment.` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { if cmd.Flags().Changed("json") { diff --git a/cmd/workspace/feature-engineering/feature-engineering.go b/cmd/workspace/feature-engineering/feature-engineering.go index 963a07551f6..5f39476128c 100644 --- a/cmd/workspace/feature-engineering/feature-engineering.go +++ b/cmd/workspace/feature-engineering/feature-engineering.go @@ -2394,9 +2394,12 @@ func newUpdateMaterializationSet() *cobra.Command { cmd.Short = `Update a materialization set.` cmd.Long = `Update a materialization set. - Update the materialization set's state to match the supplied materialization - set. Changes are applied member by member and are not atomic: when one member - fails, the error reports which members were already changed. + Updates a materialization set. Supports changing pause settings and deleting + materialized features from the set. + + Changes are not atomic. Some updates or deletions may succeed even if the + operation fails. Individual outcomes are available in + MaterializationSetUpdateProgress. This is a long-running operation. By default, the command waits for the operation to complete. Use --no-wait to return immediately with the raw @@ -2405,7 +2408,18 @@ func newUpdateMaterializationSet() *cobra.Command { Arguments: MATERIALIZATION_SET_ID: Server-assigned unique identifier for the materialization set. - UPDATE_MASK: The fields to update. Only 'materialized_features' or '*' is supported.` + UPDATE_MASK: The fields to update, relative to the materialization set. Supported + values are materialized_features and *. + + The materialized_features mask updates retained members and deletes + omitted materialized features. The * mask selects all fields of the set + and follows the same membership rules. Adding members is not supported. + + To change pause settings without changing membership, include every member + of the set. An omitted paused is reset to false. + + Fields outside the mask are unchanged. Trigger types and settings other + than paused must remain unchanged.` // This command is being previewed; hide from help output. cmd.Hidden = true diff --git a/cmd/workspace/metastores/metastores.go b/cmd/workspace/metastores/metastores.go index 6a1ef18de8c..d0fa87e0033 100644 --- a/cmd/workspace/metastores/metastores.go +++ b/cmd/workspace/metastores/metastores.go @@ -52,6 +52,7 @@ func New() *cobra.Command { cmd.AddCommand(newList()) cmd.AddCommand(newSummary()) cmd.AddCommand(newUnassign()) + cmd.AddCommand(newUndropMetastoreById()) cmd.AddCommand(newUpdate()) cmd.AddCommand(newUpdateAssignment()) @@ -605,6 +606,94 @@ func newUnassign() *cobra.Command { return cmd } +// start undrop-metastore-by-id command + +// Slice with functions to override default command behavior. +// Functions can be added from the `init()` function in manually curated files in this directory. +var undropMetastoreByIdOverrides []func( + *cobra.Command, + *catalog.UndropMetastoreByIdRequest, +) + +func newUndropMetastoreById() *cobra.Command { + cmd := &cobra.Command{} + + var undropMetastoreByIdReq catalog.UndropMetastoreByIdRequest + var undropMetastoreByIdJson flags.JsonFlag + + cmd.Flags().Var(&undropMetastoreByIdJson, "json", `either inline JSON string or @path/to/file.json with request body`) + + cmd.Use = "undrop-metastore-by-id ID" + cmd.Short = `*Public Preview* Restore a metastore.` + cmd.Long = `This command is in Public Preview and may change without notice. + +Restore a metastore. + + Restores a soft-deleted metastore identified by its ID. The caller must be an + account admin. A metastore may be eligible for restoration for up to five days + after deletion. Restoration may become unavailable earlier once permanent + deletion begins. Returns the restored metastore. + + Arguments: + ID: Required. Id of the metastore to undrop.` + + cmd.Annotations = make(map[string]string) + cmd.Annotations["launch_stage"] = "PUBLIC_PREVIEW" + cmd.Annotations["launch_stage_display"] = "Public Preview" + + cmd.Args = func(cmd *cobra.Command, args []string) error { + if cmd.Flags().Changed("json") { + err := root.ExactArgs(0)(cmd, args) + if err != nil { + return errors.New("when --json flag is specified, no positional arguments are allowed. Provide 'id' in your JSON input") + } + return nil + } + check := root.ExactArgs(1) + return check(cmd, args) + } + + cmd.PreRunE = root.MustWorkspaceClient + cmd.RunE = func(cmd *cobra.Command, args []string) (err error) { + ctx := cmd.Context() + w := cmdctx.WorkspaceClient(ctx) + + if cmd.Flags().Changed("json") { + diags := undropMetastoreByIdJson.Unmarshal(&undropMetastoreByIdReq) + if diags.HasError() { + return diags.Error() + } + if len(diags) > 0 { + err := cmdio.RenderDiagnostics(ctx, diags) + if err != nil { + return err + } + } + } + if !cmd.Flags().Changed("json") { + undropMetastoreByIdReq.Id = args[0] + } + + response, err := w.Metastores.UndropMetastoreById(ctx, undropMetastoreByIdReq) + if err != nil { + return err + } + + return cmdio.Render(ctx, response) + } + + // Disable completions since they are not applicable. + // Can be overridden by manual implementation in `override.go`. + cmd.ValidArgsFunction = cobra.NoFileCompletions + + // Apply optional overrides to this command. + for _, fn := range undropMetastoreByIdOverrides { + fn(cmd, &undropMetastoreByIdReq) + } + + return cmd +} + // start update command // Slice with functions to override default command behavior. diff --git a/cmd/workspace/workspace-iam-v2/workspace-iam-v2.go b/cmd/workspace/workspace-iam-v2/workspace-iam-v2.go index 3307175faab..6b870b4686a 100644 --- a/cmd/workspace/workspace-iam-v2/workspace-iam-v2.go +++ b/cmd/workspace/workspace-iam-v2/workspace-iam-v2.go @@ -104,10 +104,8 @@ func newCreateDirectGroupMemberProxy() *cobra.Command { cmd.Flags().StringVar(&createDirectGroupMemberProxyReq.DirectGroupMember.Name, "name", createDirectGroupMemberProxyReq.DirectGroupMember.Name, `The resource name of the group membership.`) cmd.Use = "create-direct-group-member-proxy PARENT PRINCIPAL_ID" - cmd.Short = `*Beta* Create a direct group membership.` - cmd.Long = `This command is in Beta and may change without notice. - -Create a direct group membership. + cmd.Short = `Create a direct group membership.` + cmd.Long = `Create a direct group membership. Creates a group membership (assigns a principal to a group). @@ -117,8 +115,8 @@ Create a direct group membership. PRINCIPAL_ID: Internal ID of the principal in Databricks.` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { if cmd.Flags().Changed("json") { @@ -202,10 +200,8 @@ func newCreateGroupProxy() *cobra.Command { cmd.Flags().StringVar(&createGroupProxyReq.Group.Name, "name", createGroupProxyReq.Group.Name, `The resource name of the group.`) cmd.Use = "create-group-proxy" - cmd.Short = `*Beta* Create a group in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Create a group in the account. + cmd.Short = `Create a group in the account.` + cmd.Long = `Create a group in the account. Creates a local group in the Databricks account that parents the calling workspace and returns the created group. A local group is one that is not @@ -218,8 +214,8 @@ Create a group in the account. resource.` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(0) @@ -287,10 +283,8 @@ func newCreateServicePrincipalProxy() *cobra.Command { cmd.Flags().StringVar(&createServicePrincipalProxyReq.ServicePrincipal.Name, "name", createServicePrincipalProxyReq.ServicePrincipal.Name, `The resource name of the service principal.`) cmd.Use = "create-service-principal-proxy DISPLAY_NAME ACCOUNT_SP_STATUS" - cmd.Short = `*Beta* Create a service principal in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Create a service principal in the account. + cmd.Short = `Create a service principal in the account.` + cmd.Long = `Create a service principal in the account. Creates a local service principal in the Databricks account that parents the calling workspace and returns the created service principal. A local service @@ -308,8 +302,8 @@ Create a service principal in the account. Supported values: [ACTIVE, INACTIVE]` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { if cmd.Flags().Changed("json") { @@ -394,10 +388,8 @@ func newCreateUserProxy() *cobra.Command { cmd.Flags().StringVar(&createUserProxyReq.User.Name, "name", createUserProxyReq.User.Name, `The resource name of the user.`) cmd.Use = "create-user-proxy USERNAME FULL_NAME ACCOUNT_USER_STATUS" - cmd.Short = `*Beta* Create a user in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Create a user in the account. + cmd.Short = `Create a user in the account.` + cmd.Long = `Create a user in the account. Creates a local user in the Databricks account that parents the calling workspace and returns the created user. A local user is one that is not synced @@ -416,8 +408,8 @@ Create a user in the account. Supported values: [ACTIVE, INACTIVE]` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { if cmd.Flags().Changed("json") { @@ -605,10 +597,8 @@ func newCreateWorkspaceAssignmentProxy() *cobra.Command { cmd.Flags().StringVar(&createWorkspaceAssignmentProxyReq.WorkspaceAssignment.Name, "name", createWorkspaceAssignmentProxyReq.WorkspaceAssignment.Name, `The resource name of the workspace assignment.`) cmd.Use = "create-workspace-assignment-proxy PRINCIPAL_ID" - cmd.Short = `*Beta* Create a workspace assignment for a workspace.` - cmd.Long = `This command is in Beta and may change without notice. - -Create a workspace assignment for a workspace. + cmd.Short = `Create a workspace assignment for a workspace.` + cmd.Long = `Create a workspace assignment for a workspace. Creates a workspace assignment for a principal in the calling workspace. Entitlements are granted one at a time rather than atomically. If the request @@ -622,8 +612,8 @@ Create a workspace assignment for a workspace. different principal, create a new assignment.` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { if cmd.Flags().Changed("json") { @@ -697,10 +687,8 @@ func newDeleteDirectGroupMemberProxy() *cobra.Command { var deleteDirectGroupMemberProxyReq iamv2.DeleteDirectGroupMemberProxyRequest cmd.Use = "delete-direct-group-member-proxy NAME" - cmd.Short = `*Beta* Delete a direct group membership.` - cmd.Long = `This command is in Beta and may change without notice. - -Delete a direct group membership. + cmd.Short = `Delete a direct group membership.` + cmd.Long = `Delete a direct group membership. Deletes a group membership (unassigns a principal from a group). @@ -709,8 +697,8 @@ Delete a direct group membership. groups/{group_id}/direct-members/{principal_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -758,10 +746,8 @@ func newDeleteGroupProxy() *cobra.Command { var deleteGroupProxyReq iamv2.DeleteGroupProxyRequest cmd.Use = "delete-group-proxy NAME" - cmd.Short = `*Beta* Delete a group in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Delete a group in the account. + cmd.Short = `Delete a group in the account.` + cmd.Long = `Delete a group in the account. Deletes a group by its internal ID from the Databricks account that parents the calling workspace. @@ -770,8 +756,8 @@ Delete a group in the account. NAME: The resource name of the group. Format: groups/{group_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -819,10 +805,8 @@ func newDeleteServicePrincipalProxy() *cobra.Command { var deleteServicePrincipalProxyReq iamv2.DeleteServicePrincipalProxyRequest cmd.Use = "delete-service-principal-proxy NAME" - cmd.Short = `*Beta* Delete a service principal in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Delete a service principal in the account. + cmd.Short = `Delete a service principal in the account.` + cmd.Long = `Delete a service principal in the account. Deletes a service principal by its internal ID from the Databricks account that parents the calling workspace. @@ -832,8 +816,8 @@ Delete a service principal in the account. service-principals/{service_principal_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -881,10 +865,8 @@ func newDeleteUserProxy() *cobra.Command { var deleteUserProxyReq iamv2.DeleteUserProxyRequest cmd.Use = "delete-user-proxy NAME" - cmd.Short = `*Beta* Delete a user in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Delete a user in the account. + cmd.Short = `Delete a user in the account.` + cmd.Long = `Delete a user in the account. Deletes a user by its internal ID from the Databricks account that parents the calling workspace. @@ -893,8 +875,8 @@ Delete a user in the account. NAME: The resource name of the user. Format: users/{user_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1011,10 +993,8 @@ func newDeleteWorkspaceAssignmentProxy() *cobra.Command { var deleteWorkspaceAssignmentProxyReq iamv2.DeleteWorkspaceAssignmentProxyRequest cmd.Use = "delete-workspace-assignment-proxy NAME" - cmd.Short = `*Beta* Delete a workspace assignment for a workspace.` - cmd.Long = `This command is in Beta and may change without notice. - -Delete a workspace assignment for a workspace. + cmd.Short = `Delete a workspace assignment for a workspace.` + cmd.Long = `Delete a workspace assignment for a workspace. Deletes a workspace assignment for a principal in the calling workspace, revoking all of its entitlements. Entitlements are revoked one at a time @@ -1026,8 +1006,8 @@ Delete a workspace assignment for a workspace. workspace-assignments/{principal_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1075,10 +1055,8 @@ func newGetDirectGroupMemberProxy() *cobra.Command { var getDirectGroupMemberProxyReq iamv2.GetDirectGroupMemberProxyRequest cmd.Use = "get-direct-group-member-proxy NAME" - cmd.Short = `*Beta* Get a direct group member.` - cmd.Long = `This command is in Beta and may change without notice. - -Get a direct group member. + cmd.Short = `Get a direct group member.` + cmd.Long = `Get a direct group member. Gets a provisioned direct member of a group. @@ -1087,8 +1065,8 @@ Get a direct group member. groups/{group_id}/direct-members/{principal_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1137,10 +1115,8 @@ func newGetExternalGroupProxy() *cobra.Command { var getExternalGroupProxyReq iamv2.GetExternalGroupProxyRequest cmd.Use = "get-external-group-proxy NAME" - cmd.Short = `*Beta* Get an external group in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Get an external group in the account. + cmd.Short = `Get an external group in the account.` + cmd.Long = `Get an external group in the account. Retrieves an external group with the given external ID from the customer's IdP. If the group does not exist, it will be created in the account. If the @@ -1152,8 +1128,8 @@ Get an external group in the account. external-groups/{external_group_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1202,10 +1178,8 @@ func newGetExternalServicePrincipalProxy() *cobra.Command { var getExternalServicePrincipalProxyReq iamv2.GetExternalServicePrincipalProxyRequest cmd.Use = "get-external-service-principal-proxy NAME" - cmd.Short = `*Beta* Get an external service principal in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Get an external service principal in the account. + cmd.Short = `Get an external service principal in the account.` + cmd.Long = `Get an external service principal in the account. Retrieves an external service principal with the given external ID from the customer's IdP. If the service principal does not exist, it will be created. @@ -1218,8 +1192,8 @@ Get an external service principal in the account. external-service-principals/{external_service_principal_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1268,10 +1242,8 @@ func newGetExternalUserProxy() *cobra.Command { var getExternalUserProxyReq iamv2.GetExternalUserProxyRequest cmd.Use = "get-external-user-proxy NAME" - cmd.Short = `*Beta* Get an external user in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Get an external user in the account. + cmd.Short = `Get an external user in the account.` + cmd.Long = `Get an external user in the account. Retrieves an external user with the given external ID from the customer's IdP. If the user does not exist, it will be created. If the customer is not @@ -1283,8 +1255,8 @@ Get an external user in the account. external-users/{external_user_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1333,10 +1305,8 @@ func newGetGroupProxy() *cobra.Command { var getGroupProxyReq iamv2.GetGroupProxyRequest cmd.Use = "get-group-proxy NAME" - cmd.Short = `*Beta* Get a group in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Get a group in the account. + cmd.Short = `Get a group in the account.` + cmd.Long = `Get a group in the account. Fetches a group by its internal ID from the Databricks account that parents the calling workspace. @@ -1345,8 +1315,8 @@ Get a group in the account. NAME: The resource name of the group. Format: groups/{group_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1395,10 +1365,8 @@ func newGetServicePrincipalProxy() *cobra.Command { var getServicePrincipalProxyReq iamv2.GetServicePrincipalProxyRequest cmd.Use = "get-service-principal-proxy NAME" - cmd.Short = `*Beta* Get a service principal in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Get a service principal in the account. + cmd.Short = `Get a service principal in the account.` + cmd.Long = `Get a service principal in the account. Fetches a service principal by its internal ID from the Databricks account that parents the calling workspace. @@ -1408,8 +1376,8 @@ Get a service principal in the account. service-principals/{service_principal_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1458,10 +1426,8 @@ func newGetUserProxy() *cobra.Command { var getUserProxyReq iamv2.GetUserProxyRequest cmd.Use = "get-user-proxy NAME" - cmd.Short = `*Beta* Get a user in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Get a user in the account. + cmd.Short = `Get a user in the account.` + cmd.Long = `Get a user in the account. Fetches a user by its internal ID from the Databricks account that parents the calling workspace. @@ -1470,8 +1436,8 @@ Get a user in the account. NAME: The resource name of the user. Format: users/{user_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1655,10 +1621,8 @@ func newGetWorkspaceAssignmentProxy() *cobra.Command { var getWorkspaceAssignmentProxyReq iamv2.GetWorkspaceAssignmentProxyRequest cmd.Use = "get-workspace-assignment-proxy NAME" - cmd.Short = `*Beta* Get a workspace assignment for a principal.` - cmd.Long = `This command is in Beta and may change without notice. - -Get a workspace assignment for a principal. + cmd.Short = `Get a workspace assignment for a principal.` + cmd.Long = `Get a workspace assignment for a principal. Returns the assignment for a principal in the calling workspace. @@ -1667,8 +1631,8 @@ Get a workspace assignment for a principal. workspace-assignments/{principal_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1717,10 +1681,8 @@ func newGetWorkspaceIdentityDetail() *cobra.Command { var getWorkspaceIdentityDetailReq iamv2.GetWorkspaceIdentityDetailRequest cmd.Use = "get-workspace-identity-detail NAME" - cmd.Short = `*Beta* Get workspace identity details for a principal.` - cmd.Long = `This command is in Beta and may change without notice. - -Get workspace identity details for a principal. + cmd.Short = `Get workspace identity details for a principal.` + cmd.Long = `Get workspace identity details for a principal. Returns the identity details for a principal in a workspace. @@ -1729,8 +1691,8 @@ Get workspace identity details for a principal. principals/{principal_id}/workspace-identity-detail` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1792,10 +1754,8 @@ func newListDirectGroupMembersProxy() *cobra.Command { cmd.Flags().Lookup("page-token").Hidden = true cmd.Use = "list-direct-group-members-proxy PARENT" - cmd.Short = `*Beta* List direct group members.` - cmd.Long = `This command is in Beta and may change without notice. - -List direct group members. + cmd.Short = `List direct group members.` + cmd.Long = `List direct group members. Lists provisioned direct members of a group with their membership source (internal or from identity provider). @@ -1805,8 +1765,8 @@ List direct group members. Format: groups/{group_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1873,17 +1833,15 @@ func newListGroupsProxy() *cobra.Command { cmd.Flags().Lookup("page-token").Hidden = true cmd.Use = "list-groups-proxy" - cmd.Short = `*Beta* List groups in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -List groups in the account. + cmd.Short = `List groups in the account.` + cmd.Long = `List groups in the account. Lists the groups in the Databricks account that parents the calling workspace, returning one page per call. Supports filtering by group name or external ID.` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(0) @@ -1948,18 +1906,16 @@ func newListServicePrincipalsProxy() *cobra.Command { cmd.Flags().Lookup("page-token").Hidden = true cmd.Use = "list-service-principals-proxy" - cmd.Short = `*Beta* List service principals in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -List service principals in the account. + cmd.Short = `List service principals in the account.` + cmd.Long = `List service principals in the account. Lists the service principals in the Databricks account that parents the calling workspace, returning one page per call. Supports filtering by application ID or external ID.` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(0) @@ -2012,10 +1968,8 @@ func newListTransitiveParentGroupsProxy() *cobra.Command { cmd.Flags().StringVar(&listTransitiveParentGroupsProxyReq.PageToken, "page-token", listTransitiveParentGroupsProxyReq.PageToken, `A page token, received from a previous ListTransitiveParentGroups call.`) cmd.Use = "list-transitive-parent-groups-proxy PARENT" - cmd.Short = `*Beta* List all transitive parent groups of a principal.` - cmd.Long = `This command is in Beta and may change without notice. - -List all transitive parent groups of a principal. + cmd.Short = `List all transitive parent groups of a principal.` + cmd.Long = `List all transitive parent groups of a principal. Lists all transitive parent groups of a principal. @@ -2024,8 +1978,8 @@ List all transitive parent groups of a principal. to list. Format: principals/{principal_id}` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -2089,17 +2043,15 @@ func newListUsersProxy() *cobra.Command { cmd.Flags().Lookup("page-token").Hidden = true cmd.Use = "list-users-proxy" - cmd.Short = `*Beta* List users in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -List users in the account. + cmd.Short = `List users in the account.` + cmd.Long = `List users in the account. Lists the users in the Databricks account that parents the calling workspace, returning one page per call. Supports filtering by username or external ID.` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(0) @@ -2239,10 +2191,8 @@ func newListWorkspaceAssignmentsProxy() *cobra.Command { cmd.Flags().Lookup("page-token").Hidden = true cmd.Use = "list-workspace-assignments-proxy" - cmd.Short = `*Beta* List workspace assignments for a workspace.` - cmd.Long = `This command is in Beta and may change without notice. - -List workspace assignments for a workspace. + cmd.Short = `List workspace assignments for a workspace.` + cmd.Long = `List workspace assignments for a workspace. Lists workspace assignments for the calling workspace. The response omits the per-principal entitlement fields (entitlements and @@ -2250,8 +2200,8 @@ List workspace assignments for a workspace. get that principal's assignment.` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(0) @@ -2572,10 +2522,8 @@ func newUpdateGroupProxy() *cobra.Command { cmd.Flags().StringVar(&updateGroupProxyReq.Group.Name, "name", updateGroupProxyReq.Group.Name, `The resource name of the group.`) cmd.Use = "update-group-proxy NAME UPDATE_MASK" - cmd.Short = `*Beta* Update a group in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Update a group in the account. + cmd.Short = `Update a group in the account.` + cmd.Long = `Update a group in the account. Updates an existing group in the Databricks account that parents the calling workspace. Only the fields named in the update mask are modified. Returns the @@ -2593,8 +2541,8 @@ Update a group in the account. UPDATE_MASK: Required. The list of fields to update.` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(2) @@ -2663,10 +2611,8 @@ func newUpdateServicePrincipalProxy() *cobra.Command { cmd.Flags().StringVar(&updateServicePrincipalProxyReq.ServicePrincipal.Name, "name", updateServicePrincipalProxyReq.ServicePrincipal.Name, `The resource name of the service principal.`) cmd.Use = "update-service-principal-proxy NAME UPDATE_MASK DISPLAY_NAME ACCOUNT_SP_STATUS" - cmd.Short = `*Beta* Update a service principal in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Update a service principal in the account. + cmd.Short = `Update a service principal in the account.` + cmd.Long = `Update a service principal in the account. Updates an existing service principal in the Databricks account that parents the calling workspace. Only the fields named in the update mask are modified. @@ -2690,8 +2636,8 @@ Update a service principal in the account. Supported values: [ACTIVE, INACTIVE]` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { if cmd.Flags().Changed("json") { @@ -2777,10 +2723,8 @@ func newUpdateUserProxy() *cobra.Command { cmd.Flags().StringVar(&updateUserProxyReq.User.Name, "name", updateUserProxyReq.User.Name, `The resource name of the user.`) cmd.Use = "update-user-proxy NAME UPDATE_MASK USERNAME FULL_NAME ACCOUNT_USER_STATUS" - cmd.Short = `*Beta* Update a user in the account.` - cmd.Long = `This command is in Beta and may change without notice. - -Update a user in the account. + cmd.Short = `Update a user in the account.` + cmd.Long = `Update a user in the account. Updates an existing user in the Databricks account that parents the calling workspace and returns the updated user. Only the fields named in the update @@ -2802,8 +2746,8 @@ Update a user in the account. Supported values: [ACTIVE, INACTIVE]` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { if cmd.Flags().Changed("json") { @@ -3005,10 +2949,8 @@ func newUpdateWorkspaceAssignmentProxy() *cobra.Command { cmd.Flags().StringVar(&updateWorkspaceAssignmentProxyReq.WorkspaceAssignment.Name, "name", updateWorkspaceAssignmentProxyReq.WorkspaceAssignment.Name, `The resource name of the workspace assignment.`) cmd.Use = "update-workspace-assignment-proxy NAME UPDATE_MASK PRINCIPAL_ID" - cmd.Short = `*Beta* Update a workspace assignment for a workspace.` - cmd.Long = `This command is in Beta and may change without notice. - -Update a workspace assignment for a workspace. + cmd.Short = `Update a workspace assignment for a workspace.` + cmd.Long = `Update a workspace assignment for a workspace. Updates the entitlements of a directly assigned principal in the calling workspace. Changes are applied one at a time rather than atomically. If the @@ -3026,8 +2968,8 @@ Update a workspace assignment for a workspace. different principal, create a new assignment.` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { if cmd.Flags().Changed("json") { @@ -3113,10 +3055,8 @@ func newUpdateWorkspaceIdentityDetail() *cobra.Command { cmd.Flags().Var(&updateWorkspaceIdentityDetailReq.WorkspaceIdentityDetail.WorkspaceIdentityStatus, "workspace-identity-status", `The activity status of an identity in a Databricks workspace. Supported values: [ACTIVE, INACTIVE]`) cmd.Use = "update-workspace-identity-detail NAME UPDATE_MASK" - cmd.Short = `*Beta* Update workspace identity details for a principal.` - cmd.Long = `This command is in Beta and may change without notice. - -Update workspace identity details for a principal. + cmd.Short = `Update workspace identity details for a principal.` + cmd.Long = `Update workspace identity details for a principal. Updates a workspace identity detail for a principal. @@ -3126,8 +3066,8 @@ Update workspace identity details for a principal. UPDATE_MASK: Required. The list of fields to update.` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_BETA" - cmd.Annotations["launch_stage_display"] = "Beta" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(2) diff --git a/go.mod b/go.mod index 2ddb60b8b74..51a2b8d19f5 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/charmbracelet/huh v1.0.0 // MIT github.com/charmbracelet/lipgloss v1.1.0 // MIT github.com/charmbracelet/x/ansi v0.11.9 // MIT - github.com/databricks/databricks-sdk-go v0.194.0 // Apache-2.0 + github.com/databricks/databricks-sdk-go v0.195.0 // Apache-2.0 github.com/databricks/sdk-go/auth v0.2.0 // Apache-2.0 github.com/databricks/sdk-go/core v0.1.0 // Apache-2.0 github.com/databricks/sdk-go/files v0.3.0 // Apache-2.0 diff --git a/go.sum b/go.sum index 5049b80858e..93eef9ec4a8 100644 --- a/go.sum +++ b/go.sum @@ -60,8 +60,8 @@ github.com/creack/pty v1.1.24 h1:bJrF4RRfyJnbTJqzRLHzcGaZK1NeM5kTC9jGgovnR1s= github.com/creack/pty v1.1.24/go.mod h1:08sCNb52WyoAwi2QDyzUCTgcvVFhUzewun7wtTfvcwE= github.com/danieljoos/wincred v1.2.3 h1:v7dZC2x32Ut3nEfRH+vhoZGvN72+dQ/snVXo/vMFLdQ= github.com/danieljoos/wincred v1.2.3/go.mod h1:6qqX0WNrS4RzPZ1tnroDzq9kY3fu1KwE7MRLQK4X0bs= -github.com/databricks/databricks-sdk-go v0.194.0 h1:/6lZFkAcnjocOfUBsi7oSXVwp8W+IaKDlcQFe4UYGPM= -github.com/databricks/databricks-sdk-go v0.194.0/go.mod h1:udBw6nxkaqa0fgPQ7ZW1kGFkltQncYx+qFJeVFmxtz8= +github.com/databricks/databricks-sdk-go v0.195.0 h1:Ec2f806fEKwUJsOEUFWaQuwzTThnixnJPUnL0CizgNI= +github.com/databricks/databricks-sdk-go v0.195.0/go.mod h1:udBw6nxkaqa0fgPQ7ZW1kGFkltQncYx+qFJeVFmxtz8= github.com/databricks/sdk-go/auth v0.2.0 h1:543fVMvJ6pVxBymfjGGkkmfiHDbUqX7y9lZseEcE4tQ= github.com/databricks/sdk-go/auth v0.2.0/go.mod h1:eNJdFzBAfu1y32a3wPcTnjaUkjhS9VfyCNblKFPIPEo= github.com/databricks/sdk-go/core v0.1.0 h1:ZolzW/KVIJy1xXQ0zTsu/QYsEB4vQAEApbbq4D3RGHc= diff --git a/python/databricks/bundles/materialization_sets/_models/cron_schedule.py b/python/databricks/bundles/materialization_sets/_models/cron_schedule.py index 891502e0082..72fb5d3aedb 100644 --- a/python/databricks/bundles/materialization_sets/_models/cron_schedule.py +++ b/python/databricks/bundles/materialization_sets/_models/cron_schedule.py @@ -20,7 +20,7 @@ class CronSchedule: """ :meta private: [EXPERIMENTAL] - A cron-based schedule trigger for the materialization pipeline. + A cron-based schedule trigger for batch materialization. """ cron_expression: VariableOrOptional[str] = None diff --git a/python/databricks/bundles/materialization_sets/_models/materialization_set.py b/python/databricks/bundles/materialization_sets/_models/materialization_set.py index a84f5b1ebdc..bbd4bbb27c5 100644 --- a/python/databricks/bundles/materialization_sets/_models/materialization_set.py +++ b/python/databricks/bundles/materialization_sets/_models/materialization_set.py @@ -49,7 +49,8 @@ class MaterializationSet(Resource): :meta private: [EXPERIMENTAL] [Private Preview] The materialized features in this set. Order is not significant. - Updating the set with a materialized feature removed from this set will cause it to be deleted. + An `UpdateMaterializationSet` request with `materialized_features` or `*` + in its update mask deletes omitted materialized features. """ notifications: VariableOrOptional[MaterializationNotifications] = None @@ -89,7 +90,8 @@ class MaterializationSetDict(TypedDict, total=False): :meta private: [EXPERIMENTAL] [Private Preview] The materialized features in this set. Order is not significant. - Updating the set with a materialized feature removed from this set will cause it to be deleted. + An `UpdateMaterializationSet` request with `materialized_features` or `*` + in its update mask deletes omitted materialized features. """ notifications: VariableOrOptional[MaterializationNotificationsParam] diff --git a/python/databricks/bundles/materialization_sets/_models/materialized_feature.py b/python/databricks/bundles/materialization_sets/_models/materialized_feature.py index c50c6f5dca2..f4ac4fe7408 100644 --- a/python/databricks/bundles/materialization_sets/_models/materialized_feature.py +++ b/python/databricks/bundles/materialization_sets/_models/materialized_feature.py @@ -58,7 +58,7 @@ class MaterializedFeature: cron_schedule_trigger: VariableOrOptional[CronSchedule] = None """ - A cron-based schedule trigger for the materialization pipeline. + A cron-based schedule trigger for batch materialization. """ materialized_feature_id: VariableOrOptional[str] = None @@ -87,7 +87,7 @@ class MaterializedFeature: table_trigger: VariableOrOptional[TableTrigger] = None """ - A trigger that fires when the upstream source table changes. + A trigger that starts batch materialization when the upstream source table changes. """ tags: VariableOrDict[str] = field(default_factory=dict) @@ -129,7 +129,7 @@ class MaterializedFeatureDict(TypedDict, total=False): cron_schedule_trigger: VariableOrOptional[CronScheduleParam] """ - A cron-based schedule trigger for the materialization pipeline. + A cron-based schedule trigger for batch materialization. """ materialized_feature_id: VariableOrOptional[str] @@ -158,7 +158,7 @@ class MaterializedFeatureDict(TypedDict, total=False): table_trigger: VariableOrOptional[TableTriggerParam] """ - A trigger that fires when the upstream source table changes. + A trigger that starts batch materialization when the upstream source table changes. """ tags: VariableOrDict[str] diff --git a/python/databricks/bundles/materialization_sets/_models/table_trigger.py b/python/databricks/bundles/materialization_sets/_models/table_trigger.py index bee81ccf16e..d4c2123656b 100644 --- a/python/databricks/bundles/materialization_sets/_models/table_trigger.py +++ b/python/databricks/bundles/materialization_sets/_models/table_trigger.py @@ -20,8 +20,8 @@ class TableTrigger: """ :meta private: [EXPERIMENTAL] - A trigger that fires when the feature's source table changes: a DeltaTableSource's table, or an - SdpSource's input_tables. + A trigger that starts batch materialization when the feature's source table changes: + a DeltaTableSource's table, or an SdpSource's input_tables. """ condition: VariableOrOptional[TableTriggerTableTriggerCondition] = None From c7d787e525b1224240e086e85b4ac33fd702f5fc Mon Sep 17 00:00:00 2001 From: "pieter.noordhuis" Date: Fri, 6 Nov 2026 10:05:33 +0000 Subject: [PATCH 2/2] Fix CI for Go SDK v0.195.0 bump Remove the hand-written recreate rule for data_profiling_config.assets_dir, now generated from the spec, and add the PR link to the changelog fragment. Co-authored-by: Isaac --- .nextchanges/dependency-updates/go-sdk-v0.195.0.md | 2 +- bundle/direct/dresources/configs/data_quality_monitors.yml | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.nextchanges/dependency-updates/go-sdk-v0.195.0.md b/.nextchanges/dependency-updates/go-sdk-v0.195.0.md index 232643d034a..ead8f2bc985 100644 --- a/.nextchanges/dependency-updates/go-sdk-v0.195.0.md +++ b/.nextchanges/dependency-updates/go-sdk-v0.195.0.md @@ -1 +1 @@ -* Update the Go SDK to [v0.195.0](https://github.com/databricks/databricks-sdk-go/releases/tag/v0.195.0). +* Update the Go SDK to [v0.195.0](https://github.com/databricks/databricks-sdk-go/releases/tag/v0.195.0). ([#7384](https://github.com/databricks/cli/pull/7384)) diff --git a/bundle/direct/dresources/configs/data_quality_monitors.yml b/bundle/direct/dresources/configs/data_quality_monitors.yml index 3d195fb3574..55ae4108a0f 100644 --- a/bundle/direct/dresources/configs/data_quality_monitors.yml +++ b/bundle/direct/dresources/configs/data_quality_monitors.yml @@ -5,9 +5,3 @@ provided_id_fields: reason: id_field - field: object_id reason: id_field - -recreate_on_changes: - # Create:REQ Update:IGN in the data-quality API: the update endpoint ignores it. - # Same as quality_monitors.assets_dir. - - field: data_profiling_config.assets_dir - reason: immutable