diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/AccountClient.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/AccountClient.java index 648348bd6..dab94e655 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/AccountClient.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/AccountClient.java @@ -244,10 +244,12 @@ public DisasterRecoveryAPI disasterRecovery() { * configuration encapsulates the AWS KMS key information and some information about how the key * configuration can be used. There are two possible uses for key configurations: * - *

* Managed services: A key configuration can be used to encrypt a workspace's notebook and - * secret data in the control plane, as well as Databricks SQL queries and query history. * - * Storage: A key configuration can be used to encrypt a workspace's DBFS and EBS data in the data - * plane. + *

* *

In both of these cases, the key configuration's ID is used when creating a new workspace. * This Preview feature is available if your account is on the E2 version of the platform. @@ -274,40 +276,60 @@ public EndpointsAPI endpoints() { * for Databricks OAuth tokens, which can be used to access Databricks APIs. Token federation * eliminates the need to manage Databricks secrets, and allows you to centralize management of * token issuance policies in your IdP. Databricks token federation is typically used in - * combination with [SCIM], so users in your IdP are synchronized into your Databricks account. + * combination with SCIM, so users in + * your IdP are synchronized into your Databricks account. * *

Token federation is configured in your Databricks account using an account federation - * policy. An account federation policy specifies: * which IdP, or issuer, your Databricks account - * should accept tokens from * how to determine which Databricks user, or subject, a token is - * issued for + * policy. An account federation policy specifies: * - *

To configure a federation policy, you provide the following: * The required token - * __issuer__, as specified in the “iss” claim of your tokens. The issuer is an https URL that - * identifies your IdP. * The allowed token __audiences__, as specified in the “aud” claim of your - * tokens. This identifier is intended to represent the recipient of the token. As long as the - * audience in the token matches at least one audience in the policy, the token is considered a - * match. If unspecified, the default value is your Databricks account id. * The __subject - * claim__, which indicates which token claim contains the Databricks username of the user the - * token was issued for. If unspecified, the default value is “sub”. * Optionally, the public keys - * used to validate the signature of your tokens, in JWKS format. If unspecified (recommended), - * Databricks automatically fetches the public keys from your issuer’s well known endpoint. - * Databricks strongly recommends relying on your issuer’s well known endpoint for discovering - * public keys. + *

* - *

An example federation policy is: ``` issuer: "https://idp.mycompany.com/oidc" audiences: - * ["databricks"] subject_claim: "sub" ``` + *

To configure a federation policy, you provide the following: + * + *

+ * + *

An example federation policy is: + * + *

{@code
+   * issuer: "https://idp.mycompany.com/oidc"
+   * audiences: ["databricks"]
+   * subject_claim: "sub"
+   * }
* *

An example JWT token body that matches this policy and could be used to authenticate to - * Databricks as user `username@mycompany.com` is: ``` { "iss": "https://idp.mycompany.com/oidc", - * "aud": "databricks", "sub": "username@mycompany.com" } ``` + * Databricks as user {@code username@mycompany.com} is: + * + *


+   * {
+   * "iss": "https://idp.mycompany.com/oidc",
+   * "aud": "databricks",
+   * "sub": "username@mycompany.com"
+   * }
+   * 
* *

You may also need to configure your IdP to generate tokens for your users to exchange with * Databricks, if your users do not already have the ability to generate tokens that are * compatible with your federation policy. * *

You do not need to configure an OAuth application in Databricks to use token federation. - * - *

[SCIM]: https://docs.databricks.com/admin/users-groups/scim/index.html */ public AccountFederationPolicyAPI federationPolicy() { return federationPolicyAPI; @@ -342,9 +364,14 @@ public AccountIamV2API iamV2() { * console and account APIs. If the feature is disabled for the account, all access is allowed for * this account. There is support for allow lists (inclusion) and block lists (exclusion). * - *

When a connection is attempted: 1. **First, all block lists are checked.** If the connection - * IP address matches any block list, the connection is rejected. 2. **If the connection was not - * rejected by block lists**, the IP address is compared with the allow lists. + *

When a connection is attempted: + * + *

    + *
  1. First, all block lists are checked. If the connection IP address matches any block + * list, the connection is rejected. + *
  2. If the connection was not rejected by block lists, the IP address is compared with + * the allow lists. + *
* *

If there is at least one allow list for the account, the connection is allowed only if the * IP address matches an allow list. If there are no allow lists for the account, all IP addresses @@ -362,8 +389,8 @@ public AccountIpAccessListsAPI ipAccessLists() { /** * These APIs manage log delivery configurations for this account. The two supported log types for - * this API are _billable usage logs_ (AWS only) and _audit logs_ (AWS and GCP). This feature is - * in Public Preview. This feature works with all account ID types. + * this API are billable usage logs (AWS only) and audit logs (AWS and GCP). This + * feature is in Public Preview. This feature works with all account ID types. * *

Log delivery works with all account types. However, if your account is on the E2 version of * the platform or on a select custom plan that allows multiple workspaces per account, you can @@ -372,52 +399,68 @@ public AccountIpAccessListsAPI ipAccessLists() { * *

The high-level flow of billable usage delivery (AWS only): * - *

1. **Create storage**: In AWS, [create a new AWS S3 bucket] with a specific bucket policy. - * Using Databricks APIs, call the Account API to create a [storage configuration - * object](:method:Storage/Create) that uses the bucket name. - * - *

2. **Create credentials**: In AWS, create the appropriate AWS IAM role. For full details, - * including the required IAM role policies and trust relationship, see [Billable usage log - * delivery]. Using Databricks APIs, call the Account API to create a [credential configuration - * object](:method:Credentials/Create) that uses the IAM role's ARN. + *

    + *
  1. Create storage: In AWS, create + * a new AWS S3 bucket with a specific bucket policy. Using Databricks APIs, call the + * Account API to create a storage configuration object + * that uses the bucket name. + *
  2. Create credentials: In AWS, create the appropriate AWS IAM role. For full details, + * including the required IAM role policies and trust relationship, see Billable + * usage log delivery. Using Databricks APIs, call the Account API to create a credential configuration object that uses the IAM + * role's ARN. + *
  3. Create log delivery configuration: Using Databricks APIs, call the Account API to + * create a log delivery configuration that uses + * the credential and storage configuration objects from previous steps. You can specify if + * the logs should include all events of that log type in your account (Account level + * delivery) or only events for a specific set of workspaces (workspace level + * delivery). Account level log delivery applies to all current and future workspaces plus + * account level logs, while workspace level log delivery solely delivers logs related to + * the specified workspaces. You can create multiple types of delivery configurations per + * account. + *
* - *

3. **Create log delivery configuration**: Using Databricks APIs, call the Account API to - * [create a log delivery configuration](:method:LogDelivery/Create) that uses the credential and - * storage configuration objects from previous steps. You can specify if the logs should include - * all events of that log type in your account (_Account level_ delivery) or only events for a - * specific set of workspaces (_workspace level_ delivery). Account level log delivery applies to - * all current and future workspaces plus account level logs, while workspace level log delivery - * solely delivers logs related to the specified workspaces. You can create multiple types of - * delivery configurations per account. + *

For billable usage delivery (AWS only): * - *

For billable usage delivery (AWS only): * For more information about billable usage logs, - * see [Billable usage log delivery]. For the CSV schema, see the [Usage page]. * The delivery - * location is `//billable-usage/csv/`, where `` is the name of the - * optional delivery path prefix you set up during log delivery configuration. Files are named - * `workspaceId=-usageMonth=.csv`. * All billable usage logs apply to - * specific workspaces (_workspace level_ logs). You can aggregate usage for your entire account - * by creating an _account level_ delivery configuration that delivers logs for all current and - * future workspaces in your account. * The files are delivered daily by overwriting the month's - * CSV file for each workspace. + *

* - *

For audit log delivery (AWS and GCP): * For more information about about audit log delivery, - * see Audit log delivery [AWS] or [GCP], which includes information about the used JSON schema. * - * The delivery location is - * `//workspaceId=/date=/auditlogs_.json`. - * Files may get overwritten with the same content multiple times to achieve exactly-once - * delivery. * If the audit log delivery configuration included specific workspace IDs, only - * _workspace-level_ audit logs for those workspaces are delivered. If the log delivery - * configuration applies to the entire account (_account level_ delivery configuration), the audit - * log delivery includes workspace-level audit logs for all workspaces in the account as well as - * account-level audit logs. See Audit log delivery [AWS] or [GCP] for details. * Auditable events - * are typically available in logs within 15 minutes. + *

For audit log delivery (AWS and GCP): * - *

[AWS]: https://docs.databricks.com/administration-guide/account-settings/audit-logs.html - * [Billable usage log delivery]: - * https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html - * [GCP]: https://docs.databricks.com/gcp/en/admin/account-settings/audit-logs [Usage page]: - * https://docs.databricks.com/administration-guide/account-settings/usage.html [create a new AWS - * S3 bucket]: https://docs.databricks.com/administration-guide/account-api/aws-storage.html + *

*/ public LogDeliveryAPI logDelivery() { return logDeliveryAPI; @@ -441,11 +484,9 @@ public AccountMetastoresAPI metastores() { * serverless compute resources. This API provides stable subnets for your workspace so that you * can configure your firewalls on your Azure Storage accounts to allow access from Databricks. * You can also use the API to provision private endpoints for Databricks to privately connect - * serverless compute resources to your Azure resources using Azure Private Link. See [configure - * serverless secure connectivity]. - * - *

[configure serverless secure connectivity]: - * https://learn.microsoft.com/azure/databricks/security/network/serverless-network-security + * serverless compute resources to your Azure resources using Azure Private Link. See configure + * serverless secure connectivity. */ public NetworkConnectivityAPI networkConnectivity() { return networkConnectivityAPI; @@ -510,30 +551,49 @@ public PublishedAppIntegrationAPI publishedAppIntegration() { * clusters, among others. * *

Workload identity federation is configured in your Databricks account using a service - * principal federation policy. A service principal federation policy specifies: * which IdP, or - * issuer, the service principal is allowed to authenticate from * which workload identity, or - * subject, is allowed to authenticate as the Databricks service principal + * principal federation policy. A service principal federation policy specifies: + * + *

+ * + *

To configure a federation policy, you provide the following: * - *

To configure a federation policy, you provide the following: * The required token - * __issuer__, as specified in the “iss” claim of workload identity tokens. The issuer is an https - * URL that identifies the workload identity provider. * The required token __subject__, as - * specified in the “sub” claim of workload identity tokens. The subject uniquely identifies the - * workload in the workload runtime environment. * The allowed token __audiences__, as specified - * in the “aud” claim of workload identity tokens. The audience is intended to represent the - * recipient of the token. As long as the audience in the token matches at least one audience in - * the policy, the token is considered a match. If unspecified, the default value is your - * Databricks account id. * Optionally, the public keys used to validate the signature of the - * workload identity tokens, in JWKS format. If unspecified (recommended), Databricks - * automatically fetches the public keys from the issuer’s well known endpoint. Databricks - * strongly recommends relying on the issuer’s well known endpoint for discovering public keys. + *

* - *

An example service principal federation policy, for a Github Actions workload, is: ``` - * issuer: "https://token.actions.githubusercontent.com" audiences: - * ["https://github.com/my-github-org"] subject: "repo:my-github-org/my-repo:environment:prod" ``` + *

An example service principal federation policy, for a Github Actions workload, is: + * + *

{@code
+   * issuer: "https://token.actions.githubusercontent.com"
+   * audiences: ["https://github.com/my-github-org"]
+   * subject: "repo:my-github-org/my-repo:environment:prod"
+   * }
* *

An example JWT token body that matches this policy and could be used to authenticate to - * Databricks is: ``` { "iss": "https://token.actions.githubusercontent.com", "aud": - * "https://github.com/my-github-org", "sub": "repo:my-github-org/my-repo:environment:prod" } ``` + * Databricks is: + * + *


+   * {
+   * "iss": "https://token.actions.githubusercontent.com",
+   * "aud": "https://github.com/my-github-org",
+   * "sub": "repo:my-github-org/my-repo:environment:prod"
+   * }
+   * 
* *

You may also need to configure the workload runtime to generate tokens for your workloads. * @@ -548,16 +608,13 @@ public ServicePrincipalFederationPolicyAPI servicePrincipalFederationPolicy() { * *

You can use the generated secrets to obtain OAuth access tokens for a service principal, * which can then be used to access Databricks Accounts and Workspace APIs. For more information, - * see [Authentication using OAuth tokens for service principals]. + * see Authentication + * using OAuth tokens for service principals. * *

In addition, the generated secrets can be used to configure the Databricks Terraform - * Provider to authenticate with the service principal. For more information, see [Databricks - * Terraform Provider]. - * - *

[Authentication using OAuth tokens for service principals]: - * https://docs.databricks.com/dev-tools/authentication-oauth.html [Databricks Terraform - * Provider]: - * https://github.com/databricks/terraform-provider-databricks/blob/master/docs/index.md#authenticating-with-service-principal + * Provider to authenticate with the service principal. For more information, see Databricks + * Terraform Provider. */ public ServicePrincipalSecretsAPI servicePrincipalSecrets() { return servicePrincipalSecretsAPI; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/WorkspaceClient.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/WorkspaceClient.java index d79958ec0..30b5ea252 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/WorkspaceClient.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/WorkspaceClient.java @@ -588,7 +588,7 @@ public AgentBricksAPI agentBricks() { } /** - * **AI Search Endpoint**: Represents the compute resources to host AI Search indexes. + * AI Search Endpoint: Represents the compute resources to host AI Search indexes. * AIP-conformant replacement for the legacy VectorSearchEndpoints API; functionally equivalent. */ public AiSearchAPI aiSearch() { @@ -599,7 +599,7 @@ public AiSearchAPI aiSearch() { * The alerts API can be used to perform CRUD operations on alerts. An alert is a Databricks SQL * object that periodically runs a query, evaluates a condition of its result, and notifies one or * more users and/or notification destinations if the condition was met. Alerts can be scheduled - * using the `sql_task` type of the Jobs API, e.g. :method:jobs/create. + * using the {@code sql_task} type of the Jobs API, e.g. :method:jobs/create. */ public AlertsAPI alerts() { return alertsAPI; @@ -609,12 +609,10 @@ public AlertsAPI alerts() { * The alerts API can be used to perform CRUD operations on alerts. An alert is a Databricks SQL * object that periodically runs a query, evaluates a condition of its result, and notifies one or * more users and/or notification destinations if the condition was met. Alerts can be scheduled - * using the `sql_task` type of the Jobs API, e.g. :method:jobs/create. + * using the {@code sql_task} type of the Jobs API, e.g. :method:jobs/create. * - *

**Warning**: This API is deprecated. Please see the latest version of the Databricks SQL - * API. [Learn more] - * - *

[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

Warning: This API is deprecated. Please see the latest version of the Databricks SQL + * API. Learn more */ public AlertsLegacyAPI alertsLegacy() { return alertsLegacyAPI; @@ -639,8 +637,9 @@ public AppsSettingsAPI appsSettings() { } /** - * In Databricks Runtime 13.3 and above, you can add libraries and init scripts to the `allowlist` - * in UC so that users can leverage these artifacts on compute configured with shared access mode. + * In Databricks Runtime 13.3 and above, you can add libraries and init scripts to the {@code + * allowlist} in UC so that users can leverage these artifacts on compute configured with shared + * access mode. */ public ArtifactAllowlistsAPI artifactAllowlists() { return artifactAllowlistsAPI; @@ -707,18 +706,28 @@ public CleanRoomsAPI cleanRooms() { * rules. These rules specify which attributes or attribute values can be used during cluster * creation. Cluster policies have ACLs that limit their use to specific users and groups. * - *

With cluster policies, you can: - Auto-install cluster libraries on the next restart by - * listing them in the policy's "libraries" field (Public Preview). - Limit users to creating - * clusters with the prescribed settings. - Simplify the user interface, enabling more users to - * create clusters, by fixing and hiding some fields. - Manage costs by setting limits on - * attributes that impact the hourly rate. + *

With cluster policies, you can: + * + *

* *

Cluster policy permissions limit which policies a user can select in the Policy drop-down - * when the user creates a cluster: - A user who has unrestricted cluster create permission can - * select the Unrestricted policy and create fully-configurable clusters. - A user who has both - * unrestricted cluster create permission and access to cluster policies can select the - * Unrestricted policy and policies they have access to. - A user that has access to only cluster - * policies, can select the policies they have access to. + * when the user creates a cluster: + * + *

* *

If no policies exist in the workspace, the Policy drop-down doesn't appear. Only admin users * can create, edit, and delete policies. Admin users also have access to all policies. @@ -816,9 +825,9 @@ public ConsumerProvidersAPI consumerProviders() { * your cloud tenant. Each credential is subject to Unity Catalog access-control policies that * control which users and groups can access the credential. * - *

To create credentials, you must be a Databricks account admin or have the `CREATE SERVICE - * CREDENTIAL` privilege. The user who creates the credential can delegate ownership to another - * user or group to manage permissions on it. + *

To create credentials, you must be a Databricks account admin or have the {@code CREATE + * SERVICE CREDENTIAL} privilege. The user who creates the credential can delegate ownership to + * another user or group to manage permissions on it. */ public CredentialsAPI credentials() { return credentialsAPI; @@ -851,13 +860,11 @@ public DashboardWidgetsAPI dashboardWidgets() { * In general, there is little need to modify dashboards using the API. However, it can be useful * to use dashboard objects to look-up a collection of related query IDs. The API can also be used * to duplicate multiple dashboards at once since you can get a dashboard definition with a GET - * request and then POST it to create a new one. Dashboards can be scheduled using the `sql_task` - * type of the Jobs API, e.g. :method:jobs/create. - * - *

**Warning**: This API is deprecated. Please use the AI/BI Dashboards API instead. [Learn - * more] + * request and then POST it to create a new one. Dashboards can be scheduled using the {@code + * sql_task} type of the Jobs API, e.g. :method:jobs/create. * - *

[Learn more]: https://docs.databricks.com/en/dashboards/ + *

Warning: This API is deprecated. Please use the AI/BI Dashboards API instead. Learn more */ public DashboardsAPI dashboards() { return dashboardsAPI; @@ -872,25 +879,26 @@ public DataClassificationAPI dataClassification() { return dataClassificationAPI; } - /** Manage the data quality of Unity Catalog objects (currently support `schema` and `table`) */ + /** + * Manage the data quality of Unity Catalog objects (currently support {@code schema} and {@code + * table}) + */ public DataQualityAPI dataQuality() { return dataQualityAPI; } /** * This API is provided to assist you in making new query objects. When creating a query object, - * you may optionally specify a `data_source_id` for the SQL warehouse against which it will run. - * If you don't already know the `data_source_id` for your desired SQL warehouse, this API will - * help you find it. + * you may optionally specify a {@code data_source_id} for the SQL warehouse against which it will + * run. If you don't already know the {@code data_source_id} for your desired SQL warehouse, this + * API will help you find it. * *

This API does not support searches. It returns the full list of SQL warehouses in your - * workspace. We advise you to use any text editor, REST client, or `grep` to search the response - * from this API for the name of your SQL warehouse as it appears in Databricks SQL. - * - *

**Warning**: This API is deprecated. Please see the latest version of the Databricks SQL - * API. [Learn more] + * workspace. We advise you to use any text editor, REST client, or {@code grep} to search the + * response from this API for the name of your SQL warehouse as it appears in Databricks SQL. * - *

[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

Warning: This API is deprecated. Please see the latest version of the Databricks SQL + * API. Learn more */ public DataSourcesAPI dataSources() { return dataSourcesAPI; @@ -916,17 +924,15 @@ public DbfsExt dbfs() { * *

There are three levels of permission: * - *

- `CAN_VIEW`: Allows read-only access + *

* - *

- `CAN_RUN`: Allows read access and run access (superset of `CAN_VIEW`) - * - *

- `CAN_MANAGE`: Allows all actions: read, run, edit, delete, modify permissions (superset of - * `CAN_RUN`) - * - *

**Warning**: This API is deprecated. Please see the latest version of the Databricks SQL - * API. [Learn more] - * - *

[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

Warning: This API is deprecated. Please see the latest version of the Databricks SQL + * API. Learn more */ public DbsqlPermissionsAPI dbsqlPermissions() { return dbsqlPermissionsAPI; @@ -989,7 +995,7 @@ public ExternalLineageAPI externalLineage() { * directly. * *

To create external locations, you must be a metastore admin or a user with the - * **CREATE_EXTERNAL_LOCATION** privilege. + * CREATE_EXTERNAL_LOCATION privilege. */ public ExternalLocationsAPI externalLocations() { return externalLocationsAPI; @@ -1029,18 +1035,18 @@ public FeatureStoreAPI featureStore() { * directories by referring to their URI. The API makes working with file content as raw bytes * easier and more efficient. * - *

The API supports [Unity Catalog volumes], where files and directories to operate on are - * specified using their volume URI path, which follows the format - * /Volumes/<catalog_name>/<schema_name>/<volume_name>/<path_to_file>. + *

The API supports Unity Catalog + * volumes, where files and directories to operate on are specified using their volume URI + * path, which follows the format + * /Volumes/&lt;catalog_name&gt;/&lt;schema_name&gt;/&lt;volume_name&gt;/&lt;path_to_file&gt;. * - *

The Files API has two distinct endpoints, one for working with files (`/fs/files`) and - * another one for working with directories (`/fs/directories`). Both endpoints use the standard - * HTTP methods GET, HEAD, PUT, and DELETE to manage files and directories specified using their - * URI path. The path is always absolute. + *

The Files API has two distinct endpoints, one for working with files ({@code /fs/files}) and + * another one for working with directories ({@code /fs/directories}). Both endpoints use the + * standard HTTP methods GET, HEAD, PUT, and DELETE to manage files and directories specified + * using their URI path. The path is always absolute. * *

Use of Files API may incur Databricks data transfer charges. - * - *

[Unity Catalog volumes]: https://docs.databricks.com/en/connect/unity-catalog/volumes.html */ public FilesAPI files() { return filesAPI; @@ -1057,7 +1063,7 @@ public ForecastingAPI forecasting() { *

The function implementation can be any SQL expression or Query, and it can be invoked * wherever a table reference is allowed in a query. In Unity Catalog, a function resides at the * same level as a table, so it can be referenced with the form - * __catalog_name__.__schema_name__.__function_name__. + * catalog_name.schema_name.function_name. */ public FunctionsAPI functions() { return functionsAPI; @@ -1076,9 +1082,9 @@ public GenieAPI genie() { /** * Registers personal access token for Databricks to do operations on behalf of the user. * - *

See [more info]. - * - *

[more info]: https://docs.databricks.com/repos/get-access-tokens-from-git-provider.html + *

See more + * info. */ public GitCredentialsAPI gitCredentials() { return gitCredentialsAPI; @@ -1088,11 +1094,11 @@ public GitCredentialsAPI gitCredentials() { * The Global Init Scripts API enables Workspace administrators to configure global initialization * scripts for their workspace. These scripts run on every node in every cluster in the workspace. * - *

**Important:** Existing clusters must be restarted to pick up any changes made to global + *

Important: Existing clusters must be restarted to pick up any changes made to global * init scripts. Global init scripts are run in order. If the init script returns with a bad exit * code, the Apache Spark container fails to launch and init scripts with later position are - * skipped. If enough containers fail, the entire cluster fails with a - * `GLOBAL_INIT_SCRIPT_FAILURE` error code. + * skipped. If enough containers fail, the entire cluster fails with a {@code + * GLOBAL_INIT_SCRIPT_FAILURE} error code. */ public GlobalInitScriptsAPI globalInitScripts() { return globalInitScriptsAPI; @@ -1150,10 +1156,9 @@ public InstancePoolsAPI instancePools() { /** * The Instance Profiles API allows admins to add, list, and remove instance profiles that users * can launch clusters with. Regular users can list the instance profiles available to them. See - * [Secure access to S3 buckets] using instance profiles for more information. - * - *

[Secure access to S3 buckets]: - * https://docs.databricks.com/administration-guide/cloud-configurations/aws/instance-profiles.html + * Secure + * access to S3 buckets using instance profiles for more information. */ public InstanceProfilesAPI instanceProfiles() { return instanceProfilesAPI; @@ -1166,9 +1171,14 @@ public InstanceProfilesAPI instanceProfiles() { * the feature is disabled for a workspace, all access is allowed for this workspace. There is * support for allow lists (inclusion) and block lists (exclusion). * - *

When a connection is attempted: 1. **First, all block lists are checked.** If the connection - * IP address matches any block list, the connection is rejected. 2. **If the connection was not - * rejected by block lists**, the IP address is compared with the allow lists. + *

When a connection is attempted: + * + *

    + *
  1. First, all block lists are checked. If the connection IP address matches any block + * list, the connection is rejected. + *
  2. If the connection was not rejected by block lists, the IP address is compared with + * the allow lists. + *
* *

If there is at least one allow list for the workspace, the connection is allowed only if the * IP address matches an allow list. If there are no allow lists for the workspace, all IP @@ -1195,13 +1205,12 @@ public IpAccessListsAPI ipAccessLists() { * tasks using notebooks, JARS, Spark Declarative Pipelines, or Python, Scala, Spark submit, and * Java applications. * - *

You should never hard code secrets or store them in plain text. Use the [Secrets CLI] to - * manage secrets in the [Databricks CLI]. Use the [Secrets utility] to reference secrets in - * notebooks and jobs. - * - *

[Databricks CLI]: https://docs.databricks.com/dev-tools/cli/index.html [Secrets CLI]: - * https://docs.databricks.com/dev-tools/cli/secrets-cli.html [Secrets utility]: - * https://docs.databricks.com/dev-tools/databricks-utils.html#dbutils-secrets + *

You should never hard code secrets or store them in plain text. Use the Secrets CLI to manage + * secrets in the Databricks + * CLI. Use the Secrets + * utility to reference secrets in notebooks and jobs. */ public JobsAPI jobs() { return jobsAPI; @@ -1274,9 +1283,9 @@ public MetastoresAPI metastores() { /** * Note: This API reference documents APIs for the Workspace Model Registry. Databricks recommends - * using [Models in Unity Catalog](/api/workspace/registeredmodels) instead. Models in Unity - * Catalog provides centralized model governance, cross-workspace access, lineage, and deployment. - * Workspace Model Registry will be deprecated in the future. + * using Models in Unity Catalog instead. Models in + * Unity Catalog provides centralized model governance, cross-workspace access, lineage, and + * deployment. Workspace Model Registry will be deprecated in the future. * *

The Workspace Model Registry is a centralized model repository and a UI and set of APIs that * enable you to manage the full lifecycle of MLflow Models. @@ -1291,8 +1300,8 @@ public ModelRegistryAPI modelRegistry() { * across Databricks workspaces. * *

This API reference documents the REST endpoints for managing model versions in Unity - * Catalog. For more details, see the [registered models API - * docs](/api/workspace/registeredmodels). + * Catalog. For more details, see the registered models + * API docs. */ public ModelVersionsAPI modelVersions() { return modelVersionsAPI; @@ -1323,30 +1332,41 @@ public PermissionMigrationAPI permissionMigration() { /** * Permissions API are used to create read, write, edit, update and manage access for various - * users on different objects and endpoints. * **[Apps permissions](:service:apps)** — Manage - * which users can manage or use apps. * **[Cluster permissions](:service:clusters)** — Manage - * which users can manage, restart, or attach to clusters. * **[Cluster policy - * permissions](:service:clusterpolicies)** — Manage which users can use cluster policies. * - * **[Spark Declarative Pipelines permissions](:service:pipelines)** — Manage which users can - * view, manage, run, cancel, or own a Spark Declarative Pipeline. * **[Job - * permissions](:service:jobs)** — Manage which users can view, manage, trigger, cancel, or own a - * job. * **[MLflow experiment permissions](:service:experiments)** — Manage which users can read, - * edit, or manage MLflow experiments. * **[MLflow registered model - * permissions](:service:modelregistry)** — Manage which users can read, edit, or manage MLflow - * registered models. * **[Instance Pool permissions](:service:instancepools)** — Manage which - * users can manage or attach to pools. * **[Repo permissions](repos)** — Manage which users can - * read, run, edit, or manage a repo. * **[Serving endpoint - * permissions](:service:servingendpoints)** — Manage which users can view, query, or manage a - * serving endpoint. * **[SQL warehouse permissions](:service:warehouses)** — Manage which users - * can use or manage SQL warehouses. * **[Token permissions](:service:tokenmanagement)** — Manage - * which users can create or use tokens. * **[Workspace object permissions](:service:workspace)** - * — Manage which users can read, run, edit, or manage alerts, dbsql-dashboards, directories, - * files, notebooks and queries. For the mapping of the required permissions for specific actions - * or abilities and other important information, see [Access Control]. Note that to manage access - * control on service principals, use **[Account Access Control - * Proxy](:service:accountaccesscontrolproxy)**. - * - *

[Access Control]: https://docs.databricks.com/security/auth-authz/access-control/index.html + * users on different objects and endpoints. + * + *

*/ public PermissionsAPI permissions() { return permissionsAPI; @@ -1377,7 +1397,8 @@ public PipelinesAPI pipelines() { * hierarchical and scalable manner, based on data attributes rather than specific resources, * enabling more flexible and comprehensive access control. ABAC policies in Unity Catalog support * conditions on securable properties, governance tags, and environment contexts. Callers must - * have the `MANAGE` privilege on a securable to view, create, update, or delete ABAC policies. + * have the {@code MANAGE} privilege on a securable to view, create, update, or delete ABAC + * policies. */ public PoliciesAPI policies() { return policiesAPI; @@ -1438,12 +1459,12 @@ public PolicyFamiliesAPI policyFamilies() { *

This API manages database infrastructure only. To query or modify data, use the Data API or * direct SQL connections. * - *

**About resource IDs and names** + *

About resource IDs and names * - *

Resources are identified by hierarchical resource names like - * `projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}`. The `name` field on each - * resource contains this full path and is output-only. Note that `name` refers to this resource - * path, not the user-visible `display_name`. + *

Resources are identified by hierarchical resource names like {@code + * projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}}. The {@code name} field on + * each resource contains this full path and is output-only. Note that {@code name} refers to this + * resource path, not the user-visible {@code display_name}. */ public PostgresAPI postgres() { return postgresAPI; @@ -1505,7 +1526,8 @@ public ProvidersAPI providers() { /** * Deprecated: Please use the Data Quality Monitoring API instead (REST: - * /api/data-quality/v1/monitors). Manage data quality of UC objects (currently support `schema`). + * /api/data-quality/v1/monitors). Manage data quality of UC objects (currently support {@code + * schema}). */ public QualityMonitorV2API qualityMonitorV2() { return qualityMonitorV2API; @@ -1519,8 +1541,8 @@ public QualityMonitorV2API qualityMonitorV2() { * generates metrics tables and a dashboard that you can use to monitor table health and set * alerts. Most write operations require the user to be the owner of the table (or its parent * schema or parent catalog). Viewing the dashboard, computed metrics, or monitor configuration - * only requires the user to have **SELECT** privileges on the table (along with **USE_SCHEMA** - * and **USE_CATALOG**). + * only requires the user to have SELECT privileges on the table (along with + * USE_SCHEMA and USE_CATALOG). */ public QualityMonitorsAPI qualityMonitors() { return qualityMonitorsAPI; @@ -1529,7 +1551,7 @@ public QualityMonitorsAPI qualityMonitors() { /** * The queries API can be used to perform CRUD operations on queries. A query is a Databricks SQL * object that includes the target SQL warehouse, query text, name, description, tags, and - * parameters. Queries can be scheduled using the `sql_task` type of the Jobs API, e.g. + * parameters. Queries can be scheduled using the {@code sql_task} type of the Jobs API, e.g. * :method:jobs/create. */ public QueriesAPI queries() { @@ -1539,12 +1561,11 @@ public QueriesAPI queries() { /** * These endpoints are used for CRUD operations on query definitions. Query definitions include * the target SQL warehouse, query text, name, description, tags, parameters, and visualizations. - * Queries can be scheduled using the `sql_task` type of the Jobs API, e.g. :method:jobs/create. - * - *

**Warning**: This API is deprecated. Please see the latest version of the Databricks SQL - * API. [Learn more] + * Queries can be scheduled using the {@code sql_task} type of the Jobs API, e.g. + * :method:jobs/create. * - *

[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

Warning: This API is deprecated. Please see the latest version of the Databricks SQL + * API. Learn more */ public QueriesLegacyAPI queriesLegacy() { return queriesLegacyAPI; @@ -1570,10 +1591,8 @@ public QueryVisualizationsAPI queryVisualizations() { * This is an evolving API that facilitates the addition and removal of vizualisations from * existing queries within the Databricks Workspace. Data structures may change over time. * - *

**Warning**: This API is deprecated. Please see the latest version of the Databricks SQL - * API. [Learn more] - * - *

[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

Warning: This API is deprecated. Please see the latest version of the Databricks SQL + * API. Learn more */ public QueryVisualizationsLegacyAPI queryVisualizationsLegacy() { return queryVisualizationsLegacyAPI; @@ -1581,10 +1600,10 @@ public QueryVisualizationsLegacyAPI queryVisualizationsLegacy() { /** * The Recipient Activation API is only applicable in the open sharing model where the recipient - * object has the authentication type of `TOKEN`. The data recipient follows the activation link - * shared by the data provider to download the credential file that includes the access token. The - * recipient will then use the credential file to establish a secure connection with the provider - * to receive the shared data. + * object has the authentication type of {@code TOKEN}. The data recipient follows the activation + * link shared by the data provider to download the credential file that includes the access + * token. The recipient will then use the credential file to establish a secure connection with + * the provider to receive the shared data. * *

Note that you can download the credential file only once. Recipients should treat the * downloaded credential as a secret and must not share it outside of their organization. @@ -1595,22 +1614,27 @@ public RecipientActivationAPI recipientActivation() { /** * The Recipient Federation Policies APIs are only applicable in the open sharing model where the - * recipient object has the authentication type of `OIDC_RECIPIENT`, enabling data sharing from - * Databricks to non-Databricks recipients. OIDC Token Federation enables secure, secret-less + * recipient object has the authentication type of {@code OIDC_RECIPIENT}, enabling data sharing + * from Databricks to non-Databricks recipients. OIDC Token Federation enables secure, secret-less * authentication for accessing Delta Sharing servers. Users and applications authenticate using * short-lived OIDC tokens issued by their own Identity Provider (IdP), such as Azure Entra ID or * Okta, without the need for managing static credentials or client secrets. A federation policy * defines how non-Databricks recipients authenticate using OIDC tokens. It validates the OIDC * claims in federated tokens and is set at the recipient level. The caller must be the owner of * the recipient to create or manage a federation policy. Federation policies support the - * following scenarios: - User-to-Machine (U2M) flow: A user accesses Delta Shares using their own - * identity, such as connecting through PowerBI Delta Sharing Client. - Machine-to-Machine (M2M) - * flow: An application accesses Delta Shares using its own identity, typically for automation - * tasks like nightly jobs through Python Delta Sharing Client. OIDC Token Federation enables - * fine-grained access control, supports Multi-Factor Authentication (MFA), and enhances security - * by minimizing the risk of credential leakage through the use of short-lived, expiring tokens. - * It is designed for strong identity governance, secure cross-platform data sharing, and reduced - * operational overhead for credential management. + * following scenarios: + * + *

* *

For more information, see * https://www.databricks.com/blog/announcing-oidc-token-federation-enhanced-delta-sharing-security @@ -1626,16 +1650,17 @@ public RecipientFederationPoliciesAPI recipientFederationPolicies() { * on whether or not your recipient has access to a Databricks workspace that is enabled for Unity * Catalog: * - *

- For recipients with access to a Databricks workspace that is enabled for Unity Catalog, - * you can create a recipient object along with a unique sharing identifier you get from the - * recipient. The sharing identifier is the key identifier that enables the secure connection. - * This sharing mode is called **Databricks-to-Databricks sharing**. - * - *

- For recipients without access to a Databricks workspace that is enabled for Unity Catalog, - * when you create a recipient object, Databricks generates an activation link you can send to the - * recipient. The recipient follows the activation link to download the credential file, and then - * uses the credential file to establish a secure connection to receive the shared data. This - * sharing mode is called **open sharing**. + *

*/ public RecipientsAPI recipients() { return recipientsAPI; @@ -1661,13 +1686,18 @@ public RedashConfigAPI redashConfig() { * the enclosing catalog and USE_SCHEMA permissions on the enclosing schema. In addition, the * following additional privileges are required for various operations: * - *

* To create a registered model, users must additionally have the CREATE_MODEL permission on - * the target schema. * To view registered model or model version metadata, model version data - * files, or invoke a model version, users must additionally have the EXECUTE permission on the - * registered model * To update registered model or model version tags, users must additionally - * have APPLY TAG permissions on the registered model * To update other registered model or model - * version metadata (comments, aliases) create a new model version, or update permissions on the - * registered model, users must be owners of the registered model. + *

* *

Note: The securable type for models is FUNCTION. When using REST APIs (e.g. tagging, grants) * that specify a securable type, use FUNCTION as the securable type. @@ -1696,11 +1726,9 @@ public ReposAPI repos() { * Unity Catalog enforces resource quotas on all securable objects, which limits the number of * resources that can be created. Quotas are expressed in terms of a resource type and a parent * (for example, tables per metastore or schemas per catalog). The resource quota APIs enable you - * to monitor your current usage and limits. For more information on resource quotas see the - * [Unity Catalog documentation]. - * - *

[Unity Catalog documentation]: - * https://docs.databricks.com/en/data-governance/unity-catalog/index.html#resource-quotas + * to monitor your current usage and limits. For more information on resource quotas see the Unity + * Catalog documentation. */ public ResourceQuotasAPI resourceQuotas() { return resourceQuotasAPI; @@ -1744,7 +1772,7 @@ public SecretsExt secrets() { /** * A secret is a Unity Catalog securable object that stores sensitive credential data (such as * passwords, tokens, and keys) within a three-level namespace - * (**catalog_name.schema_name.secret_name**). + * (catalog_name.schema_name.secret_name). * *

Secrets can be managed using standard Unity Catalog permissions and are scoped to a schema * within a catalog. @@ -1759,16 +1787,13 @@ public SecretsUcAPI secretsUc() { * *

You can use the generated secrets to obtain OAuth access tokens for a service principal, * which can then be used to access Databricks Accounts and Workspace APIs. For more information, - * see [Authentication using OAuth tokens for service principals]. + * see Authentication + * using OAuth tokens for service principals. * *

In addition, the generated secrets can be used to configure the Databricks Terraform - * Providerto authenticate with the service principal. For more information, see [Databricks - * Terraform Provider]. - * - *

[Authentication using OAuth tokens for service principals]: - * https://docs.databricks.com/dev-tools/authentication-oauth.html [Databricks Terraform - * Provider]: - * https://github.com/databricks/terraform-provider-databricks/blob/master/docs/index.md#authenticating-with-service-principal + * Providerto authenticate with the service principal. For more information, see Databricks + * Terraform Provider. */ public ServicePrincipalSecretsProxyAPI servicePrincipalSecretsProxy() { return servicePrincipalSecretsProxyAPI; @@ -1828,11 +1853,13 @@ public SharesAPI shares() { * The Databricks SQL Statement Execution API can be used to execute SQL statements on a SQL * warehouse and fetch the result. * - *

**Getting started** + *

Getting started * - *

We suggest beginning with the [Databricks SQL Statement Execution API tutorial]. + *

We suggest beginning with the Databricks SQL Statement + * Execution API tutorial. * - *

**Overview of statement execution and result fetching** + *

Overview of statement execution and result fetching * *

Statement execution begins by issuing a :method:statementexecution/executeStatement request * with a valid SQL statement and warehouse ID, along with optional parameters such as the data @@ -1843,78 +1870,91 @@ public SharesAPI shares() { * used to poll for results by using a :method:statementexecution/getStatement request. * *

You can specify whether the call should behave synchronously, asynchronously or start - * synchronously with a fallback to asynchronous execution. This is controlled with the - * `wait_timeout` and `on_wait_timeout` settings. If `wait_timeout` is set between 5-50 seconds - * (default: 10s), the call waits for results up to the specified timeout; when set to `0s`, the - * call is asynchronous and responds immediately with a statement ID. The `on_wait_timeout` - * setting specifies what should happen when the timeout is reached while the statement execution - * has not yet finished. This can be set to either `CONTINUE`, to fallback to asynchronous mode, - * or it can be set to `CANCEL`, which cancels the statement. - * - *

In summary: - **Synchronous mode** (`wait_timeout=30s` and `on_wait_timeout=CANCEL`): The - * call waits up to 30 seconds; if the statement execution finishes within this time, the result - * data is returned directly in the response. If the execution takes longer than 30 seconds, the - * execution is canceled and the call returns with a `CANCELED` state. - **Asynchronous mode** - * (`wait_timeout=0s` and `on_wait_timeout` is ignored): The call doesn't wait for the statement - * to finish but returns directly with a statement ID. The status of the statement execution can - * be polled by issuing :method:statementexecution/getStatement with the statement ID. Once the - * execution has succeeded, this call also returns the result and metadata in the response. - - * **[Default] Hybrid mode** (`wait_timeout=10s` and `on_wait_timeout=CONTINUE`): The call waits - * for up to 10 seconds; if the statement execution finishes within this time, the result data is - * returned directly in the response. If the execution takes longer than 10 seconds, a statement - * ID is returned. The statement ID can be used to fetch status and results in the same way as in - * the asynchronous mode. + * synchronously with a fallback to asynchronous execution. This is controlled with the {@code + * wait_timeout} and {@code on_wait_timeout} settings. If {@code wait_timeout} is set between 5-50 + * seconds (default: 10s), the call waits for results up to the specified timeout; when set to + * {@code 0s}, the call is asynchronous and responds immediately with a statement ID. The {@code + * on_wait_timeout} setting specifies what should happen when the timeout is reached while the + * statement execution has not yet finished. This can be set to either {@code CONTINUE}, to + * fallback to asynchronous mode, or it can be set to {@code CANCEL}, which cancels the statement. + * + *

In summary: + * + *

* *

Depending on the size, the result can be split into multiple chunks. If the statement * execution is successful, the statement response contains a manifest and the first chunk of the * result. The manifest contains schema information and provides metadata for each chunk in the * result. Result chunks can be retrieved by index with * :method:statementexecution/getStatementResultChunkN which may be called in any order and in - * parallel. For sequential fetching, each chunk, apart from the last, also contains a - * `next_chunk_index` and `next_chunk_internal_link` that point to the next chunk. + * parallel. For sequential fetching, each chunk, apart from the last, also contains a {@code + * next_chunk_index} and {@code next_chunk_internal_link} that point to the next chunk. * *

A statement can be canceled with :method:statementexecution/cancelExecution. * - *

**Fetching result data: format and disposition** - * - *

To specify the format of the result data, use the `format` field, which can be set to one of - * the following options: `JSON_ARRAY` (JSON), `ARROW_STREAM` ([Apache Arrow Columnar]), or `CSV`. + *

Fetching result data: format and disposition * - *

There are two ways to receive statement results, controlled by the `disposition` setting, - * which can be either `INLINE` or `EXTERNAL_LINKS`: + *

To specify the format of the result data, use the {@code format} field, which can be set to + * one of the following options: {@code JSON_ARRAY} (JSON), {@code ARROW_STREAM} (Apache Arrow Columnar), or {@code CSV}. * - *

- `INLINE`: In this mode, the result data is directly included in the response. It's best - * suited for smaller results. This mode can only be used with the `JSON_ARRAY` format. + *

There are two ways to receive statement results, controlled by the {@code disposition} + * setting, which can be either {@code INLINE} or {@code EXTERNAL_LINKS}: * - *

- `EXTERNAL_LINKS`: In this mode, the response provides links that can be used to download - * the result data in chunks separately. This approach is ideal for larger results and offers - * higher throughput. This mode can be used with all the formats: `JSON_ARRAY`, `ARROW_STREAM`, - * and `CSV`. + *

* - *

By default, the API uses `format=JSON_ARRAY` and `disposition=INLINE`. + *

By default, the API uses {@code format=JSON_ARRAY} and {@code disposition=INLINE}. * - *

**Limits and limitations** + *

Limits and limitations * *

Note: The byte limit for INLINE disposition is based on internal storage metrics and will * not exactly match the byte count of the actual payload. * - *

- Statements with `disposition=INLINE` are limited to 25 MiB and will fail when this limit - * is exceeded. - Statements with `disposition=EXTERNAL_LINKS` are limited to 100 GiB. Result sets - * larger than this limit will be truncated. Truncation is indicated by the `truncated` field in - * the result manifest. - The maximum query text size is 16 MiB. - Cancelation might silently - * fail. A successful response from a cancel request indicates that the cancel request was - * successfully received and sent to the processing engine. However, an outstanding statement - * might have already completed execution when the cancel request arrives. Polling for status - * until a terminal state is reached is a reliable way to determine the final state. - Wait - * timeouts are approximate, occur server-side, and cannot account for things such as caller - * delays and network latency from caller to service. - To guarantee that the statement is kept - * alive, you must poll at least once every 15 minutes. - The results are only available for one - * hour after success; polling does not extend this. - The SQL Execution API must be used for the - * entire lifecycle of the statement. For example, you cannot use the Jobs API to execute the - * command, and then the SQL Execution API to cancel it. - * - *

[Apache Arrow Columnar]: https://arrow.apache.org/overview/ [Databricks SQL Statement - * Execution API tutorial]: https://docs.databricks.com/sql/api/sql-execution-tutorial.html + *

*/ public StatementExecutionAPI statementExecution() { return statementExecutionAPI; @@ -1975,8 +2015,8 @@ public TableConstraintsAPI tableConstraints() { * users must have the SELECT permission on the table, and they must have the USE_CATALOG * permission on its parent catalog and the USE_SCHEMA permission on its parent schema. * - *

A table can be managed or external. From an API perspective, a __VIEW__ is a particular kind - * of table (rather than a managed or external table). + *

A table can be managed or external. From an API perspective, a VIEW is a particular + * kind of table (rather than a managed or external table). */ public TablesAPI tables() { return tablesAPI; @@ -1984,13 +2024,11 @@ public TablesAPI tables() { /** * The Tag Policy API allows you to manage policies for governed tags in Databricks. For Terraform - * usage, see the [Tag Policy Terraform documentation]. Permissions for tag policies can be - * managed using the [Account Access Control Proxy API]. - * - *

[Account Access Control Proxy API]: - * https://docs.databricks.com/api/workspace/accountaccesscontrolproxy [Tag Policy Terraform - * documentation]: - * https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/tag_policy + * usage, see the Tag + * Policy Terraform documentation. Permissions for tag policies can be managed using the Account Access + * Control Proxy API. */ public TagPoliciesAPI tagPolicies() { return tagPoliciesAPI; @@ -2092,20 +2130,25 @@ public UsersV2API usersV2() { return usersV2API; } - /** **Endpoint**: Represents the compute resources to host AI Search indexes. */ + /** Endpoint: Represents the compute resources to host AI Search indexes. */ public VectorSearchEndpointsAPI vectorSearchEndpoints() { return vectorSearchEndpointsAPI; } /** - * **Index**: An efficient representation of your embedding vectors that supports real-time and + * Index: An efficient representation of your embedding vectors that supports real-time and * efficient approximate nearest neighbor (ANN) search queries. * - *

There are 2 types of AI Search indexes: - **Delta Sync Index**: An index that automatically - * syncs with a source Delta Table, automatically and incrementally updating the index as the - * underlying data in the Delta Table changes. - **Direct Vector Access Index**: An index that - * supports direct read and write of vectors and metadata through our REST and SDK APIs. With this - * model, the user manages index updates. + *

There are 2 types of AI Search indexes: + * + *

*/ public VectorSearchIndexesAPI vectorSearchIndexes() { return vectorSearchIndexesAPI; @@ -2146,14 +2189,14 @@ public WorkspaceAPI workspace() { } /** - * A securable in Databricks can be configured as __OPEN__ or __ISOLATED__. An __OPEN__ securable - * can be accessed from any workspace, while an __ISOLATED__ securable can only be accessed from a - * configured list of workspaces. This API allows you to configure (bind) securables to - * workspaces. + * A securable in Databricks can be configured as OPEN or ISOLATED. An OPEN + * securable can be accessed from any workspace, while an ISOLATED securable can only be + * accessed from a configured list of workspaces. This API allows you to configure (bind) + * securables to workspaces. * - *

NOTE: The __isolation_mode__ is configured for the securable itself (using its Update - * method) and the workspace bindings are only consulted when the securable's __isolation_mode__ - * is set to __ISOLATED__. + *

NOTE: The isolation_mode is configured for the securable itself (using its Update + * method) and the workspace bindings are only consulted when the securable's + * isolation_mode is set to ISOLATED. * *

A securable's workspace bindings can be configured by a metastore admin or the owner of the * securable. @@ -2162,8 +2205,14 @@ public WorkspaceAPI workspace() { * Please use the new path (/api/2.1/unity-catalog/bindings/{securable_type}/{securable_name}) * which introduces the ability to bind a securable in READ_ONLY mode (catalogs only). * - *

Securable types that support binding: - catalog - storage_credential - credential - - * external_location + *

Securable types that support binding: + * + *

*/ public WorkspaceBindingsAPI workspaceBindings() { return workspaceBindingsAPI; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/agentbricks/UpdateCustomLlmRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/agentbricks/UpdateCustomLlmRequest.java index b64b69262..f01a3ba1b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/agentbricks/UpdateCustomLlmRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/agentbricks/UpdateCustomLlmRequest.java @@ -19,17 +19,17 @@ public class UpdateCustomLlmRequest { /** * The list of the CustomLlm fields to update. These should correspond to the values (or lack - * thereof) present in `custom_llm`. + * thereof) present in {@code custom_llm}. * *

The field mask must be a single string, with multiple fields separated by commas (no - * spaces). The field path is relative to the resource object, using a dot (`.`) to navigate - * sub-fields (e.g., `author.given_name`). Specification of elements in sequence or map fields is - * not allowed, as only the entire collection field can be specified. Field names must exactly - * match the resource field names. + * spaces). The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("update_mask") private String updateMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/AiSearchAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/AiSearchAPI.java index 472cfafe3..1f80fa740 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/AiSearchAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/AiSearchAPI.java @@ -8,7 +8,7 @@ import com.databricks.sdk.support.Paginator; /** - * **AI Search Endpoint**: Represents the compute resources to host AI Search indexes. + * AI Search Endpoint: Represents the compute resources to host AI Search indexes. * AIP-conformant replacement for the legacy VectorSearchEndpoints API; functionally equivalent. */ @Generated diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/AiSearchService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/AiSearchService.java index b58328f7b..cf2fe5b02 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/AiSearchService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/AiSearchService.java @@ -4,7 +4,7 @@ import com.databricks.sdk.support.Generated; /** - * **AI Search Endpoint**: Represents the compute resources to host AI Search indexes. + * AI Search Endpoint: Represents the compute resources to host AI Search indexes. * AIP-conformant replacement for the legacy VectorSearchEndpoints API; functionally equivalent. * *

This is the high-level interface, that contains generated methods. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ColumnInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ColumnInfo.java index 5664ac1c5..5a5fa42ed 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ColumnInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ColumnInfo.java @@ -7,7 +7,10 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Column information (name and data type) for an index column. Surfaced on `Index.column_info`. */ +/** + * Column information (name and data type) for an index column. Surfaced on {@code + * Index.column_info}. + */ @Generated public class ColumnInfo { /** Name of the column. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/CreateEndpointRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/CreateEndpointRequest.java index c6ebbbe76..8c7695331 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/CreateEndpointRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/CreateEndpointRequest.java @@ -12,23 +12,26 @@ @Generated public class CreateEndpointRequest { /** - * The Endpoint resource to create. Fields other than `endpoint.name` carry the desired - * configuration; `endpoint.name` is server-assigned from `parent` and `endpoint_id`. + * The Endpoint resource to create. Fields other than {@code endpoint.name} carry the desired + * configuration; {@code endpoint.name} is server-assigned from {@code parent} and {@code + * endpoint_id}. */ @JsonProperty("endpoint") private Endpoint endpoint; /** - * The user-supplied short name for the Endpoint, per AIP-133. The server composes the full - * `Endpoint.name` as `{parent}/endpoints/{endpoint_id}`. AIP-133 does not list `endpoint_id` as a - * fields-may-be-required entry, so we annotate it OPTIONAL on the wire; the server still rejects - * empty values with INVALID_PARAMETER_VALUE. + * The user-supplied short name for the Endpoint, per AIP-133. The server composes the full {@code + * Endpoint.name} as {@code {parent}/endpoints/{endpoint_id}}. AIP-133 does not list {@code + * endpoint_id} as a fields-may-be-required entry, so we annotate it OPTIONAL on the wire; the + * server still rejects empty values with INVALID_PARAMETER_VALUE. */ @JsonIgnore @QueryParam("endpoint_id") private String endpointId; - /** The Workspace where this Endpoint will be created. Format: `workspaces/{workspace_id}` */ + /** + * The Workspace where this Endpoint will be created. Format: {@code workspaces/{workspace_id}} + */ @JsonIgnore private String parent; public CreateEndpointRequest setEndpoint(Endpoint endpoint) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/CreateIndexRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/CreateIndexRequest.java index cdd2273ad..a134fc722 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/CreateIndexRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/CreateIndexRequest.java @@ -12,25 +12,25 @@ @Generated public class CreateIndexRequest { /** - * The Index resource to create. Fields other than `index.name` carry the desired configuration; - * `index.name` is server-assigned from `parent` and `index_id`. + * The Index resource to create. Fields other than {@code index.name} carry the desired + * configuration; {@code index.name} is server-assigned from {@code parent} and {@code index_id}. */ @JsonProperty("index") private Index index; /** * The user-supplied Unity Catalog table name for the Index, per AIP-133. The server composes the - * full `Index.name` as `{parent}/indexes/{index_id}`. AIP-133 does not list `index_id` as a - * fields-may-be-required entry, so we annotate it OPTIONAL on the wire; the server still rejects - * empty values with INVALID_PARAMETER_VALUE. + * full {@code Index.name} as {@code {parent}/indexes/{index_id}}. AIP-133 does not list {@code + * index_id} as a fields-may-be-required entry, so we annotate it OPTIONAL on the wire; the server + * still rejects empty values with INVALID_PARAMETER_VALUE. */ @JsonIgnore @QueryParam("index_id") private String indexId; /** - * The Endpoint where this Index will be created. Format: - * `workspaces/{workspace_id}/endpoints/{endpoint_id}` + * The Endpoint where this Index will be created. Format: {@code + * workspaces/{workspace_id}/endpoints/{endpoint_id}} */ @JsonIgnore private String parent; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DataModificationStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DataModificationStatus.java index 3c3f05590..61c45eefc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DataModificationStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DataModificationStatus.java @@ -5,8 +5,8 @@ import com.databricks.sdk.support.Generated; /** - * Overall outcome of a data-plane upsert or delete. Mirrors the legacy - * `databricks.brickindexscheduler.UpsertDeleteDataStatus` value-for-value. + * Overall outcome of a data-plane upsert or delete. Mirrors the legacy {@code + * databricks.brickindexscheduler.UpsertDeleteDataStatus} value-for-value. */ @Generated public enum DataModificationStatus { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DeleteEndpointRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DeleteEndpointRequest.java index 58f4ba466..8bdffd93d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DeleteEndpointRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DeleteEndpointRequest.java @@ -10,8 +10,8 @@ @Generated public class DeleteEndpointRequest { /** - * Full resource name of the endpoint to delete. Format: - * `workspaces/{workspace_id}/endpoints/{endpoint_id}` + * Full resource name of the endpoint to delete. Format: {@code + * workspaces/{workspace_id}/endpoints/{endpoint_id}} */ @JsonIgnore private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DeleteIndexRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DeleteIndexRequest.java index f29084661..db6b7bc41 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DeleteIndexRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DeleteIndexRequest.java @@ -10,8 +10,8 @@ @Generated public class DeleteIndexRequest { /** - * Full resource name of the index to delete. Format: - * `workspaces/{workspace_id}/endpoints/{endpoint_id}/indexes/{index_id}` + * Full resource name of the index to delete. Format: {@code + * workspaces/{workspace_id}/endpoints/{endpoint_id}/indexes/{index_id}} */ @JsonIgnore private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DeltaSyncIndexSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DeltaSyncIndexSpec.java index 37a4b9ed7..2263868b1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DeltaSyncIndexSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DeltaSyncIndexSpec.java @@ -37,10 +37,10 @@ public class DeltaSyncIndexSpec { /** * Pipeline execution mode. Required on create — the backend rejects an unset value. Storage - * Optimized endpoints accept only `TRIGGERED`; Standard endpoints accept both. No explicit - * `stage` — a REQUIRED field staged below its service would be dropped from combined specs while - * remaining in `required`, tripping the OpenAPI required-vs-properties consistency check. The - * field inherits the service's launch stage. + * Optimized endpoints accept only {@code TRIGGERED}; Standard endpoints accept both. No explicit + * {@code stage} — a REQUIRED field staged below its service would be dropped from combined specs + * while remaining in {@code required}, tripping the OpenAPI required-vs-properties consistency + * check. The field inherits the service's launch stage. */ @JsonProperty("pipeline_type") private PipelineType pipelineType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DirectAccessIndexSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DirectAccessIndexSpec.java index 6905223ea..d2918ea35 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DirectAccessIndexSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/DirectAccessIndexSpec.java @@ -20,9 +20,9 @@ public class DirectAccessIndexSpec { private Collection embeddingVectorColumns; /** - * The schema of the index in JSON format. Supported types are `integer`, `long`, `float`, - * `double`, `boolean`, `string`, `date`, `timestamp`. Supported types for vector columns: - * `array`, `array`. + * The schema of the index in JSON format. Supported types are {@code integer}, {@code long}, + * {@code float}, {@code double}, {@code boolean}, {@code string}, {@code date}, {@code + * timestamp}. Supported types for vector columns: {@code array}, {@code array}. */ @JsonProperty("schema_json") private String schemaJson; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/Endpoint.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/Endpoint.java index 15e4bbf9c..505c6895f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/Endpoint.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/Endpoint.java @@ -57,17 +57,17 @@ public class Endpoint { private String lastUpdatedUser; /** - * Name of the AI Search endpoint. Server-assigned full resource path - * (`workspaces/{workspace}/endpoints/{endpoint}`) on output. On create, the user-supplied short - * name is conveyed via `CreateEndpointRequest.endpoint_id`; the server composes the full `name` - * and returns it on the response. + * Name of the AI Search endpoint. Server-assigned full resource path ({@code + * workspaces/{workspace}/endpoints/{endpoint}}) on output. On create, the user-supplied short + * name is conveyed via {@code CreateEndpointRequest.endpoint_id}; the server composes the full + * {@code name} and returns it on the response. */ @JsonProperty("name") private String name; /** * The client-supplied desired number of replicas for the endpoint, applied at create/update time. - * Mutually exclusive with `target_qps`. + * Mutually exclusive with {@code target_qps}. */ @JsonProperty("replica_count") private Long replicaCount; @@ -77,8 +77,8 @@ public class Endpoint { private EndpointScalingInfo scalingInfo; /** - * Target QPS for the endpoint. Mutually exclusive with `replica_count`. Best-effort; the system - * does not guarantee this QPS will be achieved. + * Target QPS for the endpoint. Mutually exclusive with {@code replica_count}. Best-effort; the + * system does not guarantee this QPS will be achieved. */ @JsonProperty("target_qps") private Long targetQps; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/EndpointStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/EndpointStatus.java index 86cd06dc8..6becb7a8c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/EndpointStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/EndpointStatus.java @@ -19,7 +19,7 @@ public class EndpointStatus { @JsonProperty("message") private String message; - /** Current lifecycle state of the endpoint. See `State` for the meaning of each value. */ + /** Current lifecycle state of the endpoint. See {@code State} for the meaning of each value. */ @JsonProperty("state") private EndpointStatusState state; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/FacetResultData.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/FacetResultData.java index 439c0a56a..8ff1965c0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/FacetResultData.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/FacetResultData.java @@ -12,7 +12,7 @@ /** Facet aggregation rows returned by a query. */ @Generated public class FacetResultData { - /** Facet rows; each row is `[facet_column_name, value_or_range, count]`. */ + /** Facet rows; each row is {@code [facet_column_name, value_or_range, count]}. */ @JsonProperty("facet_array") private Collection> facetArray; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/GetEndpointRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/GetEndpointRequest.java index cc78d55e0..8ba00d2a3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/GetEndpointRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/GetEndpointRequest.java @@ -10,7 +10,8 @@ @Generated public class GetEndpointRequest { /** - * Full resource name of the endpoint. Format: `workspaces/{workspace_id}/endpoints/{endpoint_id}` + * Full resource name of the endpoint. Format: {@code + * workspaces/{workspace_id}/endpoints/{endpoint_id}} */ @JsonIgnore private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/GetIndexRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/GetIndexRequest.java index 171fc850b..4451e1177 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/GetIndexRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/GetIndexRequest.java @@ -10,8 +10,8 @@ @Generated public class GetIndexRequest { /** - * Full resource name of the index. Format: - * `workspaces/{workspace_id}/endpoints/{endpoint_id}/indexes/{index_id}` + * Full resource name of the index. Format: {@code + * workspaces/{workspace_id}/endpoints/{endpoint_id}/indexes/{index_id}} */ @JsonIgnore private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/Index.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/Index.java index f05f12cb5..0ca2f1027 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/Index.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/Index.java @@ -10,7 +10,7 @@ /** * An AI Search index — a searchable collection of vectors and metadata hosted on an AI Search * endpoint. Indexes are children of endpoints; customers create, get, list, and delete them. The - * `{index}` segment of the resource name is the index's Unity Catalog table name. + * {@code {index}} segment of the resource name is the index's Unity Catalog table name. */ @Generated public class Index { @@ -18,17 +18,19 @@ public class Index { @JsonProperty("creator") private String creator; - /** Specification for a Delta Sync index. Set when `index_type` is `DELTA_SYNC`. */ + /** Specification for a Delta Sync index. Set when {@code index_type} is {@code DELTA_SYNC}. */ @JsonProperty("delta_sync_index_spec") private DeltaSyncIndexSpec deltaSyncIndexSpec; - /** Specification for a Direct Access index. Set when `index_type` is `DIRECT_ACCESS`. */ + /** + * Specification for a Direct Access index. Set when {@code index_type} is {@code DIRECT_ACCESS}. + */ @JsonProperty("direct_access_index_spec") private DirectAccessIndexSpec directAccessIndexSpec; /** * Name of the endpoint associated with the index. Ignored on create — the endpoint is taken from - * `CreateIndexRequest.parent`; populated only on output. + * {@code CreateIndexRequest.parent}; populated only on output. */ @JsonProperty("endpoint") private String endpoint; @@ -42,11 +44,11 @@ public class Index { private IndexType indexType; /** - * Name of the AI Search index. Server-assigned full resource path - * (`workspaces/{workspace}/endpoints/{endpoint}/indexes/{index}`) on output, where `{index}` is - * the index's Unity Catalog table name. On create, the user-supplied UC table name is conveyed - * via `CreateIndexRequest.index_id`; the server composes the full `name` and returns it on the - * response. + * Name of the AI Search index. Server-assigned full resource path ({@code + * workspaces/{workspace}/endpoints/{endpoint}/indexes/{index}}) on output, where {@code {index}} + * is the index's Unity Catalog table name. On create, the user-supplied UC table name is conveyed + * via {@code CreateIndexRequest.index_id}; the server composes the full {@code name} and returns + * it on the response. */ @JsonProperty("name") private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/IndexSubtype.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/IndexSubtype.java index 6f7e0f984..286732199 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/IndexSubtype.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/IndexSubtype.java @@ -5,12 +5,17 @@ import com.databricks.sdk.support.Generated; /** - * The subtype of the AI Search index, determining the indexing and retrieval strategy. - `VECTOR`: - * Not a supported create value — do not select it. Use `HYBRID` (vector + hybrid search) or - * `FULL_TEXT` (full-text only). It is the proto2 default (`= 0`) solely to mirror the legacy - * `index_v2.proto` enum value-for-value; it is not an offered index subtype. - `FULL_TEXT`: An - * index that uses full-text search without vector embeddings. - `HYBRID`: An index that uses vector - * embeddings for similarity search and hybrid search. + * The subtype of the AI Search index, determining the indexing and retrieval strategy. + * + *

*/ @Generated public enum IndexSubtype { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/IndexType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/IndexType.java index df384b687..8a7413d4a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/IndexType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/IndexType.java @@ -5,11 +5,15 @@ import com.databricks.sdk.support.Generated; /** - * There are 2 types of AI Search indexes: - `DELTA_SYNC`: An index that automatically syncs with a - * source Delta Table, automatically and incrementally updating the index as the underlying data in - * the Delta Table changes. - `DIRECT_ACCESS`: An index that supports direct read and write of - * vectors and metadata through our REST and SDK APIs. With this model, the user manages index - * updates. + * There are 2 types of AI Search indexes: + * + * */ @Generated public enum IndexType { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ListEndpointsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ListEndpointsRequest.java index 3572a0916..9770997c2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ListEndpointsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ListEndpointsRequest.java @@ -12,8 +12,8 @@ public class ListEndpointsRequest { /** * Best-effort upper bound on the number of results to return. Honored as an upper bound by the - * shim: `page_size` only narrows the legacy backend's response, never widens it, so the practical - * cap is `min(page_size, legacy_fixed_page_size)`. + * shim: {@code page_size} only narrows the legacy backend's response, never widens it, so the + * practical cap is {@code min(page_size, legacy_fixed_page_size)}. */ @JsonIgnore @QueryParam("page_size") @@ -24,7 +24,9 @@ public class ListEndpointsRequest { @QueryParam("page_token") private String pageToken; - /** The Workspace that owns this collection of endpoints. Format: `workspaces/{workspace_id}` */ + /** + * The Workspace that owns this collection of endpoints. Format: {@code workspaces/{workspace_id}} + */ @JsonIgnore private String parent; public ListEndpointsRequest setPageSize(Long pageSize) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ListIndexesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ListIndexesRequest.java index 2409ed7b1..3ee845d63 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ListIndexesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ListIndexesRequest.java @@ -12,8 +12,8 @@ public class ListIndexesRequest { /** * Best-effort upper bound on the number of results to return. Honored as an upper bound by the - * shim: `page_size` only narrows the legacy backend's response, never widens it, so the practical - * cap is `min(page_size, legacy_fixed_page_size)`. + * shim: {@code page_size} only narrows the legacy backend's response, never widens it, so the + * practical cap is {@code min(page_size, legacy_fixed_page_size)}. */ @JsonIgnore @QueryParam("page_size") @@ -25,8 +25,8 @@ public class ListIndexesRequest { private String pageToken; /** - * The Endpoint that owns this collection of indexes. Format: - * `workspaces/{workspace_id}/endpoints/{endpoint_id}` + * The Endpoint that owns this collection of indexes. Format: {@code + * workspaces/{workspace_id}/endpoints/{endpoint_id}} */ @JsonIgnore private String parent; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ListIndexesResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ListIndexesResponse.java index aba54917c..3ce65b0e1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ListIndexesResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ListIndexesResponse.java @@ -12,10 +12,10 @@ @Generated public class ListIndexesResponse { /** - * The indexes on the endpoint. The field is named `indexes` (not the irregular plural `indices`) - * to satisfy core::0132, which derives the response field name from the ListIndexes method. - * core::0158::response-plural-first-field independently computes the resource plural as `indices` - * and is satisfied via a scoped field exception below. + * The indexes on the endpoint. The field is named {@code indexes} (not the irregular plural + * {@code indices}) to satisfy core::0132, which derives the response field name from the + * ListIndexes method. core::0158::response-plural-first-field independently computes the resource + * plural as {@code indices} and is satisfied via a scoped field exception below. */ @JsonProperty("indexes") private Collection indexes; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/PipelineType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/PipelineType.java index c6405738b..d18bdba27 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/PipelineType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/PipelineType.java @@ -6,10 +6,14 @@ /** * Pipeline execution mode for a Delta Sync index. Required on create for Delta Sync indexes; the - * legacy backend rejects an unset value with INVALID_PARAMETER_VALUE. - `TRIGGERED`: the pipeline - * stops after refreshing the source table once, using the data available when the update started. - - * `CONTINUOUS`: the pipeline processes new data as it arrives in the source table to keep the index - * fresh. + * legacy backend rejects an unset value with INVALID_PARAMETER_VALUE. + * + * */ @Generated public enum PipelineType { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/QueryIndexRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/QueryIndexRequest.java index 8820c4724..3307bc4cd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/QueryIndexRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/QueryIndexRequest.java @@ -10,9 +10,9 @@ import java.util.Objects; /** - * Request to query (search) an AI Search index. The legacy `num_results` count is exposed as - * `max_results`; v1 returns up to `max_results` rows in a single response (no cursor pagination — - * see the note on `max_results` below). + * Request to query (search) an AI Search index. The legacy {@code num_results} count is exposed as + * {@code max_results}; v1 returns up to {@code max_results} rows in a single response (no cursor + * pagination — see the note on {@code max_results} below). */ @Generated public class QueryIndexRequest { @@ -24,25 +24,25 @@ public class QueryIndexRequest { @JsonProperty("columns_to_rerank") private Collection columnsToRerank; - /** Facets to compute over the matched results (e.g. `"category TOP 5"`). */ + /** Facets to compute over the matched results (e.g. {@code "category TOP 5"}). */ @JsonProperty("facets") private Collection facets; - /** JSON string describing query filters (e.g. `{"id >": 5}`). */ + /** JSON string describing query filters (e.g. {@code {"id >": 5}}). */ @JsonProperty("filters_json") private String filtersJson; - /** Maximum number of results to return (the legacy `num_results`). Defaults to 10. */ + /** Maximum number of results to return (the legacy {@code num_results}). Defaults to 10. */ @JsonProperty("max_results") private Long maxResults; /** - * Full resource name of the index to query. Format: - * `workspaces/{workspace_id}/endpoints/{endpoint_id}/indexes/{index_id}` + * Full resource name of the index to query. Format: {@code + * workspaces/{workspace_id}/endpoints/{endpoint_id}/indexes/{index_id}} */ @JsonIgnore private String name; - /** Text columns to search for `query_text`. When empty, all text columns are searched. */ + /** Text columns to search for {@code query_text}. When empty, all text columns are searched. */ @JsonProperty("query_columns") private Collection queryColumns; @@ -50,7 +50,7 @@ public class QueryIndexRequest { @JsonProperty("query_text") private String queryText; - /** Query type: `ANN`, `HYBRID`, or `FULL_TEXT`. Defaults to `ANN`. */ + /** Query type: {@code ANN}, {@code HYBRID}, or {@code FULL_TEXT}. Defaults to {@code ANN}. */ @JsonProperty("query_type") private String queryType; @@ -69,7 +69,7 @@ public class QueryIndexRequest { @JsonProperty("score_threshold") private Double scoreThreshold; - /** Sort clauses, e.g. `["rating DESC", "price ASC"]`. Overrides relevance ordering. */ + /** Sort clauses, e.g. {@code ["rating DESC", "price ASC"]}. Overrides relevance ordering. */ @JsonProperty("sort_columns") private Collection sortColumns; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/RemoveDataRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/RemoveDataRequest.java index 524a9724e..25a112d9d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/RemoveDataRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/RemoveDataRequest.java @@ -17,8 +17,8 @@ @Generated public class RemoveDataRequest { /** - * Full resource name of the index. Must be a Direct Access index. Format: - * `workspaces/{workspace_id}/endpoints/{endpoint_id}/indexes/{index_id}` + * Full resource name of the index. Must be a Direct Access index. Format: {@code + * workspaces/{workspace_id}/endpoints/{endpoint_id}/indexes/{index_id}} */ @JsonIgnore private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/RerankerConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/RerankerConfig.java index 311d33cf1..46eff384d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/RerankerConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/RerankerConfig.java @@ -12,12 +12,12 @@ public class RerankerConfig { /** * Reranker identifier: "databricks_reranker" for the base model, or a Model Serving endpoint name - * when `model_type` is MODEL_TYPE_FINETUNED. + * when {@code model_type} is MODEL_TYPE_FINETUNED. */ @JsonProperty("model") private String model; - /** Discriminator for how `model` is interpreted. */ + /** Discriminator for how {@code model} is interpreted. */ @JsonProperty("model_type") private RerankerConfigModelType modelType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/RerankerConfigModelType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/RerankerConfigModelType.java index b1848c5be..0a6c938fc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/RerankerConfigModelType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/RerankerConfigModelType.java @@ -4,7 +4,7 @@ import com.databricks.sdk.support.Generated; -/** How the `model` field is interpreted. */ +/** How the {@code model} field is interpreted. */ @Generated public enum RerankerConfigModelType { MODEL_TYPE_BASE, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ScanIndexRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ScanIndexRequest.java index 40f12c709..124afee3d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ScanIndexRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ScanIndexRequest.java @@ -9,14 +9,14 @@ import java.util.Objects; /** - * Request to scan (paginate over) the rows of an AI Search index. Models the legacy `num_results` / - * `last_primary_key` cursor as AIP-158 `page_size` / `page_token`. + * Request to scan (paginate over) the rows of an AI Search index. Models the legacy {@code + * num_results} / {@code last_primary_key} cursor as AIP-158 {@code page_size} / {@code page_token}. */ @Generated public class ScanIndexRequest { /** - * Full resource name of the index to scan. Format: - * `workspaces/{workspace_id}/endpoints/{endpoint_id}/indexes/{index_id}` + * Full resource name of the index to scan. Format: {@code + * workspaces/{workspace_id}/endpoints/{endpoint_id}/indexes/{index_id}} */ @JsonIgnore private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/SyncIndexRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/SyncIndexRequest.java index 6b6837c40..82efc5759 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/SyncIndexRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/SyncIndexRequest.java @@ -11,8 +11,8 @@ @Generated public class SyncIndexRequest { /** - * Full resource name of the index to synchronize. Must be a Delta Sync index. Format: - * `workspaces/{workspace_id}/endpoints/{endpoint_id}/indexes/{index_id}` + * Full resource name of the index to synchronize. Must be a Delta Sync index. Format: {@code + * workspaces/{workspace_id}/endpoints/{endpoint_id}/indexes/{index_id}} */ @JsonIgnore private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ThroughputChangeRequestState.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ThroughputChangeRequestState.java index 3a905428e..c25ca1d66 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ThroughputChangeRequestState.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/ThroughputChangeRequestState.java @@ -6,7 +6,7 @@ /** * State of the most recent throughput change request issued against a Storage Optimized endpoint. - * Surfaced on `EndpointThroughputInfo.change_request_state`. + * Surfaced on {@code EndpointThroughputInfo.change_request_state}. */ @Generated public enum ThroughputChangeRequestState { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/UpdateEndpointRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/UpdateEndpointRequest.java index 24396b934..1cbf4173d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/UpdateEndpointRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/UpdateEndpointRequest.java @@ -12,15 +12,15 @@ @Generated public class UpdateEndpointRequest { - /** The Endpoint resource to update. `endpoint.name` carries the full resource path. */ + /** The Endpoint resource to update. {@code endpoint.name} carries the full resource path. */ @JsonProperty("endpoint") private Endpoint endpoint; /** - * Name of the AI Search endpoint. Server-assigned full resource path - * (`workspaces/{workspace}/endpoints/{endpoint}`) on output. On create, the user-supplied short - * name is conveyed via `CreateEndpointRequest.endpoint_id`; the server composes the full `name` - * and returns it on the response. + * Name of the AI Search endpoint. Server-assigned full resource path ({@code + * workspaces/{workspace}/endpoints/{endpoint}}) on output. On create, the user-supplied short + * name is conveyed via {@code CreateEndpointRequest.endpoint_id}; the server composes the full + * {@code name} and returns it on the response. */ @JsonIgnore private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/UpsertDataRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/UpsertDataRequest.java index 69e4840a4..10128e638 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/UpsertDataRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/aisearch/UpsertDataRequest.java @@ -16,8 +16,8 @@ public class UpsertDataRequest { private String inputsJson; /** - * Full resource name of the index. Must be a Direct Access index. Format: - * `workspaces/{workspace_id}/endpoints/{endpoint_id}/indexes/{index_id}` + * Full resource name of the index. Must be a Direct Access index. Format: {@code + * workspaces/{workspace_id}/endpoints/{endpoint_id}/indexes/{index_id}} */ @JsonIgnore private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/App.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/App.java index 45e2a2dfd..a65a5b122 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/App.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/App.java @@ -25,11 +25,11 @@ public class App { @JsonProperty("budget_policy_id") private String budgetPolicyId; - /** Maximum number of app instances. Must be set together with `compute_min_instances`. */ + /** Maximum number of app instances. Must be set together with {@code compute_min_instances}. */ @JsonProperty("compute_max_instances") private Long computeMaxInstances; - /** Minimum number of app instances. Must be set together with `compute_max_instances`. */ + /** Minimum number of app instances. Must be set together with {@code compute_max_instances}. */ @JsonProperty("compute_min_instances") private Long computeMinInstances; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppDeployment.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppDeployment.java index bf9640846..51ccf1995 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppDeployment.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppDeployment.java @@ -50,10 +50,10 @@ public class AppDeployment { /** * The workspace file system path of the source code used to create the app deployment. This is - * different from `deployment_artifacts.source_code_path`, which is the path used by the deployed - * app. The former refers to the original source code location of the app in the workspace during - * deployment creation, whereas the latter provides a system generated stable snapshotted source - * code path used by the deployment. + * different from {@code deployment_artifacts.source_code_path}, which is the path used by the + * deployed app. The former refers to the original source code location of the app in the + * workspace during deployment creation, whereas the latter provides a system generated stable + * snapshotted source code path used by the deployment. */ @JsonProperty("source_code_path") private String sourceCodePath; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppUpdate.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppUpdate.java index 07764eb72..38e2992e9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppUpdate.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppUpdate.java @@ -14,11 +14,11 @@ public class AppUpdate { @JsonProperty("budget_policy_id") private String budgetPolicyId; - /** Maximum number of app instances. Must be set together with `compute_min_instances`. */ + /** Maximum number of app instances. Must be set together with {@code compute_min_instances}. */ @JsonProperty("compute_max_instances") private Long computeMaxInstances; - /** Minimum number of app instances. Must be set together with `compute_max_instances`. */ + /** Minimum number of app instances. Must be set together with {@code compute_max_instances}. */ @JsonProperty("compute_min_instances") private Long computeMinInstances; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AsyncUpdateAppRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AsyncUpdateAppRequest.java index 136f919eb..79ae3518d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AsyncUpdateAppRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AsyncUpdateAppRequest.java @@ -19,14 +19,14 @@ public class AsyncUpdateAppRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("update_mask") private String updateMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/Operation.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/Operation.java index 610ba8296..fd4fe521c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/Operation.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/Operation.java @@ -11,8 +11,8 @@ @Generated public class Operation { /** - * If the value is `false`, it means the operation is still in progress. If `true`, the operation - * is completed, and either `error` or `response` is available. + * If the value is {@code false}, it means the operation is still in progress. If {@code true}, + * the operation is completed, and either {@code error} or {@code response} is available. */ @JsonProperty("done") private Boolean done; @@ -31,8 +31,8 @@ public class Operation { /** * The server-assigned name, which is only unique within the same service that originally returns - * it. If you use the default HTTP mapping, the `name` should be a resource name ending with - * `operations/{unique_id}`. + * it. If you use the default HTTP mapping, the {@code name} should be a resource name ending with + * {@code operations/{unique_id}}. */ @JsonProperty("name") private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/UpdateSpaceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/UpdateSpaceRequest.java index 7b4af79be..fe1dcebe9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/UpdateSpaceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/UpdateSpaceRequest.java @@ -24,14 +24,14 @@ public class UpdateSpaceRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonIgnore @QueryParam("update_mask") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/AlertConfiguration.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/AlertConfiguration.java index 918ec6d08..0125215c5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/AlertConfiguration.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/AlertConfiguration.java @@ -23,14 +23,14 @@ public class AlertConfiguration { /** * The threshold for the budget alert to determine if it is in a triggered state. The number is - * evaluated based on `quantity_type`. + * evaluated based on {@code quantity_type}. */ @JsonProperty("quantity_threshold") private String quantityThreshold; /** - * The way to calculate cost for this budget alert. This is what `quantity_threshold` is measured - * in. + * The way to calculate cost for this budget alert. This is what {@code quantity_threshold} is + * measured in. */ @JsonProperty("quantity_type") private AlertConfigurationQuantityType quantityType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageAPI.java index 079ca2947..920c432eb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageAPI.java @@ -34,17 +34,21 @@ public DownloadResponse download(String startMonth, String endMonth) { * Returns billable usage logs in CSV format for the specified account and date range. For the * data schema, see: * - *

- AWS: [CSV file schema]. - GCP: [CSV file schema]. + *

* *

Note that this method might take multiple minutes to complete. * - *

**Warning**: Depending on the queried date range, the number of workspaces in the account, - * the size of the response and the internet speed of the caller, this API may hit a timeout after - * a few minutes. If you experience this, try to mitigate by calling the API with narrower date - * ranges. - * - *

[CSV file schema]: - * https://docs.gcp.databricks.com/administration-guide/account-settings/usage-analysis.html#csv-file-schema + *

Warning: Depending on the queried date range, the number of workspaces in the + * account, the size of the response and the internet speed of the caller, this API may hit a + * timeout after a few minutes. If you experience this, try to mitigate by calling the API with + * narrower date ranges. */ public DownloadResponse download(DownloadRequest request) { return impl.download(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageService.java index 44b15f427..3c2a1e77f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageService.java @@ -17,17 +17,21 @@ public interface BillableUsageService { * Returns billable usage logs in CSV format for the specified account and date range. For the * data schema, see: * - *

- AWS: [CSV file schema]. - GCP: [CSV file schema]. + *

* *

Note that this method might take multiple minutes to complete. * - *

**Warning**: Depending on the queried date range, the number of workspaces in the account, - * the size of the response and the internet speed of the caller, this API may hit a timeout after - * a few minutes. If you experience this, try to mitigate by calling the API with narrower date - * ranges. - * - *

[CSV file schema]: - * https://docs.gcp.databricks.com/administration-guide/account-settings/usage-analysis.html#csv-file-schema + *

Warning: Depending on the queried date range, the number of workspaces in the + * account, the size of the response and the internet speed of the caller, this API may hit a + * timeout after a few minutes. If you experience this, try to mitigate by calling the API with + * narrower date ranges. */ DownloadResponse download(DownloadRequest downloadRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetPolicy.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetPolicy.java index 66355b115..438baf99b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetPolicy.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetPolicy.java @@ -27,9 +27,13 @@ public class BudgetPolicy { private String policyId; /** - * The name of the policy. - Must be unique among active policies. - Can contain only characters - * from the ISO 8859-1 (latin1) set. - Can't start with reserved keywords such as - * `databricks:default-policy`. + * The name of the policy. + * + *

    + *
  • Must be unique among active policies. + *
  • Can contain only characters from the ISO 8859-1 (latin1) set. + *
  • Can't start with reserved keywords such as {@code databricks:default-policy}. + *
*/ @JsonProperty("policy_name") private String policyName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/CreateBudgetConfigurationBudgetAlertConfigurations.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/CreateBudgetConfigurationBudgetAlertConfigurations.java index 4adf795ea..f1649ad14 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/CreateBudgetConfigurationBudgetAlertConfigurations.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/CreateBudgetConfigurationBudgetAlertConfigurations.java @@ -19,14 +19,14 @@ public class CreateBudgetConfigurationBudgetAlertConfigurations { /** * The threshold for the budget alert to determine if it is in a triggered state. The number is - * evaluated based on `quantity_type`. + * evaluated based on {@code quantity_type}. */ @JsonProperty("quantity_threshold") private String quantityThreshold; /** - * The way to calculate cost for this budget alert. This is what `quantity_threshold` is measured - * in. + * The way to calculate cost for this budget alert. This is what {@code quantity_threshold} is + * measured in. */ @JsonProperty("quantity_type") private AlertConfigurationQuantityType quantityType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/CreateBudgetPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/CreateBudgetPolicyRequest.java index 2ed87cd0e..fa9456ad8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/CreateBudgetPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/CreateBudgetPolicyRequest.java @@ -11,16 +11,16 @@ @Generated public class CreateBudgetPolicyRequest { /** - * The policy to create. `policy_id` needs to be empty as it will be generated `policy_name` must - * be provided, custom_tags may need to be provided depending on the cloud provider. All other - * fields are optional. + * The policy to create. {@code policy_id} needs to be empty as it will be generated {@code + * policy_name} must be provided, custom_tags may need to be provided depending on the cloud + * provider. All other fields are optional. */ @JsonProperty("policy") private BudgetPolicy policy; /** * A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is - * recommended. This request is only idempotent if a `request_id` is provided. + * recommended. This request is only idempotent if a {@code request_id} is provided. */ @JsonProperty("request_id") private String requestId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/CreateLogDeliveryConfigurationParams.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/CreateLogDeliveryConfigurationParams.java index 619f90f27..7b6d585bd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/CreateLogDeliveryConfigurationParams.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/CreateLogDeliveryConfigurationParams.java @@ -8,7 +8,7 @@ import java.util.Collection; import java.util.Objects; -/** * Log Delivery Configuration */ +/** Log Delivery Configuration */ @Generated public class CreateLogDeliveryConfigurationParams { /** The optional human-readable name of the log delivery configuration. Defaults to empty. */ @@ -17,11 +17,9 @@ public class CreateLogDeliveryConfigurationParams { /** * The ID for a method:credentials/create that represents the AWS IAM role with policy and trust - * relationship as described in the main billable usage documentation page. See [Configure - * billable usage delivery]. - * - *

[Configure billable usage delivery]: - * https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html + * relationship as described in the main billable usage documentation page. See Configure + * billable usage delivery. */ @JsonProperty("credentials_id") private String credentialsId; @@ -43,51 +41,56 @@ public class CreateLogDeliveryConfigurationParams { private String deliveryStartTime; /** - * Log delivery type. Supported values are: * `BILLABLE_USAGE` — Configure [billable usage log - * delivery]. For the CSV schema, see the [View billable usage]. * `AUDIT_LOGS` — Configure [audit - * log delivery]. For the JSON schema, see [Configure audit logging] + * Log delivery type. Supported values are: * - *

[Configure audit logging]: - * https://docs.databricks.com/administration-guide/account-settings/audit-logs.html [View - * billable usage]: https://docs.databricks.com/administration-guide/account-settings/usage.html - * [audit log delivery]: - * https://docs.databricks.com/administration-guide/account-settings/audit-logs.html [billable - * usage log delivery]: - * https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html + *

*/ @JsonProperty("log_type") private LogType logType; /** - * The file type of log delivery. * If `log_type` is `BILLABLE_USAGE`, this value must be `CSV`. - * Only the CSV (comma-separated values) format is supported. For the schema, see the [View - * billable usage] * If `log_type` is `AUDIT_LOGS`, this value must be `JSON`. Only the JSON - * (JavaScript Object Notation) format is supported. For the schema, see the [Configuring audit - * logs]. + * The file type of log delivery. * - *

[Configuring audit logs]: - * https://docs.databricks.com/administration-guide/account-settings/audit-logs.html [View - * billable usage]: https://docs.databricks.com/administration-guide/account-settings/usage.html + *

    + *
  • If {@code log_type} is {@code BILLABLE_USAGE}, this value must be {@code CSV}. Only the + * CSV (comma-separated values) format is supported. For the schema, see the View + * billable usage + *
  • If {@code log_type} is {@code AUDIT_LOGS}, this value must be {@code JSON}. Only the JSON + * (JavaScript Object Notation) format is supported. For the schema, see the Configuring + * audit logs. + *
*/ @JsonProperty("output_format") private OutputFormat outputFormat; /** - * Status of log delivery configuration. Set to `ENABLED` (enabled) or `DISABLED` (disabled). - * Defaults to `ENABLED`. You can [enable or disable the - * configuration](#operation/patch-log-delivery-config-status) later. Deletion of a configuration - * is not supported, so disable a log delivery configuration that is no longer needed. + * Status of log delivery configuration. Set to {@code ENABLED} (enabled) or {@code DISABLED} + * (disabled). Defaults to {@code ENABLED}. You can enable or disable the configuration + * later. Deletion of a configuration is not supported, so disable a log delivery configuration + * that is no longer needed. */ @JsonProperty("status") private LogDeliveryConfigStatus status; /** * The ID for a method:storage/create that represents the S3 bucket with bucket policy as - * described in the main billable usage documentation page. See [Configure billable usage - * delivery]. - * - *

[Configure billable usage delivery]: - * https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html + * described in the main billable usage documentation page. See Configure + * billable usage delivery. */ @JsonProperty("storage_configuration_id") private String storageConfigurationId; @@ -96,9 +99,9 @@ public class CreateLogDeliveryConfigurationParams { * Optional filter that specifies workspace IDs to deliver logs for. By default the workspace * filter is empty and log delivery applies at the account level, delivering workspace-level logs * for all workspaces in your account, plus account level logs. You can optionally set this field - * to an array of workspace IDs (each one is an `int64`) to which log delivery should apply, in - * which case only workspace-level logs relating to the specified workspaces are delivered. If you - * plan to use different log delivery configurations for different workspaces, set this field + * to an array of workspace IDs (each one is an {@code int64}) to which log delivery should apply, + * in which case only workspace-level logs relating to the specified workspaces are delivered. If + * you plan to use different log delivery configurations for different workspaces, set this field * explicitly. Be aware that delivery configurations mentioning specific workspaces won't apply to * new workspaces created in the future, and delivery won't include account level logs. For some * types of Databricks deployments there is only one workspace per account ID, so this field is diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DeliveryStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DeliveryStatus.java index f4fae5ddc..551151da8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DeliveryStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DeliveryStatus.java @@ -5,13 +5,14 @@ import com.databricks.sdk.support.Generated; /** - * * The status string for log delivery. Possible values are: `CREATED`: There were no log delivery - * attempts since the config was created. `SUCCEEDED`: The latest attempt of log delivery has - * succeeded completely. `USER_FAILURE`: The latest attempt of log delivery failed because of - * misconfiguration of customer provided permissions on role or storage. `SYSTEM_FAILURE`: The - * latest attempt of log delivery failed because of an Databricks internal error. Contact support if - * it doesn't go away soon. `NOT_FOUND`: The log delivery status as the configuration has been - * disabled since the release of this feature or there are no workspaces in the account. + * The status string for log delivery. Possible values are: {@code CREATED}: There were no log + * delivery attempts since the config was created. {@code SUCCEEDED}: The latest attempt of log + * delivery has succeeded completely. {@code USER_FAILURE}: The latest attempt of log delivery + * failed because of misconfiguration of customer provided permissions on role or storage. {@code + * SYSTEM_FAILURE}: The latest attempt of log delivery failed because of an Databricks internal + * error. Contact support if it doesn't go away soon. {@code NOT_FOUND}: The log delivery status as + * the configuration has been disabled since the release of this feature or there are no workspaces + * in the account. */ @Generated public enum DeliveryStatus { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DownloadRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DownloadRequest.java index e9f3ccabb..1abc2bbd5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DownloadRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/DownloadRequest.java @@ -10,7 +10,9 @@ @Generated public class DownloadRequest { - /** Format: `YYYY-MM`. Last month to return billable usage logs for. This field is required. */ + /** + * Format: {@code YYYY-MM}. Last month to return billable usage logs for. This field is required. + */ @JsonIgnore @QueryParam("end_month") private String endMonth; @@ -25,9 +27,9 @@ public class DownloadRequest { private Boolean personalData; /** - * Format specification for month in the format `YYYY-MM`. This is used to specify billable usage - * `start_month` and `end_month` properties. **Note**: Billable usage logs are unavailable before - * March 2019 (`2019-03`). + * Format specification for month in the format {@code YYYY-MM}. This is used to specify billable + * usage {@code start_month} and {@code end_month} properties. Note: Billable usage logs + * are unavailable before March 2019 ({@code 2019-03}). */ @JsonIgnore @QueryParam("start_month") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetConfigurationsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetConfigurationsResponse.java index c6c385543..ff4db1a3e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetConfigurationsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetConfigurationsResponse.java @@ -15,8 +15,8 @@ public class ListBudgetConfigurationsResponse { private Collection budgets; /** - * Token which can be sent as `page_token` to retrieve the next page of results. If this field is - * omitted, there are no subsequent budgets. + * Token which can be sent as {@code page_token} to retrieve the next page of results. If this + * field is omitted, there are no subsequent budgets. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetPoliciesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetPoliciesRequest.java index 8871004fb..8fcc0f9b8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetPoliciesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetPoliciesRequest.java @@ -24,11 +24,11 @@ public class ListBudgetPoliciesRequest { private Long pageSize; /** - * A page token, received from a previous `ListServerlessPolicies` call. Provide this to retrieve - * the subsequent page. If unspecified, the first page will be returned. + * A page token, received from a previous {@code ListServerlessPolicies} call. Provide this to + * retrieve the subsequent page. If unspecified, the first page will be returned. * - *

When paginating, all other parameters provided to `ListServerlessPoliciesRequest` must match - * the call that provided the page token. + *

When paginating, all other parameters provided to {@code ListServerlessPoliciesRequest} must + * match the call that provided the page token. */ @JsonIgnore @QueryParam("page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetPoliciesResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetPoliciesResponse.java index 6ab49dbca..e42016e33 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetPoliciesResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/ListBudgetPoliciesResponse.java @@ -12,8 +12,8 @@ @Generated public class ListBudgetPoliciesResponse { /** - * A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, - * there are no subsequent pages. + * A token that can be sent as {@code page_token} to retrieve the next page. If this field is + * omitted, there are no subsequent pages. */ @JsonProperty("next_page_token") private String nextPageToken; @@ -23,7 +23,7 @@ public class ListBudgetPoliciesResponse { private Collection policies; /** - * A token that can be sent as `page_token` to retrieve the previous page. In this field is + * A token that can be sent as {@code page_token} to retrieve the previous page. In this field is * omitted, there are no previous pages. */ @JsonProperty("previous_page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryAPI.java index 28364e50f..2505153e6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryAPI.java @@ -9,8 +9,8 @@ /** * These APIs manage log delivery configurations for this account. The two supported log types for - * this API are _billable usage logs_ (AWS only) and _audit logs_ (AWS and GCP). This feature is in - * Public Preview. This feature works with all account ID types. + * this API are billable usage logs (AWS only) and audit logs (AWS and GCP). This + * feature is in Public Preview. This feature works with all account ID types. * *

Log delivery works with all account types. However, if your account is on the E2 version of * the platform or on a select custom plan that allows multiple workspaces per account, you can @@ -19,52 +19,66 @@ * *

The high-level flow of billable usage delivery (AWS only): * - *

1. **Create storage**: In AWS, [create a new AWS S3 bucket] with a specific bucket policy. - * Using Databricks APIs, call the Account API to create a [storage configuration - * object](:method:Storage/Create) that uses the bucket name. + *

    + *
  1. Create storage: In AWS, create + * a new AWS S3 bucket with a specific bucket policy. Using Databricks APIs, call the + * Account API to create a storage configuration object + * that uses the bucket name. + *
  2. Create credentials: In AWS, create the appropriate AWS IAM role. For full details, + * including the required IAM role policies and trust relationship, see Billable + * usage log delivery. Using Databricks APIs, call the Account API to create a credential configuration object that uses the IAM + * role's ARN. + *
  3. Create log delivery configuration: Using Databricks APIs, call the Account API to create a log delivery configuration that uses the + * credential and storage configuration objects from previous steps. You can specify if the + * logs should include all events of that log type in your account (Account level + * delivery) or only events for a specific set of workspaces (workspace level + * delivery). Account level log delivery applies to all current and future workspaces plus + * account level logs, while workspace level log delivery solely delivers logs related to the + * specified workspaces. You can create multiple types of delivery configurations per account. + *
* - *

2. **Create credentials**: In AWS, create the appropriate AWS IAM role. For full details, - * including the required IAM role policies and trust relationship, see [Billable usage log - * delivery]. Using Databricks APIs, call the Account API to create a [credential configuration - * object](:method:Credentials/Create) that uses the IAM role's ARN. + *

For billable usage delivery (AWS only): * - *

3. **Create log delivery configuration**: Using Databricks APIs, call the Account API to - * [create a log delivery configuration](:method:LogDelivery/Create) that uses the credential and - * storage configuration objects from previous steps. You can specify if the logs should include all - * events of that log type in your account (_Account level_ delivery) or only events for a specific - * set of workspaces (_workspace level_ delivery). Account level log delivery applies to all current - * and future workspaces plus account level logs, while workspace level log delivery solely delivers - * logs related to the specified workspaces. You can create multiple types of delivery - * configurations per account. + *

    + *
  • For more information about billable usage logs, see Billable + * usage log delivery. For the CSV schema, see the Usage + * page. + *
  • The delivery location is {@code //billable-usage/csv/}, where {@code + * } is the name of the optional delivery path prefix you set up during log delivery + * configuration. Files are named {@code workspaceId=-usageMonth=.csv}. + *
  • All billable usage logs apply to specific workspaces (workspace level logs). You can + * aggregate usage for your entire account by creating an account level delivery + * configuration that delivers logs for all current and future workspaces in your account. + *
  • The files are delivered daily by overwriting the month's CSV file for each workspace. + *
* - *

For billable usage delivery (AWS only): * For more information about billable usage logs, see - * [Billable usage log delivery]. For the CSV schema, see the [Usage page]. * The delivery location - * is `//billable-usage/csv/`, where `` is the name of the optional - * delivery path prefix you set up during log delivery configuration. Files are named - * `workspaceId=-usageMonth=.csv`. * All billable usage logs apply to specific - * workspaces (_workspace level_ logs). You can aggregate usage for your entire account by creating - * an _account level_ delivery configuration that delivers logs for all current and future - * workspaces in your account. * The files are delivered daily by overwriting the month's CSV file - * for each workspace. + *

For audit log delivery (AWS and GCP): * - *

For audit log delivery (AWS and GCP): * For more information about about audit log delivery, - * see Audit log delivery [AWS] or [GCP], which includes information about the used JSON schema. * - * The delivery location is - * `//workspaceId=/date=/auditlogs_.json`. - * Files may get overwritten with the same content multiple times to achieve exactly-once delivery. - * * If the audit log delivery configuration included specific workspace IDs, only _workspace-level_ - * audit logs for those workspaces are delivered. If the log delivery configuration applies to the - * entire account (_account level_ delivery configuration), the audit log delivery includes - * workspace-level audit logs for all workspaces in the account as well as account-level audit logs. - * See Audit log delivery [AWS] or [GCP] for details. * Auditable events are typically available in - * logs within 15 minutes. - * - *

[AWS]: https://docs.databricks.com/administration-guide/account-settings/audit-logs.html - * [Billable usage log delivery]: - * https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html - * [GCP]: https://docs.databricks.com/gcp/en/admin/account-settings/audit-logs [Usage page]: - * https://docs.databricks.com/administration-guide/account-settings/usage.html [create a new AWS S3 - * bucket]: https://docs.databricks.com/administration-guide/account-api/aws-storage.html + *

    + *
  • For more information about about audit log delivery, see Audit log delivery AWS + * or GCP, + * which includes information about the used JSON schema. + *
  • The delivery location is {@code + * //workspaceId=/date=/auditlogs_.json}. + * Files may get overwritten with the same content multiple times to achieve exactly-once + * delivery. + *
  • If the audit log delivery configuration included specific workspace IDs, only + * workspace-level audit logs for those workspaces are delivered. If the log delivery + * configuration applies to the entire account (account level delivery configuration), + * the audit log delivery includes workspace-level audit logs for all workspaces in the + * account as well as account-level audit logs. See Audit log delivery AWS + * or GCP + * for details. + *
  • Auditable events are typically available in logs within 15 minutes. + *
*/ @Generated public class LogDeliveryAPI { @@ -84,14 +98,18 @@ public LogDeliveryAPI(LogDeliveryService mock) { /** * Creates a new Databricks log delivery configuration to enable delivery of the specified type of - * logs to your storage location. This requires that you already created a [credential - * object](:method:Credentials/Create) (which encapsulates a cross-account service IAM role) and a - * [storage configuration object](:method:Storage/Create) (which encapsulates an S3 bucket). + * logs to your storage location. This requires that you already created a credential object (which encapsulates a cross-account + * service IAM role) and a storage configuration object + * (which encapsulates an S3 bucket). * - *

For full details, including the required IAM role policies and bucket policies, see [Deliver - * and access billable usage logs] or [Configure audit logging]. + *

For full details, including the required IAM role policies and bucket policies, see Deliver + * and access billable usage logs or Configure + * audit logging. * - *

**Note**: There is a limit on the number of log delivery configurations available per + *

Note: There is a limit on the number of log delivery configurations available per * account (each limit applies separately to each log type including billable usage and audit * logs). You can create a maximum of two enabled account-level delivery configurations * (configurations without a workspace filter) per type. Additionally, you can create two enabled @@ -99,13 +117,8 @@ public LogDeliveryAPI(LogDeliveryService mock) { * same workspace ID can occur in the workspace filter for no more than two delivery * configurations per log type. * - *

You cannot delete a log delivery configuration, but you can disable it (see [Enable or - * disable log delivery configuration](:method:LogDelivery/PatchStatus)). - * - *

[Configure audit logging]: - * https://docs.databricks.com/administration-guide/account-settings/audit-logs.html [Deliver and - * access billable usage logs]: - * https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html + *

You cannot delete a log delivery configuration, but you can disable it (see Enable or disable log delivery configuration). */ public WrappedLogDeliveryConfiguration create(WrappedCreateLogDeliveryConfiguration request) { return impl.create(request); @@ -140,7 +153,7 @@ public Iterable list(ListLogDeliveryRequest request) { * Enables or disables a log delivery configuration. Deletion of delivery configurations is not * supported, so disable log delivery configurations that are no longer needed. Note that you * can't re-enable a delivery configuration if this would violate the delivery configuration - * limits described under [Create log delivery](:method:LogDelivery/Create). + * limits described under Create log delivery. */ public void patchStatus(UpdateLogDeliveryConfigurationStatusRequest request) { impl.patchStatus(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryConfigStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryConfigStatus.java index ca18d0792..724e8d790 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryConfigStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryConfigStatus.java @@ -5,10 +5,10 @@ import com.databricks.sdk.support.Generated; /** - * * Log Delivery Status + * Log Delivery Status * - *

`ENABLED`: All dependencies have executed and succeeded `DISABLED`: At least one dependency - * has succeeded + *

{@code ENABLED}: All dependencies have executed and succeeded {@code DISABLED}: At least one + * dependency has succeeded */ @Generated public enum LogDeliveryConfigStatus { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryConfiguration.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryConfiguration.java index 1a078c1c9..d736414e5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryConfiguration.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryConfiguration.java @@ -8,7 +8,7 @@ import java.util.Collection; import java.util.Objects; -/** * Log Delivery Configuration */ +/** Log Delivery Configuration */ @Generated public class LogDeliveryConfiguration { /** Databricks account ID. */ @@ -29,11 +29,9 @@ public class LogDeliveryConfiguration { /** * The ID for a method:credentials/create that represents the AWS IAM role with policy and trust - * relationship as described in the main billable usage documentation page. See [Configure - * billable usage delivery]. - * - *

[Configure billable usage delivery]: - * https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html + * relationship as described in the main billable usage documentation page. See Configure + * billable usage delivery. */ @JsonProperty("credentials_id") private String credentialsId; @@ -59,51 +57,56 @@ public class LogDeliveryConfiguration { private LogDeliveryStatus logDeliveryStatus; /** - * Log delivery type. Supported values are: * `BILLABLE_USAGE` — Configure [billable usage log - * delivery]. For the CSV schema, see the [View billable usage]. * `AUDIT_LOGS` — Configure [audit - * log delivery]. For the JSON schema, see [Configure audit logging] + * Log delivery type. Supported values are: * - *

[Configure audit logging]: - * https://docs.databricks.com/administration-guide/account-settings/audit-logs.html [View - * billable usage]: https://docs.databricks.com/administration-guide/account-settings/usage.html - * [audit log delivery]: - * https://docs.databricks.com/administration-guide/account-settings/audit-logs.html [billable - * usage log delivery]: - * https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html + *

*/ @JsonProperty("log_type") private LogType logType; /** - * The file type of log delivery. * If `log_type` is `BILLABLE_USAGE`, this value must be `CSV`. - * Only the CSV (comma-separated values) format is supported. For the schema, see the [View - * billable usage] * If `log_type` is `AUDIT_LOGS`, this value must be `JSON`. Only the JSON - * (JavaScript Object Notation) format is supported. For the schema, see the [Configuring audit - * logs]. + * The file type of log delivery. * - *

[Configuring audit logs]: - * https://docs.databricks.com/administration-guide/account-settings/audit-logs.html [View - * billable usage]: https://docs.databricks.com/administration-guide/account-settings/usage.html + *

    + *
  • If {@code log_type} is {@code BILLABLE_USAGE}, this value must be {@code CSV}. Only the + * CSV (comma-separated values) format is supported. For the schema, see the View + * billable usage + *
  • If {@code log_type} is {@code AUDIT_LOGS}, this value must be {@code JSON}. Only the JSON + * (JavaScript Object Notation) format is supported. For the schema, see the Configuring + * audit logs. + *
*/ @JsonProperty("output_format") private OutputFormat outputFormat; /** - * Status of log delivery configuration. Set to `ENABLED` (enabled) or `DISABLED` (disabled). - * Defaults to `ENABLED`. You can [enable or disable the - * configuration](#operation/patch-log-delivery-config-status) later. Deletion of a configuration - * is not supported, so disable a log delivery configuration that is no longer needed. + * Status of log delivery configuration. Set to {@code ENABLED} (enabled) or {@code DISABLED} + * (disabled). Defaults to {@code ENABLED}. You can enable or disable the configuration + * later. Deletion of a configuration is not supported, so disable a log delivery configuration + * that is no longer needed. */ @JsonProperty("status") private LogDeliveryConfigStatus status; /** * The ID for a method:storage/create that represents the S3 bucket with bucket policy as - * described in the main billable usage documentation page. See [Configure billable usage - * delivery]. - * - *

[Configure billable usage delivery]: - * https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html + * described in the main billable usage documentation page. See Configure + * billable usage delivery. */ @JsonProperty("storage_configuration_id") private String storageConfigurationId; @@ -116,9 +119,9 @@ public class LogDeliveryConfiguration { * Optional filter that specifies workspace IDs to deliver logs for. By default the workspace * filter is empty and log delivery applies at the account level, delivering workspace-level logs * for all workspaces in your account, plus account level logs. You can optionally set this field - * to an array of workspace IDs (each one is an `int64`) to which log delivery should apply, in - * which case only workspace-level logs relating to the specified workspaces are delivered. If you - * plan to use different log delivery configurations for different workspaces, set this field + * to an array of workspace IDs (each one is an {@code int64}) to which log delivery should apply, + * in which case only workspace-level logs relating to the specified workspaces are delivered. If + * you plan to use different log delivery configurations for different workspaces, set this field * explicitly. Be aware that delivery configurations mentioning specific workspaces won't apply to * new workspaces created in the future, and delivery won't include account level logs. For some * types of Databricks deployments there is only one workspace per account ID, so this field is diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryService.java index 1470c7ad2..82a618a8e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryService.java @@ -5,8 +5,8 @@ /** * These APIs manage log delivery configurations for this account. The two supported log types for - * this API are _billable usage logs_ (AWS only) and _audit logs_ (AWS and GCP). This feature is in - * Public Preview. This feature works with all account ID types. + * this API are billable usage logs (AWS only) and audit logs (AWS and GCP). This + * feature is in Public Preview. This feature works with all account ID types. * *

Log delivery works with all account types. However, if your account is on the E2 version of * the platform or on a select custom plan that allows multiple workspaces per account, you can @@ -15,54 +15,68 @@ * *

The high-level flow of billable usage delivery (AWS only): * - *

1. **Create storage**: In AWS, [create a new AWS S3 bucket] with a specific bucket policy. - * Using Databricks APIs, call the Account API to create a [storage configuration - * object](:method:Storage/Create) that uses the bucket name. + *

    + *
  1. Create storage: In AWS, create + * a new AWS S3 bucket with a specific bucket policy. Using Databricks APIs, call the + * Account API to create a storage configuration object + * that uses the bucket name. + *
  2. Create credentials: In AWS, create the appropriate AWS IAM role. For full details, + * including the required IAM role policies and trust relationship, see Billable + * usage log delivery. Using Databricks APIs, call the Account API to create a credential configuration object that uses the IAM + * role's ARN. + *
  3. Create log delivery configuration: Using Databricks APIs, call the Account API to create a log delivery configuration that uses the + * credential and storage configuration objects from previous steps. You can specify if the + * logs should include all events of that log type in your account (Account level + * delivery) or only events for a specific set of workspaces (workspace level + * delivery). Account level log delivery applies to all current and future workspaces plus + * account level logs, while workspace level log delivery solely delivers logs related to the + * specified workspaces. You can create multiple types of delivery configurations per account. + *
* - *

2. **Create credentials**: In AWS, create the appropriate AWS IAM role. For full details, - * including the required IAM role policies and trust relationship, see [Billable usage log - * delivery]. Using Databricks APIs, call the Account API to create a [credential configuration - * object](:method:Credentials/Create) that uses the IAM role's ARN. + *

For billable usage delivery (AWS only): * - *

3. **Create log delivery configuration**: Using Databricks APIs, call the Account API to - * [create a log delivery configuration](:method:LogDelivery/Create) that uses the credential and - * storage configuration objects from previous steps. You can specify if the logs should include all - * events of that log type in your account (_Account level_ delivery) or only events for a specific - * set of workspaces (_workspace level_ delivery). Account level log delivery applies to all current - * and future workspaces plus account level logs, while workspace level log delivery solely delivers - * logs related to the specified workspaces. You can create multiple types of delivery - * configurations per account. + *

    + *
  • For more information about billable usage logs, see Billable + * usage log delivery. For the CSV schema, see the Usage + * page. + *
  • The delivery location is {@code //billable-usage/csv/}, where {@code + * } is the name of the optional delivery path prefix you set up during log delivery + * configuration. Files are named {@code workspaceId=-usageMonth=.csv}. + *
  • All billable usage logs apply to specific workspaces (workspace level logs). You can + * aggregate usage for your entire account by creating an account level delivery + * configuration that delivers logs for all current and future workspaces in your account. + *
  • The files are delivered daily by overwriting the month's CSV file for each workspace. + *
* - *

For billable usage delivery (AWS only): * For more information about billable usage logs, see - * [Billable usage log delivery]. For the CSV schema, see the [Usage page]. * The delivery location - * is `//billable-usage/csv/`, where `` is the name of the optional - * delivery path prefix you set up during log delivery configuration. Files are named - * `workspaceId=-usageMonth=.csv`. * All billable usage logs apply to specific - * workspaces (_workspace level_ logs). You can aggregate usage for your entire account by creating - * an _account level_ delivery configuration that delivers logs for all current and future - * workspaces in your account. * The files are delivered daily by overwriting the month's CSV file - * for each workspace. + *

For audit log delivery (AWS and GCP): * - *

For audit log delivery (AWS and GCP): * For more information about about audit log delivery, - * see Audit log delivery [AWS] or [GCP], which includes information about the used JSON schema. * - * The delivery location is - * `//workspaceId=/date=/auditlogs_.json`. - * Files may get overwritten with the same content multiple times to achieve exactly-once delivery. - * * If the audit log delivery configuration included specific workspace IDs, only _workspace-level_ - * audit logs for those workspaces are delivered. If the log delivery configuration applies to the - * entire account (_account level_ delivery configuration), the audit log delivery includes - * workspace-level audit logs for all workspaces in the account as well as account-level audit logs. - * See Audit log delivery [AWS] or [GCP] for details. * Auditable events are typically available in - * logs within 15 minutes. + *

    + *
  • For more information about about audit log delivery, see Audit log delivery AWS + * or GCP, + * which includes information about the used JSON schema. + *
  • The delivery location is {@code + * //workspaceId=/date=/auditlogs_.json}. + * Files may get overwritten with the same content multiple times to achieve exactly-once + * delivery. + *
  • If the audit log delivery configuration included specific workspace IDs, only + * workspace-level audit logs for those workspaces are delivered. If the log delivery + * configuration applies to the entire account (account level delivery configuration), + * the audit log delivery includes workspace-level audit logs for all workspaces in the + * account as well as account-level audit logs. See Audit log delivery AWS + * or GCP + * for details. + *
  • Auditable events are typically available in logs within 15 minutes. + *
* - *

[AWS]: https://docs.databricks.com/administration-guide/account-settings/audit-logs.html - * [Billable usage log delivery]: - * https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html - * [GCP]: https://docs.databricks.com/gcp/en/admin/account-settings/audit-logs [Usage page]: - * https://docs.databricks.com/administration-guide/account-settings/usage.html [create a new AWS S3 - * bucket]: https://docs.databricks.com/administration-guide/account-api/aws-storage.html - * - *

This is the high-level interface, that contains generated methods. + * This is the high-level interface, that contains generated methods. * *

Evolving: this interface is under development. Method signatures may change. */ @@ -70,14 +84,18 @@ public interface LogDeliveryService { /** * Creates a new Databricks log delivery configuration to enable delivery of the specified type of - * logs to your storage location. This requires that you already created a [credential - * object](:method:Credentials/Create) (which encapsulates a cross-account service IAM role) and a - * [storage configuration object](:method:Storage/Create) (which encapsulates an S3 bucket). + * logs to your storage location. This requires that you already created a credential object (which encapsulates a cross-account + * service IAM role) and a storage configuration object + * (which encapsulates an S3 bucket). * - *

For full details, including the required IAM role policies and bucket policies, see [Deliver - * and access billable usage logs] or [Configure audit logging]. + *

For full details, including the required IAM role policies and bucket policies, see Deliver + * and access billable usage logs or Configure + * audit logging. * - *

**Note**: There is a limit on the number of log delivery configurations available per + *

Note: There is a limit on the number of log delivery configurations available per * account (each limit applies separately to each log type including billable usage and audit * logs). You can create a maximum of two enabled account-level delivery configurations * (configurations without a workspace filter) per type. Additionally, you can create two enabled @@ -85,13 +103,8 @@ public interface LogDeliveryService { * same workspace ID can occur in the workspace filter for no more than two delivery * configurations per log type. * - *

You cannot delete a log delivery configuration, but you can disable it (see [Enable or - * disable log delivery configuration](:method:LogDelivery/PatchStatus)). - * - *

[Configure audit logging]: - * https://docs.databricks.com/administration-guide/account-settings/audit-logs.html [Deliver and - * access billable usage logs]: - * https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html + *

You cannot delete a log delivery configuration, but you can disable it (see Enable or disable log delivery configuration). */ WrappedLogDeliveryConfiguration create( WrappedCreateLogDeliveryConfiguration wrappedCreateLogDeliveryConfiguration); @@ -106,7 +119,7 @@ WrappedLogDeliveryConfiguration create( * Enables or disables a log delivery configuration. Deletion of delivery configurations is not * supported, so disable log delivery configurations that are no longer needed. Note that you * can't re-enable a delivery configuration if this would violate the delivery configuration - * limits described under [Create log delivery](:method:LogDelivery/Create). + * limits described under Create log delivery. */ void patchStatus( UpdateLogDeliveryConfigurationStatusRequest updateLogDeliveryConfigurationStatusRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryStatus.java index e5d5a7ede..cd5742fd8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogDeliveryStatus.java @@ -25,13 +25,18 @@ public class LogDeliveryStatus { private String message; /** - * Enum that describes the status. Possible values are: * `CREATED`: There were no log delivery - * attempts since the config was created. * `SUCCEEDED`: The latest attempt of log delivery has - * succeeded completely. * `USER_FAILURE`: The latest attempt of log delivery failed because of - * misconfiguration of customer provided permissions on role or storage. * `SYSTEM_FAILURE`: The - * latest attempt of log delivery failed because of an Databricks internal error. Contact support - * if it doesn't go away soon. * `NOT_FOUND`: The log delivery status as the configuration has - * been disabled since the release of this feature or there are no workspaces in the account. + * Enum that describes the status. Possible values are: + * + *

    + *
  • {@code CREATED}: There were no log delivery attempts since the config was created. + *
  • {@code SUCCEEDED}: The latest attempt of log delivery has succeeded completely. + *
  • {@code USER_FAILURE}: The latest attempt of log delivery failed because of + * misconfiguration of customer provided permissions on role or storage. + *
  • {@code SYSTEM_FAILURE}: The latest attempt of log delivery failed because of an + * Databricks internal error. Contact support if it doesn't go away soon. + *
  • {@code NOT_FOUND}: The log delivery status as the configuration has been disabled since + * the release of this feature or there are no workspaces in the account. + *
*/ @JsonProperty("status") private DeliveryStatus status; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogType.java index 2df06fe30..1c5610db0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/LogType.java @@ -4,7 +4,7 @@ import com.databricks.sdk.support.Generated; -/** * Log Delivery Type */ +/** Log Delivery Type */ @Generated public enum LogType { AUDIT_LOGS, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/OutputFormat.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/OutputFormat.java index 4298a6b0f..d465fdf8f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/OutputFormat.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/OutputFormat.java @@ -4,7 +4,7 @@ import com.databricks.sdk.support.Generated; -/** * Log Delivery Output Format */ +/** Log Delivery Output Format */ @Generated public enum OutputFormat { CSV, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UpdateBudgetPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UpdateBudgetPolicyRequest.java index baafb73c5..056e6595c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UpdateBudgetPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UpdateBudgetPolicyRequest.java @@ -17,9 +17,9 @@ public class UpdateBudgetPolicyRequest { private LimitConfig limitConfig; /** - * The policy to update. `creator_user_id` cannot be specified in the request. All other fields - * must be specified even if not changed. The `policy_id` is used to identify the policy to - * update. + * The policy to update. {@code creator_user_id} cannot be specified in the request. All other + * fields must be specified even if not changed. The {@code policy_id} is used to identify the + * policy to update. */ @JsonProperty("policy") private BudgetPolicy policy; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UpdateLogDeliveryConfigurationStatusRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UpdateLogDeliveryConfigurationStatusRequest.java index 3fc98a262..c192e9db7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UpdateLogDeliveryConfigurationStatusRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UpdateLogDeliveryConfigurationStatusRequest.java @@ -8,17 +8,18 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** * Update Log Delivery Configuration */ +/** Update Log Delivery Configuration */ @Generated public class UpdateLogDeliveryConfigurationStatusRequest { /** The log delivery configuration id of customer */ @JsonIgnore private String logDeliveryConfigurationId; /** - * Status of log delivery configuration. Set to `ENABLED` (enabled) or `DISABLED` (disabled). - * Defaults to `ENABLED`. You can [enable or disable the - * configuration](#operation/patch-log-delivery-config-status) later. Deletion of a configuration - * is not supported, so disable a log delivery configuration that is no longer needed. + * Status of log delivery configuration. Set to {@code ENABLED} (enabled) or {@code DISABLED} + * (disabled). Defaults to {@code ENABLED}. You can enable or disable the configuration + * later. Deletion of a configuration is not supported, so disable a log delivery configuration + * that is no longer needed. */ @JsonProperty("status") private LogDeliveryConfigStatus status; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/WrappedCreateLogDeliveryConfiguration.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/WrappedCreateLogDeliveryConfiguration.java index aa9eb7cb8..c03af9f3e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/WrappedCreateLogDeliveryConfiguration.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/WrappedCreateLogDeliveryConfiguration.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** * Properties of the new log delivery configuration. */ +/** Properties of the new log delivery configuration. */ @Generated public class WrappedCreateLogDeliveryConfiguration { /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/WrappedLogDeliveryConfigurations.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/WrappedLogDeliveryConfigurations.java index 6d553b893..db4c7d4be 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/WrappedLogDeliveryConfigurations.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/WrappedLogDeliveryConfigurations.java @@ -15,8 +15,8 @@ public class WrappedLogDeliveryConfigurations { private Collection logDeliveryConfigurations; /** - * Token which can be sent as `page_token` to retrieve the next page of results. If this field is - * omitted, there are no subsequent budgets. + * Token which can be sent as {@code page_token} to retrieve the next page of results. If this + * field is omitted, there are no subsequent budgets. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/BundleDeploymentsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/BundleDeploymentsAPI.java index 6a1d197a7..c3cd77385 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/BundleDeploymentsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/BundleDeploymentsAPI.java @@ -27,9 +27,14 @@ public BundleDeploymentsAPI(BundleDeploymentsService mock) { /** * Marks a version as complete and releases the deployment lock. * - *

The server atomically: 1. Sets the version status to the provided terminal status. 2. Sets - * `complete_time` to the current server timestamp. 3. Releases the lock on the parent deployment. - * 4. Updates the parent deployment's `status` and `last_version_id`. + *

The server atomically: + * + *

    + *
  1. Sets the version status to the provided terminal status. + *
  2. Sets {@code complete_time} to the current server timestamp. + *
  3. Releases the lock on the parent deployment. + *
  4. Updates the parent deployment's {@code status} and {@code last_version_id}. + *
*/ public Version completeVersion(CompleteVersionRequest request) { return impl.completeVersion(request); @@ -38,9 +43,9 @@ public Version completeVersion(CompleteVersionRequest request) { /** * Creates a new deployment in the workspace. * - *

The caller must provide a `deployment_id` which becomes the final component of the + *

The caller must provide a {@code deployment_id} which becomes the final component of the * deployment's resource name. If a deployment with the same ID already exists, the server returns - * `ALREADY_EXISTS`. + * {@code ALREADY_EXISTS}. */ public Deployment createDeployment(CreateDeploymentRequest request) { return impl.createDeployment(request); @@ -49,9 +54,9 @@ public Deployment createDeployment(CreateDeploymentRequest request) { /** * Creates a resource operation under a version. * - *

The caller must provide a `resource_key` which becomes the final component of the + *

The caller must provide a {@code resource_key} which becomes the final component of the * operation's name. If an operation with the same key already exists under the version, the - * server returns `ALREADY_EXISTS`. + * server returns {@code ALREADY_EXISTS}. * *

On success the server also updates the corresponding deployment-level Resource (creating it * if this is the first operation for that resource_key, or removing it if action_type is DELETE). @@ -64,8 +69,8 @@ public Operation createOperation(CreateOperationRequest request) { * Creates a new version under a deployment. * *

Creating a version acquires an exclusive lock on the deployment, preventing concurrent - * deploys. The caller provides a `version_id` which the server validates equals `last_version_id - * + 1` on the deployment. + * deploys. The caller provides a {@code version_id} which the server validates equals {@code + * last_version_id + 1} on the deployment. */ public Version createVersion(CreateVersionRequest request) { return impl.createVersion(request); @@ -80,7 +85,7 @@ public void deleteDeployment(String name) { * *

The deployment is marked as deleted. It and all its children (versions and their operations) * will be permanently deleted after the retention policy expires. If the deployment has an - * in-progress version, the server returns `RESOURCE_CONFLICT`. + * in-progress version, the server returns {@code RESOURCE_CONFLICT}. */ public void deleteDeployment(DeleteDeploymentRequest request) { impl.deleteDeployment(request); @@ -127,7 +132,7 @@ public Version getVersion(GetVersionRequest request) { * *

The server validates that the version is the active (non-terminal) version on the parent * deployment and resets the lock expiry. If the lock has already expired or the version is no - * longer active, the server returns `ABORTED`. + * longer active, the server returns {@code ABORTED}. */ public HeartbeatResponse heartbeat(HeartbeatRequest request) { return impl.heartbeat(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/BundleDeploymentsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/BundleDeploymentsService.java index 9ac15e87a..4677b3551 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/BundleDeploymentsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/BundleDeploymentsService.java @@ -15,27 +15,32 @@ public interface BundleDeploymentsService { /** * Marks a version as complete and releases the deployment lock. * - *

The server atomically: 1. Sets the version status to the provided terminal status. 2. Sets - * `complete_time` to the current server timestamp. 3. Releases the lock on the parent deployment. - * 4. Updates the parent deployment's `status` and `last_version_id`. + *

The server atomically: + * + *

    + *
  1. Sets the version status to the provided terminal status. + *
  2. Sets {@code complete_time} to the current server timestamp. + *
  3. Releases the lock on the parent deployment. + *
  4. Updates the parent deployment's {@code status} and {@code last_version_id}. + *
*/ Version completeVersion(CompleteVersionRequest completeVersionRequest); /** * Creates a new deployment in the workspace. * - *

The caller must provide a `deployment_id` which becomes the final component of the + *

The caller must provide a {@code deployment_id} which becomes the final component of the * deployment's resource name. If a deployment with the same ID already exists, the server returns - * `ALREADY_EXISTS`. + * {@code ALREADY_EXISTS}. */ Deployment createDeployment(CreateDeploymentRequest createDeploymentRequest); /** * Creates a resource operation under a version. * - *

The caller must provide a `resource_key` which becomes the final component of the + *

The caller must provide a {@code resource_key} which becomes the final component of the * operation's name. If an operation with the same key already exists under the version, the - * server returns `ALREADY_EXISTS`. + * server returns {@code ALREADY_EXISTS}. * *

On success the server also updates the corresponding deployment-level Resource (creating it * if this is the first operation for that resource_key, or removing it if action_type is DELETE). @@ -46,8 +51,8 @@ public interface BundleDeploymentsService { * Creates a new version under a deployment. * *

Creating a version acquires an exclusive lock on the deployment, preventing concurrent - * deploys. The caller provides a `version_id` which the server validates equals `last_version_id - * + 1` on the deployment. + * deploys. The caller provides a {@code version_id} which the server validates equals {@code + * last_version_id + 1} on the deployment. */ Version createVersion(CreateVersionRequest createVersionRequest); @@ -56,7 +61,7 @@ public interface BundleDeploymentsService { * *

The deployment is marked as deleted. It and all its children (versions and their operations) * will be permanently deleted after the retention policy expires. If the deployment has an - * in-progress version, the server returns `RESOURCE_CONFLICT`. + * in-progress version, the server returns {@code RESOURCE_CONFLICT}. */ void deleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest); @@ -77,7 +82,7 @@ public interface BundleDeploymentsService { * *

The server validates that the version is the active (non-terminal) version on the parent * deployment and resets the lock expiry. If the lock has already expired or the version is no - * longer active, the server returns `ABORTED`. + * longer active, the server returns {@code ABORTED}. */ HeartbeatResponse heartbeat(HeartbeatRequest heartbeatRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/CreateDeploymentRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/CreateDeploymentRequest.java index 5b912d11a..42c3bad59 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/CreateDeploymentRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/CreateDeploymentRequest.java @@ -17,7 +17,7 @@ public class CreateDeploymentRequest { /** * The ID to use for the deployment, which will become the final component of the deployment's - * resource name (i.e. `deployments/{deployment_id}`). + * resource name (i.e. {@code deployments/{deployment_id}}). */ @JsonIgnore @QueryParam("deployment_id") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/CreateVersionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/CreateVersionRequest.java index 64a4a00bc..763f579fe 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/CreateVersionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/CreateVersionRequest.java @@ -21,8 +21,9 @@ public class CreateVersionRequest { private Version version; /** - * The version ID the caller expects to create. The server validates this equals `last_version_id - * + 1` on the deployment. If it doesn't match, the server returns `ABORTED`. + * The version ID the caller expects to create. The server validates this equals {@code + * last_version_id + 1} on the deployment. If it doesn't match, the server returns {@code + * ABORTED}. */ @JsonIgnore @QueryParam("version_id") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/Deployment.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/Deployment.java index 1e4a112fe..9669f51be 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/Deployment.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/Deployment.java @@ -27,9 +27,9 @@ public class Deployment { private DeploymentMode deploymentMode; /** - * When the deployment was destroyed (i.e. `bundle destroy` completed). Unset if the deployment - * has not been destroyed. Named destroy_time (not delete_time) because this tracks the - * `databricks bundle destroy` command, not the API-level deletion. + * When the deployment was destroyed (i.e. {@code bundle destroy} completed). Unset if the + * deployment has not been destroyed. Named destroy_time (not delete_time) because this tracks the + * {@code databricks bundle destroy} command, not the API-level deletion. */ @JsonProperty("destroy_time") private Timestamp destroyTime; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/DeploymentMode.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/DeploymentMode.java index 0766b5d40..d2f6e897c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/DeploymentMode.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/DeploymentMode.java @@ -5,8 +5,8 @@ import com.databricks.sdk.support.Generated; /** - * Bundle target deployment mode. Mirrors the `mode` field on a bundle target in `databricks.yml` - * (see https://docs.databricks.com/dev-tools/bundles/deployment-modes). + * Bundle target deployment mode. Mirrors the {@code mode} field on a bundle target in {@code + * databricks.yml} (see https://docs.databricks.com/dev-tools/bundles/deployment-modes). */ @Generated public enum DeploymentMode { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListDeploymentsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListDeploymentsRequest.java index 0e81e71e3..399d3d452 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListDeploymentsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListDeploymentsRequest.java @@ -20,8 +20,8 @@ public class ListDeploymentsRequest { private Long pageSize; /** - * A page token, received from a previous `ListDeployments` call. Provide this to retrieve the - * subsequent page. + * A page token, received from a previous {@code ListDeployments} call. Provide this to retrieve + * the subsequent page. */ @JsonIgnore @QueryParam("page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListDeploymentsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListDeploymentsResponse.java index 96379eaa6..18dc65e29 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListDeploymentsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListDeploymentsResponse.java @@ -16,8 +16,8 @@ public class ListDeploymentsResponse { private Collection deployments; /** - * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, - * there are no subsequent pages. + * A token, which can be sent as {@code page_token} to retrieve the next page. If this field is + * omitted, there are no subsequent pages. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListOperationsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListOperationsRequest.java index 0a32570c9..949400f35 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListOperationsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListOperationsRequest.java @@ -20,8 +20,8 @@ public class ListOperationsRequest { private Long pageSize; /** - * A page token, received from a previous `ListOperations` call. Provide this to retrieve the - * subsequent page. + * A page token, received from a previous {@code ListOperations} call. Provide this to retrieve + * the subsequent page. */ @JsonIgnore @QueryParam("page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListOperationsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListOperationsResponse.java index bf23cc512..fea7552e4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListOperationsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListOperationsResponse.java @@ -12,8 +12,8 @@ @Generated public class ListOperationsResponse { /** - * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, - * there are no subsequent pages. + * A token, which can be sent as {@code page_token} to retrieve the next page. If this field is + * omitted, there are no subsequent pages. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListResourcesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListResourcesRequest.java index f149559bb..e5bb0139c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListResourcesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListResourcesRequest.java @@ -20,7 +20,7 @@ public class ListResourcesRequest { private Long pageSize; /** - * A page token, received from a previous `ListResources` call. Provide this to retrieve the + * A page token, received from a previous {@code ListResources} call. Provide this to retrieve the * subsequent page. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListResourcesResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListResourcesResponse.java index 77e0be8f9..455384a15 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListResourcesResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListResourcesResponse.java @@ -12,8 +12,8 @@ @Generated public class ListResourcesResponse { /** - * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, - * there are no subsequent pages. + * A token, which can be sent as {@code page_token} to retrieve the next page. If this field is + * omitted, there are no subsequent pages. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListVersionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListVersionsRequest.java index 6e823f49e..aebfaf63f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListVersionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListVersionsRequest.java @@ -20,7 +20,7 @@ public class ListVersionsRequest { private Long pageSize; /** - * A page token, received from a previous `ListVersions` call. Provide this to retrieve the + * A page token, received from a previous {@code ListVersions} call. Provide this to retrieve the * subsequent page. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListVersionsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListVersionsResponse.java index c7829df9a..3334cba37 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListVersionsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/ListVersionsResponse.java @@ -12,8 +12,8 @@ @Generated public class ListVersionsResponse { /** - * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, - * there are no subsequent pages. + * A token, which can be sent as {@code page_token} to retrieve the next page. If this field is + * omitted, there are no subsequent pages. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/Operation.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/Operation.java index 27b1e5854..53148602a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/Operation.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/Operation.java @@ -50,8 +50,8 @@ public class Operation { private String resourceKey; /** - * The type of the deployment resource this operation applies to. Derived from the `resource_key` - * prefix (e.g. "jobs" → JOB); the caller does not set this field. + * The type of the deployment resource this operation applies to. Derived from the {@code + * resource_key} prefix (e.g. "jobs" → JOB); the caller does not set this field. */ @JsonProperty("resource_type") private DeploymentResourceType resourceType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/Version.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/Version.java index 0a1f86f9e..1f5e3971d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/Version.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/Version.java @@ -23,8 +23,8 @@ public class Version { private Timestamp completeTime; /** - * The user who completed the version (email or principal name). May differ from `created_by` when - * another user force-completes the version. + * The user who completed the version (email or principal name). May differ from {@code + * created_by} when another user force-completes the version. */ @JsonProperty("completed_by") private String completedBy; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountStorageCredentialsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountStorageCredentialsAPI.java index 8bee609fa..024ac3f44 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountStorageCredentialsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountStorageCredentialsAPI.java @@ -25,12 +25,16 @@ public AccountStorageCredentialsAPI(AccountStorageCredentialsService mock) { } /** - * Creates a new storage credential. The request object is specific to the cloud: - **AwsIamRole** - * for AWS credentials - **AzureServicePrincipal** for Azure credentials - - * **GcpServiceAccountKey** for GCP credentials + * Creates a new storage credential. The request object is specific to the cloud: * - *

The caller must be a metastore admin and have the `CREATE_STORAGE_CREDENTIAL` privilege on - * the metastore. + *

    + *
  • AwsIamRole for AWS credentials + *
  • AzureServicePrincipal for Azure credentials + *
  • GcpServiceAccountKey for GCP credentials + *
+ * + *

The caller must be a metastore admin and have the {@code CREATE_STORAGE_CREDENTIAL} + * privilege on the metastore. */ public AccountsCreateStorageCredentialInfo create(AccountsCreateStorageCredential request) { return impl.create(request); @@ -83,7 +87,8 @@ public Iterable list(ListAccountStorageCredentialsRequest /** * Updates a storage credential on the metastore. The caller must be the owner of the storage - * credential. If the caller is a metastore admin, only the **owner** credential can be changed. + * credential. If the caller is a metastore admin, only the owner credential can be + * changed. */ public AccountsUpdateStorageCredentialResponse update(AccountsUpdateStorageCredential request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountStorageCredentialsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountStorageCredentialsService.java index 5c537dacb..9c24859ea 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountStorageCredentialsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AccountStorageCredentialsService.java @@ -13,12 +13,16 @@ @Generated public interface AccountStorageCredentialsService { /** - * Creates a new storage credential. The request object is specific to the cloud: - **AwsIamRole** - * for AWS credentials - **AzureServicePrincipal** for Azure credentials - - * **GcpServiceAccountKey** for GCP credentials + * Creates a new storage credential. The request object is specific to the cloud: * - *

The caller must be a metastore admin and have the `CREATE_STORAGE_CREDENTIAL` privilege on - * the metastore. + *

    + *
  • AwsIamRole for AWS credentials + *
  • AzureServicePrincipal for Azure credentials + *
  • GcpServiceAccountKey for GCP credentials + *
+ * + *

The caller must be a metastore admin and have the {@code CREATE_STORAGE_CREDENTIAL} + * privilege on the metastore. */ AccountsCreateStorageCredentialInfo create( AccountsCreateStorageCredential accountsCreateStorageCredential); @@ -43,7 +47,8 @@ ListAccountStorageCredentialsResponse list( /** * Updates a storage credential on the metastore. The caller must be the owner of the storage - * credential. If the caller is a metastore admin, only the **owner** credential can be changed. + * credential. If the caller is a metastore admin, only the owner credential can be + * changed. */ AccountsUpdateStorageCredentialResponse update( AccountsUpdateStorageCredential accountsUpdateStorageCredential); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ArtifactAllowlistsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ArtifactAllowlistsAPI.java index 91058a327..f55fd1139 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ArtifactAllowlistsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ArtifactAllowlistsAPI.java @@ -7,8 +7,9 @@ import com.databricks.sdk.support.Generated; /** - * In Databricks Runtime 13.3 and above, you can add libraries and init scripts to the `allowlist` - * in UC so that users can leverage these artifacts on compute configured with shared access mode. + * In Databricks Runtime 13.3 and above, you can add libraries and init scripts to the {@code + * allowlist} in UC so that users can leverage these artifacts on compute configured with shared + * access mode. */ @Generated public class ArtifactAllowlistsAPI { @@ -32,7 +33,7 @@ public ArtifactAllowlistInfo get(ArtifactType artifactType) { /** * Get the artifact allowlist of a certain artifact type. The caller must be a metastore admin or - * have the **MANAGE ALLOWLIST** privilege on the metastore. + * have the MANAGE ALLOWLIST privilege on the metastore. */ public ArtifactAllowlistInfo get(GetArtifactAllowlistRequest request) { return impl.get(request); @@ -40,8 +41,8 @@ public ArtifactAllowlistInfo get(GetArtifactAllowlistRequest request) { /** * Set the artifact allowlist of a certain artifact type. The whole artifact allowlist is replaced - * with the new allowlist. The caller must be a metastore admin or have the **MANAGE ALLOWLIST** - * privilege on the metastore. + * with the new allowlist. The caller must be a metastore admin or have the MANAGE + * ALLOWLIST privilege on the metastore. */ public ArtifactAllowlistInfo update(SetArtifactAllowlist request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ArtifactAllowlistsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ArtifactAllowlistsService.java index fc6d248df..849cf0a36 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ArtifactAllowlistsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ArtifactAllowlistsService.java @@ -4,8 +4,9 @@ import com.databricks.sdk.support.Generated; /** - * In Databricks Runtime 13.3 and above, you can add libraries and init scripts to the `allowlist` - * in UC so that users can leverage these artifacts on compute configured with shared access mode. + * In Databricks Runtime 13.3 and above, you can add libraries and init scripts to the {@code + * allowlist} in UC so that users can leverage these artifacts on compute configured with shared + * access mode. * *

This is the high-level interface, that contains generated methods. * @@ -15,14 +16,14 @@ public interface ArtifactAllowlistsService { /** * Get the artifact allowlist of a certain artifact type. The caller must be a metastore admin or - * have the **MANAGE ALLOWLIST** privilege on the metastore. + * have the MANAGE ALLOWLIST privilege on the metastore. */ ArtifactAllowlistInfo get(GetArtifactAllowlistRequest getArtifactAllowlistRequest); /** * Set the artifact allowlist of a certain artifact type. The whole artifact allowlist is replaced - * with the new allowlist. The caller must be a metastore admin or have the **MANAGE ALLOWLIST** - * privilege on the metastore. + * with the new allowlist. The caller must be a metastore admin or have the MANAGE + * ALLOWLIST privilege on the metastore. */ ArtifactAllowlistInfo update(SetArtifactAllowlist setArtifactAllowlist); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentity.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentity.java index 4cfcd3853..080124eb9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentity.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentity.java @@ -11,8 +11,8 @@ @Generated public class AzureManagedIdentity { /** - * The Azure resource ID of the Azure Databricks Access Connector. Use the format - * `/subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.Databricks/accessConnectors/{connector-name}`. + * The Azure resource ID of the Azure Databricks Access Connector. Use the format {@code + * /subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.Databricks/accessConnectors/{connector-name}}. */ @JsonProperty("access_connector_id") private String accessConnectorId; @@ -22,8 +22,8 @@ public class AzureManagedIdentity { private String credentialId; /** - * The Azure resource ID of the managed identity. Use the format, - * `/subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identity-name}` + * The Azure resource ID of the managed identity. Use the format, {@code + * /subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identity-name}} * This is only available for user-assgined identities. For system-assigned identities, the * access_connector_id is used to identify the identity. If this field is not provided, then we * assume the AzureManagedIdentity is using the system-assigned identity. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentityRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentityRequest.java index ea5519ae0..4e0bc184f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentityRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentityRequest.java @@ -11,15 +11,15 @@ @Generated public class AzureManagedIdentityRequest { /** - * The Azure resource ID of the Azure Databricks Access Connector. Use the format - * `/subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.Databricks/accessConnectors/{connector-name}`. + * The Azure resource ID of the Azure Databricks Access Connector. Use the format {@code + * /subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.Databricks/accessConnectors/{connector-name}}. */ @JsonProperty("access_connector_id") private String accessConnectorId; /** - * The Azure resource ID of the managed identity. Use the format, - * `/subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identity-name}` + * The Azure resource ID of the managed identity. Use the format, {@code + * /subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identity-name}} * This is only available for user-assgined identities. For system-assigned identities, the * access_connector_id is used to identify the identity. If this field is not provided, then we * assume the AzureManagedIdentity is using the system-assigned identity. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentityResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentityResponse.java index 21a8c5c51..aa9f671d2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentityResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureManagedIdentityResponse.java @@ -11,8 +11,8 @@ @Generated public class AzureManagedIdentityResponse { /** - * The Azure resource ID of the Azure Databricks Access Connector. Use the format - * `/subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.Databricks/accessConnectors/{connector-name}`. + * The Azure resource ID of the Azure Databricks Access Connector. Use the format {@code + * /subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.Databricks/accessConnectors/{connector-name}}. */ @JsonProperty("access_connector_id") private String accessConnectorId; @@ -22,8 +22,8 @@ public class AzureManagedIdentityResponse { private String credentialId; /** - * The Azure resource ID of the managed identity. Use the format, - * `/subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identity-name}` + * The Azure resource ID of the managed identity. Use the format, {@code + * /subscriptions/{guid}/resourceGroups/{rg-name}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identity-name}} * This is only available for user-assgined identities. For system-assigned identities, the * access_connector_id is used to identify the identity. If this field is not provided, then we * assume the AzureManagedIdentity is using the system-assigned identity. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureServicePrincipal.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureServicePrincipal.java index e9d410aad..ac560a7fe 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureServicePrincipal.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureServicePrincipal.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** The Azure service principal configuration. Only applicable when purpose is **STORAGE**. */ +/** The Azure service principal configuration. Only applicable when purpose is STORAGE. */ @Generated public class AzureServicePrincipal { /** The application ID of the application registration within the referenced AAD tenant. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CancelRefreshRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CancelRefreshRequest.java index 7b5262eb8..cf462e983 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CancelRefreshRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CancelRefreshRequest.java @@ -13,8 +13,8 @@ public class CancelRefreshRequest { @JsonIgnore private Long refreshId; /** - * UC table name in format `catalog.schema.table_name`. table_name is case insensitive and spaces - * are disallowed. + * UC table name in format {@code catalog.schema.table_name}. table_name is case insensitive and + * spaces are disallowed. */ @JsonIgnore private String tableName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogsAPI.java index ad279aa1d..b0a2f7922 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogsAPI.java @@ -34,7 +34,7 @@ public CatalogsAPI(CatalogsService mock) { /** * Creates a new catalog instance in the parent metastore if the caller is a metastore admin or - * has the **CREATE_CATALOG** privilege. + * has the CREATE_CATALOG privilege. */ public CatalogInfo create(CreateCatalog request) { return impl.create(request); @@ -58,7 +58,7 @@ public CatalogInfo get(String name) { /** * Gets the specified catalog in a metastore. The caller must be a metastore admin, the owner of - * the catalog, or a user that has the **USE_CATALOG** privilege set for their account. + * the catalog, or a user that has the USE_CATALOG privilege set for their account. */ public CatalogInfo get(GetCatalogRequest request) { return impl.get(request); @@ -67,13 +67,13 @@ public CatalogInfo get(GetCatalogRequest request) { /** * Gets an array of catalogs in the metastore. If the caller is the metastore admin, all catalogs * will be retrieved. Otherwise, only catalogs owned by the caller (or for which the caller has - * the **USE_CATALOG** privilege) will be retrieved. There is no guarantee of a specific ordering - * of the elements in the array. + * the USE_CATALOG privilege) will be retrieved. There is no guarantee of a specific + * ordering of the elements in the array. * *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogsService.java index 2e28df9d7..e0591b375 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CatalogsService.java @@ -20,7 +20,7 @@ public interface CatalogsService { /** * Creates a new catalog instance in the parent metastore if the caller is a metastore admin or - * has the **CREATE_CATALOG** privilege. + * has the CREATE_CATALOG privilege. */ CatalogInfo create(CreateCatalog createCatalog); @@ -32,20 +32,20 @@ public interface CatalogsService { /** * Gets the specified catalog in a metastore. The caller must be a metastore admin, the owner of - * the catalog, or a user that has the **USE_CATALOG** privilege set for their account. + * the catalog, or a user that has the USE_CATALOG privilege set for their account. */ CatalogInfo get(GetCatalogRequest getCatalogRequest); /** * Gets an array of catalogs in the metastore. If the caller is the metastore admin, all catalogs * will be retrieved. Otherwise, only catalogs owned by the caller (or for which the caller has - * the **USE_CATALOG** privilege) will be retrieved. There is no guarantee of a specific ordering - * of the elements in the array. + * the USE_CATALOG privilege) will be retrieved. There is no guarantee of a specific + * ordering of the elements in the array. * *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionDependency.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionDependency.java index 39a045978..6fdf141a5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionDependency.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionDependency.java @@ -10,7 +10,7 @@ /** A connection that is dependent on a SQL object. */ @Generated public class ConnectionDependency { - /** Full name of the dependent connection, in the form of __connection_name__. */ + /** Full name of the dependent connection, in the form of connection_name. */ @JsonProperty("connection_name") private String connectionName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionsAPI.java index 95d7b10c7..9d89ec0cc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionsAPI.java @@ -68,7 +68,7 @@ public ConnectionInfo get(GetConnectionRequest request) { *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionsService.java index f86a73b2f..7f767746a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionsService.java @@ -40,7 +40,7 @@ public interface ConnectionsService { *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateAccessRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateAccessRequest.java index ad2e25601..5412e4a06 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateAccessRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateAccessRequest.java @@ -11,8 +11,8 @@ @Generated public class CreateAccessRequest { /** - * Optional. The principal this request is for. Empty `behalf_of` defaults to the requester's - * identity. + * Optional. The principal this request is for. Empty {@code behalf_of} defaults to the + * requester's identity. * *

Principals must be unique across the API call. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateAccountsMetastore.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateAccountsMetastore.java index 02658871b..3ce015689 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateAccountsMetastore.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateAccountsMetastore.java @@ -17,7 +17,7 @@ public class CreateAccountsMetastore { @JsonProperty("name") private String name; - /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */ + /** Cloud region which the metastore serves (e.g., {@code us-west-2}, {@code westus}). */ @JsonProperty("region") private String region; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateAccountsStorageCredential.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateAccountsStorageCredential.java index 8e636a900..37d87b28c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateAccountsStorageCredential.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateAccountsStorageCredential.java @@ -42,7 +42,7 @@ public class CreateAccountsStorageCredential { /** * Whether the credential is usable only for read operations. Only applicable when purpose is - * **STORAGE**. + * STORAGE. */ @JsonProperty("read_only") private Boolean readOnly; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateCredentialRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateCredentialRequest.java index 10ea0adeb..d30c54003 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateCredentialRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateCredentialRequest.java @@ -42,7 +42,7 @@ public class CreateCredentialRequest { /** * Whether the credential is usable only for read operations. Only applicable when purpose is - * **STORAGE**. + * STORAGE. */ @JsonProperty("read_only") private Boolean readOnly; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateExternalLocation.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateExternalLocation.java index f37810b3b..5b8423d91 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateExternalLocation.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateExternalLocation.java @@ -17,23 +17,23 @@ public class CreateExternalLocation { @JsonProperty("credential_name") private String credentialName; - /** The effective value of `enable_file_events` after applying server-side defaults. */ + /** The effective value of {@code enable_file_events} after applying server-side defaults. */ @JsonProperty("effective_enable_file_events") private Boolean effectiveEnableFileEvents; /** * The effective file event queue configuration after applying server-side defaults. Always - * populated when a queue is provisioned, regardless of whether the user explicitly set - * `enable_file_events`. Use this field instead of `file_event_queue` for reading the actual queue - * state. + * populated when a queue is provisioned, regardless of whether the user explicitly set {@code + * enable_file_events}. Use this field instead of {@code file_event_queue} for reading the actual + * queue state. */ @JsonProperty("effective_file_event_queue") private FileEventQueue effectiveFileEventQueue; /** - * Whether to enable file events on this external location. Default to `true`. Set to `false` to - * disable file events. The actual applied value may differ due to server-side defaults; check - * `effective_enable_file_events` for the effective state. + * Whether to enable file events on this external location. Default to {@code true}. Set to {@code + * false} to disable file events. The actual applied value may differ due to server-side defaults; + * check {@code effective_enable_file_events} for the effective state. */ @JsonProperty("enable_file_events") private Boolean enableFileEvents; @@ -51,8 +51,8 @@ public class CreateExternalLocation { private Boolean fallback; /** - * File event queue settings. If `enable_file_events` is not `false`, must be defined and have - * exactly one of the documented properties. + * File event queue settings. If {@code enable_file_events} is not {@code false}, must be defined + * and have exactly one of the documented properties. */ @JsonProperty("file_event_queue") private FileEventQueue fileEventQueue; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateFunction.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateFunction.java index 56a9b59e3..342a70768 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateFunction.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateFunction.java @@ -49,7 +49,7 @@ public class CreateFunction { @JsonProperty("name") private String name; - /** Function parameter style. **S** is the value for SQL. */ + /** Function parameter style. S is the value for SQL. */ @JsonProperty("parameter_style") private CreateFunctionParameterStyle parameterStyle; @@ -62,10 +62,10 @@ public class CreateFunction { private FunctionParameterInfos returnParams; /** - * Function language. When **EXTERNAL** is used, the language of the routine function should be - * specified in the **external_language** field, and the **return_params** of the function cannot - * be used (as **TABLE** return type is not supported), and the **sql_data_access** field must be - * **NO_SQL**. + * Function language. When EXTERNAL is used, the language of the routine function should be + * specified in the external_language field, and the return_params of the function + * cannot be used (as TABLE return type is not supported), and the sql_data_access + * field must be NO_SQL. */ @JsonProperty("routine_body") private CreateFunctionRoutineBody routineBody; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateFunctionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateFunctionRequest.java index 16a8227e7..a54c3e25c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateFunctionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateFunctionRequest.java @@ -9,7 +9,7 @@ @Generated public class CreateFunctionRequest { - /** Partial __FunctionInfo__ specifying the function to be created. */ + /** Partial FunctionInfo specifying the function to be created. */ @JsonProperty("function_info") private CreateFunction functionInfo; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateMetastore.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateMetastore.java index 091a5fc23..a2ce4c407 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateMetastore.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateMetastore.java @@ -17,7 +17,7 @@ public class CreateMetastore { @JsonProperty("name") private String name; - /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */ + /** Cloud region which the metastore serves (e.g., {@code us-west-2}, {@code westus}). */ @JsonProperty("region") private String region; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateMonitor.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateMonitor.java index 64cafe5da..bfda298b9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateMonitor.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateMonitor.java @@ -21,8 +21,8 @@ public class CreateMonitor { /** * [Create:OPT Update:OPT] Baseline table name. Baseline data is used to compute drift from the - * data in the monitored `table_name`. The baseline table and the monitored table shall have the - * same schema. + * data in the monitored {@code table_name}. The baseline table and the monitored table shall have + * the same schema. */ @JsonProperty("baseline_table_name") private String baselineTableName; @@ -65,10 +65,10 @@ public class CreateMonitor { /** * [Create:OPT Update:OPT] List of column expressions to slice data with for targeted analysis. * The data is grouped by each expression independently, resulting in a separate slice for each - * predicate and its complements. For example `slicing_exprs=[“col_1”, “col_2 > 10”]` will - * generate the following slices: two slices for `col_2 > 10` (True and False), and one slice per - * unique value in `col1`. For high-cardinality columns, only the top 100 unique values by - * frequency will generate slices. + * predicate and its complements. For example {@code slicing_exprs=[“col_1”, “col_2 > 10”]} will + * generate the following slices: two slices for {@code col_2 > 10} (True and False), and one + * slice per unique value in {@code col1}. For high-cardinality columns, only the top 100 unique + * values by frequency will generate slices. */ @JsonProperty("slicing_exprs") private Collection slicingExprs; @@ -78,7 +78,7 @@ public class CreateMonitor { private MonitorSnapshot snapshot; /** - * UC table name in format `catalog.schema.table_name`. This field corresponds to the + * UC table name in format {@code catalog.schema.table_name}. This field corresponds to the * {full_table_name_arg} arg in the endpoint path. */ @JsonIgnore private String tableName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateSecretRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateSecretRequest.java index f62a5fb62..0f3a36c3d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateSecretRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateSecretRequest.java @@ -10,8 +10,8 @@ @Generated public class CreateSecretRequest { /** - * The secret object to create. The **name**, **catalog_name**, **schema_name**, and **value** - * fields are required. + * The secret object to create. The name, catalog_name, schema_name, and + * value fields are required. */ @JsonProperty("secret") private Secret secret; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateStorageCredential.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateStorageCredential.java index ffadcbe11..d54d26d5d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateStorageCredential.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateStorageCredential.java @@ -42,7 +42,7 @@ public class CreateStorageCredential { /** * Whether the credential is usable only for read operations. Only applicable when purpose is - * **STORAGE**. + * STORAGE. */ @JsonProperty("read_only") private Boolean readOnly; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateTableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateTableRequest.java index efd4bdcf9..d2286a83d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateTableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateTableRequest.java @@ -15,7 +15,7 @@ public class CreateTableRequest { @JsonProperty("catalog_name") private String catalogName; - /** The array of __ColumnInfo__ definitions of the table's columns. */ + /** The array of ColumnInfo definitions of the table's columns. */ @JsonProperty("columns") private Collection columns; @@ -35,7 +35,7 @@ public class CreateTableRequest { @JsonProperty("schema_name") private String schemaName; - /** Storage root URL for table (for **MANAGED**, **EXTERNAL** tables). */ + /** Storage root URL for table (for MANAGED, EXTERNAL tables). */ @JsonProperty("storage_location") private String storageLocation; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateVolumeRequestContent.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateVolumeRequestContent.java index bbe39faf4..270c21782 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateVolumeRequestContent.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateVolumeRequestContent.java @@ -32,9 +32,8 @@ public class CreateVolumeRequestContent { /** * The type of the volume. An external volume is located in the specified external location. A * managed volume is located in the default location which is specified by the parent schema, or - * the parent catalog, or the Metastore. [Learn more] - * - *

[Learn more]: https://docs.databricks.com/aws/en/volumes/managed-vs-external + * the parent catalog, or the Metastore. Learn more */ @JsonProperty("volume_type") private VolumeType volumeType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialDependency.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialDependency.java index dffd56f22..9e6f3e794 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialDependency.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialDependency.java @@ -10,7 +10,7 @@ /** A credential that is dependent on a SQL object. */ @Generated public class CredentialDependency { - /** Full name of the dependent credential, in the form of __credential_name__. */ + /** Full name of the dependent credential, in the form of credential_name. */ @JsonProperty("credential_name") private String credentialName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialInfo.java index 002c7de8e..e3a2c1553 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialInfo.java @@ -73,7 +73,7 @@ public class CredentialInfo { /** * Whether the credential is usable only for read operations. Only applicable when purpose is - * **STORAGE**. + * STORAGE. */ @JsonProperty("read_only") private Boolean readOnly; @@ -88,7 +88,7 @@ public class CredentialInfo { /** * Whether this credential is the current metastore's root storage credential. Only applicable - * when purpose is **STORAGE**. + * when purpose is STORAGE. */ @JsonProperty("used_for_managed_storage") private Boolean usedForManagedStorage; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialValidationResult.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialValidationResult.java index a823a5348..5382b818b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialValidationResult.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialValidationResult.java @@ -9,7 +9,7 @@ @Generated public class CredentialValidationResult { - /** Error message would exist when the result does not equal to **PASS**. */ + /** Error message would exist when the result does not equal to PASS. */ @JsonProperty("message") private String message; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialsAPI.java index 149b025f6..5e1933b3f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialsAPI.java @@ -12,9 +12,9 @@ * your cloud tenant. Each credential is subject to Unity Catalog access-control policies that * control which users and groups can access the credential. * - *

To create credentials, you must be a Databricks account admin or have the `CREATE SERVICE - * CREDENTIAL` privilege. The user who creates the credential can delegate ownership to another user - * or group to manage permissions on it. + *

To create credentials, you must be a Databricks account admin or have the {@code CREATE + * SERVICE CREDENTIAL} privilege. The user who creates the credential can delegate ownership to + * another user or group to manage permissions on it. */ @Generated public class CredentialsAPI { @@ -33,12 +33,12 @@ public CredentialsAPI(CredentialsService mock) { } /** - * Creates a new credential. The type of credential to be created is determined by the **purpose** - * field, which should be either **SERVICE** or **STORAGE**. + * Creates a new credential. The type of credential to be created is determined by the + * purpose field, which should be either SERVICE or STORAGE. * *

The caller must be a metastore admin or have the metastore privilege - * **CREATE_STORAGE_CREDENTIAL** for storage credentials, or **CREATE_SERVICE_CREDENTIAL** for - * service credentials. + * CREATE_STORAGE_CREDENTIAL for storage credentials, or CREATE_SERVICE_CREDENTIAL + * for service credentials. */ public CredentialInfo createCredential(CreateCredentialRequest request) { return impl.createCredential(request); @@ -58,7 +58,7 @@ public void deleteCredential(DeleteCredentialRequest request) { /** * Returns a set of temporary credentials generated using the specified service credential. The - * caller must be a metastore admin or have the metastore privilege **ACCESS** on the service + * caller must be a metastore admin or have the metastore privilege ACCESS on the service * credential. */ public TemporaryCredentials generateTemporaryServiceCredential( @@ -79,7 +79,7 @@ public CredentialInfo getCredential(GetCredentialRequest request) { } /** - * Gets an array of credentials (as __CredentialInfo__ objects). + * Gets an array of credentials (as CredentialInfo objects). * *

The array is limited to only the credentials that the caller has permission to access. If * the caller is a metastore admin, retrieval of credentials is unrestricted. There is no @@ -106,8 +106,9 @@ public Iterable listCredentials(ListCredentialsRequest request) /** * Updates a service or storage credential on the metastore. * - *

The caller must be the owner of the credential or a metastore admin or have the `MANAGE` - * permission. If the caller is a metastore admin, only the __owner__ field can be changed. + *

The caller must be the owner of the credential or a metastore admin or have the {@code + * MANAGE} permission. If the caller is a metastore admin, only the owner field can be + * changed. */ public CredentialInfo updateCredential(UpdateCredentialRequest request) { return impl.updateCredential(request); @@ -116,18 +117,18 @@ public CredentialInfo updateCredential(UpdateCredentialRequest request) { /** * Validates a credential. * - *

For service credentials (purpose is **SERVICE**), either the __credential_name__ or the - * cloud-specific credential must be provided. + *

For service credentials (purpose is SERVICE), either the credential_name or + * the cloud-specific credential must be provided. * - *

For storage credentials (purpose is **STORAGE**), at least one of __external_location_name__ - * and __url__ need to be provided. If only one of them is provided, it will be used for - * validation. And if both are provided, the __url__ will be used for validation, and - * __external_location_name__ will be ignored when checking overlapping urls. Either the - * __credential_name__ or the cloud-specific credential must be provided. + *

For storage credentials (purpose is STORAGE), at least one of + * external_location_name and url need to be provided. If only one of them is + * provided, it will be used for validation. And if both are provided, the url will be used + * for validation, and external_location_name will be ignored when checking overlapping + * urls. Either the credential_name or the cloud-specific credential must be provided. * *

The caller must be a metastore admin or the credential owner or have the required permission - * on the metastore and the credential (e.g., **CREATE_EXTERNAL_LOCATION** when purpose is - * **STORAGE**). + * on the metastore and the credential (e.g., CREATE_EXTERNAL_LOCATION when purpose is + * STORAGE). */ public ValidateCredentialResponse validateCredential(ValidateCredentialRequest request) { return impl.validateCredential(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialsService.java index c10706d32..56ef4394f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CredentialsService.java @@ -8,9 +8,9 @@ * your cloud tenant. Each credential is subject to Unity Catalog access-control policies that * control which users and groups can access the credential. * - *

To create credentials, you must be a Databricks account admin or have the `CREATE SERVICE - * CREDENTIAL` privilege. The user who creates the credential can delegate ownership to another user - * or group to manage permissions on it. + *

To create credentials, you must be a Databricks account admin or have the {@code CREATE + * SERVICE CREDENTIAL} privilege. The user who creates the credential can delegate ownership to + * another user or group to manage permissions on it. * *

This is the high-level interface, that contains generated methods. * @@ -19,12 +19,12 @@ @Generated public interface CredentialsService { /** - * Creates a new credential. The type of credential to be created is determined by the **purpose** - * field, which should be either **SERVICE** or **STORAGE**. + * Creates a new credential. The type of credential to be created is determined by the + * purpose field, which should be either SERVICE or STORAGE. * *

The caller must be a metastore admin or have the metastore privilege - * **CREATE_STORAGE_CREDENTIAL** for storage credentials, or **CREATE_SERVICE_CREDENTIAL** for - * service credentials. + * CREATE_STORAGE_CREDENTIAL for storage credentials, or CREATE_SERVICE_CREDENTIAL + * for service credentials. */ CredentialInfo createCredential(CreateCredentialRequest createCredentialRequest); @@ -36,7 +36,7 @@ public interface CredentialsService { /** * Returns a set of temporary credentials generated using the specified service credential. The - * caller must be a metastore admin or have the metastore privilege **ACCESS** on the service + * caller must be a metastore admin or have the metastore privilege ACCESS on the service * credential. */ TemporaryCredentials generateTemporaryServiceCredential( @@ -49,7 +49,7 @@ TemporaryCredentials generateTemporaryServiceCredential( CredentialInfo getCredential(GetCredentialRequest getCredentialRequest); /** - * Gets an array of credentials (as __CredentialInfo__ objects). + * Gets an array of credentials (as CredentialInfo objects). * *

The array is limited to only the credentials that the caller has permission to access. If * the caller is a metastore admin, retrieval of credentials is unrestricted. There is no @@ -64,26 +64,27 @@ TemporaryCredentials generateTemporaryServiceCredential( /** * Updates a service or storage credential on the metastore. * - *

The caller must be the owner of the credential or a metastore admin or have the `MANAGE` - * permission. If the caller is a metastore admin, only the __owner__ field can be changed. + *

The caller must be the owner of the credential or a metastore admin or have the {@code + * MANAGE} permission. If the caller is a metastore admin, only the owner field can be + * changed. */ CredentialInfo updateCredential(UpdateCredentialRequest updateCredentialRequest); /** * Validates a credential. * - *

For service credentials (purpose is **SERVICE**), either the __credential_name__ or the - * cloud-specific credential must be provided. + *

For service credentials (purpose is SERVICE), either the credential_name or + * the cloud-specific credential must be provided. * - *

For storage credentials (purpose is **STORAGE**), at least one of __external_location_name__ - * and __url__ need to be provided. If only one of them is provided, it will be used for - * validation. And if both are provided, the __url__ will be used for validation, and - * __external_location_name__ will be ignored when checking overlapping urls. Either the - * __credential_name__ or the cloud-specific credential must be provided. + *

For storage credentials (purpose is STORAGE), at least one of + * external_location_name and url need to be provided. If only one of them is + * provided, it will be used for validation. And if both are provided, the url will be used + * for validation, and external_location_name will be ignored when checking overlapping + * urls. Either the credential_name or the cloud-specific credential must be provided. * *

The caller must be a metastore admin or the credential owner or have the required permission - * on the metastore and the credential (e.g., **CREATE_EXTERNAL_LOCATION** when purpose is - * **STORAGE**). + * on the metastore and the credential (e.g., CREATE_EXTERNAL_LOCATION when purpose is + * STORAGE). */ ValidateCredentialResponse validateCredential( ValidateCredentialRequest validateCredentialRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteCredentialRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteCredentialRequest.java index 67d0cc835..14b9bac83 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteCredentialRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteCredentialRequest.java @@ -11,8 +11,8 @@ @Generated public class DeleteCredentialRequest { /** - * Force an update even if there are dependent services (when purpose is **SERVICE**) or dependent - * external locations and external tables (when purpose is **STORAGE**). + * Force an update even if there are dependent services (when purpose is SERVICE) or + * dependent external locations and external tables (when purpose is STORAGE). */ @JsonIgnore @QueryParam("force") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteFunctionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteFunctionRequest.java index 35a82e3ec..906c40350 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteFunctionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteFunctionRequest.java @@ -17,7 +17,7 @@ public class DeleteFunctionRequest { /** * The fully-qualified name of the function (of the form - * __catalog_name__.__schema_name__.__function__name__) . + * catalog_name.schema_name.function__name) . */ @JsonIgnore private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteQualityMonitorRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteQualityMonitorRequest.java index 03ce0a737..524e807fe 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteQualityMonitorRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteQualityMonitorRequest.java @@ -10,7 +10,7 @@ @Generated public class DeleteQualityMonitorRequest { /** - * UC table name in format `catalog.schema.table_name`. This field corresponds to the + * UC table name in format {@code catalog.schema.table_name}. This field corresponds to the * {full_table_name_arg} arg in the endpoint path. */ @JsonIgnore private String tableName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteSecretRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteSecretRequest.java index 6ad224c23..e945bfe77 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteSecretRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteSecretRequest.java @@ -11,7 +11,7 @@ public class DeleteSecretRequest { /** * The three-level (fully qualified) name of the secret (for example, - * **catalog_name.schema_name.secret_name**). + * catalog_name.schema_name.secret_name). */ @JsonIgnore private String fullName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteStorageCredentialRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteStorageCredentialRequest.java index 8c23769e9..bf51a110a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteStorageCredentialRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteStorageCredentialRequest.java @@ -12,7 +12,7 @@ public class DeleteStorageCredentialRequest { /** * Force an update even if there are dependent external locations or external tables (when purpose - * is **STORAGE**) or dependent services (when purpose is **SERVICE**). + * is STORAGE) or dependent services (when purpose is SERVICE). */ @JsonIgnore @QueryParam("force") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeltaRuntimePropertiesKvPairs.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeltaRuntimePropertiesKvPairs.java index 8416788a2..27349f6e9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeltaRuntimePropertiesKvPairs.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeltaRuntimePropertiesKvPairs.java @@ -10,7 +10,7 @@ /** * Properties pertaining to the current state of the delta table as given by the commit server. This - * does not contain **delta.*** (input) properties in __TableInfo.properties__. + * does not contain delta.* (input) properties in TableInfo.properties. */ @Generated public class DeltaRuntimePropertiesKvPairs { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/Dependency.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/Dependency.java index 00f9f76e5..0901ff136 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/Dependency.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/Dependency.java @@ -8,8 +8,8 @@ import java.util.Objects; /** - * A dependency of a SQL object. One of the following fields must be defined: __table__, - * __function__, __connection__, __credential__, __volume__, or __secret__. + * A dependency of a SQL object. One of the following fields must be defined: table, + * function, connection, credential, volume, or secret. */ @Generated public class Dependency { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EffectivePermissionsList.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EffectivePermissionsList.java index 175d38ada..a5e39c364 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EffectivePermissionsList.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EffectivePermissionsList.java @@ -12,7 +12,8 @@ public class EffectivePermissionsList { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EntityTagAssignmentsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EntityTagAssignmentsAPI.java index e1e425506..19dc21daa 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EntityTagAssignmentsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EntityTagAssignmentsAPI.java @@ -33,14 +33,18 @@ public EntityTagAssignmentsAPI(EntityTagAssignmentsService mock) { * Creates a tag assignment for an Unity Catalog entity. * *

To add tags to Unity Catalog entities, you must own the entity or have the following - * privileges: - **APPLY TAG** on the entity - **USE SCHEMA** on the entity's parent schema - - * **USE CATALOG** on the entity's parent catalog + * privileges: * - *

To add a governed tag to Unity Catalog entities, you must also have the **ASSIGN** or - * **MANAGE** permission on the tag policy. See [Manage tag policy permissions]. + *

    + *
  • APPLY TAG on the entity + *
  • USE SCHEMA on the entity's parent schema + *
  • USE CATALOG on the entity's parent catalog + *
* - *

[Manage tag policy permissions]: - * https://docs.databricks.com/aws/en/admin/tag-policies/manage-permissions + *

To add a governed tag to Unity Catalog entities, you must also have the ASSIGN or + * MANAGE permission on the tag policy. See Manage tag + * policy permissions. */ public EntityTagAssignment create(CreateEntityTagAssignmentRequest request) { return impl.create(request); @@ -58,14 +62,18 @@ public void delete(String entityType, String entityName, String tagKey) { * Deletes a tag assignment for an Unity Catalog entity by its key. * *

To delete tags from Unity Catalog entities, you must own the entity or have the following - * privileges: - **APPLY TAG** on the entity - **USE_SCHEMA** on the entity's parent schema - - * **USE_CATALOG** on the entity's parent catalog + * privileges: * - *

To delete a governed tag from Unity Catalog entities, you must also have the **ASSIGN** or - * **MANAGE** permission on the tag policy. See [Manage tag policy permissions]. + *

    + *
  • APPLY TAG on the entity + *
  • USE_SCHEMA on the entity's parent schema + *
  • USE_CATALOG on the entity's parent catalog + *
* - *

[Manage tag policy permissions]: - * https://docs.databricks.com/aws/en/admin/tag-policies/manage-permissions + *

To delete a governed tag from Unity Catalog entities, you must also have the ASSIGN + * or MANAGE permission on the tag policy. See Manage tag + * policy permissions. */ public void delete(DeleteEntityTagAssignmentRequest request) { impl.delete(request); @@ -114,14 +122,18 @@ public Iterable list(ListEntityTagAssignmentsRequest reques * Updates an existing tag assignment for an Unity Catalog entity. * *

To update tags to Unity Catalog entities, you must own the entity or have the following - * privileges: - **APPLY TAG** on the entity - **USE SCHEMA** on the entity's parent schema - - * **USE CATALOG** on the entity's parent catalog + * privileges: * - *

To update a governed tag to Unity Catalog entities, you must also have the **ASSIGN** or - * **MANAGE** permission on the tag policy. See [Manage tag policy permissions]. + *

    + *
  • APPLY TAG on the entity + *
  • USE SCHEMA on the entity's parent schema + *
  • USE CATALOG on the entity's parent catalog + *
* - *

[Manage tag policy permissions]: - * https://docs.databricks.com/aws/en/admin/tag-policies/manage-permissions + *

To update a governed tag to Unity Catalog entities, you must also have the ASSIGN or + * MANAGE permission on the tag policy. See Manage tag + * policy permissions. */ public EntityTagAssignment update(UpdateEntityTagAssignmentRequest request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EntityTagAssignmentsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EntityTagAssignmentsService.java index 66b13ea63..29fe676fa 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EntityTagAssignmentsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EntityTagAssignmentsService.java @@ -19,14 +19,18 @@ public interface EntityTagAssignmentsService { * Creates a tag assignment for an Unity Catalog entity. * *

To add tags to Unity Catalog entities, you must own the entity or have the following - * privileges: - **APPLY TAG** on the entity - **USE SCHEMA** on the entity's parent schema - - * **USE CATALOG** on the entity's parent catalog + * privileges: * - *

To add a governed tag to Unity Catalog entities, you must also have the **ASSIGN** or - * **MANAGE** permission on the tag policy. See [Manage tag policy permissions]. + *

    + *
  • APPLY TAG on the entity + *
  • USE SCHEMA on the entity's parent schema + *
  • USE CATALOG on the entity's parent catalog + *
* - *

[Manage tag policy permissions]: - * https://docs.databricks.com/aws/en/admin/tag-policies/manage-permissions + *

To add a governed tag to Unity Catalog entities, you must also have the ASSIGN or + * MANAGE permission on the tag policy. See Manage tag + * policy permissions. */ EntityTagAssignment create(CreateEntityTagAssignmentRequest createEntityTagAssignmentRequest); @@ -34,14 +38,18 @@ public interface EntityTagAssignmentsService { * Deletes a tag assignment for an Unity Catalog entity by its key. * *

To delete tags from Unity Catalog entities, you must own the entity or have the following - * privileges: - **APPLY TAG** on the entity - **USE_SCHEMA** on the entity's parent schema - - * **USE_CATALOG** on the entity's parent catalog + * privileges: * - *

To delete a governed tag from Unity Catalog entities, you must also have the **ASSIGN** or - * **MANAGE** permission on the tag policy. See [Manage tag policy permissions]. + *

    + *
  • APPLY TAG on the entity + *
  • USE_SCHEMA on the entity's parent schema + *
  • USE_CATALOG on the entity's parent catalog + *
* - *

[Manage tag policy permissions]: - * https://docs.databricks.com/aws/en/admin/tag-policies/manage-permissions + *

To delete a governed tag from Unity Catalog entities, you must also have the ASSIGN + * or MANAGE permission on the tag policy. See Manage tag + * policy permissions. */ void delete(DeleteEntityTagAssignmentRequest deleteEntityTagAssignmentRequest); @@ -62,14 +70,18 @@ ListEntityTagAssignmentsResponse list( * Updates an existing tag assignment for an Unity Catalog entity. * *

To update tags to Unity Catalog entities, you must own the entity or have the following - * privileges: - **APPLY TAG** on the entity - **USE SCHEMA** on the entity's parent schema - - * **USE CATALOG** on the entity's parent catalog + * privileges: * - *

To update a governed tag to Unity Catalog entities, you must also have the **ASSIGN** or - * **MANAGE** permission on the tag policy. See [Manage tag policy permissions]. + *

    + *
  • APPLY TAG on the entity + *
  • USE SCHEMA on the entity's parent schema + *
  • USE CATALOG on the entity's parent catalog + *
* - *

[Manage tag policy permissions]: - * https://docs.databricks.com/aws/en/admin/tag-policies/manage-permissions + *

To update a governed tag to Unity Catalog entities, you must also have the ASSIGN or + * MANAGE permission on the tag policy. See Manage tag + * policy permissions. */ EntityTagAssignment update(UpdateEntityTagAssignmentRequest updateEntityTagAssignmentRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationInfo.java index a370e06da..b3a88b676 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationInfo.java @@ -36,23 +36,23 @@ public class ExternalLocationInfo { @JsonProperty("credential_name") private String credentialName; - /** The effective value of `enable_file_events` after applying server-side defaults. */ + /** The effective value of {@code enable_file_events} after applying server-side defaults. */ @JsonProperty("effective_enable_file_events") private Boolean effectiveEnableFileEvents; /** * The effective file event queue configuration after applying server-side defaults. Always - * populated when a queue is provisioned, regardless of whether the user explicitly set - * `enable_file_events`. Use this field instead of `file_event_queue` for reading the actual queue - * state. + * populated when a queue is provisioned, regardless of whether the user explicitly set {@code + * enable_file_events}. Use this field instead of {@code file_event_queue} for reading the actual + * queue state. */ @JsonProperty("effective_file_event_queue") private FileEventQueue effectiveFileEventQueue; /** - * Whether to enable file events on this external location. Default to `true`. Set to `false` to - * disable file events. The actual applied value may differ due to server-side defaults; check - * `effective_enable_file_events` for the effective state. + * Whether to enable file events on this external location. Default to {@code true}. Set to {@code + * false} to disable file events. The actual applied value may differ due to server-side defaults; + * check {@code effective_enable_file_events} for the effective state. */ @JsonProperty("enable_file_events") private Boolean enableFileEvents; @@ -70,8 +70,8 @@ public class ExternalLocationInfo { private Boolean fallback; /** - * File event queue settings. If `enable_file_events` is not `false`, must be defined and have - * exactly one of the documented properties. + * File event queue settings. If {@code enable_file_events} is not {@code false}, must be defined + * and have exactly one of the documented properties. */ @JsonProperty("file_event_queue") private FileEventQueue fileEventQueue; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsAPI.java index dcf5f6634..da04de5a2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsAPI.java @@ -17,7 +17,7 @@ *

Databricks recommends using external locations rather than using storage credentials directly. * *

To create external locations, you must be a metastore admin or a user with the - * **CREATE_EXTERNAL_LOCATION** privilege. + * CREATE_EXTERNAL_LOCATION privilege. */ @Generated public class ExternalLocationsAPI { @@ -37,7 +37,7 @@ public ExternalLocationsAPI(ExternalLocationsService mock) { /** * Creates a new external location entry in the metastore. The caller must be a metastore admin or - * have the **CREATE_EXTERNAL_LOCATION** privilege on both the metastore and the associated + * have the CREATE_EXTERNAL_LOCATION privilege on both the metastore and the associated * storage credential. */ public ExternalLocationInfo create(CreateExternalLocation request) { @@ -69,15 +69,15 @@ public ExternalLocationInfo get(GetExternalLocationRequest request) { } /** - * Gets an array of external locations (__ExternalLocationInfo__ objects) from the metastore. The - * caller must be a metastore admin, the owner of the external location, or a user that has some - * privilege on the external location. There is no guarantee of a specific ordering of the + * Gets an array of external locations (ExternalLocationInfo objects) from the metastore. + * The caller must be a metastore admin, the owner of the external location, or a user that has + * some privilege on the external location. There is no guarantee of a specific ordering of the * elements in the array. * *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsService.java index d7307ebd1..be460d2b4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsService.java @@ -13,7 +13,7 @@ *

Databricks recommends using external locations rather than using storage credentials directly. * *

To create external locations, you must be a metastore admin or a user with the - * **CREATE_EXTERNAL_LOCATION** privilege. + * CREATE_EXTERNAL_LOCATION privilege. * *

This is the high-level interface, that contains generated methods. * @@ -23,7 +23,7 @@ public interface ExternalLocationsService { /** * Creates a new external location entry in the metastore. The caller must be a metastore admin or - * have the **CREATE_EXTERNAL_LOCATION** privilege on both the metastore and the associated + * have the CREATE_EXTERNAL_LOCATION privilege on both the metastore and the associated * storage credential. */ ExternalLocationInfo create(CreateExternalLocation createExternalLocation); @@ -41,15 +41,15 @@ public interface ExternalLocationsService { ExternalLocationInfo get(GetExternalLocationRequest getExternalLocationRequest); /** - * Gets an array of external locations (__ExternalLocationInfo__ objects) from the metastore. The - * caller must be a metastore admin, the owner of the external location, or a user that has some - * privilege on the external location. There is no guarantee of a specific ordering of the + * Gets an array of external locations (ExternalLocationInfo objects) from the metastore. + * The caller must be a metastore admin, the owner of the external location, or a user that has + * some privilege on the external location. There is no guarantee of a specific ordering of the * elements in the array. * *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalMetadataAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalMetadataAPI.java index c2b25c013..98fa010ee 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalMetadataAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalMetadataAPI.java @@ -33,8 +33,8 @@ public ExternalMetadataAPI(ExternalMetadataService mock) { /** * Creates a new external metadata object in the parent metastore if the caller is a metastore - * admin or has the **CREATE_EXTERNAL_METADATA** privilege. Grants **BROWSE** to all account users - * upon creation by default. + * admin or has the CREATE_EXTERNAL_METADATA privilege. Grants BROWSE to all account + * users upon creation by default. */ public ExternalMetadata createExternalMetadata(CreateExternalMetadataRequest request) { return impl.createExternalMetadata(request); @@ -46,8 +46,8 @@ public void deleteExternalMetadata(String name) { /** * Deletes the external metadata object that matches the supplied name. The caller must be a - * metastore admin, the owner of the external metadata object, or a user that has the **MANAGE** - * privilege. + * metastore admin, the owner of the external metadata object, or a user that has the + * MANAGE privilege. */ public void deleteExternalMetadata(DeleteExternalMetadataRequest request) { impl.deleteExternalMetadata(request); @@ -59,7 +59,8 @@ public ExternalMetadata getExternalMetadata(String name) { /** * Gets the specified external metadata object in a metastore. The caller must be a metastore - * admin, the owner of the external metadata object, or a user that has the **BROWSE** privilege. + * admin, the owner of the external metadata object, or a user that has the BROWSE + * privilege. */ public ExternalMetadata getExternalMetadata(GetExternalMetadataRequest request) { return impl.getExternalMetadata(request); @@ -68,7 +69,7 @@ public ExternalMetadata getExternalMetadata(GetExternalMetadataRequest request) /** * Gets an array of external metadata objects in the metastore. If the caller is the metastore * admin, all external metadata objects will be retrieved. Otherwise, only external metadata - * objects that the caller has **BROWSE** on will be retrieved. There is no guarantee of a + * objects that the caller has BROWSE on will be retrieved. There is no guarantee of a * specific ordering of the elements in the array. */ public Iterable listExternalMetadata(ListExternalMetadataRequest request) { @@ -88,8 +89,8 @@ public Iterable listExternalMetadata(ListExternalMetadataReque /** * Updates the external metadata object that matches the supplied name. The caller can only update * either the owner or other metadata fields in one request. The caller must be a metastore admin, - * the owner of the external metadata object, or a user that has the **MODIFY** privilege. If the - * caller is updating the owner, they must also have the **MANAGE** privilege. + * the owner of the external metadata object, or a user that has the MODIFY privilege. If + * the caller is updating the owner, they must also have the MANAGE privilege. */ public ExternalMetadata updateExternalMetadata(UpdateExternalMetadataRequest request) { return impl.updateExternalMetadata(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalMetadataService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalMetadataService.java index 40bb19ad4..4fb73f7ad 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalMetadataService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalMetadataService.java @@ -19,29 +19,30 @@ public interface ExternalMetadataService { /** * Creates a new external metadata object in the parent metastore if the caller is a metastore - * admin or has the **CREATE_EXTERNAL_METADATA** privilege. Grants **BROWSE** to all account users - * upon creation by default. + * admin or has the CREATE_EXTERNAL_METADATA privilege. Grants BROWSE to all account + * users upon creation by default. */ ExternalMetadata createExternalMetadata( CreateExternalMetadataRequest createExternalMetadataRequest); /** * Deletes the external metadata object that matches the supplied name. The caller must be a - * metastore admin, the owner of the external metadata object, or a user that has the **MANAGE** - * privilege. + * metastore admin, the owner of the external metadata object, or a user that has the + * MANAGE privilege. */ void deleteExternalMetadata(DeleteExternalMetadataRequest deleteExternalMetadataRequest); /** * Gets the specified external metadata object in a metastore. The caller must be a metastore - * admin, the owner of the external metadata object, or a user that has the **BROWSE** privilege. + * admin, the owner of the external metadata object, or a user that has the BROWSE + * privilege. */ ExternalMetadata getExternalMetadata(GetExternalMetadataRequest getExternalMetadataRequest); /** * Gets an array of external metadata objects in the metastore. If the caller is the metastore * admin, all external metadata objects will be retrieved. Otherwise, only external metadata - * objects that the caller has **BROWSE** on will be retrieved. There is no guarantee of a + * objects that the caller has BROWSE on will be retrieved. There is no guarantee of a * specific ordering of the elements in the array. */ ListExternalMetadataResponse listExternalMetadata( @@ -50,8 +51,8 @@ ListExternalMetadataResponse listExternalMetadata( /** * Updates the external metadata object that matches the supplied name. The caller can only update * either the owner or other metadata fields in one request. The caller must be a metastore admin, - * the owner of the external metadata object, or a user that has the **MODIFY** privilege. If the - * caller is updating the owner, they must also have the **MANAGE** privilege. + * the owner of the external metadata object, or a user that has the MODIFY privilege. If + * the caller is updating the owner, they must also have the MANAGE privilege. */ ExternalMetadata updateExternalMetadata( UpdateExternalMetadataRequest updateExternalMetadataRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionDependency.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionDependency.java index c03a80007..0b6226b85 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionDependency.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionDependency.java @@ -12,7 +12,7 @@ public class FunctionDependency { /** * Full name of the dependent function, in the form of - * __catalog_name__.__schema_name__.__function_name__. + * catalog_name.schema_name.function_name. */ @JsonProperty("function_full_name") private String functionFullName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionInfo.java index 69ca56bd1..704f53864 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionInfo.java @@ -48,7 +48,9 @@ public class FunctionInfo { @JsonProperty("full_data_type") private String fullDataType; - /** Full name of Function, in form of **catalog_name**.**schema_name**.**function_name** */ + /** + * Full name of Function, in form of catalog_name.schema_name.function_name + */ @JsonProperty("full_name") private String fullName; @@ -80,7 +82,7 @@ public class FunctionInfo { @JsonProperty("owner") private String owner; - /** Function parameter style. **S** is the value for SQL. */ + /** Function parameter style. S is the value for SQL. */ @JsonProperty("parameter_style") private FunctionInfoParameterStyle parameterStyle; @@ -93,10 +95,10 @@ public class FunctionInfo { private FunctionParameterInfos returnParams; /** - * Function language. When **EXTERNAL** is used, the language of the routine function should be - * specified in the **external_language** field, and the **return_params** of the function cannot - * be used (as **TABLE** return type is not supported), and the **sql_data_access** field must be - * **NO_SQL**. + * Function language. When EXTERNAL is used, the language of the routine function should be + * specified in the external_language field, and the return_params of the function + * cannot be used (as TABLE return type is not supported), and the sql_data_access + * field must be NO_SQL. */ @JsonProperty("routine_body") private FunctionInfoRoutineBody routineBody; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionsAPI.java index 6de23cd0e..c99152152 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionsAPI.java @@ -13,7 +13,7 @@ *

The function implementation can be any SQL expression or Query, and it can be invoked wherever * a table reference is allowed in a query. In Unity Catalog, a function resides at the same level * as a table, so it can be referenced with the form - * __catalog_name__.__schema_name__.__function_name__. + * catalog_name.schema_name.function_name. */ @Generated public class FunctionsAPI { @@ -32,13 +32,16 @@ public FunctionsAPI(FunctionsService mock) { } /** - * **WARNING: This API is experimental and will change in future versions** + * WARNING: This API is experimental and will change in future versions * *

Creates a new function * - *

The user must have the following permissions in order for the function to be created: - - * **USE_CATALOG** on the function's parent catalog - **USE_SCHEMA** and **CREATE_FUNCTION** on - * the function's parent schema + *

The user must have the following permissions in order for the function to be created: + * + *

    + *
  • USE_CATALOG on the function's parent catalog + *
  • USE_SCHEMA and CREATE_FUNCTION on the function's parent schema + *
*/ public FunctionInfo create(CreateFunctionRequest request) { return impl.create(request); @@ -50,10 +53,15 @@ public void delete(String name) { /** * Deletes the function that matches the supplied name. For the deletion to succeed, the user must - * satisfy one of the following conditions: - Is the owner of the function's parent catalog - Is - * the owner of the function's parent schema and have the **USE_CATALOG** privilege on its parent - * catalog - Is the owner of the function itself and have both the **USE_CATALOG** privilege on - * its parent catalog and the **USE_SCHEMA** privilege on its parent schema + * satisfy one of the following conditions: + * + *
    + *
  • Is the owner of the function's parent catalog + *
  • Is the owner of the function's parent schema and have the USE_CATALOG privilege on + * its parent catalog + *
  • Is the owner of the function itself and have both the USE_CATALOG privilege on its + * parent catalog and the USE_SCHEMA privilege on its parent schema + *
*/ public void delete(DeleteFunctionRequest request) { impl.delete(request); @@ -65,11 +73,17 @@ public FunctionInfo get(String name) { /** * Gets a function from within a parent catalog and schema. For the fetch to succeed, the user - * must satisfy one of the following requirements: - Is a metastore admin - Is an owner of the - * function's parent catalog - Have the **USE_CATALOG** privilege on the function's parent catalog - * and be the owner of the function - Have the **USE_CATALOG** privilege on the function's parent - * catalog, the **USE_SCHEMA** privilege on the function's parent schema, and the **EXECUTE** - * privilege on the function itself + * must satisfy one of the following requirements: + * + *
    + *
  • Is a metastore admin + *
  • Is an owner of the function's parent catalog + *
  • Have the USE_CATALOG privilege on the function's parent catalog and be the owner + * of the function + *
  • Have the USE_CATALOG privilege on the function's parent catalog, the + * USE_SCHEMA privilege on the function's parent schema, and the EXECUTE + * privilege on the function itself + *
*/ public FunctionInfo get(GetFunctionRequest request) { return impl.get(request); @@ -82,15 +96,15 @@ public Iterable list(String catalogName, String schemaName) { /** * List functions within the specified parent catalog and schema. If the user is a metastore * admin, all functions are returned in the output list. Otherwise, the user must have the - * **USE_CATALOG** privilege on the catalog and the **USE_SCHEMA** privilege on the schema, and - * the output list contains only functions for which either the user has the **EXECUTE** privilege - * or the user is the owner. There is no guarantee of a specific ordering of the elements in the - * array. + * USE_CATALOG privilege on the catalog and the USE_SCHEMA privilege on the schema, + * and the output list contains only functions for which either the user has the EXECUTE + * privilege or the user is the owner. There is no guarantee of a specific ordering of the + * elements in the array. * *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. @@ -116,10 +130,17 @@ public Iterable list(ListFunctionsRequest request) { /** * Updates the function that matches the supplied name. Only the owner of the function can be * updated. If the user is not a metastore admin, the user must be a member of the group that is - * the new function owner. - Is a metastore admin - Is the owner of the function's parent catalog - * - Is the owner of the function's parent schema and has the **USE_CATALOG** privilege on its - * parent catalog - Is the owner of the function itself and has the **USE_CATALOG** privilege on - * its parent catalog as well as the **USE_SCHEMA** privilege on the function's parent schema. + * the new function owner. + * + *

    + *
  • Is a metastore admin + *
  • Is the owner of the function's parent catalog + *
  • Is the owner of the function's parent schema and has the USE_CATALOG privilege on + * its parent catalog + *
  • Is the owner of the function itself and has the USE_CATALOG privilege on its + * parent catalog as well as the USE_SCHEMA privilege on the function's parent + * schema. + *
*/ public FunctionInfo update(UpdateFunction request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionsService.java index cd255e14b..c5d57c1ab 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/FunctionsService.java @@ -9,7 +9,7 @@ *

The function implementation can be any SQL expression or Query, and it can be invoked wherever * a table reference is allowed in a query. In Unity Catalog, a function resides at the same level * as a table, so it can be referenced with the form - * __catalog_name__.__schema_name__.__function_name__. + * catalog_name.schema_name.function_name. * *

This is the high-level interface, that contains generated methods. * @@ -18,47 +18,61 @@ @Generated public interface FunctionsService { /** - * **WARNING: This API is experimental and will change in future versions** + * WARNING: This API is experimental and will change in future versions * *

Creates a new function * - *

The user must have the following permissions in order for the function to be created: - - * **USE_CATALOG** on the function's parent catalog - **USE_SCHEMA** and **CREATE_FUNCTION** on - * the function's parent schema + *

The user must have the following permissions in order for the function to be created: + * + *

    + *
  • USE_CATALOG on the function's parent catalog + *
  • USE_SCHEMA and CREATE_FUNCTION on the function's parent schema + *
*/ FunctionInfo create(CreateFunctionRequest createFunctionRequest); /** * Deletes the function that matches the supplied name. For the deletion to succeed, the user must - * satisfy one of the following conditions: - Is the owner of the function's parent catalog - Is - * the owner of the function's parent schema and have the **USE_CATALOG** privilege on its parent - * catalog - Is the owner of the function itself and have both the **USE_CATALOG** privilege on - * its parent catalog and the **USE_SCHEMA** privilege on its parent schema + * satisfy one of the following conditions: + * + *
    + *
  • Is the owner of the function's parent catalog + *
  • Is the owner of the function's parent schema and have the USE_CATALOG privilege on + * its parent catalog + *
  • Is the owner of the function itself and have both the USE_CATALOG privilege on its + * parent catalog and the USE_SCHEMA privilege on its parent schema + *
*/ void delete(DeleteFunctionRequest deleteFunctionRequest); /** * Gets a function from within a parent catalog and schema. For the fetch to succeed, the user - * must satisfy one of the following requirements: - Is a metastore admin - Is an owner of the - * function's parent catalog - Have the **USE_CATALOG** privilege on the function's parent catalog - * and be the owner of the function - Have the **USE_CATALOG** privilege on the function's parent - * catalog, the **USE_SCHEMA** privilege on the function's parent schema, and the **EXECUTE** - * privilege on the function itself + * must satisfy one of the following requirements: + * + *
    + *
  • Is a metastore admin + *
  • Is an owner of the function's parent catalog + *
  • Have the USE_CATALOG privilege on the function's parent catalog and be the owner + * of the function + *
  • Have the USE_CATALOG privilege on the function's parent catalog, the + * USE_SCHEMA privilege on the function's parent schema, and the EXECUTE + * privilege on the function itself + *
*/ FunctionInfo get(GetFunctionRequest getFunctionRequest); /** * List functions within the specified parent catalog and schema. If the user is a metastore * admin, all functions are returned in the output list. Otherwise, the user must have the - * **USE_CATALOG** privilege on the catalog and the **USE_SCHEMA** privilege on the schema, and - * the output list contains only functions for which either the user has the **EXECUTE** privilege - * or the user is the owner. There is no guarantee of a specific ordering of the elements in the - * array. + * USE_CATALOG privilege on the catalog and the USE_SCHEMA privilege on the schema, + * and the output list contains only functions for which either the user has the EXECUTE + * privilege or the user is the owner. There is no guarantee of a specific ordering of the + * elements in the array. * *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. @@ -68,10 +82,17 @@ public interface FunctionsService { /** * Updates the function that matches the supplied name. Only the owner of the function can be * updated. If the user is not a metastore admin, the user must be a member of the group that is - * the new function owner. - Is a metastore admin - Is the owner of the function's parent catalog - * - Is the owner of the function's parent schema and has the **USE_CATALOG** privilege on its - * parent catalog - Is the owner of the function itself and has the **USE_CATALOG** privilege on - * its parent catalog as well as the **USE_SCHEMA** privilege on the function's parent schema. + * the new function owner. + * + *

    + *
  • Is a metastore admin + *
  • Is the owner of the function's parent catalog + *
  • Is the owner of the function's parent schema and has the USE_CATALOG privilege on + * its parent catalog + *
  • Is the owner of the function itself and has the USE_CATALOG privilege on its + * parent catalog as well as the USE_SCHEMA privilege on the function's parent + * schema. + *
*/ FunctionInfo update(UpdateFunction updateFunction); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetBindingsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetBindingsRequest.java index b35492f54..e0ec78340 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetBindingsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetBindingsRequest.java @@ -11,11 +11,15 @@ @Generated public class GetBindingsRequest { /** - * Maximum number of workspace bindings to return. - When set to 0, the page length is set to a - * server configured value (recommended); - When set to a value greater than 0, the page length is - * the minimum of this value and a server configured value; - When set to a value less than 0, an - * invalid parameter error is returned; - If not set, all the workspace bindings are returned (not - * recommended). + * Maximum number of workspace bindings to return. + * + *
    + *
  • When set to 0, the page length is set to a server configured value (recommended); + *
  • When set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
  • When set to a value less than 0, an invalid parameter error is returned; + *
  • If not set, all the workspace bindings are returned (not recommended). + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetEffectiveRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetEffectiveRequest.java index 01b5ed191..fc199f93e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetEffectiveRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetEffectiveRequest.java @@ -19,11 +19,17 @@ public class GetEffectiveRequest { * effective privileges granted on (or inherited by) the requested Securable for the respective * principal. * - *

If not set, all the effective permissions are returned. If set to - lesser than 0: invalid - * parameter error - 0: page length is set to a server configured value - lesser than 150 but - * greater than 0: invalid parameter error (this is to ensure that server is able to return at - * least one complete EffectivePrivilegeAssignment in a single page response) - greater than (or - * equal to) 150: page length is the minimum of this value and a server configured value + *

If not set, all the effective permissions are returned. If set to + * + *

    + *
  • lesser than 0: invalid parameter error + *
  • 0: page length is set to a server configured value + *
  • lesser than 150 but greater than 0: invalid parameter error (this is to ensure that + * server is able to return at least one complete EffectivePrivilegeAssignment in a single + * page response) + *
  • greater than (or equal to) 150: page length is the minimum of this value and a server + * configured value + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetFunctionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetFunctionRequest.java index b635d3ab3..440fbcaa8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetFunctionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetFunctionRequest.java @@ -20,7 +20,7 @@ public class GetFunctionRequest { /** * The fully-qualified name of the function (of the form - * __catalog_name__.__schema_name__.__function__name__). + * catalog_name.schema_name.function__name). */ @JsonIgnore private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetGrantRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetGrantRequest.java index 59e2565c2..b9a2be5cc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetGrantRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetGrantRequest.java @@ -18,11 +18,17 @@ public class GetGrantRequest { * present in a single page response is guaranteed to contain all the privileges granted on the * requested Securable for the respective principal. * - *

If not set, all the permissions are returned. If set to - lesser than 0: invalid parameter - * error - 0: page length is set to a server configured value - lesser than 150 but greater than - * 0: invalid parameter error (this is to ensure that server is able to return at least one - * complete PrivilegeAssignment in a single page response) - greater than (or equal to) 150: page - * length is the minimum of this value and a server configured value + *

If not set, all the permissions are returned. If set to + * + *

    + *
  • lesser than 0: invalid parameter error + *
  • 0: page length is set to a server configured value + *
  • lesser than 150 but greater than 0: invalid parameter error (this is to ensure that + * server is able to return at least one complete PrivilegeAssignment in a single page + * response) + *
  • greater than (or equal to) 150: page length is the minimum of this value and a server + * configured value + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetMetastoreSummaryResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetMetastoreSummaryResponse.java index f30d70fe7..cdf85ddbd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetMetastoreSummaryResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetMetastoreSummaryResponse.java @@ -9,7 +9,7 @@ @Generated public class GetMetastoreSummaryResponse { - /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */ + /** Cloud vendor of the metastore home shard (e.g., {@code aws}, {@code azure}, {@code gcp}). */ @JsonProperty("cloud") private String cloud; @@ -45,8 +45,8 @@ public class GetMetastoreSummaryResponse { private Boolean externalAccessEnabled; /** - * Globally unique metastore ID across clouds and regions, of the form - * `cloud:region:metastore_id`. + * Globally unique metastore ID across clouds and regions, of the form {@code + * cloud:region:metastore_id}. */ @JsonProperty("global_metastore_id") private String globalMetastoreId; @@ -63,11 +63,13 @@ public class GetMetastoreSummaryResponse { @JsonProperty("owner") private String owner; - /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */ + /** + * Privilege model version of the metastore, of the form {@code major.minor} (e.g., {@code 1.0}). + */ @JsonProperty("privilege_model_version") private String privilegeModelVersion; - /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */ + /** Cloud region which the metastore serves (e.g., {@code us-west-2}, {@code westus}). */ @JsonProperty("region") private String region; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetPermissionsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetPermissionsResponse.java index f0375ba39..c5ffad42f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetPermissionsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetPermissionsResponse.java @@ -12,7 +12,8 @@ public class GetPermissionsResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetQualityMonitorRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetQualityMonitorRequest.java index eef7a1533..558ffbd39 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetQualityMonitorRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetQualityMonitorRequest.java @@ -10,7 +10,7 @@ @Generated public class GetQualityMonitorRequest { /** - * UC table name in format `catalog.schema.table_name`. This field corresponds to the + * UC table name in format {@code catalog.schema.table_name}. This field corresponds to the * {full_table_name_arg} arg in the endpoint path. */ @JsonIgnore private String tableName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetSecretRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetSecretRequest.java index 2e520e4c5..4afa98316 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetSecretRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetSecretRequest.java @@ -12,12 +12,12 @@ public class GetSecretRequest { /** * The three-level (fully qualified) name of the secret (for example, - * **catalog_name.schema_name.secret_name**). + * catalog_name.schema_name.secret_name). */ @JsonIgnore private String fullName; /** - * Whether to include secrets in the response for which you only have the **BROWSE** privilege, + * Whether to include secrets in the response for which you only have the BROWSE privilege, * which limits access to metadata. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetWorkspaceBindingsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetWorkspaceBindingsResponse.java index 7052a938b..a05a5a00a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetWorkspaceBindingsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetWorkspaceBindingsResponse.java @@ -16,7 +16,8 @@ public class GetWorkspaceBindingsResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsAPI.java index ccffa0aaf..87ccf19f6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsAPI.java @@ -43,7 +43,7 @@ public GetPermissionsResponse get(String securableType, String fullName) { *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. @@ -64,7 +64,7 @@ public EffectivePermissionsList getEffective(String securableType, String fullNa *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsService.java index 11f9831f7..3e1aee940 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsService.java @@ -26,7 +26,7 @@ public interface GrantsService { *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. @@ -40,7 +40,7 @@ public interface GrantsService { *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCatalogsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCatalogsRequest.java index 758e8afff..6aa0f93ca 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCatalogsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCatalogsRequest.java @@ -27,13 +27,18 @@ public class ListCatalogsRequest { private Boolean includeUnbound; /** - * Maximum number of catalogs to return. - when set to 0, the page length is set to a server - * configured value (recommended); - when set to a value greater than 0, the page length is the - * minimum of this value and a server configured value; - when set to a value less than 0, an - * invalid parameter error is returned; - If not set, all valid catalogs are returned (not - * recommended). - Note: The number of returned catalogs might be less than the specified - * max_results size, even zero. The only definitive indication that no further catalogs can be - * fetched is when the next_page_token is unset from the response. + * Maximum number of catalogs to return. + * + *

    + *
  • when set to 0, the page length is set to a server configured value (recommended); + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
  • when set to a value less than 0, an invalid parameter error is returned; + *
  • If not set, all valid catalogs are returned (not recommended). + *
  • Note: The number of returned catalogs might be less than the specified max_results size, + * even zero. The only definitive indication that no further catalogs can be fetched is when + * the next_page_token is unset from the response. + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCatalogsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCatalogsResponse.java index 314b99cbd..391f3fdd3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCatalogsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCatalogsResponse.java @@ -16,7 +16,8 @@ public class ListCatalogsResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListConnectionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListConnectionsRequest.java index 4aae35586..1b2c76533 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListConnectionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListConnectionsRequest.java @@ -11,11 +11,15 @@ @Generated public class ListConnectionsRequest { /** - * Maximum number of connections to return. - If not set, all connections are returned (not - * recommended). - when set to a value greater than 0, the page length is the minimum of this - * value and a server configured value; - when set to 0, the page length is set to a server - * configured value (recommended); - when set to a value less than 0, an invalid parameter error - * is returned; + * Maximum number of connections to return. + * + *
    + *
  • If not set, all connections are returned (not recommended). + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
  • when set to 0, the page length is set to a server configured value (recommended); + *
  • when set to a value less than 0, an invalid parameter error is returned; + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListConnectionsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListConnectionsResponse.java index 51088a406..2e6e328c3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListConnectionsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListConnectionsResponse.java @@ -16,7 +16,8 @@ public class ListConnectionsResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCredentialsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCredentialsRequest.java index c9b2c2dc2..5a550ecc1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCredentialsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCredentialsRequest.java @@ -19,10 +19,15 @@ public class ListCredentialsRequest { private Boolean includeUnbound; /** - * Maximum number of credentials to return. - If not set, the default max page size is used. - - * When set to a value greater than 0, the page length is the minimum of this value and a - * server-configured value. - When set to 0, the page length is set to a server-configured value - * (recommended). - When set to a value less than 0, an invalid parameter error is returned. + * Maximum number of credentials to return. + * + *
    + *
  • If not set, the default max page size is used. + *
  • When set to a value greater than 0, the page length is the minimum of this value and a + * server-configured value. + *
  • When set to 0, the page length is set to a server-configured value (recommended). + *
  • When set to a value less than 0, an invalid parameter error is returned. + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCredentialsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCredentialsResponse.java index 79ebd1904..02f5250e5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCredentialsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListCredentialsResponse.java @@ -16,7 +16,8 @@ public class ListCredentialsResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListExternalLineageRelationshipsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListExternalLineageRelationshipsRequest.java index 37261ec39..2c3d71638 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListExternalLineageRelationshipsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListExternalLineageRelationshipsRequest.java @@ -18,7 +18,7 @@ public class ListExternalLineageRelationshipsRequest { /** * The object to query external lineage relationships for. Since this field is a query parameter, * please flatten the nested fields. For example, if the object is a table, the query parameter - * should look like: `object_info.table.name=main.sales.customers` + * should look like: {@code object_info.table.name=main.sales.customers} */ @JsonIgnore @QueryParam("object_info") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListExternalLocationsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListExternalLocationsRequest.java index 71bfa3314..aad84de10 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListExternalLocationsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListExternalLocationsRequest.java @@ -28,10 +28,14 @@ public class ListExternalLocationsRequest { /** * Maximum number of external locations to return. If not set, all the external locations are - * returned (not recommended). - when set to a value greater than 0, the page length is the - * minimum of this value and a server configured value; - when set to 0, the page length is set to - * a server configured value (recommended); - when set to a value less than 0, an invalid - * parameter error is returned; + * returned (not recommended). + * + *
    + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
  • when set to 0, the page length is set to a server configured value (recommended); + *
  • when set to a value less than 0, an invalid parameter error is returned; + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListExternalLocationsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListExternalLocationsResponse.java index f43f138f4..8a0577e4d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListExternalLocationsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListExternalLocationsResponse.java @@ -16,7 +16,8 @@ public class ListExternalLocationsResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListFunctionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListFunctionsRequest.java index 4e7cf6ea1..6bf4a79d9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListFunctionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListFunctionsRequest.java @@ -25,10 +25,14 @@ public class ListFunctionsRequest { /** * Maximum number of functions to return. If not set, all the functions are returned (not - * recommended). - when set to a value greater than 0, the page length is the minimum of this - * value and a server configured value; - when set to 0, the page length is set to a server - * configured value (recommended); - when set to a value less than 0, an invalid parameter error - * is returned; + * recommended). + * + *
    + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
  • when set to 0, the page length is set to a server configured value (recommended); + *
  • when set to a value less than 0, an invalid parameter error is returned; + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListFunctionsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListFunctionsResponse.java index b88b18e14..af4824d2c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListFunctionsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListFunctionsResponse.java @@ -16,7 +16,8 @@ public class ListFunctionsResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMetastoresRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMetastoresRequest.java index 94e5514e1..b96321570 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMetastoresRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMetastoresRequest.java @@ -11,13 +11,18 @@ @Generated public class ListMetastoresRequest { /** - * Maximum number of metastores to return. - when set to a value greater than 0, the page length - * is the minimum of this value and a server configured value; - when set to 0, the page length is - * set to a server configured value (recommended); - when set to a value less than 0, an invalid - * parameter error is returned; - If not set, all the metastores are returned (not recommended). - - * Note: The number of returned metastores might be less than the specified max_results size, even - * zero. The only definitive indication that no further metastores can be fetched is when the - * next_page_token is unset from the response. + * Maximum number of metastores to return. + * + *
    + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
  • when set to 0, the page length is set to a server configured value (recommended); + *
  • when set to a value less than 0, an invalid parameter error is returned; + *
  • If not set, all the metastores are returned (not recommended). + *
  • Note: The number of returned metastores might be less than the specified max_results + * size, even zero. The only definitive indication that no further metastores can be fetched + * is when the next_page_token is unset from the response. + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMetastoresResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMetastoresResponse.java index e906c400f..c42781645 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMetastoresResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMetastoresResponse.java @@ -16,7 +16,8 @@ public class ListMetastoresResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelVersionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelVersionsRequest.java index 5c7f3ccf0..c44ac9242 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelVersionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelVersionsRequest.java @@ -23,10 +23,15 @@ public class ListModelVersionsRequest { /** * Maximum number of model versions to return. If not set, the page length is set to a server - * configured value (100, as of 1/3/2024). - when set to a value greater than 0, the page length - * is the minimum of this value and a server configured value(1000, as of 1/3/2024); - when set to - * 0, the page length is set to a server configured value (100, as of 1/3/2024) (recommended); - - * when set to a value less than 0, an invalid parameter error is returned; + * configured value (100, as of 1/3/2024). + * + *
    + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value(1000, as of 1/3/2024); + *
  • when set to 0, the page length is set to a server configured value (100, as of 1/3/2024) + * (recommended); + *
  • when set to a value less than 0, an invalid parameter error is returned; + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelVersionsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelVersionsResponse.java index 33959df88..c9f494ae5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelVersionsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelVersionsResponse.java @@ -16,7 +16,8 @@ public class ListModelVersionsResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListPoliciesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListPoliciesRequest.java index 444155d59..af0f85f50 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListPoliciesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListPoliciesRequest.java @@ -19,10 +19,14 @@ public class ListPoliciesRequest { private Boolean includeInherited; /** - * Optional. Maximum number of policies to return on a single page (page length). - When not set - * or set to 0, the page length is set to a server configured value (recommended); - When set to a - * value greater than 0, the page length is the minimum of this value and a server configured - * value; + * Optional. Maximum number of policies to return on a single page (page length). + * + *
    + *
  • When not set or set to 0, the page length is set to a server configured value + * (recommended); + *
  • When set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListPoliciesResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListPoliciesResponse.java index 7a2218723..6c8562a03 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListPoliciesResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListPoliciesResponse.java @@ -11,8 +11,8 @@ @Generated public class ListPoliciesResponse { /** - * Optional opaque token for continuing pagination. `page_token` should be set to this value for - * the next request to retrieve the next page of results. + * Optional opaque token for continuing pagination. {@code page_token} should be set to this value + * for the next request to retrieve the next page of results. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListQuotasResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListQuotasResponse.java index 42a68e3a9..5936bcb1b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListQuotasResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListQuotasResponse.java @@ -12,7 +12,7 @@ public class ListQuotasResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request. + * page_token should be set to this value for the next request. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListRefreshesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListRefreshesRequest.java index 8f0c31114..c36761df8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListRefreshesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListRefreshesRequest.java @@ -10,8 +10,8 @@ @Generated public class ListRefreshesRequest { /** - * UC table name in format `catalog.schema.table_name`. table_name is case insensitive and spaces - * are disallowed. + * UC table name in format {@code catalog.schema.table_name}. table_name is case insensitive and + * spaces are disallowed. */ @JsonIgnore private String tableName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListRegisteredModelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListRegisteredModelsRequest.java index 1d5411f69..2f2fadc5d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListRegisteredModelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListRegisteredModelsRequest.java @@ -29,18 +29,28 @@ public class ListRegisteredModelsRequest { /** * Max number of registered models to return. * - *

If both catalog and schema are specified: - when max_results is not specified, the page - * length is set to a server configured value (10000, as of 4/2/2024). - when set to a value - * greater than 0, the page length is the minimum of this value and a server configured value - * (10000, as of 4/2/2024); - when set to 0, the page length is set to a server configured value - * (10000, as of 4/2/2024); - when set to a value less than 0, an invalid parameter error is - * returned; + *

If both catalog and schema are specified: * - *

If neither schema nor catalog is specified: - when max_results is not specified, the page - * length is set to a server configured value (100, as of 4/2/2024). - when set to a value greater - * than 0, the page length is the minimum of this value and a server configured value (1000, as of - * 4/2/2024); - when set to 0, the page length is set to a server configured value (100, as of - * 4/2/2024); - when set to a value less than 0, an invalid parameter error is returned; + *

    + *
  • when max_results is not specified, the page length is set to a server configured value + * (10000, as of 4/2/2024). + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value (10000, as of 4/2/2024); + *
  • when set to 0, the page length is set to a server configured value (10000, as of + * 4/2/2024); + *
  • when set to a value less than 0, an invalid parameter error is returned; + *
+ * + *

If neither schema nor catalog is specified: + * + *

    + *
  • when max_results is not specified, the page length is set to a server configured value + * (100, as of 4/2/2024). + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value (1000, as of 4/2/2024); + *
  • when set to 0, the page length is set to a server configured value (100, as of 4/2/2024); + *
  • when set to a value less than 0, an invalid parameter error is returned; + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSchemasRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSchemasRequest.java index 5fe266596..d29bad0df 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSchemasRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSchemasRequest.java @@ -25,10 +25,14 @@ public class ListSchemasRequest { /** * Maximum number of schemas to return. If not set, all the schemas are returned (not - * recommended). - when set to a value greater than 0, the page length is the minimum of this - * value and a server configured value; - when set to 0, the page length is set to a server - * configured value (recommended); - when set to a value less than 0, an invalid parameter error - * is returned; + * recommended). + * + *
    + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
  • when set to 0, the page length is set to a server configured value (recommended); + *
  • when set to a value less than 0, an invalid parameter error is returned; + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSchemasResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSchemasResponse.java index 23021dcba..ae93e2b93 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSchemasResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSchemasResponse.java @@ -12,7 +12,8 @@ public class ListSchemasResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSecretsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSecretsRequest.java index 723c6f626..f94db0366 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSecretsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSecretsRequest.java @@ -11,15 +11,15 @@ @Generated public class ListSecretsRequest { /** - * The name of the catalog under which to list secrets. Both **catalog_name** and **schema_name** - * must be specified together. + * The name of the catalog under which to list secrets. Both catalog_name and + * schema_name must be specified together. */ @JsonIgnore @QueryParam("catalog_name") private String catalogName; /** - * Whether to include secrets in the response for which you only have the **BROWSE** privilege, + * Whether to include secrets in the response for which you only have the BROWSE privilege, * which limits access to metadata. */ @JsonIgnore @@ -29,9 +29,12 @@ public class ListSecretsRequest { /** * Maximum number of secrets to return. * - *

- If not specified, at most 10000 secrets are returned. - If set to a value greater than 0, - * the page length is the minimum of this value and 10000. - If set to 0, the page length is set - * to 10000. - If set to a value less than 0, an invalid parameter error is returned. + *

    + *
  • If not specified, at most 10000 secrets are returned. + *
  • If set to a value greater than 0, the page length is the minimum of this value and 10000. + *
  • If set to 0, the page length is set to 10000. + *
  • If set to a value less than 0, an invalid parameter error is returned. + *
*/ @JsonIgnore @QueryParam("page_size") @@ -46,8 +49,8 @@ public class ListSecretsRequest { private String pageToken; /** - * The name of the schema under which to list secrets. Both **catalog_name** and **schema_name** - * must be specified together. + * The name of the schema under which to list secrets. Both catalog_name and + * schema_name must be specified together. */ @JsonIgnore @QueryParam("schema_name") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSecretsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSecretsResponse.java index 96b81a1e6..7517c2050 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSecretsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSecretsResponse.java @@ -13,7 +13,7 @@ public class ListSecretsResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * **page_token** should be set to this value for the next request. + * page_token should be set to this value for the next request. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListStorageCredentialsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListStorageCredentialsRequest.java index 9f1f82035..4fea6eda0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListStorageCredentialsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListStorageCredentialsRequest.java @@ -20,10 +20,14 @@ public class ListStorageCredentialsRequest { /** * Maximum number of storage credentials to return. If not set, all the storage credentials are - * returned (not recommended). - when set to a value greater than 0, the page length is the - * minimum of this value and a server configured value; - when set to 0, the page length is set to - * a server configured value (recommended); - when set to a value less than 0, an invalid - * parameter error is returned; + * returned (not recommended). + * + *
    + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
  • when set to 0, the page length is set to a server configured value (recommended); + *
  • when set to a value less than 0, an invalid parameter error is returned; + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListStorageCredentialsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListStorageCredentialsResponse.java index 25ef95015..0d2073ced 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListStorageCredentialsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListStorageCredentialsResponse.java @@ -12,7 +12,8 @@ public class ListStorageCredentialsResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSummariesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSummariesRequest.java index 774820505..c100e840f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSummariesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSummariesRequest.java @@ -22,10 +22,15 @@ public class ListSummariesRequest { /** * Maximum number of summaries for tables to return. If not set, the page length is set to a - * server configured value (10000, as of 1/5/2024). - when set to a value greater than 0, the page - * length is the minimum of this value and a server configured value (10000, as of 1/5/2024); - - * when set to 0, the page length is set to a server configured value (10000, as of 1/5/2024) - * (recommended); - when set to a value less than 0, an invalid parameter error is returned; + * server configured value (10000, as of 1/5/2024). + * + *
    + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value (10000, as of 1/5/2024); + *
  • when set to 0, the page length is set to a server configured value (10000, as of + * 1/5/2024) (recommended); + *
  • when set to a value less than 0, an invalid parameter error is returned; + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSystemSchemasRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSystemSchemasRequest.java index bba8bfa7c..00e209688 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSystemSchemasRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSystemSchemasRequest.java @@ -11,11 +11,15 @@ @Generated public class ListSystemSchemasRequest { /** - * Maximum number of schemas to return. - When set to 0, the page length is set to a server - * configured value (recommended); - When set to a value greater than 0, the page length is the - * minimum of this value and a server configured value; - When set to a value less than 0, an - * invalid parameter error is returned; - If not set, all the schemas are returned (not - * recommended). + * Maximum number of schemas to return. + * + *
    + *
  • When set to 0, the page length is set to a server configured value (recommended); + *
  • When set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
  • When set to a value less than 0, an invalid parameter error is returned; + *
  • If not set, all the schemas are returned (not recommended). + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSystemSchemasResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSystemSchemasResponse.java index ac970407e..7373a3efa 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSystemSchemasResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSystemSchemasResponse.java @@ -12,7 +12,8 @@ public class ListSystemSchemasResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListTableSummariesResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListTableSummariesResponse.java index bfe514e7b..735e4de74 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListTableSummariesResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListTableSummariesResponse.java @@ -12,7 +12,8 @@ public class ListTableSummariesResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListTablesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListTablesRequest.java index f63d165d6..6d5cba945 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListTablesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListTablesRequest.java @@ -30,9 +30,13 @@ public class ListTablesRequest { /** * Maximum number of tables to return. If not set, all the tables are returned (not recommended). - * - when set to a value greater than 0, the page length is the minimum of this value and a server - * configured value; - when set to 0, the page length is set to a server configured value - * (recommended); - when set to a value less than 0, an invalid parameter error is returned; + * + *
    + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
  • when set to 0, the page length is set to a server configured value (recommended); + *
  • when set to a value less than 0, an invalid parameter error is returned; + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListTablesResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListTablesResponse.java index 429103c82..67356f0f6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListTablesResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListTablesResponse.java @@ -12,7 +12,8 @@ public class ListTablesResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListVolumesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListVolumesRequest.java index 5c2502a3a..3bec33e05 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListVolumesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListVolumesRequest.java @@ -26,11 +26,15 @@ public class ListVolumesRequest { /** * Maximum number of volumes to return (page length). * - *

If not set, the page length is set to a server configured value (10000, as of 1/29/2024). - - * when set to a value greater than 0, the page length is the minimum of this value and a server - * configured value (10000, as of 1/29/2024); - when set to 0, the page length is set to a server - * configured value (10000, as of 1/29/2024) (recommended); - when set to a value less than 0, an - * invalid parameter error is returned; + *

If not set, the page length is set to a server configured value (10000, as of 1/29/2024). + * + *

    + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value (10000, as of 1/29/2024); + *
  • when set to 0, the page length is set to a server configured value (10000, as of + * 1/29/2024) (recommended); + *
  • when set to a value less than 0, an invalid parameter error is returned; + *
* *

Note: this parameter controls only the maximum number of volumes to return. The actual * number of volumes returned in a page may be smaller than this value, including 0, even if there diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListVolumesResponseContent.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListVolumesResponseContent.java index 2df7aebe6..12ac997d9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListVolumesResponseContent.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListVolumesResponseContent.java @@ -12,7 +12,7 @@ public class ListVolumesResponseContent { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request to retrieve the next page of + * page_token should be set to this value for the next request to retrieve the next page of * results. */ @JsonProperty("next_page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoreInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoreInfo.java index 2a4d57758..84660d411 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoreInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoreInfo.java @@ -9,7 +9,7 @@ @Generated public class MetastoreInfo { - /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */ + /** Cloud vendor of the metastore home shard (e.g., {@code aws}, {@code azure}, {@code gcp}). */ @JsonProperty("cloud") private String cloud; @@ -45,8 +45,8 @@ public class MetastoreInfo { private Boolean externalAccessEnabled; /** - * Globally unique metastore ID across clouds and regions, of the form - * `cloud:region:metastore_id`. + * Globally unique metastore ID across clouds and regions, of the form {@code + * cloud:region:metastore_id}. */ @JsonProperty("global_metastore_id") private String globalMetastoreId; @@ -63,11 +63,13 @@ public class MetastoreInfo { @JsonProperty("owner") private String owner; - /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */ + /** + * Privilege model version of the metastore, of the form {@code major.minor} (e.g., {@code 1.0}). + */ @JsonProperty("privilege_model_version") private String privilegeModelVersion; - /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */ + /** Cloud region which the metastore serves (e.g., {@code us-west-2}, {@code westus}). */ @JsonProperty("region") private String region; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoresAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoresAPI.java index 4704e9712..16680cdac 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoresAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoresAPI.java @@ -37,9 +37,9 @@ public MetastoresAPI(MetastoresService mock) { } /** - * Creates a new metastore assignment. If an assignment for the same __workspace_id__ exists, it - * will be overwritten by the new __metastore_id__ and __default_catalog_name__. The caller must - * be an account admin. + * Creates a new metastore assignment. If an assignment for the same workspace_id exists, + * it will be overwritten by the new metastore_id and default_catalog_name. The + * caller must be an account admin. */ public void assign(CreateMetastoreAssignment request) { impl.assign(request); @@ -47,9 +47,9 @@ public void assign(CreateMetastoreAssignment request) { /** * Creates a new metastore based on a provided name and optional storage root path. By default (if - * the __owner__ field is not set), the owner of the new metastore is the user calling the - * __createMetastore__ API. If the __owner__ field is set to the empty string (**""**), the - * ownership is assigned to the System User instead. + * the owner field is not set), the owner of the new metastore is the user calling the + * createMetastore API. If the owner field is set to the empty string (""), + * the ownership is assigned to the System User instead. */ public MetastoreInfo create(CreateMetastore request) { return impl.create(request); @@ -82,14 +82,14 @@ public MetastoreInfo get(GetMetastoreRequest request) { } /** - * Gets an array of the available metastores (as __MetastoreInfo__ objects). The caller must be an - * admin to retrieve this info. There is no guarantee of a specific ordering of the elements in + * Gets an array of the available metastores (as MetastoreInfo objects). The caller must be + * an admin to retrieve this info. There is no guarantee of a specific ordering of the elements in * the array. * *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. @@ -131,17 +131,17 @@ public void unassign(UnassignRequest request) { /** * Updates information for a specific metastore. The caller must be a metastore admin. If the - * __owner__ field is set to the empty string (**""**), the ownership is updated to the System - * User. + * owner field is set to the empty string (""), the ownership is updated to the + * System User. */ public MetastoreInfo update(UpdateMetastore request) { return impl.update(request); } /** - * Updates a metastore assignment. This operation can be used to update __metastore_id__ or - * __default_catalog_name__ for a specified Workspace, if the Workspace is already assigned a - * metastore. The caller must be an account admin to update __metastore_id__; otherwise, the + * Updates a metastore assignment. This operation can be used to update metastore_id or + * default_catalog_name for a specified Workspace, if the Workspace is already assigned a + * metastore. The caller must be an account admin to update metastore_id; otherwise, the * caller can be a Workspace admin. */ public void updateAssignment(UpdateMetastoreAssignment request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoresService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoresService.java index 7efb89b22..dc4763977 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoresService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MetastoresService.java @@ -23,17 +23,17 @@ @Generated public interface MetastoresService { /** - * Creates a new metastore assignment. If an assignment for the same __workspace_id__ exists, it - * will be overwritten by the new __metastore_id__ and __default_catalog_name__. The caller must - * be an account admin. + * Creates a new metastore assignment. If an assignment for the same workspace_id exists, + * it will be overwritten by the new metastore_id and default_catalog_name. The + * caller must be an account admin. */ void assign(CreateMetastoreAssignment createMetastoreAssignment); /** * Creates a new metastore based on a provided name and optional storage root path. By default (if - * the __owner__ field is not set), the owner of the new metastore is the user calling the - * __createMetastore__ API. If the __owner__ field is set to the empty string (**""**), the - * ownership is assigned to the System User instead. + * the owner field is not set), the owner of the new metastore is the user calling the + * createMetastore API. If the owner field is set to the empty string (""), + * the ownership is assigned to the System User instead. */ MetastoreInfo create(CreateMetastore createMetastore); @@ -50,14 +50,14 @@ public interface MetastoresService { MetastoreInfo get(GetMetastoreRequest getMetastoreRequest); /** - * Gets an array of the available metastores (as __MetastoreInfo__ objects). The caller must be an - * admin to retrieve this info. There is no guarantee of a specific ordering of the elements in + * Gets an array of the available metastores (as MetastoreInfo objects). The caller must be + * an admin to retrieve this info. There is no guarantee of a specific ordering of the elements in * the array. * *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. @@ -75,15 +75,15 @@ public interface MetastoresService { /** * Updates information for a specific metastore. The caller must be a metastore admin. If the - * __owner__ field is set to the empty string (**""**), the ownership is updated to the System - * User. + * owner field is set to the empty string (""), the ownership is updated to the + * System User. */ MetastoreInfo update(UpdateMetastore updateMetastore); /** - * Updates a metastore assignment. This operation can be used to update __metastore_id__ or - * __default_catalog_name__ for a specified Workspace, if the Workspace is already assigned a - * metastore. The caller must be an account admin to update __metastore_id__; otherwise, the + * Updates a metastore assignment. This operation can be used to update metastore_id or + * default_catalog_name for a specified Workspace, if the Workspace is already assigned a + * metastore. The caller must be an account admin to update metastore_id; otherwise, the * caller can be a Workspace admin. */ void updateAssignment(UpdateMetastoreAssignment updateMetastoreAssignment); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionInfo.java index dd2cc00b9..f1017aac3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionInfo.java @@ -47,7 +47,7 @@ public class ModelVersionInfo { private DependencyList modelVersionDependencies; /** - * MLflow run ID used when creating the model version, if ``source`` was generated by an + * MLflow run ID used when creating the model version, if {@code source} was generated by an * experiment run stored in an MLflow tracking server */ @JsonProperty("run_id") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsAPI.java index f59ca853e..b59a62fc1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsAPI.java @@ -13,7 +13,8 @@ * Databricks workspaces. * *

This API reference documents the REST endpoints for managing model versions in Unity Catalog. - * For more details, see the [registered models API docs](/api/workspace/registeredmodels). + * For more details, see the registered models API + * docs. */ @Generated public class ModelVersionsAPI { @@ -40,8 +41,8 @@ public void delete(String fullName, long version) { * version will also be deleted. * *

The caller must be a metastore admin or an owner of the parent registered model. For the - * latter case, the caller must also be the owner or have the **USE_CATALOG** privilege on the - * parent catalog and the **USE_SCHEMA** privilege on the parent schema. + * latter case, the caller must also be the owner or have the USE_CATALOG privilege on the + * parent catalog and the USE_SCHEMA privilege on the parent schema. */ public void delete(DeleteModelVersionRequest request) { impl.delete(request); @@ -54,10 +55,10 @@ public ModelVersionInfo get(String fullName, long version) { /** * Get a model version. * - *

The caller must be a metastore admin or an owner of (or have the **EXECUTE** privilege on) - * the parent registered model. For the latter case, the caller must also be the owner or have the - * **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent - * schema. + *

The caller must be a metastore admin or an owner of (or have the EXECUTE privilege + * on) the parent registered model. For the latter case, the caller must also be the owner or have + * the USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on + * the parent schema. */ public ModelVersionInfo get(GetModelVersionRequest request) { return impl.get(request); @@ -70,10 +71,10 @@ public ModelVersionInfo getByAlias(String fullName, String alias) { /** * Get a model version by alias. * - *

The caller must be a metastore admin or an owner of (or have the **EXECUTE** privilege on) - * the registered model. For the latter case, the caller must also be the owner or have the - * **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent - * schema. + *

The caller must be a metastore admin or an owner of (or have the EXECUTE privilege + * on) the registered model. For the latter case, the caller must also be the owner or have the + * USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on the + * parent schema. */ public ModelVersionInfo getByAlias(GetByAliasRequest request) { return impl.getByAlias(request); @@ -89,10 +90,10 @@ public Iterable list(String fullName) { * *

The returned models are filtered based on the privileges of the calling user. For example, * the metastore admin is able to list all the model versions. A regular user needs to be the - * owner or have the **EXECUTE** privilege on the parent registered model to recieve the model + * owner or have the EXECUTE privilege on the parent registered model to recieve the model * versions in the response. For the latter case, the caller must also be the owner or have the - * **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent - * schema. + * USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on the + * parent schema. * *

There is no guarantee of a specific ordering of the elements in the response. The elements * in the response will not contain any aliases or tags. @@ -119,8 +120,8 @@ public Iterable list(ListModelVersionsRequest request) { * Updates the specified model version. * *

The caller must be a metastore admin or an owner of the parent registered model. For the - * latter case, the caller must also be the owner or have the **USE_CATALOG** privilege on the - * parent catalog and the **USE_SCHEMA** privilege on the parent schema. + * latter case, the caller must also be the owner or have the USE_CATALOG privilege on the + * parent catalog and the USE_SCHEMA privilege on the parent schema. * *

Currently only the comment of the model version can be updated. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsService.java index 0fc7c97d5..2f54d9c19 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsService.java @@ -9,7 +9,8 @@ * Databricks workspaces. * *

This API reference documents the REST endpoints for managing model versions in Unity Catalog. - * For more details, see the [registered models API docs](/api/workspace/registeredmodels). + * For more details, see the registered models API + * docs. * *

This is the high-level interface, that contains generated methods. * @@ -22,28 +23,28 @@ public interface ModelVersionsService { * version will also be deleted. * *

The caller must be a metastore admin or an owner of the parent registered model. For the - * latter case, the caller must also be the owner or have the **USE_CATALOG** privilege on the - * parent catalog and the **USE_SCHEMA** privilege on the parent schema. + * latter case, the caller must also be the owner or have the USE_CATALOG privilege on the + * parent catalog and the USE_SCHEMA privilege on the parent schema. */ void delete(DeleteModelVersionRequest deleteModelVersionRequest); /** * Get a model version. * - *

The caller must be a metastore admin or an owner of (or have the **EXECUTE** privilege on) - * the parent registered model. For the latter case, the caller must also be the owner or have the - * **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent - * schema. + *

The caller must be a metastore admin or an owner of (or have the EXECUTE privilege + * on) the parent registered model. For the latter case, the caller must also be the owner or have + * the USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on + * the parent schema. */ ModelVersionInfo get(GetModelVersionRequest getModelVersionRequest); /** * Get a model version by alias. * - *

The caller must be a metastore admin or an owner of (or have the **EXECUTE** privilege on) - * the registered model. For the latter case, the caller must also be the owner or have the - * **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent - * schema. + *

The caller must be a metastore admin or an owner of (or have the EXECUTE privilege + * on) the registered model. For the latter case, the caller must also be the owner or have the + * USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on the + * parent schema. */ ModelVersionInfo getByAlias(GetByAliasRequest getByAliasRequest); @@ -53,10 +54,10 @@ public interface ModelVersionsService { * *

The returned models are filtered based on the privileges of the calling user. For example, * the metastore admin is able to list all the model versions. A regular user needs to be the - * owner or have the **EXECUTE** privilege on the parent registered model to recieve the model + * owner or have the EXECUTE privilege on the parent registered model to recieve the model * versions in the response. For the latter case, the caller must also be the owner or have the - * **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent - * schema. + * USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on the + * parent schema. * *

There is no guarantee of a specific ordering of the elements in the response. The elements * in the response will not contain any aliases or tags. @@ -71,8 +72,8 @@ public interface ModelVersionsService { * Updates the specified model version. * *

The caller must be a metastore admin or an owner of the parent registered model. For the - * latter case, the caller must also be the owner or have the **USE_CATALOG** privilege on the - * parent catalog and the **USE_SCHEMA** privilege on the parent schema. + * latter case, the caller must also be the owner or have the USE_CATALOG privilege on the + * parent catalog and the USE_SCHEMA privilege on the parent schema. * *

Currently only the comment of the model version can be updated. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorCronSchedule.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorCronSchedule.java index 44023d6ad..fae658da1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorCronSchedule.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorCronSchedule.java @@ -14,15 +14,13 @@ public class MonitorCronSchedule { private MonitorCronSchedulePauseStatus pauseStatus; /** - * The expression that determines when to run the monitor. See [examples]. - * - *

[examples]: - * https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html + * The expression that determines when to run the monitor. See examples. */ @JsonProperty("quartz_cron_expression") private String quartzCronExpression; - /** The timezone id (e.g., ``PST``) in which to evaluate the quartz expression. */ + /** The timezone id (e.g., {@code PST}) in which to evaluate the quartz expression. */ @JsonProperty("timezone_id") private String timezoneId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorInfo.java index d906f7dc4..d67315cfc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorInfo.java @@ -20,8 +20,8 @@ public class MonitorInfo { /** * [Create:OPT Update:OPT] Baseline table name. Baseline data is used to compute drift from the - * data in the monitored `table_name`. The baseline table and the monitored table shall have the - * same schema. + * data in the monitored {@code table_name}. The baseline table and the monitored table shall have + * the same schema. */ @JsonProperty("baseline_table_name") private String baselineTableName; @@ -42,8 +42,8 @@ public class MonitorInfo { private MonitorDataClassificationConfig dataClassificationConfig; /** - * [Create:ERR Update:IGN] Table that stores drift metrics data. Format: - * `catalog.schema.table_name`. + * [Create:ERR Update:IGN] Table that stores drift metrics data. Format: {@code + * catalog.schema.table_name}. */ @JsonProperty("drift_metrics_table_name") private String driftMetricsTableName; @@ -76,8 +76,8 @@ public class MonitorInfo { private String outputSchemaName; /** - * [Create:ERR Update:IGN] Table that stores profile metrics data. Format: - * `catalog.schema.table_name`. + * [Create:ERR Update:IGN] Table that stores profile metrics data. Format: {@code + * catalog.schema.table_name}. */ @JsonProperty("profile_metrics_table_name") private String profileMetricsTableName; @@ -89,10 +89,10 @@ public class MonitorInfo { /** * [Create:OPT Update:OPT] List of column expressions to slice data with for targeted analysis. * The data is grouped by each expression independently, resulting in a separate slice for each - * predicate and its complements. For example `slicing_exprs=[“col_1”, “col_2 > 10”]` will - * generate the following slices: two slices for `col_2 > 10` (True and False), and one slice per - * unique value in `col1`. For high-cardinality columns, only the top 100 unique values by - * frequency will generate slices. + * predicate and its complements. For example {@code slicing_exprs=[“col_1”, “col_2 > 10”]} will + * generate the following slices: two slices for {@code col_2 > 10} (True and False), and one + * slice per unique value in {@code col1}. For high-cardinality columns, only the top 100 unique + * values by frequency will generate slices. */ @JsonProperty("slicing_exprs") private Collection slicingExprs; @@ -105,7 +105,7 @@ public class MonitorInfo { @JsonProperty("status") private MonitorInfoStatus status; - /** [Create:ERR Update:IGN] UC table to monitor. Format: `catalog.schema.table_name` */ + /** [Create:ERR Update:IGN] UC table to monitor. Format: {@code catalog.schema.table_name} */ @JsonProperty("table_name") private String tableName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorMetric.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorMetric.java index 6326c2188..6c6ca18bc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorMetric.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorMetric.java @@ -12,18 +12,16 @@ @Generated public class MonitorMetric { /** - * Jinja template for a SQL expression that specifies how to compute the metric. See [create - * metric definition]. - * - *

[create metric definition]: - * https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition + * Jinja template for a SQL expression that specifies how to compute the metric. See create + * metric definition. */ @JsonProperty("definition") private String definition; /** - * A list of column names in the input table the metric should be computed for. Can use - * ``":table"`` to indicate that the metric needs information from multiple columns. + * A list of column names in the input table the metric should be computed for. Can use {@code + * ":table"} to indicate that the metric needs information from multiple columns. */ @JsonProperty("input_columns") private Collection inputColumns; @@ -37,13 +35,17 @@ public class MonitorMetric { private String outputDataType; /** - * Can only be one of ``"CUSTOM_METRIC_TYPE_AGGREGATE"``, ``"CUSTOM_METRIC_TYPE_DERIVED"``, or - * ``"CUSTOM_METRIC_TYPE_DRIFT"``. The ``"CUSTOM_METRIC_TYPE_AGGREGATE"`` and - * ``"CUSTOM_METRIC_TYPE_DERIVED"`` metrics are computed on a single table, whereas the - * ``"CUSTOM_METRIC_TYPE_DRIFT"`` compare metrics across baseline and input table, or across the - * two consecutive time windows. - CUSTOM_METRIC_TYPE_AGGREGATE: only depend on the existing - * columns in your table - CUSTOM_METRIC_TYPE_DERIVED: depend on previously computed aggregate - * metrics - CUSTOM_METRIC_TYPE_DRIFT: depend on previously computed aggregate or derived metrics + * Can only be one of {@code "CUSTOM_METRIC_TYPE_AGGREGATE"}, {@code + * "CUSTOM_METRIC_TYPE_DERIVED"}, or {@code "CUSTOM_METRIC_TYPE_DRIFT"}. The {@code + * "CUSTOM_METRIC_TYPE_AGGREGATE"} and {@code "CUSTOM_METRIC_TYPE_DERIVED"} metrics are computed + * on a single table, whereas the {@code "CUSTOM_METRIC_TYPE_DRIFT"} compare metrics across + * baseline and input table, or across the two consecutive time windows. + * + *

    + *
  • CUSTOM_METRIC_TYPE_AGGREGATE: only depend on the existing columns in your table + *
  • CUSTOM_METRIC_TYPE_DERIVED: depend on previously computed aggregate metrics + *
  • CUSTOM_METRIC_TYPE_DRIFT: depend on previously computed aggregate or derived metrics + *
*/ @JsonProperty("type") private MonitorMetricType typeValue; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorMetricType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorMetricType.java index bfce08e24..4a9b6e695 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorMetricType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorMetricType.java @@ -5,13 +5,17 @@ import com.databricks.sdk.support.Generated; /** - * Can only be one of ``\"CUSTOM_METRIC_TYPE_AGGREGATE\"``, ``\"CUSTOM_METRIC_TYPE_DERIVED\"``, or - * ``\"CUSTOM_METRIC_TYPE_DRIFT\"``. The ``\"CUSTOM_METRIC_TYPE_AGGREGATE\"`` and - * ``\"CUSTOM_METRIC_TYPE_DERIVED\"`` metrics are computed on a single table, whereas the - * ``\"CUSTOM_METRIC_TYPE_DRIFT\"`` compare metrics across baseline and input table, or across the - * two consecutive time windows. - CUSTOM_METRIC_TYPE_AGGREGATE: only depend on the existing columns - * in your table - CUSTOM_METRIC_TYPE_DERIVED: depend on previously computed aggregate metrics - - * CUSTOM_METRIC_TYPE_DRIFT: depend on previously computed aggregate or derived metrics + * Can only be one of {@code \"CUSTOM_METRIC_TYPE_AGGREGATE\"}, {@code + * \"CUSTOM_METRIC_TYPE_DERIVED\"}, or {@code \"CUSTOM_METRIC_TYPE_DRIFT\"}. The {@code + * \"CUSTOM_METRIC_TYPE_AGGREGATE\"} and {@code \"CUSTOM_METRIC_TYPE_DERIVED\"} metrics are computed + * on a single table, whereas the {@code \"CUSTOM_METRIC_TYPE_DRIFT\"} compare metrics across + * baseline and input table, or across the two consecutive time windows. + * + *
    + *
  • CUSTOM_METRIC_TYPE_AGGREGATE: only depend on the existing columns in your table + *
  • CUSTOM_METRIC_TYPE_DERIVED: depend on previously computed aggregate metrics + *
  • CUSTOM_METRIC_TYPE_DRIFT: depend on previously computed aggregate or derived metrics + *
*/ @Generated public enum MonitorMetricType { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorTimeSeries.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorTimeSeries.java index f43299aec..a06a78dad 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorTimeSeries.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorTimeSeries.java @@ -13,8 +13,9 @@ public class MonitorTimeSeries { /** * Granularities for aggregating data into time windows based on their timestamp. Currently the - * following static granularities are supported: {``\"5 minutes\"``, ``\"30 minutes\"``, ``\"1 - * hour\"``, ``\"1 day\"``, ``\"\u003cn\u003e week(s)\"``, ``\"1 month\"``, ``\"1 year\"``}. + * following static granularities are supported: {{@code \"5 minutes\"}, {@code \"30 minutes\"}, + * {@code \"1 hour\"}, {@code \"1 day\"}, {@code \"\u003cn\u003e week(s)\"}, {@code \"1 month\"}, + * {@code \"1 year\"}}. */ @JsonProperty("granularities") private Collection granularities; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/NotificationDestination.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/NotificationDestination.java index 573230127..b62a25b60 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/NotificationDestination.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/NotificationDestination.java @@ -26,7 +26,7 @@ public class NotificationDestination { * object. The special destination cannot be assigned to a securable and only represents the * default destination of the securable. The securable types that support default special * destinations are: "catalog", "external_location", "connection", "credential", and "metastore". - * The **destination_type** of a **special_destination** is always EMAIL. + * The destination_type of a special_destination is always EMAIL. */ @JsonProperty("special_destination") private SpecialDestination specialDestination; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PoliciesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PoliciesAPI.java index 1bfa8d190..25d8fa592 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PoliciesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PoliciesAPI.java @@ -12,8 +12,8 @@ * policies in Unity Catalog. With ABAC policies, access is controlled in a hierarchical and * scalable manner, based on data attributes rather than specific resources, enabling more flexible * and comprehensive access control. ABAC policies in Unity Catalog support conditions on securable - * properties, governance tags, and environment contexts. Callers must have the `MANAGE` privilege - * on a securable to view, create, update, or delete ABAC policies. + * properties, governance tags, and environment contexts. Callers must have the {@code MANAGE} + * privilege on a securable to view, create, update, or delete ABAC policies. */ @Generated public class PoliciesAPI { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PoliciesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PoliciesService.java index 43f7871e9..53718c1a2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PoliciesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PoliciesService.java @@ -8,8 +8,8 @@ * policies in Unity Catalog. With ABAC policies, access is controlled in a hierarchical and * scalable manner, based on data attributes rather than specific resources, enabling more flexible * and comprehensive access control. ABAC policies in Unity Catalog support conditions on securable - * properties, governance tags, and environment contexts. Callers must have the `MANAGE` privilege - * on a securable to view, create, update, or delete ABAC policies. + * properties, governance tags, and environment contexts. Callers must have the {@code MANAGE} + * privilege on a securable to view, create, update, or delete ABAC policies. * *

This is the high-level interface, that contains generated methods. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PolicyInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PolicyInfo.java index d24d09501..a780916ee 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PolicyInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PolicyInfo.java @@ -11,9 +11,9 @@ @Generated public class PolicyInfo { /** - * Options for column mask policies. Valid only if `policy_type` is `POLICY_TYPE_COLUMN_MASK`. - * Required on create and optional on update. When specified on update, the new options will - * replace the existing options as a whole. + * Options for column mask policies. Valid only if {@code policy_type} is {@code + * POLICY_TYPE_COLUMN_MASK}. Required on create and optional on update. When specified on update, + * the new options will replace the existing options as a whole. */ @JsonProperty("column_mask") private ColumnMaskOptions columnMask; @@ -35,8 +35,8 @@ public class PolicyInfo { private Collection exceptPrincipals; /** - * Type of securables that the policy should take effect on. Only `TABLE` is supported at this - * moment. Required on create and optional on update. + * Type of securables that the policy should take effect on. Only {@code TABLE} is supported at + * this moment. Required on create and optional on update. */ @JsonProperty("for_securable_type") private SecurableType forSecurableType; @@ -46,16 +46,16 @@ public class PolicyInfo { private String id; /** - * Optional list of condition expressions used to match table columns. Only valid when - * `for_securable_type` is `TABLE`. When specified, the policy only applies to tables whose + * Optional list of condition expressions used to match table columns. Only valid when {@code + * for_securable_type} is {@code TABLE}. When specified, the policy only applies to tables whose * columns satisfy all match conditions. */ @JsonProperty("match_columns") private Collection matchColumns; /** - * Name of the policy. Required on create and optional on update. To rename the policy, set `name` - * to a different value on update. + * Name of the policy. Required on create and optional on update. To rename the policy, set {@code + * name} to a different value on update. */ @JsonProperty("name") private String name; @@ -65,8 +65,8 @@ public class PolicyInfo { private String onSecurableFullname; /** - * Type of the securable on which the policy is defined. Only `CATALOG`, `SCHEMA` and `TABLE` are - * supported at this moment. Required on create. + * Type of the securable on which the policy is defined. Only {@code CATALOG}, {@code SCHEMA} and + * {@code TABLE} are supported at this moment. Required on create. */ @JsonProperty("on_securable_type") private SecurableType onSecurableType; @@ -76,9 +76,9 @@ public class PolicyInfo { private PolicyType policyType; /** - * Options for row filter policies. Valid only if `policy_type` is `POLICY_TYPE_ROW_FILTER`. - * Required on create and optional on update. When specified on update, the new options will - * replace the existing options as a whole. + * Options for row filter policies. Valid only if {@code policy_type} is {@code + * POLICY_TYPE_ROW_FILTER}. Required on create and optional on update. When specified on update, + * the new options will replace the existing options as a whole. */ @JsonProperty("row_filter") private RowFilterOptions rowFilter; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PrivilegeAssignment.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PrivilegeAssignment.java index 3781e98f5..af883930b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PrivilegeAssignment.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PrivilegeAssignment.java @@ -11,8 +11,8 @@ @Generated public class PrivilegeAssignment { /** - * The principal (user email address or group name). For deleted principals, `principal` is empty - * while `principal_id` is populated. + * The principal (user email address or group name). For deleted principals, {@code principal} is + * empty while {@code principal_id} is populated. */ @JsonProperty("principal") private String principal; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsAPI.java index 2106eeba9..34d12016b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsAPI.java @@ -14,8 +14,8 @@ * generates metrics tables and a dashboard that you can use to monitor table health and set alerts. * Most write operations require the user to be the owner of the table (or its parent schema or * parent catalog). Viewing the dashboard, computed metrics, or monitor configuration only requires - * the user to have **SELECT** privileges on the table (along with **USE_SCHEMA** and - * **USE_CATALOG**). + * the user to have SELECT privileges on the table (along with USE_SCHEMA and + * USE_CATALOG). */ @Generated public class QualityMonitorsAPI { @@ -45,11 +45,21 @@ public void cancelRefresh(CancelRefreshRequest request) { * Deprecated: Use Data Quality Monitors API instead (/api/data-quality/v1/monitors). Creates a * new monitor for the specified table. * - *

The caller must either: 1. be an owner of the table's parent catalog, have **USE_SCHEMA** on - * the table's parent schema, and have **SELECT** access on the table 2. have **USE_CATALOG** on - * the table's parent catalog, be an owner of the table's parent schema, and have **SELECT** - * access on the table. 3. have the following permissions: - **USE_CATALOG** on the table's parent - * catalog - **USE_SCHEMA** on the table's parent schema - be an owner of the table. + *

The caller must either: + * + *

    + *
  1. be an owner of the table's parent catalog, have USE_SCHEMA on the table's parent + * schema, and have SELECT access on the table + *
  2. have USE_CATALOG on the table's parent catalog, be an owner of the table's parent + * schema, and have SELECT access on the table. + *
  3. have the following permissions: + *
+ * + *
    + *
  • USE_CATALOG on the table's parent catalog + *
  • USE_SCHEMA on the table's parent schema + *
  • be an owner of the table. + *
* *

Workspace assets, such as the dashboard, will be created in the workspace where this call * was made. @@ -66,10 +76,20 @@ public DeleteMonitorResponse delete(String tableName) { * Deprecated: Use Data Quality Monitors API instead (/api/data-quality/v1/monitors). Deletes a * monitor for the specified table. * - *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** - * on the table's parent catalog and be an owner of the table's parent schema 3. have the - * following permissions: - **USE_CATALOG** on the table's parent catalog - **USE_SCHEMA** on the - * table's parent schema - be an owner of the table. + *

The caller must either: + * + *

    + *
  1. be an owner of the table's parent catalog + *
  2. have USE_CATALOG on the table's parent catalog and be an owner of the table's + * parent schema + *
  3. have the following permissions: + *
+ * + *
    + *
  • USE_CATALOG on the table's parent catalog + *
  • USE_SCHEMA on the table's parent schema + *
  • be an owner of the table. + *
* *

Additionally, the call must be made from the workspace where the monitor was created. * @@ -88,10 +108,20 @@ public MonitorInfo get(String tableName) { * Deprecated: Use Data Quality Monitors API instead (/api/data-quality/v1/monitors). Gets a * monitor for the specified table. * - *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** - * on the table's parent catalog and be an owner of the table's parent schema. 3. have the - * following permissions: - **USE_CATALOG** on the table's parent catalog - **USE_SCHEMA** on the - * table's parent schema - **SELECT** privilege on the table. + *

The caller must either: + * + *

    + *
  1. be an owner of the table's parent catalog + *
  2. have USE_CATALOG on the table's parent catalog and be an owner of the table's + * parent schema. + *
  3. have the following permissions: + *
+ * + *
    + *
  • USE_CATALOG on the table's parent catalog + *
  • USE_SCHEMA on the table's parent schema + *
  • SELECT privilege on the table. + *
* *

The returned information includes configuration values, as well as information on assets * created by the monitor. Some information (e.g., dashboard) may be filtered out if the caller is @@ -109,10 +139,20 @@ public MonitorRefreshInfo getRefresh(String tableName, long refreshId) { * Deprecated: Use Data Quality Monitors API instead (/api/data-quality/v1/monitors). Gets info * about a specific monitor refresh using the given refresh ID. * - *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** - * on the table's parent catalog and be an owner of the table's parent schema 3. have the - * following permissions: - **USE_CATALOG** on the table's parent catalog - **USE_SCHEMA** on the - * table's parent schema - **SELECT** privilege on the table. + *

The caller must either: + * + *

    + *
  1. be an owner of the table's parent catalog + *
  2. have USE_CATALOG on the table's parent catalog and be an owner of the table's + * parent schema + *
  3. have the following permissions: + *
+ * + *
    + *
  • USE_CATALOG on the table's parent catalog + *
  • USE_SCHEMA on the table's parent schema + *
  • SELECT privilege on the table. + *
* *

Additionally, the call must be made from the workspace where the monitor was created. */ @@ -128,10 +168,20 @@ public MonitorRefreshListResponse listRefreshes(String tableName) { * Deprecated: Use Data Quality Monitors API instead (/api/data-quality/v1/monitors). Gets an * array containing the history of the most recent refreshes (up to 25) for this table. * - *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** - * on the table's parent catalog and be an owner of the table's parent schema 3. have the - * following permissions: - **USE_CATALOG** on the table's parent catalog - **USE_SCHEMA** on the - * table's parent schema - **SELECT** privilege on the table. + *

The caller must either: + * + *

    + *
  1. be an owner of the table's parent catalog + *
  2. have USE_CATALOG on the table's parent catalog and be an owner of the table's + * parent schema + *
  3. have the following permissions: + *
+ * + *
    + *
  • USE_CATALOG on the table's parent catalog + *
  • USE_SCHEMA on the table's parent schema + *
  • SELECT privilege on the table. + *
* *

Additionally, the call must be made from the workspace where the monitor was created. */ @@ -143,10 +193,20 @@ public MonitorRefreshListResponse listRefreshes(ListRefreshesRequest request) { * Deprecated: Use Data Quality Monitors API instead (/api/data-quality/v1/monitors). Regenerates * the monitoring dashboard for the specified table. * - *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** - * on the table's parent catalog and be an owner of the table's parent schema 3. have the - * following permissions: - **USE_CATALOG** on the table's parent catalog - **USE_SCHEMA** on the - * table's parent schema - be an owner of the table + *

The caller must either: + * + *

    + *
  1. be an owner of the table's parent catalog + *
  2. have USE_CATALOG on the table's parent catalog and be an owner of the table's + * parent schema + *
  3. have the following permissions: + *
+ * + *
    + *
  • USE_CATALOG on the table's parent catalog + *
  • USE_SCHEMA on the table's parent schema + *
  • be an owner of the table + *
* *

The call must be made from the workspace where the monitor was created. The dashboard will * be regenerated in the assets directory that was specified when the monitor was created. @@ -160,10 +220,20 @@ public RegenerateDashboardResponse regenerateDashboard(RegenerateDashboardReques * metric refresh on the monitor for the specified table. The refresh will execute in the * background. * - *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** - * on the table's parent catalog and be an owner of the table's parent schema 3. have the - * following permissions: - **USE_CATALOG** on the table's parent catalog - **USE_SCHEMA** on the - * table's parent schema - be an owner of the table + *

The caller must either: + * + *

    + *
  1. be an owner of the table's parent catalog + *
  2. have USE_CATALOG on the table's parent catalog and be an owner of the table's + * parent schema + *
  3. have the following permissions: + *
+ * + *
    + *
  • USE_CATALOG on the table's parent catalog + *
  • USE_SCHEMA on the table's parent schema + *
  • be an owner of the table + *
* *

Additionally, the call must be made from the workspace where the monitor was created. */ @@ -175,10 +245,20 @@ public MonitorRefreshInfo runRefresh(RunRefreshRequest request) { * Deprecated: Use Data Quality Monitors API instead (/api/data-quality/v1/monitors). Updates a * monitor for the specified table. * - *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** - * on the table's parent catalog and be an owner of the table's parent schema 3. have the - * following permissions: - **USE_CATALOG** on the table's parent catalog - **USE_SCHEMA** on the - * table's parent schema - be an owner of the table. + *

The caller must either: + * + *

    + *
  1. be an owner of the table's parent catalog + *
  2. have USE_CATALOG on the table's parent catalog and be an owner of the table's + * parent schema + *
  3. have the following permissions: + *
+ * + *
    + *
  • USE_CATALOG on the table's parent catalog + *
  • USE_SCHEMA on the table's parent schema + *
  • be an owner of the table. + *
* *

Additionally, the call must be made from the workspace where the monitor was created, and * the caller must be the original creator of the monitor. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsService.java index a98c3fc58..1f0b18b00 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsService.java @@ -11,8 +11,8 @@ * generates metrics tables and a dashboard that you can use to monitor table health and set alerts. * Most write operations require the user to be the owner of the table (or its parent schema or * parent catalog). Viewing the dashboard, computed metrics, or monitor configuration only requires - * the user to have **SELECT** privileges on the table (along with **USE_SCHEMA** and - * **USE_CATALOG**). + * the user to have SELECT privileges on the table (along with USE_SCHEMA and + * USE_CATALOG). * *

This is the high-level interface, that contains generated methods. * @@ -30,11 +30,21 @@ public interface QualityMonitorsService { * Deprecated: Use Data Quality Monitors API instead (/api/data-quality/v1/monitors). Creates a * new monitor for the specified table. * - *

The caller must either: 1. be an owner of the table's parent catalog, have **USE_SCHEMA** on - * the table's parent schema, and have **SELECT** access on the table 2. have **USE_CATALOG** on - * the table's parent catalog, be an owner of the table's parent schema, and have **SELECT** - * access on the table. 3. have the following permissions: - **USE_CATALOG** on the table's parent - * catalog - **USE_SCHEMA** on the table's parent schema - be an owner of the table. + *

The caller must either: + * + *

    + *
  1. be an owner of the table's parent catalog, have USE_SCHEMA on the table's parent + * schema, and have SELECT access on the table + *
  2. have USE_CATALOG on the table's parent catalog, be an owner of the table's parent + * schema, and have SELECT access on the table. + *
  3. have the following permissions: + *
+ * + *
    + *
  • USE_CATALOG on the table's parent catalog + *
  • USE_SCHEMA on the table's parent schema + *
  • be an owner of the table. + *
* *

Workspace assets, such as the dashboard, will be created in the workspace where this call * was made. @@ -45,10 +55,20 @@ public interface QualityMonitorsService { * Deprecated: Use Data Quality Monitors API instead (/api/data-quality/v1/monitors). Deletes a * monitor for the specified table. * - *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** - * on the table's parent catalog and be an owner of the table's parent schema 3. have the - * following permissions: - **USE_CATALOG** on the table's parent catalog - **USE_SCHEMA** on the - * table's parent schema - be an owner of the table. + *

The caller must either: + * + *

    + *
  1. be an owner of the table's parent catalog + *
  2. have USE_CATALOG on the table's parent catalog and be an owner of the table's + * parent schema + *
  3. have the following permissions: + *
+ * + *
    + *
  • USE_CATALOG on the table's parent catalog + *
  • USE_SCHEMA on the table's parent schema + *
  • be an owner of the table. + *
* *

Additionally, the call must be made from the workspace where the monitor was created. * @@ -61,10 +81,20 @@ public interface QualityMonitorsService { * Deprecated: Use Data Quality Monitors API instead (/api/data-quality/v1/monitors). Gets a * monitor for the specified table. * - *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** - * on the table's parent catalog and be an owner of the table's parent schema. 3. have the - * following permissions: - **USE_CATALOG** on the table's parent catalog - **USE_SCHEMA** on the - * table's parent schema - **SELECT** privilege on the table. + *

The caller must either: + * + *

    + *
  1. be an owner of the table's parent catalog + *
  2. have USE_CATALOG on the table's parent catalog and be an owner of the table's + * parent schema. + *
  3. have the following permissions: + *
+ * + *
    + *
  • USE_CATALOG on the table's parent catalog + *
  • USE_SCHEMA on the table's parent schema + *
  • SELECT privilege on the table. + *
* *

The returned information includes configuration values, as well as information on assets * created by the monitor. Some information (e.g., dashboard) may be filtered out if the caller is @@ -76,10 +106,20 @@ public interface QualityMonitorsService { * Deprecated: Use Data Quality Monitors API instead (/api/data-quality/v1/monitors). Gets info * about a specific monitor refresh using the given refresh ID. * - *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** - * on the table's parent catalog and be an owner of the table's parent schema 3. have the - * following permissions: - **USE_CATALOG** on the table's parent catalog - **USE_SCHEMA** on the - * table's parent schema - **SELECT** privilege on the table. + *

The caller must either: + * + *

    + *
  1. be an owner of the table's parent catalog + *
  2. have USE_CATALOG on the table's parent catalog and be an owner of the table's + * parent schema + *
  3. have the following permissions: + *
+ * + *
    + *
  • USE_CATALOG on the table's parent catalog + *
  • USE_SCHEMA on the table's parent schema + *
  • SELECT privilege on the table. + *
* *

Additionally, the call must be made from the workspace where the monitor was created. */ @@ -89,10 +129,20 @@ public interface QualityMonitorsService { * Deprecated: Use Data Quality Monitors API instead (/api/data-quality/v1/monitors). Gets an * array containing the history of the most recent refreshes (up to 25) for this table. * - *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** - * on the table's parent catalog and be an owner of the table's parent schema 3. have the - * following permissions: - **USE_CATALOG** on the table's parent catalog - **USE_SCHEMA** on the - * table's parent schema - **SELECT** privilege on the table. + *

The caller must either: + * + *

    + *
  1. be an owner of the table's parent catalog + *
  2. have USE_CATALOG on the table's parent catalog and be an owner of the table's + * parent schema + *
  3. have the following permissions: + *
+ * + *
    + *
  • USE_CATALOG on the table's parent catalog + *
  • USE_SCHEMA on the table's parent schema + *
  • SELECT privilege on the table. + *
* *

Additionally, the call must be made from the workspace where the monitor was created. */ @@ -102,10 +152,20 @@ public interface QualityMonitorsService { * Deprecated: Use Data Quality Monitors API instead (/api/data-quality/v1/monitors). Regenerates * the monitoring dashboard for the specified table. * - *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** - * on the table's parent catalog and be an owner of the table's parent schema 3. have the - * following permissions: - **USE_CATALOG** on the table's parent catalog - **USE_SCHEMA** on the - * table's parent schema - be an owner of the table + *

The caller must either: + * + *

    + *
  1. be an owner of the table's parent catalog + *
  2. have USE_CATALOG on the table's parent catalog and be an owner of the table's + * parent schema + *
  3. have the following permissions: + *
+ * + *
    + *
  • USE_CATALOG on the table's parent catalog + *
  • USE_SCHEMA on the table's parent schema + *
  • be an owner of the table + *
* *

The call must be made from the workspace where the monitor was created. The dashboard will * be regenerated in the assets directory that was specified when the monitor was created. @@ -118,10 +178,20 @@ RegenerateDashboardResponse regenerateDashboard( * metric refresh on the monitor for the specified table. The refresh will execute in the * background. * - *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** - * on the table's parent catalog and be an owner of the table's parent schema 3. have the - * following permissions: - **USE_CATALOG** on the table's parent catalog - **USE_SCHEMA** on the - * table's parent schema - be an owner of the table + *

The caller must either: + * + *

    + *
  1. be an owner of the table's parent catalog + *
  2. have USE_CATALOG on the table's parent catalog and be an owner of the table's + * parent schema + *
  3. have the following permissions: + *
+ * + *
    + *
  • USE_CATALOG on the table's parent catalog + *
  • USE_SCHEMA on the table's parent schema + *
  • be an owner of the table + *
* *

Additionally, the call must be made from the workspace where the monitor was created. */ @@ -131,10 +201,20 @@ RegenerateDashboardResponse regenerateDashboard( * Deprecated: Use Data Quality Monitors API instead (/api/data-quality/v1/monitors). Updates a * monitor for the specified table. * - *

The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** - * on the table's parent catalog and be an owner of the table's parent schema 3. have the - * following permissions: - **USE_CATALOG** on the table's parent catalog - **USE_SCHEMA** on the - * table's parent schema - be an owner of the table. + *

The caller must either: + * + *

    + *
  1. be an owner of the table's parent catalog + *
  2. have USE_CATALOG on the table's parent catalog and be an owner of the table's + * parent schema + *
  3. have the following permissions: + *
+ * + *
    + *
  • USE_CATALOG on the table's parent catalog + *
  • USE_SCHEMA on the table's parent schema + *
  • be an owner of the table. + *
* *

Additionally, the call must be made from the workspace where the monitor was created, and * the caller must be the original creator of the monitor. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegenerateDashboardRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegenerateDashboardRequest.java index 954b77c15..1e5817e2a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegenerateDashboardRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegenerateDashboardRequest.java @@ -11,7 +11,7 @@ @Generated public class RegenerateDashboardRequest { /** - * UC table name in format `catalog.schema.table_name`. This field corresponds to the + * UC table name in format {@code catalog.schema.table_name}. This field corresponds to the * {full_table_name_arg} arg in the endpoint path. */ @JsonIgnore private String tableName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelsAPI.java index c7737bf48..f103477a3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelsAPI.java @@ -22,13 +22,17 @@ * enclosing catalog and USE_SCHEMA permissions on the enclosing schema. In addition, the following * additional privileges are required for various operations: * - *

* To create a registered model, users must additionally have the CREATE_MODEL permission on - * the target schema. * To view registered model or model version metadata, model version data - * files, or invoke a model version, users must additionally have the EXECUTE permission on the - * registered model * To update registered model or model version tags, users must additionally have - * APPLY TAG permissions on the registered model * To update other registered model or model version - * metadata (comments, aliases) create a new model version, or update permissions on the registered - * model, users must be owners of the registered model. + *

    + *
  • To create a registered model, users must additionally have the CREATE_MODEL permission on + * the target schema. + *
  • To view registered model or model version metadata, model version data files, or invoke a + * model version, users must additionally have the EXECUTE permission on the registered model + *
  • To update registered model or model version tags, users must additionally have APPLY TAG + * permissions on the registered model + *
  • To update other registered model or model version metadata (comments, aliases) create a new + * model version, or update permissions on the registered model, users must be owners of the + * registered model. + *
* *

Note: The securable type for models is FUNCTION. When using REST APIs (e.g. tagging, grants) * that specify a securable type, use FUNCTION as the securable type. @@ -55,11 +59,15 @@ public RegisteredModelsAPI(RegisteredModelsService mock) { *

File storage for model versions in the registered model will be located in the default * location which is specified by the parent schema, or the parent catalog, or the Metastore. * - *

For registered model creation to succeed, the user must satisfy the following conditions: - - * The caller must be a metastore admin, or be the owner of the parent catalog and schema, or have - * the **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the - * parent schema. - The caller must have the **CREATE MODEL** or **CREATE FUNCTION** privilege on - * the parent schema. + *

For registered model creation to succeed, the user must satisfy the following conditions: + * + *

    + *
  • The caller must be a metastore admin, or be the owner of the parent catalog and schema, + * or have the USE_CATALOG privilege on the parent catalog and the USE_SCHEMA + * privilege on the parent schema. + *
  • The caller must have the CREATE MODEL or CREATE FUNCTION privilege on the + * parent schema. + *
*/ public RegisteredModelInfo create(CreateRegisteredModelRequest request) { return impl.create(request); @@ -74,8 +82,8 @@ public void delete(String fullName) { * schema. * *

The caller must be a metastore admin or an owner of the registered model. For the latter - * case, the caller must also be the owner or have the **USE_CATALOG** privilege on the parent - * catalog and the **USE_SCHEMA** privilege on the parent schema. + * case, the caller must also be the owner or have the USE_CATALOG privilege on the parent + * catalog and the USE_SCHEMA privilege on the parent schema. */ public void delete(DeleteRegisteredModelRequest request) { impl.delete(request); @@ -89,8 +97,8 @@ public void deleteAlias(String fullName, String alias) { * Deletes a registered model alias. * *

The caller must be a metastore admin or an owner of the registered model. For the latter - * case, the caller must also be the owner or have the **USE_CATALOG** privilege on the parent - * catalog and the **USE_SCHEMA** privilege on the parent schema. + * case, the caller must also be the owner or have the USE_CATALOG privilege on the parent + * catalog and the USE_SCHEMA privilege on the parent schema. */ public void deleteAlias(DeleteAliasRequest request) { impl.deleteAlias(request); @@ -103,10 +111,10 @@ public RegisteredModelInfo get(String fullName) { /** * Get a registered model. * - *

The caller must be a metastore admin or an owner of (or have the **EXECUTE** privilege on) - * the registered model. For the latter case, the caller must also be the owner or have the - * **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent - * schema. + *

The caller must be a metastore admin or an owner of (or have the EXECUTE privilege + * on) the registered model. For the latter case, the caller must also be the owner or have the + * USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on the + * parent schema. */ public RegisteredModelInfo get(GetRegisteredModelRequest request) { return impl.get(request); @@ -118,10 +126,10 @@ public RegisteredModelInfo get(GetRegisteredModelRequest request) { * *

The returned models are filtered based on the privileges of the calling user. For example, * the metastore admin is able to list all the registered models. A regular user needs to be the - * owner or have the **EXECUTE** privilege on the registered model to recieve the registered + * owner or have the EXECUTE privilege on the registered model to recieve the registered * models in the response. For the latter case, the caller must also be the owner or have the - * **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent - * schema. + * USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on the + * parent schema. * *

There is no guarantee of a specific ordering of the elements in the response. * @@ -147,8 +155,8 @@ public Iterable list(ListRegisteredModelsRequest request) { * Set an alias on the specified registered model. * *

The caller must be a metastore admin or an owner of the registered model. For the latter - * case, the caller must also be the owner or have the **USE_CATALOG** privilege on the parent - * catalog and the **USE_SCHEMA** privilege on the parent schema. + * case, the caller must also be the owner or have the USE_CATALOG privilege on the parent + * catalog and the USE_SCHEMA privilege on the parent schema. */ public RegisteredModelAlias setAlias(SetRegisteredModelAliasRequest request) { return impl.setAlias(request); @@ -158,8 +166,8 @@ public RegisteredModelAlias setAlias(SetRegisteredModelAliasRequest request) { * Updates the specified registered model. * *

The caller must be a metastore admin or an owner of the registered model. For the latter - * case, the caller must also be the owner or have the **USE_CATALOG** privilege on the parent - * catalog and the **USE_SCHEMA** privilege on the parent schema. + * case, the caller must also be the owner or have the USE_CATALOG privilege on the parent + * catalog and the USE_SCHEMA privilege on the parent schema. * *

Currently only the name, the owner or the comment of the registered model can be updated. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelsService.java index 2573bae72..062b584d6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelsService.java @@ -18,13 +18,17 @@ * enclosing catalog and USE_SCHEMA permissions on the enclosing schema. In addition, the following * additional privileges are required for various operations: * - *

* To create a registered model, users must additionally have the CREATE_MODEL permission on - * the target schema. * To view registered model or model version metadata, model version data - * files, or invoke a model version, users must additionally have the EXECUTE permission on the - * registered model * To update registered model or model version tags, users must additionally have - * APPLY TAG permissions on the registered model * To update other registered model or model version - * metadata (comments, aliases) create a new model version, or update permissions on the registered - * model, users must be owners of the registered model. + *

    + *
  • To create a registered model, users must additionally have the CREATE_MODEL permission on + * the target schema. + *
  • To view registered model or model version metadata, model version data files, or invoke a + * model version, users must additionally have the EXECUTE permission on the registered model + *
  • To update registered model or model version tags, users must additionally have APPLY TAG + * permissions on the registered model + *
  • To update other registered model or model version metadata (comments, aliases) create a new + * model version, or update permissions on the registered model, users must be owners of the + * registered model. + *
* *

Note: The securable type for models is FUNCTION. When using REST APIs (e.g. tagging, grants) * that specify a securable type, use FUNCTION as the securable type. @@ -41,11 +45,15 @@ public interface RegisteredModelsService { *

File storage for model versions in the registered model will be located in the default * location which is specified by the parent schema, or the parent catalog, or the Metastore. * - *

For registered model creation to succeed, the user must satisfy the following conditions: - - * The caller must be a metastore admin, or be the owner of the parent catalog and schema, or have - * the **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the - * parent schema. - The caller must have the **CREATE MODEL** or **CREATE FUNCTION** privilege on - * the parent schema. + *

For registered model creation to succeed, the user must satisfy the following conditions: + * + *

    + *
  • The caller must be a metastore admin, or be the owner of the parent catalog and schema, + * or have the USE_CATALOG privilege on the parent catalog and the USE_SCHEMA + * privilege on the parent schema. + *
  • The caller must have the CREATE MODEL or CREATE FUNCTION privilege on the + * parent schema. + *
*/ RegisteredModelInfo create(CreateRegisteredModelRequest createRegisteredModelRequest); @@ -54,8 +62,8 @@ public interface RegisteredModelsService { * schema. * *

The caller must be a metastore admin or an owner of the registered model. For the latter - * case, the caller must also be the owner or have the **USE_CATALOG** privilege on the parent - * catalog and the **USE_SCHEMA** privilege on the parent schema. + * case, the caller must also be the owner or have the USE_CATALOG privilege on the parent + * catalog and the USE_SCHEMA privilege on the parent schema. */ void delete(DeleteRegisteredModelRequest deleteRegisteredModelRequest); @@ -63,18 +71,18 @@ public interface RegisteredModelsService { * Deletes a registered model alias. * *

The caller must be a metastore admin or an owner of the registered model. For the latter - * case, the caller must also be the owner or have the **USE_CATALOG** privilege on the parent - * catalog and the **USE_SCHEMA** privilege on the parent schema. + * case, the caller must also be the owner or have the USE_CATALOG privilege on the parent + * catalog and the USE_SCHEMA privilege on the parent schema. */ void deleteAlias(DeleteAliasRequest deleteAliasRequest); /** * Get a registered model. * - *

The caller must be a metastore admin or an owner of (or have the **EXECUTE** privilege on) - * the registered model. For the latter case, the caller must also be the owner or have the - * **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent - * schema. + *

The caller must be a metastore admin or an owner of (or have the EXECUTE privilege + * on) the registered model. For the latter case, the caller must also be the owner or have the + * USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on the + * parent schema. */ RegisteredModelInfo get(GetRegisteredModelRequest getRegisteredModelRequest); @@ -84,10 +92,10 @@ public interface RegisteredModelsService { * *

The returned models are filtered based on the privileges of the calling user. For example, * the metastore admin is able to list all the registered models. A regular user needs to be the - * owner or have the **EXECUTE** privilege on the registered model to recieve the registered + * owner or have the EXECUTE privilege on the registered model to recieve the registered * models in the response. For the latter case, the caller must also be the owner or have the - * **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent - * schema. + * USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on the + * parent schema. * *

There is no guarantee of a specific ordering of the elements in the response. * @@ -101,8 +109,8 @@ public interface RegisteredModelsService { * Set an alias on the specified registered model. * *

The caller must be a metastore admin or an owner of the registered model. For the latter - * case, the caller must also be the owner or have the **USE_CATALOG** privilege on the parent - * catalog and the **USE_SCHEMA** privilege on the parent schema. + * case, the caller must also be the owner or have the USE_CATALOG privilege on the parent + * catalog and the USE_SCHEMA privilege on the parent schema. */ RegisteredModelAlias setAlias(SetRegisteredModelAliasRequest setRegisteredModelAliasRequest); @@ -110,8 +118,8 @@ public interface RegisteredModelsService { * Updates the specified registered model. * *

The caller must be a metastore admin or an owner of the registered model. For the latter - * case, the caller must also be the owner or have the **USE_CATALOG** privilege on the parent - * catalog and the **USE_SCHEMA** privilege on the parent schema. + * case, the caller must also be the owner or have the USE_CATALOG privilege on the parent + * catalog and the USE_SCHEMA privilege on the parent schema. * *

Currently only the name, the owner or the comment of the registered model can be updated. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ResourceQuotasAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ResourceQuotasAPI.java index f392e0cd8..e31422d90 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ResourceQuotasAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ResourceQuotasAPI.java @@ -11,11 +11,9 @@ * Unity Catalog enforces resource quotas on all securable objects, which limits the number of * resources that can be created. Quotas are expressed in terms of a resource type and a parent (for * example, tables per metastore or schemas per catalog). The resource quota APIs enable you to - * monitor your current usage and limits. For more information on resource quotas see the [Unity - * Catalog documentation]. - * - *

[Unity Catalog documentation]: - * https://docs.databricks.com/en/data-governance/unity-catalog/index.html#resource-quotas + * monitor your current usage and limits. For more information on resource quotas see the Unity + * Catalog documentation. */ @Generated public class ResourceQuotasAPI { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ResourceQuotasService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ResourceQuotasService.java index f14ad81c1..d801a2553 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ResourceQuotasService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ResourceQuotasService.java @@ -7,11 +7,9 @@ * Unity Catalog enforces resource quotas on all securable objects, which limits the number of * resources that can be created. Quotas are expressed in terms of a resource type and a parent (for * example, tables per metastore or schemas per catalog). The resource quota APIs enable you to - * monitor your current usage and limits. For more information on resource quotas see the [Unity - * Catalog documentation]. - * - *

[Unity Catalog documentation]: - * https://docs.databricks.com/en/data-governance/unity-catalog/index.html#resource-quotas + * monitor your current usage and limits. For more information on resource quotas see the Unity + * Catalog documentation. * *

This is the high-level interface, that contains generated methods. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RfaAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RfaAPI.java index 7773bb76b..9293ccf8f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RfaAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RfaAPI.java @@ -52,7 +52,7 @@ public AccessRequestDestinations getAccessRequestDestinations( /** * Gets an array of access request destinations for the specified securable. Any caller can see - * URL destinations or the destinations on the metastore. Otherwise, only those with **BROWSE** + * URL destinations or the destinations on the metastore. Otherwise, only those with BROWSE * permissions on the securable can see destinations. * *

The supported securable types are: "metastore", "catalog", "schema", "table", @@ -65,12 +65,12 @@ public AccessRequestDestinations getAccessRequestDestinations( /** * Updates the access request destinations for the given securable. The caller must be a metastore - * admin, the owner of the securable, or a user that has the **MANAGE** privilege on the securable - * in order to assign destinations. Destinations cannot be updated for securables underneath - * schemas (tables, volumes, functions, and models). For these securable types, destinations are - * inherited from the parent securable. A maximum of 5 emails and 5 external notification - * destinations (Slack, Microsoft Teams, and Generic Webhook destinations) can be assigned to a - * securable. If a URL destination is assigned, no other destinations can be set. + * admin, the owner of the securable, or a user that has the MANAGE privilege on the + * securable in order to assign destinations. Destinations cannot be updated for securables + * underneath schemas (tables, volumes, functions, and models). For these securable types, + * destinations are inherited from the parent securable. A maximum of 5 emails and 5 external + * notification destinations (Slack, Microsoft Teams, and Generic Webhook destinations) can be + * assigned to a securable. If a URL destination is assigned, no other destinations can be set. * *

The supported securable types are: "metastore", "catalog", "schema", "table", * "external_location", "connection", "credential", "function", "registered_model", and "volume". diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RfaService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RfaService.java index cdd8ef843..2b6004ac3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RfaService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RfaService.java @@ -29,7 +29,7 @@ BatchCreateAccessRequestsResponse batchCreateAccessRequests( /** * Gets an array of access request destinations for the specified securable. Any caller can see - * URL destinations or the destinations on the metastore. Otherwise, only those with **BROWSE** + * URL destinations or the destinations on the metastore. Otherwise, only those with BROWSE * permissions on the securable can see destinations. * *

The supported securable types are: "metastore", "catalog", "schema", "table", @@ -40,12 +40,12 @@ AccessRequestDestinations getAccessRequestDestinations( /** * Updates the access request destinations for the given securable. The caller must be a metastore - * admin, the owner of the securable, or a user that has the **MANAGE** privilege on the securable - * in order to assign destinations. Destinations cannot be updated for securables underneath - * schemas (tables, volumes, functions, and models). For these securable types, destinations are - * inherited from the parent securable. A maximum of 5 emails and 5 external notification - * destinations (Slack, Microsoft Teams, and Generic Webhook destinations) can be assigned to a - * securable. If a URL destination is assigned, no other destinations can be set. + * admin, the owner of the securable, or a user that has the MANAGE privilege on the + * securable in order to assign destinations. Destinations cannot be updated for securables + * underneath schemas (tables, volumes, functions, and models). For these securable types, + * destinations are inherited from the parent securable. A maximum of 5 emails and 5 external + * notification destinations (Slack, Microsoft Teams, and Generic Webhook destinations) can be + * assigned to a securable. If a URL destination is assigned, no other destinations can be set. * *

The supported securable types are: "metastore", "catalog", "schema", "table", * "external_location", "connection", "credential", "function", "registered_model", and "volume". diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RunRefreshRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RunRefreshRequest.java index 183580b35..a1a0172aa 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RunRefreshRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RunRefreshRequest.java @@ -10,8 +10,8 @@ @Generated public class RunRefreshRequest { /** - * UC table name in format `catalog.schema.table_name`. table_name is case insensitive and spaces - * are disallowed. + * UC table name in format {@code catalog.schema.table_name}. table_name is case insensitive and + * spaces are disallowed. */ @JsonIgnore private String tableName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemaInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemaInfo.java index 8c226865e..0a063f85d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemaInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemaInfo.java @@ -50,7 +50,7 @@ public class SchemaInfo { @JsonProperty("enable_predictive_optimization") private EnablePredictiveOptimization enablePredictiveOptimization; - /** Full name of schema, in form of __catalog_name__.__schema_name__. */ + /** Full name of schema, in form of catalog_name.schema_name. */ @JsonProperty("full_name") private String fullName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasAPI.java index 28bf44a5c..86e2fa397 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasAPI.java @@ -31,7 +31,7 @@ public SchemasAPI(SchemasService mock) { /** * Creates a new schema for catalog in the Metastore. The caller must be a metastore admin, or - * have the **CREATE_SCHEMA** privilege in the parent catalog. + * have the CREATE_SCHEMA privilege in the parent catalog. */ public SchemaInfo create(CreateSchema request) { return impl.create(request); @@ -55,7 +55,7 @@ public SchemaInfo get(String fullName) { /** * Gets the specified schema within the metastore. The caller must be a metastore admin, the owner - * of the schema, or a user that has the **USE_SCHEMA** privilege on the schema. + * of the schema, or a user that has the USE_SCHEMA privilege on the schema. */ public SchemaInfo get(GetSchemaRequest request) { return impl.get(request); @@ -68,13 +68,13 @@ public Iterable list(String catalogName) { /** * Gets an array of schemas for a catalog in the metastore. If the caller is the metastore admin * or the owner of the parent catalog, all schemas for the catalog will be retrieved. Otherwise, - * only schemas owned by the caller (or for which the caller has the **USE_SCHEMA** privilege) + * only schemas owned by the caller (or for which the caller has the USE_SCHEMA privilege) * will be retrieved. There is no guarantee of a specific ordering of the elements in the array. * *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. @@ -99,9 +99,9 @@ public Iterable list(ListSchemasRequest request) { /** * Updates a schema for a catalog. The caller must be the owner of the schema or a metastore - * admin. If the caller is a metastore admin, only the __owner__ field can be changed in the - * update. If the __name__ field must be updated, the caller must be a metastore admin or have the - * **CREATE_SCHEMA** privilege on the parent catalog. + * admin. If the caller is a metastore admin, only the owner field can be changed in the + * update. If the name field must be updated, the caller must be a metastore admin or have + * the CREATE_SCHEMA privilege on the parent catalog. */ public SchemaInfo update(UpdateSchema request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasService.java index e47e7ee0d..0f86e8f55 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasService.java @@ -17,7 +17,7 @@ public interface SchemasService { /** * Creates a new schema for catalog in the Metastore. The caller must be a metastore admin, or - * have the **CREATE_SCHEMA** privilege in the parent catalog. + * have the CREATE_SCHEMA privilege in the parent catalog. */ SchemaInfo create(CreateSchema createSchema); @@ -29,20 +29,20 @@ public interface SchemasService { /** * Gets the specified schema within the metastore. The caller must be a metastore admin, the owner - * of the schema, or a user that has the **USE_SCHEMA** privilege on the schema. + * of the schema, or a user that has the USE_SCHEMA privilege on the schema. */ SchemaInfo get(GetSchemaRequest getSchemaRequest); /** * Gets an array of schemas for a catalog in the metastore. If the caller is the metastore admin * or the owner of the parent catalog, all schemas for the catalog will be retrieved. Otherwise, - * only schemas owned by the caller (or for which the caller has the **USE_SCHEMA** privilege) + * only schemas owned by the caller (or for which the caller has the USE_SCHEMA privilege) * will be retrieved. There is no guarantee of a specific ordering of the elements in the array. * *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. @@ -51,9 +51,9 @@ public interface SchemasService { /** * Updates a schema for a catalog. The caller must be the owner of the schema or a metastore - * admin. If the caller is a metastore admin, only the __owner__ field can be changed in the - * update. If the __name__ field must be updated, the caller must be a metastore admin or have the - * **CREATE_SCHEMA** privilege on the parent catalog. + * admin. If the caller is a metastore admin, only the owner field can be changed in the + * update. If the name field must be updated, the caller must be a metastore admin or have + * the CREATE_SCHEMA privilege on the parent catalog. */ SchemaInfo update(UpdateSchema updateSchema); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/Secret.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/Secret.java index a20759b2c..0fee3759a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/Secret.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/Secret.java @@ -17,7 +17,7 @@ public class Secret { /** * Indicates whether the principal is limited to retrieving metadata for the associated object - * through the **BROWSE** privilege when **include_browse** is enabled in the request. + * through the BROWSE privilege when include_browse is enabled in the request. */ @JsonProperty("browse_only") private Boolean browseOnly; @@ -39,15 +39,15 @@ public class Secret { private String createdBy; /** - * The effective owner of the secret, which may differ from the directly-set **owner** due to + * The effective owner of the secret, which may differ from the directly-set owner due to * inheritance. */ @JsonProperty("effective_owner") private String effectiveOwner; /** - * The secret value. Only populated in responses when you have the **READ_SECRET** privilege and - * **include_value** is set to true in the request. The maximum size is 60 KiB. + * The secret value. Only populated in responses when you have the READ_SECRET privilege + * and include_value is set to true in the request. The maximum size is 60 KiB. */ @JsonProperty("effective_value") private String effectiveValue; @@ -66,7 +66,7 @@ public class Secret { /** * The three-level (fully qualified) name of the secret, in the form of - * **catalog_name.schema_name.secret_name**. + * catalog_name.schema_name.secret_name. */ @JsonProperty("full_name") private String fullName; @@ -100,8 +100,8 @@ public class Secret { /** * The secret value to store. This field is input-only and is not returned in responses — use the - * **effective_value** field (via GetSecret with **include_value** set to true) to read the secret - * value. The maximum size is 60 KiB (pre-encryption). Accepted content includes passwords, + * effective_value field (via GetSecret with include_value set to true) to read the + * secret value. The maximum size is 60 KiB (pre-encryption). Accepted content includes passwords, * tokens, keys, and other sensitive credential data. */ @JsonProperty("value") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecretsUcAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecretsUcAPI.java index b9569f509..84e140da0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecretsUcAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecretsUcAPI.java @@ -10,7 +10,7 @@ /** * A secret is a Unity Catalog securable object that stores sensitive credential data (such as * passwords, tokens, and keys) within a three-level namespace - * (**catalog_name.schema_name.secret_name**). + * (catalog_name.schema_name.secret_name). * *

Secrets can be managed using standard Unity Catalog permissions and are scoped to a schema * within a catalog. @@ -34,11 +34,11 @@ public SecretsUcAPI(SecretsUcService mock) { /** * Creates a new secret in Unity Catalog. * - *

You must be the owner of the parent schema or have the **CREATE_SECRET** and **USE SCHEMA** - * privileges on the parent schema and **USE CATALOG** on the parent catalog. + *

You must be the owner of the parent schema or have the CREATE_SECRET and USE + * SCHEMA privileges on the parent schema and USE CATALOG on the parent catalog. * - *

The secret is stored in the specified catalog and schema, and the **value** field contains - * the sensitive data to be securely stored. + *

The secret is stored in the specified catalog and schema, and the value field + * contains the sensitive data to be securely stored. */ public Secret createSecret(CreateSecretRequest request) { return impl.createSecret(request); @@ -64,11 +64,11 @@ public Secret getSecret(String fullName) { /** * Gets a secret by its three-level (fully qualified) name. * - *

You must be a metastore admin, the owner of the secret, or have the **MANAGE** privilege on - * the secret. + *

You must be a metastore admin, the owner of the secret, or have the MANAGE privilege + * on the secret. * *

The secret value isn't returned by default. To retrieve it, you must also have the - * **READ_SECRET** privilege and set **include_value** to true in the request. + * READ_SECRET privilege and set include_value to true in the request. */ public Secret getSecret(GetSecretRequest request) { return impl.getSecret(request); @@ -77,12 +77,12 @@ public Secret getSecret(GetSecretRequest request) { /** * Lists secrets in Unity Catalog. * - *

You must be a metastore admin, the owner of the secret, or have the **MANAGE** privilege on - * the secret. + *

You must be a metastore admin, the owner of the secret, or have the MANAGE privilege + * on the secret. * - *

Both **catalog_name** and **schema_name** must be specified together to filter secrets - * within a specific schema. Results are paginated; use the **page_token** field from the response - * to retrieve subsequent pages. + *

Both catalog_name and schema_name must be specified together to filter secrets + * within a specific schema. Results are paginated; use the page_token field from the + * response to retrieve subsequent pages. */ public Iterable listSecrets(ListSecretsRequest request) { return Paginator.newTokenPagination( @@ -102,10 +102,10 @@ public Iterable listSecrets(ListSecretsRequest request) { * Updates an existing secret in Unity Catalog. * *

You must be the owner of the secret or a metastore admin. If you are a metastore admin, only - * the **owner** field can be changed. + * the owner field can be changed. * - *

Use the **update_mask** field to specify which fields to update. Supported updatable fields - * include **value**, **comment**, **owner**, and **expire_time**. + *

Use the update_mask field to specify which fields to update. Supported updatable + * fields include value, comment, owner, and expire_time. */ public Secret updateSecret(UpdateSecretRequest request) { return impl.updateSecret(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecretsUcService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecretsUcService.java index 8e753c35b..3e840e57d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecretsUcService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecretsUcService.java @@ -6,7 +6,7 @@ /** * A secret is a Unity Catalog securable object that stores sensitive credential data (such as * passwords, tokens, and keys) within a three-level namespace - * (**catalog_name.schema_name.secret_name**). + * (catalog_name.schema_name.secret_name). * *

Secrets can be managed using standard Unity Catalog permissions and are scoped to a schema * within a catalog. @@ -20,11 +20,11 @@ public interface SecretsUcService { /** * Creates a new secret in Unity Catalog. * - *

You must be the owner of the parent schema or have the **CREATE_SECRET** and **USE SCHEMA** - * privileges on the parent schema and **USE CATALOG** on the parent catalog. + *

You must be the owner of the parent schema or have the CREATE_SECRET and USE + * SCHEMA privileges on the parent schema and USE CATALOG on the parent catalog. * - *

The secret is stored in the specified catalog and schema, and the **value** field contains - * the sensitive data to be securely stored. + *

The secret is stored in the specified catalog and schema, and the value field + * contains the sensitive data to be securely stored. */ Secret createSecret(CreateSecretRequest createSecretRequest); @@ -38,23 +38,23 @@ public interface SecretsUcService { /** * Gets a secret by its three-level (fully qualified) name. * - *

You must be a metastore admin, the owner of the secret, or have the **MANAGE** privilege on - * the secret. + *

You must be a metastore admin, the owner of the secret, or have the MANAGE privilege + * on the secret. * *

The secret value isn't returned by default. To retrieve it, you must also have the - * **READ_SECRET** privilege and set **include_value** to true in the request. + * READ_SECRET privilege and set include_value to true in the request. */ Secret getSecret(GetSecretRequest getSecretRequest); /** * Lists secrets in Unity Catalog. * - *

You must be a metastore admin, the owner of the secret, or have the **MANAGE** privilege on - * the secret. + *

You must be a metastore admin, the owner of the secret, or have the MANAGE privilege + * on the secret. * - *

Both **catalog_name** and **schema_name** must be specified together to filter secrets - * within a specific schema. Results are paginated; use the **page_token** field from the response - * to retrieve subsequent pages. + *

Both catalog_name and schema_name must be specified together to filter secrets + * within a specific schema. Results are paginated; use the page_token field from the + * response to retrieve subsequent pages. */ ListSecretsResponse listSecrets(ListSecretsRequest listSecretsRequest); @@ -62,10 +62,10 @@ public interface SecretsUcService { * Updates an existing secret in Unity Catalog. * *

You must be the owner of the secret or a metastore admin. If you are a metastore admin, only - * the **owner** field can be changed. + * the owner field can be changed. * - *

Use the **update_mask** field to specify which fields to update. Supported updatable fields - * include **value**, **comment**, **owner**, and **expire_time**. + *

Use the update_mask field to specify which fields to update. Supported updatable + * fields include value, comment, owner, and expire_time. */ Secret updateSecret(UpdateSecretRequest updateSecretRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialInfo.java index 4ea241418..5dd07eb34 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialInfo.java @@ -73,7 +73,7 @@ public class StorageCredentialInfo { /** * Whether the credential is usable only for read operations. Only applicable when purpose is - * **STORAGE**. + * STORAGE. */ @JsonProperty("read_only") private Boolean readOnly; @@ -88,7 +88,7 @@ public class StorageCredentialInfo { /** * Whether this credential is the current metastore's root storage credential. Only applicable - * when purpose is **STORAGE**. + * when purpose is STORAGE. */ @JsonProperty("used_for_managed_storage") private Boolean usedForManagedStorage; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsAPI.java index ff05dc3ec..04a0fabf6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsAPI.java @@ -39,8 +39,8 @@ public StorageCredentialsAPI(StorageCredentialsService mock) { /** * Creates a new storage credential. * - *

The caller must be a metastore admin or have the **CREATE_STORAGE_CREDENTIAL** privilege on - * the metastore. + *

The caller must be a metastore admin or have the CREATE_STORAGE_CREDENTIAL privilege + * on the metastore. */ public StorageCredentialInfo create(CreateStorageCredential request) { return impl.create(request); @@ -71,7 +71,7 @@ public StorageCredentialInfo get(GetStorageCredentialRequest request) { } /** - * Gets an array of storage credentials (as __StorageCredentialInfo__ objects). The array is + * Gets an array of storage credentials (as StorageCredentialInfo objects). The array is * limited to only those storage credentials the caller has permission to access. If the caller is * a metastore admin, retrieval of credentials is unrestricted. There is no guarantee of a * specific ordering of the elements in the array. @@ -79,7 +79,7 @@ public StorageCredentialInfo get(GetStorageCredentialRequest request) { *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. @@ -106,22 +106,22 @@ public Iterable list(ListStorageCredentialsRequest reques * Updates a storage credential on the metastore. * *

The caller must be the owner of the storage credential or a metastore admin. If the caller - * is a metastore admin, only the **owner** field can be changed. + * is a metastore admin, only the owner field can be changed. */ public StorageCredentialInfo update(UpdateStorageCredential request) { return impl.update(request); } /** - * Validates a storage credential. At least one of __external_location_name__ and __url__ need to - * be provided. If only one of them is provided, it will be used for validation. And if both are - * provided, the __url__ will be used for validation, and __external_location_name__ will be - * ignored when checking overlapping urls. + * Validates a storage credential. At least one of external_location_name and url + * need to be provided. If only one of them is provided, it will be used for validation. And if + * both are provided, the url will be used for validation, and + * external_location_name will be ignored when checking overlapping urls. * - *

Either the __storage_credential_name__ or the cloud-specific credential must be provided. + *

Either the storage_credential_name or the cloud-specific credential must be provided. * *

The caller must be a metastore admin or the storage credential owner or have the - * **CREATE_EXTERNAL_LOCATION** privilege on the metastore and the storage credential. + * CREATE_EXTERNAL_LOCATION privilege on the metastore and the storage credential. */ public ValidateStorageCredentialResponse validate(ValidateStorageCredential request) { return impl.validate(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsService.java index cc774418a..c2b5e0692 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsService.java @@ -25,8 +25,8 @@ public interface StorageCredentialsService { /** * Creates a new storage credential. * - *

The caller must be a metastore admin or have the **CREATE_STORAGE_CREDENTIAL** privilege on - * the metastore. + *

The caller must be a metastore admin or have the CREATE_STORAGE_CREDENTIAL privilege + * on the metastore. */ StorageCredentialInfo create(CreateStorageCredential createStorageCredential); @@ -43,7 +43,7 @@ public interface StorageCredentialsService { StorageCredentialInfo get(GetStorageCredentialRequest getStorageCredentialRequest); /** - * Gets an array of storage credentials (as __StorageCredentialInfo__ objects). The array is + * Gets an array of storage credentials (as StorageCredentialInfo objects). The array is * limited to only those storage credentials the caller has permission to access. If the caller is * a metastore admin, retrieval of credentials is unrestricted. There is no guarantee of a * specific ordering of the elements in the array. @@ -51,7 +51,7 @@ public interface StorageCredentialsService { *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. @@ -62,20 +62,20 @@ public interface StorageCredentialsService { * Updates a storage credential on the metastore. * *

The caller must be the owner of the storage credential or a metastore admin. If the caller - * is a metastore admin, only the **owner** field can be changed. + * is a metastore admin, only the owner field can be changed. */ StorageCredentialInfo update(UpdateStorageCredential updateStorageCredential); /** - * Validates a storage credential. At least one of __external_location_name__ and __url__ need to - * be provided. If only one of them is provided, it will be used for validation. And if both are - * provided, the __url__ will be used for validation, and __external_location_name__ will be - * ignored when checking overlapping urls. + * Validates a storage credential. At least one of external_location_name and url + * need to be provided. If only one of them is provided, it will be used for validation. And if + * both are provided, the url will be used for validation, and + * external_location_name will be ignored when checking overlapping urls. * - *

Either the __storage_credential_name__ or the cloud-specific credential must be provided. + *

Either the storage_credential_name or the cloud-specific credential must be provided. * *

The caller must be a metastore admin or the storage credential owner or have the - * **CREATE_EXTERNAL_LOCATION** privilege on the metastore and the storage credential. + * CREATE_EXTERNAL_LOCATION privilege on the metastore and the storage credential. */ ValidateStorageCredentialResponse validate(ValidateStorageCredential validateStorageCredential); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemasAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemasAPI.java index 03c34a27e..50c5226f2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemasAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemasAPI.java @@ -59,7 +59,7 @@ public Iterable list(String metastoreId) { *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemasService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemasService.java index 71b277295..07968b504 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemasService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemasService.java @@ -33,7 +33,7 @@ public interface SystemSchemasService { *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraint.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraint.java index 43699a737..515aece57 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraint.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraint.java @@ -8,8 +8,8 @@ import java.util.Objects; /** - * A table constraint, as defined by *one* of the following fields being set: - * __primary_key_constraint__, __foreign_key_constraint__, __named_table_constraint__. + * A table constraint, as defined by one of the following fields being set: + * primary_key_constraint, foreign_key_constraint, named_table_constraint. */ @Generated public class TableConstraint { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsAPI.java index 4a8a02a5f..524f66761 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsAPI.java @@ -38,11 +38,16 @@ public TableConstraintsAPI(TableConstraintsService mock) { * Creates a new table constraint. * *

For the table constraint creation to succeed, the user must satisfy both of these - * conditions: - the user must have the **USE_CATALOG** privilege on the table's parent catalog, - * the **USE_SCHEMA** privilege on the table's parent schema, and be the owner of the table. - if - * the new constraint is a __ForeignKeyConstraint__, the user must have the **USE_CATALOG** - * privilege on the referenced parent table's catalog, the **USE_SCHEMA** privilege on the - * referenced parent table's schema, and be the owner of the referenced parent table. + * conditions: + * + *

    + *
  • the user must have the USE_CATALOG privilege on the table's parent catalog, the + * USE_SCHEMA privilege on the table's parent schema, and be the owner of the table. + *
  • if the new constraint is a ForeignKeyConstraint, the user must have the + * USE_CATALOG privilege on the referenced parent table's catalog, the + * USE_SCHEMA privilege on the referenced parent table's schema, and be the owner of + * the referenced parent table. + *
*/ public TableConstraint create(CreateTableConstraint request) { return impl.create(request); @@ -56,11 +61,15 @@ public void delete(String fullName) { * Deletes a table constraint. * *

For the table constraint deletion to succeed, the user must satisfy both of these - * conditions: - the user must have the **USE_CATALOG** privilege on the table's parent catalog, - * the **USE_SCHEMA** privilege on the table's parent schema, and be the owner of the table. - if - * __cascade__ argument is **true**, the user must have the following permissions on all of the - * child tables: the **USE_CATALOG** privilege on the table's catalog, the **USE_SCHEMA** - * privilege on the table's schema, and be the owner of the table. + * conditions: + * + *

    + *
  • the user must have the USE_CATALOG privilege on the table's parent catalog, the + * USE_SCHEMA privilege on the table's parent schema, and be the owner of the table. + *
  • if cascade argument is true, the user must have the following permissions + * on all of the child tables: the USE_CATALOG privilege on the table's catalog, the + * USE_SCHEMA privilege on the table's schema, and be the owner of the table. + *
*/ public void delete(DeleteTableConstraintRequest request) { impl.delete(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsService.java index 9fb50719c..c658a41e5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsService.java @@ -25,11 +25,16 @@ public interface TableConstraintsService { * Creates a new table constraint. * *

For the table constraint creation to succeed, the user must satisfy both of these - * conditions: - the user must have the **USE_CATALOG** privilege on the table's parent catalog, - * the **USE_SCHEMA** privilege on the table's parent schema, and be the owner of the table. - if - * the new constraint is a __ForeignKeyConstraint__, the user must have the **USE_CATALOG** - * privilege on the referenced parent table's catalog, the **USE_SCHEMA** privilege on the - * referenced parent table's schema, and be the owner of the referenced parent table. + * conditions: + * + *

    + *
  • the user must have the USE_CATALOG privilege on the table's parent catalog, the + * USE_SCHEMA privilege on the table's parent schema, and be the owner of the table. + *
  • if the new constraint is a ForeignKeyConstraint, the user must have the + * USE_CATALOG privilege on the referenced parent table's catalog, the + * USE_SCHEMA privilege on the referenced parent table's schema, and be the owner of + * the referenced parent table. + *
*/ TableConstraint create(CreateTableConstraint createTableConstraint); @@ -37,11 +42,15 @@ public interface TableConstraintsService { * Deletes a table constraint. * *

For the table constraint deletion to succeed, the user must satisfy both of these - * conditions: - the user must have the **USE_CATALOG** privilege on the table's parent catalog, - * the **USE_SCHEMA** privilege on the table's parent schema, and be the owner of the table. - if - * __cascade__ argument is **true**, the user must have the following permissions on all of the - * child tables: the **USE_CATALOG** privilege on the table's catalog, the **USE_SCHEMA** - * privilege on the table's schema, and be the owner of the table. + * conditions: + * + *

    + *
  • the user must have the USE_CATALOG privilege on the table's parent catalog, the + * USE_SCHEMA privilege on the table's parent schema, and be the owner of the table. + *
  • if cascade argument is true, the user must have the following permissions + * on all of the child tables: the USE_CATALOG privilege on the table's catalog, the + * USE_SCHEMA privilege on the table's schema, and be the owner of the table. + *
*/ void delete(DeleteTableConstraintRequest deleteTableConstraintRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableDependency.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableDependency.java index 6826680c6..8f5ea4be2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableDependency.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableDependency.java @@ -12,7 +12,7 @@ public class TableDependency { /** * Full name of the dependent table, in the form of - * __catalog_name__.__schema_name__.__table_name__. + * catalog_name.schema_name.table_name. */ @JsonProperty("table_full_name") private String tableFullName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableInfo.java index cbe5577c2..5f960b581 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableInfo.java @@ -26,7 +26,7 @@ public class TableInfo { @JsonProperty("catalog_name") private String catalogName; - /** The array of __ColumnInfo__ definitions of the table's columns. */ + /** The array of ColumnInfo definitions of the table's columns. */ @JsonProperty("columns") private Collection columns; @@ -73,7 +73,7 @@ public class TableInfo { @JsonProperty("encryption_details") private EncryptionDetails encryptionDetails; - /** Full name of table, in form of __catalog_name__.__schema_name__.__table_name__ */ + /** Full name of table, in form of catalog_name.schema_name.table_name */ @JsonProperty("full_name") private String fullName; @@ -123,12 +123,13 @@ public class TableInfo { @JsonProperty("storage_credential_name") private String storageCredentialName; - /** Storage root URL for table (for **MANAGED**, **EXTERNAL** tables). */ + /** Storage root URL for table (for MANAGED, EXTERNAL tables). */ @JsonProperty("storage_location") private String storageLocation; /** - * List of table constraints. Note: this field is not set in the output of the __listTables__ API. + * List of table constraints. Note: this field is not set in the output of the listTables + * API. */ @JsonProperty("table_constraints") private Collection tableConstraints; @@ -150,18 +151,22 @@ public class TableInfo { private String updatedBy; /** - * View definition SQL (when __table_type__ is **VIEW**, **MATERIALIZED_VIEW**, or - * **STREAMING_TABLE**) + * View definition SQL (when table_type is VIEW, MATERIALIZED_VIEW, or + * STREAMING_TABLE) */ @JsonProperty("view_definition") private String viewDefinition; /** - * View dependencies (when table_type == **VIEW** or **MATERIALIZED_VIEW**, **STREAMING_TABLE**) - - * when DependencyList is None, the dependency is not provided; - when DependencyList is an empty - * list, the dependency is provided but is empty; - when DependencyList is not an empty list, - * dependencies are provided and recorded. Note: this field is not set in the output of the - * __listTables__ API. + * View dependencies (when table_type == VIEW or MATERIALIZED_VIEW, + * STREAMING_TABLE) + * + *
    + *
  • when DependencyList is None, the dependency is not provided; + *
  • when DependencyList is an empty list, the dependency is provided but is empty; + *
  • when DependencyList is not an empty list, dependencies are provided and recorded. Note: + * this field is not set in the output of the listTables API. + *
*/ @JsonProperty("view_dependencies") private DependencyList viewDependencies; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesAPI.java index 11114153c..fc26a2553 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesAPI.java @@ -14,8 +14,8 @@ * have the SELECT permission on the table, and they must have the USE_CATALOG permission on its * parent catalog and the USE_SCHEMA permission on its parent schema. * - *

A table can be managed or external. From an API perspective, a __VIEW__ is a particular kind - * of table (rather than a managed or external table). + *

A table can be managed or external. From an API perspective, a VIEW is a particular + * kind of table (rather than a managed or external table). */ @Generated public class TablesAPI { @@ -36,25 +36,26 @@ public TablesAPI(TablesService mock) { /** * Creates a new table in the specified catalog and schema. * - *

To create an external delta table, the caller must have the **EXTERNAL_USE_SCHEMA** - * privilege on the parent schema and the **EXTERNAL_USE_LOCATION** privilege on the external + *

To create an external delta table, the caller must have the EXTERNAL_USE_SCHEMA + * privilege on the parent schema and the EXTERNAL_USE_LOCATION privilege on the external * location. These privileges must always be granted explicitly, and cannot be inherited through - * ownership or **ALL_PRIVILEGES**. + * ownership or ALL_PRIVILEGES. * - *

Standard UC permissions needed to create tables still apply: **USE_CATALOG** on the parent - * catalog (or ownership of the parent catalog), **CREATE_TABLE** and **USE_SCHEMA** on the parent - * schema (or ownership of the parent schema), and **CREATE_EXTERNAL_TABLE** on external location. + *

Standard UC permissions needed to create tables still apply: USE_CATALOG on the + * parent catalog (or ownership of the parent catalog), CREATE_TABLE and USE_SCHEMA + * on the parent schema (or ownership of the parent schema), and CREATE_EXTERNAL_TABLE on + * external location. * - *

The **columns** field needs to be in a Spark compatible format, so we recommend you use + *

The columns field needs to be in a Spark compatible format, so we recommend you use * Spark to create these tables. The API itself does not validate the correctness of the column * spec. If the spec is not Spark compatible, the tables may not be readable by Databricks * Runtime. * - *

NOTE: The Create Table API for external clients only supports creating **external delta - * tables**. The values shown in the respective enums are all values supported by Databricks, - * however for this specific Create Table API, only **table_type** **EXTERNAL** and - * **data_source_format** **DELTA** are supported. Additionally, column masks are not supported - * when creating tables through this API. + *

NOTE: The Create Table API for external clients only supports creating external delta + * tables. The values shown in the respective enums are all values supported by Databricks, + * however for this specific Create Table API, only table_type EXTERNAL and + * data_source_format DELTA are supported. Additionally, column masks are not + * supported when creating tables through this API. */ public TableInfo create(CreateTableRequest request) { return impl.create(request); @@ -66,9 +67,9 @@ public void delete(String fullName) { /** * Deletes a table from the specified parent catalog and schema. The caller must be the owner of - * the parent catalog, have the **USE_CATALOG** privilege on the parent catalog and be the owner - * of the parent schema, or be the owner of the table and have the **USE_CATALOG** privilege on - * the parent catalog and the **USE_SCHEMA** privilege on the parent schema. + * the parent catalog, have the USE_CATALOG privilege on the parent catalog and be the + * owner of the parent schema, or be the owner of the table and have the USE_CATALOG + * privilege on the parent catalog and the USE_SCHEMA privilege on the parent schema. */ public void delete(DeleteTableRequest request) { impl.delete(request); @@ -80,12 +81,19 @@ public TableExistsResponse exists(String fullName) { /** * Gets if a table exists in the metastore for a specific catalog and schema. The caller must - * satisfy one of the following requirements: * Be a metastore admin * Be the owner of the parent - * catalog * Be the owner of the parent schema and have the **USE_CATALOG** privilege on the - * parent catalog * Have the **USE_CATALOG** privilege on the parent catalog and the - * **USE_SCHEMA** privilege on the parent schema, and either be the table owner or have the - * **SELECT** privilege on the table. * Have **BROWSE** privilege on the parent catalog * Have - * **BROWSE** privilege on the parent schema + * satisfy one of the following requirements: + * + *

    + *
  • Be a metastore admin + *
  • Be the owner of the parent catalog + *
  • Be the owner of the parent schema and have the USE_CATALOG privilege on the parent + * catalog + *
  • Have the USE_CATALOG privilege on the parent catalog and the USE_SCHEMA + * privilege on the parent schema, and either be the table owner or have the SELECT + * privilege on the table. + *
  • Have BROWSE privilege on the parent catalog + *
  • Have BROWSE privilege on the parent schema + *
*/ public TableExistsResponse exists(ExistsRequest request) { return impl.exists(request); @@ -97,10 +105,17 @@ public TableInfo get(String fullName) { /** * Gets a table from the metastore for a specific catalog and schema. The caller must satisfy one - * of the following requirements: * Be a metastore admin * Be the owner of the parent catalog * Be - * the owner of the parent schema and have the **USE_CATALOG** privilege on the parent catalog * - * Have the **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on - * the parent schema, and either be the table owner or have the **SELECT** privilege on the table. + * of the following requirements: + * + *
    + *
  • Be a metastore admin + *
  • Be the owner of the parent catalog + *
  • Be the owner of the parent schema and have the USE_CATALOG privilege on the parent + * catalog + *
  • Have the USE_CATALOG privilege on the parent catalog and the USE_SCHEMA + * privilege on the parent schema, and either be the table owner or have the SELECT + * privilege on the table. + *
*/ public TableInfo get(GetTableRequest request) { return impl.get(request); @@ -112,18 +127,18 @@ public Iterable list(String catalogName, String schemaName) { /** * Gets an array of all tables for the current metastore under the parent catalog and schema. The - * caller must be a metastore admin or an owner of (or have the **SELECT** privilege on) the - * table. For the latter case, the caller must also be the owner or have the **USE_CATALOG** - * privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent schema. There is - * no guarantee of a specific ordering of the elements in the array. + * caller must be a metastore admin or an owner of (or have the SELECT privilege on) the + * table. For the latter case, the caller must also be the owner or have the USE_CATALOG + * privilege on the parent catalog and the USE_SCHEMA privilege on the parent schema. There + * is no guarantee of a specific ordering of the elements in the array. * - *

NOTE: **view_dependencies** and **table_constraints** are not returned by ListTables + *

NOTE: view_dependencies and table_constraints are not returned by ListTables * queries. * *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. @@ -154,11 +169,14 @@ public Iterable listSummaries(String catalogName) { * Gets an array of summaries for tables for a schema and catalog within the metastore. The table * summaries returned are either: * - *

* summaries for tables (within the current metastore and parent catalog and schema), when - * the user is a metastore admin, or: * summaries for tables and schemas (within the current - * metastore and parent catalog) for which the user has ownership or the **SELECT** privilege on - * the table and ownership or **USE_SCHEMA** privilege on the schema, provided that the user also - * has ownership or the **USE_CATALOG** privilege on the parent catalog. + *

    + *
  • summaries for tables (within the current metastore and parent catalog and schema), when + * the user is a metastore admin, or: + *
  • summaries for tables and schemas (within the current metastore and parent catalog) for + * which the user has ownership or the SELECT privilege on the table and ownership or + * USE_SCHEMA privilege on the schema, provided that the user also has ownership or + * the USE_CATALOG privilege on the parent catalog. + *
* *

There is no guarantee of a specific ordering of the elements in the array. * @@ -182,9 +200,9 @@ public Iterable listSummaries(ListSummariesRequest request) { /** * Change the owner of the table. The caller must be the owner of the parent catalog, have the - * **USE_CATALOG** privilege on the parent catalog and be the owner of the parent schema, or be - * the owner of the table and have the **USE_CATALOG** privilege on the parent catalog and the - * **USE_SCHEMA** privilege on the parent schema. + * USE_CATALOG privilege on the parent catalog and be the owner of the parent schema, or be + * the owner of the table and have the USE_CATALOG privilege on the parent catalog and the + * USE_SCHEMA privilege on the parent schema. */ public void update(UpdateTableRequest request) { impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesService.java index 1efde490f..84f6d552e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesService.java @@ -10,8 +10,8 @@ * have the SELECT permission on the table, and they must have the USE_CATALOG permission on its * parent catalog and the USE_SCHEMA permission on its parent schema. * - *

A table can be managed or external. From an API perspective, a __VIEW__ is a particular kind - * of table (rather than a managed or external table). + *

A table can be managed or external. From an API perspective, a VIEW is a particular + * kind of table (rather than a managed or external table). * *

This is the high-level interface, that contains generated methods. * @@ -22,70 +22,85 @@ public interface TablesService { /** * Creates a new table in the specified catalog and schema. * - *

To create an external delta table, the caller must have the **EXTERNAL_USE_SCHEMA** - * privilege on the parent schema and the **EXTERNAL_USE_LOCATION** privilege on the external + *

To create an external delta table, the caller must have the EXTERNAL_USE_SCHEMA + * privilege on the parent schema and the EXTERNAL_USE_LOCATION privilege on the external * location. These privileges must always be granted explicitly, and cannot be inherited through - * ownership or **ALL_PRIVILEGES**. + * ownership or ALL_PRIVILEGES. * - *

Standard UC permissions needed to create tables still apply: **USE_CATALOG** on the parent - * catalog (or ownership of the parent catalog), **CREATE_TABLE** and **USE_SCHEMA** on the parent - * schema (or ownership of the parent schema), and **CREATE_EXTERNAL_TABLE** on external location. + *

Standard UC permissions needed to create tables still apply: USE_CATALOG on the + * parent catalog (or ownership of the parent catalog), CREATE_TABLE and USE_SCHEMA + * on the parent schema (or ownership of the parent schema), and CREATE_EXTERNAL_TABLE on + * external location. * - *

The **columns** field needs to be in a Spark compatible format, so we recommend you use + *

The columns field needs to be in a Spark compatible format, so we recommend you use * Spark to create these tables. The API itself does not validate the correctness of the column * spec. If the spec is not Spark compatible, the tables may not be readable by Databricks * Runtime. * - *

NOTE: The Create Table API for external clients only supports creating **external delta - * tables**. The values shown in the respective enums are all values supported by Databricks, - * however for this specific Create Table API, only **table_type** **EXTERNAL** and - * **data_source_format** **DELTA** are supported. Additionally, column masks are not supported - * when creating tables through this API. + *

NOTE: The Create Table API for external clients only supports creating external delta + * tables. The values shown in the respective enums are all values supported by Databricks, + * however for this specific Create Table API, only table_type EXTERNAL and + * data_source_format DELTA are supported. Additionally, column masks are not + * supported when creating tables through this API. */ TableInfo create(CreateTableRequest createTableRequest); /** * Deletes a table from the specified parent catalog and schema. The caller must be the owner of - * the parent catalog, have the **USE_CATALOG** privilege on the parent catalog and be the owner - * of the parent schema, or be the owner of the table and have the **USE_CATALOG** privilege on - * the parent catalog and the **USE_SCHEMA** privilege on the parent schema. + * the parent catalog, have the USE_CATALOG privilege on the parent catalog and be the + * owner of the parent schema, or be the owner of the table and have the USE_CATALOG + * privilege on the parent catalog and the USE_SCHEMA privilege on the parent schema. */ void delete(DeleteTableRequest deleteTableRequest); /** * Gets if a table exists in the metastore for a specific catalog and schema. The caller must - * satisfy one of the following requirements: * Be a metastore admin * Be the owner of the parent - * catalog * Be the owner of the parent schema and have the **USE_CATALOG** privilege on the - * parent catalog * Have the **USE_CATALOG** privilege on the parent catalog and the - * **USE_SCHEMA** privilege on the parent schema, and either be the table owner or have the - * **SELECT** privilege on the table. * Have **BROWSE** privilege on the parent catalog * Have - * **BROWSE** privilege on the parent schema + * satisfy one of the following requirements: + * + *

    + *
  • Be a metastore admin + *
  • Be the owner of the parent catalog + *
  • Be the owner of the parent schema and have the USE_CATALOG privilege on the parent + * catalog + *
  • Have the USE_CATALOG privilege on the parent catalog and the USE_SCHEMA + * privilege on the parent schema, and either be the table owner or have the SELECT + * privilege on the table. + *
  • Have BROWSE privilege on the parent catalog + *
  • Have BROWSE privilege on the parent schema + *
*/ TableExistsResponse exists(ExistsRequest existsRequest); /** * Gets a table from the metastore for a specific catalog and schema. The caller must satisfy one - * of the following requirements: * Be a metastore admin * Be the owner of the parent catalog * Be - * the owner of the parent schema and have the **USE_CATALOG** privilege on the parent catalog * - * Have the **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on - * the parent schema, and either be the table owner or have the **SELECT** privilege on the table. + * of the following requirements: + * + *
    + *
  • Be a metastore admin + *
  • Be the owner of the parent catalog + *
  • Be the owner of the parent schema and have the USE_CATALOG privilege on the parent + * catalog + *
  • Have the USE_CATALOG privilege on the parent catalog and the USE_SCHEMA + * privilege on the parent schema, and either be the table owner or have the SELECT + * privilege on the table. + *
*/ TableInfo get(GetTableRequest getTableRequest); /** * Gets an array of all tables for the current metastore under the parent catalog and schema. The - * caller must be a metastore admin or an owner of (or have the **SELECT** privilege on) the - * table. For the latter case, the caller must also be the owner or have the **USE_CATALOG** - * privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent schema. There is - * no guarantee of a specific ordering of the elements in the array. + * caller must be a metastore admin or an owner of (or have the SELECT privilege on) the + * table. For the latter case, the caller must also be the owner or have the USE_CATALOG + * privilege on the parent catalog and the USE_SCHEMA privilege on the parent schema. There + * is no guarantee of a specific ordering of the elements in the array. * - *

NOTE: **view_dependencies** and **table_constraints** are not returned by ListTables + *

NOTE: view_dependencies and table_constraints are not returned by ListTables * queries. * *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. @@ -96,11 +111,14 @@ public interface TablesService { * Gets an array of summaries for tables for a schema and catalog within the metastore. The table * summaries returned are either: * - *

* summaries for tables (within the current metastore and parent catalog and schema), when - * the user is a metastore admin, or: * summaries for tables and schemas (within the current - * metastore and parent catalog) for which the user has ownership or the **SELECT** privilege on - * the table and ownership or **USE_SCHEMA** privilege on the schema, provided that the user also - * has ownership or the **USE_CATALOG** privilege on the parent catalog. + *

    + *
  • summaries for tables (within the current metastore and parent catalog and schema), when + * the user is a metastore admin, or: + *
  • summaries for tables and schemas (within the current metastore and parent catalog) for + * which the user has ownership or the SELECT privilege on the table and ownership or + * USE_SCHEMA privilege on the schema, provided that the user also has ownership or + * the USE_CATALOG privilege on the parent catalog. + *
* *

There is no guarantee of a specific ordering of the elements in the array. * @@ -112,9 +130,9 @@ public interface TablesService { /** * Change the owner of the table. The caller must be the owner of the parent catalog, have the - * **USE_CATALOG** privilege on the parent catalog and be the owner of the parent schema, or be - * the owner of the table and have the **USE_CATALOG** privilege on the parent catalog and the - * **USE_SCHEMA** privilege on the parent schema. + * USE_CATALOG privilege on the parent catalog and be the owner of the parent schema, or be + * the owner of the table and have the USE_CATALOG privilege on the parent catalog and the + * USE_SCHEMA privilege on the parent schema. */ void update(UpdateTableRequest updateTableRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryPathCredentialsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryPathCredentialsAPI.java index 8ba3bec52..ccf431878 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryPathCredentialsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryPathCredentialsAPI.java @@ -47,11 +47,11 @@ public TemporaryPathCredentialsAPI(TemporaryPathCredentialsService mock) { * Get a short-lived credential for directly accessing cloud storage locations registered in * Databricks. The Generate Temporary Path Credentials API is only supported for external storage * paths, specifically external locations and external tables. Managed tables are not supported by - * this API. The metastore must have **external_access_enabled** flag set to true (default false). - * The caller must have the **EXTERNAL_USE_LOCATION** privilege on the external location; this - * privilege can only be granted by external location owners. For requests on existing external - * tables, the caller must also have the **EXTERNAL_USE_SCHEMA** privilege on the parent schema; - * this privilege can only be granted by catalog owners. + * this API. The metastore must have external_access_enabled flag set to true (default + * false). The caller must have the EXTERNAL_USE_LOCATION privilege on the external + * location; this privilege can only be granted by external location owners. For requests on + * existing external tables, the caller must also have the EXTERNAL_USE_SCHEMA privilege on + * the parent schema; this privilege can only be granted by catalog owners. */ public GenerateTemporaryPathCredentialResponse generateTemporaryPathCredentials( GenerateTemporaryPathCredentialRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryPathCredentialsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryPathCredentialsService.java index a77a2663d..11b1f0b85 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryPathCredentialsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryPathCredentialsService.java @@ -34,11 +34,11 @@ public interface TemporaryPathCredentialsService { * Get a short-lived credential for directly accessing cloud storage locations registered in * Databricks. The Generate Temporary Path Credentials API is only supported for external storage * paths, specifically external locations and external tables. Managed tables are not supported by - * this API. The metastore must have **external_access_enabled** flag set to true (default false). - * The caller must have the **EXTERNAL_USE_LOCATION** privilege on the external location; this - * privilege can only be granted by external location owners. For requests on existing external - * tables, the caller must also have the **EXTERNAL_USE_SCHEMA** privilege on the parent schema; - * this privilege can only be granted by catalog owners. + * this API. The metastore must have external_access_enabled flag set to true (default + * false). The caller must have the EXTERNAL_USE_LOCATION privilege on the external + * location; this privilege can only be granted by external location owners. For requests on + * existing external tables, the caller must also have the EXTERNAL_USE_SCHEMA privilege on + * the parent schema; this privilege can only be granted by catalog owners. */ GenerateTemporaryPathCredentialResponse generateTemporaryPathCredentials( GenerateTemporaryPathCredentialRequest generateTemporaryPathCredentialRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryTableCredentialsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryTableCredentialsAPI.java index 337b5f8ae..52c0c2ee6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryTableCredentialsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryTableCredentialsAPI.java @@ -40,8 +40,8 @@ public TemporaryTableCredentialsAPI(TemporaryTableCredentialsService mock) { /** * Get a short-lived credential for directly accessing the table data on cloud storage. The - * metastore must have **external_access_enabled** flag set to true (default false). The caller - * must have the **EXTERNAL_USE_SCHEMA** privilege on the parent schema and this privilege can + * metastore must have external_access_enabled flag set to true (default false). The caller + * must have the EXTERNAL_USE_SCHEMA privilege on the parent schema and this privilege can * only be granted by catalog owners. */ public GenerateTemporaryTableCredentialResponse generateTemporaryTableCredentials( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryTableCredentialsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryTableCredentialsService.java index f5057721c..34013db5a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryTableCredentialsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryTableCredentialsService.java @@ -27,8 +27,8 @@ public interface TemporaryTableCredentialsService { /** * Get a short-lived credential for directly accessing the table data on cloud storage. The - * metastore must have **external_access_enabled** flag set to true (default false). The caller - * must have the **EXTERNAL_USE_SCHEMA** privilege on the parent schema and this privilege can + * metastore must have external_access_enabled flag set to true (default false). The caller + * must have the EXTERNAL_USE_SCHEMA privilege on the parent schema and this privilege can * only be granted by catalog owners. */ GenerateTemporaryTableCredentialResponse generateTemporaryTableCredentials( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryVolumeCredentialsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryVolumeCredentialsAPI.java index d91363f13..96014ba9e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryVolumeCredentialsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryVolumeCredentialsAPI.java @@ -40,8 +40,8 @@ public TemporaryVolumeCredentialsAPI(TemporaryVolumeCredentialsService mock) { /** * Get a short-lived credential for directly accessing the volume data on cloud storage. The - * metastore must have **external_access_enabled** flag set to true (default false). The caller - * must have the **EXTERNAL_USE_SCHEMA** privilege on the parent schema and this privilege can + * metastore must have external_access_enabled flag set to true (default false). The caller + * must have the EXTERNAL_USE_SCHEMA privilege on the parent schema and this privilege can * only be granted by catalog owners. */ public GenerateTemporaryVolumeCredentialResponse generateTemporaryVolumeCredentials( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryVolumeCredentialsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryVolumeCredentialsService.java index 726abe937..7b2fcb6cc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryVolumeCredentialsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TemporaryVolumeCredentialsService.java @@ -27,8 +27,8 @@ public interface TemporaryVolumeCredentialsService { /** * Get a short-lived credential for directly accessing the volume data on cloud storage. The - * metastore must have **external_access_enabled** flag set to true (default false). The caller - * must have the **EXTERNAL_USE_SCHEMA** privilege on the parent schema and this privilege can + * metastore must have external_access_enabled flag set to true (default false). The caller + * must have the EXTERNAL_USE_SCHEMA privilege on the parent schema and this privilege can * only be granted by catalog owners. */ GenerateTemporaryVolumeCredentialResponse generateTemporaryVolumeCredentials( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateAccessRequestDestinationsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateAccessRequestDestinationsRequest.java index dac6c0ae3..2a8429e53 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateAccessRequestDestinationsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateAccessRequestDestinationsRequest.java @@ -13,21 +13,21 @@ public class UpdateAccessRequestDestinationsRequest { /** * The access request destinations to assign to the securable. For each destination, a - * **destination_id** and **destination_type** must be defined. + * destination_id and destination_type must be defined. */ @JsonProperty("access_request_destinations") private AccessRequestDestinations accessRequestDestinations; /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonIgnore @QueryParam("update_mask") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateAccountsMetastore.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateAccountsMetastore.java index edb988b14..37056ac63 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateAccountsMetastore.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateAccountsMetastore.java @@ -32,7 +32,9 @@ public class UpdateAccountsMetastore { @JsonProperty("owner") private String owner; - /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */ + /** + * Privilege model version of the metastore, of the form {@code major.minor} (e.g., {@code 1.0}). + */ @JsonProperty("privilege_model_version") private String privilegeModelVersion; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateAccountsStorageCredential.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateAccountsStorageCredential.java index 22801de40..613ba9483 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateAccountsStorageCredential.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateAccountsStorageCredential.java @@ -46,7 +46,7 @@ public class UpdateAccountsStorageCredential { /** * Whether the credential is usable only for read operations. Only applicable when purpose is - * **STORAGE**. + * STORAGE. */ @JsonProperty("read_only") private Boolean readOnly; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateCredentialRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateCredentialRequest.java index bba0e810a..7e2cc1f21 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateCredentialRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateCredentialRequest.java @@ -31,8 +31,8 @@ public class UpdateCredentialRequest { private DatabricksGcpServiceAccount databricksGcpServiceAccount; /** - * Force an update even if there are dependent services (when purpose is **SERVICE**) or dependent - * external locations and external tables (when purpose is **STORAGE**). + * Force an update even if there are dependent services (when purpose is SERVICE) or + * dependent external locations and external tables (when purpose is STORAGE). */ @JsonProperty("force") private Boolean force; @@ -57,7 +57,7 @@ public class UpdateCredentialRequest { /** * Whether the credential is usable only for read operations. Only applicable when purpose is - * **STORAGE**. + * STORAGE. */ @JsonProperty("read_only") private Boolean readOnly; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateEntityTagAssignmentRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateEntityTagAssignmentRequest.java index 46758b6d3..4ccc152ff 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateEntityTagAssignmentRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateEntityTagAssignmentRequest.java @@ -26,14 +26,14 @@ public class UpdateEntityTagAssignmentRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonIgnore @QueryParam("update_mask") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateExternalLineageRelationshipRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateExternalLineageRelationshipRequest.java index 1b42084f5..14dff5bdf 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateExternalLineageRelationshipRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateExternalLineageRelationshipRequest.java @@ -17,14 +17,14 @@ public class UpdateExternalLineageRelationshipRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonIgnore @QueryParam("update_mask") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateExternalLocation.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateExternalLocation.java index 30a957764..a32156904 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateExternalLocation.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateExternalLocation.java @@ -18,23 +18,23 @@ public class UpdateExternalLocation { @JsonProperty("credential_name") private String credentialName; - /** The effective value of `enable_file_events` after applying server-side defaults. */ + /** The effective value of {@code enable_file_events} after applying server-side defaults. */ @JsonProperty("effective_enable_file_events") private Boolean effectiveEnableFileEvents; /** * The effective file event queue configuration after applying server-side defaults. Always - * populated when a queue is provisioned, regardless of whether the user explicitly set - * `enable_file_events`. Use this field instead of `file_event_queue` for reading the actual queue - * state. + * populated when a queue is provisioned, regardless of whether the user explicitly set {@code + * enable_file_events}. Use this field instead of {@code file_event_queue} for reading the actual + * queue state. */ @JsonProperty("effective_file_event_queue") private FileEventQueue effectiveFileEventQueue; /** - * Whether to enable file events on this external location. Default to `true`. Set to `false` to - * disable file events. The actual applied value may differ due to server-side defaults; check - * `effective_enable_file_events` for the effective state. + * Whether to enable file events on this external location. Default to {@code true}. Set to {@code + * false} to disable file events. The actual applied value may differ due to server-side defaults; + * check {@code effective_enable_file_events} for the effective state. */ @JsonProperty("enable_file_events") private Boolean enableFileEvents; @@ -52,8 +52,8 @@ public class UpdateExternalLocation { private Boolean fallback; /** - * File event queue settings. If `enable_file_events` is not `false`, must be defined and have - * exactly one of the documented properties. + * File event queue settings. If {@code enable_file_events} is not {@code false}, must be defined + * and have exactly one of the documented properties. */ @JsonProperty("file_event_queue") private FileEventQueue fileEventQueue; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateExternalMetadataRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateExternalMetadataRequest.java index 890161e0e..f2647037b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateExternalMetadataRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateExternalMetadataRequest.java @@ -20,14 +20,14 @@ public class UpdateExternalMetadataRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonIgnore @QueryParam("update_mask") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateFunction.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateFunction.java index bdbf23c12..5dfde3a4b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateFunction.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateFunction.java @@ -12,7 +12,7 @@ public class UpdateFunction { /** * The fully-qualified name of the function (of the form - * __catalog_name__.__schema_name__.__function__name__). + * catalog_name.schema_name.function__name). */ @JsonIgnore private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateMetastore.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateMetastore.java index 4c66f7533..a4f3743ec 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateMetastore.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateMetastore.java @@ -40,7 +40,9 @@ public class UpdateMetastore { @JsonProperty("owner") private String owner; - /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */ + /** + * Privilege model version of the metastore, of the form {@code major.minor} (e.g., {@code 1.0}). + */ @JsonProperty("privilege_model_version") private String privilegeModelVersion; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateModelVersionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateModelVersionRequest.java index b49178472..e9e797c4f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateModelVersionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateModelVersionRequest.java @@ -51,7 +51,7 @@ public class UpdateModelVersionRequest { private DependencyList modelVersionDependencies; /** - * MLflow run ID used when creating the model version, if ``source`` was generated by an + * MLflow run ID used when creating the model version, if {@code source} was generated by an * experiment run stored in an MLflow tracking server */ @JsonProperty("run_id") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateMonitor.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateMonitor.java index bea5e8a7c..9779d6f46 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateMonitor.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateMonitor.java @@ -13,8 +13,8 @@ public class UpdateMonitor { /** * [Create:OPT Update:OPT] Baseline table name. Baseline data is used to compute drift from the - * data in the monitored `table_name`. The baseline table and the monitored table shall have the - * same schema. + * data in the monitored {@code table_name}. The baseline table and the monitored table shall have + * the same schema. */ @JsonProperty("baseline_table_name") private String baselineTableName; @@ -60,10 +60,10 @@ public class UpdateMonitor { /** * [Create:OPT Update:OPT] List of column expressions to slice data with for targeted analysis. * The data is grouped by each expression independently, resulting in a separate slice for each - * predicate and its complements. For example `slicing_exprs=[“col_1”, “col_2 > 10”]` will - * generate the following slices: two slices for `col_2 > 10` (True and False), and one slice per - * unique value in `col1`. For high-cardinality columns, only the top 100 unique values by - * frequency will generate slices. + * predicate and its complements. For example {@code slicing_exprs=[“col_1”, “col_2 > 10”]} will + * generate the following slices: two slices for {@code col_2 > 10} (True and False), and one + * slice per unique value in {@code col1}. For high-cardinality columns, only the top 100 unique + * values by frequency will generate slices. */ @JsonProperty("slicing_exprs") private Collection slicingExprs; @@ -73,7 +73,7 @@ public class UpdateMonitor { private MonitorSnapshot snapshot; /** - * UC table name in format `catalog.schema.table_name`. This field corresponds to the + * UC table name in format {@code catalog.schema.table_name}. This field corresponds to the * {full_table_name_arg} arg in the endpoint path. */ @JsonIgnore private String tableName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdatePolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdatePolicyRequest.java index bd6369215..e957af735 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdatePolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdatePolicyRequest.java @@ -21,12 +21,16 @@ public class UpdatePolicyRequest { @JsonIgnore private String onSecurableType; /** - * Optional fields to update. This is the request body for updating a policy. Use `update_mask` - * field to specify which fields in the request is to be updated. - If `update_mask` is empty or - * "*", all specified fields will be updated. - If `update_mask` is specified, only the fields - * specified in the `update_mask` will be updated. If a field is specified in `update_mask` and - * not set in the request, the field will be cleared. Users can use the update mask to explicitly - * unset optional fields such as `exception_principals` and `when_condition`. + * Optional fields to update. This is the request body for updating a policy. Use {@code + * update_mask} field to specify which fields in the request is to be updated. + * + *

    + *
  • If {@code update_mask} is empty or "*", all specified fields will be updated. + *
  • If {@code update_mask} is specified, only the fields specified in the {@code update_mask} + * will be updated. If a field is specified in {@code update_mask} and not set in the + * request, the field will be cleared. Users can use the update mask to explicitly unset + * optional fields such as {@code exception_principals} and {@code when_condition}. + *
*/ @JsonProperty("policy_info") private PolicyInfo policyInfo; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateSecretRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateSecretRequest.java index 0e7298448..f11af504c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateSecretRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateSecretRequest.java @@ -14,20 +14,20 @@ public class UpdateSecretRequest { /** * The three-level (fully qualified) name of the secret (for example, - * **catalog_name.schema_name.secret_name**). + * catalog_name.schema_name.secret_name). */ @JsonIgnore private String fullName; /** - * The secret object containing the fields to update. Only fields specified in **update_mask** + * The secret object containing the fields to update. Only fields specified in update_mask * will be updated. */ @JsonProperty("secret") private Secret secret; /** - * The field mask specifying which fields of the secret to update. Supported fields: **value**, - * **comment**, **owner**, **expire_time**. + * The field mask specifying which fields of the secret to update. Supported fields: value, + * comment, owner, expire_time. */ @JsonIgnore @QueryParam("update_mask") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateStorageCredential.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateStorageCredential.java index 4829c49ae..042ba44c8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateStorageCredential.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateStorageCredential.java @@ -58,7 +58,7 @@ public class UpdateStorageCredential { /** * Whether the credential is usable only for read operations. Only applicable when purpose is - * **STORAGE**. + * STORAGE. */ @JsonProperty("read_only") private Boolean readOnly; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidateCredentialRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidateCredentialRequest.java index dd405f9c3..9707f3a1e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidateCredentialRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidateCredentialRequest.java @@ -28,7 +28,7 @@ public class ValidateCredentialRequest { /** * The name of an existing external location to validate. Only applicable for storage credentials - * (purpose is **STORAGE**.) + * (purpose is STORAGE.) */ @JsonProperty("external_location_name") private String externalLocationName; @@ -39,12 +39,12 @@ public class ValidateCredentialRequest { /** * Whether the credential is only usable for read operations. Only applicable for storage - * credentials (purpose is **STORAGE**.) + * credentials (purpose is STORAGE.) */ @JsonProperty("read_only") private Boolean readOnly; - /** The external location url to validate. Only applicable when purpose is **STORAGE**. */ + /** The external location url to validate. Only applicable when purpose is STORAGE. */ @JsonProperty("url") private String url; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidateCredentialResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidateCredentialResponse.java index bded52047..852b86d0f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidateCredentialResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidateCredentialResponse.java @@ -12,7 +12,7 @@ public class ValidateCredentialResponse { /** * Whether the tested location is a directory in cloud storage. Only applicable for when purpose - * is **STORAGE**. + * is STORAGE. */ @JsonProperty("isDir") private Boolean isDir; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidationResult.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidationResult.java index 628e2b373..5b5273287 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidationResult.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidationResult.java @@ -9,7 +9,7 @@ @Generated public class ValidationResult { - /** Error message would exist when the result does not equal to **PASS**. */ + /** Error message would exist when the result does not equal to PASS. */ @JsonProperty("message") private String message; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumeInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumeInfo.java index 3f74f8647..92e400786 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumeInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumeInfo.java @@ -79,9 +79,8 @@ public class VolumeInfo { /** * The type of the volume. An external volume is located in the specified external location. A * managed volume is located in the default location which is specified by the parent schema, or - * the parent catalog, or the Metastore. [Learn more] - * - *

[Learn more]: https://docs.databricks.com/aws/en/volumes/managed-vs-external + * the parent catalog, or the Metastore. Learn more */ @JsonProperty("volume_type") private VolumeType volumeType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumesAPI.java index ebbf25311..70731f131 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumesAPI.java @@ -40,15 +40,23 @@ public VolumesAPI(VolumesService mock) { * default location which is specified by the parent schema, or the parent catalog, or the * Metastore. * - *

For the volume creation to succeed, the user must satisfy following conditions: - The caller - * must be a metastore admin, or be the owner of the parent catalog and schema, or have the - * **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent - * schema. - The caller must have **CREATE VOLUME** privilege on the parent schema. + *

For the volume creation to succeed, the user must satisfy following conditions: * - *

For an external volume, following conditions also need to satisfy - The caller must have - * **CREATE EXTERNAL VOLUME** privilege on the external location. - There are no other tables, nor - * volumes existing in the specified storage location. - The specified storage location is not - * under the location of other tables, nor volumes, or catalogs or schemas. + *

    + *
  • The caller must be a metastore admin, or be the owner of the parent catalog and schema, + * or have the USE_CATALOG privilege on the parent catalog and the USE_SCHEMA + * privilege on the parent schema. + *
  • The caller must have CREATE VOLUME privilege on the parent schema. + *
+ * + *

For an external volume, following conditions also need to satisfy + * + *

    + *
  • The caller must have CREATE EXTERNAL VOLUME privilege on the external location. + *
  • There are no other tables, nor volumes existing in the specified storage location. + *
  • The specified storage location is not under the location of other tables, nor volumes, or + * catalogs or schemas. + *
*/ public VolumeInfo create(CreateVolumeRequestContent request) { return impl.create(request); @@ -62,8 +70,8 @@ public void delete(String name) { * Deletes a volume from the specified parent catalog and schema. * *

The caller must be a metastore admin or an owner of the volume. For the latter case, the - * caller must also be the owner or have the **USE_CATALOG** privilege on the parent catalog and - * the **USE_SCHEMA** privilege on the parent schema. + * caller must also be the owner or have the USE_CATALOG privilege on the parent catalog + * and the USE_SCHEMA privilege on the parent schema. */ public void delete(DeleteVolumeRequest request) { impl.delete(request); @@ -78,9 +86,9 @@ public Iterable list(String catalogName, String schemaName) { * *

The returned volumes are filtered based on the privileges of the calling user. For example, * the metastore admin is able to list all the volumes. A regular user needs to be the owner or - * have the **READ VOLUME** privilege on the volume to receive the volumes in the response. For - * the latter case, the caller must also be the owner or have the **USE_CATALOG** privilege on the - * parent catalog and the **USE_SCHEMA** privilege on the parent schema. + * have the READ VOLUME privilege on the volume to receive the volumes in the response. For + * the latter case, the caller must also be the owner or have the USE_CATALOG privilege on + * the parent catalog and the USE_SCHEMA privilege on the parent schema. * *

There is no guarantee of a specific ordering of the elements in the array. * @@ -109,10 +117,10 @@ public VolumeInfo read(String name) { /** * Gets a volume from the metastore for a specific catalog and schema. * - *

The caller must be a metastore admin or an owner of (or have the **READ VOLUME** privilege - * on) the volume. For the latter case, the caller must also be the owner or have the - * **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent - * schema. + *

The caller must be a metastore admin or an owner of (or have the READ VOLUME + * privilege on) the volume. For the latter case, the caller must also be the owner or have the + * USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on the + * parent schema. */ public VolumeInfo read(ReadVolumeRequest request) { return impl.read(request); @@ -122,8 +130,8 @@ public VolumeInfo read(ReadVolumeRequest request) { * Updates the specified volume under the specified parent catalog and schema. * *

The caller must be a metastore admin or an owner of the volume. For the latter case, the - * caller must also be the owner or have the **USE_CATALOG** privilege on the parent catalog and - * the **USE_SCHEMA** privilege on the parent schema. + * caller must also be the owner or have the USE_CATALOG privilege on the parent catalog + * and the USE_SCHEMA privilege on the parent schema. * *

Currently only the name, the owner or the comment of the volume could be updated. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumesService.java index 14a3115b4..67e1ade4e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/VolumesService.java @@ -26,15 +26,23 @@ public interface VolumesService { * default location which is specified by the parent schema, or the parent catalog, or the * Metastore. * - *

For the volume creation to succeed, the user must satisfy following conditions: - The caller - * must be a metastore admin, or be the owner of the parent catalog and schema, or have the - * **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent - * schema. - The caller must have **CREATE VOLUME** privilege on the parent schema. + *

For the volume creation to succeed, the user must satisfy following conditions: * - *

For an external volume, following conditions also need to satisfy - The caller must have - * **CREATE EXTERNAL VOLUME** privilege on the external location. - There are no other tables, nor - * volumes existing in the specified storage location. - The specified storage location is not - * under the location of other tables, nor volumes, or catalogs or schemas. + *

    + *
  • The caller must be a metastore admin, or be the owner of the parent catalog and schema, + * or have the USE_CATALOG privilege on the parent catalog and the USE_SCHEMA + * privilege on the parent schema. + *
  • The caller must have CREATE VOLUME privilege on the parent schema. + *
+ * + *

For an external volume, following conditions also need to satisfy + * + *

    + *
  • The caller must have CREATE EXTERNAL VOLUME privilege on the external location. + *
  • There are no other tables, nor volumes existing in the specified storage location. + *
  • The specified storage location is not under the location of other tables, nor volumes, or + * catalogs or schemas. + *
*/ VolumeInfo create(CreateVolumeRequestContent createVolumeRequestContent); @@ -42,8 +50,8 @@ public interface VolumesService { * Deletes a volume from the specified parent catalog and schema. * *

The caller must be a metastore admin or an owner of the volume. For the latter case, the - * caller must also be the owner or have the **USE_CATALOG** privilege on the parent catalog and - * the **USE_SCHEMA** privilege on the parent schema. + * caller must also be the owner or have the USE_CATALOG privilege on the parent catalog + * and the USE_SCHEMA privilege on the parent schema. */ void delete(DeleteVolumeRequest deleteVolumeRequest); @@ -52,9 +60,9 @@ public interface VolumesService { * *

The returned volumes are filtered based on the privileges of the calling user. For example, * the metastore admin is able to list all the volumes. A regular user needs to be the owner or - * have the **READ VOLUME** privilege on the volume to receive the volumes in the response. For - * the latter case, the caller must also be the owner or have the **USE_CATALOG** privilege on the - * parent catalog and the **USE_SCHEMA** privilege on the parent schema. + * have the READ VOLUME privilege on the volume to receive the volumes in the response. For + * the latter case, the caller must also be the owner or have the USE_CATALOG privilege on + * the parent catalog and the USE_SCHEMA privilege on the parent schema. * *

There is no guarantee of a specific ordering of the elements in the array. * @@ -67,10 +75,10 @@ public interface VolumesService { /** * Gets a volume from the metastore for a specific catalog and schema. * - *

The caller must be a metastore admin or an owner of (or have the **READ VOLUME** privilege - * on) the volume. For the latter case, the caller must also be the owner or have the - * **USE_CATALOG** privilege on the parent catalog and the **USE_SCHEMA** privilege on the parent - * schema. + *

The caller must be a metastore admin or an owner of (or have the READ VOLUME + * privilege on) the volume. For the latter case, the caller must also be the owner or have the + * USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on the + * parent schema. */ VolumeInfo read(ReadVolumeRequest readVolumeRequest); @@ -78,8 +86,8 @@ public interface VolumesService { * Updates the specified volume under the specified parent catalog and schema. * *

The caller must be a metastore admin or an owner of the volume. For the latter case, the - * caller must also be the owner or have the **USE_CATALOG** privilege on the parent catalog and - * the **USE_SCHEMA** privilege on the parent schema. + * caller must also be the owner or have the USE_CATALOG privilege on the parent catalog + * and the USE_SCHEMA privilege on the parent schema. * *

Currently only the name, the owner or the comment of the volume could be updated. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingBindingType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingBindingType.java index 0aeb76cc9..faf8df6b9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingBindingType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingBindingType.java @@ -5,8 +5,8 @@ import com.databricks.sdk.support.Generated; /** - * Using `BINDING_TYPE_` prefix here to avoid conflict with `TableOperation` enum in - * `credentials_common.proto`. + * Using {@code BINDING_TYPE_} prefix here to avoid conflict with {@code TableOperation} enum in + * {@code credentials_common.proto}. */ @Generated public enum WorkspaceBindingBindingType { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingsAPI.java index ad41bcda5..b2ad0ae66 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingsAPI.java @@ -8,13 +8,14 @@ import com.databricks.sdk.support.Paginator; /** - * A securable in Databricks can be configured as __OPEN__ or __ISOLATED__. An __OPEN__ securable - * can be accessed from any workspace, while an __ISOLATED__ securable can only be accessed from a - * configured list of workspaces. This API allows you to configure (bind) securables to workspaces. + * A securable in Databricks can be configured as OPEN or ISOLATED. An OPEN + * securable can be accessed from any workspace, while an ISOLATED securable can only be + * accessed from a configured list of workspaces. This API allows you to configure (bind) securables + * to workspaces. * - *

NOTE: The __isolation_mode__ is configured for the securable itself (using its Update method) - * and the workspace bindings are only consulted when the securable's __isolation_mode__ is set to - * __ISOLATED__. + *

NOTE: The isolation_mode is configured for the securable itself (using its Update + * method) and the workspace bindings are only consulted when the securable's isolation_mode + * is set to ISOLATED. * *

A securable's workspace bindings can be configured by a metastore admin or the owner of the * securable. @@ -23,8 +24,14 @@ * Please use the new path (/api/2.1/unity-catalog/bindings/{securable_type}/{securable_name}) which * introduces the ability to bind a securable in READ_ONLY mode (catalogs only). * - *

Securable types that support binding: - catalog - storage_credential - credential - - * external_location + *

Securable types that support binding: + * + *

    + *
  • catalog + *
  • storage_credential + *
  • credential + *
  • external_location + *
*/ @Generated public class WorkspaceBindingsAPI { @@ -66,7 +73,7 @@ public Iterable getBindings(String securableType, String secur *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingsService.java index 5b7b2ccf3..d05aa6751 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/WorkspaceBindingsService.java @@ -4,13 +4,14 @@ import com.databricks.sdk.support.Generated; /** - * A securable in Databricks can be configured as __OPEN__ or __ISOLATED__. An __OPEN__ securable - * can be accessed from any workspace, while an __ISOLATED__ securable can only be accessed from a - * configured list of workspaces. This API allows you to configure (bind) securables to workspaces. + * A securable in Databricks can be configured as OPEN or ISOLATED. An OPEN + * securable can be accessed from any workspace, while an ISOLATED securable can only be + * accessed from a configured list of workspaces. This API allows you to configure (bind) securables + * to workspaces. * - *

NOTE: The __isolation_mode__ is configured for the securable itself (using its Update method) - * and the workspace bindings are only consulted when the securable's __isolation_mode__ is set to - * __ISOLATED__. + *

NOTE: The isolation_mode is configured for the securable itself (using its Update + * method) and the workspace bindings are only consulted when the securable's isolation_mode + * is set to ISOLATED. * *

A securable's workspace bindings can be configured by a metastore admin or the owner of the * securable. @@ -19,10 +20,16 @@ * Please use the new path (/api/2.1/unity-catalog/bindings/{securable_type}/{securable_name}) which * introduces the ability to bind a securable in READ_ONLY mode (catalogs only). * - *

Securable types that support binding: - catalog - storage_credential - credential - - * external_location + *

Securable types that support binding: * - *

This is the high-level interface, that contains generated methods. + *

    + *
  • catalog + *
  • storage_credential + *
  • credential + *
  • external_location + *
+ * + * This is the high-level interface, that contains generated methods. * *

Evolving: this interface is under development. Method signatures may change. */ @@ -41,7 +48,7 @@ public interface WorkspaceBindingsService { *

NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated * calls will be deprecated soon. * - *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero + *

PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero * results while still providing a next_page_token. Clients must continue reading pages until * next_page_token is absent, which is the only indication that the end of results has been * reached. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoom.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoom.java index 0372a8bd2..6bc2ddea5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoom.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoom.java @@ -10,9 +10,8 @@ @Generated public class CleanRoom { /** - * Whether clean room access is restricted due to [CSP] - * - *

[CSP]: https://docs.databricks.com/en/security/privacy/security-profile.html + * Whether clean room access is restricted due to CSP */ @JsonProperty("access_restricted") private CleanRoomAccessRestricted accessRestricted; @@ -30,10 +29,9 @@ public class CleanRoom { private String localCollaboratorAlias; /** - * The name of the clean room. It should follow [UC securable naming requirements]. - * - *

[UC securable naming requirements]: - * https://docs.databricks.com/en/data-governance/unity-catalog/index.html#securable-object-naming-requirements + * The name of the clean room. It should follow UC + * securable naming requirements. */ @JsonProperty("name") private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAsset.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAsset.java index 92ccceeeb..e342d6841 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAsset.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAsset.java @@ -27,14 +27,14 @@ public class CleanRoomAsset { /** * Foreign table details available to all collaborators of the clean room. Present if and only if - * **asset_type** is **FOREIGN_TABLE** + * asset_type is FOREIGN_TABLE */ @JsonProperty("foreign_table") private CleanRoomAssetForeignTable foreignTable; /** * Local details for a foreign that are only available to its owner. Present if and only if - * **asset_type** is **FOREIGN_TABLE** + * asset_type is FOREIGN_TABLE */ @JsonProperty("foreign_table_local_details") private CleanRoomAssetForeignTableLocalDetails foreignTableLocalDetails; @@ -44,7 +44,7 @@ public class CleanRoomAsset { * the name displayed in the clean room UI. * *

For UC securable assets (tables, volumes, etc.), the format is - * *shared_catalog*.*shared_schema*.*asset_name* + * shared_catalog.shared_schema.asset_name * *

For notebooks, the name is the notebook file name. For jar analyses, the name is the jar * analysis name. @@ -54,7 +54,7 @@ public class CleanRoomAsset { /** * Notebook details available to all collaborators of the clean room. Present if and only if - * **asset_type** is **NOTEBOOK_FILE** + * asset_type is NOTEBOOK_FILE */ @JsonProperty("notebook") private CleanRoomAssetNotebook notebook; @@ -69,35 +69,35 @@ public class CleanRoomAsset { /** * Table details available to all collaborators of the clean room. Present if and only if - * **asset_type** is **TABLE** + * asset_type is TABLE */ @JsonProperty("table") private CleanRoomAssetTable table; /** * Local details for a table that are only available to its owner. Present if and only if - * **asset_type** is **TABLE** + * asset_type is TABLE */ @JsonProperty("table_local_details") private CleanRoomAssetTableLocalDetails tableLocalDetails; /** * View details available to all collaborators of the clean room. Present if and only if - * **asset_type** is **VIEW** + * asset_type is VIEW */ @JsonProperty("view") private CleanRoomAssetView view; /** * Local details for a view that are only available to its owner. Present if and only if - * **asset_type** is **VIEW** + * asset_type is VIEW */ @JsonProperty("view_local_details") private CleanRoomAssetViewLocalDetails viewLocalDetails; /** * Local details for a volume that are only available to its owner. Present if and only if - * **asset_type** is **VOLUME** + * asset_type is VOLUME */ @JsonProperty("volume_local_details") private CleanRoomAssetVolumeLocalDetails volumeLocalDetails; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetForeignTableLocalDetails.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetForeignTableLocalDetails.java index 04e0234e0..e639a5fd7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetForeignTableLocalDetails.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetForeignTableLocalDetails.java @@ -11,7 +11,7 @@ public class CleanRoomAssetForeignTableLocalDetails { /** * The fully qualified name of the foreign table in its owner's local metastore, in the format of - * *catalog*.*schema*.*foreign_table_name* + * catalog.schema.foreign_table_name */ @JsonProperty("local_name") private String localName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetNotebook.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetNotebook.java index c4d6211cc..bcc1747a8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetNotebook.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetNotebook.java @@ -16,7 +16,7 @@ public class CleanRoomAssetNotebook { /** * Base 64 representation of the notebook contents. This is the same format as returned by - * :method:workspace/export with the format of **HTML**. + * :method:workspace/export with the format of HTML. */ @JsonProperty("notebook_content") private String notebookContent; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetTableLocalDetails.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetTableLocalDetails.java index 308f3b99c..0d5905d33 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetTableLocalDetails.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetTableLocalDetails.java @@ -12,7 +12,7 @@ public class CleanRoomAssetTableLocalDetails { /** * The fully qualified name of the table in its owner's local metastore, in the format of - * *catalog*.*schema*.*table_name* + * catalog.schema.table_name */ @JsonProperty("local_name") private String localName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetViewLocalDetails.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetViewLocalDetails.java index 8727c5ab7..c12f57d50 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetViewLocalDetails.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetViewLocalDetails.java @@ -11,7 +11,7 @@ public class CleanRoomAssetViewLocalDetails { /** * The fully qualified name of the view in its owner's local metastore, in the format of - * *catalog*.*schema*.*view_name* + * catalog.schema.view_name */ @JsonProperty("local_name") private String localName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetVolumeLocalDetails.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetVolumeLocalDetails.java index 8899663c9..201f350a3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetVolumeLocalDetails.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAssetVolumeLocalDetails.java @@ -11,7 +11,7 @@ public class CleanRoomAssetVolumeLocalDetails { /** * The fully qualified name of the volume in its owner's local metastore, in the format of - * *catalog*.*schema*.*volume_name* + * catalog.schema.volume_name */ @JsonProperty("local_name") private String localName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAutoApprovalRule.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAutoApprovalRule.java index f9697996f..19ee047eb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAutoApprovalRule.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomAutoApprovalRule.java @@ -10,15 +10,15 @@ @Generated public class CleanRoomAutoApprovalRule { /** - * Collaborator alias of the author covered by the rule. Only one of `author_collaborator_alias` - * and `author_scope` can be set. + * Collaborator alias of the author covered by the rule. Only one of {@code + * author_collaborator_alias} and {@code author_scope} can be set. */ @JsonProperty("author_collaborator_alias") private String authorCollaboratorAlias; /** - * Scope of authors covered by the rule. Only one of `author_collaborator_alias` and - * `author_scope` can be set. + * Scope of authors covered by the rule. Only one of {@code author_collaborator_alias} and {@code + * author_scope} can be set. */ @JsonProperty("author_scope") private CleanRoomAutoApprovalRuleAuthorScope authorScope; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomCollaborator.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomCollaborator.java index f757862ee..fceb7031f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomCollaborator.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomCollaborator.java @@ -13,11 +13,9 @@ public class CleanRoomCollaborator { /** * Collaborator alias specified by the clean room creator. It is unique across all collaborators * of this clean room, and used to derive multiple values internally such as catalog alias and - * clean room name for single metastore clean rooms. It should follow [UC securable naming - * requirements]. - * - *

[UC securable naming requirements]: - * https://docs.databricks.com/en/data-governance/unity-catalog/index.html#securable-object-naming-requirements + * clean room name for single metastore clean rooms. It should follow UC + * securable naming requirements. */ @JsonProperty("collaborator_alias") private String collaboratorAlias; @@ -54,8 +52,8 @@ public class CleanRoomCollaborator { private Long inviteRecipientWorkspaceId; /** - * [Organization name](:method:metastores/list#metastores-delta_sharing_organization_name) - * configured in the metastore + * Organization + * name configured in the metastore */ @JsonProperty("organization_name") private String organizationName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomOutputCatalog.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomOutputCatalog.java index eb864a9ee..8df7d8fd8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomOutputCatalog.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomOutputCatalog.java @@ -10,11 +10,9 @@ @Generated public class CleanRoomOutputCatalog { /** - * The name of the output catalog in UC. It should follow [UC securable naming requirements]. The - * field will always exist if status is CREATED. - * - *

[UC securable naming requirements]: - * https://docs.databricks.com/en/data-governance/unity-catalog/index.html#securable-object-naming-requirements + * The name of the output catalog in UC. It should follow UC + * securable naming requirements. The field will always exist if status is CREATED. */ @JsonProperty("catalog_name") private String catalogName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomRemoteDetail.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomRemoteDetail.java index 46f713c85..72c13d20b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomRemoteDetail.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomRemoteDetail.java @@ -23,9 +23,10 @@ public class CleanRoomRemoteDetail { * Collaborators in the central clean room. There should one and only one collaborator in the list * that satisfies the owner condition: * - *

1. It has the creator's global_metastore_id (determined by caller of CreateCleanRoom). - * - *

2. Its invite_recipient_email is empty. + *

    + *
  1. It has the creator's global_metastore_id (determined by caller of CreateCleanRoom). + *
  2. Its invite_recipient_email is empty. + *
*/ @JsonProperty("collaborators") private Collection collaborators; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomsAPI.java index f33cc5551..8589646e1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomsAPI.java @@ -79,7 +79,7 @@ public CleanRoom waitGetCleanRoomActive( * PROVISIONING state, with only name, owner, comment, created_at and status populated. The clean * room will be usable once it enters an ACTIVE state. * - *

The caller must be a metastore admin or have the **CREATE_CLEAN_ROOM** privilege on the + *

The caller must be a metastore admin or have the CREATE_CLEAN_ROOM privilege on the * metastore. */ public Wait create(CreateCleanRoomRequest request) { @@ -137,10 +137,10 @@ public Iterable list(ListCleanRoomsRequest request) { } /** - * Update a clean room. The caller must be the owner of the clean room, have **MODIFY_CLEAN_ROOM** - * privilege, or be metastore admin. + * Update a clean room. The caller must be the owner of the clean room, have + * MODIFY_CLEAN_ROOM privilege, or be metastore admin. * - *

When the caller is a metastore admin, only the __owner__ field can be updated. + *

When the caller is a metastore admin, only the owner field can be updated. */ public CleanRoom update(UpdateCleanRoomRequest request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomsService.java index 56c3b7fb3..f63072e20 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/CleanRoomsService.java @@ -21,7 +21,7 @@ public interface CleanRoomsService { * PROVISIONING state, with only name, owner, comment, created_at and status populated. The clean * room will be usable once it enters an ACTIVE state. * - *

The caller must be a metastore admin or have the **CREATE_CLEAN_ROOM** privilege on the + *

The caller must be a metastore admin or have the CREATE_CLEAN_ROOM privilege on the * metastore. */ CleanRoom create(CreateCleanRoomRequest createCleanRoomRequest); @@ -48,10 +48,10 @@ CreateCleanRoomOutputCatalogResponse createOutputCatalog( ListCleanRoomsResponse list(ListCleanRoomsRequest listCleanRoomsRequest); /** - * Update a clean room. The caller must be the owner of the clean room, have **MODIFY_CLEAN_ROOM** - * privilege, or be metastore admin. + * Update a clean room. The caller must be the owner of the clean room, have + * MODIFY_CLEAN_ROOM privilege, or be metastore admin. * - *

When the caller is a metastore admin, only the __owner__ field can be updated. + *

When the caller is a metastore admin, only the owner field can be updated. */ CleanRoom update(UpdateCleanRoomRequest updateCleanRoomRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/UpdateCleanRoomAssetRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/UpdateCleanRoomAssetRequest.java index 57d530c52..f8752bb98 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/UpdateCleanRoomAssetRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/cleanrooms/UpdateCleanRoomAssetRequest.java @@ -11,8 +11,8 @@ @Generated public class UpdateCleanRoomAssetRequest { /** - * The asset to update. The asset's `name` and `asset_type` fields are used to identify the asset - * to update. + * The asset to update. The asset's {@code name} and {@code asset_type} fields are used to + * identify the asset to update. */ @JsonProperty("asset") private CleanRoomAsset asset; @@ -28,7 +28,7 @@ public class UpdateCleanRoomAssetRequest { * the name displayed in the clean room UI. * *

For UC securable assets (tables, volumes, etc.), the format is - * *shared_catalog*.*shared_schema*.*asset_name* + * shared_catalog.shared_schema.asset_name * *

For notebooks, the name is the notebook file name. For jar analyses, the name is the jar * analysis name. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AddInstanceProfile.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AddInstanceProfile.java index 947d3bffa..f8938fc11 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AddInstanceProfile.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AddInstanceProfile.java @@ -12,11 +12,10 @@ public class AddInstanceProfile { /** * The AWS IAM role ARN of the role associated with the instance profile. This field is required * if your role name and instance profile name do not match and you want to use the instance - * profile with [Databricks SQL Serverless]. + * profile with Databricks SQL + * Serverless. * *

Otherwise, this field is optional. - * - *

[Databricks SQL Serverless]: https://docs.databricks.com/sql/admin/serverless.html */ @JsonProperty("iam_role_arn") private String iamRoleArn; @@ -29,7 +28,7 @@ public class AddInstanceProfile { * Boolean flag indicating whether the instance profile should only be used in credential * passthrough scenarios. If true, it means the instance profile contains an meta IAM role which * could assume a wide range of roles. Therefore it should always be used with authorization. This - * field is optional, the default value is `false`. + * field is optional, the default value is {@code false}. */ @JsonProperty("is_meta_instance_profile") private Boolean isMetaInstanceProfile; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Adlsgen2Info.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Adlsgen2Info.java index 9aa66fa06..9c08c123a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Adlsgen2Info.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Adlsgen2Info.java @@ -11,8 +11,8 @@ @Generated public class Adlsgen2Info { /** - * abfss destination, e.g. - * `abfss://@.dfs.core.windows.net/`. + * abfss destination, e.g. {@code + * abfss://@.dfs.core.windows.net/}. */ @JsonProperty("destination") private String destination; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AutoScale.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AutoScale.java index 839464c6a..490546472 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AutoScale.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AutoScale.java @@ -11,7 +11,7 @@ public class AutoScale { /** * The maximum number of workers to which the cluster can scale up when overloaded. Note that - * `max_workers` must be strictly greater than `min_workers`. + * {@code max_workers} must be strictly greater than {@code min_workers}. */ @JsonProperty("max_workers") private Long maxWorkers; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AwsAttributes.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AwsAttributes.java index 82690ff99..e9923ca59 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AwsAttributes.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AwsAttributes.java @@ -20,16 +20,16 @@ public class AwsAttributes { * volumes. For node types with no instance store, at least one EBS volume needs to be specified; * otherwise, cluster creation will fail. * - *

These EBS volumes will be mounted at `/ebs0`, `/ebs1`, and etc. Instance store volumes will - * be mounted at `/local_disk0`, `/local_disk1`, and etc. + *

These EBS volumes will be mounted at {@code /ebs0}, {@code /ebs1}, and etc. Instance store + * volumes will be mounted at {@code /local_disk0}, {@code /local_disk1}, and etc. * *

If EBS volumes are attached, Databricks will configure Spark to use only the EBS volumes for * scratch storage because heterogenously sized scratch devices can lead to inefficient disk * utilization. If no EBS volumes are attached, Databricks will configure Spark to use instance * store volumes. * - *

Please note that if EBS volumes are specified, then the Spark configuration - * `spark.local.dir` will be overridden. + *

Please note that if EBS volumes are specified, then the Spark configuration {@code + * spark.local.dir} will be overridden. */ @JsonProperty("ebs_volume_count") private Long ebsVolumeCount; @@ -61,13 +61,13 @@ public class AwsAttributes { private EbsVolumeType ebsVolumeType; /** - * The first `first_on_demand` nodes of the cluster will be placed on on-demand instances. If this - * value is greater than 0, the cluster driver node in particular will be placed on an on-demand - * instance. If this value is greater than or equal to the current cluster size, all nodes will be - * placed on on-demand instances. If this value is less than the current cluster size, - * `first_on_demand` nodes will be placed on on-demand instances and the remainder will be placed - * on `availability` instances. Note that this value does not affect cluster size and cannot - * currently be mutated over the lifetime of a cluster. + * The first {@code first_on_demand} nodes of the cluster will be placed on on-demand instances. + * If this value is greater than 0, the cluster driver node in particular will be placed on an + * on-demand instance. If this value is greater than or equal to the current cluster size, all + * nodes will be placed on on-demand instances. If this value is less than the current cluster + * size, {@code first_on_demand} nodes will be placed on on-demand instances and the remainder + * will be placed on {@code availability} instances. Note that this value does not affect cluster + * size and cannot currently be mutated over the lifetime of a cluster. */ @JsonProperty("first_on_demand") private Long firstOnDemand; @@ -85,10 +85,10 @@ public class AwsAttributes { /** * The bid price for AWS spot instances, as a percentage of the corresponding instance type's - * on-demand price. For example, if this field is set to 50, and the cluster needs a new - * `r3.xlarge` spot instance, then the bid price is half of the price of on-demand `r3.xlarge` - * instances. Similarly, if this field is set to 200, the bid price is twice the price of - * on-demand `r3.xlarge` instances. If not specified, the default value is 100. When spot + * on-demand price. For example, if this field is set to 50, and the cluster needs a new {@code + * r3.xlarge} spot instance, then the bid price is half of the price of on-demand {@code + * r3.xlarge} instances. Similarly, if this field is set to 200, the bid price is twice the price + * of on-demand {@code r3.xlarge} instances. If not specified, the default value is 100. When spot * instances are requested for this cluster, only spot instances whose bid price percentage * matches this field will be considered. Note that, for safety, we enforce this field to be no * more than 10000. @@ -105,8 +105,8 @@ public class AwsAttributes { * to place cluster in a zone with high availability, and will retry placement in a different AZ * if there is not enough capacity. * - *

The list of available zones as well as the default value can be found by using the `List - * Zones` method. + *

The list of available zones as well as the default value can be found by using the {@code + * List Zones} method. */ @JsonProperty("zone_id") private String zoneId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AwsAvailability.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AwsAvailability.java index c420e5f1f..e84fc566d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AwsAvailability.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AwsAvailability.java @@ -5,9 +5,9 @@ import com.databricks.sdk.support.Generated; /** - * Availability type used for all subsequent nodes past the `first_on_demand` ones. + * Availability type used for all subsequent nodes past the {@code first_on_demand} ones. * - *

Note: If `first_on_demand` is zero, this availability type will be used for the entire + *

Note: If {@code first_on_demand} is zero, this availability type will be used for the entire * cluster. */ @Generated diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AzureAttributes.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AzureAttributes.java index ec8f49702..19bc6cc9e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AzureAttributes.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AzureAttributes.java @@ -11,20 +11,20 @@ @Generated public class AzureAttributes { /** - * Availability type used for all subsequent nodes past the `first_on_demand` ones. Note: If - * `first_on_demand` is zero, this availability type will be used for the entire cluster. + * Availability type used for all subsequent nodes past the {@code first_on_demand} ones. Note: If + * {@code first_on_demand} is zero, this availability type will be used for the entire cluster. */ @JsonProperty("availability") private AzureAvailability availability; /** - * The first `first_on_demand` nodes of the cluster will be placed on on-demand instances. This - * value should be greater than 0, to make sure the cluster driver node is placed on an on-demand - * instance. If this value is greater than or equal to the current cluster size, all nodes will be - * placed on on-demand instances. If this value is less than the current cluster size, - * `first_on_demand` nodes will be placed on on-demand instances and the remainder will be placed - * on `availability` instances. Note that this value does not affect cluster size and cannot - * currently be mutated over the lifetime of a cluster. + * The first {@code first_on_demand} nodes of the cluster will be placed on on-demand instances. + * This value should be greater than 0, to make sure the cluster driver node is placed on an + * on-demand instance. If this value is greater than or equal to the current cluster size, all + * nodes will be placed on on-demand instances. If this value is less than the current cluster + * size, {@code first_on_demand} nodes will be placed on on-demand instances and the remainder + * will be placed on {@code availability} instances. Note that this value does not affect cluster + * size and cannot currently be mutated over the lifetime of a cluster. */ @JsonProperty("first_on_demand") private Long firstOnDemand; @@ -37,7 +37,7 @@ public class AzureAttributes { * The max bid price to be used for Azure spot instances. The Max price for the bid cannot be * higher than the on-demand price of the instance. If not specified, the default value is -1, * which specifies that the instance cannot be evicted on the basis of price, and only on the - * basis of availability. Further, the value should > 0 or -1. + * basis of availability. Further, the value should > 0 or -1. */ @JsonProperty("spot_bid_max_price") private Double spotBidMaxPrice; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AzureAvailability.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AzureAvailability.java index 1f68f9678..26901ea4f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AzureAvailability.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/AzureAvailability.java @@ -5,8 +5,8 @@ import com.databricks.sdk.support.Generated; /** - * Availability type used for all subsequent nodes past the `first_on_demand` ones. Note: If - * `first_on_demand` is zero, this availability type will be used for the entire cluster. + * Availability type used for all subsequent nodes past the {@code first_on_demand} ones. Note: If + * {@code first_on_demand} is zero, this availability type will be used for the entire cluster. */ @Generated public enum AzureAvailability { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterAttributes.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterAttributes.java index 468dabd30..d61aef257 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterAttributes.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterAttributes.java @@ -42,8 +42,8 @@ public class ClusterAttributes { * The configuration for delivering spark logs to a long-term storage destination. Three kinds of * destinations (DBFS, S3 and Unity Catalog volumes) are supported. Only one destination can be * specified for one cluster. If the conf is given, the logs will be delivered to the destination - * every `5 mins`. The destination of driver logs is `$destination/$clusterId/driver`, while the - * destination of executor logs is `$destination/$clusterId/executor`. + * every {@code 5 mins}. The destination of driver logs is {@code $destination/$clusterId/driver}, + * while the destination of executor logs is {@code $destination/$clusterId/executor}. */ @JsonProperty("cluster_log_conf") private ClusterLogConf clusterLogConf; @@ -58,12 +58,13 @@ public class ClusterAttributes { /** * Additional tags for cluster resources. Databricks will tag all cluster resources (e.g., AWS - * instances and EBS volumes) with these tags in addition to `default_tags`. Notes: + * instances and EBS volumes) with these tags in addition to {@code default_tags}. Notes: * - *

- Currently, Databricks allows at most 45 custom tags - * - *

- Clusters can only reuse cloud resources if the resources' tags are a subset of the cluster - * tags + *

    + *
  • Currently, Databricks allows at most 45 custom tags + *
  • Clusters can only reuse cloud resources if the resources' tags are a subset of the + * cluster tags + *
*/ @JsonProperty("custom_tags") private Map customTags; @@ -89,7 +90,7 @@ public class ClusterAttributes { /** * The node type of the Spark driver. Note that this field is optional; if unset, the driver node - * type will be set as the same value as `node_type_id` defined above. + * type will be set as the same value as {@code node_type_id} defined above. * *

This field, along with node_type_id, should not be set if virtual_cluster_size is set. If * both driver_node_type_id, node_type_id, and virtual_cluster_size are specified, @@ -118,8 +119,8 @@ public class ClusterAttributes { /** * The configuration for storing init scripts. Any number of destinations can be specified. The - * scripts are executed sequentially in the order provided. If `cluster_log_conf` is specified, - * init script logs are sent to `//init_scripts`. + * scripts are executed sequentially in the order provided. If {@code cluster_log_conf} is + * specified, init script logs are sent to {@code //init_scripts}. */ @JsonProperty("init_scripts") private Collection initScripts; @@ -129,10 +130,10 @@ public class ClusterAttributes { private String instancePoolId; /** - * This field can only be used when `kind = CLASSIC_PREVIEW`. + * This field can only be used when {@code kind = CLASSIC_PREVIEW}. * - *

When set to true, Databricks will automatically set single node related `custom_tags`, - * `spark_conf`, and `num_workers` + *

When set to true, Databricks will automatically set single node related {@code custom_tags}, + * {@code spark_conf}, and {@code num_workers} */ @JsonProperty("is_single_node") private Boolean isSingleNode; @@ -164,8 +165,9 @@ public class ClusterAttributes { /** * Determines the cluster's runtime engine, either standard or Photon. * - *

This field is not compatible with legacy `spark_version` values that contain `-photon-`. - * Remove `-photon-` from the `spark_version` and set `runtime_engine` to `PHOTON`. + *

This field is not compatible with legacy {@code spark_version} values that contain {@code + * -photon-}. Remove {@code -photon-} from the {@code spark_version} and set {@code + * runtime_engine} to {@code PHOTON}. * *

If left unspecified, the runtime engine defaults to standard unless the spark_version * contains -photon-, in which case Photon will be used. @@ -173,45 +175,45 @@ public class ClusterAttributes { @JsonProperty("runtime_engine") private RuntimeEngine runtimeEngine; - /** Single user name if data_security_mode is `SINGLE_USER` */ + /** Single user name if data_security_mode is {@code SINGLE_USER} */ @JsonProperty("single_user_name") private String singleUserName; /** * An object containing a set of optional, user-specified Spark configuration key-value pairs. - * Users can also pass in a string of extra JVM options to the driver and the executors via - * `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` respectively. + * Users can also pass in a string of extra JVM options to the driver and the executors via {@code + * spark.driver.extraJavaOptions} and {@code spark.executor.extraJavaOptions} respectively. */ @JsonProperty("spark_conf") private Map sparkConf; /** * An object containing a set of optional, user-specified environment variable key-value pairs. - * Please note that key-value pair of the form (X,Y) will be exported as is (i.e., `export X='Y'`) - * while launching the driver and workers. + * Please note that key-value pair of the form (X,Y) will be exported as is (i.e., {@code export + * X='Y'}) while launching the driver and workers. * - *

In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we recommend appending - * them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the example below. This ensures that all default - * databricks managed environmental variables are included as well. + *

In order to specify an additional set of {@code SPARK_DAEMON_JAVA_OPTS}, we recommend + * appending them to {@code $SPARK_DAEMON_JAVA_OPTS} as shown in the example below. This ensures + * that all default databricks managed environmental variables are included as well. * - *

Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", "SPARK_LOCAL_DIRS": - * "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": "$SPARK_DAEMON_JAVA_OPTS - * -Dspark.shuffle.service.enabled=true"}` + *

Example Spark environment variables: {@code {"SPARK_WORKER_MEMORY": "28000m", + * "SPARK_LOCAL_DIRS": "/local_disk0"}} or {@code {"SPARK_DAEMON_JAVA_OPTS": + * "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}} */ @JsonProperty("spark_env_vars") private Map sparkEnvVars; /** - * The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of available Spark versions - * can be retrieved by using the :method:clusters/sparkVersions API call. + * The Spark version of the cluster, e.g. {@code 3.3.x-scala2.11}. A list of available Spark + * versions can be retrieved by using the :method:clusters/sparkVersions API call. */ @JsonProperty("spark_version") private String sparkVersion; /** * SSH public key contents that will be added to each Spark node in this cluster. The - * corresponding private keys can be used to login with the user name `ubuntu` on port `2200`. Up - * to 10 keys can be specified. + * corresponding private keys can be used to login with the user name {@code ubuntu} on port + * {@code 2200}. Up to 10 keys can be specified. */ @JsonProperty("ssh_public_keys") private Collection sshPublicKeys; @@ -224,10 +226,10 @@ public class ClusterAttributes { private Long totalInitialRemoteDiskSize; /** - * This field can only be used when `kind = CLASSIC_PREVIEW`. + * This field can only be used when {@code kind = CLASSIC_PREVIEW}. * - *

`effective_spark_version` is determined by `spark_version` (DBR release), this field - * `use_ml_runtime`, and whether `node_type_id` is gpu node or not. + *

{@code effective_spark_version} is determined by {@code spark_version} (DBR release), this + * field {@code use_ml_runtime}, and whether {@code node_type_id} is gpu node or not. */ @JsonProperty("use_ml_runtime") private Boolean useMlRuntime; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterDetails.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterDetails.java index 142f7384c..0c2c84ccd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterDetails.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterDetails.java @@ -61,8 +61,8 @@ public class ClusterDetails { * The configuration for delivering spark logs to a long-term storage destination. Three kinds of * destinations (DBFS, S3 and Unity Catalog volumes) are supported. Only one destination can be * specified for one cluster. If the conf is given, the logs will be delivered to the destination - * every `5 mins`. The destination of driver logs is `$destination/$clusterId/driver`, while the - * destination of executor logs is `$destination/$clusterId/executor`. + * every {@code 5 mins}. The destination of driver logs is {@code $destination/$clusterId/driver}, + * while the destination of executor logs is {@code $destination/$clusterId/executor}. */ @JsonProperty("cluster_log_conf") private ClusterLogConf clusterLogConf; @@ -99,12 +99,13 @@ public class ClusterDetails { /** * Additional tags for cluster resources. Databricks will tag all cluster resources (e.g., AWS - * instances and EBS volumes) with these tags in addition to `default_tags`. Notes: + * instances and EBS volumes) with these tags in addition to {@code default_tags}. Notes: * - *

- Currently, Databricks allows at most 45 custom tags - * - *

- Clusters can only reuse cloud resources if the resources' tags are a subset of the cluster - * tags + *

    + *
  • Currently, Databricks allows at most 45 custom tags + *
  • Clusters can only reuse cloud resources if the resources' tags are a subset of the + * cluster tags + *
*/ @JsonProperty("custom_tags") private Map customTags; @@ -114,17 +115,15 @@ public class ClusterDetails { private DataSecurityMode dataSecurityMode; /** - * Tags that are added by Databricks regardless of any `custom_tags`, including: - * - *

- Vendor: Databricks - * - *

- Creator: - * - *

- ClusterName: - * - *

- ClusterId: + * Tags that are added by Databricks regardless of any {@code custom_tags}, including: * - *

- Name: + *

    + *
  • Vendor: Databricks + *
  • Creator: <username_of_creator> + *
  • ClusterName: <name_of_cluster> + *
  • ClusterId: <id_of_cluster> + *
  • Name: + *
*/ @JsonProperty("default_tags") private Map defaultTags; @@ -153,7 +152,7 @@ public class ClusterDetails { /** * The node type of the Spark driver. Note that this field is optional; if unset, the driver node - * type will be set as the same value as `node_type_id` defined above. + * type will be set as the same value as {@code node_type_id} defined above. * *

This field, along with node_type_id, should not be set if virtual_cluster_size is set. If * both driver_node_type_id, node_type_id, and virtual_cluster_size are specified, @@ -186,8 +185,8 @@ public class ClusterDetails { /** * The configuration for storing init scripts. Any number of destinations can be specified. The - * scripts are executed sequentially in the order provided. If `cluster_log_conf` is specified, - * init script logs are sent to `//init_scripts`. + * scripts are executed sequentially in the order provided. If {@code cluster_log_conf} is + * specified, init script logs are sent to {@code //init_scripts}. */ @JsonProperty("init_scripts") private Collection initScripts; @@ -197,10 +196,10 @@ public class ClusterDetails { private String instancePoolId; /** - * This field can only be used when `kind = CLASSIC_PREVIEW`. + * This field can only be used when {@code kind = CLASSIC_PREVIEW}. * - *

When set to true, Databricks will automatically set single node related `custom_tags`, - * `spark_conf`, and `num_workers` + *

When set to true, Databricks will automatically set single node related {@code custom_tags}, + * {@code spark_conf}, and {@code num_workers} */ @JsonProperty("is_single_node") private Boolean isSingleNode; @@ -234,14 +233,14 @@ public class ClusterDetails { private String nodeTypeId; /** - * Number of worker nodes that this cluster should have. A cluster has one Spark Driver and - * `num_workers` Executors for a total of `num_workers` + 1 Spark nodes. + * Number of worker nodes that this cluster should have. A cluster has one Spark Driver and {@code + * num_workers} Executors for a total of {@code num_workers} + 1 Spark nodes. * *

Note: When reading the properties of a cluster, this field reflects the desired number of * workers rather than the actual current number of workers. For instance, if a cluster is resized * from 5 to 10 workers, this field will immediately be updated to reflect the target size of 10 - * workers, whereas the workers listed in `spark_info` will gradually increase from 5 to 10 as the - * new nodes are provisioned. + * workers, whereas the workers listed in {@code spark_info} will gradually increase from 5 to 10 + * as the new nodes are provisioned. */ @JsonProperty("num_workers") private Long numWorkers; @@ -260,8 +259,9 @@ public class ClusterDetails { /** * Determines the cluster's runtime engine, either standard or Photon. * - *

This field is not compatible with legacy `spark_version` values that contain `-photon-`. - * Remove `-photon-` from the `spark_version` and set `runtime_engine` to `PHOTON`. + *

This field is not compatible with legacy {@code spark_version} values that contain {@code + * -photon-}. Remove {@code -photon-} from the {@code spark_version} and set {@code + * runtime_engine} to {@code PHOTON}. * *

If left unspecified, the runtime engine defaults to standard unless the spark_version * contains -photon-, in which case Photon will be used. @@ -269,45 +269,45 @@ public class ClusterDetails { @JsonProperty("runtime_engine") private RuntimeEngine runtimeEngine; - /** Single user name if data_security_mode is `SINGLE_USER` */ + /** Single user name if data_security_mode is {@code SINGLE_USER} */ @JsonProperty("single_user_name") private String singleUserName; /** * An object containing a set of optional, user-specified Spark configuration key-value pairs. - * Users can also pass in a string of extra JVM options to the driver and the executors via - * `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` respectively. + * Users can also pass in a string of extra JVM options to the driver and the executors via {@code + * spark.driver.extraJavaOptions} and {@code spark.executor.extraJavaOptions} respectively. */ @JsonProperty("spark_conf") private Map sparkConf; /** - * A canonical SparkContext identifier. This value *does* change when the Spark driver restarts. - * The pair `(cluster_id, spark_context_id)` is a globally unique identifier over all Spark - * contexts. + * A canonical SparkContext identifier. This value does change when the Spark driver + * restarts. The pair {@code (cluster_id, spark_context_id)} is a globally unique identifier over + * all Spark contexts. */ @JsonProperty("spark_context_id") private Long sparkContextId; /** * An object containing a set of optional, user-specified environment variable key-value pairs. - * Please note that key-value pair of the form (X,Y) will be exported as is (i.e., `export X='Y'`) - * while launching the driver and workers. + * Please note that key-value pair of the form (X,Y) will be exported as is (i.e., {@code export + * X='Y'}) while launching the driver and workers. * - *

In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we recommend appending - * them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the example below. This ensures that all default - * databricks managed environmental variables are included as well. + *

In order to specify an additional set of {@code SPARK_DAEMON_JAVA_OPTS}, we recommend + * appending them to {@code $SPARK_DAEMON_JAVA_OPTS} as shown in the example below. This ensures + * that all default databricks managed environmental variables are included as well. * - *

Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", "SPARK_LOCAL_DIRS": - * "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": "$SPARK_DAEMON_JAVA_OPTS - * -Dspark.shuffle.service.enabled=true"}` + *

Example Spark environment variables: {@code {"SPARK_WORKER_MEMORY": "28000m", + * "SPARK_LOCAL_DIRS": "/local_disk0"}} or {@code {"SPARK_DAEMON_JAVA_OPTS": + * "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}} */ @JsonProperty("spark_env_vars") private Map sparkEnvVars; /** - * The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of available Spark versions - * can be retrieved by using the :method:clusters/sparkVersions API call. + * The Spark version of the cluster, e.g. {@code 3.3.x-scala2.11}. A list of available Spark + * versions can be retrieved by using the :method:clusters/sparkVersions API call. */ @JsonProperty("spark_version") private String sparkVersion; @@ -321,15 +321,15 @@ public class ClusterDetails { /** * SSH public key contents that will be added to each Spark node in this cluster. The - * corresponding private keys can be used to login with the user name `ubuntu` on port `2200`. Up - * to 10 keys can be specified. + * corresponding private keys can be used to login with the user name {@code ubuntu} on port + * {@code 2200}. Up to 10 keys can be specified. */ @JsonProperty("ssh_public_keys") private Collection sshPublicKeys; /** * Time (in epoch milliseconds) when the cluster creation request was received (when the cluster - * entered a `PENDING` state). + * entered a {@code PENDING} state). */ @JsonProperty("start_time") private Long startTime; @@ -340,7 +340,7 @@ public class ClusterDetails { /** * A message associated with the most recent state transition (e.g., the reason why the cluster - * entered a `TERMINATED` state). + * entered a {@code TERMINATED} state). */ @JsonProperty("state_message") private String stateMessage; @@ -351,7 +351,7 @@ public class ClusterDetails { /** * Information about why the cluster was terminated. This field only appears when the cluster is - * in a `TERMINATING` or `TERMINATED` state. + * in a {@code TERMINATING} or {@code TERMINATED} state. */ @JsonProperty("termination_reason") private TerminationReason terminationReason; @@ -364,10 +364,10 @@ public class ClusterDetails { private Long totalInitialRemoteDiskSize; /** - * This field can only be used when `kind = CLASSIC_PREVIEW`. + * This field can only be used when {@code kind = CLASSIC_PREVIEW}. * - *

`effective_spark_version` is determined by `spark_version` (DBR release), this field - * `use_ml_runtime`, and whether `node_type_id` is gpu node or not. + *

{@code effective_spark_version} is determined by {@code spark_version} (DBR release), this + * field {@code use_ml_runtime}, and whether {@code node_type_id} is gpu node or not. */ @JsonProperty("use_ml_runtime") private Boolean useMlRuntime; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterLogConf.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterLogConf.java index e22885f56..8ef24996d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterLogConf.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterLogConf.java @@ -11,24 +11,24 @@ @Generated public class ClusterLogConf { /** - * destination needs to be provided. e.g. `{ "dbfs" : { "destination" : "dbfs:/home/cluster_log" } - * }` + * destination needs to be provided. e.g. {@code { "dbfs" : { "destination" : + * "dbfs:/home/cluster_log" } }} */ @JsonProperty("dbfs") private DbfsStorageInfo dbfs; /** - * destination and either the region or endpoint need to be provided. e.g. `{ "s3": { - * "destination" : "s3://cluster_log_bucket/prefix", "region" : "us-west-2" } }` Cluster iam role - * is used to access s3, please make sure the cluster iam role in `instance_profile_arn` has + * destination and either the region or endpoint need to be provided. e.g. {@code { "s3": { + * "destination" : "s3://cluster_log_bucket/prefix", "region" : "us-west-2" } }} Cluster iam role + * is used to access s3, please make sure the cluster iam role in {@code instance_profile_arn} has * permission to write data to the s3 destination. */ @JsonProperty("s3") private S3StorageInfo s3; /** - * destination needs to be provided, e.g. `{ "volumes": { "destination": - * "/Volumes/catalog/schema/volume/cluster_log" } }` + * destination needs to be provided, e.g. {@code { "volumes": { "destination": + * "/Volumes/catalog/schema/volume/cluster_log" } }} */ @JsonProperty("volumes") private VolumesStorageInfo volumes; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterPoliciesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterPoliciesAPI.java index b05b19567..2901f5262 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterPoliciesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterPoliciesAPI.java @@ -12,18 +12,28 @@ * rules. These rules specify which attributes or attribute values can be used during cluster * creation. Cluster policies have ACLs that limit their use to specific users and groups. * - *

With cluster policies, you can: - Auto-install cluster libraries on the next restart by - * listing them in the policy's "libraries" field (Public Preview). - Limit users to creating - * clusters with the prescribed settings. - Simplify the user interface, enabling more users to - * create clusters, by fixing and hiding some fields. - Manage costs by setting limits on attributes - * that impact the hourly rate. + *

With cluster policies, you can: + * + *

    + *
  • Auto-install cluster libraries on the next restart by listing them in the policy's + * "libraries" field (Public Preview). + *
  • Limit users to creating clusters with the prescribed settings. + *
  • Simplify the user interface, enabling more users to create clusters, by fixing and hiding + * some fields. + *
  • Manage costs by setting limits on attributes that impact the hourly rate. + *
* *

Cluster policy permissions limit which policies a user can select in the Policy drop-down when - * the user creates a cluster: - A user who has unrestricted cluster create permission can select - * the Unrestricted policy and create fully-configurable clusters. - A user who has both - * unrestricted cluster create permission and access to cluster policies can select the Unrestricted - * policy and policies they have access to. - A user that has access to only cluster policies, can - * select the policies they have access to. + * the user creates a cluster: + * + *

    + *
  • A user who has unrestricted cluster create permission can select the Unrestricted policy + * and create fully-configurable clusters. + *
  • A user who has both unrestricted cluster create permission and access to cluster policies + * can select the Unrestricted policy and policies they have access to. + *
  • A user that has access to only cluster policies, can select the policies they have access + * to. + *
* *

If no policies exist in the workspace, the Policy drop-down doesn't appear. Only admin users * can create, edit, and delete policies. Admin users also have access to all policies. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterPoliciesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterPoliciesService.java index a8ef9fa37..b1666c213 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterPoliciesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterPoliciesService.java @@ -8,18 +8,28 @@ * rules. These rules specify which attributes or attribute values can be used during cluster * creation. Cluster policies have ACLs that limit their use to specific users and groups. * - *

With cluster policies, you can: - Auto-install cluster libraries on the next restart by - * listing them in the policy's "libraries" field (Public Preview). - Limit users to creating - * clusters with the prescribed settings. - Simplify the user interface, enabling more users to - * create clusters, by fixing and hiding some fields. - Manage costs by setting limits on attributes - * that impact the hourly rate. + *

With cluster policies, you can: + * + *

    + *
  • Auto-install cluster libraries on the next restart by listing them in the policy's + * "libraries" field (Public Preview). + *
  • Limit users to creating clusters with the prescribed settings. + *
  • Simplify the user interface, enabling more users to create clusters, by fixing and hiding + * some fields. + *
  • Manage costs by setting limits on attributes that impact the hourly rate. + *
* *

Cluster policy permissions limit which policies a user can select in the Policy drop-down when - * the user creates a cluster: - A user who has unrestricted cluster create permission can select - * the Unrestricted policy and create fully-configurable clusters. - A user who has both - * unrestricted cluster create permission and access to cluster policies can select the Unrestricted - * policy and policies they have access to. - A user that has access to only cluster policies, can - * select the policies they have access to. + * the user creates a cluster: + * + *

    + *
  • A user who has unrestricted cluster create permission can select the Unrestricted policy + * and create fully-configurable clusters. + *
  • A user who has both unrestricted cluster create permission and access to cluster policies + * can select the Unrestricted policy and policies they have access to. + *
  • A user that has access to only cluster policies, can select the policies they have access + * to. + *
* *

If no policies exist in the workspace, the Policy drop-down doesn't appear. Only admin users * can create, edit, and delete policies. Admin users also have access to all policies. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterSize.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterSize.java index 6f3b6efdf..2a67810ce 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterSize.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterSize.java @@ -17,14 +17,14 @@ public class ClusterSize { private AutoScale autoscale; /** - * Number of worker nodes that this cluster should have. A cluster has one Spark Driver and - * `num_workers` Executors for a total of `num_workers` + 1 Spark nodes. + * Number of worker nodes that this cluster should have. A cluster has one Spark Driver and {@code + * num_workers} Executors for a total of {@code num_workers} + 1 Spark nodes. * *

Note: When reading the properties of a cluster, this field reflects the desired number of * workers rather than the actual current number of workers. For instance, if a cluster is resized * from 5 to 10 workers, this field will immediately be updated to reflect the target size of 10 - * workers, whereas the workers listed in `spark_info` will gradually increase from 5 to 10 as the - * new nodes are provisioned. + * workers, whereas the workers listed in {@code spark_info} will gradually increase from 5 to 10 + * as the new nodes are provisioned. */ @JsonProperty("num_workers") private Long numWorkers; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterSpec.java index 70344f42a..5c7fc5431 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClusterSpec.java @@ -56,8 +56,8 @@ public class ClusterSpec { * The configuration for delivering spark logs to a long-term storage destination. Three kinds of * destinations (DBFS, S3 and Unity Catalog volumes) are supported. Only one destination can be * specified for one cluster. If the conf is given, the logs will be delivered to the destination - * every `5 mins`. The destination of driver logs is `$destination/$clusterId/driver`, while the - * destination of executor logs is `$destination/$clusterId/executor`. + * every {@code 5 mins}. The destination of driver logs is {@code $destination/$clusterId/driver}, + * while the destination of executor logs is {@code $destination/$clusterId/executor}. */ @JsonProperty("cluster_log_conf") private ClusterLogConf clusterLogConf; @@ -72,12 +72,13 @@ public class ClusterSpec { /** * Additional tags for cluster resources. Databricks will tag all cluster resources (e.g., AWS - * instances and EBS volumes) with these tags in addition to `default_tags`. Notes: + * instances and EBS volumes) with these tags in addition to {@code default_tags}. Notes: * - *

- Currently, Databricks allows at most 45 custom tags - * - *

- Clusters can only reuse cloud resources if the resources' tags are a subset of the cluster - * tags + *

    + *
  • Currently, Databricks allows at most 45 custom tags + *
  • Clusters can only reuse cloud resources if the resources' tags are a subset of the + * cluster tags + *
*/ @JsonProperty("custom_tags") private Map customTags; @@ -103,7 +104,7 @@ public class ClusterSpec { /** * The node type of the Spark driver. Note that this field is optional; if unset, the driver node - * type will be set as the same value as `node_type_id` defined above. + * type will be set as the same value as {@code node_type_id} defined above. * *

This field, along with node_type_id, should not be set if virtual_cluster_size is set. If * both driver_node_type_id, node_type_id, and virtual_cluster_size are specified, @@ -132,8 +133,8 @@ public class ClusterSpec { /** * The configuration for storing init scripts. Any number of destinations can be specified. The - * scripts are executed sequentially in the order provided. If `cluster_log_conf` is specified, - * init script logs are sent to `//init_scripts`. + * scripts are executed sequentially in the order provided. If {@code cluster_log_conf} is + * specified, init script logs are sent to {@code //init_scripts}. */ @JsonProperty("init_scripts") private Collection initScripts; @@ -143,10 +144,10 @@ public class ClusterSpec { private String instancePoolId; /** - * This field can only be used when `kind = CLASSIC_PREVIEW`. + * This field can only be used when {@code kind = CLASSIC_PREVIEW}. * - *

When set to true, Databricks will automatically set single node related `custom_tags`, - * `spark_conf`, and `num_workers` + *

When set to true, Databricks will automatically set single node related {@code custom_tags}, + * {@code spark_conf}, and {@code num_workers} */ @JsonProperty("is_single_node") private Boolean isSingleNode; @@ -165,14 +166,14 @@ public class ClusterSpec { private String nodeTypeId; /** - * Number of worker nodes that this cluster should have. A cluster has one Spark Driver and - * `num_workers` Executors for a total of `num_workers` + 1 Spark nodes. + * Number of worker nodes that this cluster should have. A cluster has one Spark Driver and {@code + * num_workers} Executors for a total of {@code num_workers} + 1 Spark nodes. * *

Note: When reading the properties of a cluster, this field reflects the desired number of * workers rather than the actual current number of workers. For instance, if a cluster is resized * from 5 to 10 workers, this field will immediately be updated to reflect the target size of 10 - * workers, whereas the workers listed in `spark_info` will gradually increase from 5 to 10 as the - * new nodes are provisioned. + * workers, whereas the workers listed in {@code spark_info} will gradually increase from 5 to 10 + * as the new nodes are provisioned. */ @JsonProperty("num_workers") private Long numWorkers; @@ -191,8 +192,9 @@ public class ClusterSpec { /** * Determines the cluster's runtime engine, either standard or Photon. * - *

This field is not compatible with legacy `spark_version` values that contain `-photon-`. - * Remove `-photon-` from the `spark_version` and set `runtime_engine` to `PHOTON`. + *

This field is not compatible with legacy {@code spark_version} values that contain {@code + * -photon-}. Remove {@code -photon-} from the {@code spark_version} and set {@code + * runtime_engine} to {@code PHOTON}. * *

If left unspecified, the runtime engine defaults to standard unless the spark_version * contains -photon-, in which case Photon will be used. @@ -200,45 +202,45 @@ public class ClusterSpec { @JsonProperty("runtime_engine") private RuntimeEngine runtimeEngine; - /** Single user name if data_security_mode is `SINGLE_USER` */ + /** Single user name if data_security_mode is {@code SINGLE_USER} */ @JsonProperty("single_user_name") private String singleUserName; /** * An object containing a set of optional, user-specified Spark configuration key-value pairs. - * Users can also pass in a string of extra JVM options to the driver and the executors via - * `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` respectively. + * Users can also pass in a string of extra JVM options to the driver and the executors via {@code + * spark.driver.extraJavaOptions} and {@code spark.executor.extraJavaOptions} respectively. */ @JsonProperty("spark_conf") private Map sparkConf; /** * An object containing a set of optional, user-specified environment variable key-value pairs. - * Please note that key-value pair of the form (X,Y) will be exported as is (i.e., `export X='Y'`) - * while launching the driver and workers. + * Please note that key-value pair of the form (X,Y) will be exported as is (i.e., {@code export + * X='Y'}) while launching the driver and workers. * - *

In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we recommend appending - * them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the example below. This ensures that all default - * databricks managed environmental variables are included as well. + *

In order to specify an additional set of {@code SPARK_DAEMON_JAVA_OPTS}, we recommend + * appending them to {@code $SPARK_DAEMON_JAVA_OPTS} as shown in the example below. This ensures + * that all default databricks managed environmental variables are included as well. * - *

Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", "SPARK_LOCAL_DIRS": - * "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": "$SPARK_DAEMON_JAVA_OPTS - * -Dspark.shuffle.service.enabled=true"}` + *

Example Spark environment variables: {@code {"SPARK_WORKER_MEMORY": "28000m", + * "SPARK_LOCAL_DIRS": "/local_disk0"}} or {@code {"SPARK_DAEMON_JAVA_OPTS": + * "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}} */ @JsonProperty("spark_env_vars") private Map sparkEnvVars; /** - * The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of available Spark versions - * can be retrieved by using the :method:clusters/sparkVersions API call. + * The Spark version of the cluster, e.g. {@code 3.3.x-scala2.11}. A list of available Spark + * versions can be retrieved by using the :method:clusters/sparkVersions API call. */ @JsonProperty("spark_version") private String sparkVersion; /** * SSH public key contents that will be added to each Spark node in this cluster. The - * corresponding private keys can be used to login with the user name `ubuntu` on port `2200`. Up - * to 10 keys can be specified. + * corresponding private keys can be used to login with the user name {@code ubuntu} on port + * {@code 2200}. Up to 10 keys can be specified. */ @JsonProperty("ssh_public_keys") private Collection sshPublicKeys; @@ -251,10 +253,10 @@ public class ClusterSpec { private Long totalInitialRemoteDiskSize; /** - * This field can only be used when `kind = CLASSIC_PREVIEW`. + * This field can only be used when {@code kind = CLASSIC_PREVIEW}. * - *

`effective_spark_version` is determined by `spark_version` (DBR release), this field - * `use_ml_runtime`, and whether `node_type_id` is gpu node or not. + *

{@code effective_spark_version} is determined by {@code spark_version} (DBR release), this + * field {@code use_ml_runtime}, and whether {@code node_type_id} is gpu node or not. */ @JsonProperty("use_ml_runtime") private Boolean useMlRuntime; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClustersAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClustersAPI.java index 26a9c8dd7..991a49727 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClustersAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClustersAPI.java @@ -145,7 +145,7 @@ public ClusterDetails waitGetClusterTerminated( /** * Change the owner of the cluster. You must be an admin and the cluster must be terminated to * perform this operation. The service principal application ID can be supplied as an argument to - * `owner_username`. + * {@code owner_username}. */ public void changeOwner(ChangeClusterOwner request) { impl.changeOwner(request); @@ -153,19 +153,18 @@ public void changeOwner(ChangeClusterOwner request) { /** * Creates a new Spark cluster. This method will acquire new instances from the cloud provider if - * necessary. This method is asynchronous; the returned ``cluster_id`` can be used to poll the - * cluster status. When this method returns, the cluster will be in a ``PENDING`` state. The - * cluster will be usable once it enters a ``RUNNING`` state. Note: Databricks may not be able to - * acquire some of the requested nodes, due to cloud provider limitations (account limits, spot + * necessary. This method is asynchronous; the returned {@code cluster_id} can be used to poll the + * cluster status. When this method returns, the cluster will be in a {@code PENDING} state. The + * cluster will be usable once it enters a {@code RUNNING} state. Note: Databricks may not be able + * to acquire some of the requested nodes, due to cloud provider limitations (account limits, spot * price, etc.) or transient network issues. * *

If Databricks acquires at least 85% of the requested on-demand nodes, cluster creation will * succeed. Otherwise the cluster will terminate with an informative error message. * *

Rather than authoring the cluster's JSON definition from scratch, Databricks recommends - * filling out the [create compute UI] and then copying the generated JSON definition from the UI. - * - *

[create compute UI]: https://docs.databricks.com/compute/configure.html + * filling out the create compute + * UI and then copying the generated JSON definition from the UI. */ public Wait create(CreateCluster request) { CreateClusterResponse response = impl.create(request); @@ -180,8 +179,8 @@ public Wait delete(String clusterId) { /** * Terminates the Spark cluster with the specified ID. The cluster is removed asynchronously. Once - * the termination has completed, the cluster will be in a `TERMINATED` state. If the cluster is - * already in a `TERMINATING` or `TERMINATED` state, nothing will happen. + * the termination has completed, the cluster will be in a {@code TERMINATED} state. If the + * cluster is already in a {@code TERMINATING} or {@code TERMINATED} state, nothing will happen. */ public Wait delete(DeleteCluster request) { impl.delete(request); @@ -191,15 +190,15 @@ public Wait delete(DeleteCluster request) { /** * Updates the configuration of a cluster to match the provided attributes and size. A cluster can - * be updated if it is in a `RUNNING` or `TERMINATED` state. + * be updated if it is in a {@code RUNNING} or {@code TERMINATED} state. * - *

If a cluster is updated while in a `RUNNING` state, it will be restarted so that the new - * attributes can take effect. + *

If a cluster is updated while in a {@code RUNNING} state, it will be restarted so that the + * new attributes can take effect. * - *

If a cluster is updated while in a `TERMINATED` state, it will remain `TERMINATED`. The next - * time it is started using the `clusters/start` API, the new attributes will take effect. Any - * attempt to update a cluster in any other state will be rejected with an `INVALID_STATE` error - * code. + *

If a cluster is updated while in a {@code TERMINATED} state, it will remain {@code + * TERMINATED}. The next time it is started using the {@code clusters/start} API, the new + * attributes will take effect. Any attempt to update a cluster in any other state will be + * rejected with an {@code INVALID_STATE} error code. * *

Clusters created by the Databricks Jobs service cannot be edited. */ @@ -313,7 +312,7 @@ public void pin(PinCluster request) { /** * Resizes a cluster to have a desired number of workers. This will fail unless the cluster is in - * a `RUNNING` state. + * a {@code RUNNING} state. */ public Wait resize(ResizeCluster request) { impl.resize(request); @@ -322,8 +321,8 @@ public Wait resize(ResizeCluster request) { } /** - * Restarts a Spark cluster with the supplied ID. If the cluster is not currently in a `RUNNING` - * state, nothing will happen. + * Restarts a Spark cluster with the supplied ID. If the cluster is not currently in a {@code + * RUNNING} state, nothing will happen. */ public Wait restart(RestartCluster request) { impl.restart(request); @@ -351,11 +350,17 @@ public Wait start(String clusterId) { } /** - * Starts a terminated Spark cluster with the supplied ID. This works similar to `createCluster` - * except: - The previous cluster id and attributes are preserved. - The cluster starts with the - * last specified cluster size. - If the previous cluster was an autoscaling cluster, the current - * cluster starts with the minimum number of nodes. - If the cluster is not currently in a - * ``TERMINATED`` state, nothing will happen. - Clusters launched to run a job cannot be started. + * Starts a terminated Spark cluster with the supplied ID. This works similar to {@code + * createCluster} except: + * + *

    + *
  • The previous cluster id and attributes are preserved. + *
  • The cluster starts with the last specified cluster size. + *
  • If the previous cluster was an autoscaling cluster, the current cluster starts with the + * minimum number of nodes. + *
  • If the cluster is not currently in a {@code TERMINATED} state, nothing will happen. + *
  • Clusters launched to run a job cannot be started. + *
*/ public Wait start(StartCluster request) { impl.start(request); @@ -378,13 +383,14 @@ public void unpin(UnpinCluster request) { /** * Updates the configuration of a cluster to match the partial set of attributes and size. Denote - * which fields to update using the `update_mask` field in the request body. A cluster can be - * updated if it is in a `RUNNING` or `TERMINATED` state. If a cluster is updated while in a - * `RUNNING` state, it will be restarted so that the new attributes can take effect. If a cluster - * is updated while in a `TERMINATED` state, it will remain `TERMINATED`. The updated attributes - * will take effect the next time the cluster is started using the `clusters/start` API. Attempts - * to update a cluster in any other state will be rejected with an `INVALID_STATE` error code. - * Clusters created by the Databricks Jobs service cannot be updated. + * which fields to update using the {@code update_mask} field in the request body. A cluster can + * be updated if it is in a {@code RUNNING} or {@code TERMINATED} state. If a cluster is updated + * while in a {@code RUNNING} state, it will be restarted so that the new attributes can take + * effect. If a cluster is updated while in a {@code TERMINATED} state, it will remain {@code + * TERMINATED}. The updated attributes will take effect the next time the cluster is started using + * the {@code clusters/start} API. Attempts to update a cluster in any other state will be + * rejected with an {@code INVALID_STATE} error code. Clusters created by the Databricks Jobs + * service cannot be updated. */ public Wait update(UpdateCluster request) { impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClustersService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClustersService.java index f0fa9c0a6..7a7d80c1c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClustersService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ClustersService.java @@ -35,46 +35,45 @@ public interface ClustersService { /** * Change the owner of the cluster. You must be an admin and the cluster must be terminated to * perform this operation. The service principal application ID can be supplied as an argument to - * `owner_username`. + * {@code owner_username}. */ void changeOwner(ChangeClusterOwner changeClusterOwner); /** * Creates a new Spark cluster. This method will acquire new instances from the cloud provider if - * necessary. This method is asynchronous; the returned ``cluster_id`` can be used to poll the - * cluster status. When this method returns, the cluster will be in a ``PENDING`` state. The - * cluster will be usable once it enters a ``RUNNING`` state. Note: Databricks may not be able to - * acquire some of the requested nodes, due to cloud provider limitations (account limits, spot + * necessary. This method is asynchronous; the returned {@code cluster_id} can be used to poll the + * cluster status. When this method returns, the cluster will be in a {@code PENDING} state. The + * cluster will be usable once it enters a {@code RUNNING} state. Note: Databricks may not be able + * to acquire some of the requested nodes, due to cloud provider limitations (account limits, spot * price, etc.) or transient network issues. * *

If Databricks acquires at least 85% of the requested on-demand nodes, cluster creation will * succeed. Otherwise the cluster will terminate with an informative error message. * *

Rather than authoring the cluster's JSON definition from scratch, Databricks recommends - * filling out the [create compute UI] and then copying the generated JSON definition from the UI. - * - *

[create compute UI]: https://docs.databricks.com/compute/configure.html + * filling out the create compute + * UI and then copying the generated JSON definition from the UI. */ CreateClusterResponse create(CreateCluster createCluster); /** * Terminates the Spark cluster with the specified ID. The cluster is removed asynchronously. Once - * the termination has completed, the cluster will be in a `TERMINATED` state. If the cluster is - * already in a `TERMINATING` or `TERMINATED` state, nothing will happen. + * the termination has completed, the cluster will be in a {@code TERMINATED} state. If the + * cluster is already in a {@code TERMINATING} or {@code TERMINATED} state, nothing will happen. */ void delete(DeleteCluster deleteCluster); /** * Updates the configuration of a cluster to match the provided attributes and size. A cluster can - * be updated if it is in a `RUNNING` or `TERMINATED` state. + * be updated if it is in a {@code RUNNING} or {@code TERMINATED} state. * - *

If a cluster is updated while in a `RUNNING` state, it will be restarted so that the new - * attributes can take effect. + *

If a cluster is updated while in a {@code RUNNING} state, it will be restarted so that the + * new attributes can take effect. * - *

If a cluster is updated while in a `TERMINATED` state, it will remain `TERMINATED`. The next - * time it is started using the `clusters/start` API, the new attributes will take effect. Any - * attempt to update a cluster in any other state will be rejected with an `INVALID_STATE` error - * code. + *

If a cluster is updated while in a {@code TERMINATED} state, it will remain {@code + * TERMINATED}. The next time it is started using the {@code clusters/start} API, the new + * attributes will take effect. Any attempt to update a cluster in any other state will be + * rejected with an {@code INVALID_STATE} error code. * *

Clusters created by the Databricks Jobs service cannot be edited. */ @@ -135,13 +134,13 @@ GetClusterPermissionLevelsResponse getPermissionLevels( /** * Resizes a cluster to have a desired number of workers. This will fail unless the cluster is in - * a `RUNNING` state. + * a {@code RUNNING} state. */ void resize(ResizeCluster resizeCluster); /** - * Restarts a Spark cluster with the supplied ID. If the cluster is not currently in a `RUNNING` - * state, nothing will happen. + * Restarts a Spark cluster with the supplied ID. If the cluster is not currently in a {@code + * RUNNING} state, nothing will happen. */ void restart(RestartCluster restartCluster); @@ -157,11 +156,17 @@ GetClusterPermissionLevelsResponse getPermissionLevels( GetSparkVersionsResponse sparkVersions(); /** - * Starts a terminated Spark cluster with the supplied ID. This works similar to `createCluster` - * except: - The previous cluster id and attributes are preserved. - The cluster starts with the - * last specified cluster size. - If the previous cluster was an autoscaling cluster, the current - * cluster starts with the minimum number of nodes. - If the cluster is not currently in a - * ``TERMINATED`` state, nothing will happen. - Clusters launched to run a job cannot be started. + * Starts a terminated Spark cluster with the supplied ID. This works similar to {@code + * createCluster} except: + * + *

    + *
  • The previous cluster id and attributes are preserved. + *
  • The cluster starts with the last specified cluster size. + *
  • If the previous cluster was an autoscaling cluster, the current cluster starts with the + * minimum number of nodes. + *
  • If the cluster is not currently in a {@code TERMINATED} state, nothing will happen. + *
  • Clusters launched to run a job cannot be started. + *
*/ void start(StartCluster startCluster); @@ -174,13 +179,14 @@ GetClusterPermissionLevelsResponse getPermissionLevels( /** * Updates the configuration of a cluster to match the partial set of attributes and size. Denote - * which fields to update using the `update_mask` field in the request body. A cluster can be - * updated if it is in a `RUNNING` or `TERMINATED` state. If a cluster is updated while in a - * `RUNNING` state, it will be restarted so that the new attributes can take effect. If a cluster - * is updated while in a `TERMINATED` state, it will remain `TERMINATED`. The updated attributes - * will take effect the next time the cluster is started using the `clusters/start` API. Attempts - * to update a cluster in any other state will be rejected with an `INVALID_STATE` error code. - * Clusters created by the Databricks Jobs service cannot be updated. + * which fields to update using the {@code update_mask} field in the request body. A cluster can + * be updated if it is in a {@code RUNNING} or {@code TERMINATED} state. If a cluster is updated + * while in a {@code RUNNING} state, it will be restarted so that the new attributes can take + * effect. If a cluster is updated while in a {@code TERMINATED} state, it will remain {@code + * TERMINATED}. The updated attributes will take effect the next time the cluster is started using + * the {@code clusters/start} API. Attempts to update a cluster in any other state will be + * rejected with an {@code INVALID_STATE} error code. Clusters created by the Databricks Jobs + * service cannot be updated. */ void update(UpdateCluster updateCluster); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandExecutionAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandExecutionAPI.java index cb3ff1831..8b5f2ef87 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandExecutionAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandExecutionAPI.java @@ -208,7 +208,7 @@ public CommandStatusResponse waitCommandStatusCommandExecutionFinishedOrError( /** * Cancels a currently running command within an execution context. * - *

The command ID is obtained from a prior successful call to __execute__. + *

The command ID is obtained from a prior successful call to execute. */ public Wait cancel(CancelCommand request) { impl.cancel(request); @@ -233,7 +233,7 @@ public CommandStatusResponse commandStatus(String clusterId, String contextId, S /** * Gets the status of and, if available, the results from a currently executing command. * - *

The command ID is obtained from a prior successful call to __execute__. + *

The command ID is obtained from a prior successful call to execute. */ public CommandStatusResponse commandStatus(CommandStatusRequest request) { return impl.commandStatus(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandExecutionService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandExecutionService.java index a28c23aaf..93553411d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandExecutionService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CommandExecutionService.java @@ -16,14 +16,14 @@ public interface CommandExecutionService { /** * Cancels a currently running command within an execution context. * - *

The command ID is obtained from a prior successful call to __execute__. + *

The command ID is obtained from a prior successful call to execute. */ void cancel(CancelCommand cancelCommand); /** * Gets the status of and, if available, the results from a currently executing command. * - *

The command ID is obtained from a prior successful call to __execute__. + *

The command ID is obtained from a prior successful call to execute. */ CommandStatusResponse commandStatus(CommandStatusRequest commandStatusRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreateCluster.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreateCluster.java index f224a7630..47f730f10 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreateCluster.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreateCluster.java @@ -59,8 +59,8 @@ public class CreateCluster { * The configuration for delivering spark logs to a long-term storage destination. Three kinds of * destinations (DBFS, S3 and Unity Catalog volumes) are supported. Only one destination can be * specified for one cluster. If the conf is given, the logs will be delivered to the destination - * every `5 mins`. The destination of driver logs is `$destination/$clusterId/driver`, while the - * destination of executor logs is `$destination/$clusterId/executor`. + * every {@code 5 mins}. The destination of driver logs is {@code $destination/$clusterId/driver}, + * while the destination of executor logs is {@code $destination/$clusterId/executor}. */ @JsonProperty("cluster_log_conf") private ClusterLogConf clusterLogConf; @@ -75,12 +75,13 @@ public class CreateCluster { /** * Additional tags for cluster resources. Databricks will tag all cluster resources (e.g., AWS - * instances and EBS volumes) with these tags in addition to `default_tags`. Notes: + * instances and EBS volumes) with these tags in addition to {@code default_tags}. Notes: * - *

- Currently, Databricks allows at most 45 custom tags - * - *

- Clusters can only reuse cloud resources if the resources' tags are a subset of the cluster - * tags + *

    + *
  • Currently, Databricks allows at most 45 custom tags + *
  • Clusters can only reuse cloud resources if the resources' tags are a subset of the + * cluster tags + *
*/ @JsonProperty("custom_tags") private Map customTags; @@ -106,7 +107,7 @@ public class CreateCluster { /** * The node type of the Spark driver. Note that this field is optional; if unset, the driver node - * type will be set as the same value as `node_type_id` defined above. + * type will be set as the same value as {@code node_type_id} defined above. * *

This field, along with node_type_id, should not be set if virtual_cluster_size is set. If * both driver_node_type_id, node_type_id, and virtual_cluster_size are specified, @@ -135,8 +136,8 @@ public class CreateCluster { /** * The configuration for storing init scripts. Any number of destinations can be specified. The - * scripts are executed sequentially in the order provided. If `cluster_log_conf` is specified, - * init script logs are sent to `//init_scripts`. + * scripts are executed sequentially in the order provided. If {@code cluster_log_conf} is + * specified, init script logs are sent to {@code //init_scripts}. */ @JsonProperty("init_scripts") private Collection initScripts; @@ -146,10 +147,10 @@ public class CreateCluster { private String instancePoolId; /** - * This field can only be used when `kind = CLASSIC_PREVIEW`. + * This field can only be used when {@code kind = CLASSIC_PREVIEW}. * - *

When set to true, Databricks will automatically set single node related `custom_tags`, - * `spark_conf`, and `num_workers` + *

When set to true, Databricks will automatically set single node related {@code custom_tags}, + * {@code spark_conf}, and {@code num_workers} */ @JsonProperty("is_single_node") private Boolean isSingleNode; @@ -168,14 +169,14 @@ public class CreateCluster { private String nodeTypeId; /** - * Number of worker nodes that this cluster should have. A cluster has one Spark Driver and - * `num_workers` Executors for a total of `num_workers` + 1 Spark nodes. + * Number of worker nodes that this cluster should have. A cluster has one Spark Driver and {@code + * num_workers} Executors for a total of {@code num_workers} + 1 Spark nodes. * *

Note: When reading the properties of a cluster, this field reflects the desired number of * workers rather than the actual current number of workers. For instance, if a cluster is resized * from 5 to 10 workers, this field will immediately be updated to reflect the target size of 10 - * workers, whereas the workers listed in `spark_info` will gradually increase from 5 to 10 as the - * new nodes are provisioned. + * workers, whereas the workers listed in {@code spark_info} will gradually increase from 5 to 10 + * as the new nodes are provisioned. */ @JsonProperty("num_workers") private Long numWorkers; @@ -194,8 +195,9 @@ public class CreateCluster { /** * Determines the cluster's runtime engine, either standard or Photon. * - *

This field is not compatible with legacy `spark_version` values that contain `-photon-`. - * Remove `-photon-` from the `spark_version` and set `runtime_engine` to `PHOTON`. + *

This field is not compatible with legacy {@code spark_version} values that contain {@code + * -photon-}. Remove {@code -photon-} from the {@code spark_version} and set {@code + * runtime_engine} to {@code PHOTON}. * *

If left unspecified, the runtime engine defaults to standard unless the spark_version * contains -photon-, in which case Photon will be used. @@ -203,45 +205,45 @@ public class CreateCluster { @JsonProperty("runtime_engine") private RuntimeEngine runtimeEngine; - /** Single user name if data_security_mode is `SINGLE_USER` */ + /** Single user name if data_security_mode is {@code SINGLE_USER} */ @JsonProperty("single_user_name") private String singleUserName; /** * An object containing a set of optional, user-specified Spark configuration key-value pairs. - * Users can also pass in a string of extra JVM options to the driver and the executors via - * `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` respectively. + * Users can also pass in a string of extra JVM options to the driver and the executors via {@code + * spark.driver.extraJavaOptions} and {@code spark.executor.extraJavaOptions} respectively. */ @JsonProperty("spark_conf") private Map sparkConf; /** * An object containing a set of optional, user-specified environment variable key-value pairs. - * Please note that key-value pair of the form (X,Y) will be exported as is (i.e., `export X='Y'`) - * while launching the driver and workers. + * Please note that key-value pair of the form (X,Y) will be exported as is (i.e., {@code export + * X='Y'}) while launching the driver and workers. * - *

In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we recommend appending - * them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the example below. This ensures that all default - * databricks managed environmental variables are included as well. + *

In order to specify an additional set of {@code SPARK_DAEMON_JAVA_OPTS}, we recommend + * appending them to {@code $SPARK_DAEMON_JAVA_OPTS} as shown in the example below. This ensures + * that all default databricks managed environmental variables are included as well. * - *

Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", "SPARK_LOCAL_DIRS": - * "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": "$SPARK_DAEMON_JAVA_OPTS - * -Dspark.shuffle.service.enabled=true"}` + *

Example Spark environment variables: {@code {"SPARK_WORKER_MEMORY": "28000m", + * "SPARK_LOCAL_DIRS": "/local_disk0"}} or {@code {"SPARK_DAEMON_JAVA_OPTS": + * "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}} */ @JsonProperty("spark_env_vars") private Map sparkEnvVars; /** - * The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of available Spark versions - * can be retrieved by using the :method:clusters/sparkVersions API call. + * The Spark version of the cluster, e.g. {@code 3.3.x-scala2.11}. A list of available Spark + * versions can be retrieved by using the :method:clusters/sparkVersions API call. */ @JsonProperty("spark_version") private String sparkVersion; /** * SSH public key contents that will be added to each Spark node in this cluster. The - * corresponding private keys can be used to login with the user name `ubuntu` on port `2200`. Up - * to 10 keys can be specified. + * corresponding private keys can be used to login with the user name {@code ubuntu} on port + * {@code 2200}. Up to 10 keys can be specified. */ @JsonProperty("ssh_public_keys") private Collection sshPublicKeys; @@ -254,10 +256,10 @@ public class CreateCluster { private Long totalInitialRemoteDiskSize; /** - * This field can only be used when `kind = CLASSIC_PREVIEW`. + * This field can only be used when {@code kind = CLASSIC_PREVIEW}. * - *

`effective_spark_version` is determined by `spark_version` (DBR release), this field - * `use_ml_runtime`, and whether `node_type_id` is gpu node or not. + *

{@code effective_spark_version} is determined by {@code spark_version} (DBR release), this + * field {@code use_ml_runtime}, and whether {@code node_type_id} is gpu node or not. */ @JsonProperty("use_ml_runtime") private Boolean useMlRuntime; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreateInstancePool.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreateInstancePool.java index 9365e599a..50baaaf7e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreateInstancePool.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreateInstancePool.java @@ -27,9 +27,11 @@ public class CreateInstancePool { /** * Additional tags for pool resources. Databricks will tag all pool resources (e.g., AWS instances - * and EBS volumes) with these tags in addition to `default_tags`. Notes: + * and EBS volumes) with these tags in addition to {@code default_tags}. Notes: * - *

- Currently, Databricks allows at most 45 custom tags + *

    + *
  • Currently, Databricks allows at most 45 custom tags + *
*/ @JsonProperty("custom_tags") private Map customTags; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreatePolicy.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreatePolicy.java index 8b44ccd98..9d6032f6f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreatePolicy.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CreatePolicy.java @@ -11,10 +11,9 @@ @Generated public class CreatePolicy { /** - * Policy definition document expressed in [Databricks Cluster Policy Definition Language]. - * - *

[Databricks Cluster Policy Definition Language]: - * https://docs.databricks.com/administration-guide/clusters/policy-definition.html + * Policy definition document expressed in Databricks + * Cluster Policy Definition Language. */ @JsonProperty("definition") private String definition; @@ -45,14 +44,13 @@ public class CreatePolicy { private String name; /** - * Policy definition JSON document expressed in [Databricks Policy Definition Language]. The JSON - * document must be passed as a string and cannot be embedded in the requests. + * Policy definition JSON document expressed in Databricks + * Policy Definition Language. The JSON document must be passed as a string and cannot be + * embedded in the requests. * *

You can use this to customize the policy definition inherited from the policy family. Policy * rules specified here are merged into the inherited policy definition. - * - *

[Databricks Policy Definition Language]: - * https://docs.databricks.com/administration-guide/clusters/policy-definition.html */ @JsonProperty("policy_family_definition_overrides") private String policyFamilyDefinitionOverrides; @@ -61,8 +59,8 @@ public class CreatePolicy { * ID of the policy family. The cluster policy's policy definition inherits the policy family's * policy definition. * - *

Cannot be used with `definition`. Use `policy_family_definition_overrides` instead to - * customize the policy definition. + *

Cannot be used with {@code definition}. Use {@code policy_family_definition_overrides} + * instead to customize the policy definition. */ @JsonProperty("policy_family_id") private String policyFamilyId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CustomPolicyTag.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CustomPolicyTag.java index 57bd01c54..a2b0dfc9b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CustomPolicyTag.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/CustomPolicyTag.java @@ -10,9 +10,13 @@ @Generated public class CustomPolicyTag { /** - * The key of the tag. - Must be unique among all custom tags of the same policy - Cannot be - * “budget-policy-name”, “budget-policy-id” or "budget-policy-resolution-result" - these tags are - * preserved. + * The key of the tag. + * + *

    + *
  • Must be unique among all custom tags of the same policy + *
  • Cannot be “budget-policy-name”, “budget-policy-id” or "budget-policy-resolution-result" - + * these tags are preserved. + *
*/ @JsonProperty("key") private String key; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/DataSecurityMode.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/DataSecurityMode.java index 3d18e87d3..0368f3edb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/DataSecurityMode.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/DataSecurityMode.java @@ -7,27 +7,37 @@ /** * Data security mode decides what data governance model to use when accessing data from a cluster. * - *

* `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate access mode depending - * on your compute configuration. * `DATA_SECURITY_MODE_STANDARD`: A secure cluster that can be - * shared by multiple users. Cluster users are fully isolated so that they cannot see each other’s - * data and credentials. Most data governance features are supported in this mode. But programming - * languages and cluster features might be limited. * `DATA_SECURITY_MODE_DEDICATED`: A secure - * cluster that can only be exclusively used by a single user specified in `single_user_name`. Most - * programming languages, cluster features and data governance features are available in this mode. + *

    + *
  • {@code DATA_SECURITY_MODE_AUTO}: Databricks will choose the most appropriate access mode + * depending on your compute configuration. + *
  • {@code DATA_SECURITY_MODE_STANDARD}: A secure cluster that can be shared by multiple users. + * Cluster users are fully isolated so that they cannot see each other’s data and credentials. + * Most data governance features are supported in this mode. But programming languages and + * cluster features might be limited. + *
  • {@code DATA_SECURITY_MODE_DEDICATED}: A secure cluster that can only be exclusively used by + * a single user specified in {@code single_user_name}. Most programming languages, cluster + * features and data governance features are available in this mode. + *
* *

The following modes are legacy aliases for the above modes: * - *

* `USER_ISOLATION`: Legacy alias for `DATA_SECURITY_MODE_STANDARD`. * `SINGLE_USER`: Legacy - * alias for `DATA_SECURITY_MODE_DEDICATED`. + *

    + *
  • {@code USER_ISOLATION}: Legacy alias for {@code DATA_SECURITY_MODE_STANDARD}. + *
  • {@code SINGLE_USER}: Legacy alias for {@code DATA_SECURITY_MODE_DEDICATED}. + *
* *

The following modes are deprecated starting with Databricks Runtime 15.0 and will be removed * for future Databricks Runtime versions: * - *

* `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table ACL clusters. * - * `LEGACY_PASSTHROUGH`: This mode is for users migrating from legacy Passthrough on high - * concurrency clusters. * `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy - * Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This mode provides a way that - * doesn’t have UC nor passthrough enabled. + *

    + *
  • {@code LEGACY_TABLE_ACL}: This mode is for users migrating from legacy Table ACL clusters. + *
  • {@code LEGACY_PASSTHROUGH}: This mode is for users migrating from legacy Passthrough on + * high concurrency clusters. + *
  • {@code LEGACY_SINGLE_USER}: This mode is for users migrating from legacy Passthrough on + * standard clusters. + *
  • {@code LEGACY_SINGLE_USER_STANDARD}: This mode provides a way that doesn’t have UC nor + * passthrough enabled. + *
*/ @Generated public enum DataSecurityMode { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/DbfsStorageInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/DbfsStorageInfo.java index a41d4b921..e74e94a4a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/DbfsStorageInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/DbfsStorageInfo.java @@ -10,7 +10,7 @@ /** A storage location in DBFS */ @Generated public class DbfsStorageInfo { - /** dbfs destination, e.g. `dbfs:/my/path` */ + /** dbfs destination, e.g. {@code dbfs:/my/path} */ @JsonProperty("destination") private String destination; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/DiskSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/DiskSpec.java index e9dbb915e..f2a3ec146 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/DiskSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/DiskSpec.java @@ -15,20 +15,28 @@ @Generated public class DiskSpec { /** - * The number of disks launched for each instance: - This feature is only enabled for supported - * node types. - Users can choose up to the limit of the disks supported by the node type. - For - * node types with no OS disk, at least one disk must be specified; otherwise, cluster creation - * will fail. + * The number of disks launched for each instance: + * + *
    + *
  • This feature is only enabled for supported node types. + *
  • Users can choose up to the limit of the disks supported by the node type. + *
  • For node types with no OS disk, at least one disk must be specified; otherwise, cluster + * creation will fail. + *
* *

If disks are attached, Databricks will configure Spark to use only the disks for scratch * storage, because heterogenously sized scratch devices can lead to inefficient disk utilization. * If no disks are attached, Databricks will configure Spark to use instance store disks. * - *

Note: If disks are specified, then the Spark configuration `spark.local.dir` will be + *

Note: If disks are specified, then the Spark configuration {@code spark.local.dir} will be * overridden. * - *

Disks will be mounted at: - For AWS: `/ebs0`, `/ebs1`, and etc. - For Azure: - * `/remote_volume0`, `/remote_volume1`, and etc. + *

Disks will be mounted at: + * + *

    + *
  • For AWS: {@code /ebs0}, {@code /ebs1}, and etc. + *
  • For Azure: {@code /remote_volume0}, {@code /remote_volume1}, and etc. + *
*/ @JsonProperty("disk_count") private Long diskCount; @@ -41,9 +49,19 @@ public class DiskSpec { * The size of each disk (in GiB) launched for each instance. Values must fall into the supported * range for a particular instance type. * - *

For AWS: - General Purpose SSD: 100 - 4096 GiB - Throughput Optimized HDD: 500 - 4096 GiB + *

For AWS: + * + *

    + *
  • General Purpose SSD: 100 - 4096 GiB + *
  • Throughput Optimized HDD: 500 - 4096 GiB + *
+ * + *

For Azure: * - *

For Azure: - Premium LRS (SSD): 1 - 1023 GiB - Standard LRS (HDD): 1- 1023 GiB + *

    + *
  • Premium LRS (SSD): 1 - 1023 GiB + *
  • Standard LRS (HDD): 1- 1023 GiB + *
*/ @JsonProperty("disk_size") private Long diskSize; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditCluster.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditCluster.java index cbf9d6aaf..fa98449d5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditCluster.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditCluster.java @@ -56,8 +56,8 @@ public class EditCluster { * The configuration for delivering spark logs to a long-term storage destination. Three kinds of * destinations (DBFS, S3 and Unity Catalog volumes) are supported. Only one destination can be * specified for one cluster. If the conf is given, the logs will be delivered to the destination - * every `5 mins`. The destination of driver logs is `$destination/$clusterId/driver`, while the - * destination of executor logs is `$destination/$clusterId/executor`. + * every {@code 5 mins}. The destination of driver logs is {@code $destination/$clusterId/driver}, + * while the destination of executor logs is {@code $destination/$clusterId/executor}. */ @JsonProperty("cluster_log_conf") private ClusterLogConf clusterLogConf; @@ -72,12 +72,13 @@ public class EditCluster { /** * Additional tags for cluster resources. Databricks will tag all cluster resources (e.g., AWS - * instances and EBS volumes) with these tags in addition to `default_tags`. Notes: + * instances and EBS volumes) with these tags in addition to {@code default_tags}. Notes: * - *

- Currently, Databricks allows at most 45 custom tags - * - *

- Clusters can only reuse cloud resources if the resources' tags are a subset of the cluster - * tags + *

    + *
  • Currently, Databricks allows at most 45 custom tags + *
  • Clusters can only reuse cloud resources if the resources' tags are a subset of the + * cluster tags + *
*/ @JsonProperty("custom_tags") private Map customTags; @@ -103,7 +104,7 @@ public class EditCluster { /** * The node type of the Spark driver. Note that this field is optional; if unset, the driver node - * type will be set as the same value as `node_type_id` defined above. + * type will be set as the same value as {@code node_type_id} defined above. * *

This field, along with node_type_id, should not be set if virtual_cluster_size is set. If * both driver_node_type_id, node_type_id, and virtual_cluster_size are specified, @@ -132,8 +133,8 @@ public class EditCluster { /** * The configuration for storing init scripts. Any number of destinations can be specified. The - * scripts are executed sequentially in the order provided. If `cluster_log_conf` is specified, - * init script logs are sent to `//init_scripts`. + * scripts are executed sequentially in the order provided. If {@code cluster_log_conf} is + * specified, init script logs are sent to {@code //init_scripts}. */ @JsonProperty("init_scripts") private Collection initScripts; @@ -143,10 +144,10 @@ public class EditCluster { private String instancePoolId; /** - * This field can only be used when `kind = CLASSIC_PREVIEW`. + * This field can only be used when {@code kind = CLASSIC_PREVIEW}. * - *

When set to true, Databricks will automatically set single node related `custom_tags`, - * `spark_conf`, and `num_workers` + *

When set to true, Databricks will automatically set single node related {@code custom_tags}, + * {@code spark_conf}, and {@code num_workers} */ @JsonProperty("is_single_node") private Boolean isSingleNode; @@ -165,14 +166,14 @@ public class EditCluster { private String nodeTypeId; /** - * Number of worker nodes that this cluster should have. A cluster has one Spark Driver and - * `num_workers` Executors for a total of `num_workers` + 1 Spark nodes. + * Number of worker nodes that this cluster should have. A cluster has one Spark Driver and {@code + * num_workers} Executors for a total of {@code num_workers} + 1 Spark nodes. * *

Note: When reading the properties of a cluster, this field reflects the desired number of * workers rather than the actual current number of workers. For instance, if a cluster is resized * from 5 to 10 workers, this field will immediately be updated to reflect the target size of 10 - * workers, whereas the workers listed in `spark_info` will gradually increase from 5 to 10 as the - * new nodes are provisioned. + * workers, whereas the workers listed in {@code spark_info} will gradually increase from 5 to 10 + * as the new nodes are provisioned. */ @JsonProperty("num_workers") private Long numWorkers; @@ -191,8 +192,9 @@ public class EditCluster { /** * Determines the cluster's runtime engine, either standard or Photon. * - *

This field is not compatible with legacy `spark_version` values that contain `-photon-`. - * Remove `-photon-` from the `spark_version` and set `runtime_engine` to `PHOTON`. + *

This field is not compatible with legacy {@code spark_version} values that contain {@code + * -photon-}. Remove {@code -photon-} from the {@code spark_version} and set {@code + * runtime_engine} to {@code PHOTON}. * *

If left unspecified, the runtime engine defaults to standard unless the spark_version * contains -photon-, in which case Photon will be used. @@ -200,45 +202,45 @@ public class EditCluster { @JsonProperty("runtime_engine") private RuntimeEngine runtimeEngine; - /** Single user name if data_security_mode is `SINGLE_USER` */ + /** Single user name if data_security_mode is {@code SINGLE_USER} */ @JsonProperty("single_user_name") private String singleUserName; /** * An object containing a set of optional, user-specified Spark configuration key-value pairs. - * Users can also pass in a string of extra JVM options to the driver and the executors via - * `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` respectively. + * Users can also pass in a string of extra JVM options to the driver and the executors via {@code + * spark.driver.extraJavaOptions} and {@code spark.executor.extraJavaOptions} respectively. */ @JsonProperty("spark_conf") private Map sparkConf; /** * An object containing a set of optional, user-specified environment variable key-value pairs. - * Please note that key-value pair of the form (X,Y) will be exported as is (i.e., `export X='Y'`) - * while launching the driver and workers. + * Please note that key-value pair of the form (X,Y) will be exported as is (i.e., {@code export + * X='Y'}) while launching the driver and workers. * - *

In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we recommend appending - * them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the example below. This ensures that all default - * databricks managed environmental variables are included as well. + *

In order to specify an additional set of {@code SPARK_DAEMON_JAVA_OPTS}, we recommend + * appending them to {@code $SPARK_DAEMON_JAVA_OPTS} as shown in the example below. This ensures + * that all default databricks managed environmental variables are included as well. * - *

Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", "SPARK_LOCAL_DIRS": - * "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": "$SPARK_DAEMON_JAVA_OPTS - * -Dspark.shuffle.service.enabled=true"}` + *

Example Spark environment variables: {@code {"SPARK_WORKER_MEMORY": "28000m", + * "SPARK_LOCAL_DIRS": "/local_disk0"}} or {@code {"SPARK_DAEMON_JAVA_OPTS": + * "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}} */ @JsonProperty("spark_env_vars") private Map sparkEnvVars; /** - * The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of available Spark versions - * can be retrieved by using the :method:clusters/sparkVersions API call. + * The Spark version of the cluster, e.g. {@code 3.3.x-scala2.11}. A list of available Spark + * versions can be retrieved by using the :method:clusters/sparkVersions API call. */ @JsonProperty("spark_version") private String sparkVersion; /** * SSH public key contents that will be added to each Spark node in this cluster. The - * corresponding private keys can be used to login with the user name `ubuntu` on port `2200`. Up - * to 10 keys can be specified. + * corresponding private keys can be used to login with the user name {@code ubuntu} on port + * {@code 2200}. Up to 10 keys can be specified. */ @JsonProperty("ssh_public_keys") private Collection sshPublicKeys; @@ -251,10 +253,10 @@ public class EditCluster { private Long totalInitialRemoteDiskSize; /** - * This field can only be used when `kind = CLASSIC_PREVIEW`. + * This field can only be used when {@code kind = CLASSIC_PREVIEW}. * - *

`effective_spark_version` is determined by `spark_version` (DBR release), this field - * `use_ml_runtime`, and whether `node_type_id` is gpu node or not. + *

{@code effective_spark_version} is determined by {@code spark_version} (DBR release), this + * field {@code use_ml_runtime}, and whether {@code node_type_id} is gpu node or not. */ @JsonProperty("use_ml_runtime") private Boolean useMlRuntime; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditInstancePool.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditInstancePool.java index b5cd70eb2..22fcda233 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditInstancePool.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditInstancePool.java @@ -12,9 +12,11 @@ public class EditInstancePool { /** * Additional tags for pool resources. Databricks will tag all pool resources (e.g., AWS instances - * and EBS volumes) with these tags in addition to `default_tags`. Notes: + * and EBS volumes) with these tags in addition to {@code default_tags}. Notes: * - *

- Currently, Databricks allows at most 45 custom tags + *

    + *
  • Currently, Databricks allows at most 45 custom tags + *
*/ @JsonProperty("custom_tags") private Map customTags; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditPolicy.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditPolicy.java index d81f9cf4d..60b7657a1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditPolicy.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditPolicy.java @@ -11,10 +11,9 @@ @Generated public class EditPolicy { /** - * Policy definition document expressed in [Databricks Cluster Policy Definition Language]. - * - *

[Databricks Cluster Policy Definition Language]: - * https://docs.databricks.com/administration-guide/clusters/policy-definition.html + * Policy definition document expressed in Databricks + * Cluster Policy Definition Language. */ @JsonProperty("definition") private String definition; @@ -45,14 +44,13 @@ public class EditPolicy { private String name; /** - * Policy definition JSON document expressed in [Databricks Policy Definition Language]. The JSON - * document must be passed as a string and cannot be embedded in the requests. + * Policy definition JSON document expressed in Databricks + * Policy Definition Language. The JSON document must be passed as a string and cannot be + * embedded in the requests. * *

You can use this to customize the policy definition inherited from the policy family. Policy * rules specified here are merged into the inherited policy definition. - * - *

[Databricks Policy Definition Language]: - * https://docs.databricks.com/administration-guide/clusters/policy-definition.html */ @JsonProperty("policy_family_definition_overrides") private String policyFamilyDefinitionOverrides; @@ -61,8 +59,8 @@ public class EditPolicy { * ID of the policy family. The cluster policy's policy definition inherits the policy family's * policy definition. * - *

Cannot be used with `definition`. Use `policy_family_definition_overrides` instead to - * customize the policy definition. + *

Cannot be used with {@code definition}. Use {@code policy_family_definition_overrides} + * instead to customize the policy definition. */ @JsonProperty("policy_family_id") private String policyFamilyId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Environment.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Environment.java index 4c9b5894d..205286ca8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Environment.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Environment.java @@ -18,19 +18,19 @@ public class Environment { /** * The base environment this environment is built on top of. A base environment defines the * environment version and a list of dependencies for serverless compute. The value can be a file - * path to a custom `env.yaml` file (e.g., `/Workspace/path/to/env.yaml`). Support for a - * Databricks-provided base environment ID (e.g., `workspace-base-environments/databricks_ai_v4`) - * and workspace base environment ID (e.g., - * `workspace-base-environments/dbe_b849b66e-b31a-4cb5-b161-1f2b10877fb7`) is in Beta. Either - * `environment_version` or `base_environment` can be provided. For more information about - * Databricks-provided base environments, see the [list workspace base - * environments](:method:Environments/ListWorkspaceBaseEnvironments) API. For more information, - * see + * path to a custom {@code env.yaml} file (e.g., {@code /Workspace/path/to/env.yaml}). Support for + * a Databricks-provided base environment ID (e.g., {@code + * workspace-base-environments/databricks_ai_v4}) and workspace base environment ID (e.g., {@code + * workspace-base-environments/dbe_b849b66e-b31a-4cb5-b161-1f2b10877fb7}) is in Beta. Either + * {@code environment_version} or {@code base_environment} can be provided. For more information + * about Databricks-provided base environments, see the list workspace base environments + * API. For more information, see */ @JsonProperty("base_environment") private String baseEnvironment; - /** Use `environment_version` instead. */ + /** Use {@code environment_version} instead. */ @JsonProperty("client") private String client; @@ -45,16 +45,16 @@ public class Environment { private Collection dependencies; /** - * Either `environment_version` or `base_environment` needs to be provided. Environment version - * used by the environment. Each version comes with a specific Python version and a set of Python - * packages. The version is a string, consisting of an integer. + * Either {@code environment_version} or {@code base_environment} needs to be provided. + * Environment version used by the environment. Each version comes with a specific Python version + * and a set of Python packages. The version is a string, consisting of an integer. */ @JsonProperty("environment_version") private String environmentVersion; /** * List of java dependencies. Each dependency is a string representing a java library path. For - * example: `/Volumes/path/to/test.jar`. + * example: {@code /Volumes/path/to/test.jar}. */ @JsonProperty("java_dependencies") private Collection javaDependencies; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EventDetails.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EventDetails.java index a365e67d5..da621dc3f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EventDetails.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EventDetails.java @@ -10,8 +10,12 @@ @Generated public class EventDetails { /** - * * For created clusters, the attributes of the cluster. * For edited clusters, the new - * attributes of the cluster. + * + * + *

    + *
  • For created clusters, the attributes of the cluster. + *
  • For edited clusters, the new attributes of the cluster. + *
*/ @JsonProperty("attributes") private ClusterAttributes attributes; @@ -63,8 +67,11 @@ public class EventDetails { private String instanceId; /** - * Unique identifier of the specific job run associated with this cluster event * For clusters - * created for jobs, this will be the same as the cluster name + * Unique identifier of the specific job run associated with this cluster event + * + *
    + *
  • For clusters created for jobs, this will be the same as the cluster name + *
*/ @JsonProperty("job_run_name") private String jobRunName; @@ -82,8 +89,13 @@ public class EventDetails { private Long previousDiskSize; /** - * A termination reason: * On a TERMINATED event, this is the reason of the termination. * On a - * RESIZE_COMPLETE event, this indicates the reason that we failed to acquire some nodes. + * A termination reason: + * + *
    + *
  • On a TERMINATED event, this is the reason of the termination. + *
  • On a RESIZE_COMPLETE event, this indicates the reason that we failed to acquire some + * nodes. + *
*/ @JsonProperty("reason") private TerminationReason reason; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GcpAttributes.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GcpAttributes.java index 33acb0da6..f05a7b851 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GcpAttributes.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GcpAttributes.java @@ -30,13 +30,13 @@ public class GcpAttributes { private ConfidentialComputeType confidentialComputeType; /** - * The first `first_on_demand` nodes of the cluster will be placed on on-demand instances. This - * value should be greater than 0, to make sure the cluster driver node is placed on an on-demand - * instance. If this value is greater than or equal to the current cluster size, all nodes will be - * placed on on-demand instances. If this value is less than the current cluster size, - * `first_on_demand` nodes will be placed on on-demand instances and the remainder will be placed - * on `availability` instances. Note that this value does not affect cluster size and cannot - * currently be mutated over the lifetime of a cluster. + * The first {@code first_on_demand} nodes of the cluster will be placed on on-demand instances. + * This value should be greater than 0, to make sure the cluster driver node is placed on an + * on-demand instance. If this value is greater than or equal to the current cluster size, all + * nodes will be placed on on-demand instances. If this value is less than the current cluster + * size, {@code first_on_demand} nodes will be placed on on-demand instances and the remainder + * will be placed on {@code availability} instances. Note that this value does not affect cluster + * size and cannot currently be mutated over the lifetime of a cluster. */ @JsonProperty("first_on_demand") private Long firstOnDemand; @@ -51,11 +51,9 @@ public class GcpAttributes { /** * If provided, each node (workers and driver) in the cluster will have this number of local SSDs - * attached. Each local SSD is 375GB in size. Refer to [GCP documentation] for the supported - * number of local SSDs for each instance type. - * - *

[GCP documentation]: - * https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds + * attached. Each local SSD is 375GB in size. Refer to GCP + * documentation for the supported number of local SSDs for each instance type. */ @JsonProperty("local_ssd_count") private Long localSsdCount; @@ -70,10 +68,15 @@ public class GcpAttributes { /** * Identifier for the availability zone in which the cluster resides. This can be one of the - * following: - "HA" => High availability, spread nodes across availability zones for a Databricks - * deployment region [default]. - "AUTO" => Databricks picks an availability zone to schedule the - * cluster on. - A GCP availability zone => Pick One of the available zones for (machine type + - * region) from https://cloud.google.com/compute/docs/regions-zones. + * following: + * + *

    + *
  • "HA" => High availability, spread nodes across availability zones for a Databricks + * deployment region [default]. + *
  • "AUTO" => Databricks picks an availability zone to schedule the cluster on. + *
  • A GCP availability zone => Pick One of the available zones for (machine type + region) + * from https://cloud.google.com/compute/docs/regions-zones. + *
*/ @JsonProperty("zone_id") private String zoneId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GcsStorageInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GcsStorageInfo.java index 819a421ef..392111219 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GcsStorageInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GcsStorageInfo.java @@ -10,7 +10,7 @@ /** A storage location in Google Cloud Platform's GCS */ @Generated public class GcsStorageInfo { - /** GCS destination/URI, e.g. `gs://my-bucket/some-prefix` */ + /** GCS destination/URI, e.g. {@code gs://my-bucket/some-prefix} */ @JsonProperty("destination") private String destination; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePool.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePool.java index 815a259cf..7777a3eb7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePool.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GetInstancePool.java @@ -27,23 +27,24 @@ public class GetInstancePool { /** * Additional tags for pool resources. Databricks will tag all pool resources (e.g., AWS instances - * and EBS volumes) with these tags in addition to `default_tags`. Notes: + * and EBS volumes) with these tags in addition to {@code default_tags}. Notes: * - *

- Currently, Databricks allows at most 45 custom tags + *

    + *
  • Currently, Databricks allows at most 45 custom tags + *
*/ @JsonProperty("custom_tags") private Map customTags; /** - * Tags that are added by Databricks regardless of any ``custom_tags``, including: + * Tags that are added by Databricks regardless of any {@code custom_tags}, including: * - *

- Vendor: Databricks - * - *

- InstancePoolCreator: - * - *

- InstancePoolName: - * - *

- InstancePoolId: + *

    + *
  • Vendor: Databricks + *
  • InstancePoolCreator: <user_id_of_creator> + *
  • InstancePoolName: <name_of_pool> + *
  • InstancePoolId: <id_of_pool> + *
*/ @JsonProperty("default_tags") private Map defaultTags; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GlobalInitScriptsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GlobalInitScriptsAPI.java index d0e9f31d8..327f63692 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GlobalInitScriptsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GlobalInitScriptsAPI.java @@ -11,10 +11,11 @@ * The Global Init Scripts API enables Workspace administrators to configure global initialization * scripts for their workspace. These scripts run on every node in every cluster in the workspace. * - *

**Important:** Existing clusters must be restarted to pick up any changes made to global init - * scripts. Global init scripts are run in order. If the init script returns with a bad exit code, - * the Apache Spark container fails to launch and init scripts with later position are skipped. If - * enough containers fail, the entire cluster fails with a `GLOBAL_INIT_SCRIPT_FAILURE` error code. + *

Important: Existing clusters must be restarted to pick up any changes made to global + * init scripts. Global init scripts are run in order. If the init script returns with a bad exit + * code, the Apache Spark container fails to launch and init scripts with later position are + * skipped. If enough containers fail, the entire cluster fails with a {@code + * GLOBAL_INIT_SCRIPT_FAILURE} error code. */ @Generated public class GlobalInitScriptsAPI { @@ -57,8 +58,8 @@ public GlobalInitScriptDetailsWithContent get(GetGlobalInitScriptRequest request /** * Get a list of all global init scripts for this workspace. This returns all properties for each - * script but **not** the script contents. To retrieve the contents of a script, use the [get a - * global init script](:method:globalinitscripts/get) operation. + * script but not the script contents. To retrieve the contents of a script, use the get a global init script operation. */ public Iterable list() { return Paginator.newOffsetPagination( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GlobalInitScriptsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GlobalInitScriptsService.java index b031af2ef..71158beff 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GlobalInitScriptsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/GlobalInitScriptsService.java @@ -7,10 +7,11 @@ * The Global Init Scripts API enables Workspace administrators to configure global initialization * scripts for their workspace. These scripts run on every node in every cluster in the workspace. * - *

**Important:** Existing clusters must be restarted to pick up any changes made to global init - * scripts. Global init scripts are run in order. If the init script returns with a bad exit code, - * the Apache Spark container fails to launch and init scripts with later position are skipped. If - * enough containers fail, the entire cluster fails with a `GLOBAL_INIT_SCRIPT_FAILURE` error code. + *

Important: Existing clusters must be restarted to pick up any changes made to global + * init scripts. Global init scripts are run in order. If the init script returns with a bad exit + * code, the Apache Spark container fails to launch and init scripts with later position are + * skipped. If enough containers fail, the entire cluster fails with a {@code + * GLOBAL_INIT_SCRIPT_FAILURE} error code. * *

This is the high-level interface, that contains generated methods. * @@ -29,8 +30,8 @@ public interface GlobalInitScriptsService { /** * Get a list of all global init scripts for this workspace. This returns all properties for each - * script but **not** the script contents. To retrieve the contents of a script, use the [get a - * global init script](:method:globalinitscripts/get) operation. + * script but not the script contents. To retrieve the contents of a script, use the get a global init script operation. */ ListGlobalInitScriptsResponse list(); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InitScriptInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InitScriptInfo.java index 9a696988e..da0531704 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InitScriptInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InitScriptInfo.java @@ -11,51 +11,52 @@ @Generated public class InitScriptInfo { /** - * destination needs to be provided, e.g. - * `abfss://@.dfs.core.windows.net/` + * destination needs to be provided, e.g. {@code + * abfss://@.dfs.core.windows.net/} */ @JsonProperty("abfss") private Adlsgen2Info abfss; /** - * destination needs to be provided. e.g. `{ "dbfs": { "destination" : "dbfs:/home/cluster_log" } - * }` + * destination needs to be provided. e.g. {@code { "dbfs": { "destination" : + * "dbfs:/home/cluster_log" } }} */ @JsonProperty("dbfs") private DbfsStorageInfo dbfs; /** - * destination needs to be provided, e.g. `{ "file": { "destination": "file:/my/local/file.sh" } - * }` + * destination needs to be provided, e.g. {@code { "file": { "destination": + * "file:/my/local/file.sh" } }} */ @JsonProperty("file") private LocalFileInfo file; /** - * destination needs to be provided, e.g. `{ "gcs": { "destination": "gs://my-bucket/file.sh" } }` + * destination needs to be provided, e.g. {@code { "gcs": { "destination": + * "gs://my-bucket/file.sh" } }} */ @JsonProperty("gcs") private GcsStorageInfo gcs; /** - * destination and either the region or endpoint need to be provided. e.g. `{ \"s3\": { - * \"destination\": \"s3://cluster_log_bucket/prefix\", \"region\": \"us-west-2\" } }` Cluster iam - * role is used to access s3, please make sure the cluster iam role in `instance_profile_arn` has - * permission to write data to the s3 destination. + * destination and either the region or endpoint need to be provided. e.g. {@code { \"s3\": { + * \"destination\": \"s3://cluster_log_bucket/prefix\", \"region\": \"us-west-2\" } }} Cluster iam + * role is used to access s3, please make sure the cluster iam role in {@code + * instance_profile_arn} has permission to write data to the s3 destination. */ @JsonProperty("s3") private S3StorageInfo s3; /** - * destination needs to be provided. e.g. `{ \"volumes\" : { \"destination\" : - * \"/Volumes/my-init.sh\" } }` + * destination needs to be provided. e.g. {@code { \"volumes\" : { \"destination\" : + * \"/Volumes/my-init.sh\" } }} */ @JsonProperty("volumes") private VolumesStorageInfo volumes; /** - * destination needs to be provided, e.g. `{ "workspace": { "destination": - * "/cluster-init-scripts/setup-datadog.sh" } }` + * destination needs to be provided, e.g. {@code { "workspace": { "destination": + * "/cluster-init-scripts/setup-datadog.sh" } }} */ @JsonProperty("workspace") private WorkspaceStorageInfo workspace; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InitScriptInfoAndExecutionDetails.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InitScriptInfoAndExecutionDetails.java index 904e8d1c2..1f75cfc4f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InitScriptInfoAndExecutionDetails.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InitScriptInfoAndExecutionDetails.java @@ -10,23 +10,23 @@ @Generated public class InitScriptInfoAndExecutionDetails { /** - * destination needs to be provided, e.g. - * `abfss://@.dfs.core.windows.net/` + * destination needs to be provided, e.g. {@code + * abfss://@.dfs.core.windows.net/} */ @JsonProperty("abfss") private Adlsgen2Info abfss; /** - * destination needs to be provided. e.g. `{ "dbfs": { "destination" : "dbfs:/home/cluster_log" } - * }` + * destination needs to be provided. e.g. {@code { "dbfs": { "destination" : + * "dbfs:/home/cluster_log" } }} */ @JsonProperty("dbfs") private DbfsStorageInfo dbfs; /** * Additional details regarding errors (such as a file not found message if the status is - * FAILED_FETCH). This field should only be used to provide *additional* information to the status - * field, not duplicate it. + * FAILED_FETCH). This field should only be used to provide additional information to the + * status field, not duplicate it. */ @JsonProperty("error_message") private String errorMessage; @@ -36,23 +36,24 @@ public class InitScriptInfoAndExecutionDetails { private Long executionDurationSeconds; /** - * destination needs to be provided, e.g. `{ "file": { "destination": "file:/my/local/file.sh" } - * }` + * destination needs to be provided, e.g. {@code { "file": { "destination": + * "file:/my/local/file.sh" } }} */ @JsonProperty("file") private LocalFileInfo file; /** - * destination needs to be provided, e.g. `{ "gcs": { "destination": "gs://my-bucket/file.sh" } }` + * destination needs to be provided, e.g. {@code { "gcs": { "destination": + * "gs://my-bucket/file.sh" } }} */ @JsonProperty("gcs") private GcsStorageInfo gcs; /** - * destination and either the region or endpoint need to be provided. e.g. `{ \"s3\": { - * \"destination\": \"s3://cluster_log_bucket/prefix\", \"region\": \"us-west-2\" } }` Cluster iam - * role is used to access s3, please make sure the cluster iam role in `instance_profile_arn` has - * permission to write data to the s3 destination. + * destination and either the region or endpoint need to be provided. e.g. {@code { \"s3\": { + * \"destination\": \"s3://cluster_log_bucket/prefix\", \"region\": \"us-west-2\" } }} Cluster iam + * role is used to access s3, please make sure the cluster iam role in {@code + * instance_profile_arn} has permission to write data to the s3 destination. */ @JsonProperty("s3") private S3StorageInfo s3; @@ -69,15 +70,15 @@ public class InitScriptInfoAndExecutionDetails { private String stderr; /** - * destination needs to be provided. e.g. `{ \"volumes\" : { \"destination\" : - * \"/Volumes/my-init.sh\" } }` + * destination needs to be provided. e.g. {@code { \"volumes\" : { \"destination\" : + * \"/Volumes/my-init.sh\" } }} */ @JsonProperty("volumes") private VolumesStorageInfo volumes; /** - * destination needs to be provided, e.g. `{ "workspace": { "destination": - * "/cluster-init-scripts/setup-datadog.sh" } }` + * destination needs to be provided, e.g. {@code { "workspace": { "destination": + * "/cluster-init-scripts/setup-datadog.sh" } }} */ @JsonProperty("workspace") private WorkspaceStorageInfo workspace; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolAndStats.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolAndStats.java index ab828292d..93efbe754 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolAndStats.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolAndStats.java @@ -27,23 +27,24 @@ public class InstancePoolAndStats { /** * Additional tags for pool resources. Databricks will tag all pool resources (e.g., AWS instances - * and EBS volumes) with these tags in addition to `default_tags`. Notes: + * and EBS volumes) with these tags in addition to {@code default_tags}. Notes: * - *

- Currently, Databricks allows at most 45 custom tags + *

    + *
  • Currently, Databricks allows at most 45 custom tags + *
*/ @JsonProperty("custom_tags") private Map customTags; /** - * Tags that are added by Databricks regardless of any ``custom_tags``, including: + * Tags that are added by Databricks regardless of any {@code custom_tags}, including: * - *

- Vendor: Databricks - * - *

- InstancePoolCreator: - * - *

- InstancePoolName: - * - *

- InstancePoolId: + *

    + *
  • Vendor: Databricks + *
  • InstancePoolCreator: <user_id_of_creator> + *
  • InstancePoolName: <name_of_pool> + *
  • InstancePoolId: <id_of_pool> + *
*/ @JsonProperty("default_tags") private Map defaultTags; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolAwsAttributes.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolAwsAttributes.java index 6e7b6041b..1933e86a5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolAwsAttributes.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolAwsAttributes.java @@ -30,9 +30,9 @@ public class InstancePoolAwsAttributes { /** * Calculates the bid price for AWS spot instances, as a percentage of the corresponding instance * type's on-demand price. For example, if this field is set to 50, and the cluster needs a new - * `r3.xlarge` spot instance, then the bid price is half of the price of on-demand `r3.xlarge` - * instances. Similarly, if this field is set to 200, the bid price is twice the price of - * on-demand `r3.xlarge` instances. If not specified, the default value is 100. When spot + * {@code r3.xlarge} spot instance, then the bid price is half of the price of on-demand {@code + * r3.xlarge} instances. Similarly, if this field is set to 200, the bid price is twice the price + * of on-demand {@code r3.xlarge} instances. If not specified, the default value is 100. When spot * instances are requested for this cluster, only spot instances whose bid price percentage * matches this field will be considered. Note that, for safety, we enforce this field to be no * more than 10000. @@ -46,7 +46,7 @@ public class InstancePoolAwsAttributes { * the Databricks deployment. For example, "us-west-2a" is not a valid zone id if the Databricks * deployment resides in the "us-east-1" region. This is an optional field at cluster creation, * and if not specified, a default zone will be used. The list of available zones as well as the - * default value can be found by using the `List Zones` method. + * default value can be found by using the {@code List Zones} method. */ @JsonProperty("zone_id") private String zoneId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolGcpAttributes.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolGcpAttributes.java index 774dcaf5a..a9a5b1cef 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolGcpAttributes.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolGcpAttributes.java @@ -16,11 +16,9 @@ public class InstancePoolGcpAttributes { /** * If provided, each node in the instance pool will have this number of local SSDs attached. Each - * local SSD is 375GB in size. Refer to [GCP documentation] for the supported number of local SSDs - * for each instance type. - * - *

[GCP documentation]: - * https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds + * local SSD is 375GB in size. Refer to GCP + * documentation for the supported number of local SSDs for each instance type. */ @JsonProperty("local_ssd_count") private Long localSsdCount; @@ -32,10 +30,14 @@ public class InstancePoolGcpAttributes { * workspace resides in the "us-east1" region. This is an optional field at instance pool * creation, and if not specified, a default zone will be used. * - *

This field can be one of the following: - "HA" => High availability, spread nodes across - * availability zones for a Databricks deployment region - A GCP availability zone => Pick One of - * the available zones for (machine type + region) from - * https://cloud.google.com/compute/docs/regions-zones (e.g. "us-west1-a"). + *

This field can be one of the following: + * + *

    + *
  • "HA" => High availability, spread nodes across availability zones for a Databricks + * deployment region + *
  • A GCP availability zone => Pick One of the available zones for (machine type + region) + * from https://cloud.google.com/compute/docs/regions-zones (e.g. "us-west1-a"). + *
* *

If empty, Databricks picks an availability zone to schedule the cluster on. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolState.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolState.java index b89994ca2..b6b9f6da6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolState.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstancePoolState.java @@ -7,8 +7,12 @@ /** * The state of a Cluster. The current allowable state transitions are as follows: * - *

- ``ACTIVE`` -> ``STOPPED`` - ``ACTIVE`` -> ``DELETED`` - ``STOPPED`` -> ``ACTIVE`` - - * ``STOPPED`` -> ``DELETED`` + *

    + *
  • {@code ACTIVE} -> {@code STOPPED} + *
  • {@code ACTIVE} -> {@code DELETED} + *
  • {@code STOPPED} -> {@code ACTIVE} + *
  • {@code STOPPED} -> {@code DELETED} + *
*/ @Generated public enum InstancePoolState { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfile.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfile.java index 4c2efe75b..fd3ed128e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfile.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfile.java @@ -12,11 +12,10 @@ public class InstanceProfile { /** * The AWS IAM role ARN of the role associated with the instance profile. This field is required * if your role name and instance profile name do not match and you want to use the instance - * profile with [Databricks SQL Serverless]. + * profile with Databricks SQL + * Serverless. * *

Otherwise, this field is optional. - * - *

[Databricks SQL Serverless]: https://docs.databricks.com/sql/admin/serverless.html */ @JsonProperty("iam_role_arn") private String iamRoleArn; @@ -29,7 +28,7 @@ public class InstanceProfile { * Boolean flag indicating whether the instance profile should only be used in credential * passthrough scenarios. If true, it means the instance profile contains an meta IAM role which * could assume a wide range of roles. Therefore it should always be used with authorization. This - * field is optional, the default value is `false`. + * field is optional, the default value is {@code false}. */ @JsonProperty("is_meta_instance_profile") private Boolean isMetaInstanceProfile; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfilesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfilesAPI.java index f6582bbba..b37e8e049 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfilesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfilesAPI.java @@ -9,11 +9,9 @@ /** * The Instance Profiles API allows admins to add, list, and remove instance profiles that users can - * launch clusters with. Regular users can list the instance profiles available to them. See [Secure - * access to S3 buckets] using instance profiles for more information. - * - *

[Secure access to S3 buckets]: - * https://docs.databricks.com/administration-guide/cloud-configurations/aws/instance-profiles.html + * launch clusters with. Regular users can list the instance profiles available to them. See Secure + * access to S3 buckets using instance profiles for more information. */ @Generated public class InstanceProfilesAPI { @@ -45,16 +43,19 @@ public void add(AddInstanceProfile request) { * The only supported field to change is the optional IAM role ARN associated with the instance * profile. It is required to specify the IAM role ARN if both of the following are true: * - *

* Your role name and instance profile name do not match. The name is the part after the last - * slash in each ARN. * You want to use the instance profile with [Databricks SQL Serverless]. + *

    + *
  • Your role name and instance profile name do not match. The name is the part after the + * last slash in each ARN. + *
  • You want to use the instance profile with Databricks SQL + * Serverless. + *
* - *

To understand where these fields are in the AWS console, see [Enable serverless SQL - * warehouses]. + *

To understand where these fields are in the AWS console, see Enable serverless SQL + * warehouses. * *

This API is only available to admin users. - * - *

[Databricks SQL Serverless]: https://docs.databricks.com/sql/admin/serverless.html [Enable - * serverless SQL warehouses]: https://docs.databricks.com/sql/admin/serverless.html */ public void edit(InstanceProfile request) { impl.edit(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfilesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfilesService.java index e5b4d304f..872cb9b8b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfilesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/InstanceProfilesService.java @@ -5,11 +5,9 @@ /** * The Instance Profiles API allows admins to add, list, and remove instance profiles that users can - * launch clusters with. Regular users can list the instance profiles available to them. See [Secure - * access to S3 buckets] using instance profiles for more information. - * - *

[Secure access to S3 buckets]: - * https://docs.databricks.com/administration-guide/cloud-configurations/aws/instance-profiles.html + * launch clusters with. Regular users can list the instance profiles available to them. See Secure + * access to S3 buckets using instance profiles for more information. * *

This is the high-level interface, that contains generated methods. * @@ -29,16 +27,19 @@ public interface InstanceProfilesService { * The only supported field to change is the optional IAM role ARN associated with the instance * profile. It is required to specify the IAM role ARN if both of the following are true: * - *

* Your role name and instance profile name do not match. The name is the part after the last - * slash in each ARN. * You want to use the instance profile with [Databricks SQL Serverless]. + *

    + *
  • Your role name and instance profile name do not match. The name is the part after the + * last slash in each ARN. + *
  • You want to use the instance profile with Databricks SQL + * Serverless. + *
* - *

To understand where these fields are in the AWS console, see [Enable serverless SQL - * warehouses]. + *

To understand where these fields are in the AWS console, see Enable serverless SQL + * warehouses. * *

This API is only available to admin users. - * - *

[Databricks SQL Serverless]: https://docs.databricks.com/sql/admin/serverless.html [Enable - * serverless SQL warehouses]: https://docs.databricks.com/sql/admin/serverless.html */ void edit(InstanceProfile instanceProfile); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Kind.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Kind.java index ce7ff97e2..0d61fcac6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Kind.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Kind.java @@ -7,15 +7,18 @@ /** * The kind of compute described by this compute specification. * - *

Depending on `kind`, different validations and default values will be applied. + *

Depending on {@code kind}, different validations and default values will be applied. * - *

Clusters with `kind = CLASSIC_PREVIEW` support the following fields, whereas clusters with no - * specified `kind` do not. * [is_single_node](/api/workspace/clusters/create#is_single_node) * - * [use_ml_runtime](/api/workspace/clusters/create#use_ml_runtime) + *

Clusters with {@code kind = CLASSIC_PREVIEW} support the following fields, whereas clusters + * with no specified {@code kind} do not. * - *

By using the [simple form], your clusters are automatically using `kind = CLASSIC_PREVIEW`. + *

* - *

[simple form]: https://docs.databricks.com/compute/simple-form.html + *

By using the simple form, + * your clusters are automatically using {@code kind = CLASSIC_PREVIEW}. */ @Generated public enum Kind { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LibrariesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LibrariesAPI.java index 488e06abb..5087f70b5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LibrariesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LibrariesAPI.java @@ -58,10 +58,14 @@ public Iterable clusterStatus(String clusterId) { /** * Get the status of libraries on a cluster. A status is returned for all libraries installed on - * this cluster via the API or the libraries UI. The order of returned libraries is as follows: 1. - * Libraries set to be installed on this cluster, in the order that the libraries were added to - * the cluster, are returned first. 2. Libraries that were previously requested to be installed on - * this cluster or, but are now marked for removal, in no particular order, are returned last. + * this cluster via the API or the libraries UI. The order of returned libraries is as follows: + * + *

    + *
  1. Libraries set to be installed on this cluster, in the order that the libraries were added + * to the cluster, are returned first. + *
  2. Libraries that were previously requested to be installed on this cluster or, but are now + * marked for removal, in no particular order, are returned last. + *
*/ public Iterable clusterStatus(ClusterStatus request) { return Paginator.newOffsetPagination( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LibrariesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LibrariesService.java index 5ccaf55cb..53a5cf77a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LibrariesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LibrariesService.java @@ -34,10 +34,14 @@ public interface LibrariesService { /** * Get the status of libraries on a cluster. A status is returned for all libraries installed on - * this cluster via the API or the libraries UI. The order of returned libraries is as follows: 1. - * Libraries set to be installed on this cluster, in the order that the libraries were added to - * the cluster, are returned first. 2. Libraries that were previously requested to be installed on - * this cluster or, but are now marked for removal, in no particular order, are returned last. + * this cluster via the API or the libraries UI. The order of returned libraries is as follows: + * + *
    + *
  1. Libraries set to be installed on this cluster, in the order that the libraries were added + * to the cluster, are returned first. + *
  2. Libraries that were previously requested to be installed on this cluster or, but are now + * marked for removal, in no particular order, are returned last. + *
*/ ClusterLibraryStatuses clusterStatus(ClusterStatus clusterStatus); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Library.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Library.java index f1be94bae..ad8535028 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Library.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Library.java @@ -22,39 +22,43 @@ public class Library { /** * URI of the JAR library to install. Supported URIs include Workspace paths, Unity Catalog - * Volumes paths, and S3 URIs. For example: `{ "jar": "/Workspace/path/to/library.jar" }`, `{ - * "jar" : "/Volumes/path/to/library.jar" }` or `{ "jar": "s3://my-bucket/library.jar" }`. If S3 - * is used, please make sure the cluster has read access on the library. You may need to launch - * the cluster with an IAM role to access the S3 URI. + * Volumes paths, and S3 URIs. For example: {@code { "jar": "/Workspace/path/to/library.jar" }}, + * {@code { "jar" : "/Volumes/path/to/library.jar" }} or {@code { "jar": + * "s3://my-bucket/library.jar" }}. If S3 is used, please make sure the cluster has read access on + * the library. You may need to launch the cluster with an IAM role to access the S3 URI. */ @JsonProperty("jar") private String jar; /** - * Specification of a maven library to be installed. For example: `{ "coordinates": - * "org.jsoup:jsoup:1.7.2" }` + * Specification of a maven library to be installed. For example: {@code { "coordinates": + * "org.jsoup:jsoup:1.7.2" }} */ @JsonProperty("maven") private MavenLibrary maven; - /** Specification of a PyPi library to be installed. For example: `{ "package": "simplejson" }` */ + /** + * Specification of a PyPi library to be installed. For example: {@code { "package": "simplejson" + * }} + */ @JsonProperty("pypi") private PythonPyPiLibrary pypi; /** * URI of the requirements.txt file to install. Only Workspace paths and Unity Catalog Volumes - * paths are supported. For example: `{ "requirements": "/Workspace/path/to/requirements.txt" }` - * or `{ "requirements" : "/Volumes/path/to/requirements.txt" }` + * paths are supported. For example: {@code { "requirements": + * "/Workspace/path/to/requirements.txt" }} or {@code { "requirements" : + * "/Volumes/path/to/requirements.txt" }} */ @JsonProperty("requirements") private String requirements; /** * URI of the wheel library to install. Supported URIs include Workspace paths, Unity Catalog - * Volumes paths, and S3 URIs. For example: `{ "whl": "/Workspace/path/to/library.whl" }`, `{ - * "whl" : "/Volumes/path/to/library.whl" }` or `{ "whl": "s3://my-bucket/library.whl" }`. If S3 - * is used, please make sure the cluster has read access on the library. You may need to launch - * the cluster with an IAM role to access the S3 URI. + * Volumes paths, and S3 URIs. For example: {@code { "whl": "/Workspace/path/to/library.whl" }}, + * {@code { "whl" : "/Volumes/path/to/library.whl" }} or {@code { "whl": + * "s3://my-bucket/library.whl" }}. If S3 is used, please make sure the cluster has read access on + * the library. You may need to launch the cluster with an IAM role to access the S3 URI. */ @JsonProperty("whl") private String whl; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListAvailableZonesResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListAvailableZonesResponse.java index aa7b0a6dd..687cac78e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListAvailableZonesResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListAvailableZonesResponse.java @@ -10,7 +10,7 @@ @Generated public class ListAvailableZonesResponse { - /** The availability zone if no ``zone_id`` is provided in the cluster creation request. */ + /** The availability zone if no {@code zone_id} is provided in the cluster creation request. */ @JsonProperty("default_zone") private String defaultZone; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClusterCompliancesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClusterCompliancesRequest.java index 33e7f38f8..dac9f7dfc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClusterCompliancesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClusterCompliancesRequest.java @@ -20,7 +20,7 @@ public class ListClusterCompliancesRequest { /** * A page token that can be used to navigate to the next page or previous page as returned by - * `next_page_token` or `prev_page_token`. + * {@code next_page_token} or {@code prev_page_token}. */ @JsonIgnore @QueryParam("page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClusterPoliciesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClusterPoliciesRequest.java index ee797f3c2..41eb45d1e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClusterPoliciesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ListClusterPoliciesRequest.java @@ -11,16 +11,24 @@ @Generated public class ListClusterPoliciesRequest { /** - * The cluster policy attribute to sort by. * `POLICY_CREATION_TIME` - Sort result list by policy - * creation time. * `POLICY_NAME` - Sort result list by policy name. + * The cluster policy attribute to sort by. + * + *
    + *
  • {@code POLICY_CREATION_TIME} - Sort result list by policy creation time. + *
  • {@code POLICY_NAME} - Sort result list by policy name. + *
*/ @JsonIgnore @QueryParam("sort_column") private ListSortColumn sortColumn; /** - * The order in which the policies get listed. * `DESC` - Sort result list in descending order. * - * `ASC` - Sort result list in ascending order. + * The order in which the policies get listed. + * + *
    + *
  • {@code DESC} - Sort result list in descending order. + *
  • {@code ASC} - Sort result list in ascending order. + *
*/ @JsonIgnore @QueryParam("sort_order") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LocalFileInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LocalFileInfo.java index 1e5531b5f..f44c317ba 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LocalFileInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LocalFileInfo.java @@ -9,7 +9,7 @@ @Generated public class LocalFileInfo { - /** local file destination, e.g. `file:/my/local/file.sh` */ + /** local file destination, e.g. {@code file:/my/local/file.sh} */ @JsonProperty("destination") private String destination; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LogSyncStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LogSyncStatus.java index 9bd528bc4..cd31c3f8b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LogSyncStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/LogSyncStatus.java @@ -11,8 +11,8 @@ @Generated public class LogSyncStatus { /** - * The timestamp of last attempt. If the last attempt fails, `last_exception` will contain the - * exception in the last attempt. + * The timestamp of last attempt. If the last attempt fails, {@code last_exception} will contain + * the exception in the last attempt. */ @JsonProperty("last_attempted") private Long lastAttempted; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/MavenLibrary.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/MavenLibrary.java index a33b0e227..b98721e6f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/MavenLibrary.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/MavenLibrary.java @@ -15,7 +15,7 @@ public class MavenLibrary { private String coordinates; /** - * List of dependences to exclude. For example: `["slf4j:slf4j", "*:hadoop-client"]`. + * List of dependences to exclude. For example: {@code ["slf4j:slf4j", "*:hadoop-client"]}. * *

Maven dependency exclusions: * https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Policy.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Policy.java index e81025059..5dd5a7c73 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Policy.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Policy.java @@ -23,10 +23,9 @@ public class Policy { private String creatorUserName; /** - * Policy definition document expressed in [Databricks Cluster Policy Definition Language]. - * - *

[Databricks Cluster Policy Definition Language]: - * https://docs.databricks.com/administration-guide/clusters/policy-definition.html + * Policy definition document expressed in Databricks + * Cluster Policy Definition Language. */ @JsonProperty("definition") private String definition; @@ -64,14 +63,13 @@ public class Policy { private String name; /** - * Policy definition JSON document expressed in [Databricks Policy Definition Language]. The JSON - * document must be passed as a string and cannot be embedded in the requests. + * Policy definition JSON document expressed in Databricks + * Policy Definition Language. The JSON document must be passed as a string and cannot be + * embedded in the requests. * *

You can use this to customize the policy definition inherited from the policy family. Policy * rules specified here are merged into the inherited policy definition. - * - *

[Databricks Policy Definition Language]: - * https://docs.databricks.com/administration-guide/clusters/policy-definition.html */ @JsonProperty("policy_family_definition_overrides") private String policyFamilyDefinitionOverrides; @@ -80,8 +78,8 @@ public class Policy { * ID of the policy family. The cluster policy's policy definition inherits the policy family's * policy definition. * - *

Cannot be used with `definition`. Use `policy_family_definition_overrides` instead to - * customize the policy definition. + *

Cannot be used with {@code definition}. Use {@code policy_family_definition_overrides} + * instead to customize the policy definition. */ @JsonProperty("policy_family_id") private String policyFamilyId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyComplianceForClustersAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyComplianceForClustersAPI.java index 9933b1997..a9ad20963 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyComplianceForClustersAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyComplianceForClustersAPI.java @@ -37,13 +37,13 @@ public PolicyComplianceForClustersAPI(PolicyComplianceForClustersService mock) { /** * Updates a cluster to be compliant with the current version of its policy. A cluster can be - * updated if it is in a `RUNNING` or `TERMINATED` state. + * updated if it is in a {@code RUNNING} or {@code TERMINATED} state. * - *

If a cluster is updated while in a `RUNNING` state, it will be restarted so that the new - * attributes can take effect. + *

If a cluster is updated while in a {@code RUNNING} state, it will be restarted so that the + * new attributes can take effect. * - *

If a cluster is updated while in a `TERMINATED` state, it will remain `TERMINATED`. The next - * time the cluster is started, the new attributes will take effect. + *

If a cluster is updated while in a {@code TERMINATED} state, it will remain {@code + * TERMINATED}. The next time the cluster is started, the new attributes will take effect. * *

Clusters created by the Databricks Jobs, SDP, or Models services cannot be enforced by this * API. Instead, use the "Enforce job policy compliance" API to enforce policy compliance on jobs. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyComplianceForClustersService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyComplianceForClustersService.java index cd613370b..7e3752c92 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyComplianceForClustersService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyComplianceForClustersService.java @@ -23,13 +23,13 @@ public interface PolicyComplianceForClustersService { /** * Updates a cluster to be compliant with the current version of its policy. A cluster can be - * updated if it is in a `RUNNING` or `TERMINATED` state. + * updated if it is in a {@code RUNNING} or {@code TERMINATED} state. * - *

If a cluster is updated while in a `RUNNING` state, it will be restarted so that the new - * attributes can take effect. + *

If a cluster is updated while in a {@code RUNNING} state, it will be restarted so that the + * new attributes can take effect. * - *

If a cluster is updated while in a `TERMINATED` state, it will remain `TERMINATED`. The next - * time the cluster is started, the new attributes will take effect. + *

If a cluster is updated while in a {@code TERMINATED} state, it will remain {@code + * TERMINATED}. The next time the cluster is started, the new attributes will take effect. * *

Clusters created by the Databricks Jobs, SDP, or Models services cannot be enforced by this * API. Instead, use the "Enforce job policy compliance" API to enforce policy compliance on jobs. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyFamily.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyFamily.java index 8b1cc84cb..53c236916 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyFamily.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/PolicyFamily.java @@ -10,10 +10,9 @@ @Generated public class PolicyFamily { /** - * Policy definition document expressed in [Databricks Cluster Policy Definition Language]. - * - *

[Databricks Cluster Policy Definition Language]: - * https://docs.databricks.com/administration-guide/clusters/policy-definition.html + * Policy definition document expressed in Databricks + * Cluster Policy Definition Language. */ @JsonProperty("definition") private String definition; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ResizeCluster.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ResizeCluster.java index 5af6421b9..63f37bf3d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ResizeCluster.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/ResizeCluster.java @@ -21,14 +21,14 @@ public class ResizeCluster { private String clusterId; /** - * Number of worker nodes that this cluster should have. A cluster has one Spark Driver and - * `num_workers` Executors for a total of `num_workers` + 1 Spark nodes. + * Number of worker nodes that this cluster should have. A cluster has one Spark Driver and {@code + * num_workers} Executors for a total of {@code num_workers} + 1 Spark nodes. * *

Note: When reading the properties of a cluster, this field reflects the desired number of * workers rather than the actual current number of workers. For instance, if a cluster is resized * from 5 to 10 workers, this field will immediately be updated to reflect the target size of 10 - * workers, whereas the workers listed in `spark_info` will gradually increase from 5 to 10 as the - * new nodes are provisioned. + * workers, whereas the workers listed in {@code spark_info} will gradually increase from 5 to 10 + * as the new nodes are provisioned. */ @JsonProperty("num_workers") private Long numWorkers; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Results.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Results.java index 4ea0454c8..282399cdd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Results.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/Results.java @@ -22,11 +22,13 @@ public class Results { /** * The image data in one of the following formats: * - *

1. A Data URL with base64-encoded image data: `data:image/{type};base64,{base64-data}`. - * Example: `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA...` - * - *

2. A FileStore file path for large images: `/plots/{filename}.png`. Example: - * `/plots/b6a7ad70-fb2c-4353-8aed-3f1e015174a4.png` + *

    + *
  1. A Data URL with base64-encoded image data: {@code + * data:image/{type};base64,{base64-data}}. Example: {@code + * data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA...} + *
  2. A FileStore file path for large images: {@code /plots/{filename}.png}. Example: {@code + * /plots/b6a7ad70-fb2c-4353-8aed-3f1e015174a4.png} + *
*/ @JsonProperty("fileName") private String fileName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/S3StorageInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/S3StorageInfo.java index de453f1ca..0f2950701 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/S3StorageInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/S3StorageInfo.java @@ -11,52 +11,52 @@ @Generated public class S3StorageInfo { /** - * (Optional) Set canned access control list for the logs, e.g. `bucket-owner-full-control`. If - * `canned_cal` is set, please make sure the cluster iam role has `s3:PutObjectAcl` permission on - * the destination bucket and prefix. The full list of possible canned acl can be found at - * http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl. Please also note - * that by default only the object owner gets full controls. If you are using cross account role - * for writing data, you may want to set `bucket-owner-full-control` to make bucket owner able to - * read the logs. + * (Optional) Set canned access control list for the logs, e.g. {@code bucket-owner-full-control}. + * If {@code canned_cal} is set, please make sure the cluster iam role has {@code s3:PutObjectAcl} + * permission on the destination bucket and prefix. The full list of possible canned acl can be + * found at http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl. Please + * also note that by default only the object owner gets full controls. If you are using cross + * account role for writing data, you may want to set {@code bucket-owner-full-control} to make + * bucket owner able to read the logs. */ @JsonProperty("canned_acl") private String cannedAcl; /** - * S3 destination, e.g. `s3://my-bucket/some-prefix` Note that logs will be delivered using + * S3 destination, e.g. {@code s3://my-bucket/some-prefix} Note that logs will be delivered using * cluster iam role, please make sure you set cluster iam role and the role has write access to * the destination. Please also note that you cannot use AWS keys to deliver logs. */ @JsonProperty("destination") private String destination; - /** (Optional) Flag to enable server side encryption, `false` by default. */ + /** (Optional) Flag to enable server side encryption, {@code false} by default. */ @JsonProperty("enable_encryption") private Boolean enableEncryption; /** - * (Optional) The encryption type, it could be `sse-s3` or `sse-kms`. It will be used only when - * encryption is enabled and the default type is `sse-s3`. + * (Optional) The encryption type, it could be {@code sse-s3} or {@code sse-kms}. It will be used + * only when encryption is enabled and the default type is {@code sse-s3}. */ @JsonProperty("encryption_type") private String encryptionType; /** - * S3 endpoint, e.g. `https://s3-us-west-2.amazonaws.com`. Either region or endpoint needs to be - * set. If both are set, endpoint will be used. + * S3 endpoint, e.g. {@code https://s3-us-west-2.amazonaws.com}. Either region or endpoint needs + * to be set. If both are set, endpoint will be used. */ @JsonProperty("endpoint") private String endpoint; /** * (Optional) Kms key which will be used if encryption is enabled and encryption type is set to - * `sse-kms`. + * {@code sse-kms}. */ @JsonProperty("kms_key") private String kmsKey; /** - * S3 region, e.g. `us-west-2`. Either region or endpoint needs to be set. If both are set, + * S3 region, e.g. {@code us-west-2}. Either region or endpoint needs to be set. If both are set, * endpoint will be used. */ @JsonProperty("region") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/State.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/State.java index a7714ef95..423f6d04d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/State.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/State.java @@ -7,10 +7,18 @@ /** * The state of a Cluster. The current allowable state transitions are as follows: * - *

- `PENDING` -> `RUNNING` - `PENDING` -> `TERMINATING` - `RUNNING` -> `RESIZING` - `RUNNING` -> - * `RESTARTING` - `RUNNING` -> `TERMINATING` - `RESTARTING` -> `RUNNING` - `RESTARTING` -> - * `TERMINATING` - `RESIZING` -> `RUNNING` - `RESIZING` -> `TERMINATING` - `TERMINATING` -> - * `TERMINATED` + *

    + *
  • {@code PENDING} -> {@code RUNNING} + *
  • {@code PENDING} -> {@code TERMINATING} + *
  • {@code RUNNING} -> {@code RESIZING} + *
  • {@code RUNNING} -> {@code RESTARTING} + *
  • {@code RUNNING} -> {@code TERMINATING} + *
  • {@code RESTARTING} -> {@code RUNNING} + *
  • {@code RESTARTING} -> {@code TERMINATING} + *
  • {@code RESIZING} -> {@code RUNNING} + *
  • {@code RESIZING} -> {@code TERMINATING} + *
  • {@code TERMINATING} -> {@code TERMINATED} + *
*/ @Generated public enum State { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/UpdateCluster.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/UpdateCluster.java index 9d4ea8132..3436d9bc8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/UpdateCluster.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/UpdateCluster.java @@ -22,14 +22,14 @@ public class UpdateCluster { * https://google.aip.dev/161 for more details. * *

The field mask must be a single string, with multiple fields separated by commas (no - * spaces). The field path is relative to the resource object, using a dot (`.`) to navigate - * sub-fields (e.g., `author.given_name`). Specification of elements in sequence or map fields is - * not allowed, as only the entire collection field can be specified. Field names must exactly - * match the resource field names. + * spaces). The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("update_mask") private String updateMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/UpdateClusterResource.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/UpdateClusterResource.java index a981f6779..05549dcbb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/UpdateClusterResource.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/UpdateClusterResource.java @@ -45,8 +45,8 @@ public class UpdateClusterResource { * The configuration for delivering spark logs to a long-term storage destination. Three kinds of * destinations (DBFS, S3 and Unity Catalog volumes) are supported. Only one destination can be * specified for one cluster. If the conf is given, the logs will be delivered to the destination - * every `5 mins`. The destination of driver logs is `$destination/$clusterId/driver`, while the - * destination of executor logs is `$destination/$clusterId/executor`. + * every {@code 5 mins}. The destination of driver logs is {@code $destination/$clusterId/driver}, + * while the destination of executor logs is {@code $destination/$clusterId/executor}. */ @JsonProperty("cluster_log_conf") private ClusterLogConf clusterLogConf; @@ -61,12 +61,13 @@ public class UpdateClusterResource { /** * Additional tags for cluster resources. Databricks will tag all cluster resources (e.g., AWS - * instances and EBS volumes) with these tags in addition to `default_tags`. Notes: + * instances and EBS volumes) with these tags in addition to {@code default_tags}. Notes: * - *

- Currently, Databricks allows at most 45 custom tags - * - *

- Clusters can only reuse cloud resources if the resources' tags are a subset of the cluster - * tags + *

    + *
  • Currently, Databricks allows at most 45 custom tags + *
  • Clusters can only reuse cloud resources if the resources' tags are a subset of the + * cluster tags + *
*/ @JsonProperty("custom_tags") private Map customTags; @@ -92,7 +93,7 @@ public class UpdateClusterResource { /** * The node type of the Spark driver. Note that this field is optional; if unset, the driver node - * type will be set as the same value as `node_type_id` defined above. + * type will be set as the same value as {@code node_type_id} defined above. * *

This field, along with node_type_id, should not be set if virtual_cluster_size is set. If * both driver_node_type_id, node_type_id, and virtual_cluster_size are specified, @@ -121,8 +122,8 @@ public class UpdateClusterResource { /** * The configuration for storing init scripts. Any number of destinations can be specified. The - * scripts are executed sequentially in the order provided. If `cluster_log_conf` is specified, - * init script logs are sent to `//init_scripts`. + * scripts are executed sequentially in the order provided. If {@code cluster_log_conf} is + * specified, init script logs are sent to {@code //init_scripts}. */ @JsonProperty("init_scripts") private Collection initScripts; @@ -132,10 +133,10 @@ public class UpdateClusterResource { private String instancePoolId; /** - * This field can only be used when `kind = CLASSIC_PREVIEW`. + * This field can only be used when {@code kind = CLASSIC_PREVIEW}. * - *

When set to true, Databricks will automatically set single node related `custom_tags`, - * `spark_conf`, and `num_workers` + *

When set to true, Databricks will automatically set single node related {@code custom_tags}, + * {@code spark_conf}, and {@code num_workers} */ @JsonProperty("is_single_node") private Boolean isSingleNode; @@ -154,14 +155,14 @@ public class UpdateClusterResource { private String nodeTypeId; /** - * Number of worker nodes that this cluster should have. A cluster has one Spark Driver and - * `num_workers` Executors for a total of `num_workers` + 1 Spark nodes. + * Number of worker nodes that this cluster should have. A cluster has one Spark Driver and {@code + * num_workers} Executors for a total of {@code num_workers} + 1 Spark nodes. * *

Note: When reading the properties of a cluster, this field reflects the desired number of * workers rather than the actual current number of workers. For instance, if a cluster is resized * from 5 to 10 workers, this field will immediately be updated to reflect the target size of 10 - * workers, whereas the workers listed in `spark_info` will gradually increase from 5 to 10 as the - * new nodes are provisioned. + * workers, whereas the workers listed in {@code spark_info} will gradually increase from 5 to 10 + * as the new nodes are provisioned. */ @JsonProperty("num_workers") private Long numWorkers; @@ -180,8 +181,9 @@ public class UpdateClusterResource { /** * Determines the cluster's runtime engine, either standard or Photon. * - *

This field is not compatible with legacy `spark_version` values that contain `-photon-`. - * Remove `-photon-` from the `spark_version` and set `runtime_engine` to `PHOTON`. + *

This field is not compatible with legacy {@code spark_version} values that contain {@code + * -photon-}. Remove {@code -photon-} from the {@code spark_version} and set {@code + * runtime_engine} to {@code PHOTON}. * *

If left unspecified, the runtime engine defaults to standard unless the spark_version * contains -photon-, in which case Photon will be used. @@ -189,45 +191,45 @@ public class UpdateClusterResource { @JsonProperty("runtime_engine") private RuntimeEngine runtimeEngine; - /** Single user name if data_security_mode is `SINGLE_USER` */ + /** Single user name if data_security_mode is {@code SINGLE_USER} */ @JsonProperty("single_user_name") private String singleUserName; /** * An object containing a set of optional, user-specified Spark configuration key-value pairs. - * Users can also pass in a string of extra JVM options to the driver and the executors via - * `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` respectively. + * Users can also pass in a string of extra JVM options to the driver and the executors via {@code + * spark.driver.extraJavaOptions} and {@code spark.executor.extraJavaOptions} respectively. */ @JsonProperty("spark_conf") private Map sparkConf; /** * An object containing a set of optional, user-specified environment variable key-value pairs. - * Please note that key-value pair of the form (X,Y) will be exported as is (i.e., `export X='Y'`) - * while launching the driver and workers. + * Please note that key-value pair of the form (X,Y) will be exported as is (i.e., {@code export + * X='Y'}) while launching the driver and workers. * - *

In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we recommend appending - * them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the example below. This ensures that all default - * databricks managed environmental variables are included as well. + *

In order to specify an additional set of {@code SPARK_DAEMON_JAVA_OPTS}, we recommend + * appending them to {@code $SPARK_DAEMON_JAVA_OPTS} as shown in the example below. This ensures + * that all default databricks managed environmental variables are included as well. * - *

Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", "SPARK_LOCAL_DIRS": - * "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": "$SPARK_DAEMON_JAVA_OPTS - * -Dspark.shuffle.service.enabled=true"}` + *

Example Spark environment variables: {@code {"SPARK_WORKER_MEMORY": "28000m", + * "SPARK_LOCAL_DIRS": "/local_disk0"}} or {@code {"SPARK_DAEMON_JAVA_OPTS": + * "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}} */ @JsonProperty("spark_env_vars") private Map sparkEnvVars; /** - * The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of available Spark versions - * can be retrieved by using the :method:clusters/sparkVersions API call. + * The Spark version of the cluster, e.g. {@code 3.3.x-scala2.11}. A list of available Spark + * versions can be retrieved by using the :method:clusters/sparkVersions API call. */ @JsonProperty("spark_version") private String sparkVersion; /** * SSH public key contents that will be added to each Spark node in this cluster. The - * corresponding private keys can be used to login with the user name `ubuntu` on port `2200`. Up - * to 10 keys can be specified. + * corresponding private keys can be used to login with the user name {@code ubuntu} on port + * {@code 2200}. Up to 10 keys can be specified. */ @JsonProperty("ssh_public_keys") private Collection sshPublicKeys; @@ -240,10 +242,10 @@ public class UpdateClusterResource { private Long totalInitialRemoteDiskSize; /** - * This field can only be used when `kind = CLASSIC_PREVIEW`. + * This field can only be used when {@code kind = CLASSIC_PREVIEW}. * - *

`effective_spark_version` is determined by `spark_version` (DBR release), this field - * `use_ml_runtime`, and whether `node_type_id` is gpu node or not. + *

{@code effective_spark_version} is determined by {@code spark_version} (DBR release), this + * field {@code use_ml_runtime}, and whether {@code node_type_id} is gpu node or not. */ @JsonProperty("use_ml_runtime") private Boolean useMlRuntime; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/VolumesStorageInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/VolumesStorageInfo.java index 33bc00832..68735e6ad 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/VolumesStorageInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/VolumesStorageInfo.java @@ -11,8 +11,8 @@ @Generated public class VolumesStorageInfo { /** - * UC Volumes destination, e.g. `/Volumes/catalog/schema/vol1/init-scripts/setup-datadog.sh` or - * `dbfs:/Volumes/catalog/schema/vol1/init-scripts/setup-datadog.sh` + * UC Volumes destination, e.g. {@code /Volumes/catalog/schema/vol1/init-scripts/setup-datadog.sh} + * or {@code dbfs:/Volumes/catalog/schema/vol1/init-scripts/setup-datadog.sh} */ @JsonProperty("destination") private String destination; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/WorkspaceStorageInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/WorkspaceStorageInfo.java index 0537dbb67..0232fa25b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/WorkspaceStorageInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/WorkspaceStorageInfo.java @@ -10,7 +10,7 @@ /** A storage location in Workspace Filesystem (WSFS) */ @Generated public class WorkspaceStorageInfo { - /** wsfs destination, e.g. `workspace:/cluster-init-scripts/setup-datadog.sh` */ + /** wsfs destination, e.g. {@code workspace:/cluster-init-scripts/setup-datadog.sh} */ @JsonProperty("destination") private String destination; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/AuthorizationDetails.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/AuthorizationDetails.java index a3d94b322..f15cdbe21 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/AuthorizationDetails.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/AuthorizationDetails.java @@ -12,7 +12,7 @@ public class AuthorizationDetails { /** * Represents downscoped permission rules with specific access rights. This field is specific to - * `workspace_rule_set` constraint. + * {@code workspace_rule_set} constraint. */ @JsonProperty("grant_rules") private Collection grantRules; @@ -22,15 +22,16 @@ public class AuthorizationDetails { private String resourceLegacyAclPath; /** - * The resource name to which the authorization rule applies. This field is specific to - * `workspace_rule_set` constraint. Format: `workspaces/{workspace_id}/dashboards/{dashboard_id}` + * The resource name to which the authorization rule applies. This field is specific to {@code + * workspace_rule_set} constraint. Format: {@code + * workspaces/{workspace_id}/dashboards/{dashboard_id}} */ @JsonProperty("resource_name") private String resourceName; /** - * The type of authorization downscoping policy. Ex: `workspace_rule_set` defines access rules for - * a specific workspace resource + * The type of authorization downscoping policy. Ex: {@code workspace_rule_set} defines access + * rules for a specific workspace resource */ @JsonProperty("type") private String typeValue; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/AuthorizationDetailsGrantRule.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/AuthorizationDetailsGrantRule.java index ab39e1f8b..cc7c67e7f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/AuthorizationDetailsGrantRule.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/AuthorizationDetailsGrantRule.java @@ -11,8 +11,8 @@ public class AuthorizationDetailsGrantRule { /** * Permission sets for dashboard are defined in - * iam-common/rbac-common/permission-sets/definitions/TreeStoreBasePermissionSets Ex: - * `permissionSets/dashboard.runner` + * iam-common/rbac-common/permission-sets/definitions/TreeStoreBasePermissionSets Ex: {@code + * permissionSets/dashboard.runner} */ @JsonProperty("permission_set") private String permissionSet; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CronSchedule.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CronSchedule.java index db2332001..9f2276985 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CronSchedule.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/CronSchedule.java @@ -10,20 +10,18 @@ @Generated public class CronSchedule { /** - * A cron expression using quartz syntax. EX: `0 0 8 * * ?` represents everyday at 8am. See [Cron - * Trigger] for details. - * - *

[Cron Trigger]: - * http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html + * A cron expression using quartz syntax. EX: {@code 0 0 8 * * ?} represents everyday at 8am. See + * Cron + * Trigger for details. */ @JsonProperty("quartz_cron_expression") private String quartzCronExpression; /** - * A Java timezone id. The schedule will be resolved with respect to this timezone. See [Java - * TimeZone] for details. - * - *

[Java TimeZone]: https://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html + * A Java timezone id. The schedule will be resolved with respect to this timezone. See Java TimeZone for + * details. */ @JsonProperty("timezone_id") private String timezoneId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Dashboard.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Dashboard.java index d94cee027..a5224f8e6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Dashboard.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Dashboard.java @@ -41,18 +41,18 @@ public class Dashboard { /** * The workspace path of the dashboard asset, including the file name. Exported dashboards always - * have the file extension `.lvdash.json`. This field is excluded in List Dashboards responses. + * have the file extension {@code .lvdash.json}. This field is excluded in List Dashboards + * responses. */ @JsonProperty("path") private String path; /** * The contents of the dashboard in serialized string form. This field is excluded in List - * Dashboards responses. Use the [get dashboard API] to retrieve an example response, which - * includes the `serialized_dashboard` field. This field provides the structure of the JSON string - * that represents the dashboard's layout and components. - * - *

[get dashboard API]: https://docs.databricks.com/api/workspace/lakeview/get + * Dashboards responses. Use the get dashboard API to retrieve + * an example response, which includes the {@code serialized_dashboard} field. This field provides + * the structure of the JSON string that represents the dashboard's layout and components. */ @JsonProperty("serialized_dashboard") private String serializedDashboard; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieAPI.java index f672f229f..3a3068ca4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieAPI.java @@ -93,8 +93,8 @@ public GenieMessage waitGetMessageGenieCompleted( } /** - * Create new message in a [conversation](:method:genie/startconversation). The AI response uses - * all previously created messages in the conversation to respond. + * Create new message in a conversation. The AI + * response uses all previously created messages in the conversation to respond. */ public Wait createMessage( GenieCreateConversationMessageRequest request) { @@ -153,8 +153,8 @@ public GenieGetMessageQueryResultResponse executeMessageAttachmentQuery( } /** - * DEPRECATED: Use [Execute Message Attachment Query](:method:genie/executemessageattachmentquery) - * instead. + * DEPRECATED: Use Execute Message + * Attachment Query instead. */ public GenieGetMessageQueryResultResponse executeMessageQuery( GenieExecuteMessageQueryRequest request) { @@ -162,27 +162,29 @@ public GenieGetMessageQueryResultResponse executeMessageQuery( } /** - * Initiates a new SQL execution and returns a `download_id` and `download_id_signature` that you - * can use to track the progress of the download. The query result is stored in an external link - * and can be retrieved using the [Get Download Full Query - * Result](:method:genie/getdownloadfullqueryresult) API. Both `download_id` and - * `download_id_signature` must be provided when calling the Get endpoint. + * Initiates a new SQL execution and returns a {@code download_id} and {@code + * download_id_signature} that you can use to track the progress of the download. The query result + * is stored in an external link and can be retrieved using the Get Download Full Query Result API. Both + * {@code download_id} and {@code download_id_signature} must be provided when calling the Get + * endpoint. * - *

---- + *


* - *

### **Warning: Databricks strongly recommends that you protect the URLs that are returned by - * the `EXTERNAL_LINKS` disposition.** + *

Warning: Databricks strongly recommends that you protect the URLs that are returned by + * the {@code EXTERNAL_LINKS} disposition. * - *

When you use the `EXTERNAL_LINKS` disposition, a short-lived, URL is generated, which can be - * used to download the results directly from . As a short-lived is embedded in this URL, you - * should protect the URL. + *

When you use the {@code EXTERNAL_LINKS} disposition, a short-lived, URL is generated, which + * can be used to download the results directly from . As a short-lived is embedded in this URL, + * you should protect the URL. * - *

Because URLs are already generated with embedded temporary s, you must not set an - * `Authorization` header in the download requests. + *

Because URLs are already generated with embedded temporary s, you must not set an {@code + * Authorization} header in the download requests. * - *

See [Execute Statement](:method:statementexecution/executestatement) for more details. + *

See Execute Statement for more + * details. * - *

---- + *


*/ public GenieGenerateDownloadFullQueryResultResponse generateDownloadFullQueryResult( GenieGenerateDownloadFullQueryResultRequest request) { @@ -254,27 +256,29 @@ public GenieGetDownloadFullQueryResultResponse getDownloadFullQueryResult( } /** - * After [Generating a Full Query Result Download](:method:genie/generatedownloadfullqueryresult) - * and successfully receiving a `download_id` and `download_id_signature`, use this API to poll - * the download progress. Both `download_id` and `download_id_signature` are required to call this - * endpoint. When the download is complete, the API returns the result in the `EXTERNAL_LINKS` - * disposition, containing one or more external links to the query result files. + * After Generating a Full Query Result + * Download and successfully receiving a {@code download_id} and {@code + * download_id_signature}, use this API to poll the download progress. Both {@code download_id} + * and {@code download_id_signature} are required to call this endpoint. When the download is + * complete, the API returns the result in the {@code EXTERNAL_LINKS} disposition, containing one + * or more external links to the query result files. * - *

---- + *


* - *

### **Warning: Databricks strongly recommends that you protect the URLs that are returned by - * the `EXTERNAL_LINKS` disposition.** + *

Warning: Databricks strongly recommends that you protect the URLs that are returned by + * the {@code EXTERNAL_LINKS} disposition. * - *

When you use the `EXTERNAL_LINKS` disposition, a short-lived, URL is generated, which can be - * used to download the results directly from . As a short-lived is embedded in this URL, you - * should protect the URL. + *

When you use the {@code EXTERNAL_LINKS} disposition, a short-lived, URL is generated, which + * can be used to download the results directly from . As a short-lived is embedded in this URL, + * you should protect the URL. * - *

Because URLs are already generated with embedded temporary s, you must not set an - * `Authorization` header in the download requests. + *

Because URLs are already generated with embedded temporary s, you must not set an {@code + * Authorization} header in the download requests. * - *

See [Execute Statement](:method:statementexecution/executestatement) for more details. + *

See Execute Statement for more + * details. * - *

---- + *


*/ public GenieGetDownloadFullQueryResultResponse getDownloadFullQueryResult( GenieGetDownloadFullQueryResultRequest request) { @@ -306,7 +310,8 @@ public GenieGetMessageQueryResultResponse getMessageAttachmentQueryResult( /** * Get the result of SQL query if the message has a query attachment. This is only available if a - * message has a query attachment and the message status is `EXECUTING_QUERY` OR `COMPLETED`. + * message has a query attachment and the message status is {@code EXECUTING_QUERY} OR {@code + * COMPLETED}. */ public GenieGetMessageQueryResultResponse getMessageAttachmentQueryResult( GenieGetMessageAttachmentQueryResultRequest request) { @@ -323,8 +328,8 @@ public GenieGetMessageQueryResultResponse getMessageQueryResult( } /** - * DEPRECATED: Use [Get Message Attachment Query - * Result](:method:genie/getmessageattachmentqueryresult) instead. + * DEPRECATED: Use Get Message Attachment + * Query Result instead. */ public GenieGetMessageQueryResultResponse getMessageQueryResult( GenieGetMessageQueryResultRequest request) { @@ -342,8 +347,8 @@ public GenieGetMessageQueryResultResponse getMessageQueryResultByAttachment( } /** - * DEPRECATED: Use [Get Message Attachment Query - * Result](:method:genie/getmessageattachmentqueryresult) instead. + * DEPRECATED: Use Get Message Attachment + * Query Result instead. */ public GenieGetMessageQueryResultResponse getMessageQueryResultByAttachment( GenieGetQueryResultByAttachmentRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieCreateSpaceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieCreateSpaceRequest.java index bbd5e11b6..98eaf7265 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieCreateSpaceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieCreateSpaceRequest.java @@ -18,10 +18,10 @@ public class GenieCreateSpaceRequest { private String parentPath; /** - * The contents of the Genie Space in serialized string form. Use the [Get Genie - * Space](:method:genie/getspace) API to retrieve an example response, which includes the - * `serialized_space` field. This field provides the structure of the JSON string that represents - * the space's layout and components. + * The contents of the Genie Space in serialized string form. Use the Get Genie Space API to retrieve an example response, which + * includes the {@code serialized_space} field. This field provides the structure of the JSON + * string that represents the space's layout and components. */ @JsonProperty("serialized_space") private String serializedSpace; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieEvalResultDetails.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieEvalResultDetails.java index df49b4607..6eb0b5ee3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieEvalResultDetails.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieEvalResultDetails.java @@ -24,43 +24,61 @@ public class GenieEvalResultDetails { * *

Assessment reasons describe why a Genie response was scored as BAD. * - *

Deterministic values (compared against the ground truth result): - EMPTY_RESULT: Genie's - * generated SQL results were empty for this benchmark question. - RESULT_MISSING_ROWS: Genie's - * generated SQL response is missing rows from the provided ground truth SQL. - RESULT_EXTRA_ROWS: - * Genie's generated SQL response has more rows than the provided ground truth SQL. - - * RESULT_MISSING_COLUMNS: Genie's generated SQL response is missing columns from the provided - * ground truth SQL. - RESULT_EXTRA_COLUMNS: Genie's generated SQL response has more columns than - * the provided ground truth SQL. - SINGLE_CELL_DIFFERENCE: Single value result was produced but - * differs from ground truth result. - EMPTY_GOOD_SQL: The benchmark SQL returned an empty result. - * - COLUMN_TYPE_DIFFERENCE: The values between the results match but the column type is - * different. + *

Deterministic values (compared against the ground truth result): * - *

LLM judge ratings explain the factors driving BAD results: - - * LLM_JUDGE_MISSING_OR_INCORRECT_FILTER: Genie's generated SQL is missing a WHERE clause - * condition or has incorrect filter logic that excludes/includes wrong data. - - * LLM_JUDGE_INCOMPLETE_OR_PARTIAL_OUTPUT: Genie's generated SQL returns only some of the - * requested data or columns, missing parts of what the ground truth SQL returns. - - * LLM_JUDGE_MISINTERPRETATION_OF_USER_REQUEST: Genie's generated SQL fundamentally misunderstands - * what the user is asking for, addressing the wrong question or goal. - - * LLM_JUDGE_INSTRUCTION_COMPLIANCE_OR_MISSING_BUSINESS_LOGIC: Genie's generated SQL fails to - * apply specified instructions or business logic that should be followed. - - * LLM_JUDGE_INCORRECT_METRIC_CALCULATION: Genie's generated SQL uses incorrect logic or makes - * wrong assumptions when calculating metrics. - LLM_JUDGE_INCORRECT_TABLE_OR_FIELD_USAGE: Genie's - * generated SQL references wrong tables, columns, or uses fields that don't match the ground - * truth SQL's intent. - LLM_JUDGE_INCORRECT_FUNCTION_USAGE: Genie's generated SQL uses SQL - * functions incorrectly or inappropriately (wrong parameters, wrong function for the task, etc.). - * - LLM_JUDGE_MISSING_OR_INCORRECT_JOIN: Genie's generated SQL is missing necessary joins between - * tables or has incorrect join conditions/types that produce wrong results. - - * LLM_JUDGE_MISSING_OR_INCORRECT_AGGREGATION: Genie's generated SQL is missing GROUP BY clauses - * or has incorrect grouping that doesn't match the requested aggregation level. - - * LLM_JUDGE_FORMATTING_ERROR: Genie's generated SQL output has incorrect formatting, ordering - * (ORDER BY), or presentation issues that don't match expectations. - LLM_JUDGE_OTHER: LLM judge - * identified an error that doesn't fall into other categories. + *

    + *
  • EMPTY_RESULT: Genie's generated SQL results were empty for this benchmark question. + *
  • RESULT_MISSING_ROWS: Genie's generated SQL response is missing rows from the provided + * ground truth SQL. + *
  • RESULT_EXTRA_ROWS: Genie's generated SQL response has more rows than the provided ground + * truth SQL. + *
  • RESULT_MISSING_COLUMNS: Genie's generated SQL response is missing columns from the + * provided ground truth SQL. + *
  • RESULT_EXTRA_COLUMNS: Genie's generated SQL response has more columns than the provided + * ground truth SQL. + *
  • SINGLE_CELL_DIFFERENCE: Single value result was produced but differs from ground truth + * result. + *
  • EMPTY_GOOD_SQL: The benchmark SQL returned an empty result. + *
  • COLUMN_TYPE_DIFFERENCE: The values between the results match but the column type is + * different. + *
* - *

Deprecated LLM judge values (kept for backward compatibility, do not use): - - * LLM_JUDGE_MISSING_JOIN (deprecated) - LLM_JUDGE_WRONG_FILTER (deprecated) - - * LLM_JUDGE_WRONG_AGGREGATION (deprecated) - LLM_JUDGE_WRONG_COLUMNS (deprecated) - - * LLM_JUDGE_SYNTAX_ERROR (deprecated) - LLM_JUDGE_SEMANTIC_ERROR (deprecated) + *

LLM judge ratings explain the factors driving BAD results: + * + *

    + *
  • LLM_JUDGE_MISSING_OR_INCORRECT_FILTER: Genie's generated SQL is missing a WHERE clause + * condition or has incorrect filter logic that excludes/includes wrong data. + *
  • LLM_JUDGE_INCOMPLETE_OR_PARTIAL_OUTPUT: Genie's generated SQL returns only some of the + * requested data or columns, missing parts of what the ground truth SQL returns. + *
  • LLM_JUDGE_MISINTERPRETATION_OF_USER_REQUEST: Genie's generated SQL fundamentally + * misunderstands what the user is asking for, addressing the wrong question or goal. + *
  • LLM_JUDGE_INSTRUCTION_COMPLIANCE_OR_MISSING_BUSINESS_LOGIC: Genie's generated SQL fails + * to apply specified instructions or business logic that should be followed. + *
  • LLM_JUDGE_INCORRECT_METRIC_CALCULATION: Genie's generated SQL uses incorrect logic or + * makes wrong assumptions when calculating metrics. + *
  • LLM_JUDGE_INCORRECT_TABLE_OR_FIELD_USAGE: Genie's generated SQL references wrong tables, + * columns, or uses fields that don't match the ground truth SQL's intent. + *
  • LLM_JUDGE_INCORRECT_FUNCTION_USAGE: Genie's generated SQL uses SQL functions incorrectly + * or inappropriately (wrong parameters, wrong function for the task, etc.). + *
  • LLM_JUDGE_MISSING_OR_INCORRECT_JOIN: Genie's generated SQL is missing necessary joins + * between tables or has incorrect join conditions/types that produce wrong results. + *
  • LLM_JUDGE_MISSING_OR_INCORRECT_AGGREGATION: Genie's generated SQL is missing GROUP BY + * clauses or has incorrect grouping that doesn't match the requested aggregation level. + *
  • LLM_JUDGE_FORMATTING_ERROR: Genie's generated SQL output has incorrect formatting, + * ordering (ORDER BY), or presentation issues that don't match expectations. + *
  • LLM_JUDGE_OTHER: LLM judge identified an error that doesn't fall into other categories. + *
+ * + *

Deprecated LLM judge values (kept for backward compatibility, do not use): + * + *

    + *
  • LLM_JUDGE_MISSING_JOIN (deprecated) + *
  • LLM_JUDGE_WRONG_FILTER (deprecated) + *
  • LLM_JUDGE_WRONG_AGGREGATION (deprecated) + *
  • LLM_JUDGE_WRONG_COLUMNS (deprecated) + *
  • LLM_JUDGE_SYNTAX_ERROR (deprecated) + *
  • LLM_JUDGE_SEMANTIC_ERROR (deprecated) + *
*/ @JsonProperty("assessment_reasons") private Collection assessmentReasons; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultRequest.java index a6072f2e3..d3dc3f113 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultRequest.java @@ -17,8 +17,8 @@ public class GenieGetDownloadFullQueryResultRequest { @JsonIgnore private String conversationId; /** - * Download ID. This ID is provided by the [Generate Download - * endpoint](:method:genie/generateDownloadFullQueryResult) + * Download ID. This ID is provided by the Generate Download endpoint */ @JsonIgnore private String downloadId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultResponse.java index 490c5c518..a563c7f53 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetDownloadFullQueryResultResponse.java @@ -10,8 +10,8 @@ @Generated public class GenieGetDownloadFullQueryResultResponse { /** - * SQL Statement Execution response. See [Get status, manifest, and result first - * chunk](:method:statementexecution/getstatement) for more details. + * SQL Statement Execution response. See Get + * status, manifest, and result first chunk for more details. */ @JsonProperty("statement_response") private com.databricks.sdk.service.sql.StatementResponse statementResponse; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetMessageQueryResultResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetMessageQueryResultResponse.java index b63de6899..8fb30c0aa 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetMessageQueryResultResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieGetMessageQueryResultResponse.java @@ -10,8 +10,8 @@ @Generated public class GenieGetMessageQueryResultResponse { /** - * SQL Statement Execution response. See [Get status, manifest, and result first - * chunk](:method:statementexecution/getstatement) for more details. + * SQL Statement Execution response. See Get + * status, manifest, and result first chunk for more details. */ @JsonProperty("statement_response") private com.databricks.sdk.service.sql.StatementResponse statementResponse; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieMessage.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieMessage.java index e43e20e2d..099061490 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieMessage.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieMessage.java @@ -47,8 +47,8 @@ public class GenieMessage { private String messageId; /** - * The result of SQL query if the message includes a query attachment. Deprecated. Use - * `query_result_metadata` in `GenieQueryAttachment` instead. + * The result of SQL query if the message includes a query attachment. Deprecated. Use {@code + * query_result_metadata} in {@code GenieQueryAttachment} instead. */ @JsonProperty("query_result") private Result queryResult; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieQueryAttachment.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieQueryAttachment.java index b24fff598..fa103df51 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieQueryAttachment.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieQueryAttachment.java @@ -35,8 +35,8 @@ public class GenieQueryAttachment { private GenieResultMetadata queryResultMetadata; /** - * Statement Execution API statement id. Use [Get status, manifest, and result first - * chunk](:method:statementexecution/getstatement) to get the full result data. + * Statement Execution API statement id. Use Get + * status, manifest, and result first chunk to get the full result data. */ @JsonProperty("statement_id") private String statementId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieService.java index 262956231..9b1285a89 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieService.java @@ -16,8 +16,8 @@ @Generated public interface GenieService { /** - * Create new message in a [conversation](:method:genie/startconversation). The AI response uses - * all previously created messages in the conversation to respond. + * Create new message in a conversation. The AI + * response uses all previously created messages in the conversation to respond. */ GenieMessage createMessage( GenieCreateConversationMessageRequest genieCreateConversationMessageRequest); @@ -44,34 +44,36 @@ GenieGetMessageQueryResultResponse executeMessageAttachmentQuery( GenieExecuteMessageAttachmentQueryRequest genieExecuteMessageAttachmentQueryRequest); /** - * DEPRECATED: Use [Execute Message Attachment Query](:method:genie/executemessageattachmentquery) - * instead. + * DEPRECATED: Use Execute Message + * Attachment Query instead. */ GenieGetMessageQueryResultResponse executeMessageQuery( GenieExecuteMessageQueryRequest genieExecuteMessageQueryRequest); /** - * Initiates a new SQL execution and returns a `download_id` and `download_id_signature` that you - * can use to track the progress of the download. The query result is stored in an external link - * and can be retrieved using the [Get Download Full Query - * Result](:method:genie/getdownloadfullqueryresult) API. Both `download_id` and - * `download_id_signature` must be provided when calling the Get endpoint. + * Initiates a new SQL execution and returns a {@code download_id} and {@code + * download_id_signature} that you can use to track the progress of the download. The query result + * is stored in an external link and can be retrieved using the Get Download Full Query Result API. Both + * {@code download_id} and {@code download_id_signature} must be provided when calling the Get + * endpoint. * - *

---- + *


* - *

### **Warning: Databricks strongly recommends that you protect the URLs that are returned by - * the `EXTERNAL_LINKS` disposition.** + *

Warning: Databricks strongly recommends that you protect the URLs that are returned by + * the {@code EXTERNAL_LINKS} disposition. * - *

When you use the `EXTERNAL_LINKS` disposition, a short-lived, URL is generated, which can be - * used to download the results directly from . As a short-lived is embedded in this URL, you - * should protect the URL. + *

When you use the {@code EXTERNAL_LINKS} disposition, a short-lived, URL is generated, which + * can be used to download the results directly from . As a short-lived is embedded in this URL, + * you should protect the URL. * - *

Because URLs are already generated with embedded temporary s, you must not set an - * `Authorization` header in the download requests. + *

Because URLs are already generated with embedded temporary s, you must not set an {@code + * Authorization} header in the download requests. * - *

See [Execute Statement](:method:statementexecution/executestatement) for more details. + *

See Execute Statement for more + * details. * - *

---- + *


*/ GenieGenerateDownloadFullQueryResultResponse generateDownloadFullQueryResult( GenieGenerateDownloadFullQueryResultRequest genieGenerateDownloadFullQueryResultRequest); @@ -94,27 +96,29 @@ GenieListEvalResultsResponse genieListEvalResults( GenieListEvalRunsResponse genieListEvalRuns(GenieListEvalRunsRequest genieListEvalRunsRequest); /** - * After [Generating a Full Query Result Download](:method:genie/generatedownloadfullqueryresult) - * and successfully receiving a `download_id` and `download_id_signature`, use this API to poll - * the download progress. Both `download_id` and `download_id_signature` are required to call this - * endpoint. When the download is complete, the API returns the result in the `EXTERNAL_LINKS` - * disposition, containing one or more external links to the query result files. + * After Generating a Full Query Result + * Download and successfully receiving a {@code download_id} and {@code + * download_id_signature}, use this API to poll the download progress. Both {@code download_id} + * and {@code download_id_signature} are required to call this endpoint. When the download is + * complete, the API returns the result in the {@code EXTERNAL_LINKS} disposition, containing one + * or more external links to the query result files. * - *

---- + *


* - *

### **Warning: Databricks strongly recommends that you protect the URLs that are returned by - * the `EXTERNAL_LINKS` disposition.** + *

Warning: Databricks strongly recommends that you protect the URLs that are returned by + * the {@code EXTERNAL_LINKS} disposition. * - *

When you use the `EXTERNAL_LINKS` disposition, a short-lived, URL is generated, which can be - * used to download the results directly from . As a short-lived is embedded in this URL, you - * should protect the URL. + *

When you use the {@code EXTERNAL_LINKS} disposition, a short-lived, URL is generated, which + * can be used to download the results directly from . As a short-lived is embedded in this URL, + * you should protect the URL. * - *

Because URLs are already generated with embedded temporary s, you must not set an - * `Authorization` header in the download requests. + *

Because URLs are already generated with embedded temporary s, you must not set an {@code + * Authorization} header in the download requests. * - *

See [Execute Statement](:method:statementexecution/executestatement) for more details. + *

See Execute Statement for more + * details. * - *

---- + *


*/ GenieGetDownloadFullQueryResultResponse getDownloadFullQueryResult( GenieGetDownloadFullQueryResultRequest genieGetDownloadFullQueryResultRequest); @@ -124,21 +128,22 @@ GenieGetDownloadFullQueryResultResponse getDownloadFullQueryResult( /** * Get the result of SQL query if the message has a query attachment. This is only available if a - * message has a query attachment and the message status is `EXECUTING_QUERY` OR `COMPLETED`. + * message has a query attachment and the message status is {@code EXECUTING_QUERY} OR {@code + * COMPLETED}. */ GenieGetMessageQueryResultResponse getMessageAttachmentQueryResult( GenieGetMessageAttachmentQueryResultRequest genieGetMessageAttachmentQueryResultRequest); /** - * DEPRECATED: Use [Get Message Attachment Query - * Result](:method:genie/getmessageattachmentqueryresult) instead. + * DEPRECATED: Use Get Message Attachment + * Query Result instead. */ GenieGetMessageQueryResultResponse getMessageQueryResult( GenieGetMessageQueryResultRequest genieGetMessageQueryResultRequest); /** - * DEPRECATED: Use [Get Message Attachment Query - * Result](:method:genie/getmessageattachmentqueryresult) instead. + * DEPRECATED: Use Get Message Attachment + * Query Result instead. */ GenieGetMessageQueryResultResponse getMessageQueryResultByAttachment( GenieGetQueryResultByAttachmentRequest genieGetQueryResultByAttachmentRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieSpace.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieSpace.java index 6c0a4fce3..767cf9d45 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieSpace.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieSpace.java @@ -26,9 +26,9 @@ public class GenieSpace { /** * The contents of the Genie Space in serialized string form. This field is excluded in List Genie - * spaces responses. Use the [Get Genie Space](:method:genie/getspace) API to retrieve an example - * response, which includes the `serialized_space` field. This field provides the structure of the - * JSON string that represents the space's layout and components. + * spaces responses. Use the Get Genie Space API to retrieve + * an example response, which includes the {@code serialized_space} field. This field provides the + * structure of the JSON string that represents the space's layout and components. */ @JsonProperty("serialized_space") private String serializedSpace; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieUpdateSpaceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieUpdateSpaceRequest.java index 763052f59..e92d41a8b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieUpdateSpaceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GenieUpdateSpaceRequest.java @@ -26,10 +26,10 @@ public class GenieUpdateSpaceRequest { private String parentPath; /** - * The contents of the Genie Space in serialized string form (full replacement). Use the [Get - * Genie Space](:method:genie/getspace) API to retrieve an example response, which includes the - * `serialized_space` field. This field provides the structure of the JSON string that represents - * the space's layout and components. + * The contents of the Genie Space in serialized string form (full replacement). Use the Get Genie Space API to retrieve an example response, which + * includes the {@code serialized_space} field. This field provides the structure of the JSON + * string that represents the space's layout and components. */ @JsonProperty("serialized_space") private String serializedSpace; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetPublishedDashboardTokenInfoResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetPublishedDashboardTokenInfoResponse.java index e7022d311..b50b49401 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetPublishedDashboardTokenInfoResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/GetPublishedDashboardTokenInfoResponse.java @@ -11,16 +11,16 @@ @Generated public class GetPublishedDashboardTokenInfoResponse { /** - * Authorization constraints for accessing the published dashboard. Currently includes - * `workspace_rule_set` and could be enriched with `unity_catalog_privileges` before oAuth token - * generation. + * Authorization constraints for accessing the published dashboard. Currently includes {@code + * workspace_rule_set} and could be enriched with {@code unity_catalog_privileges} before oAuth + * token generation. */ @JsonProperty("authorization_details") private Collection authorizationDetails; /** - * Custom claim generated from external_value and external_viewer_id. Format: - * `urn:aibi:external_data:::` + * Custom claim generated from external_value and external_viewer_id. Format: {@code + * urn:aibi:external_data:::} */ @JsonProperty("custom_claim") private String customClaim; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListDashboardsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListDashboardsRequest.java index 27e018055..7aa648004 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListDashboardsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListDashboardsRequest.java @@ -16,7 +16,7 @@ public class ListDashboardsRequest { private Long pageSize; /** - * A page token, received from a previous `ListDashboards` call. This token can be used to + * A page token, received from a previous {@code ListDashboards} call. This token can be used to * retrieve the subsequent page. */ @JsonIgnore @@ -31,7 +31,7 @@ public class ListDashboardsRequest { @QueryParam("show_trashed") private Boolean showTrashed; - /** `DASHBOARD_VIEW_BASIC`only includes summary metadata from the dashboard. */ + /** {@code DASHBOARD_VIEW_BASIC}only includes summary metadata from the dashboard. */ @JsonIgnore @QueryParam("view") private DashboardView view; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListDashboardsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListDashboardsResponse.java index de36ca888..6d5073577 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListDashboardsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListDashboardsResponse.java @@ -15,8 +15,8 @@ public class ListDashboardsResponse { private Collection dashboards; /** - * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, - * there are no subsequent dashboards. + * A token, which can be sent as {@code page_token} to retrieve the next page. If this field is + * omitted, there are no subsequent dashboards. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSchedulesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSchedulesRequest.java index 5382151b8..bb1638710 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSchedulesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSchedulesRequest.java @@ -19,7 +19,7 @@ public class ListSchedulesRequest { private Long pageSize; /** - * A page token, received from a previous `ListSchedules` call. Use this to retrieve the + * A page token, received from a previous {@code ListSchedules} call. Use this to retrieve the * subsequent page. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSchedulesResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSchedulesResponse.java index 3c3b29c79..117e56cc3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSchedulesResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSchedulesResponse.java @@ -11,8 +11,8 @@ @Generated public class ListSchedulesResponse { /** - * A token that can be used as a `page_token` in subsequent requests to retrieve the next page of - * results. If this field is omitted, there are no subsequent schedules. + * A token that can be used as a {@code page_token} in subsequent requests to retrieve the next + * page of results. If this field is omitted, there are no subsequent schedules. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSubscriptionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSubscriptionsRequest.java index d38d1dc36..c07faf22d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSubscriptionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSubscriptionsRequest.java @@ -19,7 +19,7 @@ public class ListSubscriptionsRequest { private Long pageSize; /** - * A page token, received from a previous `ListSubscriptions` call. Use this to retrieve the + * A page token, received from a previous {@code ListSubscriptions} call. Use this to retrieve the * subsequent page. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSubscriptionsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSubscriptionsResponse.java index 2c8a3a199..25b2b534a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSubscriptionsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ListSubscriptionsResponse.java @@ -11,8 +11,8 @@ @Generated public class ListSubscriptionsResponse { /** - * A token that can be used as a `page_token` in subsequent requests to retrieve the next page of - * results. If this field is omitted, there are no subsequent subscriptions. + * A token that can be used as a {@code page_token} in subsequent requests to retrieve the next + * page of results. If this field is omitted, there are no subsequent subscriptions. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/MessageStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/MessageStatus.java index 9910fe2f0..4685371e3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/MessageStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/MessageStatus.java @@ -5,19 +5,28 @@ import com.databricks.sdk.support.Generated; /** - * MessageStatus. The possible values are: * `FETCHING_METADATA`: Fetching metadata from the data - * sources. * `FILTERING_CONTEXT`: Running smart context step to determine relevant context. * - * `ASKING_AI`: Waiting for the LLM to respond to the user's question. * `PENDING_WAREHOUSE`: - * Waiting for warehouse before the SQL query can start executing. * `EXECUTING_QUERY`: Executing a - * generated SQL query. Get the SQL query result by calling - * [getMessageAttachmentQueryResult](:method:genie/getMessageAttachmentQueryResult) API. * `FAILED`: - * The response generation or query execution failed. See `error` field. * `COMPLETED`: Message - * processing is completed. Results are in the `attachments` field. Get the SQL query result by - * calling [getMessageAttachmentQueryResult](:method:genie/getMessageAttachmentQueryResult) API. * - * `SUBMITTED`: Message has been submitted. * `QUERY_RESULT_EXPIRED`: SQL result is not available - * anymore. The user needs to rerun the query. Rerun the SQL query result by calling - * [executeMessageAttachmentQuery](:method:genie/executeMessageAttachmentQuery) API. * `CANCELLED`: - * Message has been cancelled. + * MessageStatus. The possible values are: + * + *
    + *
  • {@code FETCHING_METADATA}: Fetching metadata from the data sources. + *
  • {@code FILTERING_CONTEXT}: Running smart context step to determine relevant context. + *
  • {@code ASKING_AI}: Waiting for the LLM to respond to the user's question. + *
  • {@code PENDING_WAREHOUSE}: Waiting for warehouse before the SQL query can start executing. + *
  • {@code EXECUTING_QUERY}: Executing a generated SQL query. Get the SQL query result by + * calling getMessageAttachmentQueryResult + * API. + *
  • {@code FAILED}: The response generation or query execution failed. See {@code error} field. + *
  • {@code COMPLETED}: Message processing is completed. Results are in the {@code attachments} + * field. Get the SQL query result by calling getMessageAttachmentQueryResult + * API. + *
  • {@code SUBMITTED}: Message has been submitted. + *
  • {@code QUERY_RESULT_EXPIRED}: SQL result is not available anymore. The user needs to rerun + * the query. Rerun the SQL query result by calling executeMessageAttachmentQuery API. + *
  • {@code CANCELLED}: Message has been cancelled. + *
*/ @Generated public enum MessageStatus { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Result.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Result.java index ab09e632d..262f6d57e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Result.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Result.java @@ -18,8 +18,8 @@ public class Result { private Long rowCount; /** - * Statement Execution API statement id. Use [Get status, manifest, and result first - * chunk](:method:statementexecution/getstatement) to get the full result data. + * Statement Execution API statement id. Use Get + * status, manifest, and result first chunk to get the full result data. */ @JsonProperty("statement_id") private String statementId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Subscriber.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Subscriber.java index b1677565e..9113f085d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Subscriber.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Subscriber.java @@ -11,14 +11,14 @@ public class Subscriber { /** * The destination to receive the subscription email. This parameter is mutually exclusive with - * `user_subscriber`. + * {@code user_subscriber}. */ @JsonProperty("destination_subscriber") private SubscriptionSubscriberDestination destinationSubscriber; /** - * The user to receive the subscription email. This parameter is mutually exclusive with - * `destination_subscriber`. + * The user to receive the subscription email. This parameter is mutually exclusive with {@code + * destination_subscriber}. */ @JsonProperty("user_subscriber") private SubscriptionSubscriberUser userSubscriber; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Thought.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Thought.java index cf0dc64b3..a5b585d8c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Thought.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/Thought.java @@ -15,12 +15,16 @@ public class Thought { private String content; /** - * The category of this thought. The possible values are: * `THOUGHT_TYPE_DESCRIPTION`: A - * high-level description of how the question was interpreted. * `THOUGHT_TYPE_UNDERSTANDING`: How - * ambiguous parts of the question were resolved. * `THOUGHT_TYPE_DATA_SOURCING`: Which tables or - * datasets were identified as relevant. * `THOUGHT_TYPE_INSTRUCTIONS`: Which author-defined - * instructions were referenced. * `THOUGHT_TYPE_STEPS`: The logical steps taken to compute the - * answer. + * The category of this thought. The possible values are: + * + *
    + *
  • {@code THOUGHT_TYPE_DESCRIPTION}: A high-level description of how the question was + * interpreted. + *
  • {@code THOUGHT_TYPE_UNDERSTANDING}: How ambiguous parts of the question were resolved. + *
  • {@code THOUGHT_TYPE_DATA_SOURCING}: Which tables or datasets were identified as relevant. + *
  • {@code THOUGHT_TYPE_INSTRUCTIONS}: Which author-defined instructions were referenced. + *
  • {@code THOUGHT_TYPE_STEPS}: The logical steps taken to compute the answer. + *
*/ @JsonProperty("thought_type") private ThoughtType thoughtType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ThoughtType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ThoughtType.java index a31ef433f..1dcde7499 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ThoughtType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/ThoughtType.java @@ -5,13 +5,18 @@ import com.databricks.sdk.support.Generated; /** - * ThoughtType. The possible values are: * `THOUGHT_TYPE_UNSPECIFIED`: Default value that should not - * be used. * `THOUGHT_TYPE_DESCRIPTION`: A high-level description of how the question was - * interpreted. * `THOUGHT_TYPE_UNDERSTANDING`: How ambiguous parts of the question were resolved. * - * `THOUGHT_TYPE_DATA_SOURCING`: Which tables or datasets were identified as relevant. * - * `THOUGHT_TYPE_INSTRUCTIONS`: Which author-defined instructions were referenced. * - * `THOUGHT_TYPE_STEPS`: The logical steps taken to compute the answer. The category of a Thought. - * Additional values may be added in the future. + * ThoughtType. The possible values are: + * + *
    + *
  • {@code THOUGHT_TYPE_UNSPECIFIED}: Default value that should not be used. + *
  • {@code THOUGHT_TYPE_DESCRIPTION}: A high-level description of how the question was + * interpreted. + *
  • {@code THOUGHT_TYPE_UNDERSTANDING}: How ambiguous parts of the question were resolved. + *
  • {@code THOUGHT_TYPE_DATA_SOURCING}: Which tables or datasets were identified as relevant. + *
  • {@code THOUGHT_TYPE_INSTRUCTIONS}: Which author-defined instructions were referenced. + *
  • {@code THOUGHT_TYPE_STEPS}: The logical steps taken to compute the answer. The category of + * a Thought. Additional values may be added in the future. + *
*/ @Generated public enum ThoughtType { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseAPI.java index 18ac94420..2501c6d49 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseAPI.java @@ -231,10 +231,10 @@ public Iterable listDatabaseInstanceRoles(String instanceN } /** - * START OF PG ROLE APIs Section These APIs are marked a PUBLIC with stage < PUBLIC_PREVIEW. With - * more recent Lakebase V2 plans, we don't plan to ever advance these to PUBLIC_PREVIEW. These - * APIs will remain effectively undocumented/UI-only and we'll aim for a new public roles API as - * part of V2 PuPr. + * START OF PG ROLE APIs Section These APIs are marked a PUBLIC with stage < PUBLIC_PREVIEW. + * With more recent Lakebase V2 plans, we don't plan to ever advance these to PUBLIC_PREVIEW. + * These APIs will remain effectively undocumented/UI-only and we'll aim for a new public roles + * API as part of V2 PuPr. */ public Iterable listDatabaseInstanceRoles( ListDatabaseInstanceRolesRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseService.java index 4f6d40276..fcc7bb57c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DatabaseService.java @@ -79,10 +79,10 @@ ListDatabaseCatalogsResponse listDatabaseCatalogs( ListDatabaseCatalogsRequest listDatabaseCatalogsRequest); /** - * START OF PG ROLE APIs Section These APIs are marked a PUBLIC with stage < PUBLIC_PREVIEW. With - * more recent Lakebase V2 plans, we don't plan to ever advance these to PUBLIC_PREVIEW. These - * APIs will remain effectively undocumented/UI-only and we'll aim for a new public roles API as - * part of V2 PuPr. + * START OF PG ROLE APIs Section These APIs are marked a PUBLIC with stage < PUBLIC_PREVIEW. + * With more recent Lakebase V2 plans, we don't plan to ever advance these to PUBLIC_PREVIEW. + * These APIs will remain effectively undocumented/UI-only and we'll aim for a new public roles + * API as part of V2 PuPr. */ ListDatabaseInstanceRolesResponse listDatabaseInstanceRoles( ListDatabaseInstanceRolesRequest listDatabaseInstanceRolesRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRoleRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRoleRequest.java index ef3efc5f5..f2ac4fcb5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRoleRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/DeleteDatabaseInstanceRoleRequest.java @@ -10,7 +10,7 @@ @Generated public class DeleteDatabaseInstanceRoleRequest { - /** This is the AIP standard name for the equivalent of Postgres' `IF EXISTS` option */ + /** This is the AIP standard name for the equivalent of Postgres' {@code IF EXISTS} option */ @JsonIgnore @QueryParam("allow_missing") private Boolean allowMissing; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedDatabaseTable.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedDatabaseTable.java index 5e85bb53a..e2f22daea 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedDatabaseTable.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/SyncedDatabaseTable.java @@ -51,7 +51,7 @@ public class SyncedDatabaseTable { * *

When creating a synced table in a standard catalog, this field is required. In this * scenario, specifying this field will allow targeting an arbitrary postgres database. Note that - * this has implications for the `create_database_objects_is_missing` field in `spec`. + * this has implications for the {@code create_database_objects_is_missing} field in {@code spec}. */ @JsonProperty("logical_database_name") private String logicalDatabaseName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataclassification/CatalogConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataclassification/CatalogConfig.java index d36081ec8..06ffb7c47 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataclassification/CatalogConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataclassification/CatalogConfig.java @@ -10,9 +10,13 @@ /** * Data Classification configuration for a Unity Catalog catalog. This message follows the "At Most - * One Resource" pattern: at most one CatalogConfig exists per catalog. - Full CRUD operations are - * supported: Create enables Data Classification, Delete disables it - It has no unique identifier - * of its own and uses its parent catalog's identifier (catalog_name) + * One Resource" pattern: at most one CatalogConfig exists per catalog. + * + *

    + *
  • Full CRUD operations are supported: Create enables Data Classification, Delete disables it + *
  • It has no unique identifier of its own and uses its parent catalog's identifier + * (catalog_name) + *
*/ @Generated public class CatalogConfig { @@ -25,7 +29,7 @@ public class CatalogConfig { /** * Schemas to include in the scan. Empty list is not supported as it results in a no-op scan. If - * `included_schemas` is not set, all schemas are scanned. + * {@code included_schemas} is not set, all schemas are scanned. */ @JsonProperty("included_schemas") private CatalogConfigSchemaNames includedSchemas; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataclassification/DataClassificationAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataclassification/DataClassificationAPI.java index 57fdea246..f70c660b7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataclassification/DataClassificationAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataclassification/DataClassificationAPI.java @@ -31,7 +31,10 @@ public DataClassificationAPI(DataClassificationService mock) { * Create Data Classification configuration for a catalog. * *

Creates a new config resource, which enables Data Classification for the specified catalog. - * - The config must not already exist for the catalog. + * + *

    + *
  • The config must not already exist for the catalog. + *
*/ public CatalogConfig createCatalogConfig(CreateCatalogConfigRequest request) { return impl.createCatalogConfig(request); @@ -56,9 +59,13 @@ public CatalogConfig getCatalogConfig(GetCatalogConfigRequest request) { } /** - * Update the Data Classification configuration for a catalog. - The config must already exist for - * the catalog. - Updates fields specified in the update_mask. Use update_mask field to perform - * partial updates of the configuration. + * Update the Data Classification configuration for a catalog. + * + *
    + *
  • The config must already exist for the catalog. + *
  • Updates fields specified in the update_mask. Use update_mask field to perform partial + * updates of the configuration. + *
*/ public CatalogConfig updateCatalogConfig(UpdateCatalogConfigRequest request) { return impl.updateCatalogConfig(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataclassification/DataClassificationService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataclassification/DataClassificationService.java index 3b8773790..1c1475d3e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataclassification/DataClassificationService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataclassification/DataClassificationService.java @@ -18,7 +18,10 @@ public interface DataClassificationService { * Create Data Classification configuration for a catalog. * *

Creates a new config resource, which enables Data Classification for the specified catalog. - * - The config must not already exist for the catalog. + * + *

    + *
  • The config must not already exist for the catalog. + *
*/ CatalogConfig createCatalogConfig(CreateCatalogConfigRequest createCatalogConfigRequest); @@ -29,9 +32,13 @@ public interface DataClassificationService { CatalogConfig getCatalogConfig(GetCatalogConfigRequest getCatalogConfigRequest); /** - * Update the Data Classification configuration for a catalog. - The config must already exist for - * the catalog. - Updates fields specified in the update_mask. Use update_mask field to perform - * partial updates of the configuration. + * Update the Data Classification configuration for a catalog. + * + *
    + *
  • The config must already exist for the catalog. + *
  • Updates fields specified in the update_mask. Use update_mask field to perform partial + * updates of the configuration. + *
*/ CatalogConfig updateCatalogConfig(UpdateCatalogConfigRequest updateCatalogConfigRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/CancelRefreshRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/CancelRefreshRequest.java index 405bbcb69..7e0e114c9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/CancelRefreshRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/CancelRefreshRequest.java @@ -11,21 +11,35 @@ @Generated public class CancelRefreshRequest { /** - * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`. + * The UUID of the request object. It is {@code schema_id} for {@code schema}, and {@code + * table_id} for {@code table}. * - *

Find the `schema_id` from either: 1. The [schema_id] of the `Schemas` resource. 2. In - * [Catalog Explorer] > select the `schema` > go to the `Details` tab > the `Schema ID` field. + *

Find the {@code schema_id} from either: * - *

Find the `table_id` from either: 1. The [table_id] of the `Tables` resource. 2. In [Catalog - * Explorer] > select the `table` > go to the `Details` tab > the `Table ID` field. + *

    + *
  1. The schema_id of + * the {@code Schemas} resource. + *
  2. In Catalog Explorer + * > select the {@code schema} > go to the {@code Details} tab > the {@code Schema + * ID} field. + *
* - *

[Catalog Explorer]: https://docs.databricks.com/aws/en/catalog-explorer/ [schema_id]: - * https://docs.databricks.com/api/workspace/schemas/get#schema_id [table_id]: - * https://docs.databricks.com/api/workspace/tables/get#table_id + *

Find the {@code table_id} from either: + * + *

    + *
  1. The table_id + * of the {@code Tables} resource. + *
  2. In Catalog Explorer + * > select the {@code table} > go to the {@code Details} tab > the {@code Table + * ID} field. + *
*/ @JsonIgnore private String objectId; - /** The type of the monitored object. Can be one of the following: `schema` or `table`. */ + /** + * The type of the monitored object. Can be one of the following: {@code schema} or {@code table}. + */ @JsonIgnore private String objectType; /** Unique id of the refresh operation. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/CreateRefreshRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/CreateRefreshRequest.java index a907fea44..8f1855529 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/CreateRefreshRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/CreateRefreshRequest.java @@ -11,21 +11,35 @@ @Generated public class CreateRefreshRequest { /** - * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`. + * The UUID of the request object. It is {@code schema_id} for {@code schema}, and {@code + * table_id} for {@code table}. * - *

Find the `schema_id` from either: 1. The [schema_id] of the `Schemas` resource. 2. In - * [Catalog Explorer] > select the `schema` > go to the `Details` tab > the `Schema ID` field. + *

Find the {@code schema_id} from either: * - *

Find the `table_id` from either: 1. The [table_id] of the `Tables` resource. 2. In [Catalog - * Explorer] > select the `table` > go to the `Details` tab > the `Table ID` field. + *

    + *
  1. The schema_id of + * the {@code Schemas} resource. + *
  2. In Catalog Explorer + * > select the {@code schema} > go to the {@code Details} tab > the {@code Schema + * ID} field. + *
* - *

[Catalog Explorer]: https://docs.databricks.com/aws/en/catalog-explorer/ [schema_id]: - * https://docs.databricks.com/api/workspace/schemas/get#schema_id [table_id]: - * https://docs.databricks.com/api/workspace/tables/get#table_id + *

Find the {@code table_id} from either: + * + *

    + *
  1. The table_id + * of the {@code Tables} resource. + *
  2. In Catalog Explorer + * > select the {@code table} > go to the {@code Details} tab > the {@code Table + * ID} field. + *
*/ @JsonIgnore private String objectId; - /** The type of the monitored object. Can be one of the following: `schema`or `table`. */ + /** + * The type of the monitored object. Can be one of the following: {@code schema}or {@code table}. + */ @JsonIgnore private String objectType; /** The refresh to create */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/CronSchedule.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/CronSchedule.java index 72f07e684..83dfb3246 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/CronSchedule.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/CronSchedule.java @@ -15,18 +15,16 @@ public class CronSchedule { private CronSchedulePauseStatus pauseStatus; /** - * The expression that determines when to run the monitor. See [examples]. - * - *

[examples]: - * https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html + * The expression that determines when to run the monitor. See examples. */ @JsonProperty("quartz_cron_expression") private String quartzCronExpression; /** * A Java timezone id. The schedule for a job will be resolved with respect to this timezone. See - * `Java TimeZone `_ for - * details. The timezone id (e.g., ``America/Los_Angeles``) in which to evaluate the quartz + * {@code Java TimeZone }_ for + * details. The timezone id (e.g., {@code America/Los_Angeles}) in which to evaluate the quartz * expression. */ @JsonProperty("timezone_id") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DataProfilingConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DataProfilingConfig.java index 0442dfb8b..8d01e769b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DataProfilingConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DataProfilingConfig.java @@ -20,7 +20,7 @@ public class DataProfilingConfig { /** * Baseline table name. Baseline data is used to compute drift from the data in the monitored - * `table_name`. The baseline table and the monitored table shall have the same schema. + * {@code table_name}. The baseline table and the monitored table shall have the same schema. */ @JsonProperty("baseline_table_name") private String baselineTableName; @@ -36,7 +36,7 @@ public class DataProfilingConfig { @JsonProperty("dashboard_id") private String dashboardId; - /** Table that stores drift metrics data. Format: `catalog.schema.table_name`. */ + /** Table that stores drift metrics data. Format: {@code catalog.schema.table_name}. */ @JsonProperty("drift_metrics_table_name") private String driftMetricsTableName; @@ -44,7 +44,7 @@ public class DataProfilingConfig { @JsonProperty("effective_warehouse_id") private String effectiveWarehouseId; - /** `Analysis Configuration` for monitoring inference log tables. */ + /** {@code Analysis Configuration} for monitoring inference log tables. */ @JsonProperty("inference_log") private InferenceLogConfig inferenceLog; @@ -60,7 +60,7 @@ public class DataProfilingConfig { @JsonProperty("monitor_version") private Long monitorVersion; - /** Unity Catalog table to monitor. Format: `catalog.schema.table_name` */ + /** Unity Catalog table to monitor. Format: {@code catalog.schema.table_name} */ @JsonProperty("monitored_table_name") private String monitoredTableName; @@ -72,7 +72,7 @@ public class DataProfilingConfig { @JsonProperty("output_schema_id") private String outputSchemaId; - /** Table that stores profile metrics data. Format: `catalog.schema.table_name`. */ + /** Table that stores profile metrics data. Format: {@code catalog.schema.table_name}. */ @JsonProperty("profile_metrics_table_name") private String profileMetricsTableName; @@ -87,14 +87,15 @@ public class DataProfilingConfig { /** * List of column expressions to slice data with for targeted analysis. The data is grouped by * each expression independently, resulting in a separate slice for each predicate and its - * complements. For example `slicing_exprs=[“col_1”, “col_2 > 10”]` will generate the following - * slices: two slices for `col_2 > 10` (True and False), and one slice per unique value in `col1`. - * For high-cardinality columns, only the top 100 unique values by frequency will generate slices. + * complements. For example {@code slicing_exprs=[“col_1”, “col_2 > 10”]} will generate the + * following slices: two slices for {@code col_2 > 10} (True and False), and one slice per unique + * value in {@code col1}. For high-cardinality columns, only the top 100 unique values by + * frequency will generate slices. */ @JsonProperty("slicing_exprs") private Collection slicingExprs; - /** `Analysis Configuration` for monitoring snapshot tables. */ + /** {@code Analysis Configuration} for monitoring snapshot tables. */ @JsonProperty("snapshot") private SnapshotConfig snapshot; @@ -102,7 +103,7 @@ public class DataProfilingConfig { @JsonProperty("status") private DataProfilingStatus status; - /** `Analysis Configuration` for monitoring time series tables. */ + /** {@code Analysis Configuration} for monitoring time series tables. */ @JsonProperty("time_series") private TimeSeriesConfig timeSeries; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DataProfilingCustomMetric.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DataProfilingCustomMetric.java index 0fd468a79..edffb00ae 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DataProfilingCustomMetric.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DataProfilingCustomMetric.java @@ -12,18 +12,16 @@ @Generated public class DataProfilingCustomMetric { /** - * Jinja template for a SQL expression that specifies how to compute the metric. See [create - * metric definition]. - * - *

[create metric definition]: - * https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition + * Jinja template for a SQL expression that specifies how to compute the metric. See create + * metric definition. */ @JsonProperty("definition") private String definition; /** - * A list of column names in the input table the metric should be computed for. Can use - * ``":table"`` to indicate that the metric needs information from multiple columns. + * A list of column names in the input table the metric should be computed for. Can use {@code + * ":table"} to indicate that the metric needs information from multiple columns. */ @JsonProperty("input_columns") private Collection inputColumns; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DataQualityAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DataQualityAPI.java index 2f0b7076c..0639c6203 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DataQualityAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DataQualityAPI.java @@ -7,7 +7,10 @@ import com.databricks.sdk.support.Generated; import com.databricks.sdk.support.Paginator; -/** Manage the data quality of Unity Catalog objects (currently support `schema` and `table`) */ +/** + * Manage the data quality of Unity Catalog objects (currently support {@code schema} and {@code + * table}) + */ @Generated public class DataQualityAPI { private static final Logger LOG = LoggerFactory.getLogger(DataQualityAPI.class); @@ -25,51 +28,69 @@ public DataQualityAPI(DataQualityService mock) { } /** - * Cancels a data quality monitor refresh. Currently only supported for the `table` `object_type`. - * The call must be made in the same workspace as where the monitor was created. - * - *

The caller must have either of the following sets of permissions: 1. **MANAGE** and - * **USE_CATALOG** on the table's parent catalog. 2. **USE_CATALOG** on the table's parent - * catalog, and **MANAGE** and **USE_SCHEMA** on the table's parent schema. 3. **USE_CATALOG** on - * the table's parent catalog, **USE_SCHEMA** on the table's parent schema, and **MANAGE** on the - * table. + * Cancels a data quality monitor refresh. Currently only supported for the {@code table} {@code + * object_type}. The call must be made in the same workspace as where the monitor was created. + * + *

The caller must have either of the following sets of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the table's parent catalog. + *
  2. USE_CATALOG on the table's parent catalog, and MANAGE and USE_SCHEMA + * on the table's parent schema. + *
  3. USE_CATALOG on the table's parent catalog, USE_SCHEMA on the table's parent + * schema, and MANAGE on the table. + *
*/ public CancelRefreshResponse cancelRefresh(CancelRefreshRequest request) { return impl.cancelRefresh(request); } /** - * Create a data quality monitor on a Unity Catalog object. The caller must provide either - * `anomaly_detection_config` for a schema monitor or `data_profiling_config` for a table monitor. + * Create a data quality monitor on a Unity Catalog object. The caller must provide either {@code + * anomaly_detection_config} for a schema monitor or {@code data_profiling_config} for a table + * monitor. * - *

For the `table` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on - * the table's parent schema, and **SELECT** on the table 2. **USE_CATALOG** on the table's parent - * catalog, **MANAGE** and **USE_SCHEMA** on the table's parent schema, and **SELECT** on the - * table. 3. **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's parent - * schema, and **MANAGE** and **SELECT** on the table. + *

For the {@code table} {@code object_type}, the caller must have either of the following sets + * of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the table's parent catalog, USE_SCHEMA on + * the table's parent schema, and SELECT on the table + *
  2. USE_CATALOG on the table's parent catalog, MANAGE and USE_SCHEMA on + * the table's parent schema, and SELECT on the table. + *
  3. USE_CATALOG on the table's parent catalog, USE_SCHEMA on the table's parent + * schema, and MANAGE and SELECT on the table. + *
* *

Workspace assets, such as the dashboard, will be created in the workspace where this call * was made. * - *

For the `schema` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog. 2. - * **USE_CATALOG** on the schema's parent catalog, and **MANAGE** and **USE_SCHEMA** on the - * schema. + *

For the {@code schema} {@code object_type}, the caller must have either of the following + * sets of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the schema's parent catalog. + *
  2. USE_CATALOG on the schema's parent catalog, and MANAGE and + * USE_SCHEMA on the schema. + *
*/ public Monitor createMonitor(CreateMonitorRequest request) { return impl.createMonitor(request); } /** - * Creates a refresh. Currently only supported for the `table` `object_type`. The call must be - * made in the same workspace as where the monitor was created. - * - *

The caller must have either of the following sets of permissions: 1. **MANAGE** and - * **USE_CATALOG** on the table's parent catalog. 2. **USE_CATALOG** on the table's parent - * catalog, and **MANAGE** and **USE_SCHEMA** on the table's parent schema. 3. **USE_CATALOG** on - * the table's parent catalog, **USE_SCHEMA** on the table's parent schema, and **MANAGE** on the - * table. + * Creates a refresh. Currently only supported for the {@code table} {@code object_type}. The call + * must be made in the same workspace as where the monitor was created. + * + *

The caller must have either of the following sets of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the table's parent catalog. + *
  2. USE_CATALOG on the table's parent catalog, and MANAGE and USE_SCHEMA + * on the table's parent schema. + *
  3. USE_CATALOG on the table's parent catalog, USE_SCHEMA on the table's parent + * schema, and MANAGE on the table. + *
*/ public Refresh createRefresh(CreateRefreshRequest request) { return impl.createRefresh(request); @@ -82,19 +103,23 @@ public void deleteMonitor(String objectType, String objectId) { /** * Delete a data quality monitor on Unity Catalog object. * - *

For the `table` `object_type`, the caller must have either of the following sets of - * permissions: **MANAGE** and **USE_CATALOG** on the table's parent catalog. **USE_CATALOG** on - * the table's parent catalog, and **MANAGE** and **USE_SCHEMA** on the table's parent schema. - * **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's parent schema, and - * **MANAGE** on the table. + *

For the {@code table} {@code object_type}, the caller must have either of the following sets + * of permissions: MANAGE and USE_CATALOG on the table's parent catalog. + * USE_CATALOG on the table's parent catalog, and MANAGE and USE_SCHEMA on + * the table's parent schema. USE_CATALOG on the table's parent catalog, USE_SCHEMA + * on the table's parent schema, and MANAGE on the table. * *

Note that the metric tables and dashboard will not be deleted as part of this call; those * assets must be manually cleaned up (if desired). * - *

For the `schema` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog. 2. - * **USE_CATALOG** on the schema's parent catalog, and **MANAGE** and **USE_SCHEMA** on the - * schema. + *

For the {@code schema} {@code object_type}, the caller must have either of the following + * sets of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the schema's parent catalog. + *
  2. USE_CATALOG on the schema's parent catalog, and MANAGE and + * USE_SCHEMA on the schema. + *
*/ public void deleteMonitor(DeleteMonitorRequest request) { impl.deleteMonitor(request); @@ -120,15 +145,24 @@ public Monitor getMonitor(String objectType, String objectId) { /** * Read a data quality monitor on a Unity Catalog object. * - *

For the `table` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the table's parent catalog. 2. - * **USE_CATALOG** on the table's parent catalog, and **MANAGE** and **USE_SCHEMA** on the table's - * parent schema. 3. **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's - * parent schema, and **SELECT** on the table. + *

For the {@code table} {@code object_type}, the caller must have either of the following sets + * of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the table's parent catalog. + *
  2. USE_CATALOG on the table's parent catalog, and MANAGE and USE_SCHEMA + * on the table's parent schema. + *
  3. USE_CATALOG on the table's parent catalog, USE_SCHEMA on the table's parent + * schema, and SELECT on the table. + *
* - *

For the `schema` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog. 2. - * **USE_CATALOG** on the schema's parent catalog, and **USE_SCHEMA** on the schema. + *

For the {@code schema} {@code object_type}, the caller must have either of the following + * sets of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the schema's parent catalog. + *
  2. USE_CATALOG on the schema's parent catalog, and USE_SCHEMA on the schema. + *
* *

The returned information includes configuration values on the entity and parent entity as * well as information on assets created by the monitor. Some information (e.g. dashboard) may be @@ -150,15 +184,24 @@ public Refresh getRefresh(String objectType, String objectId, long refreshId) { * Get data quality monitor refresh. The call must be made in the same workspace as where the * monitor was created. * - *

For the `table` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the table's parent catalog. 2. - * **USE_CATALOG** on the table's parent catalog, and **MANAGE** and **USE_SCHEMA** on the table's - * parent schema. 3. **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's - * parent schema, and **SELECT** on the table. + *

For the {@code table} {@code object_type}, the caller must have either of the following sets + * of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the table's parent catalog. + *
  2. USE_CATALOG on the table's parent catalog, and MANAGE and USE_SCHEMA + * on the table's parent schema. + *
  3. USE_CATALOG on the table's parent catalog, USE_SCHEMA on the table's parent + * schema, and SELECT on the table. + *
* - *

For the `schema` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog. 2. - * **USE_CATALOG** on the schema's parent catalog, and **USE_SCHEMA** on the schema. + *

For the {@code schema} {@code object_type}, the caller must have either of the following + * sets of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the schema's parent catalog. + *
  2. USE_CATALOG on the schema's parent catalog, and USE_SCHEMA on the schema. + *
*/ public Refresh getRefresh(GetRefreshRequest request) { return impl.getRefresh(request); @@ -187,15 +230,24 @@ public Iterable listRefresh(String objectType, String objectId) { * List data quality monitor refreshes. The call must be made in the same workspace as where the * monitor was created. * - *

For the `table` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the table's parent catalog. 2. - * **USE_CATALOG** on the table's parent catalog, and **MANAGE** and **USE_SCHEMA** on the table's - * parent schema. 3. **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's - * parent schema, and **SELECT** on the table. + *

For the {@code table} {@code object_type}, the caller must have either of the following sets + * of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the table's parent catalog. + *
  2. USE_CATALOG on the table's parent catalog, and MANAGE and USE_SCHEMA + * on the table's parent schema. + *
  3. USE_CATALOG on the table's parent catalog, USE_SCHEMA on the table's parent + * schema, and SELECT on the table. + *
* - *

For the `schema` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog. 2. - * **USE_CATALOG** on the schema's parent catalog, and **USE_SCHEMA** on the schema. + *

For the {@code schema} {@code object_type}, the caller must have either of the following + * sets of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the schema's parent catalog. + *
  2. USE_CATALOG on the schema's parent catalog, and USE_SCHEMA on the schema. + *
*/ public Iterable listRefresh(ListRefreshRequest request) { return Paginator.newTokenPagination( @@ -214,16 +266,25 @@ public Iterable listRefresh(ListRefreshRequest request) { /** * Update a data quality monitor on Unity Catalog object. * - *

For the `table` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the table's parent catalog. 2. - * **USE_CATALOG** on the table's parent catalog, and **MANAGE** and **USE_SCHEMA** on the table's - * parent schema. 3. **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's - * parent schema, and **MANAGE** on the table. + *

For the {@code table} {@code object_type}, the caller must have either of the following sets + * of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the table's parent catalog. + *
  2. USE_CATALOG on the table's parent catalog, and MANAGE and USE_SCHEMA + * on the table's parent schema. + *
  3. USE_CATALOG on the table's parent catalog, USE_SCHEMA on the table's parent + * schema, and MANAGE on the table. + *
+ * + *

For the {@code schema} {@code object_type}, the caller must have either of the following + * sets of permissions: * - *

For the `schema` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog. 2. - * **USE_CATALOG** on the schema's parent catalog, and **MANAGE** and **USE_SCHEMA** on the - * schema. + *

    + *
  1. MANAGE and USE_CATALOG on the schema's parent catalog. + *
  2. USE_CATALOG on the schema's parent catalog, and MANAGE and + * USE_SCHEMA on the schema. + *
*/ public Monitor updateMonitor(UpdateMonitorRequest request) { return impl.updateMonitor(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DataQualityService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DataQualityService.java index b460c692f..bb5fedcd9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DataQualityService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DataQualityService.java @@ -4,7 +4,8 @@ import com.databricks.sdk.support.Generated; /** - * Manage the data quality of Unity Catalog objects (currently support `schema` and `table`) + * Manage the data quality of Unity Catalog objects (currently support {@code schema} and {@code + * table}) * *

This is the high-level interface, that contains generated methods. * @@ -13,66 +14,88 @@ @Generated public interface DataQualityService { /** - * Cancels a data quality monitor refresh. Currently only supported for the `table` `object_type`. - * The call must be made in the same workspace as where the monitor was created. - * - *

The caller must have either of the following sets of permissions: 1. **MANAGE** and - * **USE_CATALOG** on the table's parent catalog. 2. **USE_CATALOG** on the table's parent - * catalog, and **MANAGE** and **USE_SCHEMA** on the table's parent schema. 3. **USE_CATALOG** on - * the table's parent catalog, **USE_SCHEMA** on the table's parent schema, and **MANAGE** on the - * table. + * Cancels a data quality monitor refresh. Currently only supported for the {@code table} {@code + * object_type}. The call must be made in the same workspace as where the monitor was created. + * + *

The caller must have either of the following sets of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the table's parent catalog. + *
  2. USE_CATALOG on the table's parent catalog, and MANAGE and USE_SCHEMA + * on the table's parent schema. + *
  3. USE_CATALOG on the table's parent catalog, USE_SCHEMA on the table's parent + * schema, and MANAGE on the table. + *
*/ CancelRefreshResponse cancelRefresh(CancelRefreshRequest cancelRefreshRequest); /** - * Create a data quality monitor on a Unity Catalog object. The caller must provide either - * `anomaly_detection_config` for a schema monitor or `data_profiling_config` for a table monitor. - * - *

For the `table` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on - * the table's parent schema, and **SELECT** on the table 2. **USE_CATALOG** on the table's parent - * catalog, **MANAGE** and **USE_SCHEMA** on the table's parent schema, and **SELECT** on the - * table. 3. **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's parent - * schema, and **MANAGE** and **SELECT** on the table. + * Create a data quality monitor on a Unity Catalog object. The caller must provide either {@code + * anomaly_detection_config} for a schema monitor or {@code data_profiling_config} for a table + * monitor. + * + *

For the {@code table} {@code object_type}, the caller must have either of the following sets + * of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the table's parent catalog, USE_SCHEMA on + * the table's parent schema, and SELECT on the table + *
  2. USE_CATALOG on the table's parent catalog, MANAGE and USE_SCHEMA on + * the table's parent schema, and SELECT on the table. + *
  3. USE_CATALOG on the table's parent catalog, USE_SCHEMA on the table's parent + * schema, and MANAGE and SELECT on the table. + *
* *

Workspace assets, such as the dashboard, will be created in the workspace where this call * was made. * - *

For the `schema` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog. 2. - * **USE_CATALOG** on the schema's parent catalog, and **MANAGE** and **USE_SCHEMA** on the - * schema. + *

For the {@code schema} {@code object_type}, the caller must have either of the following + * sets of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the schema's parent catalog. + *
  2. USE_CATALOG on the schema's parent catalog, and MANAGE and + * USE_SCHEMA on the schema. + *
*/ Monitor createMonitor(CreateMonitorRequest createMonitorRequest); /** - * Creates a refresh. Currently only supported for the `table` `object_type`. The call must be - * made in the same workspace as where the monitor was created. - * - *

The caller must have either of the following sets of permissions: 1. **MANAGE** and - * **USE_CATALOG** on the table's parent catalog. 2. **USE_CATALOG** on the table's parent - * catalog, and **MANAGE** and **USE_SCHEMA** on the table's parent schema. 3. **USE_CATALOG** on - * the table's parent catalog, **USE_SCHEMA** on the table's parent schema, and **MANAGE** on the - * table. + * Creates a refresh. Currently only supported for the {@code table} {@code object_type}. The call + * must be made in the same workspace as where the monitor was created. + * + *

The caller must have either of the following sets of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the table's parent catalog. + *
  2. USE_CATALOG on the table's parent catalog, and MANAGE and USE_SCHEMA + * on the table's parent schema. + *
  3. USE_CATALOG on the table's parent catalog, USE_SCHEMA on the table's parent + * schema, and MANAGE on the table. + *
*/ Refresh createRefresh(CreateRefreshRequest createRefreshRequest); /** * Delete a data quality monitor on Unity Catalog object. * - *

For the `table` `object_type`, the caller must have either of the following sets of - * permissions: **MANAGE** and **USE_CATALOG** on the table's parent catalog. **USE_CATALOG** on - * the table's parent catalog, and **MANAGE** and **USE_SCHEMA** on the table's parent schema. - * **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's parent schema, and - * **MANAGE** on the table. + *

For the {@code table} {@code object_type}, the caller must have either of the following sets + * of permissions: MANAGE and USE_CATALOG on the table's parent catalog. + * USE_CATALOG on the table's parent catalog, and MANAGE and USE_SCHEMA on + * the table's parent schema. USE_CATALOG on the table's parent catalog, USE_SCHEMA + * on the table's parent schema, and MANAGE on the table. * *

Note that the metric tables and dashboard will not be deleted as part of this call; those * assets must be manually cleaned up (if desired). * - *

For the `schema` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog. 2. - * **USE_CATALOG** on the schema's parent catalog, and **MANAGE** and **USE_SCHEMA** on the - * schema. + *

For the {@code schema} {@code object_type}, the caller must have either of the following + * sets of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the schema's parent catalog. + *
  2. USE_CATALOG on the schema's parent catalog, and MANAGE and + * USE_SCHEMA on the schema. + *
*/ void deleteMonitor(DeleteMonitorRequest deleteMonitorRequest); @@ -82,15 +105,24 @@ public interface DataQualityService { /** * Read a data quality monitor on a Unity Catalog object. * - *

For the `table` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the table's parent catalog. 2. - * **USE_CATALOG** on the table's parent catalog, and **MANAGE** and **USE_SCHEMA** on the table's - * parent schema. 3. **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's - * parent schema, and **SELECT** on the table. + *

For the {@code table} {@code object_type}, the caller must have either of the following sets + * of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the table's parent catalog. + *
  2. USE_CATALOG on the table's parent catalog, and MANAGE and USE_SCHEMA + * on the table's parent schema. + *
  3. USE_CATALOG on the table's parent catalog, USE_SCHEMA on the table's parent + * schema, and SELECT on the table. + *
+ * + *

For the {@code schema} {@code object_type}, the caller must have either of the following + * sets of permissions: * - *

For the `schema` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog. 2. - * **USE_CATALOG** on the schema's parent catalog, and **USE_SCHEMA** on the schema. + *

    + *
  1. MANAGE and USE_CATALOG on the schema's parent catalog. + *
  2. USE_CATALOG on the schema's parent catalog, and USE_SCHEMA on the schema. + *
* *

The returned information includes configuration values on the entity and parent entity as * well as information on assets created by the monitor. Some information (e.g. dashboard) may be @@ -102,15 +134,24 @@ public interface DataQualityService { * Get data quality monitor refresh. The call must be made in the same workspace as where the * monitor was created. * - *

For the `table` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the table's parent catalog. 2. - * **USE_CATALOG** on the table's parent catalog, and **MANAGE** and **USE_SCHEMA** on the table's - * parent schema. 3. **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's - * parent schema, and **SELECT** on the table. + *

For the {@code table} {@code object_type}, the caller must have either of the following sets + * of permissions: * - *

For the `schema` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog. 2. - * **USE_CATALOG** on the schema's parent catalog, and **USE_SCHEMA** on the schema. + *

    + *
  1. MANAGE and USE_CATALOG on the table's parent catalog. + *
  2. USE_CATALOG on the table's parent catalog, and MANAGE and USE_SCHEMA + * on the table's parent schema. + *
  3. USE_CATALOG on the table's parent catalog, USE_SCHEMA on the table's parent + * schema, and SELECT on the table. + *
+ * + *

For the {@code schema} {@code object_type}, the caller must have either of the following + * sets of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the schema's parent catalog. + *
  2. USE_CATALOG on the schema's parent catalog, and USE_SCHEMA on the schema. + *
*/ Refresh getRefresh(GetRefreshRequest getRefreshRequest); @@ -121,31 +162,49 @@ public interface DataQualityService { * List data quality monitor refreshes. The call must be made in the same workspace as where the * monitor was created. * - *

For the `table` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the table's parent catalog. 2. - * **USE_CATALOG** on the table's parent catalog, and **MANAGE** and **USE_SCHEMA** on the table's - * parent schema. 3. **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's - * parent schema, and **SELECT** on the table. + *

For the {@code table} {@code object_type}, the caller must have either of the following sets + * of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the table's parent catalog. + *
  2. USE_CATALOG on the table's parent catalog, and MANAGE and USE_SCHEMA + * on the table's parent schema. + *
  3. USE_CATALOG on the table's parent catalog, USE_SCHEMA on the table's parent + * schema, and SELECT on the table. + *
* - *

For the `schema` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog. 2. - * **USE_CATALOG** on the schema's parent catalog, and **USE_SCHEMA** on the schema. + *

For the {@code schema} {@code object_type}, the caller must have either of the following + * sets of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the schema's parent catalog. + *
  2. USE_CATALOG on the schema's parent catalog, and USE_SCHEMA on the schema. + *
*/ ListRefreshResponse listRefresh(ListRefreshRequest listRefreshRequest); /** * Update a data quality monitor on Unity Catalog object. * - *

For the `table` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the table's parent catalog. 2. - * **USE_CATALOG** on the table's parent catalog, and **MANAGE** and **USE_SCHEMA** on the table's - * parent schema. 3. **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's - * parent schema, and **MANAGE** on the table. - * - *

For the `schema` `object_type`, the caller must have either of the following sets of - * permissions: 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog. 2. - * **USE_CATALOG** on the schema's parent catalog, and **MANAGE** and **USE_SCHEMA** on the - * schema. + *

For the {@code table} {@code object_type}, the caller must have either of the following sets + * of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the table's parent catalog. + *
  2. USE_CATALOG on the table's parent catalog, and MANAGE and USE_SCHEMA + * on the table's parent schema. + *
  3. USE_CATALOG on the table's parent catalog, USE_SCHEMA on the table's parent + * schema, and MANAGE on the table. + *
+ * + *

For the {@code schema} {@code object_type}, the caller must have either of the following + * sets of permissions: + * + *

    + *
  1. MANAGE and USE_CATALOG on the schema's parent catalog. + *
  2. USE_CATALOG on the schema's parent catalog, and MANAGE and + * USE_SCHEMA on the schema. + *
*/ Monitor updateMonitor(UpdateMonitorRequest updateMonitorRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DeleteMonitorRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DeleteMonitorRequest.java index e9454af2a..368b58b26 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DeleteMonitorRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DeleteMonitorRequest.java @@ -10,21 +10,35 @@ @Generated public class DeleteMonitorRequest { /** - * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`. + * The UUID of the request object. It is {@code schema_id} for {@code schema}, and {@code + * table_id} for {@code table}. * - *

Find the `schema_id` from either: 1. The [schema_id] of the `Schemas` resource. 2. In - * [Catalog Explorer] > select the `schema` > go to the `Details` tab > the `Schema ID` field. + *

Find the {@code schema_id} from either: * - *

Find the `table_id` from either: 1. The [table_id] of the `Tables` resource. 2. In [Catalog - * Explorer] > select the `table` > go to the `Details` tab > the `Table ID` field. + *

    + *
  1. The schema_id of + * the {@code Schemas} resource. + *
  2. In Catalog Explorer + * > select the {@code schema} > go to the {@code Details} tab > the {@code Schema + * ID} field. + *
* - *

[Catalog Explorer]: https://docs.databricks.com/aws/en/catalog-explorer/ [schema_id]: - * https://docs.databricks.com/api/workspace/schemas/get#schema_id [table_id]: - * https://docs.databricks.com/api/workspace/tables/get#table_id + *

Find the {@code table_id} from either: + * + *

    + *
  1. The table_id + * of the {@code Tables} resource. + *
  2. In Catalog Explorer + * > select the {@code table} > go to the {@code Details} tab > the {@code Table + * ID} field. + *
*/ @JsonIgnore private String objectId; - /** The type of the monitored object. Can be one of the following: `schema` or `table`. */ + /** + * The type of the monitored object. Can be one of the following: {@code schema} or {@code table}. + */ @JsonIgnore private String objectType; public DeleteMonitorRequest setObjectId(String objectId) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DeleteRefreshRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DeleteRefreshRequest.java index eb9df5efd..a6e464d3b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DeleteRefreshRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/DeleteRefreshRequest.java @@ -10,21 +10,35 @@ @Generated public class DeleteRefreshRequest { /** - * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`. + * The UUID of the request object. It is {@code schema_id} for {@code schema}, and {@code + * table_id} for {@code table}. * - *

Find the `schema_id` from either: 1. The [schema_id] of the `Schemas` resource. 2. In - * [Catalog Explorer] > select the `schema` > go to the `Details` tab > the `Schema ID` field. + *

Find the {@code schema_id} from either: * - *

Find the `table_id` from either: 1. The [table_id] of the `Tables` resource. 2. In [Catalog - * Explorer] > select the `table` > go to the `Details` tab > the `Table ID` field. + *

    + *
  1. The schema_id of + * the {@code Schemas} resource. + *
  2. In Catalog Explorer + * > select the {@code schema} > go to the {@code Details} tab > the {@code Schema + * ID} field. + *
* - *

[Catalog Explorer]: https://docs.databricks.com/aws/en/catalog-explorer/ [schema_id]: - * https://docs.databricks.com/api/workspace/schemas/get#schema_id [table_id]: - * https://docs.databricks.com/api/workspace/tables/get#table_id + *

Find the {@code table_id} from either: + * + *

    + *
  1. The table_id + * of the {@code Tables} resource. + *
  2. In Catalog Explorer + * > select the {@code table} > go to the {@code Details} tab > the {@code Table + * ID} field. + *
*/ @JsonIgnore private String objectId; - /** The type of the monitored object. Can be one of the following: `schema` or `table`. */ + /** + * The type of the monitored object. Can be one of the following: {@code schema} or {@code table}. + */ @JsonIgnore private String objectType; /** Unique id of the refresh operation. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/GetMonitorRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/GetMonitorRequest.java index 09e378f08..e4960d32d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/GetMonitorRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/GetMonitorRequest.java @@ -10,21 +10,35 @@ @Generated public class GetMonitorRequest { /** - * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`. + * The UUID of the request object. It is {@code schema_id} for {@code schema}, and {@code + * table_id} for {@code table}. * - *

Find the `schema_id` from either: 1. The [schema_id] of the `Schemas` resource. 2. In - * [Catalog Explorer] > select the `schema` > go to the `Details` tab > the `Schema ID` field. + *

Find the {@code schema_id} from either: * - *

Find the `table_id` from either: 1. The [table_id] of the `Tables` resource. 2. In [Catalog - * Explorer] > select the `table` > go to the `Details` tab > the `Table ID` field. + *

    + *
  1. The schema_id of + * the {@code Schemas} resource. + *
  2. In Catalog Explorer + * > select the {@code schema} > go to the {@code Details} tab > the {@code Schema + * ID} field. + *
* - *

[Catalog Explorer]: https://docs.databricks.com/aws/en/catalog-explorer/ [schema_id]: - * https://docs.databricks.com/api/workspace/schemas/get#schema_id [table_id]: - * https://docs.databricks.com/api/workspace/tables/get#table_id + *

Find the {@code table_id} from either: + * + *

    + *
  1. The table_id + * of the {@code Tables} resource. + *
  2. In Catalog Explorer + * > select the {@code table} > go to the {@code Details} tab > the {@code Table + * ID} field. + *
*/ @JsonIgnore private String objectId; - /** The type of the monitored object. Can be one of the following: `schema` or `table`. */ + /** + * The type of the monitored object. Can be one of the following: {@code schema} or {@code table}. + */ @JsonIgnore private String objectType; public GetMonitorRequest setObjectId(String objectId) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/GetRefreshRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/GetRefreshRequest.java index 6d9c2ac78..d7f65e826 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/GetRefreshRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/GetRefreshRequest.java @@ -10,21 +10,35 @@ @Generated public class GetRefreshRequest { /** - * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`. + * The UUID of the request object. It is {@code schema_id} for {@code schema}, and {@code + * table_id} for {@code table}. * - *

Find the `schema_id` from either: 1. The [schema_id] of the `Schemas` resource. 2. In - * [Catalog Explorer] > select the `schema` > go to the `Details` tab > the `Schema ID` field. + *

Find the {@code schema_id} from either: * - *

Find the `table_id` from either: 1. The [table_id] of the `Tables` resource. 2. In [Catalog - * Explorer] > select the `table` > go to the `Details` tab > the `Table ID` field. + *

    + *
  1. The schema_id of + * the {@code Schemas} resource. + *
  2. In Catalog Explorer + * > select the {@code schema} > go to the {@code Details} tab > the {@code Schema + * ID} field. + *
* - *

[Catalog Explorer]: https://docs.databricks.com/aws/en/catalog-explorer/ [schema_id]: - * https://docs.databricks.com/api/workspace/schemas/get#schema_id [table_id]: - * https://docs.databricks.com/api/workspace/tables/get#table_id + *

Find the {@code table_id} from either: + * + *

    + *
  1. The table_id + * of the {@code Tables} resource. + *
  2. In Catalog Explorer + * > select the {@code table} > go to the {@code Details} tab > the {@code Table + * ID} field. + *
*/ @JsonIgnore private String objectId; - /** The type of the monitored object. Can be one of the following: `schema` or `table`. */ + /** + * The type of the monitored object. Can be one of the following: {@code schema} or {@code table}. + */ @JsonIgnore private String objectType; /** Unique id of the refresh operation. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/ListRefreshRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/ListRefreshRequest.java index 01826e96b..bab3f547e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/ListRefreshRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/ListRefreshRequest.java @@ -11,21 +11,35 @@ @Generated public class ListRefreshRequest { /** - * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`. + * The UUID of the request object. It is {@code schema_id} for {@code schema}, and {@code + * table_id} for {@code table}. * - *

Find the `schema_id` from either: 1. The [schema_id] of the `Schemas` resource. 2. In - * [Catalog Explorer] > select the `schema` > go to the `Details` tab > the `Schema ID` field. + *

Find the {@code schema_id} from either: * - *

Find the `table_id` from either: 1. The [table_id] of the `Tables` resource. 2. In [Catalog - * Explorer] > select the `table` > go to the `Details` tab > the `Table ID` field. + *

    + *
  1. The schema_id of + * the {@code Schemas} resource. + *
  2. In Catalog Explorer + * > select the {@code schema} > go to the {@code Details} tab > the {@code Schema + * ID} field. + *
* - *

[Catalog Explorer]: https://docs.databricks.com/aws/en/catalog-explorer/ [schema_id]: - * https://docs.databricks.com/api/workspace/schemas/get#schema_id [table_id]: - * https://docs.databricks.com/api/workspace/tables/get#table_id + *

Find the {@code table_id} from either: + * + *

    + *
  1. The table_id + * of the {@code Tables} resource. + *
  2. In Catalog Explorer + * > select the {@code table} > go to the {@code Details} tab > the {@code Table + * ID} field. + *
*/ @JsonIgnore private String objectId; - /** The type of the monitored object. Can be one of the following: `schema` or `table`. */ + /** + * The type of the monitored object. Can be one of the following: {@code schema} or {@code table}. + */ @JsonIgnore private String objectType; /** */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/Monitor.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/Monitor.java index c4b94c1fe..6837d650a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/Monitor.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/Monitor.java @@ -10,34 +10,48 @@ /** Monitor for the data quality of unity catalog entities such as schema or table. */ @Generated public class Monitor { - /** Anomaly Detection Configuration, applicable to `schema` object types. */ + /** Anomaly Detection Configuration, applicable to {@code schema} object types. */ @JsonProperty("anomaly_detection_config") private AnomalyDetectionConfig anomalyDetectionConfig; /** - * Data Profiling Configuration, applicable to `table` object types. Exactly one `Analysis - * Configuration` must be present. + * Data Profiling Configuration, applicable to {@code table} object types. Exactly one {@code + * Analysis Configuration} must be present. */ @JsonProperty("data_profiling_config") private DataProfilingConfig dataProfilingConfig; /** - * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`. + * The UUID of the request object. It is {@code schema_id} for {@code schema}, and {@code + * table_id} for {@code table}. * - *

Find the `schema_id` from either: 1. The [schema_id] of the `Schemas` resource. 2. In - * [Catalog Explorer] > select the `schema` > go to the `Details` tab > the `Schema ID` field. + *

Find the {@code schema_id} from either: * - *

Find the `table_id` from either: 1. The [table_id] of the `Tables` resource. 2. In [Catalog - * Explorer] > select the `table` > go to the `Details` tab > the `Table ID` field. + *

    + *
  1. The schema_id of + * the {@code Schemas} resource. + *
  2. In Catalog Explorer + * > select the {@code schema} > go to the {@code Details} tab > the {@code Schema + * ID} field. + *
* - *

[Catalog Explorer]: https://docs.databricks.com/aws/en/catalog-explorer/ [schema_id]: - * https://docs.databricks.com/api/workspace/schemas/get#schema_id [table_id]: - * https://docs.databricks.com/api/workspace/tables/get#table_id + *

Find the {@code table_id} from either: + * + *

    + *
  1. The table_id + * of the {@code Tables} resource. + *
  2. In Catalog Explorer + * > select the {@code table} > go to the {@code Details} tab > the {@code Table + * ID} field. + *
*/ @JsonProperty("object_id") private String objectId; - /** The type of the monitored object. Can be one of the following: `schema` or `table`. */ + /** + * The type of the monitored object. Can be one of the following: {@code schema} or {@code table}. + */ @JsonProperty("object_type") private String objectType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/Refresh.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/Refresh.java index e5d1e7659..363e282fc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/Refresh.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/Refresh.java @@ -22,22 +22,36 @@ public class Refresh { private String message; /** - * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`. + * The UUID of the request object. It is {@code schema_id} for {@code schema}, and {@code + * table_id} for {@code table}. * - *

Find the `schema_id` from either: 1. The [schema_id] of the `Schemas` resource. 2. In - * [Catalog Explorer] > select the `schema` > go to the `Details` tab > the `Schema ID` field. + *

Find the {@code schema_id} from either: * - *

Find the `table_id` from either: 1. The [table_id] of the `Tables` resource. 2. In [Catalog - * Explorer] > select the `table` > go to the `Details` tab > the `Table ID` field. + *

    + *
  1. The schema_id of + * the {@code Schemas} resource. + *
  2. In Catalog Explorer + * > select the {@code schema} > go to the {@code Details} tab > the {@code Schema + * ID} field. + *
* - *

[Catalog Explorer]: https://docs.databricks.com/aws/en/catalog-explorer/ [schema_id]: - * https://docs.databricks.com/api/workspace/schemas/get#schema_id [table_id]: - * https://docs.databricks.com/api/workspace/tables/get#table_id + *

Find the {@code table_id} from either: + * + *

    + *
  1. The table_id + * of the {@code Tables} resource. + *
  2. In Catalog Explorer + * > select the {@code table} > go to the {@code Details} tab > the {@code Table + * ID} field. + *
*/ @JsonProperty("object_id") private String objectId; - /** The type of the monitored object. Can be one of the following: `schema`or `table`. */ + /** + * The type of the monitored object. Can be one of the following: {@code schema}or {@code table}. + */ @JsonProperty("object_type") private String objectType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/UpdateMonitorRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/UpdateMonitorRequest.java index 8331e7d3f..31e46c938 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/UpdateMonitorRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/UpdateMonitorRequest.java @@ -16,26 +16,41 @@ public class UpdateMonitorRequest { private Monitor monitor; /** - * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`. + * The UUID of the request object. It is {@code schema_id} for {@code schema}, and {@code + * table_id} for {@code table}. * - *

Find the `schema_id` from either: 1. The [schema_id] of the `Schemas` resource. 2. In - * [Catalog Explorer] > select the `schema` > go to the `Details` tab > the `Schema ID` field. + *

Find the {@code schema_id} from either: * - *

Find the `table_id` from either: 1. The [table_id] of the `Tables` resource. 2. In [Catalog - * Explorer] > select the `table` > go to the `Details` tab > the `Table ID` field. + *

    + *
  1. The schema_id of + * the {@code Schemas} resource. + *
  2. In Catalog Explorer + * > select the {@code schema} > go to the {@code Details} tab > the {@code Schema + * ID} field. + *
* - *

[Catalog Explorer]: https://docs.databricks.com/aws/en/catalog-explorer/ [schema_id]: - * https://docs.databricks.com/api/workspace/schemas/get#schema_id [table_id]: - * https://docs.databricks.com/api/workspace/tables/get#table_id + *

Find the {@code table_id} from either: + * + *

    + *
  1. The table_id + * of the {@code Tables} resource. + *
  2. In Catalog Explorer + * > select the {@code table} > go to the {@code Details} tab > the {@code Table + * ID} field. + *
*/ @JsonIgnore private String objectId; - /** The type of the monitored object. Can be one of the following: `schema` or `table`. */ + /** + * The type of the monitored object. Can be one of the following: {@code schema} or {@code table}. + */ @JsonIgnore private String objectType; /** * The field mask to specify which fields to update as a comma-separated list. Example value: - * `data_profiling_config.custom_metrics,data_profiling_config.schedule.quartz_cron_expression` + * {@code + * data_profiling_config.custom_metrics,data_profiling_config.schedule.quartz_cron_expression} */ @JsonIgnore @QueryParam("update_mask") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/UpdateRefreshRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/UpdateRefreshRequest.java index 56f63c1cd..19948b7d7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/UpdateRefreshRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dataquality/UpdateRefreshRequest.java @@ -12,21 +12,35 @@ @Generated public class UpdateRefreshRequest { /** - * The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`. + * The UUID of the request object. It is {@code schema_id} for {@code schema}, and {@code + * table_id} for {@code table}. * - *

Find the `schema_id` from either: 1. The [schema_id] of the `Schemas` resource. 2. In - * [Catalog Explorer] > select the `schema` > go to the `Details` tab > the `Schema ID` field. + *

Find the {@code schema_id} from either: * - *

Find the `table_id` from either: 1. The [table_id] of the `Tables` resource. 2. In [Catalog - * Explorer] > select the `table` > go to the `Details` tab > the `Table ID` field. + *

    + *
  1. The schema_id of + * the {@code Schemas} resource. + *
  2. In Catalog Explorer + * > select the {@code schema} > go to the {@code Details} tab > the {@code Schema + * ID} field. + *
* - *

[Catalog Explorer]: https://docs.databricks.com/aws/en/catalog-explorer/ [schema_id]: - * https://docs.databricks.com/api/workspace/schemas/get#schema_id [table_id]: - * https://docs.databricks.com/api/workspace/tables/get#table_id + *

Find the {@code table_id} from either: + * + *

    + *
  1. The table_id + * of the {@code Tables} resource. + *
  2. In Catalog Explorer + * > select the {@code table} > go to the {@code Details} tab > the {@code Table + * ID} field. + *
*/ @JsonIgnore private String objectId; - /** The type of the monitored object. Can be one of the following: `schema` or `table`. */ + /** + * The type of the monitored object. Can be one of the following: {@code schema} or {@code table}. + */ @JsonIgnore private String objectType; /** The refresh to update. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/DisasterRecoveryAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/DisasterRecoveryAPI.java index 553be654a..15bb27d30 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/DisasterRecoveryAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/DisasterRecoveryAPI.java @@ -82,8 +82,8 @@ public Iterable listFailoverGroups(String parent) { /** * List failover groups. * - *

List entries are abbreviated: `state` and `replication_point` are not populated. Call - * GetFailoverGroup to retrieve the full resource. + *

List entries are abbreviated: {@code state} and {@code replication_point} are not populated. + * Call GetFailoverGroup to retrieve the full resource. */ public Iterable listFailoverGroups(ListFailoverGroupsRequest request) { return Paginator.newTokenPagination( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/DisasterRecoveryService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/DisasterRecoveryService.java index b59ee3e3a..4e3ddaf03 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/DisasterRecoveryService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/DisasterRecoveryService.java @@ -36,8 +36,8 @@ public interface DisasterRecoveryService { /** * List failover groups. * - *

List entries are abbreviated: `state` and `replication_point` are not populated. Call - * GetFailoverGroup to retrieve the full resource. + *

List entries are abbreviated: {@code state} and {@code replication_point} are not populated. + * Call GetFailoverGroup to retrieve the full resource. */ ListFailoverGroupsResponse listFailoverGroups( ListFailoverGroupsRequest listFailoverGroupsRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/ListFailoverGroupsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/ListFailoverGroupsRequest.java index 862169cd6..13549d2fc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/ListFailoverGroupsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/ListFailoverGroupsRequest.java @@ -11,10 +11,15 @@ @Generated public class ListFailoverGroupsRequest { /** - * Maximum number of failover groups to return per page: - when set to a value greater than 0, the - * page length is the minimum of this value and a server configured value; - when set to 0 or - * unset, the page length is set to a server configured value (recommended); - when set to a value - * less than 0, an invalid parameter error is returned. + * Maximum number of failover groups to return per page: + * + *

    + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
  • when set to 0 or unset, the page length is set to a server configured value + * (recommended); + *
  • when set to a value less than 0, an invalid parameter error is returned. + *
*/ @JsonIgnore @QueryParam("page_size") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/ListStableUrlsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/ListStableUrlsRequest.java index f720588e8..296dd8f85 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/ListStableUrlsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/ListStableUrlsRequest.java @@ -11,10 +11,15 @@ @Generated public class ListStableUrlsRequest { /** - * Maximum number of stable URLs to return per page: - when set to a value greater than 0, the - * page length is the minimum of this value and a server configured value; - when set to 0 or - * unset, the page length is set to a server configured value (recommended); - when set to a value - * less than 0, an invalid parameter error is returned. + * Maximum number of stable URLs to return per page: + * + *
    + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
  • when set to 0 or unset, the page length is set to a server configured value + * (recommended); + *
  • when set to a value less than 0, an invalid parameter error is returned. + *
*/ @JsonIgnore @QueryParam("page_size") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/LocationMappingEntry.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/LocationMappingEntry.java index c83e93499..a34d9ce26 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/LocationMappingEntry.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/LocationMappingEntry.java @@ -9,7 +9,7 @@ /** * A single entry in a location mapping, mapping a region to a storage URI. Used instead of - * map for proto2 compatibility. + * map<string, string> for proto2 compatibility. */ @Generated public class LocationMappingEntry { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/StableUrl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/StableUrl.java index 3e6b30ea1..0b792dab4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/StableUrl.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/disasterrecovery/StableUrl.java @@ -15,8 +15,8 @@ public class StableUrl { /** * Fully qualified resource name of the FailoverGroup this stable URL is currently linked to, in - * the format `accounts/{account_id}/failover-groups/{failover_group_id}`. Empty when the stable - * URL is not attached to any failover group. + * the format {@code accounts/{account_id}/failover-groups/{failover_group_id}}. Empty when the + * stable URL is not attached to any failover group. */ @JsonProperty("failover_group_name") private String failoverGroupName; @@ -34,8 +34,8 @@ public class StableUrl { /** * The stable URL endpoint. Generated on creation and immutable thereafter. For non-Private-Link - * workspaces this is `https:///?c=`. For Private-Link workspaces this - * is the per-connection hostname. + * workspaces this is {@code https:///?c=}. For Private-Link workspaces + * this is the per-connection hostname. */ @JsonProperty("url") private String url; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/environments/EnvironmentsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/environments/EnvironmentsAPI.java index 9ff5042e9..c46676f5b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/environments/EnvironmentsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/environments/EnvironmentsAPI.java @@ -96,14 +96,15 @@ public WorkspaceBaseEnvironment getWorkspaceBaseEnvironment( * *

Databricks provides the following base environments: * - *

- `workspace-base-environments/databricks_ai_...`: includes popular AI and deep learning - * packages for serverless GPU compute. + *

    + *
  • {@code workspace-base-environments/databricks_ai_...}: includes popular AI and deep + * learning packages for serverless GPU compute. + *
  • {@code workspace-base-environments/databricks_ml_...}: includes popular ML packages for + * serverless compute. + *
* - *

- `workspace-base-environments/databricks_ml_...`: includes popular ML packages for - * serverless compute. - * - *

Databricks-provided base environments are versioned. For example, - * `workspace-base-environments/databricks_ml_v5` corresponds to the ML environment built on + *

Databricks-provided base environments are versioned. For example, {@code + * workspace-base-environments/databricks_ml_v5} corresponds to the ML environment built on * environment version 5. */ public Iterable listWorkspaceBaseEnvironments( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/environments/EnvironmentsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/environments/EnvironmentsService.java index 945f703d8..de6b724d3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/environments/EnvironmentsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/environments/EnvironmentsService.java @@ -55,14 +55,15 @@ WorkspaceBaseEnvironment getWorkspaceBaseEnvironment( * *

Databricks provides the following base environments: * - *

- `workspace-base-environments/databricks_ai_...`: includes popular AI and deep learning - * packages for serverless GPU compute. + *

    + *
  • {@code workspace-base-environments/databricks_ai_...}: includes popular AI and deep + * learning packages for serverless GPU compute. + *
  • {@code workspace-base-environments/databricks_ml_...}: includes popular ML packages for + * serverless compute. + *
* - *

- `workspace-base-environments/databricks_ml_...`: includes popular ML packages for - * serverless compute. - * - *

Databricks-provided base environments are versioned. For example, - * `workspace-base-environments/databricks_ml_v5` corresponds to the ML environment built on + *

Databricks-provided base environments are versioned. For example, {@code + * workspace-base-environments/databricks_ml_v5} corresponds to the ML environment built on * environment version 5. */ ListWorkspaceBaseEnvironmentsResponse listWorkspaceBaseEnvironments( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/environments/Operation.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/environments/Operation.java index bb01510f4..21530936d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/environments/Operation.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/environments/Operation.java @@ -11,8 +11,8 @@ @Generated public class Operation { /** - * If the value is `false`, it means the operation is still in progress. If `true`, the operation - * is completed, and either `error` or `response` is available. + * If the value is {@code false}, it means the operation is still in progress. If {@code true}, + * the operation is completed, and either {@code error} or {@code response} is available. */ @JsonProperty("done") private Boolean done; @@ -31,8 +31,8 @@ public class Operation { /** * The server-assigned name, which is only unique within the same service that originally returns - * it. If you use the default HTTP mapping, the `name` should be a resource name ending with - * `operations/{unique_id}`. + * it. If you use the default HTTP mapping, the {@code name} should be a resource name ending with + * {@code operations/{unique_id}}. */ @JsonProperty("name") private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DbfsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DbfsAPI.java index f50fc4a32..560a6cd40 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DbfsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DbfsAPI.java @@ -29,10 +29,10 @@ public DbfsAPI(DbfsService mock) { /** * Appends a block of data to the stream specified by the input handle. If the handle does not - * exist, this call will throw an exception with ``RESOURCE_DOES_NOT_EXIST``. + * exist, this call will throw an exception with {@code RESOURCE_DOES_NOT_EXIST}. * - *

If the block of data exceeds 1 MB, this call will throw an exception with - * ``MAX_BLOCK_SIZE_EXCEEDED``. + *

If the block of data exceeds 1 MB, this call will throw an exception with {@code + * MAX_BLOCK_SIZE_EXCEEDED}. */ public void addBlock(AddBlock request) { impl.addBlock(request); @@ -44,7 +44,7 @@ public void close(long handle) { /** * Closes the stream specified by the input handle. If the handle does not exist, this call throws - * an exception with ``RESOURCE_DOES_NOT_EXIST``. + * an exception with {@code RESOURCE_DOES_NOT_EXIST}. */ public void close(Close request) { impl.close(request); @@ -53,13 +53,16 @@ public void close(Close request) { /** * Opens a stream to write to a file and returns a handle to this stream. There is a 10 minute * idle timeout on this handle. If a file or directory already exists on the given path and - * __overwrite__ is set to false, this call will throw an exception with - * ``RESOURCE_ALREADY_EXISTS``. + * overwrite is set to false, this call will throw an exception with {@code + * RESOURCE_ALREADY_EXISTS}. * *

A typical workflow for file upload would be: * - *

1. Issue a ``create`` call and get a handle. 2. Issue one or more ``add-block`` calls with - * the handle you have. 3. Issue a ``close`` call with the handle you have. + *

    + *
  1. Issue a {@code create} call and get a handle. + *
  2. Issue one or more {@code add-block} calls with the handle you have. + *
  3. Issue a {@code close} call with the handle you have. + *
*/ public CreateResponse create(Create request) { return impl.create(request); @@ -67,8 +70,8 @@ public CreateResponse create(Create request) { /** * Delete the file or directory (optionally recursively delete all files in the directory). This - * call throws an exception with `IO_ERROR` if the path is a non-empty directory and `recursive` - * is set to `false` or on other similar errors. + * call throws an exception with {@code IO_ERROR} if the path is a non-empty directory and {@code + * recursive} is set to {@code false} or on other similar errors. * *

When you delete a large number of files, the delete operation is done in increments. The * call returns a response after approximately 45 seconds with an error message (503 Service @@ -76,11 +79,11 @@ public CreateResponse create(Create request) { * fully deleted. * *

For operations that delete more than 10K files, we discourage using the DBFS REST API, but - * advise you to perform such operations in the context of a cluster, using the [File system - * utility (dbutils.fs)](/dev-tools/databricks-utils.html#dbutils-fs). `dbutils.fs` covers the - * functional scope of the DBFS REST API, but from notebooks. Running such operations using - * notebooks provides better control and manageability, such as selective deletes, and the - * possibility to automate periodic delete jobs. + * advise you to perform such operations in the context of a cluster, using the File system utility (dbutils.fs). {@code + * dbutils.fs} covers the functional scope of the DBFS REST API, but from notebooks. Running such + * operations using notebooks provides better control and manageability, such as selective + * deletes, and the possibility to automate periodic delete jobs. */ public void delete(Delete request) { impl.delete(request); @@ -92,7 +95,7 @@ public FileInfo getStatus(String path) { /** * Gets the file information for a file or directory. If the file or directory does not exist, - * this call throws an exception with `RESOURCE_DOES_NOT_EXIST`. + * this call throws an exception with {@code RESOURCE_DOES_NOT_EXIST}. */ public FileInfo getStatus(GetStatusRequest request) { return impl.getStatus(request); @@ -104,14 +107,14 @@ public Iterable list(String path) { /** * List the contents of a directory, or details of the file. If the file or directory does not - * exist, this call throws an exception with `RESOURCE_DOES_NOT_EXIST`. + * exist, this call throws an exception with {@code RESOURCE_DOES_NOT_EXIST}. * *

When calling list on a large directory, the list operation will time out after approximately * 60 seconds. We strongly recommend using list only on directories containing less than 10K files * and discourage using the DBFS REST API for operations that list more than 10K files. Instead, - * we recommend that you perform such operations in the context of a cluster, using the [File - * system utility (dbutils.fs)](/dev-tools/databricks-utils.html#dbutils-fs), which provides the - * same functionality without timing out. + * we recommend that you perform such operations in the context of a cluster, using the File system utility (dbutils.fs), which + * provides the same functionality without timing out. */ public Iterable list(ListDbfsRequest request) { return Paginator.newOffsetPagination( @@ -125,8 +128,8 @@ public void mkdirs(String path) { /** * Creates the given directory and necessary parent directories if they do not exist. If a file * (not a directory) exists at any prefix of the input path, this call throws an exception with - * `RESOURCE_ALREADY_EXISTS`. **Note**: If this operation fails, it might have succeeded in - * creating some of the necessary parent directories. + * {@code RESOURCE_ALREADY_EXISTS}. Note: If this operation fails, it might have succeeded + * in creating some of the necessary parent directories. */ public void mkdirs(MkDirs request) { impl.mkdirs(request); @@ -134,9 +137,10 @@ public void mkdirs(MkDirs request) { /** * Moves a file from one location to another location within DBFS. If the source file does not - * exist, this call throws an exception with `RESOURCE_DOES_NOT_EXIST`. If a file already exists - * in the destination path, this call throws an exception with `RESOURCE_ALREADY_EXISTS`. If the - * given source path is a directory, this call always recursively moves all files. + * exist, this call throws an exception with {@code RESOURCE_DOES_NOT_EXIST}. If a file already + * exists in the destination path, this call throws an exception with {@code + * RESOURCE_ALREADY_EXISTS}. If the given source path is a directory, this call always recursively + * moves all files. */ public void move(Move request) { impl.move(request); @@ -148,8 +152,9 @@ public void move(Move request) { * *

Alternatively you can pass contents as base64 string. * - *

The amount of data that can be passed (when not streaming) using the __contents__ parameter - * is limited to 1 MB. `MAX_BLOCK_SIZE_EXCEEDED` will be thrown if this limit is exceeded. + *

The amount of data that can be passed (when not streaming) using the contents + * parameter is limited to 1 MB. {@code MAX_BLOCK_SIZE_EXCEEDED} will be thrown if this limit is + * exceeded. * *

If you want to upload large files, use the streaming upload. For details, see * :method:dbfs/create, :method:dbfs/addBlock, :method:dbfs/close. @@ -164,12 +169,13 @@ public ReadResponse read(String path) { /** * Returns the contents of a file. If the file does not exist, this call throws an exception with - * `RESOURCE_DOES_NOT_EXIST`. If the path is a directory, the read length is negative, or if the - * offset is negative, this call throws an exception with `INVALID_PARAMETER_VALUE`. If the read - * length exceeds 1 MB, this call throws an exception with `MAX_READ_SIZE_EXCEEDED`. + * {@code RESOURCE_DOES_NOT_EXIST}. If the path is a directory, the read length is negative, or if + * the offset is negative, this call throws an exception with {@code INVALID_PARAMETER_VALUE}. If + * the read length exceeds 1 MB, this call throws an exception with {@code + * MAX_READ_SIZE_EXCEEDED}. * - *

If `offset + length` exceeds the number of bytes in a file, it reads the contents until the - * end of file. + *

If {@code offset + length} exceeds the number of bytes in a file, it reads the contents + * until the end of file. */ public ReadResponse read(ReadDbfsRequest request) { return impl.read(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DbfsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DbfsService.java index f2457b67f..f0fff6beb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DbfsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/DbfsService.java @@ -15,36 +15,39 @@ public interface DbfsService { /** * Appends a block of data to the stream specified by the input handle. If the handle does not - * exist, this call will throw an exception with ``RESOURCE_DOES_NOT_EXIST``. + * exist, this call will throw an exception with {@code RESOURCE_DOES_NOT_EXIST}. * - *

If the block of data exceeds 1 MB, this call will throw an exception with - * ``MAX_BLOCK_SIZE_EXCEEDED``. + *

If the block of data exceeds 1 MB, this call will throw an exception with {@code + * MAX_BLOCK_SIZE_EXCEEDED}. */ void addBlock(AddBlock addBlock); /** * Closes the stream specified by the input handle. If the handle does not exist, this call throws - * an exception with ``RESOURCE_DOES_NOT_EXIST``. + * an exception with {@code RESOURCE_DOES_NOT_EXIST}. */ void close(Close close); /** * Opens a stream to write to a file and returns a handle to this stream. There is a 10 minute * idle timeout on this handle. If a file or directory already exists on the given path and - * __overwrite__ is set to false, this call will throw an exception with - * ``RESOURCE_ALREADY_EXISTS``. + * overwrite is set to false, this call will throw an exception with {@code + * RESOURCE_ALREADY_EXISTS}. * *

A typical workflow for file upload would be: * - *

1. Issue a ``create`` call and get a handle. 2. Issue one or more ``add-block`` calls with - * the handle you have. 3. Issue a ``close`` call with the handle you have. + *

    + *
  1. Issue a {@code create} call and get a handle. + *
  2. Issue one or more {@code add-block} calls with the handle you have. + *
  3. Issue a {@code close} call with the handle you have. + *
*/ CreateResponse create(Create create); /** * Delete the file or directory (optionally recursively delete all files in the directory). This - * call throws an exception with `IO_ERROR` if the path is a non-empty directory and `recursive` - * is set to `false` or on other similar errors. + * call throws an exception with {@code IO_ERROR} if the path is a non-empty directory and {@code + * recursive} is set to {@code false} or on other similar errors. * *

When you delete a large number of files, the delete operation is done in increments. The * call returns a response after approximately 45 seconds with an error message (503 Service @@ -52,46 +55,47 @@ public interface DbfsService { * fully deleted. * *

For operations that delete more than 10K files, we discourage using the DBFS REST API, but - * advise you to perform such operations in the context of a cluster, using the [File system - * utility (dbutils.fs)](/dev-tools/databricks-utils.html#dbutils-fs). `dbutils.fs` covers the - * functional scope of the DBFS REST API, but from notebooks. Running such operations using - * notebooks provides better control and manageability, such as selective deletes, and the - * possibility to automate periodic delete jobs. + * advise you to perform such operations in the context of a cluster, using the File system utility (dbutils.fs). {@code + * dbutils.fs} covers the functional scope of the DBFS REST API, but from notebooks. Running such + * operations using notebooks provides better control and manageability, such as selective + * deletes, and the possibility to automate periodic delete jobs. */ void delete(Delete delete); /** * Gets the file information for a file or directory. If the file or directory does not exist, - * this call throws an exception with `RESOURCE_DOES_NOT_EXIST`. + * this call throws an exception with {@code RESOURCE_DOES_NOT_EXIST}. */ FileInfo getStatus(GetStatusRequest getStatusRequest); /** * List the contents of a directory, or details of the file. If the file or directory does not - * exist, this call throws an exception with `RESOURCE_DOES_NOT_EXIST`. + * exist, this call throws an exception with {@code RESOURCE_DOES_NOT_EXIST}. * *

When calling list on a large directory, the list operation will time out after approximately * 60 seconds. We strongly recommend using list only on directories containing less than 10K files * and discourage using the DBFS REST API for operations that list more than 10K files. Instead, - * we recommend that you perform such operations in the context of a cluster, using the [File - * system utility (dbutils.fs)](/dev-tools/databricks-utils.html#dbutils-fs), which provides the - * same functionality without timing out. + * we recommend that you perform such operations in the context of a cluster, using the File system utility (dbutils.fs), which + * provides the same functionality without timing out. */ ListStatusResponse list(ListDbfsRequest listDbfsRequest); /** * Creates the given directory and necessary parent directories if they do not exist. If a file * (not a directory) exists at any prefix of the input path, this call throws an exception with - * `RESOURCE_ALREADY_EXISTS`. **Note**: If this operation fails, it might have succeeded in - * creating some of the necessary parent directories. + * {@code RESOURCE_ALREADY_EXISTS}. Note: If this operation fails, it might have succeeded + * in creating some of the necessary parent directories. */ void mkdirs(MkDirs mkDirs); /** * Moves a file from one location to another location within DBFS. If the source file does not - * exist, this call throws an exception with `RESOURCE_DOES_NOT_EXIST`. If a file already exists - * in the destination path, this call throws an exception with `RESOURCE_ALREADY_EXISTS`. If the - * given source path is a directory, this call always recursively moves all files. + * exist, this call throws an exception with {@code RESOURCE_DOES_NOT_EXIST}. If a file already + * exists in the destination path, this call throws an exception with {@code + * RESOURCE_ALREADY_EXISTS}. If the given source path is a directory, this call always recursively + * moves all files. */ void move(Move move); @@ -101,8 +105,9 @@ public interface DbfsService { * *

Alternatively you can pass contents as base64 string. * - *

The amount of data that can be passed (when not streaming) using the __contents__ parameter - * is limited to 1 MB. `MAX_BLOCK_SIZE_EXCEEDED` will be thrown if this limit is exceeded. + *

The amount of data that can be passed (when not streaming) using the contents + * parameter is limited to 1 MB. {@code MAX_BLOCK_SIZE_EXCEEDED} will be thrown if this limit is + * exceeded. * *

If you want to upload large files, use the streaming upload. For details, see * :method:dbfs/create, :method:dbfs/addBlock, :method:dbfs/close. @@ -111,12 +116,13 @@ public interface DbfsService { /** * Returns the contents of a file. If the file does not exist, this call throws an exception with - * `RESOURCE_DOES_NOT_EXIST`. If the path is a directory, the read length is negative, or if the - * offset is negative, this call throws an exception with `INVALID_PARAMETER_VALUE`. If the read - * length exceeds 1 MB, this call throws an exception with `MAX_READ_SIZE_EXCEEDED`. + * {@code RESOURCE_DOES_NOT_EXIST}. If the path is a directory, the read length is negative, or if + * the offset is negative, this call throws an exception with {@code INVALID_PARAMETER_VALUE}. If + * the read length exceeds 1 MB, this call throws an exception with {@code + * MAX_READ_SIZE_EXCEEDED}. * - *

If `offset + length` exceeds the number of bytes in a file, it reads the contents until the - * end of file. + *

If {@code offset + length} exceeds the number of bytes in a file, it reads the contents + * until the end of file. */ ReadResponse read(ReadDbfsRequest readDbfsRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/FilesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/FilesAPI.java index 7a1de488d..f9247615a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/FilesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/FilesAPI.java @@ -12,18 +12,18 @@ * directories by referring to their URI. The API makes working with file content as raw bytes * easier and more efficient. * - *

The API supports [Unity Catalog volumes], where files and directories to operate on are - * specified using their volume URI path, which follows the format - * /Volumes/<catalog_name>/<schema_name>/<volume_name>/<path_to_file>. + *

The API supports Unity Catalog + * volumes, where files and directories to operate on are specified using their volume URI path, + * which follows the format + * /Volumes/&lt;catalog_name&gt;/&lt;schema_name&gt;/&lt;volume_name&gt;/&lt;path_to_file&gt;. * - *

The Files API has two distinct endpoints, one for working with files (`/fs/files`) and another - * one for working with directories (`/fs/directories`). Both endpoints use the standard HTTP - * methods GET, HEAD, PUT, and DELETE to manage files and directories specified using their URI - * path. The path is always absolute. + *

The Files API has two distinct endpoints, one for working with files ({@code /fs/files}) and + * another one for working with directories ({@code /fs/directories}). Both endpoints use the + * standard HTTP methods GET, HEAD, PUT, and DELETE to manage files and directories specified using + * their URI path. The path is always absolute. * *

Use of Files API may incur Databricks data transfer charges. - * - *

[Unity Catalog volumes]: https://docs.databricks.com/en/connect/unity-catalog/volumes.html */ @Generated public class FilesAPI { @@ -43,8 +43,9 @@ public FilesAPI(FilesService mock) { /** * Creates an empty directory. If necessary, also creates any parent directories of the new, empty - * directory (like the shell command `mkdir -p`). If called on an existing directory, returns a - * success response; this method is idempotent (it will succeed if the directory already exists). + * directory (like the shell command {@code mkdir -p}). If called on an existing directory, + * returns a success response; this method is idempotent (it will succeed if the directory already + * exists). */ public void createDirectory(CreateDirectoryRequest request) { impl.createDirectory(request); @@ -95,9 +96,9 @@ public void getDirectoryMetadata(String directoryPath) { * *

This method is useful to check if a directory exists and the caller has access to it. * - *

If you wish to ensure the directory exists, you can instead use `PUT`, which will create the - * directory if it does not exist, and is idempotent (it will succeed if the directory already - * exists). + *

If you wish to ensure the directory exists, you can instead use {@code PUT}, which will + * create the directory if it does not exist, and is idempotent (it will succeed if the directory + * already exists). */ public void getDirectoryMetadata(GetDirectoryMetadataRequest request) { impl.getDirectoryMetadata(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/FilesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/FilesService.java index 86fb44603..063b49ffe 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/FilesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/FilesService.java @@ -8,19 +8,19 @@ * directories by referring to their URI. The API makes working with file content as raw bytes * easier and more efficient. * - *

The API supports [Unity Catalog volumes], where files and directories to operate on are - * specified using their volume URI path, which follows the format - * /Volumes/<catalog_name>/<schema_name>/<volume_name>/<path_to_file>. + *

The API supports Unity Catalog + * volumes, where files and directories to operate on are specified using their volume URI path, + * which follows the format + * /Volumes/&lt;catalog_name&gt;/&lt;schema_name&gt;/&lt;volume_name&gt;/&lt;path_to_file&gt;. * - *

The Files API has two distinct endpoints, one for working with files (`/fs/files`) and another - * one for working with directories (`/fs/directories`). Both endpoints use the standard HTTP - * methods GET, HEAD, PUT, and DELETE to manage files and directories specified using their URI - * path. The path is always absolute. + *

The Files API has two distinct endpoints, one for working with files ({@code /fs/files}) and + * another one for working with directories ({@code /fs/directories}). Both endpoints use the + * standard HTTP methods GET, HEAD, PUT, and DELETE to manage files and directories specified using + * their URI path. The path is always absolute. * *

Use of Files API may incur Databricks data transfer charges. * - *

[Unity Catalog volumes]: https://docs.databricks.com/en/connect/unity-catalog/volumes.html - * *

This is the high-level interface, that contains generated methods. * *

Evolving: this interface is under development. Method signatures may change. @@ -29,8 +29,9 @@ public interface FilesService { /** * Creates an empty directory. If necessary, also creates any parent directories of the new, empty - * directory (like the shell command `mkdir -p`). If called on an existing directory, returns a - * success response; this method is idempotent (it will succeed if the directory already exists). + * directory (like the shell command {@code mkdir -p}). If called on an existing directory, + * returns a success response; this method is idempotent (it will succeed if the directory already + * exists). */ void createDirectory(CreateDirectoryRequest createDirectoryRequest); @@ -57,9 +58,9 @@ public interface FilesService { * *

This method is useful to check if a directory exists and the caller has access to it. * - *

If you wish to ensure the directory exists, you can instead use `PUT`, which will create the - * directory if it does not exist, and is idempotent (it will succeed if the directory already - * exists). + *

If you wish to ensure the directory exists, you can instead use {@code PUT}, which will + * create the directory if it does not exist, and is idempotent (it will succeed if the directory + * already exists). */ void getDirectoryMetadata(GetDirectoryMetadataRequest getDirectoryMetadataRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ListDirectoryContentsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ListDirectoryContentsRequest.java index 842f6c511..2b2fc836d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ListDirectoryContentsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ListDirectoryContentsRequest.java @@ -15,8 +15,8 @@ public class ListDirectoryContentsRequest { /** * The maximum number of directory entries to return. The response may contain fewer entries. If - * the response contains a `next_page_token`, there may be more entries, even if fewer than - * `page_size` entries are in the response. + * the response contains a {@code next_page_token}, there may be more entries, even if fewer than + * {@code page_size} entries are in the response. * *

We recommend not to set this value unless you are intentionally listing less than the * complete directory contents. @@ -29,12 +29,13 @@ public class ListDirectoryContentsRequest { private Long pageSize; /** - * An opaque page token which was the `next_page_token` in the response of the previous request to - * list the contents of this directory. Provide this token to retrieve the next page of directory - * entries. When providing a `page_token`, all other parameters provided to the request must match - * the previous request. To list all of the entries in a directory, it is necessary to continue - * requesting pages of entries until the response contains no `next_page_token`. Note that the - * number of entries returned must not be used to determine when the listing is complete. + * An opaque page token which was the {@code next_page_token} in the response of the previous + * request to list the contents of this directory. Provide this token to retrieve the next page of + * directory entries. When providing a {@code page_token}, all other parameters provided to the + * request must match the previous request. To list all of the entries in a directory, it is + * necessary to continue requesting pages of entries until the response contains no {@code + * next_page_token}. Note that the number of entries returned must not be used to determine when + * the listing is complete. */ @JsonIgnore @QueryParam("page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ListDirectoryResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ListDirectoryResponse.java index 6a4f7f195..f5906fcce 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ListDirectoryResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ListDirectoryResponse.java @@ -14,7 +14,7 @@ public class ListDirectoryResponse { @JsonProperty("contents") private Collection contents; - /** A token, which can be sent as `page_token` to retrieve the next page. */ + /** A token, which can be sent as {@code page_token} to retrieve the next page. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ReadResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ReadResponse.java index 97a5b3dd0..931ac27ae 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ReadResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/files/ReadResponse.java @@ -10,8 +10,8 @@ @Generated public class ReadResponse { /** - * The number of bytes read (could be less than ``length`` if we hit end of file). This refers to - * number of bytes read in unencoded version (response data is base64-encoded). + * The number of bytes read (could be less than {@code length} if we hit end of file). This refers + * to number of bytes read in unencoded version (response data is base64-encoded). */ @JsonProperty("bytes_read") private Long bytesRead; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountGroupsV2API.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountGroupsV2API.java index 7ac313a48..b63544bfb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountGroupsV2API.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountGroupsV2API.java @@ -59,8 +59,8 @@ public AccountGroup get(GetAccountGroupRequest request) { /** * Gets all details of the groups associated with the Databricks account. As of 08/22/2025, this * endpoint will no longer return members. Instead, members should be retrieved by iterating - * through `Get group details`. Existing accounts that rely on this attribute will not be impacted - * and will continue receiving member data as before. + * through {@code Get group details}. Existing accounts that rely on this attribute will not be + * impacted and will continue receiving member data as before. */ public Iterable list(ListAccountGroupsRequest request) { request.setStartIndex(1L); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountGroupsV2Service.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountGroupsV2Service.java index ddb34d517..d722da3d7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountGroupsV2Service.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountGroupsV2Service.java @@ -31,8 +31,8 @@ public interface AccountGroupsV2Service { /** * Gets all details of the groups associated with the Databricks account. As of 08/22/2025, this * endpoint will no longer return members. Instead, members should be retrieved by iterating - * through `Get group details`. Existing accounts that rely on this attribute will not be impacted - * and will continue receiving member data as before. + * through {@code Get group details}. Existing accounts that rely on this attribute will not be + * impacted and will continue receiving member data as before. */ ListAccountGroupsResponse list(ListAccountGroupsRequest listAccountGroupsRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountUser.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountUser.java index ad65d71af..87a59649f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountUser.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/AccountUser.java @@ -18,7 +18,10 @@ public class AccountUser { @JsonProperty("active") private Boolean active; - /** String that represents a concatenation of given and family names. For example `John Smith`. */ + /** + * String that represents a concatenation of given and family names. For example {@code John + * Smith}. + */ @JsonProperty("displayName") private String displayName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CreateAccountUserRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CreateAccountUserRequest.java index 346a4c53b..092985278 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CreateAccountUserRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CreateAccountUserRequest.java @@ -14,7 +14,10 @@ public class CreateAccountUserRequest { @JsonProperty("active") private Boolean active; - /** String that represents a concatenation of given and family names. For example `John Smith`. */ + /** + * String that represents a concatenation of given and family names. For example {@code John + * Smith}. + */ @JsonProperty("displayName") private String displayName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CreateGroupRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CreateGroupRequest.java index 904aa4499..57de3a954 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CreateGroupRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CreateGroupRequest.java @@ -15,11 +15,9 @@ public class CreateGroupRequest { private String displayName; /** - * Entitlements assigned to the group. See [assigning entitlements] for a full list of supported - * values. - * - *

[assigning entitlements]: - * https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements + * Entitlements assigned to the group. See assigning + * entitlements for a full list of supported values. */ @JsonProperty("entitlements") private Collection entitlements; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CreateServicePrincipalRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CreateServicePrincipalRequest.java index 95494e256..7c18a3711 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CreateServicePrincipalRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CreateServicePrincipalRequest.java @@ -23,11 +23,9 @@ public class CreateServicePrincipalRequest { private String displayName; /** - * Entitlements assigned to the service principal. See [assigning entitlements] for a full list of - * supported values. - * - *

[assigning entitlements]: - * https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements + * Entitlements assigned to the service principal. See assigning + * entitlements for a full list of supported values. */ @JsonProperty("entitlements") private Collection entitlements; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CreateUserRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CreateUserRequest.java index baaad5f01..6f24a2419 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CreateUserRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/CreateUserRequest.java @@ -15,12 +15,10 @@ public class CreateUserRequest { private Boolean active; /** - * String that represents a concatenation of given and family names. For example `John Smith`. - * This field cannot be updated through the Workspace SCIM APIs when [identity federation is - * enabled]. Use Account SCIM APIs to update `displayName`. - * - *

[identity federation is enabled]: - * https://docs.databricks.com/administration-guide/users-groups/best-practices.html#enable-identity-federation + * String that represents a concatenation of given and family names. For example {@code John + * Smith}. This field cannot be updated through the Workspace SCIM APIs when identity + * federation is enabled. Use Account SCIM APIs to update {@code displayName}. */ @JsonProperty("displayName") private String displayName; @@ -30,11 +28,9 @@ public class CreateUserRequest { private Collection emails; /** - * Entitlements assigned to the user. See [assigning entitlements] for a full list of supported - * values. - * - *

[assigning entitlements]: - * https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements + * Entitlements assigned to the user. See assigning + * entitlements for a full list of supported values. */ @JsonProperty("entitlements") private Collection entitlements; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAccountUserRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAccountUserRequest.java index 2d94f3b4e..43ad2c0fd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAccountUserRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAccountUserRequest.java @@ -26,12 +26,11 @@ public class GetAccountUserRequest { private String excludedAttributes; /** - * Query by which the results have to be filtered. Supported operators are equals(`eq`), - * contains(`co`), starts with(`sw`) and not equals(`ne`). Additionally, simple expressions can be - * formed using logical operators - `and` and `or`. The [SCIM RFC] has more details but we + * Query by which the results have to be filtered. Supported operators are equals({@code eq}), + * contains({@code co}), starts with({@code sw}) and not equals({@code ne}). Additionally, simple + * expressions can be formed using logical operators - {@code and} and {@code or}. The SCIM RFC has more details but we * currently only support simple expressions. - * - *

[SCIM RFC]: https://tools.ietf.org/html/rfc7644#section-3.4.2.2 */ @JsonIgnore @QueryParam("filter") @@ -41,8 +40,8 @@ public class GetAccountUserRequest { @JsonIgnore private String id; /** - * Attribute to sort the results. Multi-part paths are supported. For example, `userName`, - * `name.givenName`, and `emails`. + * Attribute to sort the results. Multi-part paths are supported. For example, {@code userName}, + * {@code name.givenName}, and {@code emails}. */ @JsonIgnore @QueryParam("sortBy") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAssignableRolesForResourceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAssignableRolesForResourceRequest.java index af7dcb2f9..725bdf49f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAssignableRolesForResourceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetAssignableRolesForResourceRequest.java @@ -13,11 +13,11 @@ public class GetAssignableRolesForResourceRequest { /** * The resource name for which assignable roles will be listed. * - *

Examples | Summary :--- | :--- `resource=accounts/` | A resource name for the - * account. `resource=accounts//groups/` | A resource name for the group. - * `resource=accounts//servicePrincipals/` | A resource name for the service - * principal. `resource=accounts//tagPolicies/` | A resource name for - * the tag policy. + *

Examples | Summary :--- | :--- {@code resource=accounts/} | A resource name for + * the account. {@code resource=accounts//groups/} | A resource name for the + * group. {@code resource=accounts//servicePrincipals/} | A resource name for + * the service principal. {@code resource=accounts//tagPolicies/} | A + * resource name for the tag policy. */ @JsonIgnore @QueryParam("resource") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetRuleSetRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetRuleSetRequest.java index 6089b854f..76fdebc86 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetRuleSetRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetRuleSetRequest.java @@ -14,13 +14,14 @@ public class GetRuleSetRequest { * Etag used for versioning. The response is at least as fresh as the eTag provided. Etag is used * for optimistic concurrency control as a way to help prevent simultaneous updates of a rule set * from overwriting each other. It is strongly suggested that systems make use of the etag in the - * read -> modify -> write pattern to perform rule set updates in order to avoid race conditions - * that is get an etag from a GET rule set request, and pass it with the PUT update request to - * identify the rule set version you are updating. + * read -> modify -> write pattern to perform rule set updates in order to avoid race + * conditions that is get an etag from a GET rule set request, and pass it with the PUT update + * request to identify the rule set version you are updating. * - *

Examples | Summary :--- | :--- `etag=` | An empty etag can only be used in GET to indicate - * no freshness requirements. `etag=RENUAAABhSweA4NvVmmUYdiU717H3Tgy0UJdor3gE4a+mq/oj9NjAf8ZsQ==` - * | An etag encoded a specific version of the rule set to get or to be updated. + *

Examples | Summary :--- | :--- {@code etag=} | An empty etag can only be used in GET to + * indicate no freshness requirements. {@code + * etag=RENUAAABhSweA4NvVmmUYdiU717H3Tgy0UJdor3gE4a+mq/oj9NjAf8ZsQ==} | An etag encoded a specific + * version of the rule set to get or to be updated. */ @JsonIgnore @QueryParam("etag") @@ -29,12 +30,13 @@ public class GetRuleSetRequest { /** * The ruleset name associated with the request. * - *

Examples | Summary :--- | :--- `name=accounts//ruleSets/default` | A name for a - * rule set on the account. `name=accounts//groups//ruleSets/default` | A - * name for a rule set on the group. - * `name=accounts//servicePrincipals//ruleSets/default` - * | A name for a rule set on the service principal. - * `name=accounts//tagPolicies//ruleSets/default` | A name for a rule + *

Examples | Summary :--- | :--- {@code name=accounts//ruleSets/default} | A name + * for a rule set on the account. {@code + * name=accounts//groups//ruleSets/default} | A name for a rule set on the + * group. {@code + * name=accounts//servicePrincipals//ruleSets/default} + * | A name for a rule set on the service principal. {@code + * name=accounts//tagPolicies//ruleSets/default} | A name for a rule * set on the tag policy. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetUserRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetUserRequest.java index bee19e846..e7ca9348c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetUserRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GetUserRequest.java @@ -26,12 +26,11 @@ public class GetUserRequest { private String excludedAttributes; /** - * Query by which the results have to be filtered. Supported operators are equals(`eq`), - * contains(`co`), starts with(`sw`) and not equals(`ne`). Additionally, simple expressions can be - * formed using logical operators - `and` and `or`. The [SCIM RFC] has more details but we + * Query by which the results have to be filtered. Supported operators are equals({@code eq}), + * contains({@code co}), starts with({@code sw}) and not equals({@code ne}). Additionally, simple + * expressions can be formed using logical operators - {@code and} and {@code or}. The SCIM RFC has more details but we * currently only support simple expressions. - * - *

[SCIM RFC]: https://tools.ietf.org/html/rfc7644#section-3.4.2.2 */ @JsonIgnore @QueryParam("filter") @@ -41,8 +40,8 @@ public class GetUserRequest { @JsonIgnore private String id; /** - * Attribute to sort the results. Multi-part paths are supported. For example, `userName`, - * `name.givenName`, and `emails`. + * Attribute to sort the results. Multi-part paths are supported. For example, {@code userName}, + * {@code name.givenName}, and {@code emails}. */ @JsonIgnore @QueryParam("sortBy") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GrantRule.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GrantRule.java index fffa26c0c..7b93a4c4e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GrantRule.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/GrantRule.java @@ -13,8 +13,13 @@ public class GrantRule { /** * Principals this grant rule applies to. A principal can be a user (for end users), a service * principal (for applications and compute workloads), or an account group. Each principal has its - * own identifier format: * users/ * groups/ * - * servicePrincipals/ + * own identifier format: + * + *

    + *
  • users/ + *
  • groups/<GROUP_NAME> + *
  • servicePrincipals/<SERVICE_PRINCIPAL_APPLICATION_ID> + *
*/ @JsonProperty("principals") private Collection principals; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/Group.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/Group.java index bc5b0fe30..c5323f503 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/Group.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/Group.java @@ -15,11 +15,9 @@ public class Group { private String displayName; /** - * Entitlements assigned to the group. See [assigning entitlements] for a full list of supported - * values. - * - *

[assigning entitlements]: - * https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements + * Entitlements assigned to the group. See assigning + * entitlements for a full list of supported values. */ @JsonProperty("entitlements") private Collection entitlements; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountGroupsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountGroupsRequest.java index 2f646a7ed..56200dcc0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountGroupsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountGroupsRequest.java @@ -26,12 +26,11 @@ public class ListAccountGroupsRequest { private String excludedAttributes; /** - * Query by which the results have to be filtered. Supported operators are equals(`eq`), - * contains(`co`), starts with(`sw`) and not equals(`ne`). Additionally, simple expressions can be - * formed using logical operators - `and` and `or`. The [SCIM RFC] has more details but we + * Query by which the results have to be filtered. Supported operators are equals({@code eq}), + * contains({@code co}), starts with({@code sw}) and not equals({@code ne}). Additionally, simple + * expressions can be formed using logical operators - {@code and} and {@code or}. The SCIM RFC has more details but we * currently only support simple expressions. - * - *

[SCIM RFC]: https://tools.ietf.org/html/rfc7644#section-3.4.2.2 */ @JsonIgnore @QueryParam("filter") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountServicePrincipalsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountServicePrincipalsRequest.java index 8b99059e8..a751b3a4d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountServicePrincipalsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountServicePrincipalsRequest.java @@ -26,12 +26,11 @@ public class ListAccountServicePrincipalsRequest { private String excludedAttributes; /** - * Query by which the results have to be filtered. Supported operators are equals(`eq`), - * contains(`co`), starts with(`sw`) and not equals(`ne`). Additionally, simple expressions can be - * formed using logical operators - `and` and `or`. The [SCIM RFC] has more details but we + * Query by which the results have to be filtered. Supported operators are equals({@code eq}), + * contains({@code co}), starts with({@code sw}) and not equals({@code ne}). Additionally, simple + * expressions can be formed using logical operators - {@code and} and {@code or}. The SCIM RFC has more details but we * currently only support simple expressions. - * - *

[SCIM RFC]: https://tools.ietf.org/html/rfc7644#section-3.4.2.2 */ @JsonIgnore @QueryParam("filter") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountUsersRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountUsersRequest.java index da1f72479..e58261dd3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountUsersRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListAccountUsersRequest.java @@ -26,20 +26,19 @@ public class ListAccountUsersRequest { private String excludedAttributes; /** - * Query by which the results have to be filtered. Supported operators are equals(`eq`), - * contains(`co`), starts with(`sw`) and not equals(`ne`). Additionally, simple expressions can be - * formed using logical operators - `and` and `or`. The [SCIM RFC] has more details but we + * Query by which the results have to be filtered. Supported operators are equals({@code eq}), + * contains({@code co}), starts with({@code sw}) and not equals({@code ne}). Additionally, simple + * expressions can be formed using logical operators - {@code and} and {@code or}. The SCIM RFC has more details but we * currently only support simple expressions. - * - *

[SCIM RFC]: https://tools.ietf.org/html/rfc7644#section-3.4.2.2 */ @JsonIgnore @QueryParam("filter") private String filter; /** - * Attribute to sort the results. Multi-part paths are supported. For example, `userName`, - * `name.givenName`, and `emails`. + * Attribute to sort the results. Multi-part paths are supported. For example, {@code userName}, + * {@code name.givenName}, and {@code emails}. */ @JsonIgnore @QueryParam("sortBy") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListGroupsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListGroupsRequest.java index 8f3077490..26f4d17aa 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListGroupsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListGroupsRequest.java @@ -26,12 +26,11 @@ public class ListGroupsRequest { private String excludedAttributes; /** - * Query by which the results have to be filtered. Supported operators are equals(`eq`), - * contains(`co`), starts with(`sw`) and not equals(`ne`). Additionally, simple expressions can be - * formed using logical operators - `and` and `or`. The [SCIM RFC] has more details but we + * Query by which the results have to be filtered. Supported operators are equals({@code eq}), + * contains({@code co}), starts with({@code sw}) and not equals({@code ne}). Additionally, simple + * expressions can be formed using logical operators - {@code and} and {@code or}. The SCIM RFC has more details but we * currently only support simple expressions. - * - *

[SCIM RFC]: https://tools.ietf.org/html/rfc7644#section-3.4.2.2 */ @JsonIgnore @QueryParam("filter") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListServicePrincipalsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListServicePrincipalsRequest.java index 8e9fc41c9..1c3acd1ad 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListServicePrincipalsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListServicePrincipalsRequest.java @@ -26,12 +26,11 @@ public class ListServicePrincipalsRequest { private String excludedAttributes; /** - * Query by which the results have to be filtered. Supported operators are equals(`eq`), - * contains(`co`), starts with(`sw`) and not equals(`ne`). Additionally, simple expressions can be - * formed using logical operators - `and` and `or`. The [SCIM RFC] has more details but we + * Query by which the results have to be filtered. Supported operators are equals({@code eq}), + * contains({@code co}), starts with({@code sw}) and not equals({@code ne}). Additionally, simple + * expressions can be formed using logical operators - {@code and} and {@code or}. The SCIM RFC has more details but we * currently only support simple expressions. - * - *

[SCIM RFC]: https://tools.ietf.org/html/rfc7644#section-3.4.2.2 */ @JsonIgnore @QueryParam("filter") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListUsersRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListUsersRequest.java index 032c6d0de..c2667a402 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListUsersRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ListUsersRequest.java @@ -26,20 +26,19 @@ public class ListUsersRequest { private String excludedAttributes; /** - * Query by which the results have to be filtered. Supported operators are equals(`eq`), - * contains(`co`), starts with(`sw`) and not equals(`ne`). Additionally, simple expressions can be - * formed using logical operators - `and` and `or`. The [SCIM RFC] has more details but we + * Query by which the results have to be filtered. Supported operators are equals({@code eq}), + * contains({@code co}), starts with({@code sw}) and not equals({@code ne}). Additionally, simple + * expressions can be formed using logical operators - {@code and} and {@code or}. The SCIM RFC has more details but we * currently only support simple expressions. - * - *

[SCIM RFC]: https://tools.ietf.org/html/rfc7644#section-3.4.2.2 */ @JsonIgnore @QueryParam("filter") private String filter; /** - * Attribute to sort the results. Multi-part paths are supported. For example, `userName`, - * `name.givenName`, and `emails`. + * Attribute to sort the results. Multi-part paths are supported. For example, {@code userName}, + * {@code name.givenName}, and {@code emails}. */ @JsonIgnore @QueryParam("sortBy") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionsAPI.java index 38defe3f1..e281f83b5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionsAPI.java @@ -8,29 +8,41 @@ /** * Permissions API are used to create read, write, edit, update and manage access for various users - * on different objects and endpoints. * **[Apps permissions](:service:apps)** — Manage which users - * can manage or use apps. * **[Cluster permissions](:service:clusters)** — Manage which users can - * manage, restart, or attach to clusters. * **[Cluster policy - * permissions](:service:clusterpolicies)** — Manage which users can use cluster policies. * - * **[Spark Declarative Pipelines permissions](:service:pipelines)** — Manage which users can view, - * manage, run, cancel, or own a Spark Declarative Pipeline. * **[Job permissions](:service:jobs)** - * — Manage which users can view, manage, trigger, cancel, or own a job. * **[MLflow experiment - * permissions](:service:experiments)** — Manage which users can read, edit, or manage MLflow - * experiments. * **[MLflow registered model permissions](:service:modelregistry)** — Manage which - * users can read, edit, or manage MLflow registered models. * **[Instance Pool - * permissions](:service:instancepools)** — Manage which users can manage or attach to pools. * - * **[Repo permissions](repos)** — Manage which users can read, run, edit, or manage a repo. * - * **[Serving endpoint permissions](:service:servingendpoints)** — Manage which users can view, - * query, or manage a serving endpoint. * **[SQL warehouse permissions](:service:warehouses)** — - * Manage which users can use or manage SQL warehouses. * **[Token - * permissions](:service:tokenmanagement)** — Manage which users can create or use tokens. * - * **[Workspace object permissions](:service:workspace)** — Manage which users can read, run, edit, - * or manage alerts, dbsql-dashboards, directories, files, notebooks and queries. For the mapping of - * the required permissions for specific actions or abilities and other important information, see - * [Access Control]. Note that to manage access control on service principals, use **[Account Access - * Control Proxy](:service:accountaccesscontrolproxy)**. + * on different objects and endpoints. * - *

[Access Control]: https://docs.databricks.com/security/auth-authz/access-control/index.html + *

*/ @Generated public class PermissionsAPI { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionsService.java index 4b3a00859..c84d9de87 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionsService.java @@ -5,31 +5,43 @@ /** * Permissions API are used to create read, write, edit, update and manage access for various users - * on different objects and endpoints. * **[Apps permissions](:service:apps)** — Manage which users - * can manage or use apps. * **[Cluster permissions](:service:clusters)** — Manage which users can - * manage, restart, or attach to clusters. * **[Cluster policy - * permissions](:service:clusterpolicies)** — Manage which users can use cluster policies. * - * **[Spark Declarative Pipelines permissions](:service:pipelines)** — Manage which users can view, - * manage, run, cancel, or own a Spark Declarative Pipeline. * **[Job permissions](:service:jobs)** - * — Manage which users can view, manage, trigger, cancel, or own a job. * **[MLflow experiment - * permissions](:service:experiments)** — Manage which users can read, edit, or manage MLflow - * experiments. * **[MLflow registered model permissions](:service:modelregistry)** — Manage which - * users can read, edit, or manage MLflow registered models. * **[Instance Pool - * permissions](:service:instancepools)** — Manage which users can manage or attach to pools. * - * **[Repo permissions](repos)** — Manage which users can read, run, edit, or manage a repo. * - * **[Serving endpoint permissions](:service:servingendpoints)** — Manage which users can view, - * query, or manage a serving endpoint. * **[SQL warehouse permissions](:service:warehouses)** — - * Manage which users can use or manage SQL warehouses. * **[Token - * permissions](:service:tokenmanagement)** — Manage which users can create or use tokens. * - * **[Workspace object permissions](:service:workspace)** — Manage which users can read, run, edit, - * or manage alerts, dbsql-dashboards, directories, files, notebooks and queries. For the mapping of - * the required permissions for specific actions or abilities and other important information, see - * [Access Control]. Note that to manage access control on service principals, use **[Account Access - * Control Proxy](:service:accountaccesscontrolproxy)**. + * on different objects and endpoints. * - *

[Access Control]: https://docs.databricks.com/security/auth-authz/access-control/index.html + *

* - *

This is the high-level interface, that contains generated methods. + * This is the high-level interface, that contains generated methods. * *

Evolving: this interface is under development. Method signatures may change. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ResourceMeta.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ResourceMeta.java index 909a29950..3d0126bb7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ResourceMeta.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ResourceMeta.java @@ -10,8 +10,8 @@ @Generated public class ResourceMeta { /** - * Identifier for group type. Can be local workspace group (`WorkspaceGroup`) or account group - * (`Group`). + * Identifier for group type. Can be local workspace group ({@code WorkspaceGroup}) or account + * group ({@code Group}). */ @JsonProperty("resourceType") private String resourceType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/RuleSetResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/RuleSetResponse.java index 137292095..cd593dbd6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/RuleSetResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/RuleSetResponse.java @@ -14,9 +14,9 @@ public class RuleSetResponse { * Identifies the version of the rule set returned. Etag used for versioning. The response is at * least as fresh as the eTag provided. Etag is used for optimistic concurrency control as a way * to help prevent simultaneous updates of a rule set from overwriting each other. It is strongly - * suggested that systems make use of the etag in the read -> modify -> write pattern to perform - * rule set updates in order to avoid race conditions that is get an etag from a GET rule set - * request, and pass it with the PUT update request to identify the rule set version you are + * suggested that systems make use of the etag in the read -> modify -> write pattern to + * perform rule set updates in order to avoid race conditions that is get an etag from a GET rule + * set request, and pass it with the PUT update request to identify the rule set version you are * updating. */ @JsonProperty("etag") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/RuleSetUpdateRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/RuleSetUpdateRequest.java index cd70639aa..872249040 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/RuleSetUpdateRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/RuleSetUpdateRequest.java @@ -14,9 +14,9 @@ public class RuleSetUpdateRequest { * Identifies the version of the rule set returned. Etag used for versioning. The response is at * least as fresh as the eTag provided. Etag is used for optimistic concurrency control as a way * to help prevent simultaneous updates of a rule set from overwriting each other. It is strongly - * suggested that systems make use of the etag in the read -> modify -> write pattern to perform - * rule set updates in order to avoid race conditions that is get an etag from a GET rule set - * request, and pass it with the PUT update request to identify the rule set version you are + * suggested that systems make use of the etag in the read -> modify -> write pattern to + * perform rule set updates in order to avoid race conditions that is get an etag from a GET rule + * set request, and pass it with the PUT update request to identify the rule set version you are * updating. */ @JsonProperty("etag") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ServicePrincipal.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ServicePrincipal.java index c2978b668..9206fc1f3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ServicePrincipal.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/ServicePrincipal.java @@ -23,11 +23,9 @@ public class ServicePrincipal { private String displayName; /** - * Entitlements assigned to the service principal. See [assigning entitlements] for a full list of - * supported values. - * - *

[assigning entitlements]: - * https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements + * Entitlements assigned to the service principal. See assigning + * entitlements for a full list of supported values. */ @JsonProperty("entitlements") private Collection entitlements; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UpdateAccountUserRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UpdateAccountUserRequest.java index c078bac65..8201f13de 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UpdateAccountUserRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UpdateAccountUserRequest.java @@ -15,7 +15,10 @@ public class UpdateAccountUserRequest { @JsonProperty("active") private Boolean active; - /** String that represents a concatenation of given and family names. For example `John Smith`. */ + /** + * String that represents a concatenation of given and family names. For example {@code John + * Smith}. + */ @JsonProperty("displayName") private String displayName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UpdateGroupRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UpdateGroupRequest.java index 70892ebff..468d0e01f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UpdateGroupRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UpdateGroupRequest.java @@ -16,11 +16,9 @@ public class UpdateGroupRequest { private String displayName; /** - * Entitlements assigned to the group. See [assigning entitlements] for a full list of supported - * values. - * - *

[assigning entitlements]: - * https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements + * Entitlements assigned to the group. See assigning + * entitlements for a full list of supported values. */ @JsonProperty("entitlements") private Collection entitlements; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UpdateServicePrincipalRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UpdateServicePrincipalRequest.java index d9dcbe3e1..2d8f22e85 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UpdateServicePrincipalRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UpdateServicePrincipalRequest.java @@ -24,11 +24,9 @@ public class UpdateServicePrincipalRequest { private String displayName; /** - * Entitlements assigned to the service principal. See [assigning entitlements] for a full list of - * supported values. - * - *

[assigning entitlements]: - * https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements + * Entitlements assigned to the service principal. See assigning + * entitlements for a full list of supported values. */ @JsonProperty("entitlements") private Collection entitlements; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UpdateUserRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UpdateUserRequest.java index cf1bd8e66..94ab15696 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UpdateUserRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/UpdateUserRequest.java @@ -16,12 +16,10 @@ public class UpdateUserRequest { private Boolean active; /** - * String that represents a concatenation of given and family names. For example `John Smith`. - * This field cannot be updated through the Workspace SCIM APIs when [identity federation is - * enabled]. Use Account SCIM APIs to update `displayName`. - * - *

[identity federation is enabled]: - * https://docs.databricks.com/administration-guide/users-groups/best-practices.html#enable-identity-federation + * String that represents a concatenation of given and family names. For example {@code John + * Smith}. This field cannot be updated through the Workspace SCIM APIs when identity + * federation is enabled. Use Account SCIM APIs to update {@code displayName}. */ @JsonProperty("displayName") private String displayName; @@ -31,11 +29,9 @@ public class UpdateUserRequest { private Collection emails; /** - * Entitlements assigned to the user. See [assigning entitlements] for a full list of supported - * values. - * - *

[assigning entitlements]: - * https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements + * Entitlements assigned to the user. See assigning + * entitlements for a full list of supported values. */ @JsonProperty("entitlements") private Collection entitlements; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/User.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/User.java index b107ee340..d820d5052 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/User.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/User.java @@ -15,12 +15,10 @@ public class User { private Boolean active; /** - * String that represents a concatenation of given and family names. For example `John Smith`. - * This field cannot be updated through the Workspace SCIM APIs when [identity federation is - * enabled]. Use Account SCIM APIs to update `displayName`. - * - *

[identity federation is enabled]: - * https://docs.databricks.com/administration-guide/users-groups/best-practices.html#enable-identity-federation + * String that represents a concatenation of given and family names. For example {@code John + * Smith}. This field cannot be updated through the Workspace SCIM APIs when identity + * federation is enabled. Use Account SCIM APIs to update {@code displayName}. */ @JsonProperty("displayName") private String displayName; @@ -30,11 +28,9 @@ public class User { private Collection emails; /** - * Entitlements assigned to the user. See [assigning entitlements] for a full list of supported - * values. - * - *

[assigning entitlements]: - * https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements + * Entitlements assigned to the user. See assigning + * entitlements for a full list of supported values. */ @JsonProperty("entitlements") private Collection entitlements; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/AccountIamV2API.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/AccountIamV2API.java index 435bf1409..ea008372f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/AccountIamV2API.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/AccountIamV2API.java @@ -63,10 +63,13 @@ public WorkspaceAccessDetail getWorkspaceAccessDetail(long workspaceId, long pri /** * Returns the access details for a principal in a workspace. Allows for checking access details - * for any provisioned principal (user, service principal, or group) in a workspace. * Provisioned - * principal here refers to one that has been synced into Databricks from the customer's IdP or - * added explicitly to Databricks via SCIM/UI. Allows for passing in a "view" parameter to control - * what fields are returned (BASIC by default or FULL). + * for any provisioned principal (user, service principal, or group) in a workspace. + * + *

    + *
  • Provisioned principal here refers to one that has been synced into Databricks from the + * customer's IdP or added explicitly to Databricks via SCIM/UI. Allows for passing in a + * "view" parameter to control what fields are returned (BASIC by default or FULL). + *
*/ public WorkspaceAccessDetail getWorkspaceAccessDetail(GetWorkspaceAccessDetailRequest request) { return impl.getWorkspaceAccessDetail(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/AccountIamV2Service.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/AccountIamV2Service.java index 9c3422fc0..8354c133e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/AccountIamV2Service.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/AccountIamV2Service.java @@ -33,10 +33,13 @@ void deleteWorkspaceAssignmentDetail( /** * Returns the access details for a principal in a workspace. Allows for checking access details - * for any provisioned principal (user, service principal, or group) in a workspace. * Provisioned - * principal here refers to one that has been synced into Databricks from the customer's IdP or - * added explicitly to Databricks via SCIM/UI. Allows for passing in a "view" parameter to control - * what fields are returned (BASIC by default or FULL). + * for any provisioned principal (user, service principal, or group) in a workspace. + * + *
    + *
  • Provisioned principal here refers to one that has been synced into Databricks from the + * customer's IdP or added explicitly to Databricks via SCIM/UI. Allows for passing in a + * "view" parameter to control what fields are returned (BASIC by default or FULL). + *
*/ WorkspaceAccessDetail getWorkspaceAccessDetail( GetWorkspaceAccessDetailRequest getWorkspaceAccessDetailRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/WorkspaceIamV2API.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/WorkspaceIamV2API.java index c295aed36..a257f4816 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/WorkspaceIamV2API.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/WorkspaceIamV2API.java @@ -62,9 +62,13 @@ public WorkspaceAccessDetail getWorkspaceAccessDetailLocal(long principalId) { /** * Returns the access details for a principal in the current workspace. Allows for checking access * details for any provisioned principal (user, service principal, or group) in the current - * workspace. * Provisioned principal here refers to one that has been synced into Databricks from - * the customer's IdP or added explicitly to Databricks via SCIM/UI. Allows for passing in a - * "view" parameter to control what fields are returned (BASIC by default or FULL). + * workspace. + * + *
    + *
  • Provisioned principal here refers to one that has been synced into Databricks from the + * customer's IdP or added explicitly to Databricks via SCIM/UI. Allows for passing in a + * "view" parameter to control what fields are returned (BASIC by default or FULL). + *
*/ public WorkspaceAccessDetail getWorkspaceAccessDetailLocal( GetWorkspaceAccessDetailLocalRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/WorkspaceIamV2Service.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/WorkspaceIamV2Service.java index fb6c66af4..c0fff7eb1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/WorkspaceIamV2Service.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/WorkspaceIamV2Service.java @@ -35,9 +35,13 @@ void deleteWorkspaceAssignmentDetailProxy( /** * Returns the access details for a principal in the current workspace. Allows for checking access * details for any provisioned principal (user, service principal, or group) in the current - * workspace. * Provisioned principal here refers to one that has been synced into Databricks from - * the customer's IdP or added explicitly to Databricks via SCIM/UI. Allows for passing in a - * "view" parameter to control what fields are returned (BASIC by default or FULL). + * workspace. + * + *
    + *
  • Provisioned principal here refers to one that has been synced into Databricks from the + * customer's IdP or added explicitly to Databricks via SCIM/UI. Allows for passing in a + * "view" parameter to control what fields are returned (BASIC by default or FULL). + *
*/ WorkspaceAccessDetail getWorkspaceAccessDetailLocal( GetWorkspaceAccessDetailLocalRequest getWorkspaceAccessDetailLocalRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/AlertTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/AlertTask.java index 207c06f9a..3c43bc999 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/AlertTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/AlertTask.java @@ -26,9 +26,13 @@ public class AlertTask { private String warehouseId; /** - * The workspace_path is the path to the alert file in the workspace. The path: * must start with - * "/Workspace" * must be a normalized path. User has to select only one of alert_id or - * workspace_path to identify the alert. + * The workspace_path is the path to the alert file in the workspace. The path: + * + *
    + *
  • must start with "/Workspace" + *
  • must be a normalized path. User has to select only one of alert_id or workspace_path to + * identify the alert. + *
*/ @JsonProperty("workspace_path") private String workspacePath; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/BaseJob.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/BaseJob.java index a78f27377..8a0072e55 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/BaseJob.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/BaseJob.java @@ -24,9 +24,14 @@ public class BaseJob { /** * The id of the budget policy used by this job for cost attribution purposes. This may be set - * through (in order of precedence): 1. Budget admins through the account or workspace console 2. - * Jobs UI in the job details page and Jobs API using `budget_policy_id` 3. Inferred default based - * on accessible budget policies of the run_as identity on job creation or modification. + * through (in order of precedence): + * + *
    + *
  1. Budget admins through the account or workspace console + *
  2. Jobs UI in the job details page and Jobs API using {@code budget_policy_id} + *
  3. Inferred default based on accessible budget policies of the run_as identity on job + * creation or modification. + *
*/ @JsonProperty("effective_budget_policy_id") private String effectiveBudgetPolicyId; @@ -36,9 +41,9 @@ public class BaseJob { private String effectiveUsagePolicyId; /** - * Indicates if the job has more array properties (`tasks`, `job_clusters`) that are not shown. - * They can be accessed via :method:jobs/get endpoint. It is only relevant for API 2.2 - * :method:jobs/list requests with `expand_tasks=true`. + * Indicates if the job has more array properties ({@code tasks}, {@code job_clusters}) that are + * not shown. They can be accessed via :method:jobs/get endpoint. It is only relevant for API 2.2 + * :method:jobs/list requests with {@code expand_tasks=true}. */ @JsonProperty("has_more") private Boolean hasMore; @@ -48,8 +53,8 @@ public class BaseJob { private Long jobId; /** - * Settings for this job and all of its runs. These settings can be updated using the `resetJob` - * method. + * Settings for this job and all of its runs. These settings can be updated using the {@code + * resetJob} method. */ @JsonProperty("settings") private JobSettings settings; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/BaseRun.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/BaseRun.java index 3b1b2da28..21490de73 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/BaseRun.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/BaseRun.java @@ -13,18 +13,20 @@ public class BaseRun { /** * The sequence number of this run attempt for a triggered job run. The initial attempt of a run * has an attempt_number of 0. If the initial run attempt fails, and the job has a retry policy - * (`max_retries` > 0), subsequent runs are created with an `original_attempt_run_id` of the - * original attempt’s ID and an incrementing `attempt_number`. Runs are retried only until they - * succeed, and the maximum `attempt_number` is the same as the `max_retries` value for the job. + * ({@code max_retries} > 0), subsequent runs are created with an {@code + * original_attempt_run_id} of the original attempt’s ID and an incrementing {@code + * attempt_number}. Runs are retried only until they succeed, and the maximum {@code + * attempt_number} is the same as the {@code max_retries} value for the job. */ @JsonProperty("attempt_number") private Long attemptNumber; /** * The time in milliseconds it took to terminate the cluster and clean up any associated - * artifacts. The duration of a task run is the sum of the `setup_duration`, `execution_duration`, - * and the `cleanup_duration`. The `cleanup_duration` field is set to 0 for multitask job runs. - * The total duration of a multitask job run is the value of the `run_duration` field. + * artifacts. The duration of a task run is the sum of the {@code setup_duration}, {@code + * execution_duration}, and the {@code cleanup_duration}. The {@code cleanup_duration} field is + * set to 0 for multitask job runs. The total duration of a multitask job run is the value of the + * {@code run_duration} field. */ @JsonProperty("cleanup_duration") private Long cleanupDuration; @@ -56,9 +58,11 @@ public class BaseRun { * the client-set performance target on the request depending on whether the performance mode is * supported by the job type. * - *

* `STANDARD`: Enables cost-efficient execution of serverless workloads. * - * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and - * optimized cluster performance. + *

    + *
  • {@code STANDARD}: Enables cost-efficient execution of serverless workloads. + *
  • {@code PERFORMANCE_OPTIMIZED}: Prioritizes fast startup and execution times through rapid + * scaling and optimized cluster performance. + *
*/ @JsonProperty("effective_performance_target") private PerformanceTarget effectivePerformanceTarget; @@ -77,9 +81,9 @@ public class BaseRun { /** * The time in milliseconds it took to execute the commands in the JAR or notebook until they * completed, failed, timed out, were cancelled, or encountered an unexpected error. The duration - * of a task run is the sum of the `setup_duration`, `execution_duration`, and the - * `cleanup_duration`. The `execution_duration` field is set to 0 for multitask job runs. The - * total duration of a multitask job run is the value of the `run_duration` field. + * of a task run is the sum of the {@code setup_duration}, {@code execution_duration}, and the + * {@code cleanup_duration}. The {@code execution_duration} field is set to 0 for multitask job + * runs. The total duration of a multitask job run is the value of the {@code run_duration} field. */ @JsonProperty("execution_duration") private Long executionDuration; @@ -89,19 +93,20 @@ public class BaseRun { * Version-controlled source code is supported by notebook, dbt, Python script, and SQL File * tasks. * - *

If `git_source` is set, these tasks retrieve the file from the remote repository by default. - * However, this behavior can be overridden by setting `source` to `WORKSPACE` on the task. + *

If {@code git_source} is set, these tasks retrieve the file from the remote repository by + * default. However, this behavior can be overridden by setting {@code source} to {@code + * WORKSPACE} on the task. * *

Note: dbt and SQL File tasks support only version-controlled sources. If dbt or SQL File - * tasks are used, `git_source` must be defined on the job. + * tasks are used, {@code git_source} must be defined on the job. */ @JsonProperty("git_source") private GitSource gitSource; /** - * Indicates if the run has more array properties (`tasks`, `job_clusters`) that are not shown. - * They can be accessed via :method:jobs/getrun endpoint. It is only relevant for API 2.2 - * :method:jobs/listruns requests with `expand_tasks=true`. + * Indicates if the run has more array properties ({@code tasks}, {@code job_clusters}) that are + * not shown. They can be accessed via :method:jobs/getrun endpoint. It is only relevant for API + * 2.2 :method:jobs/listruns requests with {@code expand_tasks=true}. */ @JsonProperty("has_more") private Boolean hasMore; @@ -131,7 +136,7 @@ public class BaseRun { @JsonProperty("job_run_id") private Long jobRunId; - /** A unique identifier for this job run. This is set to the same value as `run_id`. */ + /** A unique identifier for this job run. This is set to the same value as {@code run_id}. */ @JsonProperty("number_in_job") private Long numberInJob; @@ -181,9 +186,10 @@ public class BaseRun { /** * The time in milliseconds it took to set up the cluster. For runs that run on new clusters this * is the cluster creation time, for runs that run on existing clusters this time should be very - * short. The duration of a task run is the sum of the `setup_duration`, `execution_duration`, and - * the `cleanup_duration`. The `setup_duration` field is set to 0 for multitask job runs. The - * total duration of a multitask job run is the value of the `run_duration` field. + * short. The duration of a task run is the sum of the {@code setup_duration}, {@code + * execution_duration}, and the {@code cleanup_duration}. The {@code setup_duration} field is set + * to 0 for multitask job runs. The total duration of a multitask job run is the value of the + * {@code run_duration} field. */ @JsonProperty("setup_duration") private Long setupDuration; @@ -196,7 +202,7 @@ public class BaseRun { @JsonProperty("start_time") private Long startTime; - /** Deprecated. Please use the `status` field instead. */ + /** Deprecated. Please use the {@code status} field instead. */ @JsonProperty("state") private RunState state; @@ -205,10 +211,10 @@ public class BaseRun { private RunStatus status; /** - * The list of tasks performed by the run. Each task has its own `run_id` which you can use to - * call `JobsGetOutput` to retrieve the run resutls. If more than 100 tasks are available, you can - * paginate through them using :method:jobs/getrun. Use the `next_page_token` field at the object - * root to determine if more results are available. + * The list of tasks performed by the run. Each task has its own {@code run_id} which you can use + * to call {@code JobsGetOutput} to retrieve the run resutls. If more than 100 tasks are + * available, you can paginate through them using :method:jobs/getrun. Use the {@code + * next_page_token} field at the object root to determine if more results are available. */ @JsonProperty("tasks") private Collection tasks; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ClusterInstance.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ClusterInstance.java index cbeb87b3e..e8f324566 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ClusterInstance.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ClusterInstance.java @@ -12,8 +12,8 @@ public class ClusterInstance { /** * The canonical identifier for the cluster used by a run. This field is always available for runs * on existing clusters. For runs on new clusters, it becomes available once the cluster is - * created. This value can be used to view logs by browsing to - * `/#setting/sparkui/$cluster_id/driver-logs`. The logs continue to be available after the run + * created. This value can be used to view logs by browsing to {@code + * /#setting/sparkui/$cluster_id/driver-logs}. The logs continue to be available after the run * completes. * *

The response won’t include this field if the identifier is not available yet. @@ -23,8 +23,8 @@ public class ClusterInstance { /** * The canonical identifier for the Spark context used by a run. This field is filled in once the - * run begins execution. This value can be used to view the Spark UI by browsing to - * `/#setting/sparkui/$cluster_id/$spark_context_id`. The Spark UI continues to be available after + * run begins execution. This value can be used to view the Spark UI by browsing to {@code + * /#setting/sparkui/$cluster_id/$spark_context_id}. The Spark UI continues to be available after * the run has completed. * *

The response won’t include this field if the identifier is not available yet. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ClusterSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ClusterSpec.java index 4e080a1e3..25e3ec1b6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ClusterSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ClusterSpec.java @@ -19,8 +19,8 @@ public class ClusterSpec { private String existingClusterId; /** - * If job_cluster_key, this task is executed reusing the cluster specified in - * `job.settings.job_clusters`. + * If job_cluster_key, this task is executed reusing the cluster specified in {@code + * job.settings.job_clusters}. */ @JsonProperty("job_cluster_key") private String jobClusterKey; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ConditionTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ConditionTask.java index 3a5badda6..d2117cc95 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ConditionTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ConditionTask.java @@ -17,14 +17,20 @@ public class ConditionTask { private String left; /** - * * `EQUAL_TO`, `NOT_EQUAL` operators perform string comparison of their operands. This means - * that `“12.0” == “12”` will evaluate to `false`. * `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, - * `LESS_THAN`, `LESS_THAN_OR_EQUAL` operators perform numeric comparison of their operands. - * `“12.0” >= “12”` will evaluate to `true`, `“10.0” >= “12”` will evaluate to `false`. * - *

The boolean comparison to task values can be implemented with operators `EQUAL_TO`, - * `NOT_EQUAL`. If a task value was set to a boolean value, it will be serialized to `“true”` or - * `“false”` for the comparison. + * + *

    + *
  • {@code EQUAL_TO}, {@code NOT_EQUAL} operators perform string comparison of their + * operands. This means that {@code “12.0” == “12”} will evaluate to {@code false}. + *
  • {@code GREATER_THAN}, {@code GREATER_THAN_OR_EQUAL}, {@code LESS_THAN}, {@code + * LESS_THAN_OR_EQUAL} operators perform numeric comparison of their operands. {@code “12.0” + * >= “12”} will evaluate to {@code true}, {@code “10.0” >= “12”} will evaluate to {@code + * false}. + *
+ * + * The boolean comparison to task values can be implemented with operators {@code EQUAL_TO}, + * {@code NOT_EQUAL}. If a task value was set to a boolean value, it will be serialized to {@code + * “true”} or {@code “false”} for the comparison. */ @JsonProperty("op") private ConditionTaskOp op; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ConditionTaskOp.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ConditionTaskOp.java index f496f0f76..45a80254f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ConditionTaskOp.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ConditionTaskOp.java @@ -5,14 +5,20 @@ import com.databricks.sdk.support.Generated; /** - * * `EQUAL_TO`, `NOT_EQUAL` operators perform string comparison of their operands. This means that - * `“12.0” == “12”` will evaluate to `false`. * `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, - * `LESS_THAN`, `LESS_THAN_OR_EQUAL` operators perform numeric comparison of their operands. `“12.0” - * >= “12”` will evaluate to `true`, `“10.0” >= “12”` will evaluate to `false`. * - *

The boolean comparison to task values can be implemented with operators `EQUAL_TO`, - * `NOT_EQUAL`. If a task value was set to a boolean value, it will be serialized to `“true”` or - * `“false”` for the comparison. + * + *

    + *
  • {@code EQUAL_TO}, {@code NOT_EQUAL} operators perform string comparison of their operands. + * This means that {@code “12.0” == “12”} will evaluate to {@code false}. + *
  • {@code GREATER_THAN}, {@code GREATER_THAN_OR_EQUAL}, {@code LESS_THAN}, {@code + * LESS_THAN_OR_EQUAL} operators perform numeric comparison of their operands. {@code “12.0” + * >= “12”} will evaluate to {@code true}, {@code “10.0” >= “12”} will evaluate to {@code + * false}. + *
+ * + * The boolean comparison to task values can be implemented with operators {@code EQUAL_TO}, {@code + * NOT_EQUAL}. If a task value was set to a boolean value, it will be serialized to {@code “true”} + * or {@code “false”} for the comparison. */ @Generated public enum ConditionTaskOp { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/CreateJob.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/CreateJob.java index b539554a0..ca50d3737 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/CreateJob.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/CreateJob.java @@ -17,15 +17,15 @@ public class CreateJob { /** * The id of the user specified budget policy to use for this job. If not specified, a default - * budget policy may be applied when creating or modifying the job. See - * `effective_budget_policy_id` for the budget policy used by this workload. + * budget policy may be applied when creating or modifying the job. See {@code + * effective_budget_policy_id} for the budget policy used by this workload. */ @JsonProperty("budget_policy_id") private String budgetPolicyId; /** * An optional continuous property for this job. The continuous property will ensure that there is - * always one run executing. Only one of `schedule` and `continuous` can be used. + * always one run executing. Only one of {@code schedule} and {@code continuous} can be used. */ @JsonProperty("continuous") private Continuous continuous; @@ -43,8 +43,10 @@ public class CreateJob { /** * Edit mode of the job. * - *

* `UI_LOCKED`: The job is in a locked UI state and cannot be modified. * `EDITABLE`: The job - * is in an editable state and can be modified. + *

    + *
  • {@code UI_LOCKED}: The job is in a locked UI state and cannot be modified. + *
  • {@code EDITABLE}: The job is in an editable state and can be modified. + *
*/ @JsonProperty("edit_mode") private JobEditMode editMode; @@ -68,7 +70,7 @@ public class CreateJob { /** * Used to tell what is the format of the job. This field is ignored in Create/Update/Reset calls. - * When using the Jobs API 2.1 this value is always set to `"MULTI_TASK"`. + * When using the Jobs API 2.1 this value is always set to {@code "MULTI_TASK"}. */ @JsonProperty("format") private Format format; @@ -78,11 +80,12 @@ public class CreateJob { * Version-controlled source code is supported by notebook, dbt, Python script, and SQL File * tasks. * - *

If `git_source` is set, these tasks retrieve the file from the remote repository by default. - * However, this behavior can be overridden by setting `source` to `WORKSPACE` on the task. + *

If {@code git_source} is set, these tasks retrieve the file from the remote repository by + * default. However, this behavior can be overridden by setting {@code source} to {@code + * WORKSPACE} on the task. * *

Note: dbt and SQL File tasks support only version-controlled sources. If dbt or SQL File - * tasks are used, `git_source` must be defined on the job. + * tasks are used, {@code git_source} must be defined on the job. */ @JsonProperty("git_source") private GitSource gitSource; @@ -107,7 +110,8 @@ public class CreateJob { * This setting affects only new runs. For example, suppose the job’s concurrency is 4 and there * are 4 concurrent active runs. Then setting the concurrency to 3 won’t kill any of the active * runs. However, from then on, new runs are skipped unless there are fewer than 3 active runs. - * This value cannot exceed 1000. Setting this value to `0` causes all new runs to be skipped. + * This value cannot exceed 1000. Setting this value to {@code 0} causes all new runs to be + * skipped. */ @JsonProperty("max_concurrent_runs") private Long maxConcurrentRuns; @@ -117,8 +121,8 @@ public class CreateJob { private String name; /** - * Optional notification settings that are used when sending notifications to each of the - * `email_notifications` and `webhook_notifications` for this job. + * Optional notification settings that are used when sending notifications to each of the {@code + * email_notifications} and {@code webhook_notifications} for this job. */ @JsonProperty("notification_settings") private JobNotificationSettings notificationSettings; @@ -132,9 +136,11 @@ public class CreateJob { * performance or cost-efficiency for the run. The performance target does not apply to tasks that * run on Serverless GPU compute. * - *

* `STANDARD`: Enables cost-efficient execution of serverless workloads. * - * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and - * optimized cluster performance. + *

    + *
  • {@code STANDARD}: Enables cost-efficient execution of serverless workloads. + *
  • {@code PERFORMANCE_OPTIMIZED}: Prioritizes fast startup and execution times through rapid + * scaling and optimized cluster performance. + *
*/ @JsonProperty("performance_target") private PerformanceTarget performanceTarget; @@ -145,15 +151,15 @@ public class CreateJob { /** * The user or service principal that the job runs as, if specified in the request. This field - * indicates the explicit configuration of `run_as` for the job. To find the value in all cases, - * explicit or implicit, use `run_as_user_name`. + * indicates the explicit configuration of {@code run_as} for the job. To find the value in all + * cases, explicit or implicit, use {@code run_as_user_name}. */ @JsonProperty("run_as") private JobRunAs runAs; /** * An optional periodic schedule for this job. The default behavior is that the job only runs when - * triggered by clicking “Run Now” in the Jobs UI or sending an API request to `runNow`. + * triggered by clicking “Run Now” in the Jobs UI or sending an API request to {@code runNow}. */ @JsonProperty("schedule") private CronSchedule schedule; @@ -170,28 +176,28 @@ public class CreateJob { * A list of task specifications to be executed by this job. It supports up to 1000 elements in * write endpoints (:method:jobs/create, :method:jobs/reset, :method:jobs/update, * :method:jobs/submit). Read endpoints return only 100 tasks. If more than 100 tasks are - * available, you can paginate through them using :method:jobs/get. Use the `next_page_token` - * field at the object root to determine if more results are available. + * available, you can paginate through them using :method:jobs/get. Use the {@code + * next_page_token} field at the object root to determine if more results are available. */ @JsonProperty("tasks") private Collection tasks; - /** An optional timeout applied to each run of this job. A value of `0` means no timeout. */ + /** An optional timeout applied to each run of this job. A value of {@code 0} means no timeout. */ @JsonProperty("timeout_seconds") private Long timeoutSeconds; /** * A configuration to trigger a run when certain conditions are met. The default behavior is that * the job runs only when triggered by clicking “Run Now” in the Jobs UI or sending an API request - * to `runNow`. + * to {@code runNow}. */ @JsonProperty("trigger") private TriggerSettings trigger; /** * The id of the user specified usage policy to use for this job. If not specified, a default - * usage policy may be applied when creating or modifying the job. See `effective_usage_policy_id` - * for the usage policy used by this workload. + * usage policy may be applied when creating or modifying the job. See {@code + * effective_usage_policy_id} for the usage policy used by this workload. */ @JsonProperty("usage_policy_id") private String usagePolicyId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/CronSchedule.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/CronSchedule.java index 6cbe5d60a..a5215643a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/CronSchedule.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/CronSchedule.java @@ -14,20 +14,17 @@ public class CronSchedule { private PauseStatus pauseStatus; /** - * A Cron expression using Quartz syntax that describes the schedule for a job. See [Cron Trigger] - * for details. This field is required. - * - *

[Cron Trigger]: - * http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html + * A Cron expression using Quartz syntax that describes the schedule for a job. See Cron + * Trigger for details. This field is required. */ @JsonProperty("quartz_cron_expression") private String quartzCronExpression; /** - * A Java timezone ID. The schedule for a job is resolved with respect to this timezone. See [Java - * TimeZone] for details. This field is required. - * - *

[Java TimeZone]: https://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html + * A Java timezone ID. The schedule for a job is resolved with respect to this timezone. See Java TimeZone for + * details. This field is required. */ @JsonProperty("timezone_id") private String timezoneId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DashboardTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DashboardTask.java index f1c2f5f1c..fdee6bcf3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DashboardTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DashboardTask.java @@ -18,12 +18,17 @@ public class DashboardTask { /** * Dashboard task parameters. Used to apply dashboard filter values during dashboard task * execution. Parameter values get applied to any dashboard filters that have a matching URL - * identifier as the parameter key. The parameter value format is dependent on the filter type: - - * For text and single-select filters, provide a single value (e.g. `"value"`) - For date and - * datetime filters, provide the value in ISO 8601 format (e.g. `"2000-01-01T00:00:00"`) - For - * multi-select filters, provide a JSON array of values (e.g. `"[\"value1\",\"value2\"]"`) - For - * range and date range filters, provide a JSON object with `start` and `end` (e.g. - * `"{\"start\":\"1\",\"end\":\"10\"}"`) + * identifier as the parameter key. The parameter value format is dependent on the filter type: + * + *

    + *
  • For text and single-select filters, provide a single value (e.g. {@code "value"}) + *
  • For date and datetime filters, provide the value in ISO 8601 format (e.g. {@code + * "2000-01-01T00:00:00"}) + *
  • For multi-select filters, provide a JSON array of values (e.g. {@code + * "[\"value1\",\"value2\"]"}) + *
  • For range and date range filters, provide a JSON object with {@code start} and {@code + * end} (e.g. {@code "{\"start\":\"1\",\"end\":\"10\"}"}) + *
*/ @JsonProperty("filters") private Map filters; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtOutput.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtOutput.java index 523d88c3e..173e307ac 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtOutput.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtOutput.java @@ -10,7 +10,10 @@ @Generated public class DbtOutput { - /** An optional map of headers to send when retrieving the artifact from the `artifacts_link`. */ + /** + * An optional map of headers to send when retrieving the artifact from the {@code + * artifacts_link}. + */ @JsonProperty("artifacts_headers") private Map artifactsHeaders; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtTask.java index b27b556a2..f9d984851 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/DbtTask.java @@ -13,14 +13,14 @@ public class DbtTask { /** * Optional name of the catalog to use. The value is the top level in the 3-level namespace of * Unity Catalog (catalog / schema / relation). The catalog value can only be specified if a - * warehouse_id is specified. Requires dbt-databricks >= 1.1.1. + * warehouse_id is specified. Requires dbt-databricks >= 1.1.1. */ @JsonProperty("catalog") private String catalog; /** - * A list of dbt commands to execute. All commands must start with `dbt`. This parameter must not - * be empty. A maximum of up to 10 commands can be provided. + * A list of dbt commands to execute. All commands must start with {@code dbt}. This parameter + * must not be empty. A maximum of up to 10 commands can be provided. */ @JsonProperty("commands") private Collection commands; @@ -42,19 +42,21 @@ public class DbtTask { /** * Optional schema to write to. This parameter is only used when a warehouse_id is also provided. - * If not provided, the `default` schema is used. + * If not provided, the {@code default} schema is used. */ @JsonProperty("schema") private String schema; /** - * Optional location type of the project directory. When set to `WORKSPACE`, the project will be - * retrieved from the local Databricks workspace. When set to `GIT`, the project will be retrieved - * from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` - * if `git_source` is defined and `WORKSPACE` otherwise. + * Optional location type of the project directory. When set to {@code WORKSPACE}, the project + * will be retrieved from the local Databricks workspace. When set to {@code GIT}, the project + * will be retrieved from a Git repository defined in {@code git_source}. If the value is empty, + * the task will use {@code GIT} if {@code git_source} is defined and {@code WORKSPACE} otherwise. * - *

* `WORKSPACE`: Project is located in Databricks workspace. * `GIT`: Project is located in - * cloud Git provider. + *

    + *
  • {@code WORKSPACE}: Project is located in Databricks workspace. + *
  • {@code GIT}: Project is located in cloud Git provider. + *
*/ @JsonProperty("source") private Source source; @@ -62,7 +64,7 @@ public class DbtTask { /** * ID of the SQL warehouse to connect to. If provided, we automatically generate and provide the * profile and connection details to dbt. It can be overridden on a per-command basis by using the - * `--profiles-dir` command line argument. + * {@code --profiles-dir} command line argument. */ @JsonProperty("warehouse_id") private String warehouseId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ExportRunOutput.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ExportRunOutput.java index 160338971..705666a77 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ExportRunOutput.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ExportRunOutput.java @@ -13,7 +13,8 @@ public class ExportRunOutput { /** * The exported content in HTML format (one for every view item). To extract the HTML notebook - * from the JSON response, download and run this [Python script](/_static/examples/extract.py). + * from the JSON response, download and run this Python + * script. */ @JsonProperty("views") private Collection views; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GenAiComputeTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GenAiComputeTask.java index c5dc54e06..d4b42417e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GenAiComputeTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GenAiComputeTask.java @@ -8,10 +8,10 @@ import java.util.Objects; /** - * DEPRECATED — use `AiRuntimeTask` for all new BYOT multi-node GPU workloads (see - * ai_runtime_task.proto). `AiRuntimeTask` is the only supported BYOT task type for new workloads; - * this proto is retained only for AIR CLI (fka SGCLI) pywheel backwards compatibility and will be - * removed once the pywheel → databricks-cli migration completes (post- PuPr). + * DEPRECATED — use {@code AiRuntimeTask} for all new BYOT multi-node GPU workloads (see + * ai_runtime_task.proto). {@code AiRuntimeTask} is the only supported BYOT task type for new + * workloads; this proto is retained only for AIR CLI (fka SGCLI) pywheel backwards compatibility + * and will be removed once the pywheel → databricks-cli migration completes (post- PuPr). */ @Generated public class GenAiComputeTask { @@ -35,11 +35,15 @@ public class GenAiComputeTask { private String mlflowExperimentName; /** - * Optional location type of the training script. When set to `WORKSPACE`, the script will be - * retrieved from the local Databricks workspace. When set to `GIT`, the script will be retrieved - * from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` - * if `git_source` is defined and `WORKSPACE` otherwise. * `WORKSPACE`: Script is located in - * Databricks workspace. * `GIT`: Script is located in cloud Git provider. + * Optional location type of the training script. When set to {@code WORKSPACE}, the script will + * be retrieved from the local Databricks workspace. When set to {@code GIT}, the script will be + * retrieved from a Git repository defined in {@code git_source}. If the value is empty, the task + * will use {@code GIT} if {@code git_source} is defined and {@code WORKSPACE} otherwise. + * + *
    + *
  • {@code WORKSPACE}: Script is located in Databricks workspace. + *
  • {@code GIT}: Script is located in cloud Git provider. + *
*/ @JsonProperty("source") private Source source; @@ -47,8 +51,8 @@ public class GenAiComputeTask { /** * The training script file path to be executed. Cloud file URIs (such as dbfs:/, s3:/, adls:/, * gcs:/) and workspace paths are supported. For python files stored in the Databricks workspace, - * the path must be absolute and begin with `/`. For files stored in a remote repository, the path - * must be relative. This field is required. + * the path must be absolute and begin with {@code /}. For files stored in a remote repository, + * the path must be relative. This field is required. */ @JsonProperty("training_script_path") private String trainingScriptPath; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetJobRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetJobRequest.java index 2496d1d02..dae769cdd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetJobRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetJobRequest.java @@ -21,8 +21,8 @@ public class GetJobRequest { private Long jobId; /** - * Use `next_page_token` returned from the previous GetJob response to request the next page of - * the job's array properties. + * Use {@code next_page_token} returned from the previous GetJob response to request the next page + * of the job's array properties. */ @JsonIgnore @QueryParam("page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetRunRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetRunRequest.java index c11c215d2..8f05a849a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetRunRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GetRunRequest.java @@ -21,8 +21,8 @@ public class GetRunRequest { private Boolean includeResolvedValues; /** - * Use `next_page_token` returned from the previous GetRun response to request the next page of - * the run's array properties. + * Use {@code next_page_token} returned from the previous GetRun response to request the next page + * of the run's array properties. */ @JsonIgnore @QueryParam("page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GitSource.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GitSource.java index 27bb17bee..ceed3ddb2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GitSource.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/GitSource.java @@ -11,11 +11,12 @@ * An optional specification for a remote Git repository containing the source code used by tasks. * Version-controlled source code is supported by notebook, dbt, Python script, and SQL File tasks. * - *

If `git_source` is set, these tasks retrieve the file from the remote repository by default. - * However, this behavior can be overridden by setting `source` to `WORKSPACE` on the task. + *

If {@code git_source} is set, these tasks retrieve the file from the remote repository by + * default. However, this behavior can be overridden by setting {@code source} to {@code WORKSPACE} + * on the task. * *

Note: dbt and SQL File tasks support only version-controlled sources. If dbt or SQL File tasks - * are used, `git_source` must be defined on the job. + * are used, {@code git_source} must be defined on the job. */ @Generated public class GitSource { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Job.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Job.java index 3b2a3d50b..b3c9eac4b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Job.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Job.java @@ -25,9 +25,14 @@ public class Job { /** * The id of the budget policy used by this job for cost attribution purposes. This may be set - * through (in order of precedence): 1. Budget admins through the account or workspace console 2. - * Jobs UI in the job details page and Jobs API using `budget_policy_id` 3. Inferred default based - * on accessible budget policies of the run_as identity on job creation or modification. + * through (in order of precedence): + * + *

    + *
  1. Budget admins through the account or workspace console + *
  2. Jobs UI in the job details page and Jobs API using {@code budget_policy_id} + *
  3. Inferred default based on accessible budget policies of the run_as identity on job + * creation or modification. + *
*/ @JsonProperty("effective_budget_policy_id") private String effectiveBudgetPolicyId; @@ -37,9 +42,9 @@ public class Job { private String effectiveUsagePolicyId; /** - * Indicates if the job has more array properties (`tasks`, `job_clusters`) that are not shown. - * They can be accessed via :method:jobs/get endpoint. It is only relevant for API 2.2 - * :method:jobs/list requests with `expand_tasks=true`. + * Indicates if the job has more array properties ({@code tasks}, {@code job_clusters}) that are + * not shown. They can be accessed via :method:jobs/get endpoint. It is only relevant for API 2.2 + * :method:jobs/list requests with {@code expand_tasks=true}. */ @JsonProperty("has_more") private Boolean hasMore; @@ -54,19 +59,19 @@ public class Job { /** * The email of an active workspace user or the application ID of a service principal that the job - * runs as. This value can be changed by setting the `run_as` field when creating or updating a - * job. + * runs as. This value can be changed by setting the {@code run_as} field when creating or + * updating a job. * - *

By default, `run_as_user_name` is based on the current job settings and is set to the - * creator of the job if job access control is disabled or to the user with the `is_owner` + *

By default, {@code run_as_user_name} is based on the current job settings and is set to the + * creator of the job if job access control is disabled or to the user with the {@code is_owner} * permission if job access control is enabled. */ @JsonProperty("run_as_user_name") private String runAsUserName; /** - * Settings for this job and all of its runs. These settings can be updated using the `resetJob` - * method. + * Settings for this job and all of its runs. These settings can be updated using the {@code + * resetJob} method. */ @JsonProperty("settings") private JobSettings settings; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobCluster.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobCluster.java index 25d519e34..898664c0d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobCluster.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobCluster.java @@ -11,8 +11,8 @@ public class JobCluster { /** * A unique name for the job cluster. This field is required and must be unique within the job. - * `JobTaskSettings` may refer to this field to determine which cluster to launch for the task - * execution. + * {@code JobTaskSettings} may refer to this field to determine which cluster to launch for the + * task execution. */ @JsonProperty("job_cluster_key") private String jobClusterKey; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobDeployment.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobDeployment.java index 50e139e4b..760ae3b41 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobDeployment.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobDeployment.java @@ -10,8 +10,8 @@ @Generated public class JobDeployment { /** - * ID of the deployment that manages this job. Only set when `kind` is `BUNDLE`. Used to look up - * deployment metadata from the Deployment Metadata service. + * ID of the deployment that manages this job. Only set when {@code kind} is {@code BUNDLE}. Used + * to look up deployment metadata from the Deployment Metadata service. */ @JsonProperty("deployment_id") private String deploymentId; @@ -19,8 +19,10 @@ public class JobDeployment { /** * The kind of deployment that manages the job. * - *

* `BUNDLE`: The job is managed by Databricks Asset Bundle. * `SYSTEM_MANAGED`: The job is - * managed by Databricks and is read-only. + *

    + *
  • {@code BUNDLE}: The job is managed by Databricks Asset Bundle. + *
  • {@code SYSTEM_MANAGED}: The job is managed by Databricks and is read-only. + *
*/ @JsonProperty("kind") private JobDeploymentKind kind; @@ -30,8 +32,9 @@ public class JobDeployment { private String metadataFilePath; /** - * ID of the version of the deployment that produced this job. Only set when `kind` is `BUNDLE`. - * Identifies a specific snapshot of the deployment in the Deployment Metadata service. + * ID of the version of the deployment that produced this job. Only set when {@code kind} is + * {@code BUNDLE}. Identifies a specific snapshot of the deployment in the Deployment Metadata + * service. */ @JsonProperty("version_id") private String versionId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobDeploymentKind.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobDeploymentKind.java index b5f941838..9242b4af7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobDeploymentKind.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobDeploymentKind.java @@ -5,8 +5,12 @@ import com.databricks.sdk.support.Generated; /** - * * `BUNDLE`: The job is managed by Databricks Asset Bundle. * `SYSTEM_MANAGED`: The job is managed - * by Databricks and is read-only. + * + * + *
    + *
  • {@code BUNDLE}: The job is managed by Databricks Asset Bundle. + *
  • {@code SYSTEM_MANAGED}: The job is managed by Databricks and is read-only. + *
*/ @Generated public enum JobDeploymentKind { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobEditMode.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobEditMode.java index 624c86967..0a615a1fa 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobEditMode.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobEditMode.java @@ -7,8 +7,10 @@ /** * Edit mode of the job. * - *

* `UI_LOCKED`: The job is in a locked UI state and cannot be modified. * `EDITABLE`: The job - * is in an editable state and can be modified. + *

    + *
  • {@code UI_LOCKED}: The job is in a locked UI state and cannot be modified. + *
  • {@code EDITABLE}: The job is in an editable state and can be modified. + *
*/ @Generated public enum JobEditMode { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobEmailNotifications.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobEmailNotifications.java index 6c56a80cc..477971fac 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobEmailNotifications.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobEmailNotifications.java @@ -11,26 +11,27 @@ @Generated public class JobEmailNotifications { /** - * If true, do not send email to recipients specified in `on_failure` if the run is skipped. This - * field is `deprecated`. Please use the `notification_settings.no_alert_for_skipped_runs` field. + * If true, do not send email to recipients specified in {@code on_failure} if the run is skipped. + * This field is {@code deprecated}. Please use the {@code + * notification_settings.no_alert_for_skipped_runs} field. */ @JsonProperty("no_alert_for_skipped_runs") private Boolean noAlertForSkippedRuns; /** * A list of email addresses to be notified when the duration of a run exceeds the threshold - * specified for the `RUN_DURATION_SECONDS` metric in the `health` field. If no rule for the - * `RUN_DURATION_SECONDS` metric is specified in the `health` field for the job, notifications are - * not sent. + * specified for the {@code RUN_DURATION_SECONDS} metric in the {@code health} field. If no rule + * for the {@code RUN_DURATION_SECONDS} metric is specified in the {@code health} field for the + * job, notifications are not sent. */ @JsonProperty("on_duration_warning_threshold_exceeded") private Collection onDurationWarningThresholdExceeded; /** * A list of email addresses to be notified when a run unsuccessfully completes. A run is - * considered to have completed unsuccessfully if it ends with an `INTERNAL_ERROR` - * `life_cycle_state` or a `FAILED`, or `TIMED_OUT` result_state. If this is not specified on job - * creation, reset, or update the list is empty, and notifications are not sent. + * considered to have completed unsuccessfully if it ends with an {@code INTERNAL_ERROR} {@code + * life_cycle_state} or a {@code FAILED}, or {@code TIMED_OUT} result_state. If this is not + * specified on job creation, reset, or update the list is empty, and notifications are not sent. */ @JsonProperty("on_failure") private Collection onFailure; @@ -44,19 +45,20 @@ public class JobEmailNotifications { /** * A list of email addresses to notify when any streaming backlog thresholds are exceeded for any - * stream. Streaming backlog thresholds can be set in the `health` field using the following - * metrics: `STREAMING_BACKLOG_BYTES`, `STREAMING_BACKLOG_RECORDS`, `STREAMING_BACKLOG_SECONDS`, - * or `STREAMING_BACKLOG_FILES`. Alerting is based on the 10-minute average of these metrics. If - * the issue persists, notifications are resent every 30 minutes. + * stream. Streaming backlog thresholds can be set in the {@code health} field using the following + * metrics: {@code STREAMING_BACKLOG_BYTES}, {@code STREAMING_BACKLOG_RECORDS}, {@code + * STREAMING_BACKLOG_SECONDS}, or {@code STREAMING_BACKLOG_FILES}. Alerting is based on the + * 10-minute average of these metrics. If the issue persists, notifications are resent every 30 + * minutes. */ @JsonProperty("on_streaming_backlog_exceeded") private Collection onStreamingBacklogExceeded; /** * A list of email addresses to be notified when a run successfully completes. A run is considered - * to have completed successfully if it ends with a `TERMINATED` `life_cycle_state` and a - * `SUCCESS` result_state. If not specified on job creation, reset, or update, the list is empty, - * and notifications are not sent. + * to have completed successfully if it ends with a {@code TERMINATED} {@code life_cycle_state} + * and a {@code SUCCESS} result_state. If not specified on job creation, reset, or update, the + * list is empty, and notifications are not sent. */ @JsonProperty("on_success") private Collection onSuccess; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobNotificationSettings.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobNotificationSettings.java index 60c2a008f..4227086b2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobNotificationSettings.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobNotificationSettings.java @@ -10,14 +10,14 @@ @Generated public class JobNotificationSettings { /** - * If true, do not send notifications to recipients specified in `on_failure` if the run is + * If true, do not send notifications to recipients specified in {@code on_failure} if the run is * canceled. */ @JsonProperty("no_alert_for_canceled_runs") private Boolean noAlertForCanceledRuns; /** - * If true, do not send notifications to recipients specified in `on_failure` if the run is + * If true, do not send notifications to recipients specified in {@code on_failure} if the run is * skipped. */ @JsonProperty("no_alert_for_skipped_runs") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobParameterDefinition.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobParameterDefinition.java index d383ad6f9..8c6ee6775 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobParameterDefinition.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobParameterDefinition.java @@ -14,7 +14,8 @@ public class JobParameterDefinition { private String defaultValue; /** - * The name of the defined parameter. May only contain alphanumeric characters, `_`, `-`, and `.` + * The name of the defined parameter. May only contain alphanumeric characters, {@code _}, {@code + * -}, and {@code .} */ @JsonProperty("name") private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobRunAs.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobRunAs.java index dcbf39048..0fc4cca20 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobRunAs.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobRunAs.java @@ -11,8 +11,8 @@ * Write-only setting. Specifies the user or service principal that the job runs as. If not * specified, the job runs as the user who created the job. * - *

Either `user_name` or `service_principal_name` should be specified. If not, an error is - * thrown. + *

Either {@code user_name} or {@code service_principal_name} should be specified. If not, an + * error is thrown. */ @Generated public class JobRunAs { @@ -24,8 +24,8 @@ public class JobRunAs { private String groupName; /** - * Application ID of an active service principal. Setting this field requires the - * `servicePrincipal/user` role. + * Application ID of an active service principal. Setting this field requires the {@code + * servicePrincipal/user} role. */ @JsonProperty("service_principal_name") private String servicePrincipalName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobSettings.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobSettings.java index 43ae29ee0..85dfb1aaa 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobSettings.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobSettings.java @@ -13,15 +13,15 @@ public class JobSettings { /** * The id of the user specified budget policy to use for this job. If not specified, a default - * budget policy may be applied when creating or modifying the job. See - * `effective_budget_policy_id` for the budget policy used by this workload. + * budget policy may be applied when creating or modifying the job. See {@code + * effective_budget_policy_id} for the budget policy used by this workload. */ @JsonProperty("budget_policy_id") private String budgetPolicyId; /** * An optional continuous property for this job. The continuous property will ensure that there is - * always one run executing. Only one of `schedule` and `continuous` can be used. + * always one run executing. Only one of {@code schedule} and {@code continuous} can be used. */ @JsonProperty("continuous") private Continuous continuous; @@ -39,8 +39,10 @@ public class JobSettings { /** * Edit mode of the job. * - *

* `UI_LOCKED`: The job is in a locked UI state and cannot be modified. * `EDITABLE`: The job - * is in an editable state and can be modified. + *

    + *
  • {@code UI_LOCKED}: The job is in a locked UI state and cannot be modified. + *
  • {@code EDITABLE}: The job is in an editable state and can be modified. + *
*/ @JsonProperty("edit_mode") private JobEditMode editMode; @@ -64,7 +66,7 @@ public class JobSettings { /** * Used to tell what is the format of the job. This field is ignored in Create/Update/Reset calls. - * When using the Jobs API 2.1 this value is always set to `"MULTI_TASK"`. + * When using the Jobs API 2.1 this value is always set to {@code "MULTI_TASK"}. */ @JsonProperty("format") private Format format; @@ -74,11 +76,12 @@ public class JobSettings { * Version-controlled source code is supported by notebook, dbt, Python script, and SQL File * tasks. * - *

If `git_source` is set, these tasks retrieve the file from the remote repository by default. - * However, this behavior can be overridden by setting `source` to `WORKSPACE` on the task. + *

If {@code git_source} is set, these tasks retrieve the file from the remote repository by + * default. However, this behavior can be overridden by setting {@code source} to {@code + * WORKSPACE} on the task. * *

Note: dbt and SQL File tasks support only version-controlled sources. If dbt or SQL File - * tasks are used, `git_source` must be defined on the job. + * tasks are used, {@code git_source} must be defined on the job. */ @JsonProperty("git_source") private GitSource gitSource; @@ -103,7 +106,8 @@ public class JobSettings { * This setting affects only new runs. For example, suppose the job’s concurrency is 4 and there * are 4 concurrent active runs. Then setting the concurrency to 3 won’t kill any of the active * runs. However, from then on, new runs are skipped unless there are fewer than 3 active runs. - * This value cannot exceed 1000. Setting this value to `0` causes all new runs to be skipped. + * This value cannot exceed 1000. Setting this value to {@code 0} causes all new runs to be + * skipped. */ @JsonProperty("max_concurrent_runs") private Long maxConcurrentRuns; @@ -113,8 +117,8 @@ public class JobSettings { private String name; /** - * Optional notification settings that are used when sending notifications to each of the - * `email_notifications` and `webhook_notifications` for this job. + * Optional notification settings that are used when sending notifications to each of the {@code + * email_notifications} and {@code webhook_notifications} for this job. */ @JsonProperty("notification_settings") private JobNotificationSettings notificationSettings; @@ -128,9 +132,11 @@ public class JobSettings { * performance or cost-efficiency for the run. The performance target does not apply to tasks that * run on Serverless GPU compute. * - *

* `STANDARD`: Enables cost-efficient execution of serverless workloads. * - * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and - * optimized cluster performance. + *

    + *
  • {@code STANDARD}: Enables cost-efficient execution of serverless workloads. + *
  • {@code PERFORMANCE_OPTIMIZED}: Prioritizes fast startup and execution times through rapid + * scaling and optimized cluster performance. + *
*/ @JsonProperty("performance_target") private PerformanceTarget performanceTarget; @@ -141,15 +147,15 @@ public class JobSettings { /** * The user or service principal that the job runs as, if specified in the request. This field - * indicates the explicit configuration of `run_as` for the job. To find the value in all cases, - * explicit or implicit, use `run_as_user_name`. + * indicates the explicit configuration of {@code run_as} for the job. To find the value in all + * cases, explicit or implicit, use {@code run_as_user_name}. */ @JsonProperty("run_as") private JobRunAs runAs; /** * An optional periodic schedule for this job. The default behavior is that the job only runs when - * triggered by clicking “Run Now” in the Jobs UI or sending an API request to `runNow`. + * triggered by clicking “Run Now” in the Jobs UI or sending an API request to {@code runNow}. */ @JsonProperty("schedule") private CronSchedule schedule; @@ -166,28 +172,28 @@ public class JobSettings { * A list of task specifications to be executed by this job. It supports up to 1000 elements in * write endpoints (:method:jobs/create, :method:jobs/reset, :method:jobs/update, * :method:jobs/submit). Read endpoints return only 100 tasks. If more than 100 tasks are - * available, you can paginate through them using :method:jobs/get. Use the `next_page_token` - * field at the object root to determine if more results are available. + * available, you can paginate through them using :method:jobs/get. Use the {@code + * next_page_token} field at the object root to determine if more results are available. */ @JsonProperty("tasks") private Collection tasks; - /** An optional timeout applied to each run of this job. A value of `0` means no timeout. */ + /** An optional timeout applied to each run of this job. A value of {@code 0} means no timeout. */ @JsonProperty("timeout_seconds") private Long timeoutSeconds; /** * A configuration to trigger a run when certain conditions are met. The default behavior is that * the job runs only when triggered by clicking “Run Now” in the Jobs UI or sending an API request - * to `runNow`. + * to {@code runNow}. */ @JsonProperty("trigger") private TriggerSettings trigger; /** * The id of the user specified usage policy to use for this job. If not specified, a default - * usage policy may be applied when creating or modifying the job. See `effective_usage_policy_id` - * for the usage policy used by this workload. + * usage policy may be applied when creating or modifying the job. See {@code + * effective_usage_policy_id} for the usage policy used by this workload. */ @JsonProperty("usage_policy_id") private String usagePolicyId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobSource.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobSource.java index d1f4ac1e8..7f1d33782 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobSource.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobSource.java @@ -16,11 +16,15 @@ public class JobSource { * Dirty state indicates the job is not fully synced with the job specification in the remote * repository. * - *

Possible values are: * `NOT_SYNCED`: The job is not yet synced with the remote job - * specification. Import the remote job specification from UI to make the job fully synced. * - * `DISCONNECTED`: The job is temporary disconnected from the remote job specification and is - * allowed for live edit. Import the remote job specification again from UI to make the job fully - * synced. + *

Possible values are: + * + *

    + *
  • {@code NOT_SYNCED}: The job is not yet synced with the remote job specification. Import + * the remote job specification from UI to make the job fully synced. + *
  • {@code DISCONNECTED}: The job is temporary disconnected from the remote job specification + * and is allowed for live edit. Import the remote job specification again from UI to make + * the job fully synced. + *
*/ @JsonProperty("dirty_state") private JobSourceDirtyState dirtyState; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobSourceDirtyState.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobSourceDirtyState.java index b7ef99de9..24169c056 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobSourceDirtyState.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobSourceDirtyState.java @@ -8,11 +8,15 @@ * Dirty state indicates the job is not fully synced with the job specification in the remote * repository. * - *

Possible values are: * `NOT_SYNCED`: The job is not yet synced with the remote job - * specification. Import the remote job specification from UI to make the job fully synced. * - * `DISCONNECTED`: The job is temporary disconnected from the remote job specification and is - * allowed for live edit. Import the remote job specification again from UI to make the job fully - * synced. + *

Possible values are: + * + *

    + *
  • {@code NOT_SYNCED}: The job is not yet synced with the remote job specification. Import the + * remote job specification from UI to make the job fully synced. + *
  • {@code DISCONNECTED}: The job is temporary disconnected from the remote job specification + * and is allowed for live edit. Import the remote job specification again from UI to make the + * job fully synced. + *
*/ @Generated public enum JobSourceDirtyState { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsAPI.java index d4125be6e..12ce42dac 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsAPI.java @@ -24,13 +24,12 @@ * using notebooks, JARS, Spark Declarative Pipelines, or Python, Scala, Spark submit, and Java * applications. * - *

You should never hard code secrets or store them in plain text. Use the [Secrets CLI] to - * manage secrets in the [Databricks CLI]. Use the [Secrets utility] to reference secrets in - * notebooks and jobs. - * - *

[Databricks CLI]: https://docs.databricks.com/dev-tools/cli/index.html [Secrets CLI]: - * https://docs.databricks.com/dev-tools/cli/secrets-cli.html [Secrets utility]: - * https://docs.databricks.com/dev-tools/databricks-utils.html#dbutils-secrets + *

You should never hard code secrets or store them in plain text. Use the Secrets CLI to manage + * secrets in the Databricks CLI. + * Use the Secrets + * utility to reference secrets in notebooks and jobs. */ @Generated public class JobsAPI { @@ -163,11 +162,11 @@ public Job get(long jobId) { * *

Large arrays in the results will be paginated when they exceed 100 elements. A request for a * single job will return all properties for that job, and the first 100 elements of array - * properties (`tasks`, `job_clusters`, `environments` and `parameters`). Use the - * `next_page_token` field to check for more results and pass its value as the `page_token` in - * subsequent requests. If any array properties have more than 100 elements, additional results - * will be returned on subsequent requests. Arrays without additional results will be empty on - * later pages. + * properties ({@code tasks}, {@code job_clusters}, {@code environments} and {@code parameters}). + * Use the {@code next_page_token} field to check for more results and pass its value as the + * {@code page_token} in subsequent requests. If any array properties have more than 100 elements, + * additional results will be returned on subsequent requests. Arrays without additional results + * will be empty on later pages. */ public Job get(GetJobRequest request) { return impl.get(request); @@ -200,11 +199,11 @@ public Run getRun(long runId) { * *

Large arrays in the results will be paginated when they exceed 100 elements. A request for a * single run will return all properties for that run, and the first 100 elements of array - * properties (`tasks`, `job_clusters`, `job_parameters` and `repair_history`). Use the - * next_page_token field to check for more results and pass its value as the page_token in - * subsequent requests. If any array properties have more than 100 elements, additional results - * will be returned on subsequent requests. Arrays without additional results will be empty on - * later pages. + * properties ({@code tasks}, {@code job_clusters}, {@code job_parameters} and {@code + * repair_history}). Use the next_page_token field to check for more results and pass its value as + * the page_token in subsequent requests. If any array properties have more than 100 elements, + * additional results will be returned on subsequent requests. Arrays without additional results + * will be empty on later pages. */ public Run getRun(GetRunRequest request) { return impl.getRun(request); @@ -216,14 +215,14 @@ public RunOutput getRunOutput(long runId) { /** * Retrieve the output and metadata of a single task run. When a notebook task returns a value - * through the `dbutils.notebook.exit()` call, you can use this endpoint to retrieve that value. - * Databricks restricts this API to returning the first 5 MB of the output. To return a larger - * result, you can store job results in a cloud storage service. + * through the {@code dbutils.notebook.exit()} call, you can use this endpoint to retrieve that + * value. Databricks restricts this API to returning the first 5 MB of the output. To return a + * larger result, you can store job results in a cloud storage service. * - *

This endpoint validates that the __run_id__ parameter is valid and returns an HTTP status - * code 400 if the __run_id__ parameter is invalid. Runs are automatically removed after 60 days. - * If you to want to reference them beyond 60 days, you must save old run results before they - * expire. + *

This endpoint validates that the run_id parameter is valid and returns an HTTP status + * code 400 if the run_id parameter is invalid. Runs are automatically removed after 60 + * days. If you to want to reference them beyond 60 days, you must save old run results before + * they expire. */ public RunOutput getRunOutput(GetRunOutputRequest request) { return impl.getRunOutput(request); @@ -272,14 +271,14 @@ public Wait repairRun(RepairRun request) { } /** - * Overwrite all settings for the given job. Use the [_Update_ endpoint](:method:jobs/update) to - * update job settings partially. + * Overwrite all settings for the given job. Use the Update + * endpoint to update job settings partially. */ public void reset(ResetJob request) { impl.reset(request); } - /** Run a job and return the `run_id` of the triggered run. */ + /** Run a job and return the {@code run_id} of the triggered run. */ public Wait runNow(RunNow request) { RunNowResponse response = impl.runNow(request); return new Wait<>( @@ -298,14 +297,14 @@ public JobPermissions setPermissions(JobPermissionsRequest request) { /** * Submit a one-time run. This endpoint allows you to submit a workload directly without creating - * a job. Runs submitted using this endpoint don’t display in the UI. Use the `jobs/runs/get` API - * to check the run state after the job is submitted. + * a job. Runs submitted using this endpoint don’t display in the UI. Use the {@code + * jobs/runs/get} API to check the run state after the job is submitted. * - *

**Important:** Jobs submitted using this endpoint are not saved as a job. They do not show - * up in the Jobs UI, and do not retry when they fail. Because they are not saved, Databricks + *

Important: Jobs submitted using this endpoint are not saved as a job. They do not + * show up in the Jobs UI, and do not retry when they fail. Because they are not saved, Databricks * cannot auto-optimize serverless compute in case of failure. If your job fails, you may want to - * use classic compute to specify the compute needs for the job. Alternatively, use the `POST - * /jobs/create` and `POST /jobs/run-now` endpoints to create and run a saved job. + * use classic compute to specify the compute needs for the job. Alternatively, use the {@code + * POST /jobs/create} and {@code POST /jobs/run-now} endpoints to create and run a saved job. */ public Wait submit(SubmitRun request) { SubmitRunResponse response = impl.submit(request); @@ -316,8 +315,8 @@ public Wait submit(SubmitRun request) { } /** - * Add, update, or remove specific settings of an existing job. Use the [_Reset_ - * endpoint](:method:jobs/reset) to overwrite all job settings. + * Add, update, or remove specific settings of an existing job. Use the Reset endpoint to overwrite all job settings. */ public void update(UpdateJob request) { impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsHealthMetric.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsHealthMetric.java index c83a38d63..fbfee2961 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsHealthMetric.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsHealthMetric.java @@ -7,13 +7,17 @@ /** * Specifies the health metric that is being evaluated for a particular health rule. * - *

* `RUN_DURATION_SECONDS`: Expected total time for a run in seconds. * - * `STREAMING_BACKLOG_BYTES`: An estimate of the maximum bytes of data waiting to be consumed across - * all streams. This metric is in Public Preview. * `STREAMING_BACKLOG_RECORDS`: An estimate of the - * maximum offset lag across all streams. This metric is in Public Preview. * - * `STREAMING_BACKLOG_SECONDS`: An estimate of the maximum consumer delay across all streams. This - * metric is in Public Preview. * `STREAMING_BACKLOG_FILES`: An estimate of the maximum number of - * outstanding files across all streams. This metric is in Public Preview. + *

    + *
  • {@code RUN_DURATION_SECONDS}: Expected total time for a run in seconds. + *
  • {@code STREAMING_BACKLOG_BYTES}: An estimate of the maximum bytes of data waiting to be + * consumed across all streams. This metric is in Public Preview. + *
  • {@code STREAMING_BACKLOG_RECORDS}: An estimate of the maximum offset lag across all + * streams. This metric is in Public Preview. + *
  • {@code STREAMING_BACKLOG_SECONDS}: An estimate of the maximum consumer delay across all + * streams. This metric is in Public Preview. + *
  • {@code STREAMING_BACKLOG_FILES}: An estimate of the maximum number of outstanding files + * across all streams. This metric is in Public Preview. + *
*/ @Generated public enum JobsHealthMetric { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsService.java index fc317fde5..d07b86dd0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/JobsService.java @@ -14,13 +14,12 @@ * using notebooks, JARS, Spark Declarative Pipelines, or Python, Scala, Spark submit, and Java * applications. * - *

You should never hard code secrets or store them in plain text. Use the [Secrets CLI] to - * manage secrets in the [Databricks CLI]. Use the [Secrets utility] to reference secrets in - * notebooks and jobs. - * - *

[Databricks CLI]: https://docs.databricks.com/dev-tools/cli/index.html [Secrets CLI]: - * https://docs.databricks.com/dev-tools/cli/secrets-cli.html [Secrets utility]: - * https://docs.databricks.com/dev-tools/databricks-utils.html#dbutils-secrets + *

You should never hard code secrets or store them in plain text. Use the Secrets CLI to manage + * secrets in the Databricks CLI. + * Use the Secrets + * utility to reference secrets in notebooks and jobs. * *

This is the high-level interface, that contains generated methods. * @@ -57,11 +56,11 @@ public interface JobsService { * *

Large arrays in the results will be paginated when they exceed 100 elements. A request for a * single job will return all properties for that job, and the first 100 elements of array - * properties (`tasks`, `job_clusters`, `environments` and `parameters`). Use the - * `next_page_token` field to check for more results and pass its value as the `page_token` in - * subsequent requests. If any array properties have more than 100 elements, additional results - * will be returned on subsequent requests. Arrays without additional results will be empty on - * later pages. + * properties ({@code tasks}, {@code job_clusters}, {@code environments} and {@code parameters}). + * Use the {@code next_page_token} field to check for more results and pass its value as the + * {@code page_token} in subsequent requests. If any array properties have more than 100 elements, + * additional results will be returned on subsequent requests. Arrays without additional results + * will be empty on later pages. */ Job get(GetJobRequest getJobRequest); @@ -77,24 +76,24 @@ GetJobPermissionLevelsResponse getPermissionLevels( * *

Large arrays in the results will be paginated when they exceed 100 elements. A request for a * single run will return all properties for that run, and the first 100 elements of array - * properties (`tasks`, `job_clusters`, `job_parameters` and `repair_history`). Use the - * next_page_token field to check for more results and pass its value as the page_token in - * subsequent requests. If any array properties have more than 100 elements, additional results - * will be returned on subsequent requests. Arrays without additional results will be empty on - * later pages. + * properties ({@code tasks}, {@code job_clusters}, {@code job_parameters} and {@code + * repair_history}). Use the next_page_token field to check for more results and pass its value as + * the page_token in subsequent requests. If any array properties have more than 100 elements, + * additional results will be returned on subsequent requests. Arrays without additional results + * will be empty on later pages. */ Run getRun(GetRunRequest getRunRequest); /** * Retrieve the output and metadata of a single task run. When a notebook task returns a value - * through the `dbutils.notebook.exit()` call, you can use this endpoint to retrieve that value. - * Databricks restricts this API to returning the first 5 MB of the output. To return a larger - * result, you can store job results in a cloud storage service. + * through the {@code dbutils.notebook.exit()} call, you can use this endpoint to retrieve that + * value. Databricks restricts this API to returning the first 5 MB of the output. To return a + * larger result, you can store job results in a cloud storage service. * - *

This endpoint validates that the __run_id__ parameter is valid and returns an HTTP status - * code 400 if the __run_id__ parameter is invalid. Runs are automatically removed after 60 days. - * If you to want to reference them beyond 60 days, you must save old run results before they - * expire. + *

This endpoint validates that the run_id parameter is valid and returns an HTTP status + * code 400 if the run_id parameter is invalid. Runs are automatically removed after 60 + * days. If you to want to reference them beyond 60 days, you must save old run results before + * they expire. */ RunOutput getRunOutput(GetRunOutputRequest getRunOutputRequest); @@ -111,12 +110,12 @@ GetJobPermissionLevelsResponse getPermissionLevels( RepairRunResponse repairRun(RepairRun repairRun); /** - * Overwrite all settings for the given job. Use the [_Update_ endpoint](:method:jobs/update) to - * update job settings partially. + * Overwrite all settings for the given job. Use the Update + * endpoint to update job settings partially. */ void reset(ResetJob resetJob); - /** Run a job and return the `run_id` of the triggered run. */ + /** Run a job and return the {@code run_id} of the triggered run. */ RunNowResponse runNow(RunNow runNow); /** @@ -127,20 +126,20 @@ GetJobPermissionLevelsResponse getPermissionLevels( /** * Submit a one-time run. This endpoint allows you to submit a workload directly without creating - * a job. Runs submitted using this endpoint don’t display in the UI. Use the `jobs/runs/get` API - * to check the run state after the job is submitted. + * a job. Runs submitted using this endpoint don’t display in the UI. Use the {@code + * jobs/runs/get} API to check the run state after the job is submitted. * - *

**Important:** Jobs submitted using this endpoint are not saved as a job. They do not show - * up in the Jobs UI, and do not retry when they fail. Because they are not saved, Databricks + *

Important: Jobs submitted using this endpoint are not saved as a job. They do not + * show up in the Jobs UI, and do not retry when they fail. Because they are not saved, Databricks * cannot auto-optimize serverless compute in case of failure. If your job fails, you may want to - * use classic compute to specify the compute needs for the job. Alternatively, use the `POST - * /jobs/create` and `POST /jobs/run-now` endpoints to create and run a saved job. + * use classic compute to specify the compute needs for the job. Alternatively, use the {@code + * POST /jobs/create} and {@code POST /jobs/run-now} endpoints to create and run a saved job. */ SubmitRunResponse submit(SubmitRun submitRun); /** - * Add, update, or remove specific settings of an existing job. Use the [_Reset_ - * endpoint](:method:jobs/reset) to overwrite all job settings. + * Add, update, or remove specific settings of an existing job. Use the Reset endpoint to overwrite all job settings. */ void update(UpdateJob updateJob); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListJobComplianceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListJobComplianceRequest.java index e5c26a2a7..90bfce327 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListJobComplianceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListJobComplianceRequest.java @@ -20,7 +20,7 @@ public class ListJobComplianceRequest { /** * A page token that can be used to navigate to the next page or previous page as returned by - * `next_page_token` or `prev_page_token`. + * {@code next_page_token} or {@code prev_page_token}. */ @JsonIgnore @QueryParam("page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListJobsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListJobsRequest.java index 4a6878454..b319cd716 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListJobsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListJobsRequest.java @@ -33,15 +33,15 @@ public class ListJobsRequest { /** * The offset of the first job to return, relative to the most recently created job. Deprecated - * since June 2023. Use `page_token` to iterate through the pages instead. + * since June 2023. Use {@code page_token} to iterate through the pages instead. */ @JsonIgnore @QueryParam("offset") private Long offset; /** - * Use `next_page_token` or `prev_page_token` returned from the previous request to list the next - * or previous page of jobs respectively. + * Use {@code next_page_token} or {@code prev_page_token} returned from the previous request to + * list the next or previous page of jobs respectively. */ @JsonIgnore @QueryParam("page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListRunsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListRunsRequest.java index 46cae9c13..e72c5c38f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListRunsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ListRunsRequest.java @@ -11,17 +11,19 @@ @Generated public class ListRunsRequest { /** - * If active_only is `true`, only active runs are included in the results; otherwise, lists both - * active and completed runs. An active run is a run in the `QUEUED`, `PENDING`, `RUNNING`, or - * `TERMINATING`. This field cannot be `true` when completed_only is `true`. + * If active_only is {@code true}, only active runs are included in the results; otherwise, lists + * both active and completed runs. An active run is a run in the {@code QUEUED}, {@code PENDING}, + * {@code RUNNING}, or {@code TERMINATING}. This field cannot be {@code true} when completed_only + * is {@code true}. */ @JsonIgnore @QueryParam("active_only") private Boolean activeOnly; /** - * If completed_only is `true`, only completed runs are included in the results; otherwise, lists - * both active and completed runs. This field cannot be `true` when active_only is `true`. + * If completed_only is {@code true}, only completed runs are included in the results; otherwise, + * lists both active and completed runs. This field cannot be {@code true} when active_only is + * {@code true}. */ @JsonIgnore @QueryParam("completed_only") @@ -50,15 +52,15 @@ public class ListRunsRequest { /** * The offset of the first run to return, relative to the most recent run. Deprecated since June - * 2023. Use `page_token` to iterate through the pages instead. + * 2023. Use {@code page_token} to iterate through the pages instead. */ @JsonIgnore @QueryParam("offset") private Long offset; /** - * Use `next_page_token` or `prev_page_token` returned from the previous request to list the next - * or previous page of runs respectively. + * Use {@code next_page_token} or {@code prev_page_token} returned from the previous request to + * list the next or previous page of runs respectively. */ @JsonIgnore @QueryParam("page_token") @@ -70,16 +72,16 @@ public class ListRunsRequest { private RunType runType; /** - * Show runs that started _at or after_ this value. The value must be a UTC timestamp in - * milliseconds. Can be combined with _start_time_to_ to filter by a time range. + * Show runs that started at or after this value. The value must be a UTC timestamp in + * milliseconds. Can be combined with start_time_to to filter by a time range. */ @JsonIgnore @QueryParam("start_time_from") private Long startTimeFrom; /** - * Show runs that started _at or before_ this value. The value must be a UTC timestamp in - * milliseconds. Can be combined with _start_time_from_ to filter by a time range. + * Show runs that started at or before this value. The value must be a UTC timestamp in + * milliseconds. Can be combined with start_time_from to filter by a time range. */ @JsonIgnore @QueryParam("start_time_to") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/NotebookOutput.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/NotebookOutput.java index ced9c3ecb..4cd745c3b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/NotebookOutput.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/NotebookOutput.java @@ -10,11 +10,11 @@ @Generated public class NotebookOutput { /** - * The value passed to - * [dbutils.notebook.exit()](/notebooks/notebook-workflows.html#notebook-workflows-exit). + * The value passed to dbutils.notebook.exit(). * Databricks restricts this API to return the first 5 MB of the value. For a larger result, your - * job can store the results in a cloud storage service. This field is absent if - * `dbutils.notebook.exit()` was never called. + * job can store the results in a cloud storage service. This field is absent if {@code + * dbutils.notebook.exit()} was never called. */ @JsonProperty("result") private String result; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/NotebookTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/NotebookTask.java index 4251a2493..c28b4314f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/NotebookTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/NotebookTask.java @@ -13,19 +13,17 @@ public class NotebookTask { /** * Base parameters to be used for each run of this job. If the run is initiated by a call to * :method:jobs/run Now with parameters specified, the two parameters maps are merged. If the same - * key is specified in `base_parameters` and in `run-now`, the value from `run-now` is used. Use - * [Task parameter variables] to set parameters containing information about job runs. + * key is specified in {@code base_parameters} and in {@code run-now}, the value from {@code + * run-now} is used. Use Task + * parameter variables to set parameters containing information about job runs. * - *

If the notebook takes a parameter that is not specified in the job’s `base_parameters` or - * the `run-now` override parameters, the default value from the notebook is used. + *

If the notebook takes a parameter that is not specified in the job’s {@code base_parameters} + * or the {@code run-now} override parameters, the default value from the notebook is used. * - *

Retrieve these parameters in a notebook using [dbutils.widgets.get]. + *

Retrieve these parameters in a notebook using dbutils.widgets.get. * *

The JSON representation of this field cannot exceed 1MB. - * - *

[Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables - * [dbutils.widgets.get]: - * https://docs.databricks.com/dev-tools/databricks-utils.html#dbutils-widgets */ @JsonProperty("base_parameters") private Map baseParameters; @@ -39,18 +37,22 @@ public class NotebookTask { private String notebookPath; /** - * Optional location type of the notebook. When set to `WORKSPACE`, the notebook will be retrieved - * from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a - * Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if - * `git_source` is defined and `WORKSPACE` otherwise. * `WORKSPACE`: Notebook is located in - * Databricks workspace. * `GIT`: Notebook is located in cloud Git provider. + * Optional location type of the notebook. When set to {@code WORKSPACE}, the notebook will be + * retrieved from the local Databricks workspace. When set to {@code GIT}, the notebook will be + * retrieved from a Git repository defined in {@code git_source}. If the value is empty, the task + * will use {@code GIT} if {@code git_source} is defined and {@code WORKSPACE} otherwise. + * + *

    + *
  • {@code WORKSPACE}: Notebook is located in Databricks workspace. + *
  • {@code GIT}: Notebook is located in cloud Git provider. + *
*/ @JsonProperty("source") private Source source; /** - * Optional `warehouse_id` to run the notebook on a SQL warehouse. Classic SQL warehouses are NOT - * supported, please use serverless or pro SQL warehouses. + * Optional {@code warehouse_id} to run the notebook on a SQL warehouse. Classic SQL warehouses + * are NOT supported, please use serverless or pro SQL warehouses. * *

Note that SQL warehouses only support SQL cells; if the notebook contains non-SQL cells, the * run will fail. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PolicyComplianceForJobsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PolicyComplianceForJobsAPI.java index aab155881..a69891b94 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PolicyComplianceForJobsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PolicyComplianceForJobsAPI.java @@ -37,8 +37,8 @@ public PolicyComplianceForJobsAPI(PolicyComplianceForJobsService mock) { } /** - * Updates a job so the job clusters that are created when running the job (specified in - * `new_cluster`) are compliant with the current versions of their respective cluster policies. + * Updates a job so the job clusters that are created when running the job (specified in {@code + * new_cluster}) are compliant with the current versions of their respective cluster policies. * All-purpose clusters used in the job will not be updated. */ public EnforcePolicyComplianceResponse enforceCompliance(EnforcePolicyComplianceRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PolicyComplianceForJobsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PolicyComplianceForJobsService.java index af4ada317..f7cb46ea7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PolicyComplianceForJobsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PolicyComplianceForJobsService.java @@ -23,8 +23,8 @@ @Generated public interface PolicyComplianceForJobsService { /** - * Updates a job so the job clusters that are created when running the job (specified in - * `new_cluster`) are compliant with the current versions of their respective cluster policies. + * Updates a job so the job clusters that are created when running the job (specified in {@code + * new_cluster}) are compliant with the current versions of their respective cluster policies. * All-purpose clusters used in the job will not be updated. */ EnforcePolicyComplianceResponse enforceCompliance( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PythonOperatorTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PythonOperatorTask.java index 7ff96f0f8..1774f9200 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PythonOperatorTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PythonOperatorTask.java @@ -11,8 +11,8 @@ @Generated public class PythonOperatorTask { /** - * Fully qualified name of the main class or function. For example, `my_project.my_function` or - * `my_project.MyOperator`. + * Fully qualified name of the main class or function. For example, {@code my_project.my_function} + * or {@code my_project.MyOperator}. */ @JsonProperty("main") private String main; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PythonWheelTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PythonWheelTask.java index 578345106..6611e0a3d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PythonWheelTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/PythonWheelTask.java @@ -13,14 +13,14 @@ public class PythonWheelTask { /** * Named entry point to use, if it does not exist in the metadata of the package it executes the - * function from the package directly using `$packageName.$entryPoint()` + * function from the package directly using {@code $packageName.$entryPoint()} */ @JsonProperty("entry_point") private String entryPoint; /** - * Command-line parameters passed to Python wheel task in the form of `["--name=task", - * "--data=dbfs:/path/to/data.json"]`. Leave it empty if `parameters` is not null. + * Command-line parameters passed to Python wheel task in the form of {@code ["--name=task", + * "--data=dbfs:/path/to/data.json"]}. Leave it empty if {@code parameters} is not null. */ @JsonProperty("named_parameters") private Map namedParameters; @@ -30,8 +30,8 @@ public class PythonWheelTask { private String packageName; /** - * Command-line parameters passed to Python wheel task. Leave it empty if `named_parameters` is - * not null. + * Command-line parameters passed to Python wheel task. Leave it empty if {@code named_parameters} + * is not null. */ @JsonProperty("parameters") private Collection parameters; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/QueueDetailsCodeCode.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/QueueDetailsCodeCode.java index dc8c21f19..a42631ed6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/QueueDetailsCodeCode.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/QueueDetailsCodeCode.java @@ -5,10 +5,16 @@ import com.databricks.sdk.support.Generated; /** - * The reason for queuing the run. * `ACTIVE_RUNS_LIMIT_REACHED`: The run was queued due to reaching - * the workspace limit of active task runs. * `MAX_CONCURRENT_RUNS_REACHED`: The run was queued due - * to reaching the per-job limit of concurrent job runs. * `ACTIVE_RUN_JOB_TASKS_LIMIT_REACHED`: The - * run was queued due to reaching the workspace limit of active run job tasks. + * The reason for queuing the run. + * + *

    + *
  • {@code ACTIVE_RUNS_LIMIT_REACHED}: The run was queued due to reaching the workspace limit + * of active task runs. + *
  • {@code MAX_CONCURRENT_RUNS_REACHED}: The run was queued due to reaching the per-job limit + * of concurrent job runs. + *
  • {@code ACTIVE_RUN_JOB_TASKS_LIMIT_REACHED}: The run was queued due to reaching the + * workspace limit of active run job tasks. + *
*/ @Generated public enum QueueDetailsCodeCode { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RepairHistoryItem.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RepairHistoryItem.java index 7a0e6d77f..f46c83397 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RepairHistoryItem.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RepairHistoryItem.java @@ -15,9 +15,11 @@ public class RepairHistoryItem { * the client-set performance target on the request depending on whether the performance mode is * supported by the job type. * - *

* `STANDARD`: Enables cost-efficient execution of serverless workloads. * - * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and - * optimized cluster performance. + *

    + *
  • {@code STANDARD}: Enables cost-efficient execution of serverless workloads. + *
  • {@code PERFORMANCE_OPTIMIZED}: Prioritizes fast startup and execution times through rapid + * scaling and optimized cluster performance. + *
*/ @JsonProperty("effective_performance_target") private PerformanceTarget effectivePerformanceTarget; @@ -27,7 +29,8 @@ public class RepairHistoryItem { private Long endTime; /** - * The ID of the repair. Only returned for the items that represent a repair in `repair_history`. + * The ID of the repair. Only returned for the items that represent a repair in {@code + * repair_history}. */ @JsonProperty("id") private Long id; @@ -36,7 +39,7 @@ public class RepairHistoryItem { @JsonProperty("start_time") private Long startTime; - /** Deprecated. Please use the `status` field instead. */ + /** Deprecated. Please use the {@code status} field instead. */ @JsonProperty("state") private RunState state; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RepairRun.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RepairRun.java index c31d6f4fb..ea921dd28 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RepairRun.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RepairRun.java @@ -12,33 +12,31 @@ @Generated public class RepairRun { /** - * An array of commands to execute for jobs with the dbt task, for example `"dbt_commands": ["dbt - * deps", "dbt seed", "dbt deps", "dbt seed", "dbt run"]` + * An array of commands to execute for jobs with the dbt task, for example {@code "dbt_commands": + * ["dbt deps", "dbt seed", "dbt deps", "dbt seed", "dbt run"]} * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. - * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown + *

Deprecation note Use job + * parameters to pass information down to tasks. */ @JsonProperty("dbt_commands") private Collection dbtCommands; /** - * A list of parameters for jobs with Spark JAR tasks, for example `"jar_params": ["john doe", - * "35"]`. The parameters are used to invoke the main function of the main class specified in the - * Spark JAR task. If not specified upon `run-now`, it defaults to an empty list. jar_params - * cannot be specified in conjunction with notebook_params. The JSON representation of this field - * (for example `{"jar_params":["john doe","35"]}`) cannot exceed 10,000 bytes. - * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. + * A list of parameters for jobs with Spark JAR tasks, for example {@code "jar_params": ["john + * doe", "35"]}. The parameters are used to invoke the main function of the main class specified + * in the Spark JAR task. If not specified upon {@code run-now}, it defaults to an empty list. + * jar_params cannot be specified in conjunction with notebook_params. The JSON representation of + * this field (for example {@code {"jar_params":["john doe","35"]}}) cannot exceed 10,000 bytes. * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown + *

Deprecation note Use job + * parameters to pass information down to tasks. */ @JsonProperty("jar_params") private Collection jarParams; - /** Job-level parameters used in the run. for example `"param": "overriding_val"` */ + /** Job-level parameters used in the run. for example {@code "param": "overriding_val"} */ @JsonProperty("job_parameters") private Map jobParameters; @@ -50,21 +48,22 @@ public class RepairRun { private Long latestRepairId; /** - * A map from keys to values for jobs with notebook task, for example `"notebook_params": {"name": - * "john doe", "age": "35"}`. The map is passed to the notebook and is accessible through the - * [dbutils.widgets.get] function. + * A map from keys to values for jobs with notebook task, for example {@code "notebook_params": + * {"name": "john doe", "age": "35"}}. The map is passed to the notebook and is accessible through + * the dbutils.widgets.get + * function. * - *

If not specified upon `run-now`, the triggered run uses the job’s base parameters. + *

If not specified upon {@code run-now}, the triggered run uses the job’s base parameters. * *

notebook_params cannot be specified in conjunction with jar_params. * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. - * - *

The JSON representation of this field (for example `{"notebook_params":{"name":"john - * doe","age":"35"}}`) cannot exceed 10,000 bytes. + *

Deprecation note Use job + * parameters to pass information down to tasks. * - *

[dbutils.widgets.get]: https://docs.databricks.com/dev-tools/databricks-utils.html [job - * parameters]: https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown + *

The JSON representation of this field (for example {@code {"notebook_params":{"name":"john + * doe","age":"35"}}}) cannot exceed 10,000 bytes. */ @JsonProperty("notebook_params") private Map notebookParams; @@ -74,9 +73,11 @@ public class RepairRun { * compute performance or cost-efficiency for the run. This field overrides the performance target * defined on the job level. * - *

* `STANDARD`: Enables cost-efficient execution of serverless workloads. * - * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and - * optimized cluster performance. + *

    + *
  • {@code STANDARD}: Enables cost-efficient execution of serverless workloads. + *
  • {@code PERFORMANCE_OPTIMIZED}: Prioritizes fast startup and execution times through rapid + * scaling and optimized cluster performance. + *
*/ @JsonProperty("performance_target") private PerformanceTarget performanceTarget; @@ -90,35 +91,35 @@ public class RepairRun { private Map pythonNamedParams; /** - * A list of parameters for jobs with Python tasks, for example `"python_params": ["john doe", - * "35"]`. The parameters are passed to Python file as command-line parameters. If specified upon - * `run-now`, it would overwrite the parameters specified in job setting. The JSON representation - * of this field (for example `{"python_params":["john doe","35"]}`) cannot exceed 10,000 bytes. + * A list of parameters for jobs with Python tasks, for example {@code "python_params": ["john + * doe", "35"]}. The parameters are passed to Python file as command-line parameters. If specified + * upon {@code run-now}, it would overwrite the parameters specified in job setting. The JSON + * representation of this field (for example {@code {"python_params":["john doe","35"]}}) cannot + * exceed 10,000 bytes. * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. + *

Deprecation note Use job + * parameters to pass information down to tasks. * *

Important * *

These parameters accept only Latin characters (ASCII character set). Using non-ASCII * characters returns an error. Examples of invalid, non-ASCII characters are Chinese, Japanese * kanjis, and emojis. - * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown */ @JsonProperty("python_params") private Collection pythonParams; /** - * If true, repair all failed tasks. Only one of `rerun_tasks` or `rerun_all_failed_tasks` can be - * used. + * If true, repair all failed tasks. Only one of {@code rerun_tasks} or {@code + * rerun_all_failed_tasks} can be used. */ @JsonProperty("rerun_all_failed_tasks") private Boolean rerunAllFailedTasks; /** - * If true, repair all tasks that depend on the tasks in `rerun_tasks`, even if they were - * previously successful. Can be also used in combination with `rerun_all_failed_tasks`. + * If true, repair all tasks that depend on the tasks in {@code rerun_tasks}, even if they were + * previously successful. Can be also used in combination with {@code rerun_all_failed_tasks}. */ @JsonProperty("rerun_dependent_tasks") private Boolean rerunDependentTasks; @@ -132,34 +133,32 @@ public class RepairRun { private Long runId; /** - * A list of parameters for jobs with spark submit task, for example `"spark_submit_params": - * ["--class", "org.apache.spark.examples.SparkPi"]`. The parameters are passed to spark-submit - * script as command-line parameters. If specified upon `run-now`, it would overwrite the - * parameters specified in job setting. The JSON representation of this field (for example - * `{"python_params":["john doe","35"]}`) cannot exceed 10,000 bytes. + * A list of parameters for jobs with spark submit task, for example {@code "spark_submit_params": + * ["--class", "org.apache.spark.examples.SparkPi"]}. The parameters are passed to spark-submit + * script as command-line parameters. If specified upon {@code run-now}, it would overwrite the + * parameters specified in job setting. The JSON representation of this field (for example {@code + * {"python_params":["john doe","35"]}}) cannot exceed 10,000 bytes. * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. + *

Deprecation note Use job + * parameters to pass information down to tasks. * *

Important * *

These parameters accept only Latin characters (ASCII character set). Using non-ASCII * characters returns an error. Examples of invalid, non-ASCII characters are Chinese, Japanese * kanjis, and emojis. - * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown */ @JsonProperty("spark_submit_params") private Collection sparkSubmitParams; /** - * A map from keys to values for jobs with SQL task, for example `"sql_params": {"name": "john - * doe", "age": "35"}`. The SQL alert task does not support custom parameters. - * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. + * A map from keys to values for jobs with SQL task, for example {@code "sql_params": {"name": + * "john doe", "age": "35"}}. The SQL alert task does not support custom parameters. * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown + *

Deprecation note Use job + * parameters to pass information down to tasks. */ @JsonProperty("sql_params") private Map sqlParams; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RepairRunResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RepairRunResponse.java index abfe23597..352bd2d92 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RepairRunResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RepairRunResponse.java @@ -11,8 +11,8 @@ @Generated public class RepairRunResponse { /** - * The ID of the repair. Must be provided in subsequent repairs using the `latest_repair_id` field - * to ensure sequential repairs. + * The ID of the repair. Must be provided in subsequent repairs using the {@code latest_repair_id} + * field to ensure sequential repairs. */ @JsonProperty("repair_id") private Long repairId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ResetJob.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ResetJob.java index 371fb882a..0ba35127a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ResetJob.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ResetJob.java @@ -16,8 +16,8 @@ public class ResetJob { /** * The new settings of the job. These settings completely replace the old settings. * - *

Changes to the field `JobBaseSettings.timeout_seconds` are applied to active runs. Changes - * to other fields are applied to future runs only. + *

Changes to the field {@code JobBaseSettings.timeout_seconds} are applied to active runs. + * Changes to other fields are applied to future runs only. */ @JsonProperty("new_settings") private JobSettings newSettings; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Run.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Run.java index f46de2d24..c69ecf49d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Run.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Run.java @@ -14,18 +14,20 @@ public class Run { /** * The sequence number of this run attempt for a triggered job run. The initial attempt of a run * has an attempt_number of 0. If the initial run attempt fails, and the job has a retry policy - * (`max_retries` > 0), subsequent runs are created with an `original_attempt_run_id` of the - * original attempt’s ID and an incrementing `attempt_number`. Runs are retried only until they - * succeed, and the maximum `attempt_number` is the same as the `max_retries` value for the job. + * ({@code max_retries} > 0), subsequent runs are created with an {@code + * original_attempt_run_id} of the original attempt’s ID and an incrementing {@code + * attempt_number}. Runs are retried only until they succeed, and the maximum {@code + * attempt_number} is the same as the {@code max_retries} value for the job. */ @JsonProperty("attempt_number") private Long attemptNumber; /** * The time in milliseconds it took to terminate the cluster and clean up any associated - * artifacts. The duration of a task run is the sum of the `setup_duration`, `execution_duration`, - * and the `cleanup_duration`. The `cleanup_duration` field is set to 0 for multitask job runs. - * The total duration of a multitask job run is the value of the `run_duration` field. + * artifacts. The duration of a task run is the sum of the {@code setup_duration}, {@code + * execution_duration}, and the {@code cleanup_duration}. The {@code cleanup_duration} field is + * set to 0 for multitask job runs. The total duration of a multitask job run is the value of the + * {@code run_duration} field. */ @JsonProperty("cleanup_duration") private Long cleanupDuration; @@ -57,9 +59,11 @@ public class Run { * the client-set performance target on the request depending on whether the performance mode is * supported by the job type. * - *

* `STANDARD`: Enables cost-efficient execution of serverless workloads. * - * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and - * optimized cluster performance. + *

    + *
  • {@code STANDARD}: Enables cost-efficient execution of serverless workloads. + *
  • {@code PERFORMANCE_OPTIMIZED}: Prioritizes fast startup and execution times through rapid + * scaling and optimized cluster performance. + *
*/ @JsonProperty("effective_performance_target") private PerformanceTarget effectivePerformanceTarget; @@ -78,9 +82,9 @@ public class Run { /** * The time in milliseconds it took to execute the commands in the JAR or notebook until they * completed, failed, timed out, were cancelled, or encountered an unexpected error. The duration - * of a task run is the sum of the `setup_duration`, `execution_duration`, and the - * `cleanup_duration`. The `execution_duration` field is set to 0 for multitask job runs. The - * total duration of a multitask job run is the value of the `run_duration` field. + * of a task run is the sum of the {@code setup_duration}, {@code execution_duration}, and the + * {@code cleanup_duration}. The {@code execution_duration} field is set to 0 for multitask job + * runs. The total duration of a multitask job run is the value of the {@code run_duration} field. */ @JsonProperty("execution_duration") private Long executionDuration; @@ -90,19 +94,20 @@ public class Run { * Version-controlled source code is supported by notebook, dbt, Python script, and SQL File * tasks. * - *

If `git_source` is set, these tasks retrieve the file from the remote repository by default. - * However, this behavior can be overridden by setting `source` to `WORKSPACE` on the task. + *

If {@code git_source} is set, these tasks retrieve the file from the remote repository by + * default. However, this behavior can be overridden by setting {@code source} to {@code + * WORKSPACE} on the task. * *

Note: dbt and SQL File tasks support only version-controlled sources. If dbt or SQL File - * tasks are used, `git_source` must be defined on the job. + * tasks are used, {@code git_source} must be defined on the job. */ @JsonProperty("git_source") private GitSource gitSource; /** - * Indicates if the run has more array properties (`tasks`, `job_clusters`) that are not shown. - * They can be accessed via :method:jobs/getrun endpoint. It is only relevant for API 2.2 - * :method:jobs/listruns requests with `expand_tasks=true`. + * Indicates if the run has more array properties ({@code tasks}, {@code job_clusters}) that are + * not shown. They can be accessed via :method:jobs/getrun endpoint. It is only relevant for API + * 2.2 :method:jobs/listruns requests with {@code expand_tasks=true}. */ @JsonProperty("has_more") private Boolean hasMore; @@ -140,7 +145,7 @@ public class Run { @JsonProperty("next_page_token") private String nextPageToken; - /** A unique identifier for this job run. This is set to the same value as `run_id`. */ + /** A unique identifier for this job run. This is set to the same value as {@code run_id}. */ @JsonProperty("number_in_job") private Long numberInJob; @@ -190,9 +195,10 @@ public class Run { /** * The time in milliseconds it took to set up the cluster. For runs that run on new clusters this * is the cluster creation time, for runs that run on existing clusters this time should be very - * short. The duration of a task run is the sum of the `setup_duration`, `execution_duration`, and - * the `cleanup_duration`. The `setup_duration` field is set to 0 for multitask job runs. The - * total duration of a multitask job run is the value of the `run_duration` field. + * short. The duration of a task run is the sum of the {@code setup_duration}, {@code + * execution_duration}, and the {@code cleanup_duration}. The {@code setup_duration} field is set + * to 0 for multitask job runs. The total duration of a multitask job run is the value of the + * {@code run_duration} field. */ @JsonProperty("setup_duration") private Long setupDuration; @@ -205,7 +211,7 @@ public class Run { @JsonProperty("start_time") private Long startTime; - /** Deprecated. Please use the `status` field instead. */ + /** Deprecated. Please use the {@code status} field instead. */ @JsonProperty("state") private RunState state; @@ -214,10 +220,10 @@ public class Run { private RunStatus status; /** - * The list of tasks performed by the run. Each task has its own `run_id` which you can use to - * call `JobsGetOutput` to retrieve the run resutls. If more than 100 tasks are available, you can - * paginate through them using :method:jobs/getrun. Use the `next_page_token` field at the object - * root to determine if more results are available. + * The list of tasks performed by the run. Each task has its own {@code run_id} which you can use + * to call {@code JobsGetOutput} to retrieve the run resutls. If more than 100 tasks are + * available, you can paginate through them using :method:jobs/getrun. Use the {@code + * next_page_token} field at the object root to determine if more results are available. */ @JsonProperty("tasks") private Collection tasks; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunConditionTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunConditionTask.java index 8a48eb92d..94394e482 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunConditionTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunConditionTask.java @@ -17,21 +17,27 @@ public class RunConditionTask { private String left; /** - * * `EQUAL_TO`, `NOT_EQUAL` operators perform string comparison of their operands. This means - * that `“12.0” == “12”` will evaluate to `false`. * `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, - * `LESS_THAN`, `LESS_THAN_OR_EQUAL` operators perform numeric comparison of their operands. - * `“12.0” >= “12”` will evaluate to `true`, `“10.0” >= “12”` will evaluate to `false`. * - *

The boolean comparison to task values can be implemented with operators `EQUAL_TO`, - * `NOT_EQUAL`. If a task value was set to a boolean value, it will be serialized to `“true”` or - * `“false”` for the comparison. + * + *

    + *
  • {@code EQUAL_TO}, {@code NOT_EQUAL} operators perform string comparison of their + * operands. This means that {@code “12.0” == “12”} will evaluate to {@code false}. + *
  • {@code GREATER_THAN}, {@code GREATER_THAN_OR_EQUAL}, {@code LESS_THAN}, {@code + * LESS_THAN_OR_EQUAL} operators perform numeric comparison of their operands. {@code “12.0” + * >= “12”} will evaluate to {@code true}, {@code “10.0” >= “12”} will evaluate to {@code + * false}. + *
+ * + * The boolean comparison to task values can be implemented with operators {@code EQUAL_TO}, + * {@code NOT_EQUAL}. If a task value was set to a boolean value, it will be serialized to {@code + * “true”} or {@code “false”} for the comparison. */ @JsonProperty("op") private ConditionTaskOp op; /** * The condition expression evaluation result. Filled in if the task was successfully completed. - * Can be `"true"` or `"false"` + * Can be {@code "true"} or {@code "false"} */ @JsonProperty("outcome") private String outcome; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunIf.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunIf.java index 0ba77b5d5..db4bb9f49 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunIf.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunIf.java @@ -6,13 +6,18 @@ /** * An optional value indicating the condition that determines whether the task should be run once - * its dependencies have been completed. When omitted, defaults to `ALL_SUCCESS`. + * its dependencies have been completed. When omitted, defaults to {@code ALL_SUCCESS}. * - *

Possible values are: * `ALL_SUCCESS`: All dependencies have executed and succeeded * - * `AT_LEAST_ONE_SUCCESS`: At least one dependency has succeeded * `NONE_FAILED`: None of the - * dependencies have failed and at least one was executed * `ALL_DONE`: All dependencies have been - * completed * `AT_LEAST_ONE_FAILED`: At least one dependency failed * `ALL_FAILED`: ALl - * dependencies have failed + *

Possible values are: + * + *

    + *
  • {@code ALL_SUCCESS}: All dependencies have executed and succeeded + *
  • {@code AT_LEAST_ONE_SUCCESS}: At least one dependency has succeeded + *
  • {@code NONE_FAILED}: None of the dependencies have failed and at least one was executed + *
  • {@code ALL_DONE}: All dependencies have been completed + *
  • {@code AT_LEAST_ONE_FAILED}: At least one dependency failed + *
  • {@code ALL_FAILED}: ALl dependencies have failed + *
*/ @Generated public enum RunIf { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunJobTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunJobTask.java index 709e28637..5f7a29758 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunJobTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunJobTask.java @@ -12,28 +12,26 @@ @Generated public class RunJobTask { /** - * An array of commands to execute for jobs with the dbt task, for example `"dbt_commands": ["dbt - * deps", "dbt seed", "dbt deps", "dbt seed", "dbt run"]` + * An array of commands to execute for jobs with the dbt task, for example {@code "dbt_commands": + * ["dbt deps", "dbt seed", "dbt deps", "dbt seed", "dbt run"]} * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. - * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown + *

Deprecation note Use job + * parameters to pass information down to tasks. */ @JsonProperty("dbt_commands") private Collection dbtCommands; /** - * A list of parameters for jobs with Spark JAR tasks, for example `"jar_params": ["john doe", - * "35"]`. The parameters are used to invoke the main function of the main class specified in the - * Spark JAR task. If not specified upon `run-now`, it defaults to an empty list. jar_params - * cannot be specified in conjunction with notebook_params. The JSON representation of this field - * (for example `{"jar_params":["john doe","35"]}`) cannot exceed 10,000 bytes. - * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. + * A list of parameters for jobs with Spark JAR tasks, for example {@code "jar_params": ["john + * doe", "35"]}. The parameters are used to invoke the main function of the main class specified + * in the Spark JAR task. If not specified upon {@code run-now}, it defaults to an empty list. + * jar_params cannot be specified in conjunction with notebook_params. The JSON representation of + * this field (for example {@code {"jar_params":["john doe","35"]}}) cannot exceed 10,000 bytes. * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown + *

Deprecation note Use job + * parameters to pass information down to tasks. */ @JsonProperty("jar_params") private Collection jarParams; @@ -47,21 +45,22 @@ public class RunJobTask { private Map jobParameters; /** - * A map from keys to values for jobs with notebook task, for example `"notebook_params": {"name": - * "john doe", "age": "35"}`. The map is passed to the notebook and is accessible through the - * [dbutils.widgets.get] function. + * A map from keys to values for jobs with notebook task, for example {@code "notebook_params": + * {"name": "john doe", "age": "35"}}. The map is passed to the notebook and is accessible through + * the dbutils.widgets.get + * function. * - *

If not specified upon `run-now`, the triggered run uses the job’s base parameters. + *

If not specified upon {@code run-now}, the triggered run uses the job’s base parameters. * *

notebook_params cannot be specified in conjunction with jar_params. * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. - * - *

The JSON representation of this field (for example `{"notebook_params":{"name":"john - * doe","age":"35"}}`) cannot exceed 10,000 bytes. + *

Deprecation note Use job + * parameters to pass information down to tasks. * - *

[dbutils.widgets.get]: https://docs.databricks.com/dev-tools/databricks-utils.html [job - * parameters]: https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown + *

The JSON representation of this field (for example {@code {"notebook_params":{"name":"john + * doe","age":"35"}}}) cannot exceed 10,000 bytes. */ @JsonProperty("notebook_params") private Map notebookParams; @@ -75,54 +74,52 @@ public class RunJobTask { private Map pythonNamedParams; /** - * A list of parameters for jobs with Python tasks, for example `"python_params": ["john doe", - * "35"]`. The parameters are passed to Python file as command-line parameters. If specified upon - * `run-now`, it would overwrite the parameters specified in job setting. The JSON representation - * of this field (for example `{"python_params":["john doe","35"]}`) cannot exceed 10,000 bytes. + * A list of parameters for jobs with Python tasks, for example {@code "python_params": ["john + * doe", "35"]}. The parameters are passed to Python file as command-line parameters. If specified + * upon {@code run-now}, it would overwrite the parameters specified in job setting. The JSON + * representation of this field (for example {@code {"python_params":["john doe","35"]}}) cannot + * exceed 10,000 bytes. * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. + *

Deprecation note Use job + * parameters to pass information down to tasks. * *

Important * *

These parameters accept only Latin characters (ASCII character set). Using non-ASCII * characters returns an error. Examples of invalid, non-ASCII characters are Chinese, Japanese * kanjis, and emojis. - * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown */ @JsonProperty("python_params") private Collection pythonParams; /** - * A list of parameters for jobs with spark submit task, for example `"spark_submit_params": - * ["--class", "org.apache.spark.examples.SparkPi"]`. The parameters are passed to spark-submit - * script as command-line parameters. If specified upon `run-now`, it would overwrite the - * parameters specified in job setting. The JSON representation of this field (for example - * `{"python_params":["john doe","35"]}`) cannot exceed 10,000 bytes. + * A list of parameters for jobs with spark submit task, for example {@code "spark_submit_params": + * ["--class", "org.apache.spark.examples.SparkPi"]}. The parameters are passed to spark-submit + * script as command-line parameters. If specified upon {@code run-now}, it would overwrite the + * parameters specified in job setting. The JSON representation of this field (for example {@code + * {"python_params":["john doe","35"]}}) cannot exceed 10,000 bytes. * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. + *

Deprecation note Use job + * parameters to pass information down to tasks. * *

Important * *

These parameters accept only Latin characters (ASCII character set). Using non-ASCII * characters returns an error. Examples of invalid, non-ASCII characters are Chinese, Japanese * kanjis, and emojis. - * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown */ @JsonProperty("spark_submit_params") private Collection sparkSubmitParams; /** - * A map from keys to values for jobs with SQL task, for example `"sql_params": {"name": "john - * doe", "age": "35"}`. The SQL alert task does not support custom parameters. - * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. + * A map from keys to values for jobs with SQL task, for example {@code "sql_params": {"name": + * "john doe", "age": "35"}}. The SQL alert task does not support custom parameters. * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown + *

Deprecation note Use job + * parameters to pass information down to tasks. */ @JsonProperty("sql_params") private Map sqlParams; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunLifeCycleState.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunLifeCycleState.java index 649ae8297..6fac8c3c1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunLifeCycleState.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunLifeCycleState.java @@ -5,17 +5,26 @@ import com.databricks.sdk.support.Generated; /** - * A value indicating the run's lifecycle state. The possible values are: * `QUEUED`: The run is - * queued. * `PENDING`: The run is waiting to be executed while the cluster and execution context - * are being prepared. * `RUNNING`: The task of this run is being executed. * `TERMINATING`: The - * task of this run has completed, and the cluster and execution context are being cleaned up. * - * `TERMINATED`: The task of this run has completed, and the cluster and execution context have been - * cleaned up. This state is terminal. * `SKIPPED`: This run was aborted because a previous run of - * the same job was already active. This state is terminal. * `INTERNAL_ERROR`: An exceptional state - * that indicates a failure in the Jobs service, such as network failure over a long period. If a - * run on a new cluster ends in the `INTERNAL_ERROR` state, the Jobs service terminates the cluster - * as soon as possible. This state is terminal. * `BLOCKED`: The run is blocked on an upstream - * dependency. * `WAITING_FOR_RETRY`: The run is waiting for a retry. + * A value indicating the run's lifecycle state. The possible values are: + * + *

    + *
  • {@code QUEUED}: The run is queued. + *
  • {@code PENDING}: The run is waiting to be executed while the cluster and execution context + * are being prepared. + *
  • {@code RUNNING}: The task of this run is being executed. + *
  • {@code TERMINATING}: The task of this run has completed, and the cluster and execution + * context are being cleaned up. + *
  • {@code TERMINATED}: The task of this run has completed, and the cluster and execution + * context have been cleaned up. This state is terminal. + *
  • {@code SKIPPED}: This run was aborted because a previous run of the same job was already + * active. This state is terminal. + *
  • {@code INTERNAL_ERROR}: An exceptional state that indicates a failure in the Jobs service, + * such as network failure over a long period. If a run on a new cluster ends in the {@code + * INTERNAL_ERROR} state, the Jobs service terminates the cluster as soon as possible. This + * state is terminal. + *
  • {@code BLOCKED}: The run is blocked on an upstream dependency. + *
  • {@code WAITING_FOR_RETRY}: The run is waiting for a retry. + *
*/ @Generated public enum RunLifeCycleState { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunNow.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunNow.java index 96b9a72fd..be9187b2b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunNow.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunNow.java @@ -12,13 +12,12 @@ @Generated public class RunNow { /** - * An array of commands to execute for jobs with the dbt task, for example `"dbt_commands": ["dbt - * deps", "dbt seed", "dbt deps", "dbt seed", "dbt run"]` + * An array of commands to execute for jobs with the dbt task, for example {@code "dbt_commands": + * ["dbt deps", "dbt seed", "dbt deps", "dbt seed", "dbt run"]} * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. - * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown + *

Deprecation note Use job + * parameters to pass information down to tasks. */ @JsonProperty("dbt_commands") private Collection dbtCommands; @@ -33,24 +32,22 @@ public class RunNow { * *

This token must have at most 64 characters. * - *

For more information, see [How to ensure idempotency for jobs]. - * - *

[How to ensure idempotency for jobs]: https://kb.databricks.com/jobs/jobs-idempotency.html + *

For more information, see How + * to ensure idempotency for jobs. */ @JsonProperty("idempotency_token") private String idempotencyToken; /** - * A list of parameters for jobs with Spark JAR tasks, for example `"jar_params": ["john doe", - * "35"]`. The parameters are used to invoke the main function of the main class specified in the - * Spark JAR task. If not specified upon `run-now`, it defaults to an empty list. jar_params - * cannot be specified in conjunction with notebook_params. The JSON representation of this field - * (for example `{"jar_params":["john doe","35"]}`) cannot exceed 10,000 bytes. + * A list of parameters for jobs with Spark JAR tasks, for example {@code "jar_params": ["john + * doe", "35"]}. The parameters are used to invoke the main function of the main class specified + * in the Spark JAR task. If not specified upon {@code run-now}, it defaults to an empty list. + * jar_params cannot be specified in conjunction with notebook_params. The JSON representation of + * this field (for example {@code {"jar_params":["john doe","35"]}}) cannot exceed 10,000 bytes. * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. - * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown + *

Deprecation note Use job + * parameters to pass information down to tasks. */ @JsonProperty("jar_params") private Collection jarParams; @@ -59,26 +56,27 @@ public class RunNow { @JsonProperty("job_id") private Long jobId; - /** Job-level parameters used in the run. for example `"param": "overriding_val"` */ + /** Job-level parameters used in the run. for example {@code "param": "overriding_val"} */ @JsonProperty("job_parameters") private Map jobParameters; /** - * A map from keys to values for jobs with notebook task, for example `"notebook_params": {"name": - * "john doe", "age": "35"}`. The map is passed to the notebook and is accessible through the - * [dbutils.widgets.get] function. + * A map from keys to values for jobs with notebook task, for example {@code "notebook_params": + * {"name": "john doe", "age": "35"}}. The map is passed to the notebook and is accessible through + * the dbutils.widgets.get + * function. * - *

If not specified upon `run-now`, the triggered run uses the job’s base parameters. + *

If not specified upon {@code run-now}, the triggered run uses the job’s base parameters. * *

notebook_params cannot be specified in conjunction with jar_params. * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. - * - *

The JSON representation of this field (for example `{"notebook_params":{"name":"john - * doe","age":"35"}}`) cannot exceed 10,000 bytes. + *

Deprecation note Use job + * parameters to pass information down to tasks. * - *

[dbutils.widgets.get]: https://docs.databricks.com/dev-tools/databricks-utils.html [job - * parameters]: https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown + *

The JSON representation of this field (for example {@code {"notebook_params":{"name":"john + * doe","age":"35"}}}) cannot exceed 10,000 bytes. */ @JsonProperty("notebook_params") private Map notebookParams; @@ -95,9 +93,11 @@ public class RunNow { * compute performance or cost-efficiency for the run. This field overrides the performance target * defined on the job level. * - *

* `STANDARD`: Enables cost-efficient execution of serverless workloads. * - * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and - * optimized cluster performance. + *

    + *
  • {@code STANDARD}: Enables cost-efficient execution of serverless workloads. + *
  • {@code PERFORMANCE_OPTIMIZED}: Prioritizes fast startup and execution times through rapid + * scaling and optimized cluster performance. + *
*/ @JsonProperty("performance_target") private PerformanceTarget performanceTarget; @@ -111,21 +111,21 @@ public class RunNow { private Map pythonNamedParams; /** - * A list of parameters for jobs with Python tasks, for example `"python_params": ["john doe", - * "35"]`. The parameters are passed to Python file as command-line parameters. If specified upon - * `run-now`, it would overwrite the parameters specified in job setting. The JSON representation - * of this field (for example `{"python_params":["john doe","35"]}`) cannot exceed 10,000 bytes. + * A list of parameters for jobs with Python tasks, for example {@code "python_params": ["john + * doe", "35"]}. The parameters are passed to Python file as command-line parameters. If specified + * upon {@code run-now}, it would overwrite the parameters specified in job setting. The JSON + * representation of this field (for example {@code {"python_params":["john doe","35"]}}) cannot + * exceed 10,000 bytes. * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. + *

Deprecation note Use job + * parameters to pass information down to tasks. * *

Important * *

These parameters accept only Latin characters (ASCII character set). Using non-ASCII * characters returns an error. Examples of invalid, non-ASCII characters are Chinese, Japanese * kanjis, and emojis. - * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown */ @JsonProperty("python_params") private Collection pythonParams; @@ -135,34 +135,32 @@ public class RunNow { private QueueSettings queue; /** - * A list of parameters for jobs with spark submit task, for example `"spark_submit_params": - * ["--class", "org.apache.spark.examples.SparkPi"]`. The parameters are passed to spark-submit - * script as command-line parameters. If specified upon `run-now`, it would overwrite the - * parameters specified in job setting. The JSON representation of this field (for example - * `{"python_params":["john doe","35"]}`) cannot exceed 10,000 bytes. + * A list of parameters for jobs with spark submit task, for example {@code "spark_submit_params": + * ["--class", "org.apache.spark.examples.SparkPi"]}. The parameters are passed to spark-submit + * script as command-line parameters. If specified upon {@code run-now}, it would overwrite the + * parameters specified in job setting. The JSON representation of this field (for example {@code + * {"python_params":["john doe","35"]}}) cannot exceed 10,000 bytes. * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. + *

Deprecation note Use job + * parameters to pass information down to tasks. * *

Important * *

These parameters accept only Latin characters (ASCII character set). Using non-ASCII * characters returns an error. Examples of invalid, non-ASCII characters are Chinese, Japanese * kanjis, and emojis. - * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown */ @JsonProperty("spark_submit_params") private Collection sparkSubmitParams; /** - * A map from keys to values for jobs with SQL task, for example `"sql_params": {"name": "john - * doe", "age": "35"}`. The SQL alert task does not support custom parameters. - * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. + * A map from keys to values for jobs with SQL task, for example {@code "sql_params": {"name": + * "john doe", "age": "35"}}. The SQL alert task does not support custom parameters. * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown + *

Deprecation note Use job + * parameters to pass information down to tasks. */ @JsonProperty("sql_params") private Map sqlParams; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunNowResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunNowResponse.java index 41460356d..7ac7eaff4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunNowResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunNowResponse.java @@ -10,7 +10,7 @@ /** Run was started successfully. */ @Generated public class RunNowResponse { - /** A unique identifier for this job run. This is set to the same value as `run_id`. */ + /** A unique identifier for this job run. This is set to the same value as {@code run_id}. */ @JsonProperty("number_in_job") private Long numberInJob; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunOutput.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunOutput.java index d4a77c84e..450fe0e8e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunOutput.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunOutput.java @@ -70,13 +70,11 @@ public class RunOutput { /** * The output of a notebook task, if available. A notebook task that terminates (either - * successfully or with a failure) without calling `dbutils.notebook.exit()` is considered to have - * an empty output. This field is set but its result value is empty. Databricks restricts this API - * to return the first 5 MB of the output. To return a larger result, use the [ClusterLogConf] + * successfully or with a failure) without calling {@code dbutils.notebook.exit()} is considered + * to have an empty output. This field is set but its result value is empty. Databricks restricts + * this API to return the first 5 MB of the output. To return a larger result, use the ClusterLogConf * field to configure log storage for the job cluster. - * - *

[ClusterLogConf]: - * https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterlogconf */ @JsonProperty("notebook_output") private NotebookOutput notebookOutput; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunParameters.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunParameters.java index 817020b84..6d6dc1595 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunParameters.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunParameters.java @@ -12,48 +12,47 @@ @Generated public class RunParameters { /** - * An array of commands to execute for jobs with the dbt task, for example `"dbt_commands": ["dbt - * deps", "dbt seed", "dbt deps", "dbt seed", "dbt run"]` + * An array of commands to execute for jobs with the dbt task, for example {@code "dbt_commands": + * ["dbt deps", "dbt seed", "dbt deps", "dbt seed", "dbt run"]} * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. - * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown + *

Deprecation note Use job + * parameters to pass information down to tasks. */ @JsonProperty("dbt_commands") private Collection dbtCommands; /** - * A list of parameters for jobs with Spark JAR tasks, for example `"jar_params": ["john doe", - * "35"]`. The parameters are used to invoke the main function of the main class specified in the - * Spark JAR task. If not specified upon `run-now`, it defaults to an empty list. jar_params - * cannot be specified in conjunction with notebook_params. The JSON representation of this field - * (for example `{"jar_params":["john doe","35"]}`) cannot exceed 10,000 bytes. - * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. - * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown + * A list of parameters for jobs with Spark JAR tasks, for example {@code "jar_params": ["john + * doe", "35"]}. The parameters are used to invoke the main function of the main class specified + * in the Spark JAR task. If not specified upon {@code run-now}, it defaults to an empty list. + * jar_params cannot be specified in conjunction with notebook_params. The JSON representation of + * this field (for example {@code {"jar_params":["john doe","35"]}}) cannot exceed 10,000 bytes. + * + *

Deprecation note Use job + * parameters to pass information down to tasks. */ @JsonProperty("jar_params") private Collection jarParams; /** - * A map from keys to values for jobs with notebook task, for example `"notebook_params": {"name": - * "john doe", "age": "35"}`. The map is passed to the notebook and is accessible through the - * [dbutils.widgets.get] function. + * A map from keys to values for jobs with notebook task, for example {@code "notebook_params": + * {"name": "john doe", "age": "35"}}. The map is passed to the notebook and is accessible through + * the dbutils.widgets.get + * function. * - *

If not specified upon `run-now`, the triggered run uses the job’s base parameters. + *

If not specified upon {@code run-now}, the triggered run uses the job’s base parameters. * *

notebook_params cannot be specified in conjunction with jar_params. * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. - * - *

The JSON representation of this field (for example `{"notebook_params":{"name":"john - * doe","age":"35"}}`) cannot exceed 10,000 bytes. + *

Deprecation note Use job + * parameters to pass information down to tasks. * - *

[dbutils.widgets.get]: https://docs.databricks.com/dev-tools/databricks-utils.html [job - * parameters]: https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown + *

The JSON representation of this field (for example {@code {"notebook_params":{"name":"john + * doe","age":"35"}}}) cannot exceed 10,000 bytes. */ @JsonProperty("notebook_params") private Map notebookParams; @@ -67,54 +66,52 @@ public class RunParameters { private Map pythonNamedParams; /** - * A list of parameters for jobs with Python tasks, for example `"python_params": ["john doe", - * "35"]`. The parameters are passed to Python file as command-line parameters. If specified upon - * `run-now`, it would overwrite the parameters specified in job setting. The JSON representation - * of this field (for example `{"python_params":["john doe","35"]}`) cannot exceed 10,000 bytes. + * A list of parameters for jobs with Python tasks, for example {@code "python_params": ["john + * doe", "35"]}. The parameters are passed to Python file as command-line parameters. If specified + * upon {@code run-now}, it would overwrite the parameters specified in job setting. The JSON + * representation of this field (for example {@code {"python_params":["john doe","35"]}}) cannot + * exceed 10,000 bytes. * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. + *

Deprecation note Use job + * parameters to pass information down to tasks. * *

Important * *

These parameters accept only Latin characters (ASCII character set). Using non-ASCII * characters returns an error. Examples of invalid, non-ASCII characters are Chinese, Japanese * kanjis, and emojis. - * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown */ @JsonProperty("python_params") private Collection pythonParams; /** - * A list of parameters for jobs with spark submit task, for example `"spark_submit_params": - * ["--class", "org.apache.spark.examples.SparkPi"]`. The parameters are passed to spark-submit - * script as command-line parameters. If specified upon `run-now`, it would overwrite the - * parameters specified in job setting. The JSON representation of this field (for example - * `{"python_params":["john doe","35"]}`) cannot exceed 10,000 bytes. + * A list of parameters for jobs with spark submit task, for example {@code "spark_submit_params": + * ["--class", "org.apache.spark.examples.SparkPi"]}. The parameters are passed to spark-submit + * script as command-line parameters. If specified upon {@code run-now}, it would overwrite the + * parameters specified in job setting. The JSON representation of this field (for example {@code + * {"python_params":["john doe","35"]}}) cannot exceed 10,000 bytes. * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. + *

Deprecation note Use job + * parameters to pass information down to tasks. * *

Important * *

These parameters accept only Latin characters (ASCII character set). Using non-ASCII * characters returns an error. Examples of invalid, non-ASCII characters are Chinese, Japanese * kanjis, and emojis. - * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown */ @JsonProperty("spark_submit_params") private Collection sparkSubmitParams; /** - * A map from keys to values for jobs with SQL task, for example `"sql_params": {"name": "john - * doe", "age": "35"}`. The SQL alert task does not support custom parameters. - * - *

⚠ **Deprecation note** Use [job parameters] to pass information down to tasks. + * A map from keys to values for jobs with SQL task, for example {@code "sql_params": {"name": + * "john doe", "age": "35"}}. The SQL alert task does not support custom parameters. * - *

[job parameters]: - * https://docs.databricks.com/jobs/job-parameters.html#job-parameter-pushdown + *

Deprecation note Use job + * parameters to pass information down to tasks. */ @JsonProperty("sql_params") private Map sqlParams; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunResultState.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunResultState.java index 8a203f134..2cdee5cf5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunResultState.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunResultState.java @@ -5,15 +5,22 @@ import com.databricks.sdk.support.Generated; /** - * A value indicating the run's result. The possible values are: * `SUCCESS`: The task completed - * successfully. * `FAILED`: The task completed with an error. * `TIMEDOUT`: The run was stopped - * after reaching the timeout. * `CANCELED`: The run was canceled at user request. * - * `MAXIMUM_CONCURRENT_RUNS_REACHED`: The run was skipped because the maximum concurrent runs were - * reached. * `EXCLUDED`: The run was skipped because the necessary conditions were not met. * - * `SUCCESS_WITH_FAILURES`: The job run completed successfully with some failures; leaf tasks were - * successful. * `UPSTREAM_FAILED`: The run was skipped because of an upstream failure. * - * `UPSTREAM_CANCELED`: The run was skipped because an upstream task was canceled. * `DISABLED`: The - * run was skipped because it was disabled explicitly by the user. + * A value indicating the run's result. The possible values are: + * + *

    + *
  • {@code SUCCESS}: The task completed successfully. + *
  • {@code FAILED}: The task completed with an error. + *
  • {@code TIMEDOUT}: The run was stopped after reaching the timeout. + *
  • {@code CANCELED}: The run was canceled at user request. + *
  • {@code MAXIMUM_CONCURRENT_RUNS_REACHED}: The run was skipped because the maximum concurrent + * runs were reached. + *
  • {@code EXCLUDED}: The run was skipped because the necessary conditions were not met. + *
  • {@code SUCCESS_WITH_FAILURES}: The job run completed successfully with some failures; leaf + * tasks were successful. + *
  • {@code UPSTREAM_FAILED}: The run was skipped because of an upstream failure. + *
  • {@code UPSTREAM_CANCELED}: The run was skipped because an upstream task was canceled. + *
  • {@code DISABLED}: The run was skipped because it was disabled explicitly by the user. + *
*/ @Generated public enum RunResultState { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunTask.java index 46aa89996..ac89ab34a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunTask.java @@ -12,8 +12,8 @@ @Generated public class RunTask { /** - * The task evaluates a Databricks alert and sends notifications to subscribers when the - * `alert_task` field is present. + * The task evaluates a Databricks alert and sends notifications to subscribers when the {@code + * alert_task} field is present. */ @JsonProperty("alert_task") private AlertTask alertTask; @@ -21,26 +21,27 @@ public class RunTask { /** * The sequence number of this run attempt for a triggered job run. The initial attempt of a run * has an attempt_number of 0. If the initial run attempt fails, and the job has a retry policy - * (`max_retries` > 0), subsequent runs are created with an `original_attempt_run_id` of the - * original attempt’s ID and an incrementing `attempt_number`. Runs are retried only until they - * succeed, and the maximum `attempt_number` is the same as the `max_retries` value for the job. + * ({@code max_retries} > 0), subsequent runs are created with an {@code + * original_attempt_run_id} of the original attempt’s ID and an incrementing {@code + * attempt_number}. Runs are retried only until they succeed, and the maximum {@code + * attempt_number} is the same as the {@code max_retries} value for the job. */ @JsonProperty("attempt_number") private Long attemptNumber; /** - * The task runs a [clean rooms] notebook when the `clean_rooms_notebook_task` field is present. - * - *

[clean rooms]: https://docs.databricks.com/clean-rooms/index.html + * The task runs a clean rooms + * notebook when the {@code clean_rooms_notebook_task} field is present. */ @JsonProperty("clean_rooms_notebook_task") private CleanRoomsNotebookTask cleanRoomsNotebookTask; /** * The time in milliseconds it took to terminate the cluster and clean up any associated - * artifacts. The duration of a task run is the sum of the `setup_duration`, `execution_duration`, - * and the `cleanup_duration`. The `cleanup_duration` field is set to 0 for multitask job runs. - * The total duration of a multitask job run is the value of the `run_duration` field. + * artifacts. The duration of a task run is the sum of the {@code setup_duration}, {@code + * execution_duration}, and the {@code cleanup_duration}. The {@code cleanup_duration} field is + * set to 0 for multitask job runs. The total duration of a multitask job run is the value of the + * {@code run_duration} field. */ @JsonProperty("cleanup_duration") private Long cleanupDuration; @@ -58,8 +59,8 @@ public class RunTask { /** * The task evaluates a condition that can be used to control the execution of other tasks when - * the `condition_task` field is present. The condition task does not require a cluster to execute - * and does not support retries or notifications. + * the {@code condition_task} field is present. The condition task does not require a cluster to + * execute and does not support retries or notifications. */ @JsonProperty("condition_task") private RunConditionTask conditionTask; @@ -77,7 +78,7 @@ public class RunTask { private DbtPlatformTask dbtPlatformTask; /** - * The task runs one or more dbt commands when the `dbt_task` field is present. The dbt task + * The task runs one or more dbt commands when the {@code dbt_task} field is present. The dbt task * requires both Databricks SQL and the ability to use a serverless or a pro SQL warehouse. */ @JsonProperty("dbt_task") @@ -85,8 +86,8 @@ public class RunTask { /** * An optional array of objects specifying the dependency graph of the task. All tasks specified - * in this field must complete successfully before executing this task. The key is `task_key`, and - * the value is the name assigned to the dependent task. + * in this field must complete successfully before executing this task. The key is {@code + * task_key}, and the value is the name assigned to the dependent task. */ @JsonProperty("depends_on") private Collection dependsOn; @@ -111,9 +112,11 @@ public class RunTask { * the client-set performance target on the request depending on whether the performance mode is * supported by the job type. * - *

* `STANDARD`: Enables cost-efficient execution of serverless workloads. * - * `PERFORMANCE_OPTIMIZED`: Prioritizes fast startup and execution times through rapid scaling and - * optimized cluster performance. + *

    + *
  • {@code STANDARD}: Enables cost-efficient execution of serverless workloads. + *
  • {@code PERFORMANCE_OPTIMIZED}: Prioritizes fast startup and execution times through rapid + * scaling and optimized cluster performance. + *
*/ @JsonProperty("effective_performance_target") private PerformanceTarget effectivePerformanceTarget; @@ -142,9 +145,9 @@ public class RunTask { /** * The time in milliseconds it took to execute the commands in the JAR or notebook until they * completed, failed, timed out, were cancelled, or encountered an unexpected error. The duration - * of a task run is the sum of the `setup_duration`, `execution_duration`, and the - * `cleanup_duration`. The `execution_duration` field is set to 0 for multitask job runs. The - * total duration of a multitask job run is the value of the `run_duration` field. + * of a task run is the sum of the {@code setup_duration}, {@code execution_duration}, and the + * {@code cleanup_duration}. The {@code execution_duration} field is set to 0 for multitask job + * runs. The total duration of a multitask job run is the value of the {@code run_duration} field. */ @JsonProperty("execution_duration") private Long executionDuration; @@ -158,8 +161,8 @@ public class RunTask { private String existingClusterId; /** - * The task executes a nested task for every input provided when the `for_each_task` field is - * present. + * The task executes a nested task for every input provided when the {@code for_each_task} field + * is present. */ @JsonProperty("for_each_task") private RunForEachTask forEachTask; @@ -171,17 +174,17 @@ public class RunTask { /** * An optional specification for a remote Git repository containing the source code used by tasks. * Version-controlled source code is supported by notebook, dbt, Python script, and SQL File - * tasks. If `git_source` is set, these tasks retrieve the file from the remote repository by - * default. However, this behavior can be overridden by setting `source` to `WORKSPACE` on the - * task. Note: dbt and SQL File tasks support only version-controlled sources. If dbt or SQL File - * tasks are used, `git_source` must be defined on the job. + * tasks. If {@code git_source} is set, these tasks retrieve the file from the remote repository + * by default. However, this behavior can be overridden by setting {@code source} to {@code + * WORKSPACE} on the task. Note: dbt and SQL File tasks support only version-controlled sources. + * If dbt or SQL File tasks are used, {@code git_source} must be defined on the job. */ @JsonProperty("git_source") private GitSource gitSource; /** - * If job_cluster_key, this task is executed reusing the cluster specified in - * `job.settings.job_clusters`. + * If job_cluster_key, this task is executed reusing the cluster specified in {@code + * job.settings.job_clusters}. */ @JsonProperty("job_cluster_key") private String jobClusterKey; @@ -195,9 +198,9 @@ public class RunTask { /** * An optional maximum number of times to retry an unsuccessful run. A run is considered to be - * unsuccessful if it completes with the `FAILED` result_state or `INTERNAL_ERROR` - * `life_cycle_state`. The value `-1` means to retry indefinitely and the value `0` means to never - * retry. + * unsuccessful if it completes with the {@code FAILED} result_state or {@code INTERNAL_ERROR} + * {@code life_cycle_state}. The value {@code -1} means to retry indefinitely and the value {@code + * 0} means to never retry. */ @JsonProperty("max_retries") private Long maxRetries; @@ -213,26 +216,27 @@ public class RunTask { @JsonProperty("new_cluster") private com.databricks.sdk.service.compute.ClusterSpec newCluster; - /** The task runs a notebook when the `notebook_task` field is present. */ + /** The task runs a notebook when the {@code notebook_task} field is present. */ @JsonProperty("notebook_task") private NotebookTask notebookTask; /** - * Optional notification settings that are used when sending notifications to each of the - * `email_notifications` and `webhook_notifications` for this task run. + * Optional notification settings that are used when sending notifications to each of the {@code + * email_notifications} and {@code webhook_notifications} for this task run. */ @JsonProperty("notification_settings") private TaskNotificationSettings notificationSettings; /** - * The task triggers a pipeline update when the `pipeline_task` field is present. Only pipelines - * configured to use triggered more are supported. + * The task triggers a pipeline update when the {@code pipeline_task} field is present. Only + * pipelines configured to use triggered more are supported. */ @JsonProperty("pipeline_task") private PipelineTask pipelineTask; /** - * The task triggers a Power BI semantic model update when the `power_bi_task` field is present. + * The task triggers a Power BI semantic model update when the {@code power_bi_task} field is + * present. */ @JsonProperty("power_bi_task") private PowerBiTask powerBiTask; @@ -241,7 +245,7 @@ public class RunTask { @JsonProperty("python_operator_task") private PythonOperatorTask pythonOperatorTask; - /** The task runs a Python wheel when the `python_wheel_task` field is present. */ + /** The task runs a Python wheel when the {@code python_wheel_task} field is present. */ @JsonProperty("python_wheel_task") private PythonWheelTask pythonWheelTask; @@ -270,13 +274,13 @@ public class RunTask { /** * An optional value indicating the condition that determines whether the task should be run once - * its dependencies have been completed. When omitted, defaults to `ALL_SUCCESS`. See + * its dependencies have been completed. When omitted, defaults to {@code ALL_SUCCESS}. See * :method:jobs/create for a list of possible values. */ @JsonProperty("run_if") private RunIf runIf; - /** The task triggers another job when the `run_job_task` field is present. */ + /** The task triggers another job when the {@code run_job_task} field is present. */ @JsonProperty("run_job_task") private RunJobTask runJobTask; @@ -287,32 +291,33 @@ public class RunTask { /** * The time in milliseconds it took to set up the cluster. For runs that run on new clusters this * is the cluster creation time, for runs that run on existing clusters this time should be very - * short. The duration of a task run is the sum of the `setup_duration`, `execution_duration`, and - * the `cleanup_duration`. The `setup_duration` field is set to 0 for multitask job runs. The - * total duration of a multitask job run is the value of the `run_duration` field. + * short. The duration of a task run is the sum of the {@code setup_duration}, {@code + * execution_duration}, and the {@code cleanup_duration}. The {@code setup_duration} field is set + * to 0 for multitask job runs. The total duration of a multitask job run is the value of the + * {@code run_duration} field. */ @JsonProperty("setup_duration") private Long setupDuration; - /** The task runs a JAR when the `spark_jar_task` field is present. */ + /** The task runs a JAR when the {@code spark_jar_task} field is present. */ @JsonProperty("spark_jar_task") private SparkJarTask sparkJarTask; - /** The task runs a Python file when the `spark_python_task` field is present. */ + /** The task runs a Python file when the {@code spark_python_task} field is present. */ @JsonProperty("spark_python_task") private SparkPythonTask sparkPythonTask; /** * (Legacy) The task runs the spark-submit script when the spark_submit_task field is present. - * Databricks recommends using the spark_jar_task instead; see [Spark Submit task for - * jobs](/jobs/spark-submit). + * Databricks recommends using the spark_jar_task instead; see Spark + * Submit task for jobs. */ @JsonProperty("spark_submit_task") private SparkSubmitTask sparkSubmitTask; /** * The task runs a SQL query or file, or it refreshes a SQL alert or a legacy SQL dashboard when - * the `sql_task` field is present. + * the {@code sql_task} field is present. */ @JsonProperty("sql_task") private SqlTask sqlTask; @@ -325,7 +330,7 @@ public class RunTask { @JsonProperty("start_time") private Long startTime; - /** Deprecated. Please use the `status` field instead. */ + /** Deprecated. Please use the {@code status} field instead. */ @JsonProperty("state") private RunState state; @@ -341,7 +346,10 @@ public class RunTask { @JsonProperty("task_key") private String taskKey; - /** An optional timeout applied to each run of this job task. A value of `0` means no timeout. */ + /** + * An optional timeout applied to each run of this job task. A value of {@code 0} means no + * timeout. + */ @JsonProperty("timeout_seconds") private Long timeoutSeconds; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunType.java index 1b20cd23c..3c55ba2de 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/RunType.java @@ -5,12 +5,14 @@ import com.databricks.sdk.support.Generated; /** - * The type of a run. * `JOB_RUN`: Normal job run. A run created with :method:jobs/runNow. * - * `WORKFLOW_RUN`: Workflow run. A run created with [dbutils.notebook.run]. * `SUBMIT_RUN`: Submit - * run. A run created with :method:jobs/submit. + * The type of a run. * - *

[dbutils.notebook.run]: - * https://docs.databricks.com/dev-tools/databricks-utils.html#dbutils-workflow + *

    + *
  • {@code JOB_RUN}: Normal job run. A run created with :method:jobs/runNow. + *
  • {@code WORKFLOW_RUN}: Workflow run. A run created with dbutils.notebook.run. + *
  • {@code SUBMIT_RUN}: Submit run. A run created with :method:jobs/submit. + *
*/ @Generated public enum RunType { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Source.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Source.java index a59c4c4c2..dc2684ce1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Source.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Source.java @@ -5,13 +5,15 @@ import com.databricks.sdk.support.Generated; /** - * Optional location type of the SQL file. When set to `WORKSPACE`, the SQL file will be retrieved\ - * from the local Databricks workspace. When set to `GIT`, the SQL file will be retrieved from a Git - * repository defined in `git_source`. If the value is empty, the task will use `GIT` if - * `git_source` is defined and `WORKSPACE` otherwise. + * Optional location type of the SQL file. When set to {@code WORKSPACE}, the SQL file will be + * retrieved from the local Databricks workspace. When set to {@code GIT}, the SQL file will be + * retrieved from a Git repository defined in {@code git_source}. If the value is empty, the task + * will use {@code GIT} if {@code git_source} is defined and {@code WORKSPACE} otherwise. * - *

* `WORKSPACE`: SQL file is located in Databricks workspace. * `GIT`: SQL file is located in - * cloud Git provider. + *

    + *
  • {@code WORKSPACE}: SQL file is located in Databricks workspace. + *
  • {@code GIT}: SQL file is located in cloud Git provider. + *
*/ @Generated public enum Source { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SparkJarTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SparkJarTask.java index e24cefb32..4811e28f1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SparkJarTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SparkJarTask.java @@ -11,9 +11,9 @@ @Generated public class SparkJarTask { /** - * Deprecated since 04/2016. For classic compute, provide a `jar` through the `libraries` field - * instead. For serverless compute, provide a `jar` though the `java_dependencies` field inside - * the `environments` list. + * Deprecated since 04/2016. For classic compute, provide a {@code jar} through the {@code + * libraries} field instead. For serverless compute, provide a {@code jar} though the {@code + * java_dependencies} field inside the {@code environments} list. * *

See the examples of classic and serverless compute usage at the top of the page. */ @@ -24,8 +24,8 @@ public class SparkJarTask { * The full name of the class containing the main method to be executed. This class must be * contained in a JAR provided as a library. * - *

The code must use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of - * the job fail. + *

The code must use {@code SparkContext.getOrCreate} to obtain a Spark context; otherwise, + * runs of the job fail. */ @JsonProperty("main_class_name") private String mainClassName; @@ -33,14 +33,13 @@ public class SparkJarTask { /** * Parameters passed to the main method. * - *

Use [Task parameter variables] to set parameters containing information about job runs. - * - *

[Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables + *

Use Task parameter + * variables to set parameters containing information about job runs. */ @JsonProperty("parameters") private Collection parameters; - /** Deprecated. A value of `false` is no longer supported. */ + /** Deprecated. A value of {@code false} is no longer supported. */ @JsonProperty("run_as_repl") private Boolean runAsRepl; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SparkPythonTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SparkPythonTask.java index 0c69b9ca9..def4a1e3d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SparkPythonTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SparkPythonTask.java @@ -13,9 +13,8 @@ public class SparkPythonTask { /** * Command line parameters passed to the Python file. * - *

Use [Task parameter variables] to set parameters containing information about job runs. - * - *

[Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables + *

Use Task parameter + * variables to set parameters containing information about job runs. */ @JsonProperty("parameters") private Collection parameters; @@ -23,20 +22,23 @@ public class SparkPythonTask { /** * The Python file to be executed. Cloud file URIs (such as dbfs:/, s3:/, adls:/, gcs:/) and * workspace paths are supported. For python files stored in the Databricks workspace, the path - * must be absolute and begin with `/`. For files stored in a remote repository, the path must be - * relative. This field is required. + * must be absolute and begin with {@code /}. For files stored in a remote repository, the path + * must be relative. This field is required. */ @JsonProperty("python_file") private String pythonFile; /** - * Optional location type of the Python file. When set to `WORKSPACE` or not specified, the file - * will be retrieved from the local Databricks workspace or cloud location (if the `python_file` - * has a URI format). When set to `GIT`, the Python file will be retrieved from a Git repository - * defined in `git_source`. + * Optional location type of the Python file. When set to {@code WORKSPACE} or not specified, the + * file will be retrieved from the local Databricks workspace or cloud location (if the {@code + * python_file} has a URI format). When set to {@code GIT}, the Python file will be retrieved from + * a Git repository defined in {@code git_source}. * - *

* `WORKSPACE`: The Python file is located in a Databricks workspace or at a cloud filesystem - * URI. * `GIT`: The Python file is located in a remote Git repository. + *

    + *
  • {@code WORKSPACE}: The Python file is located in a Databricks workspace or at a cloud + * filesystem URI. + *
  • {@code GIT}: The Python file is located in a remote Git repository. + *
*/ @JsonProperty("source") private Source source; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SparkSubmitTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SparkSubmitTask.java index 422b67934..e4d01ab0a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SparkSubmitTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SparkSubmitTask.java @@ -13,9 +13,8 @@ public class SparkSubmitTask { /** * Command-line parameters passed to spark submit. * - *

Use [Task parameter variables] to set parameters containing information about job runs. - * - *

[Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables + *

Use Task parameter + * variables to set parameters containing information about job runs. */ @JsonProperty("parameters") private Collection parameters; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SqlAlertState.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SqlAlertState.java index f3ade2906..1b0599103 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SqlAlertState.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SqlAlertState.java @@ -7,8 +7,11 @@ /** * The state of the SQL alert. * - *

* UNKNOWN: alert yet to be evaluated * OK: alert evaluated and did not fulfill trigger - * conditions * TRIGGERED: alert evaluated and fulfilled trigger conditions + *

    + *
  • UNKNOWN: alert yet to be evaluated + *
  • OK: alert evaluated and did not fulfill trigger conditions + *
  • TRIGGERED: alert evaluated and fulfilled trigger conditions + *
*/ @Generated public enum SqlAlertState { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SqlTaskFile.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SqlTaskFile.java index 0560efe12..1367a9f6a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SqlTaskFile.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SqlTaskFile.java @@ -17,13 +17,15 @@ public class SqlTaskFile { private String path; /** - * Optional location type of the SQL file. When set to `WORKSPACE`, the SQL file will be retrieved - * from the local Databricks workspace. When set to `GIT`, the SQL file will be retrieved from a - * Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if - * `git_source` is defined and `WORKSPACE` otherwise. + * Optional location type of the SQL file. When set to {@code WORKSPACE}, the SQL file will be + * retrieved from the local Databricks workspace. When set to {@code GIT}, the SQL file will be + * retrieved from a Git repository defined in {@code git_source}. If the value is empty, the task + * will use {@code GIT} if {@code git_source} is defined and {@code WORKSPACE} otherwise. * - *

* `WORKSPACE`: SQL file is located in Databricks workspace. * `GIT`: SQL file is located in - * cloud Git provider. + *

    + *
  • {@code WORKSPACE}: SQL file is located in Databricks workspace. + *
  • {@code GIT}: SQL file is located in cloud Git provider. + *
*/ @JsonProperty("source") private Source source; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SubmitRun.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SubmitRun.java index 6befcb9c4..bcc1bc985 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SubmitRun.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SubmitRun.java @@ -37,11 +37,12 @@ public class SubmitRun { * Version-controlled source code is supported by notebook, dbt, Python script, and SQL File * tasks. * - *

If `git_source` is set, these tasks retrieve the file from the remote repository by default. - * However, this behavior can be overridden by setting `source` to `WORKSPACE` on the task. + *

If {@code git_source} is set, these tasks retrieve the file from the remote repository by + * default. However, this behavior can be overridden by setting {@code source} to {@code + * WORKSPACE} on the task. * *

Note: dbt and SQL File tasks support only version-controlled sources. If dbt or SQL File - * tasks are used, `git_source` must be defined on the job. + * tasks are used, {@code git_source} must be defined on the job. */ @JsonProperty("git_source") private GitSource gitSource; @@ -61,16 +62,15 @@ public class SubmitRun { * *

This token must have at most 64 characters. * - *

For more information, see [How to ensure idempotency for jobs]. - * - *

[How to ensure idempotency for jobs]: https://kb.databricks.com/jobs/jobs-idempotency.html + *

For more information, see How + * to ensure idempotency for jobs. */ @JsonProperty("idempotency_token") private String idempotencyToken; /** - * Optional notification settings that are used when sending notifications to each of the - * `email_notifications` and `webhook_notifications` for this run. + * Optional notification settings that are used when sending notifications to each of the {@code + * email_notifications} and {@code webhook_notifications} for this run. */ @JsonProperty("notification_settings") private JobNotificationSettings notificationSettings; @@ -86,7 +86,7 @@ public class SubmitRun { @JsonProperty("run_as") private JobRunAs runAs; - /** An optional name for the run. The default value is `Untitled`. */ + /** An optional name for the run. The default value is {@code Untitled}. */ @JsonProperty("run_name") private String runName; @@ -94,7 +94,7 @@ public class SubmitRun { @JsonProperty("tasks") private Collection tasks; - /** An optional timeout applied to each run of this job. A value of `0` means no timeout. */ + /** An optional timeout applied to each run of this job. A value of {@code 0} means no timeout. */ @JsonProperty("timeout_seconds") private Long timeoutSeconds; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SubmitTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SubmitTask.java index e972cb15e..aed49b662 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SubmitTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SubmitTask.java @@ -11,16 +11,15 @@ @Generated public class SubmitTask { /** - * The task evaluates a Databricks alert and sends notifications to subscribers when the - * `alert_task` field is present. + * The task evaluates a Databricks alert and sends notifications to subscribers when the {@code + * alert_task} field is present. */ @JsonProperty("alert_task") private AlertTask alertTask; /** - * The task runs a [clean rooms] notebook when the `clean_rooms_notebook_task` field is present. - * - *

[clean rooms]: https://docs.databricks.com/clean-rooms/index.html + * The task runs a clean rooms + * notebook when the {@code clean_rooms_notebook_task} field is present. */ @JsonProperty("clean_rooms_notebook_task") private CleanRoomsNotebookTask cleanRoomsNotebookTask; @@ -31,8 +30,8 @@ public class SubmitTask { /** * The task evaluates a condition that can be used to control the execution of other tasks when - * the `condition_task` field is present. The condition task does not require a cluster to execute - * and does not support retries or notifications. + * the {@code condition_task} field is present. The condition task does not require a cluster to + * execute and does not support retries or notifications. */ @JsonProperty("condition_task") private ConditionTask conditionTask; @@ -50,7 +49,7 @@ public class SubmitTask { private DbtPlatformTask dbtPlatformTask; /** - * The task runs one or more dbt commands when the `dbt_task` field is present. The dbt task + * The task runs one or more dbt commands when the {@code dbt_task} field is present. The dbt task * requires both Databricks SQL and the ability to use a serverless or a pro SQL warehouse. */ @JsonProperty("dbt_task") @@ -58,8 +57,8 @@ public class SubmitTask { /** * An optional array of objects specifying the dependency graph of the task. All tasks specified - * in this field must complete successfully before executing this task. The key is `task_key`, and - * the value is the name assigned to the dependent task. + * in this field must complete successfully before executing this task. The key is {@code + * task_key}, and the value is the name assigned to the dependent task. */ @JsonProperty("depends_on") private Collection dependsOn; @@ -102,8 +101,8 @@ public class SubmitTask { private String existingClusterId; /** - * The task executes a nested task for every input provided when the `for_each_task` field is - * present. + * The task executes a nested task for every input provided when the {@code for_each_task} field + * is present. */ @JsonProperty("for_each_task") private ForEachTask forEachTask; @@ -125,9 +124,9 @@ public class SubmitTask { /** * An optional maximum number of times to retry an unsuccessful run. A run is considered to be - * unsuccessful if it completes with the `FAILED` result_state or `INTERNAL_ERROR` - * `life_cycle_state`. The value `-1` means to retry indefinitely and the value `0` means to never - * retry. + * unsuccessful if it completes with the {@code FAILED} result_state or {@code INTERNAL_ERROR} + * {@code life_cycle_state}. The value {@code -1} means to retry indefinitely and the value {@code + * 0} means to never retry. */ @JsonProperty("max_retries") private Long maxRetries; @@ -143,26 +142,27 @@ public class SubmitTask { @JsonProperty("new_cluster") private com.databricks.sdk.service.compute.ClusterSpec newCluster; - /** The task runs a notebook when the `notebook_task` field is present. */ + /** The task runs a notebook when the {@code notebook_task} field is present. */ @JsonProperty("notebook_task") private NotebookTask notebookTask; /** - * Optional notification settings that are used when sending notifications to each of the - * `email_notifications` and `webhook_notifications` for this task run. + * Optional notification settings that are used when sending notifications to each of the {@code + * email_notifications} and {@code webhook_notifications} for this task run. */ @JsonProperty("notification_settings") private TaskNotificationSettings notificationSettings; /** - * The task triggers a pipeline update when the `pipeline_task` field is present. Only pipelines - * configured to use triggered more are supported. + * The task triggers a pipeline update when the {@code pipeline_task} field is present. Only + * pipelines configured to use triggered more are supported. */ @JsonProperty("pipeline_task") private PipelineTask pipelineTask; /** - * The task triggers a Power BI semantic model update when the `power_bi_task` field is present. + * The task triggers a Power BI semantic model update when the {@code power_bi_task} field is + * present. */ @JsonProperty("power_bi_task") private PowerBiTask powerBiTask; @@ -171,7 +171,7 @@ public class SubmitTask { @JsonProperty("python_operator_task") private PythonOperatorTask pythonOperatorTask; - /** The task runs a Python wheel when the `python_wheel_task` field is present. */ + /** The task runs a Python wheel when the {@code python_wheel_task} field is present. */ @JsonProperty("python_wheel_task") private PythonWheelTask pythonWheelTask; @@ -184,35 +184,35 @@ public class SubmitTask { /** * An optional value indicating the condition that determines whether the task should be run once - * its dependencies have been completed. When omitted, defaults to `ALL_SUCCESS`. See + * its dependencies have been completed. When omitted, defaults to {@code ALL_SUCCESS}. See * :method:jobs/create for a list of possible values. */ @JsonProperty("run_if") private RunIf runIf; - /** The task triggers another job when the `run_job_task` field is present. */ + /** The task triggers another job when the {@code run_job_task} field is present. */ @JsonProperty("run_job_task") private RunJobTask runJobTask; - /** The task runs a JAR when the `spark_jar_task` field is present. */ + /** The task runs a JAR when the {@code spark_jar_task} field is present. */ @JsonProperty("spark_jar_task") private SparkJarTask sparkJarTask; - /** The task runs a Python file when the `spark_python_task` field is present. */ + /** The task runs a Python file when the {@code spark_python_task} field is present. */ @JsonProperty("spark_python_task") private SparkPythonTask sparkPythonTask; /** * (Legacy) The task runs the spark-submit script when the spark_submit_task field is present. - * Databricks recommends using the spark_jar_task instead; see [Spark Submit task for - * jobs](/jobs/spark-submit). + * Databricks recommends using the spark_jar_task instead; see Spark + * Submit task for jobs. */ @JsonProperty("spark_submit_task") private SparkSubmitTask sparkSubmitTask; /** * The task runs a SQL query or file, or it refreshes a SQL alert or a legacy SQL dashboard when - * the `sql_task` field is present. + * the {@code sql_task} field is present. */ @JsonProperty("sql_task") private SqlTask sqlTask; @@ -225,7 +225,10 @@ public class SubmitTask { @JsonProperty("task_key") private String taskKey; - /** An optional timeout applied to each run of this job task. A value of `0` means no timeout. */ + /** + * An optional timeout applied to each run of this job task. A value of {@code 0} means no + * timeout. + */ @JsonProperty("timeout_seconds") private Long timeoutSeconds; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SubscriptionSubscriber.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SubscriptionSubscriber.java index 43fa8e734..4c88512b4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SubscriptionSubscriber.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SubscriptionSubscriber.java @@ -10,15 +10,15 @@ @Generated public class SubscriptionSubscriber { /** - * A snapshot of the dashboard will be sent to the destination when the `destination_id` field is - * present. + * A snapshot of the dashboard will be sent to the destination when the {@code destination_id} + * field is present. */ @JsonProperty("destination_id") private String destinationId; /** - * A snapshot of the dashboard will be sent to the user's email when the `user_name` field is - * present. + * A snapshot of the dashboard will be sent to the user's email when the {@code user_name} field + * is present. */ @JsonProperty("user_name") private String userName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TableState.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TableState.java index bc1d76179..131c89e64 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TableState.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TableState.java @@ -16,7 +16,7 @@ public class TableState { @JsonProperty("has_seen_updates") private Boolean hasSeenUpdates; - /** Full table name of the table to monitor, e.g. `mycatalog.myschema.mytable` */ + /** Full table name of the table to monitor, e.g. {@code mycatalog.myschema.mytable} */ @JsonProperty("table_name") private String tableName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TableUpdateTriggerConfiguration.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TableUpdateTriggerConfiguration.java index 999c1128d..2a28de984 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TableUpdateTriggerConfiguration.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TableUpdateTriggerConfiguration.java @@ -22,8 +22,8 @@ public class TableUpdateTriggerConfiguration { private Long minTimeBetweenTriggersSeconds; /** - * A list of tables to monitor for changes. The table name must be in the format - * `catalog_name.schema_name.table_name`. + * A list of tables to monitor for changes. The table name must be in the format {@code + * catalog_name.schema_name.table_name}. */ @JsonProperty("table_names") private Collection tableNames; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Task.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Task.java index a1eca711e..41c156cf0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Task.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/Task.java @@ -11,16 +11,15 @@ @Generated public class Task { /** - * The task evaluates a Databricks alert and sends notifications to subscribers when the - * `alert_task` field is present. + * The task evaluates a Databricks alert and sends notifications to subscribers when the {@code + * alert_task} field is present. */ @JsonProperty("alert_task") private AlertTask alertTask; /** - * The task runs a [clean rooms] notebook when the `clean_rooms_notebook_task` field is present. - * - *

[clean rooms]: https://docs.databricks.com/clean-rooms/index.html + * The task runs a clean rooms + * notebook when the {@code clean_rooms_notebook_task} field is present. */ @JsonProperty("clean_rooms_notebook_task") private CleanRoomsNotebookTask cleanRoomsNotebookTask; @@ -31,8 +30,8 @@ public class Task { /** * The task evaluates a condition that can be used to control the execution of other tasks when - * the `condition_task` field is present. The condition task does not require a cluster to execute - * and does not support retries or notifications. + * the {@code condition_task} field is present. The condition task does not require a cluster to + * execute and does not support retries or notifications. */ @JsonProperty("condition_task") private ConditionTask conditionTask; @@ -50,7 +49,7 @@ public class Task { private DbtPlatformTask dbtPlatformTask; /** - * The task runs one or more dbt commands when the `dbt_task` field is present. The dbt task + * The task runs one or more dbt commands when the {@code dbt_task} field is present. The dbt task * requires both Databricks SQL and the ability to use a serverless or a pro SQL warehouse. */ @JsonProperty("dbt_task") @@ -58,9 +57,9 @@ public class Task { /** * An optional array of objects specifying the dependency graph of the task. All tasks specified - * in this field must complete before executing this task. The task will run only if the `run_if` - * condition is true. The key is `task_key`, and the value is the name assigned to the dependent - * task. + * in this field must complete before executing this task. The task will run only if the {@code + * run_if} condition is true. The key is {@code task_key}, and the value is the name assigned to + * the dependent task. */ @JsonProperty("depends_on") private Collection dependsOn; @@ -103,8 +102,8 @@ public class Task { private String existingClusterId; /** - * The task executes a nested task for every input provided when the `for_each_task` field is - * present. + * The task executes a nested task for every input provided when the {@code for_each_task} field + * is present. */ @JsonProperty("for_each_task") private ForEachTask forEachTask; @@ -118,8 +117,8 @@ public class Task { private JobsHealthRules health; /** - * If job_cluster_key, this task is executed reusing the cluster specified in - * `job.settings.job_clusters`. + * If job_cluster_key, this task is executed reusing the cluster specified in {@code + * job.settings.job_clusters}. */ @JsonProperty("job_cluster_key") private String jobClusterKey; @@ -133,9 +132,9 @@ public class Task { /** * An optional maximum number of times to retry an unsuccessful run. A run is considered to be - * unsuccessful if it completes with the `FAILED` result_state or `INTERNAL_ERROR` - * `life_cycle_state`. The value `-1` means to retry indefinitely and the value `0` means to never - * retry. + * unsuccessful if it completes with the {@code FAILED} result_state or {@code INTERNAL_ERROR} + * {@code life_cycle_state}. The value {@code -1} means to retry indefinitely and the value {@code + * 0} means to never retry. */ @JsonProperty("max_retries") private Long maxRetries; @@ -151,26 +150,27 @@ public class Task { @JsonProperty("new_cluster") private com.databricks.sdk.service.compute.ClusterSpec newCluster; - /** The task runs a notebook when the `notebook_task` field is present. */ + /** The task runs a notebook when the {@code notebook_task} field is present. */ @JsonProperty("notebook_task") private NotebookTask notebookTask; /** - * Optional notification settings that are used when sending notifications to each of the - * `email_notifications` and `webhook_notifications` for this task. + * Optional notification settings that are used when sending notifications to each of the {@code + * email_notifications} and {@code webhook_notifications} for this task. */ @JsonProperty("notification_settings") private TaskNotificationSettings notificationSettings; /** - * The task triggers a pipeline update when the `pipeline_task` field is present. Only pipelines - * configured to use triggered more are supported. + * The task triggers a pipeline update when the {@code pipeline_task} field is present. Only + * pipelines configured to use triggered more are supported. */ @JsonProperty("pipeline_task") private PipelineTask pipelineTask; /** - * The task triggers a Power BI semantic model update when the `power_bi_task` field is present. + * The task triggers a Power BI semantic model update when the {@code power_bi_task} field is + * present. */ @JsonProperty("power_bi_task") private PowerBiTask powerBiTask; @@ -179,7 +179,7 @@ public class Task { @JsonProperty("python_operator_task") private PythonOperatorTask pythonOperatorTask; - /** The task runs a Python wheel when the `python_wheel_task` field is present. */ + /** The task runs a Python wheel when the {@code python_wheel_task} field is present. */ @JsonProperty("python_wheel_task") private PythonWheelTask pythonWheelTask; @@ -194,38 +194,41 @@ public class Task { * An optional value specifying the condition determining whether the task is run once its * dependencies have been completed. * - *

* `ALL_SUCCESS`: All dependencies have executed and succeeded * `AT_LEAST_ONE_SUCCESS`: At - * least one dependency has succeeded * `NONE_FAILED`: None of the dependencies have failed and at - * least one was executed * `ALL_DONE`: All dependencies have been completed * - * `AT_LEAST_ONE_FAILED`: At least one dependency failed * `ALL_FAILED`: ALl dependencies have - * failed + *

    + *
  • {@code ALL_SUCCESS}: All dependencies have executed and succeeded + *
  • {@code AT_LEAST_ONE_SUCCESS}: At least one dependency has succeeded + *
  • {@code NONE_FAILED}: None of the dependencies have failed and at least one was executed + *
  • {@code ALL_DONE}: All dependencies have been completed + *
  • {@code AT_LEAST_ONE_FAILED}: At least one dependency failed + *
  • {@code ALL_FAILED}: ALl dependencies have failed + *
*/ @JsonProperty("run_if") private RunIf runIf; - /** The task triggers another job when the `run_job_task` field is present. */ + /** The task triggers another job when the {@code run_job_task} field is present. */ @JsonProperty("run_job_task") private RunJobTask runJobTask; - /** The task runs a JAR when the `spark_jar_task` field is present. */ + /** The task runs a JAR when the {@code spark_jar_task} field is present. */ @JsonProperty("spark_jar_task") private SparkJarTask sparkJarTask; - /** The task runs a Python file when the `spark_python_task` field is present. */ + /** The task runs a Python file when the {@code spark_python_task} field is present. */ @JsonProperty("spark_python_task") private SparkPythonTask sparkPythonTask; /** * (Legacy) The task runs the spark-submit script when the spark_submit_task field is present. - * Databricks recommends using the spark_jar_task instead; see [Spark Submit task for - * jobs](/jobs/spark-submit). + * Databricks recommends using the spark_jar_task instead; see Spark + * Submit task for jobs. */ @JsonProperty("spark_submit_task") private SparkSubmitTask sparkSubmitTask; /** * The task runs a SQL query or file, or it refreshes a SQL alert or a legacy SQL dashboard when - * the `sql_task` field is present. + * the {@code sql_task} field is present. */ @JsonProperty("sql_task") private SqlTask sqlTask; @@ -238,7 +241,10 @@ public class Task { @JsonProperty("task_key") private String taskKey; - /** An optional timeout applied to each run of this job task. A value of `0` means no timeout. */ + /** + * An optional timeout applied to each run of this job task. A value of {@code 0} means no + * timeout. + */ @JsonProperty("timeout_seconds") private Long timeoutSeconds; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TaskEmailNotifications.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TaskEmailNotifications.java index 440ad8cf8..bcc96f65e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TaskEmailNotifications.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TaskEmailNotifications.java @@ -11,26 +11,27 @@ @Generated public class TaskEmailNotifications { /** - * If true, do not send email to recipients specified in `on_failure` if the run is skipped. This - * field is `deprecated`. Please use the `notification_settings.no_alert_for_skipped_runs` field. + * If true, do not send email to recipients specified in {@code on_failure} if the run is skipped. + * This field is {@code deprecated}. Please use the {@code + * notification_settings.no_alert_for_skipped_runs} field. */ @JsonProperty("no_alert_for_skipped_runs") private Boolean noAlertForSkippedRuns; /** * A list of email addresses to be notified when the duration of a run exceeds the threshold - * specified for the `RUN_DURATION_SECONDS` metric in the `health` field. If no rule for the - * `RUN_DURATION_SECONDS` metric is specified in the `health` field for the job, notifications are - * not sent. + * specified for the {@code RUN_DURATION_SECONDS} metric in the {@code health} field. If no rule + * for the {@code RUN_DURATION_SECONDS} metric is specified in the {@code health} field for the + * job, notifications are not sent. */ @JsonProperty("on_duration_warning_threshold_exceeded") private Collection onDurationWarningThresholdExceeded; /** * A list of email addresses to be notified when a run unsuccessfully completes. A run is - * considered to have completed unsuccessfully if it ends with an `INTERNAL_ERROR` - * `life_cycle_state` or a `FAILED`, or `TIMED_OUT` result_state. If this is not specified on job - * creation, reset, or update the list is empty, and notifications are not sent. + * considered to have completed unsuccessfully if it ends with an {@code INTERNAL_ERROR} {@code + * life_cycle_state} or a {@code FAILED}, or {@code TIMED_OUT} result_state. If this is not + * specified on job creation, reset, or update the list is empty, and notifications are not sent. */ @JsonProperty("on_failure") private Collection onFailure; @@ -44,19 +45,20 @@ public class TaskEmailNotifications { /** * A list of email addresses to notify when any streaming backlog thresholds are exceeded for any - * stream. Streaming backlog thresholds can be set in the `health` field using the following - * metrics: `STREAMING_BACKLOG_BYTES`, `STREAMING_BACKLOG_RECORDS`, `STREAMING_BACKLOG_SECONDS`, - * or `STREAMING_BACKLOG_FILES`. Alerting is based on the 10-minute average of these metrics. If - * the issue persists, notifications are resent every 30 minutes. + * stream. Streaming backlog thresholds can be set in the {@code health} field using the following + * metrics: {@code STREAMING_BACKLOG_BYTES}, {@code STREAMING_BACKLOG_RECORDS}, {@code + * STREAMING_BACKLOG_SECONDS}, or {@code STREAMING_BACKLOG_FILES}. Alerting is based on the + * 10-minute average of these metrics. If the issue persists, notifications are resent every 30 + * minutes. */ @JsonProperty("on_streaming_backlog_exceeded") private Collection onStreamingBacklogExceeded; /** * A list of email addresses to be notified when a run successfully completes. A run is considered - * to have completed successfully if it ends with a `TERMINATED` `life_cycle_state` and a - * `SUCCESS` result_state. If not specified on job creation, reset, or update, the list is empty, - * and notifications are not sent. + * to have completed successfully if it ends with a {@code TERMINATED} {@code life_cycle_state} + * and a {@code SUCCESS} result_state. If not specified on job creation, reset, or update, the + * list is empty, and notifications are not sent. */ @JsonProperty("on_success") private Collection onSuccess; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TaskNotificationSettings.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TaskNotificationSettings.java index d01ee91ef..bc6007561 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TaskNotificationSettings.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TaskNotificationSettings.java @@ -10,22 +10,22 @@ @Generated public class TaskNotificationSettings { /** - * If true, do not send notifications to recipients specified in `on_start` for the retried runs - * and do not send notifications to recipients specified in `on_failure` until the last retry of - * the run. + * If true, do not send notifications to recipients specified in {@code on_start} for the retried + * runs and do not send notifications to recipients specified in {@code on_failure} until the last + * retry of the run. */ @JsonProperty("alert_on_last_attempt") private Boolean alertOnLastAttempt; /** - * If true, do not send notifications to recipients specified in `on_failure` if the run is + * If true, do not send notifications to recipients specified in {@code on_failure} if the run is * canceled. */ @JsonProperty("no_alert_for_canceled_runs") private Boolean noAlertForCanceledRuns; /** - * If true, do not send notifications to recipients specified in `on_failure` if the run is + * If true, do not send notifications to recipients specified in {@code on_failure} if the run is * skipped. */ @JsonProperty("no_alert_for_skipped_runs") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TaskRetryMode.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TaskRetryMode.java index f6e8b6065..33c9cc8bb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TaskRetryMode.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TaskRetryMode.java @@ -5,10 +5,14 @@ import com.databricks.sdk.support.Generated; /** - * task retry mode of the continuous job * NEVER: The failed task will not be retried. * ON_FAILURE: - * Retry a failed task if at least one other task in the job is still running its first attempt. - * When this condition is no longer met or the retry limit is reached, the job run is cancelled and - * a new run is started. + * task retry mode of the continuous job + * + *
    + *
  • NEVER: The failed task will not be retried. + *
  • ON_FAILURE: Retry a failed task if at least one other task in the job is still running its + * first attempt. When this condition is no longer met or the retry limit is reached, the job + * run is cancelled and a new run is started. + *
*/ @Generated public enum TaskRetryMode { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TerminationCodeCode.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TerminationCodeCode.java index 1edadfb6b..a9beeb951 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TerminationCodeCode.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TerminationCodeCode.java @@ -6,46 +6,65 @@ /** * The code indicates why the run was terminated. Additional codes might be introduced in future - * releases. * `SUCCESS`: The run was completed successfully. * `SUCCESS_WITH_FAILURES`: The run was - * completed successfully but some child runs failed. * `USER_CANCELED`: The run was successfully - * canceled during execution by a user. * `CANCELED`: The run was canceled during execution by the - * Databricks platform; for example, if the maximum run duration was exceeded. * `SKIPPED`: Run was - * never executed, for example, if the upstream task run failed, the dependency type condition was - * not met, or there were no material tasks to execute. * `INTERNAL_ERROR`: The run encountered an - * unexpected error. Refer to the state message for further details. * `DRIVER_ERROR`: The run - * encountered an error while communicating with the Spark Driver. * `CLUSTER_ERROR`: The run failed - * due to a cluster error. Refer to the state message for further details. * - * `REPOSITORY_CHECKOUT_FAILED`: Failed to complete the checkout due to an error when communicating - * with the third party service. * `INVALID_CLUSTER_REQUEST`: The run failed because it issued an - * invalid request to start the cluster. * `WORKSPACE_RUN_LIMIT_EXCEEDED`: The workspace has reached - * the quota for the maximum number of concurrent active runs. Consider scheduling the runs over a - * larger time frame. * `FEATURE_DISABLED`: The run failed because it tried to access a feature - * unavailable for the workspace. * `CLUSTER_REQUEST_LIMIT_EXCEEDED`: The number of cluster - * creation, start, and upsize requests have exceeded the allotted rate limit. Consider spreading - * the run execution over a larger time frame. * `STORAGE_ACCESS_ERROR`: The run failed due to an - * error when accessing the customer blob storage. Refer to the state message for further details. * - * `RUN_EXECUTION_ERROR`: The run was completed with task failures. For more details, refer to the - * state message or run output. * `UNAUTHORIZED_ERROR`: The run failed due to a permission issue - * while accessing a resource. Refer to the state message for further details. * - * `LIBRARY_INSTALLATION_ERROR`: The run failed while installing the user-requested library. Refer - * to the state message for further details. The causes might include, but are not limited to: The - * provided library is invalid, there are insufficient permissions to install the library, and so - * forth. * `MAX_CONCURRENT_RUNS_EXCEEDED`: The scheduled run exceeds the limit of maximum - * concurrent runs set for the job. * `MAX_SPARK_CONTEXTS_EXCEEDED`: The run is scheduled on a - * cluster that has already reached the maximum number of contexts it is configured to create. See: - * [Link]. * `RESOURCE_NOT_FOUND`: A resource necessary for run execution does not exist. Refer to - * the state message for further details. * `INVALID_RUN_CONFIGURATION`: The run failed due to an - * invalid configuration. Refer to the state message for further details. * `CLOUD_FAILURE`: The run - * failed due to a cloud provider issue. Refer to the state message for further details. * - * `MAX_JOB_QUEUE_SIZE_EXCEEDED`: The run was skipped due to reaching the job level queue size - * limit. * `DISABLED`: The run was never executed because it was disabled explicitly by the user. * - * `BREAKING_CHANGE`: Run failed because of an intentional breaking change in Spark, but it will be - * retried with a mitigation config. * `CLUSTER_TERMINATED_BY_USER`: The run failed because the - * externally managed cluster entered an unusable state, likely due to the user terminating or - * restarting it outside the jobs service. + * releases. * - *

[Link]: - * https://kb.databricks.com/en_US/notebooks/too-many-execution-contexts-are-open-right-now + *

    + *
  • {@code SUCCESS}: The run was completed successfully. + *
  • {@code SUCCESS_WITH_FAILURES}: The run was completed successfully but some child runs + * failed. + *
  • {@code USER_CANCELED}: The run was successfully canceled during execution by a user. + *
  • {@code CANCELED}: The run was canceled during execution by the Databricks platform; for + * example, if the maximum run duration was exceeded. + *
  • {@code SKIPPED}: Run was never executed, for example, if the upstream task run failed, the + * dependency type condition was not met, or there were no material tasks to execute. + *
  • {@code INTERNAL_ERROR}: The run encountered an unexpected error. Refer to the state message + * for further details. + *
  • {@code DRIVER_ERROR}: The run encountered an error while communicating with the Spark + * Driver. + *
  • {@code CLUSTER_ERROR}: The run failed due to a cluster error. Refer to the state message + * for further details. + *
  • {@code REPOSITORY_CHECKOUT_FAILED}: Failed to complete the checkout due to an error when + * communicating with the third party service. + *
  • {@code INVALID_CLUSTER_REQUEST}: The run failed because it issued an invalid request to + * start the cluster. + *
  • {@code WORKSPACE_RUN_LIMIT_EXCEEDED}: The workspace has reached the quota for the maximum + * number of concurrent active runs. Consider scheduling the runs over a larger time frame. + *
  • {@code FEATURE_DISABLED}: The run failed because it tried to access a feature unavailable + * for the workspace. + *
  • {@code CLUSTER_REQUEST_LIMIT_EXCEEDED}: The number of cluster creation, start, and upsize + * requests have exceeded the allotted rate limit. Consider spreading the run execution over a + * larger time frame. + *
  • {@code STORAGE_ACCESS_ERROR}: The run failed due to an error when accessing the customer + * blob storage. Refer to the state message for further details. + *
  • {@code RUN_EXECUTION_ERROR}: The run was completed with task failures. For more details, + * refer to the state message or run output. + *
  • {@code UNAUTHORIZED_ERROR}: The run failed due to a permission issue while accessing a + * resource. Refer to the state message for further details. + *
  • {@code LIBRARY_INSTALLATION_ERROR}: The run failed while installing the user-requested + * library. Refer to the state message for further details. The causes might include, but are + * not limited to: The provided library is invalid, there are insufficient permissions to + * install the library, and so forth. + *
  • {@code MAX_CONCURRENT_RUNS_EXCEEDED}: The scheduled run exceeds the limit of maximum + * concurrent runs set for the job. + *
  • {@code MAX_SPARK_CONTEXTS_EXCEEDED}: The run is scheduled on a cluster that has already + * reached the maximum number of contexts it is configured to create. See: Link. + *
  • {@code RESOURCE_NOT_FOUND}: A resource necessary for run execution does not exist. Refer to + * the state message for further details. + *
  • {@code INVALID_RUN_CONFIGURATION}: The run failed due to an invalid configuration. Refer to + * the state message for further details. + *
  • {@code CLOUD_FAILURE}: The run failed due to a cloud provider issue. Refer to the state + * message for further details. + *
  • {@code MAX_JOB_QUEUE_SIZE_EXCEEDED}: The run was skipped due to reaching the job level + * queue size limit. + *
  • {@code DISABLED}: The run was never executed because it was disabled explicitly by the + * user. + *
  • {@code BREAKING_CHANGE}: Run failed because of an intentional breaking change in Spark, but + * it will be retried with a mitigation config. + *
  • {@code CLUSTER_TERMINATED_BY_USER}: The run failed because the externally managed cluster + * entered an unusable state, likely due to the user terminating or restarting it outside the + * jobs service. + *
*/ @Generated public enum TerminationCodeCode { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TerminationTypeType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TerminationTypeType.java index 59a8d6800..95dc27114 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TerminationTypeType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TerminationTypeType.java @@ -5,13 +5,17 @@ import com.databricks.sdk.support.Generated; /** - * * `SUCCESS`: The run terminated without any issues * `INTERNAL_ERROR`: An error occurred in the - * Databricks platform. Please look at the [status page] or contact support if the issue persists. * - * `CLIENT_ERROR`: The run was terminated because of an error caused by user input or the job - * configuration. * `CLOUD_FAILURE`: The run was terminated because of an issue with your cloud - * provider. * - *

[status page]: https://status.databricks.com/ + * + *

    + *
  • {@code SUCCESS}: The run terminated without any issues + *
  • {@code INTERNAL_ERROR}: An error occurred in the Databricks platform. Please look at the status page or contact support if the issue + * persists. + *
  • {@code CLIENT_ERROR}: The run was terminated because of an error caused by user input or + * the job configuration. + *
  • {@code CLOUD_FAILURE}: The run was terminated because of an issue with your cloud provider. + *
*/ @Generated public enum TerminationTypeType { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TriggerType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TriggerType.java index b5c70add9..3722f77a9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TriggerType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/TriggerType.java @@ -7,15 +7,20 @@ /** * The type of trigger that fired this run. * - *

* `PERIODIC`: Schedules that periodically trigger runs, such as a cron scheduler. * - * `ONE_TIME`: One time triggers that fire a single run. This occurs you triggered a single run on - * demand through the UI or the API. * `RETRY`: Indicates a run that is triggered as a retry of a - * previously failed run. This occurs when you request to re-run the job in case of failures. * - * `RUN_JOB_TASK`: Indicates a run that is triggered using a Run Job task. * `FILE_ARRIVAL`: - * Indicates a run that is triggered by a file arrival. * `CONTINUOUS`: Indicates a run that is - * triggered by a continuous job. * `TABLE`: Indicates a run that is triggered by a table update. * - * `CONTINUOUS_RESTART`: Indicates a run created by user to manually restart a continuous job run. * - * `MODEL`: Indicates a run that is triggered by a model update. + *

    + *
  • {@code PERIODIC}: Schedules that periodically trigger runs, such as a cron scheduler. + *
  • {@code ONE_TIME}: One time triggers that fire a single run. This occurs you triggered a + * single run on demand through the UI or the API. + *
  • {@code RETRY}: Indicates a run that is triggered as a retry of a previously failed run. + * This occurs when you request to re-run the job in case of failures. + *
  • {@code RUN_JOB_TASK}: Indicates a run that is triggered using a Run Job task. + *
  • {@code FILE_ARRIVAL}: Indicates a run that is triggered by a file arrival. + *
  • {@code CONTINUOUS}: Indicates a run that is triggered by a continuous job. + *
  • {@code TABLE}: Indicates a run that is triggered by a table update. + *
  • {@code CONTINUOUS_RESTART}: Indicates a run created by user to manually restart a + * continuous job run. + *
  • {@code MODEL}: Indicates a run that is triggered by a model update. + *
*/ @Generated public enum TriggerType { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/UpdateJob.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/UpdateJob.java index 7d4b16120..3168fd0ed 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/UpdateJob.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/UpdateJob.java @@ -12,7 +12,7 @@ public class UpdateJob { /** * Remove top-level fields in the job settings. Removing nested fields is not supported, except - * for tasks and job clusters (`tasks/task_1`). This field is optional. + * for tasks and job clusters ({@code tasks/task_1}). This field is optional. */ @JsonProperty("fields_to_remove") private Collection fieldsToRemove; @@ -24,14 +24,15 @@ public class UpdateJob { /** * The new settings for the job. * - *

Top-level fields specified in `new_settings` are completely replaced, except for arrays - * which are merged. That is, new and existing entries are completely replaced based on the - * respective key fields, i.e. `task_key` or `job_cluster_key`, while previous entries are kept. + *

Top-level fields specified in {@code new_settings} are completely replaced, except for + * arrays which are merged. That is, new and existing entries are completely replaced based on the + * respective key fields, i.e. {@code task_key} or {@code job_cluster_key}, while previous entries + * are kept. * *

Partially updating nested fields is not supported. * - *

Changes to the field `JobSettings.timeout_seconds` are applied to active runs. Changes to - * other fields are applied to future runs only. + *

Changes to the field {@code JobSettings.timeout_seconds} are applied to active runs. Changes + * to other fields are applied to future runs only. */ @JsonProperty("new_settings") private JobSettings newSettings; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ViewType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ViewType.java index 77a579a53..9dfaa9a22 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ViewType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ViewType.java @@ -4,7 +4,14 @@ import com.databricks.sdk.support.Generated; -/** * `NOTEBOOK`: Notebook view item. * `DASHBOARD`: Dashboard view item. */ +/** + * + * + *

    + *
  • {@code NOTEBOOK}: Notebook view item. + *
  • {@code DASHBOARD}: Dashboard view item. + *
+ */ @Generated public enum ViewType { DASHBOARD, // Dashboard view item. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ViewsToExport.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ViewsToExport.java index 6f6cf2da8..c20981d15 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ViewsToExport.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/ViewsToExport.java @@ -5,8 +5,13 @@ import com.databricks.sdk.support.Generated; /** - * * `CODE`: Code view of the notebook. * `DASHBOARDS`: All dashboard views of the notebook. * - * `ALL`: All views of the notebook. + * + * + *
    + *
  • {@code CODE}: Code view of the notebook. + *
  • {@code DASHBOARDS}: All dashboard views of the notebook. + *
  • {@code ALL}: All views of the notebook. + *
*/ @Generated public enum ViewsToExport { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/WebhookNotifications.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/WebhookNotifications.java index 72d92748d..a27dfe714 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/WebhookNotifications.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/WebhookNotifications.java @@ -12,40 +12,42 @@ public class WebhookNotifications { /** * An optional list of system notification IDs to call when the duration of a run exceeds the - * threshold specified for the `RUN_DURATION_SECONDS` metric in the `health` field. A maximum of 3 - * destinations can be specified for the `on_duration_warning_threshold_exceeded` property. + * threshold specified for the {@code RUN_DURATION_SECONDS} metric in the {@code health} field. A + * maximum of 3 destinations can be specified for the {@code + * on_duration_warning_threshold_exceeded} property. */ @JsonProperty("on_duration_warning_threshold_exceeded") private Collection onDurationWarningThresholdExceeded; /** * An optional list of system notification IDs to call when the run fails. A maximum of 3 - * destinations can be specified for the `on_failure` property. + * destinations can be specified for the {@code on_failure} property. */ @JsonProperty("on_failure") private Collection onFailure; /** * An optional list of system notification IDs to call when the run starts. A maximum of 3 - * destinations can be specified for the `on_start` property. + * destinations can be specified for the {@code on_start} property. */ @JsonProperty("on_start") private Collection onStart; /** * An optional list of system notification IDs to call when any streaming backlog thresholds are - * exceeded for any stream. Streaming backlog thresholds can be set in the `health` field using - * the following metrics: `STREAMING_BACKLOG_BYTES`, `STREAMING_BACKLOG_RECORDS`, - * `STREAMING_BACKLOG_SECONDS`, or `STREAMING_BACKLOG_FILES`. Alerting is based on the 10-minute - * average of these metrics. If the issue persists, notifications are resent every 30 minutes. A - * maximum of 3 destinations can be specified for the `on_streaming_backlog_exceeded` property. + * exceeded for any stream. Streaming backlog thresholds can be set in the {@code health} field + * using the following metrics: {@code STREAMING_BACKLOG_BYTES}, {@code + * STREAMING_BACKLOG_RECORDS}, {@code STREAMING_BACKLOG_SECONDS}, or {@code + * STREAMING_BACKLOG_FILES}. Alerting is based on the 10-minute average of these metrics. If the + * issue persists, notifications are resent every 30 minutes. A maximum of 3 destinations can be + * specified for the {@code on_streaming_backlog_exceeded} property. */ @JsonProperty("on_streaming_backlog_exceeded") private Collection onStreamingBacklogExceeded; /** * An optional list of system notification IDs to call when the run completes successfully. A - * maximum of 3 destinations can be specified for the `on_success` property. + * maximum of 3 destinations can be specified for the {@code on_success} property. */ @JsonProperty("on_success") private Collection onSuccess; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/ListExamplesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/ListExamplesRequest.java index 14c52391f..033b95253 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/ListExamplesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/ListExamplesRequest.java @@ -19,7 +19,7 @@ public class ListExamplesRequest { private Long pageSize; /** - * A page token, received from a previous `ListExamples` call. Provide this to retrieve the + * A page token, received from a previous {@code ListExamples} call. Provide this to retrieve the * subsequent page. If unspecified, the first page will be returned. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/ListKnowledgeAssistantsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/ListKnowledgeAssistantsRequest.java index 228407b6f..6de370bea 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/ListKnowledgeAssistantsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/ListKnowledgeAssistantsRequest.java @@ -19,8 +19,8 @@ public class ListKnowledgeAssistantsRequest { private Long pageSize; /** - * A page token, received from a previous `ListKnowledgeAssistants` call. Provide this to retrieve - * the subsequent page. If unspecified, the first page will be returned. + * A page token, received from a previous {@code ListKnowledgeAssistants} call. Provide this to + * retrieve the subsequent page. If unspecified, the first page will be returned. */ @JsonIgnore @QueryParam("page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/ListKnowledgeAssistantsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/ListKnowledgeAssistantsResponse.java index ec55ca4b4..ff3a5ce0f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/ListKnowledgeAssistantsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/ListKnowledgeAssistantsResponse.java @@ -16,8 +16,8 @@ public class ListKnowledgeAssistantsResponse { private Collection knowledgeAssistants; /** - * A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, - * there are no subsequent pages. + * A token that can be sent as {@code page_token} to retrieve the next page. If this field is + * omitted, there are no subsequent pages. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/UpdateExampleRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/UpdateExampleRequest.java index c617cf20b..d2867f6b3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/UpdateExampleRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/UpdateExampleRequest.java @@ -23,8 +23,13 @@ public class UpdateExampleRequest { @JsonIgnore private String name; /** - * Comma-delimited list of fields to update on the example. Allowed values: `question`, - * `guidelines`. Examples: - `question` - `question,guidelines` + * Comma-delimited list of fields to update on the example. Allowed values: {@code question}, + * {@code guidelines}. Examples: + * + *
    + *
  • {@code question} + *
  • {@code question,guidelines} + *
*/ @JsonIgnore @QueryParam("update_mask") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/UpdateKnowledgeAssistantRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/UpdateKnowledgeAssistantRequest.java index f2ef10436..cb02b5d9f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/UpdateKnowledgeAssistantRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/UpdateKnowledgeAssistantRequest.java @@ -27,9 +27,13 @@ public class UpdateKnowledgeAssistantRequest { @JsonIgnore private String name; /** - * Comma-delimited list of fields to update on the Knowledge Assistant. Allowed values: - * `display_name`, `description`, `instructions`. Examples: - `display_name` - - * `description,instructions` + * Comma-delimited list of fields to update on the Knowledge Assistant. Allowed values: {@code + * display_name}, {@code description}, {@code instructions}. Examples: + * + *
    + *
  • {@code display_name} + *
  • {@code description,instructions} + *
*/ @JsonIgnore @QueryParam("update_mask") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/UpdateKnowledgeSourceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/UpdateKnowledgeSourceRequest.java index 1750025e8..6b5584fdb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/UpdateKnowledgeSourceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/knowledgeassistants/UpdateKnowledgeSourceRequest.java @@ -27,8 +27,13 @@ public class UpdateKnowledgeSourceRequest { @JsonIgnore private String name; /** - * Comma-delimited list of fields to update on the Knowledge Source. Allowed values: - * `display_name`, `description`. Examples: - `display_name` - `display_name,description` + * Comma-delimited list of fields to update on the Knowledge Source. Allowed values: {@code + * display_name}, {@code description}. Examples: + * + *
    + *
  • {@code display_name} + *
  • {@code display_name,description} + *
*/ @JsonIgnore @QueryParam("update_mask") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerFulfillmentsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerFulfillmentsAPI.java index 1673a54c8..86e7b22fb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerFulfillmentsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerFulfillmentsAPI.java @@ -48,7 +48,7 @@ public Iterable list(String listingId) { } /** - * Get all listings fulfillments associated with a listing. A _fulfillment_ is a potential + * Get all listings fulfillments associated with a listing. A fulfillment is a potential * installation. Standard installations contain metadata about the attached share or git repo. * Only one of these fields will be present. Personalized installations contain metadata about the * attached share or git repo, as well as the Delta Sharing recipient type. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerFulfillmentsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerFulfillmentsService.java index c346d8201..1f30f8106 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerFulfillmentsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerFulfillmentsService.java @@ -17,7 +17,7 @@ GetListingContentMetadataResponse get( GetListingContentMetadataRequest getListingContentMetadataRequest); /** - * Get all listings fulfillments associated with a listing. A _fulfillment_ is a potential + * Get all listings fulfillments associated with a listing. A fulfillment is a potential * installation. Standard installations contain metadata about the attached share or git repo. * Only one of these fields will be present. Personalized installations contain metadata about the * attached share or git repo, as well as the Delta Sharing recipient type. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerInstallationsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerInstallationsAPI.java index 0428f6f84..b8be9ccf1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerInstallationsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerInstallationsAPI.java @@ -78,8 +78,13 @@ public Iterable listListingInstallations(ListInstallationsRe /** * This is a update API that will update the part of the fields defined in the installation table * as well as interact with external services according to the fields not included in the - * installation table 1. the token will be rotate if the rotateToken flag is true 2. the token - * will be forcibly rotate if the rotateToken flag is true and the tokenInfo field is empty + * installation table + * + *
    + *
  1. the token will be rotate if the rotateToken flag is true + *
  2. the token will be forcibly rotate if the rotateToken flag is true and the tokenInfo field + * is empty + *
*/ public UpdateInstallationResponse update(UpdateInstallationRequest request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerInstallationsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerInstallationsService.java index 247cddbbd..676d0339d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerInstallationsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerInstallationsService.java @@ -28,8 +28,13 @@ ListInstallationsResponse listListingInstallations( /** * This is a update API that will update the part of the fields defined in the installation table * as well as interact with external services according to the fields not included in the - * installation table 1. the token will be rotate if the rotateToken flag is true 2. the token - * will be forcibly rotate if the rotateToken flag is true and the tokenInfo field is empty + * installation table + * + *
    + *
  1. the token will be rotate if the rotateToken flag is true + *
  2. the token will be forcibly rotate if the rotateToken flag is true and the tokenInfo field + * is empty + *
*/ UpdateInstallationResponse update(UpdateInstallationRequest updateInstallationRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerPersonalizationRequestsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerPersonalizationRequestsAPI.java index 94a762088..f3adc3b64 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerPersonalizationRequestsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerPersonalizationRequestsAPI.java @@ -38,7 +38,7 @@ public GetPersonalizationRequestResponse get(String listingId) { } /** - * Get the personalization request for a listing. Each consumer can make at *most* one + * Get the personalization request for a listing. Each consumer can make at most one * personalization request for a listing. */ public GetPersonalizationRequestResponse get(GetPersonalizationRequestRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerPersonalizationRequestsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerPersonalizationRequestsService.java index 42d1fc7d1..dcc64f077 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerPersonalizationRequestsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ConsumerPersonalizationRequestsService.java @@ -18,7 +18,7 @@ CreatePersonalizationRequestResponse create( CreatePersonalizationRequest createPersonalizationRequest); /** - * Get the personalization request for a listing. Each consumer can make at *most* one + * Get the personalization request for a listing. Each consumer can make at most one * personalization request for a listing. */ GetPersonalizationRequestResponse get( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListingDetail.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListingDetail.java index dcf891232..2f203d603 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListingDetail.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ListingDetail.java @@ -84,9 +84,12 @@ public class ListingDetail { * Listing tags - Simple key value pair to annotate listings. When should I use tags vs dedicated * fields? Using tags avoids the need to add new columns in the database for new annotations. * However, this should be used sparingly since tags are stored as key value pair. Use tags only: - * 1. If the field is optional and won't need to have NOT NULL integrity check 2. The value is - * fairly fixed, static and low cardinality (eg. enums). 3. The value won't be used in filters or - * joins with other tables. + * + *
    + *
  1. If the field is optional and won't need to have NOT NULL integrity check + *
  2. The value is fairly fixed, static and low cardinality (eg. enums). + *
  3. The value won't be used in filters or joins with other tables. + *
*/ @JsonProperty("tags") private Collection tags; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProviderAnalyticsDashboardsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProviderAnalyticsDashboardsAPI.java index e12a08777..ebae2c34f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProviderAnalyticsDashboardsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProviderAnalyticsDashboardsAPI.java @@ -25,8 +25,8 @@ public ProviderProviderAnalyticsDashboardsAPI(ProviderProviderAnalyticsDashboard } /** - * Create provider analytics dashboard. Returns Marketplace specific `id`. Not to be confused with - * the Lakeview dashboard id. + * Create provider analytics dashboard. Returns Marketplace specific {@code id}. Not to be + * confused with the Lakeview dashboard id. */ public ProviderAnalyticsDashboard create() { return impl.create(); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProviderAnalyticsDashboardsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProviderAnalyticsDashboardsService.java index 174f0e786..13f09ec91 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProviderAnalyticsDashboardsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/ProviderProviderAnalyticsDashboardsService.java @@ -13,8 +13,8 @@ @Generated public interface ProviderProviderAnalyticsDashboardsService { /** - * Create provider analytics dashboard. Returns Marketplace specific `id`. Not to be confused with - * the Lakeview dashboard id. + * Create provider analytics dashboard. Returns Marketplace specific {@code id}. Not to be + * confused with the Lakeview dashboard id. */ ProviderAnalyticsDashboard create(); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/UpdateProviderAnalyticsDashboardResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/UpdateProviderAnalyticsDashboardResponse.java index e679a5aa9..34f4ea132 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/UpdateProviderAnalyticsDashboardResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/marketplace/UpdateProviderAnalyticsDashboardResponse.java @@ -13,7 +13,7 @@ public class UpdateProviderAnalyticsDashboardResponse { @JsonProperty("dashboard_id") private String dashboardId; - /** id & version should be the same as the request */ + /** id & version should be the same as the request */ @JsonProperty("id") private String id; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/Activity.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/Activity.java index 80ecebe7e..1ea428ac0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/Activity.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/Activity.java @@ -28,13 +28,12 @@ public class Activity { /** * Source stage of the transition (if the activity is stage transition related). Valid values are: * - *

* `None`: The initial stage of a model version. - * - *

* `Staging`: Staging or pre-production stage. - * - *

* `Production`: Production stage. - * - *

* `Archived`: Archived stage. + *

    + *
  • {@code None}: The initial stage of a model version. + *
  • {@code Staging}: Staging or pre-production stage. + *
  • {@code Production}: Production stage. + *
  • {@code Archived}: Archived stage. + *
*/ @JsonProperty("from_stage") private String fromStage; @@ -48,9 +47,9 @@ public class Activity { private Long lastUpdatedTimestamp; /** - * Comment made by system, for example explaining an activity of type `SYSTEM_TRANSITION`. It - * usually describes a side effect, such as a version being archived as part of another version's - * stage transition, and may not be returned for some activity types. + * Comment made by system, for example explaining an activity of type {@code SYSTEM_TRANSITION}. + * It usually describes a side effect, such as a version being archived as part of another + * version's stage transition, and may not be returned for some activity types. */ @JsonProperty("system_comment") private String systemComment; @@ -58,13 +57,12 @@ public class Activity { /** * Target stage of the transition (if the activity is stage transition related). Valid values are: * - *

* `None`: The initial stage of a model version. - * - *

* `Staging`: Staging or pre-production stage. - * - *

* `Production`: Production stage. - * - *

* `Archived`: Archived stage. + *

    + *
  • {@code None}: The initial stage of a model version. + *
  • {@code Staging}: Staging or pre-production stage. + *
  • {@code Production}: Production stage. + *
  • {@code Archived}: Archived stage. + *
*/ @JsonProperty("to_stage") private String toStage; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ActivityAction.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ActivityAction.java index 8d4436b4b..b00ae2ae3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ActivityAction.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ActivityAction.java @@ -7,15 +7,20 @@ /** * An action that a user (with sufficient permissions) could take on an activity or comment. * - *

For activities, valid values are: * `APPROVE_TRANSITION_REQUEST`: Approve a transition request + *

For activities, valid values are: * - *

* `REJECT_TRANSITION_REQUEST`: Reject a transition request + *

    + *
  • {@code APPROVE_TRANSITION_REQUEST}: Approve a transition request + *
  • {@code REJECT_TRANSITION_REQUEST}: Reject a transition request + *
  • {@code CANCEL_TRANSITION_REQUEST}: Cancel (delete) a transition request + *
* - *

* `CANCEL_TRANSITION_REQUEST`: Cancel (delete) a transition request + *

For comments, valid values are: * - *

For comments, valid values are: * `EDIT_COMMENT`: Edit the comment - * - *

* `DELETE_COMMENT`: Delete the comment + *

    + *
  • {@code EDIT_COMMENT}: Edit the comment + *
  • {@code DELETE_COMMENT}: Delete the comment + *
*/ @Generated public enum ActivityAction { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ActivityType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ActivityType.java index 6620c35eb..079a2f1a6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ActivityType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ActivityType.java @@ -5,19 +5,17 @@ import com.databricks.sdk.support.Generated; /** - * Type of activity. Valid values are: * `APPLIED_TRANSITION`: User applied the corresponding stage - * transition. + * Type of activity. Valid values are: * - *

* `REQUESTED_TRANSITION`: User requested the corresponding stage transition. - * - *

* `CANCELLED_REQUEST`: User cancelled an existing transition request. - * - *

* `APPROVED_REQUEST`: User approved the corresponding stage transition. - * - *

* `REJECTED_REQUEST`: User rejected the coressponding stage transition. - * - *

* `SYSTEM_TRANSITION`: For events performed as a side effect, such as archiving existing model - * versions in a stage. + *

    + *
  • {@code APPLIED_TRANSITION}: User applied the corresponding stage transition. + *
  • {@code REQUESTED_TRANSITION}: User requested the corresponding stage transition. + *
  • {@code CANCELLED_REQUEST}: User cancelled an existing transition request. + *
  • {@code APPROVED_REQUEST}: User approved the corresponding stage transition. + *
  • {@code REJECTED_REQUEST}: User rejected the coressponding stage transition. + *
  • {@code SYSTEM_TRANSITION}: For events performed as a side effect, such as archiving + * existing model versions in a stage. + *
*/ @Generated public enum ActivityType { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ApproveTransitionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ApproveTransitionRequest.java index f8384a434..e0eb327b4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ApproveTransitionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ApproveTransitionRequest.java @@ -25,13 +25,12 @@ public class ApproveTransitionRequest { /** * Target stage of the transition. Valid values are: * - *

* `None`: The initial stage of a model version. - * - *

* `Staging`: Staging or pre-production stage. - * - *

* `Production`: Production stage. - * - *

* `Archived`: Archived stage. + *

    + *
  • {@code None}: The initial stage of a model version. + *
  • {@code Staging}: Staging or pre-production stage. + *
  • {@code Production}: Production stage. + *
  • {@code Archived}: Archived stage. + *
*/ @JsonProperty("stage") private String stage; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CommentActivityAction.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CommentActivityAction.java index 2e05ec6da..e3ab25b1a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CommentActivityAction.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CommentActivityAction.java @@ -7,15 +7,20 @@ /** * An action that a user (with sufficient permissions) could take on an activity or comment. * - *

For activities, valid values are: * `APPROVE_TRANSITION_REQUEST`: Approve a transition request + *

For activities, valid values are: * - *

* `REJECT_TRANSITION_REQUEST`: Reject a transition request + *

    + *
  • {@code APPROVE_TRANSITION_REQUEST}: Approve a transition request + *
  • {@code REJECT_TRANSITION_REQUEST}: Reject a transition request + *
  • {@code CANCEL_TRANSITION_REQUEST}: Cancel (delete) a transition request + *
* - *

* `CANCEL_TRANSITION_REQUEST`: Cancel (delete) a transition request + *

For comments, valid values are: * - *

For comments, valid values are: * `EDIT_COMMENT`: Edit the comment - * - *

* `DELETE_COMMENT`: Delete the comment + *

    + *
  • {@code EDIT_COMMENT}: Edit the comment + *
  • {@code DELETE_COMMENT}: Delete the comment + *
*/ @Generated public enum CommentActivityAction { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ContinuousWindow.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ContinuousWindow.java index cbb2b6c33..d16011c5e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ContinuousWindow.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ContinuousWindow.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Deprecated: use RollingWindow with `delay` instead. */ +/** Deprecated: use RollingWindow with {@code delay} instead. */ @Generated public class ContinuousWindow { /** The offset of the continuous window (must be non-positive). */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateForecastingExperimentRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateForecastingExperimentRequest.java index 6d05acda5..6b793475d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateForecastingExperimentRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateForecastingExperimentRequest.java @@ -49,9 +49,12 @@ public class CreateForecastingExperimentRequest { /** * Specifies the list of feature columns to include in model training. These columns must exist in * the training data and be of type string, numerical, or boolean. If not specified, no additional - * features will be included. Note: Certain columns are automatically handled: - Automatically - * excluded: split_column, target_column, custom_weights_column. - Automatically included: - * time_column. + * features will be included. Note: Certain columns are automatically handled: + * + *
    + *
  • Automatically excluded: split_column, target_column, custom_weights_column. + *
  • Automatically included: time_column. + *
*/ @JsonProperty("include_features") private Collection includeFeatures; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateLoggedModelRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateLoggedModelRequest.java index 63308f48e..8d047d206 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateLoggedModelRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateLoggedModelRequest.java @@ -14,7 +14,7 @@ public class CreateLoggedModelRequest { @JsonProperty("experiment_id") private String experimentId; - /** The type of the model, such as ``"Agent"``, ``"Classifier"``, ``"LLM"``. */ + /** The type of the model, such as {@code "Agent"}, {@code "Classifier"}, {@code "LLM"}. */ @JsonProperty("model_type") private String modelType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateModelVersionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateModelVersionRequest.java index 6e59fd63b..f4294b3e3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateModelVersionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateModelVersionRequest.java @@ -19,7 +19,7 @@ public class CreateModelVersionRequest { private String name; /** - * MLflow run ID for correlation, if `source` was generated by an experiment run in MLflow + * MLflow run ID for correlation, if {@code source} was generated by an experiment run in MLflow * tracking server */ @JsonProperty("run_id") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateRegistryWebhook.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateRegistryWebhook.java index 3ccf8b812..7e1f439b8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateRegistryWebhook.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateRegistryWebhook.java @@ -16,35 +16,30 @@ public class CreateRegistryWebhook { private String description; /** - * Events that can trigger a registry webhook: * `MODEL_VERSION_CREATED`: A new model version was - * created for the associated model. + * Events that can trigger a registry webhook: * - *

* `MODEL_VERSION_TRANSITIONED_STAGE`: A model version’s stage was changed. - * - *

* `TRANSITION_REQUEST_CREATED`: A user requested a model version’s stage be transitioned. - * - *

* `COMMENT_CREATED`: A user wrote a comment on a registered model. - * - *

* `REGISTERED_MODEL_CREATED`: A new registered model was created. This event type can only - * be specified for a registry-wide webhook, which can be created by not specifying a model name - * in the create request. - * - *

* `MODEL_VERSION_TAG_SET`: A user set a tag on the model version. - * - *

* `MODEL_VERSION_TRANSITIONED_TO_STAGING`: A model version was transitioned to staging. - * - *

* `MODEL_VERSION_TRANSITIONED_TO_PRODUCTION`: A model version was transitioned to - * production. - * - *

* `MODEL_VERSION_TRANSITIONED_TO_ARCHIVED`: A model version was archived. - * - *

* `TRANSITION_REQUEST_TO_STAGING_CREATED`: A user requested a model version be transitioned - * to staging. - * - *

* `TRANSITION_REQUEST_TO_PRODUCTION_CREATED`: A user requested a model version be - * transitioned to production. - * - *

* `TRANSITION_REQUEST_TO_ARCHIVED_CREATED`: A user requested a model version be archived. + *

    + *
  • {@code MODEL_VERSION_CREATED}: A new model version was created for the associated model. + *
  • {@code MODEL_VERSION_TRANSITIONED_STAGE}: A model version’s stage was changed. + *
  • {@code TRANSITION_REQUEST_CREATED}: A user requested a model version’s stage be + * transitioned. + *
  • {@code COMMENT_CREATED}: A user wrote a comment on a registered model. + *
  • {@code REGISTERED_MODEL_CREATED}: A new registered model was created. This event type can + * only be specified for a registry-wide webhook, which can be created by not specifying a + * model name in the create request. + *
  • {@code MODEL_VERSION_TAG_SET}: A user set a tag on the model version. + *
  • {@code MODEL_VERSION_TRANSITIONED_TO_STAGING}: A model version was transitioned to + * staging. + *
  • {@code MODEL_VERSION_TRANSITIONED_TO_PRODUCTION}: A model version was transitioned to + * production. + *
  • {@code MODEL_VERSION_TRANSITIONED_TO_ARCHIVED}: A model version was archived. + *
  • {@code TRANSITION_REQUEST_TO_STAGING_CREATED}: A user requested a model version be + * transitioned to staging. + *
  • {@code TRANSITION_REQUEST_TO_PRODUCTION_CREATED}: A user requested a model version be + * transitioned to production. + *
  • {@code TRANSITION_REQUEST_TO_ARCHIVED_CREATED}: A user requested a model version be + * archived. + *
*/ @JsonProperty("events") private Collection events; @@ -66,12 +61,14 @@ public class CreateRegistryWebhook { /** * Enable or disable triggering the webhook, or put the webhook into test mode. The default is - * `ACTIVE`: * `ACTIVE`: Webhook is triggered when an associated event happens. - * - *

* `DISABLED`: Webhook is not triggered. + * {@code ACTIVE}: * - *

* `TEST_MODE`: Webhook can be triggered through the test endpoint, but is not triggered on a - * real event. + *

    + *
  • {@code ACTIVE}: Webhook is triggered when an associated event happens. + *
  • {@code DISABLED}: Webhook is not triggered. + *
  • {@code TEST_MODE}: Webhook can be triggered through the test endpoint, but is not + * triggered on a real event. + *
*/ @JsonProperty("status") private RegistryWebhookStatus status; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateTransitionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateTransitionRequest.java index a45efb9a1..b33d4de2c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateTransitionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/CreateTransitionRequest.java @@ -21,13 +21,12 @@ public class CreateTransitionRequest { /** * Target stage of the transition. Valid values are: * - *

* `None`: The initial stage of a model version. - * - *

* `Staging`: Staging or pre-production stage. - * - *

* `Production`: Production stage. - * - *

* `Archived`: Archived stage. + *

    + *
  • {@code None}: The initial stage of a model version. + *
  • {@code Staging}: Staging or pre-production stage. + *
  • {@code Production}: Production stage. + *
  • {@code Archived}: Archived stage. + *
*/ @JsonProperty("stage") private String stage; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteTransitionRequestRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteTransitionRequestRequest.java index 4170e18a5..4b49b2589 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteTransitionRequestRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeleteTransitionRequestRequest.java @@ -31,13 +31,12 @@ public class DeleteTransitionRequestRequest { /** * Target stage of the transition request. Valid values are: * - *

* `None`: The initial stage of a model version. - * - *

* `Staging`: Staging or pre-production stage. - * - *

* `Production`: Production stage. - * - *

* `Archived`: Archived stage. + *

    + *
  • {@code None}: The initial stage of a model version. + *
  • {@code Staging}: Staging or pre-production stage. + *
  • {@code Production}: Production stage. + *
  • {@code Archived}: Archived stage. + *
*/ @JsonIgnore @QueryParam("stage") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeltaTableSource.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeltaTableSource.java index 4b095a4dc..12075feaa 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeltaTableSource.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DeltaTableSource.java @@ -45,9 +45,9 @@ public class DeltaTableSource { /** * A single SQL SELECT expression applied after filter_condition. Should contains all the columns - * needed (eg. "SELECT *, col_a + col_b AS col_c FROM x.y.z WHERE col_a > 0" would have - * `transformation_sql` "*, col_a + col_b AS col_c") If transformation_sql is not provided, all - * columns of the delta table are present in the DataSource dataframe. + * needed (eg. "SELECT , col_a + col_b AS col_c FROM x.y.z WHERE col_a > 0" would have + * {@code transformation_sql} ", col_a + col_b AS col_c") If transformation_sql is not + * provided, all columns of the delta table are present in the DataSource dataframe. */ @JsonProperty("transformation_sql") private String transformationSql; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsAPI.java index 9a4a51a61..62edb8ea4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsAPI.java @@ -37,9 +37,9 @@ public ExperimentsAPI(ExperimentsService mock) { * that another experiment with the same name does not already exist and fails if another * experiment with the same name already exists. * - *

Throws `RESOURCE_ALREADY_EXISTS` if an experiment with the given name exists. Note: In some - * contexts, this error may be remapped to `ALREADY_EXISTS`. To be safe, clients should check for - * both error codes. + *

Throws {@code RESOURCE_ALREADY_EXISTS} if an experiment with the given name exists. Note: In + * some contexts, this error may be remapped to {@code ALREADY_EXISTS}. To be safe, clients should + * check for both error codes. */ public CreateExperimentResponse createExperiment(CreateExperiment request) { return impl.createExperiment(request); @@ -52,8 +52,8 @@ public CreateLoggedModelResponse createLoggedModel(CreateLoggedModelRequest requ /** * Creates a new run within an experiment. A run is usually a single execution of a machine - * learning or data ETL pipeline. MLflow uses runs to track the `mlflowParam`, `mlflowMetric`, and - * `mlflowRunTag` associated with a single execution. + * learning or data ETL pipeline. MLflow uses runs to track the {@code mlflowParam}, {@code + * mlflowMetric}, and {@code mlflowRunTag} associated with a single execution. */ public CreateRunResponse createRun(CreateRun request) { return impl.createRun(request); @@ -123,7 +123,7 @@ public GetExperimentByNameResponse getByName(String experimentName) { * active and deleted experiment share the same name. If multiple deleted experiments share the * same name, the API will return one of them. * - *

Throws `RESOURCE_DOES_NOT_EXIST` if no experiment with the specified name exists. + *

Throws {@code RESOURCE_DOES_NOT_EXIST} if no experiment with the specified name exists. */ public GetExperimentByNameResponse getByName(GetByNameRequest request) { return impl.getByName(request); @@ -204,11 +204,11 @@ public GetRunResponse getRun(GetRunRequest request) { } /** - * List artifacts for a run. Takes an optional `artifact_path` prefix which if specified, the - * response contains only artifacts with the specified prefix. A maximum of 1000 artifacts will be - * retrieved for UC Volumes. Please call `/api/2.0/fs/directories{directory_path}` for listing - * artifacts in UC Volumes, which supports pagination. See [List directory contents | Files - * API](/api/workspace/files/listdirectorycontents). + * List artifacts for a run. Takes an optional {@code artifact_path} prefix which if specified, + * the response contains only artifacts with the specified prefix. A maximum of 1000 artifacts + * will be retrieved for UC Volumes. Please call {@code /api/2.0/fs/directories{directory_path}} + * for listing artifacts in UC Volumes, which supports pagination. See List directory contents | Files API. */ public Iterable listArtifacts(ListArtifactsRequest request) { return Paginator.newTokenPagination( @@ -251,37 +251,38 @@ public Iterable listExperiments(ListExperimentsRequest request) { * *

The overwrite behavior for metrics, params, and tags is as follows: * - *

* Metrics: metric values are never overwritten. Logging a metric (key, value, timestamp) - * appends to the set of values for the metric with the provided key. + *

    + *
  • Metrics: metric values are never overwritten. Logging a metric (key, value, timestamp) + * appends to the set of values for the metric with the provided key. + *
  • Tags: tag values can be overwritten by successive writes to the same tag key. That is, if + * multiple tag values with the same key are provided in the same API request, the + * last-provided tag value is written. Logging the same tag (key, value) is permitted. + * Specifically, logging a tag is idempotent. + *
  • Parameters: once written, param values cannot be changed (attempting to overwrite a param + * value will result in an error). However, logging the same param (key, value) is + * permitted. Specifically, logging a param is idempotent. + *
* - *

* Tags: tag values can be overwritten by successive writes to the same tag key. That is, if - * multiple tag values with the same key are provided in the same API request, the last-provided - * tag value is written. Logging the same tag (key, value) is permitted. Specifically, logging a - * tag is idempotent. + *

Request Limits * - *

* Parameters: once written, param values cannot be changed (attempting to overwrite a param - * value will result in an error). However, logging the same param (key, value) is permitted. - * Specifically, logging a param is idempotent. + *

A single JSON-serialized API request may be up to 1 MB in size and contain: * - *

Request Limits ------------------------------- A single JSON-serialized API request may be - * up to 1 MB in size and contain: - * - *

* No more than 1000 metrics, params, and tags in total - * - *

* Up to 1000 metrics - * - *

* Up to 100 params - * - *

* Up to 100 tags + *

    + *
  • No more than 1000 metrics, params, and tags in total + *
  • Up to 1000 metrics + *
  • Up to 100 params + *
  • Up to 100 tags + *
* *

For example, a valid request might contain 900 metrics, 50 params, and 50 tags, but logging * 900 metrics, 50 params, and 51 tags is invalid. * *

The following limits also apply to metric, param, and tag keys and values: * - *

* Metric keys, param keys, and tag keys can be up to 250 characters in length - * - *

* Parameter and tag values can be up to 250 characters in length + *

    + *
  • Metric keys, param keys, and tag keys can be up to 250 characters in length + *
  • Parameter and tag values can be up to 250 characters in length + *
*/ public void logBatch(LogBatch request) { impl.logBatch(request); @@ -312,8 +313,8 @@ public void logMetric(LogMetric request) { } /** - * **Note:** the [Create a logged model](/api/workspace/experiments/createloggedmodel) API - * replaces this endpoint. + * Note: the Create a logged + * model API replaces this endpoint. * *

Log a model to an MLflow Run. */ @@ -340,7 +341,8 @@ public void logParam(LogParam request) { * metrics, params, and tags. If experiment uses FileStore, underlying artifacts associated with * experiment are also restored. * - *

Throws `RESOURCE_DOES_NOT_EXIST` if experiment was never created or was permanently deleted. + *

Throws {@code RESOURCE_DOES_NOT_EXIST} if experiment was never created or was permanently + * deleted. */ public void restoreExperiment(RestoreExperiment request) { impl.restoreExperiment(request); @@ -350,7 +352,8 @@ public void restoreExperiment(RestoreExperiment request) { * Restores a deleted run. This also restores associated metadata, runs, metrics, params, and * tags. * - *

Throws `RESOURCE_DOES_NOT_EXIST` if the run was never created or was permanently deleted. + *

Throws {@code RESOURCE_DOES_NOT_EXIST} if the run was never created or was permanently + * deleted. */ public void restoreRun(RestoreRun request) { impl.restoreRun(request); @@ -388,7 +391,7 @@ public SearchLoggedModelsResponse searchLoggedModels(SearchLoggedModelsRequest r /** * Searches for runs that satisfy expressions. * - *

Search expressions can use `mlflowMetric` and `mlflowParam` keys. + *

Search expressions can use {@code mlflowMetric} and {@code mlflowParam} keys. */ public Iterable searchRuns(SearchRuns request) { return Paginator.newTokenPagination( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsService.java index 510e817b9..5b8142849 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ExperimentsService.java @@ -23,9 +23,9 @@ public interface ExperimentsService { * that another experiment with the same name does not already exist and fails if another * experiment with the same name already exists. * - *

Throws `RESOURCE_ALREADY_EXISTS` if an experiment with the given name exists. Note: In some - * contexts, this error may be remapped to `ALREADY_EXISTS`. To be safe, clients should check for - * both error codes. + *

Throws {@code RESOURCE_ALREADY_EXISTS} if an experiment with the given name exists. Note: In + * some contexts, this error may be remapped to {@code ALREADY_EXISTS}. To be safe, clients should + * check for both error codes. */ CreateExperimentResponse createExperiment(CreateExperiment createExperiment); @@ -34,8 +34,8 @@ public interface ExperimentsService { /** * Creates a new run within an experiment. A run is usually a single execution of a machine - * learning or data ETL pipeline. MLflow uses runs to track the `mlflowParam`, `mlflowMetric`, and - * `mlflowRunTag` associated with a single execution. + * learning or data ETL pipeline. MLflow uses runs to track the {@code mlflowParam}, {@code + * mlflowMetric}, and {@code mlflowRunTag} associated with a single execution. */ CreateRunResponse createRun(CreateRun createRun); @@ -78,7 +78,7 @@ FinalizeLoggedModelResponse finalizeLoggedModel( * active and deleted experiment share the same name. If multiple deleted experiments share the * same name, the API will return one of them. * - *

Throws `RESOURCE_DOES_NOT_EXIST` if no experiment with the specified name exists. + *

Throws {@code RESOURCE_DOES_NOT_EXIST} if no experiment with the specified name exists. */ GetExperimentByNameResponse getByName(GetByNameRequest getByNameRequest); @@ -111,11 +111,11 @@ ExperimentPermissions getPermissions( GetRunResponse getRun(GetRunRequest getRunRequest); /** - * List artifacts for a run. Takes an optional `artifact_path` prefix which if specified, the - * response contains only artifacts with the specified prefix. A maximum of 1000 artifacts will be - * retrieved for UC Volumes. Please call `/api/2.0/fs/directories{directory_path}` for listing - * artifacts in UC Volumes, which supports pagination. See [List directory contents | Files - * API](/api/workspace/files/listdirectorycontents). + * List artifacts for a run. Takes an optional {@code artifact_path} prefix which if specified, + * the response contains only artifacts with the specified prefix. A maximum of 1000 artifacts + * will be retrieved for UC Volumes. Please call {@code /api/2.0/fs/directories{directory_path}} + * for listing artifacts in UC Volumes, which supports pagination. See List directory contents | Files API. */ ListArtifactsResponse listArtifacts(ListArtifactsRequest listArtifactsRequest); @@ -134,37 +134,38 @@ ExperimentPermissions getPermissions( * *

The overwrite behavior for metrics, params, and tags is as follows: * - *

* Metrics: metric values are never overwritten. Logging a metric (key, value, timestamp) - * appends to the set of values for the metric with the provided key. + *

    + *
  • Metrics: metric values are never overwritten. Logging a metric (key, value, timestamp) + * appends to the set of values for the metric with the provided key. + *
  • Tags: tag values can be overwritten by successive writes to the same tag key. That is, if + * multiple tag values with the same key are provided in the same API request, the + * last-provided tag value is written. Logging the same tag (key, value) is permitted. + * Specifically, logging a tag is idempotent. + *
  • Parameters: once written, param values cannot be changed (attempting to overwrite a param + * value will result in an error). However, logging the same param (key, value) is + * permitted. Specifically, logging a param is idempotent. + *
* - *

* Tags: tag values can be overwritten by successive writes to the same tag key. That is, if - * multiple tag values with the same key are provided in the same API request, the last-provided - * tag value is written. Logging the same tag (key, value) is permitted. Specifically, logging a - * tag is idempotent. + *

Request Limits * - *

* Parameters: once written, param values cannot be changed (attempting to overwrite a param - * value will result in an error). However, logging the same param (key, value) is permitted. - * Specifically, logging a param is idempotent. + *

A single JSON-serialized API request may be up to 1 MB in size and contain: * - *

Request Limits ------------------------------- A single JSON-serialized API request may be - * up to 1 MB in size and contain: - * - *

* No more than 1000 metrics, params, and tags in total - * - *

* Up to 1000 metrics - * - *

* Up to 100 params - * - *

* Up to 100 tags + *

    + *
  • No more than 1000 metrics, params, and tags in total + *
  • Up to 1000 metrics + *
  • Up to 100 params + *
  • Up to 100 tags + *
* *

For example, a valid request might contain 900 metrics, 50 params, and 50 tags, but logging * 900 metrics, 50 params, and 51 tags is invalid. * *

The following limits also apply to metric, param, and tag keys and values: * - *

* Metric keys, param keys, and tag keys can be up to 250 characters in length - * - *

* Parameter and tag values can be up to 250 characters in length + *

    + *
  • Metric keys, param keys, and tag keys can be up to 250 characters in length + *
  • Parameter and tag values can be up to 250 characters in length + *
*/ void logBatch(LogBatch logBatch); @@ -187,8 +188,8 @@ ExperimentPermissions getPermissions( void logMetric(LogMetric logMetric); /** - * **Note:** the [Create a logged model](/api/workspace/experiments/createloggedmodel) API - * replaces this endpoint. + * Note: the Create a logged + * model API replaces this endpoint. * *

Log a model to an MLflow Run. */ @@ -209,7 +210,8 @@ ExperimentPermissions getPermissions( * metrics, params, and tags. If experiment uses FileStore, underlying artifacts associated with * experiment are also restored. * - *

Throws `RESOURCE_DOES_NOT_EXIST` if experiment was never created or was permanently deleted. + *

Throws {@code RESOURCE_DOES_NOT_EXIST} if experiment was never created or was permanently + * deleted. */ void restoreExperiment(RestoreExperiment restoreExperiment); @@ -217,7 +219,8 @@ ExperimentPermissions getPermissions( * Restores a deleted run. This also restores associated metadata, runs, metrics, params, and * tags. * - *

Throws `RESOURCE_DOES_NOT_EXIST` if the run was never created or was permanently deleted. + *

Throws {@code RESOURCE_DOES_NOT_EXIST} if the run was never created or was permanently + * deleted. */ void restoreRun(RestoreRun restoreRun); @@ -238,7 +241,7 @@ SearchLoggedModelsResponse searchLoggedModels( /** * Searches for runs that satisfy expressions. * - *

Search expressions can use `mlflowMetric` and `mlflowParam` keys. + *

Search expressions can use {@code mlflowMetric} and {@code mlflowParam} keys. */ SearchRunsResponse searchRuns(SearchRuns searchRuns); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureEngineeringAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureEngineeringAPI.java index 88e553f31..6fff62948 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureEngineeringAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureEngineeringAPI.java @@ -220,7 +220,7 @@ public MaterializedFeature updateMaterializedFeature(UpdateMaterializedFeatureRe return impl.updateMaterializedFeature(request); } - /** Update a Stream. Only fields listed in `update_mask` are mutated. */ + /** Update a Stream. Only fields listed in {@code update_mask} are mutated. */ public Stream updateStream(UpdateStreamRequest request) { return impl.updateStream(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureEngineeringService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureEngineeringService.java index dc4be7546..2facfd8b5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureEngineeringService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FeatureEngineeringService.java @@ -92,6 +92,6 @@ ListMaterializedFeaturesResponse listMaterializedFeatures( MaterializedFeature updateMaterializedFeature( UpdateMaterializedFeatureRequest updateMaterializedFeatureRequest); - /** Update a Stream. Only fields listed in `update_mask` are mutated. */ + /** Update a Stream. Only fields listed in {@code update_mask} are mutated. */ Stream updateStream(UpdateStreamRequest updateStreamRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FinalizeLoggedModelRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FinalizeLoggedModelRequest.java index 3bb12c2f8..760d5faec 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FinalizeLoggedModelRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/FinalizeLoggedModelRequest.java @@ -14,7 +14,7 @@ public class FinalizeLoggedModelRequest { @JsonIgnore private String modelId; /** - * Whether or not the model is ready for use. ``"LOGGED_MODEL_UPLOAD_FAILED"`` indicates that + * Whether or not the model is ready for use. {@code "LOGGED_MODEL_UPLOAD_FAILED"} indicates that * something went wrong when logging the model weights / agent code. */ @JsonProperty("status") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetHistoryRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetHistoryRequest.java index 223e481b2..413b2fb2a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetHistoryRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetHistoryRequest.java @@ -34,8 +34,8 @@ public class GetHistoryRequest { private String runId; /** - * [Deprecated, use `run_id` instead] ID of the run from which to fetch metric values. This field - * will be removed in a future MLflow version. + * [Deprecated, use {@code run_id} instead] ID of the run from which to fetch metric values. This + * field will be removed in a future MLflow version. */ @JsonIgnore @QueryParam("run_uuid") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetLatestVersionsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetLatestVersionsResponse.java index 6ab2f29c0..afa00a18a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetLatestVersionsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetLatestVersionsResponse.java @@ -11,8 +11,9 @@ @Generated public class GetLatestVersionsResponse { /** - * Latest version models for each requests stage. Only return models with current `READY` status. - * If no `stages` provided, returns the latest version for each stage, including `"None"`. + * Latest version models for each requests stage. Only return models with current {@code READY} + * status. If no {@code stages} provided, returns the latest version for each stage, including + * {@code "None"}. */ @JsonProperty("model_versions") private Collection modelVersions; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetMetricHistoryResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetMetricHistoryResponse.java index 22c1f2388..5075ca328 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetMetricHistoryResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetMetricHistoryResponse.java @@ -11,9 +11,9 @@ @Generated public class GetMetricHistoryResponse { /** - * All logged values for this metric if `max_results` is not specified in the request or if the - * total count of metrics returned is less than the service level pagination threshold. Otherwise, - * this is one page of results. + * All logged values for this metric if {@code max_results} is not specified in the request or if + * the total count of metrics returned is less than the service level pagination threshold. + * Otherwise, this is one page of results. */ @JsonProperty("metrics") private Collection metrics; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRunRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRunRequest.java index 963d55de4..4f4bc2e14 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRunRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/GetRunRequest.java @@ -16,8 +16,8 @@ public class GetRunRequest { private String runId; /** - * [Deprecated, use `run_id` instead] ID of the run to fetch. This field will be removed in a - * future MLflow version. + * [Deprecated, use {@code run_id} instead] ID of the run to fetch. This field will be removed in + * a future MLflow version. */ @JsonIgnore @QueryParam("run_uuid") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/HttpUrlSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/HttpUrlSpec.java index a7de79ab0..310a26257 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/HttpUrlSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/HttpUrlSpec.java @@ -11,7 +11,7 @@ public class HttpUrlSpec { /** * Value of the authorization header that should be sent in the request sent by the wehbook. It - * should be of the form `" "`. If set to an empty string, no + * should be of the form {@code " "}. If set to an empty string, no * authorization header will be included in the request. */ @JsonProperty("authorization") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/IngestionConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/IngestionConfig.java index cc86b09bc..7eab8dd8b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/IngestionConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/IngestionConfig.java @@ -32,8 +32,8 @@ public class IngestionConfig { /** * Column paths used to identify duplicate rows during ingestion; only one row per distinct - * combination of these values is kept. Use dot notation for nested fields (e.g. `value.user_id`). - * Empty list means every column is compared. + * combination of these values is kept. Use dot notation for nested fields (e.g. {@code + * value.user_id}). Empty list means every column is compared. */ @JsonProperty("deduplication_columns") private Collection deduplicationColumns; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListArtifactsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListArtifactsRequest.java index 50e6f718f..498561bbd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListArtifactsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListArtifactsRequest.java @@ -11,11 +11,11 @@ @Generated public class ListArtifactsRequest { /** - * The token indicating the page of artifact results to fetch. `page_token` is not supported when - * listing artifacts in UC Volumes. A maximum of 1000 artifacts will be retrieved for UC Volumes. - * Please call `/api/2.0/fs/directories{directory_path}` for listing artifacts in UC Volumes, - * which supports pagination. See [List directory contents | Files - * API](/api/workspace/files/listdirectorycontents). + * The token indicating the page of artifact results to fetch. {@code page_token} is not supported + * when listing artifacts in UC Volumes. A maximum of 1000 artifacts will be retrieved for UC + * Volumes. Please call {@code /api/2.0/fs/directories{directory_path}} for listing artifacts in + * UC Volumes, which supports pagination. See List directory contents | Files API. */ @JsonIgnore @QueryParam("page_token") @@ -32,8 +32,8 @@ public class ListArtifactsRequest { private String runId; /** - * [Deprecated, use `run_id` instead] ID of the run whose artifacts to list. This field will be - * removed in a future MLflow version. + * [Deprecated, use {@code run_id} instead] ID of the run whose artifacts to list. This field will + * be removed in a future MLflow version. */ @JsonIgnore @QueryParam("run_uuid") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListExperimentsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListExperimentsRequest.java index 6b50ba2bd..bf06ef7fc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListExperimentsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListExperimentsRequest.java @@ -11,10 +11,10 @@ @Generated public class ListExperimentsRequest { /** - * Maximum number of experiments desired. If `max_results` is unspecified, return all experiments. - * If `max_results` is too large, it'll be automatically capped at 1000. Callers of this endpoint - * are encouraged to pass max_results explicitly and leverage page_token to iterate through - * experiments. + * Maximum number of experiments desired. If {@code max_results} is unspecified, return all + * experiments. If {@code max_results} is too large, it'll be automatically capped at 1000. + * Callers of this endpoint are encouraged to pass max_results explicitly and leverage page_token + * to iterate through experiments. */ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListStreamsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListStreamsResponse.java index 8a71a6515..c48edaa65 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListStreamsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListStreamsResponse.java @@ -12,9 +12,14 @@ * Response to a ListStreamsRequest. * *

NOTE: Results are post-filtered by access permission on each stream's ingestion table. This - * means: - Returned results may be fewer than page_size (including zero) - Page token points to - * next unfiltered batch, not next filtered batch, and may point to an item that will be filtered - * out Callers should paginate until next_page_token is empty to retrieve all accessible streams. + * means: + * + *

    + *
  • Returned results may be fewer than page_size (including zero) + *
  • Page token points to next unfiltered batch, not next filtered batch, and may point to an + * item that will be filtered out Callers should paginate until next_page_token is empty to + * retrieve all accessible streams. + *
*/ @Generated public class ListStreamsResponse { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListWebhooksRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListWebhooksRequest.java index 6e7a9469c..2a7908e63 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListWebhooksRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ListWebhooksRequest.java @@ -12,39 +12,34 @@ @Generated public class ListWebhooksRequest { /** - * Events that trigger the webhook. * `MODEL_VERSION_CREATED`: A new model version was created for - * the associated model. + * Events that trigger the webhook. * - *

* `MODEL_VERSION_TRANSITIONED_STAGE`: A model version’s stage was changed. + *

    + *
  • {@code MODEL_VERSION_CREATED}: A new model version was created for the associated model. + *
  • {@code MODEL_VERSION_TRANSITIONED_STAGE}: A model version’s stage was changed. + *
  • {@code TRANSITION_REQUEST_CREATED}: A user requested a model version’s stage be + * transitioned. + *
  • {@code COMMENT_CREATED}: A user wrote a comment on a registered model. + *
  • {@code REGISTERED_MODEL_CREATED}: A new registered model was created. This event type can + * only be specified for a registry-wide webhook, which can be created by not specifying a + * model name in the create request. + *
  • {@code MODEL_VERSION_TAG_SET}: A user set a tag on the model version. + *
  • {@code MODEL_VERSION_TRANSITIONED_TO_STAGING}: A model version was transitioned to + * staging. + *
  • {@code MODEL_VERSION_TRANSITIONED_TO_PRODUCTION}: A model version was transitioned to + * production. + *
  • {@code MODEL_VERSION_TRANSITIONED_TO_ARCHIVED}: A model version was archived. + *
  • {@code TRANSITION_REQUEST_TO_STAGING_CREATED}: A user requested a model version be + * transitioned to staging. + *
  • {@code TRANSITION_REQUEST_TO_PRODUCTION_CREATED}: A user requested a model version be + * transitioned to production. + *
  • {@code TRANSITION_REQUEST_TO_ARCHIVED_CREATED}: A user requested a model version be + * archived. + *
* - *

* `TRANSITION_REQUEST_CREATED`: A user requested a model version’s stage be transitioned. - * - *

* `COMMENT_CREATED`: A user wrote a comment on a registered model. - * - *

* `REGISTERED_MODEL_CREATED`: A new registered model was created. This event type can only - * be specified for a registry-wide webhook, which can be created by not specifying a model name - * in the create request. - * - *

* `MODEL_VERSION_TAG_SET`: A user set a tag on the model version. - * - *

* `MODEL_VERSION_TRANSITIONED_TO_STAGING`: A model version was transitioned to staging. - * - *

* `MODEL_VERSION_TRANSITIONED_TO_PRODUCTION`: A model version was transitioned to - * production. - * - *

* `MODEL_VERSION_TRANSITIONED_TO_ARCHIVED`: A model version was archived. - * - *

* `TRANSITION_REQUEST_TO_STAGING_CREATED`: A user requested a model version be transitioned - * to staging. - * - *

* `TRANSITION_REQUEST_TO_PRODUCTION_CREATED`: A user requested a model version be - * transitioned to production. - * - *

* `TRANSITION_REQUEST_TO_ARCHIVED_CREATED`: A user requested a model version be archived. - * - *

If `events` is specified, any webhook with one or more of the specified trigger events is - * included in the output. If `events` is not specified, webhooks of all event types are included - * in the output. + *

If {@code events} is specified, any webhook with one or more of the specified trigger events + * is included in the output. If {@code events} is not specified, webhooks of all event types are + * included in the output. */ @JsonIgnore @QueryParam("events") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/LogMetric.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/LogMetric.java index 7e621f079..8a6feb33c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/LogMetric.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/LogMetric.java @@ -36,8 +36,8 @@ public class LogMetric { private String runId; /** - * [Deprecated, use `run_id` instead] ID of the run under which to log the metric. This field will - * be removed in a future MLflow version. + * [Deprecated, use {@code run_id} instead] ID of the run under which to log the metric. This + * field will be removed in a future MLflow version. */ @JsonProperty("run_uuid") private String runUuid; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/LogParam.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/LogParam.java index 3ea5a20ed..afb51e37b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/LogParam.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/LogParam.java @@ -18,8 +18,8 @@ public class LogParam { private String runId; /** - * [Deprecated, use `run_id` instead] ID of the run under which to log the param. This field will - * be removed in a future MLflow version. + * [Deprecated, use {@code run_id} instead] ID of the run under which to log the param. This field + * will be removed in a future MLflow version. */ @JsonProperty("run_uuid") private String runUuid; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/LoggedModelInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/LoggedModelInfo.java index e6f626243..5c6df4134 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/LoggedModelInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/LoggedModelInfo.java @@ -35,7 +35,7 @@ public class LoggedModelInfo { @JsonProperty("model_id") private String modelId; - /** The type of model, such as ``"Agent"``, ``"Classifier"``, ``"LLM"``. */ + /** The type of model, such as {@code "Agent"}, {@code "Classifier"}, {@code "LLM"}. */ @JsonProperty("model_type") private String modelType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeature.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeature.java index a07ab91d3..3d76ccbc4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeature.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/MaterializedFeature.java @@ -12,8 +12,8 @@ public class MaterializedFeature { /** * The quartz cron expression that defines the schedule of the materialization pipeline. The - * schedule is evaluated in the UTC timezone. Hidden from GraphQL: superseded by the `trigger` - * oneof (cron_schedule_trigger), so not exposed to Catalog Explorer. + * schedule is evaluated in the UTC timezone. Hidden from GraphQL: superseded by the {@code + * trigger} oneof (cron_schedule_trigger), so not exposed to Catalog Explorer. */ @JsonProperty("cron_schedule") private String cronSchedule; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/Model.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/Model.java index a736a5978..0d711b604 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/Model.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/Model.java @@ -10,21 +10,21 @@ @Generated public class Model { - /** Timestamp recorded when this `registered_model` was created. */ + /** Timestamp recorded when this {@code registered_model} was created. */ @JsonProperty("creation_timestamp") private Long creationTimestamp; - /** Description of this `registered_model`. */ + /** Description of this {@code registered_model}. */ @JsonProperty("description") private String description; - /** Timestamp recorded when metadata for this `registered_model` was last updated. */ + /** Timestamp recorded when metadata for this {@code registered_model} was last updated. */ @JsonProperty("last_updated_timestamp") private Long lastUpdatedTimestamp; /** - * Collection of latest model versions for each stage. Only contains models with current `READY` - * status. + * Collection of latest model versions for each stage. Only contains models with current {@code + * READY} status. */ @JsonProperty("latest_versions") private Collection latestVersions; @@ -33,11 +33,11 @@ public class Model { @JsonProperty("name") private String name; - /** Tags: Additional metadata key-value pairs for this `registered_model`. */ + /** Tags: Additional metadata key-value pairs for this {@code registered_model}. */ @JsonProperty("tags") private Collection tags; - /** User that created this `registered_model` */ + /** User that created this {@code registered_model} */ @JsonProperty("user_id") private String userId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelRegistryAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelRegistryAPI.java index e11d5c861..0a1a5b130 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelRegistryAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelRegistryAPI.java @@ -9,9 +9,9 @@ /** * Note: This API reference documents APIs for the Workspace Model Registry. Databricks recommends - * using [Models in Unity Catalog](/api/workspace/registeredmodels) instead. Models in Unity Catalog - * provides centralized model governance, cross-workspace access, lineage, and deployment. Workspace - * Model Registry will be deprecated in the future. + * using Models in Unity Catalog instead. Models in + * Unity Catalog provides centralized model governance, cross-workspace access, lineage, and + * deployment. Workspace Model Registry will be deprecated in the future. * *

The Workspace Model Registry is a centralized model repository and a UI and set of APIs that * enable you to manage the full lifecycle of MLflow Models. @@ -48,8 +48,8 @@ public CreateCommentResponse createComment(CreateComment request) { } /** - * Creates a new registered model with the name specified in the request body. Throws - * `RESOURCE_ALREADY_EXISTS` if a registered model with the given name exists. + * Creates a new registered model with the name specified in the request body. Throws {@code + * RESOURCE_ALREADY_EXISTS} if a registered model with the given name exists. */ public CreateModelResponse createModel(CreateModelRequest request) { return impl.createModel(request); @@ -65,7 +65,7 @@ public CreateTransitionRequestResponse createTransitionRequest(CreateTransitionR return impl.createTransitionRequest(request); } - /** **NOTE:** This endpoint is in Public Preview. Creates a registry webhook. */ + /** NOTE: This endpoint is in Public Preview. Creates a registry webhook. */ public CreateWebhookResponse createWebhook(CreateRegistryWebhook request) { return impl.createWebhook(request); } @@ -136,7 +136,7 @@ public void deleteWebhook(String id) { deleteWebhook(new DeleteWebhookRequest().setId(id)); } - /** **NOTE:** This endpoint is in Public Preview. Deletes a registry webhook. */ + /** NOTE: This endpoint is in Public Preview. Deletes a registry webhook. */ public void deleteWebhook(DeleteWebhookRequest request) { impl.deleteWebhook(request); } @@ -155,11 +155,10 @@ public GetModelResponse getModel(String name) { } /** - * Get the details of a model. This is a Databricks workspace version of the [MLflow endpoint] + * Get the details of a model. This is a Databricks workspace version of the MLflow endpoint * that also returns the model's Databricks workspace ID and the permission level of the * requesting user on the model. - * - *

[MLflow endpoint]: https://www.mlflow.org/docs/latest/rest-api.html#get-registeredmodel */ public GetModelResponse getModel(GetModelRequest request) { return impl.getModel(request); @@ -210,7 +209,7 @@ public RegisteredModelPermissions getPermissions(GetRegisteredModelPermissionsRe return impl.getPermissions(request); } - /** Lists all available registered models, up to the limit specified in __max_results__. */ + /** Lists all available registered models, up to the limit specified in max_results. */ public Iterable listModels(ListModelsRequest request) { return Paginator.newTokenPagination( request, @@ -239,7 +238,7 @@ public Iterable listTransitionRequests(ListTransitionRequestsRequest r response -> null); } - /** **NOTE:** This endpoint is in Public Preview. Lists all registry webhooks. */ + /** NOTE: This endpoint is in Public Preview. Lists all registry webhooks. */ public Iterable listWebhooks(ListWebhooksRequest request) { return Paginator.newTokenPagination( request, @@ -264,7 +263,7 @@ public RenameModelResponse renameModel(RenameModelRequest request) { return impl.renameModel(request); } - /** Searches for specific model versions based on the supplied __filter__. */ + /** Searches for specific model versions based on the supplied filter. */ public Iterable searchModelVersions(SearchModelVersionsRequest request) { return Paginator.newTokenPagination( request, @@ -279,7 +278,7 @@ public Iterable searchModelVersions(SearchModelVersionsRequest req }); } - /** Search for registered models based on the specified __filter__. */ + /** Search for registered models based on the specified filter. */ public Iterable searchModels(SearchModelsRequest request) { return Paginator.newTokenPagination( request, @@ -312,17 +311,15 @@ public RegisteredModelPermissions setPermissions(RegisteredModelPermissionsReque return impl.setPermissions(request); } - /** **NOTE:** This endpoint is in Public Preview. Tests a registry webhook. */ + /** NOTE: This endpoint is in Public Preview. Tests a registry webhook. */ public TestRegistryWebhookResponse testRegistryWebhook(TestRegistryWebhookRequest request) { return impl.testRegistryWebhook(request); } /** - * Transition a model version's stage. This is a Databricks workspace version of the [MLflow - * endpoint] that also accepts a comment associated with the transition to be recorded. - * - *

[MLflow endpoint]: - * https://www.mlflow.org/docs/latest/rest-api.html#transition-modelversion-stage + * Transition a model version's stage. This is a Databricks workspace version of the MLflow + * endpoint that also accepts a comment associated with the transition to be recorded. */ public TransitionStageResponse transitionStage(TransitionModelVersionStageDatabricks request) { return impl.transitionStage(request); @@ -351,7 +348,7 @@ public RegisteredModelPermissions updatePermissions(RegisteredModelPermissionsRe return impl.updatePermissions(request); } - /** **NOTE:** This endpoint is in Public Preview. Updates a registry webhook. */ + /** NOTE: This endpoint is in Public Preview. Updates a registry webhook. */ public UpdateWebhookResponse updateWebhook(UpdateRegistryWebhook request) { return impl.updateWebhook(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelRegistryService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelRegistryService.java index 416afd402..311bbb750 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelRegistryService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelRegistryService.java @@ -5,9 +5,9 @@ /** * Note: This API reference documents APIs for the Workspace Model Registry. Databricks recommends - * using [Models in Unity Catalog](/api/workspace/registeredmodels) instead. Models in Unity Catalog - * provides centralized model governance, cross-workspace access, lineage, and deployment. Workspace - * Model Registry will be deprecated in the future. + * using Models in Unity Catalog instead. Models in + * Unity Catalog provides centralized model governance, cross-workspace access, lineage, and + * deployment. Workspace Model Registry will be deprecated in the future. * *

The Workspace Model Registry is a centralized model repository and a UI and set of APIs that * enable you to manage the full lifecycle of MLflow Models. @@ -30,8 +30,8 @@ ApproveTransitionRequestResponse approveTransitionRequest( CreateCommentResponse createComment(CreateComment createComment); /** - * Creates a new registered model with the name specified in the request body. Throws - * `RESOURCE_ALREADY_EXISTS` if a registered model with the given name exists. + * Creates a new registered model with the name specified in the request body. Throws {@code + * RESOURCE_ALREADY_EXISTS} if a registered model with the given name exists. */ CreateModelResponse createModel(CreateModelRequest createModelRequest); @@ -43,7 +43,7 @@ CreateModelVersionResponse createModelVersion( CreateTransitionRequestResponse createTransitionRequest( CreateTransitionRequest createTransitionRequest); - /** **NOTE:** This endpoint is in Public Preview. Creates a registry webhook. */ + /** NOTE: This endpoint is in Public Preview. Creates a registry webhook. */ CreateWebhookResponse createWebhook(CreateRegistryWebhook createRegistryWebhook); /** Deletes a comment on a model version. */ @@ -65,18 +65,17 @@ CreateTransitionRequestResponse createTransitionRequest( DeleteTransitionRequestResponse deleteTransitionRequest( DeleteTransitionRequestRequest deleteTransitionRequestRequest); - /** **NOTE:** This endpoint is in Public Preview. Deletes a registry webhook. */ + /** NOTE: This endpoint is in Public Preview. Deletes a registry webhook. */ void deleteWebhook(DeleteWebhookRequest deleteWebhookRequest); /** Gets the latest version of a registered model. */ GetLatestVersionsResponse getLatestVersions(GetLatestVersionsRequest getLatestVersionsRequest); /** - * Get the details of a model. This is a Databricks workspace version of the [MLflow endpoint] + * Get the details of a model. This is a Databricks workspace version of the MLflow endpoint * that also returns the model's Databricks workspace ID and the permission level of the * requesting user on the model. - * - *

[MLflow endpoint]: https://www.mlflow.org/docs/latest/rest-api.html#get-registeredmodel */ GetModelResponse getModel(GetModelRequest getModelRequest); @@ -98,14 +97,14 @@ GetRegisteredModelPermissionLevelsResponse getPermissionLevels( RegisteredModelPermissions getPermissions( GetRegisteredModelPermissionsRequest getRegisteredModelPermissionsRequest); - /** Lists all available registered models, up to the limit specified in __max_results__. */ + /** Lists all available registered models, up to the limit specified in max_results. */ ListModelsResponse listModels(ListModelsRequest listModelsRequest); /** Gets a list of all open stage transition requests for the model version. */ ListTransitionRequestsResponse listTransitionRequests( ListTransitionRequestsRequest listTransitionRequestsRequest); - /** **NOTE:** This endpoint is in Public Preview. Lists all registry webhooks. */ + /** NOTE: This endpoint is in Public Preview. Lists all registry webhooks. */ ListRegistryWebhooks listWebhooks(ListWebhooksRequest listWebhooksRequest); /** Rejects a model version stage transition request. */ @@ -115,11 +114,11 @@ RejectTransitionRequestResponse rejectTransitionRequest( /** Renames a registered model. */ RenameModelResponse renameModel(RenameModelRequest renameModelRequest); - /** Searches for specific model versions based on the supplied __filter__. */ + /** Searches for specific model versions based on the supplied filter. */ SearchModelVersionsResponse searchModelVersions( SearchModelVersionsRequest searchModelVersionsRequest); - /** Search for registered models based on the specified __filter__. */ + /** Search for registered models based on the specified filter. */ SearchModelsResponse searchModels(SearchModelsRequest searchModelsRequest); /** Sets a tag on a registered model. */ @@ -135,16 +134,14 @@ SearchModelVersionsResponse searchModelVersions( RegisteredModelPermissions setPermissions( RegisteredModelPermissionsRequest registeredModelPermissionsRequest); - /** **NOTE:** This endpoint is in Public Preview. Tests a registry webhook. */ + /** NOTE: This endpoint is in Public Preview. Tests a registry webhook. */ TestRegistryWebhookResponse testRegistryWebhook( TestRegistryWebhookRequest testRegistryWebhookRequest); /** - * Transition a model version's stage. This is a Databricks workspace version of the [MLflow - * endpoint] that also accepts a comment associated with the transition to be recorded. - * - *

[MLflow endpoint]: - * https://www.mlflow.org/docs/latest/rest-api.html#transition-modelversion-stage + * Transition a model version's stage. This is a Databricks workspace version of the MLflow + * endpoint that also accepts a comment associated with the transition to be recorded. */ TransitionStageResponse transitionStage( TransitionModelVersionStageDatabricks transitionModelVersionStageDatabricks); @@ -166,6 +163,6 @@ UpdateModelVersionResponse updateModelVersion( RegisteredModelPermissions updatePermissions( RegisteredModelPermissionsRequest registeredModelPermissionsRequest); - /** **NOTE:** This endpoint is in Public Preview. Updates a registry webhook. */ + /** NOTE: This endpoint is in Public Preview. Updates a registry webhook. */ UpdateWebhookResponse updateWebhook(UpdateRegistryWebhook updateRegistryWebhook); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelVersion.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelVersion.java index 588ad0492..45fefa121 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelVersion.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelVersion.java @@ -10,19 +10,19 @@ @Generated public class ModelVersion { - /** Timestamp recorded when this `model_version` was created. */ + /** Timestamp recorded when this {@code model_version} was created. */ @JsonProperty("creation_timestamp") private Long creationTimestamp; - /** Current stage for this `model_version`. */ + /** Current stage for this {@code model_version}. */ @JsonProperty("current_stage") private String currentStage; - /** Description of this `model_version`. */ + /** Description of this {@code model_version}. */ @JsonProperty("description") private String description; - /** Timestamp recorded when metadata for this `model_version` was last updated. */ + /** Timestamp recorded when metadata for this {@code model_version} was last updated. */ @JsonProperty("last_updated_timestamp") private Long lastUpdatedTimestamp; @@ -31,8 +31,8 @@ public class ModelVersion { private String name; /** - * MLflow run ID used when creating `model_version`, if `source` was generated by an experiment - * run stored in MLflow tracking server. + * MLflow run ID used when creating {@code model_version}, if {@code source} was generated by an + * experiment run stored in MLflow tracking server. */ @JsonProperty("run_id") private String runId; @@ -42,24 +42,25 @@ public class ModelVersion { private String runLink; /** - * URI indicating the location of the source model artifacts, used when creating `model_version` + * URI indicating the location of the source model artifacts, used when creating {@code + * model_version} */ @JsonProperty("source") private String source; - /** Current status of `model_version` */ + /** Current status of {@code model_version} */ @JsonProperty("status") private ModelVersionStatus status; - /** Details on current `status`, if it is pending or failed. */ + /** Details on current {@code status}, if it is pending or failed. */ @JsonProperty("status_message") private String statusMessage; - /** Tags: Additional metadata key-value pairs for this `model_version`. */ + /** Tags: Additional metadata key-value pairs for this {@code model_version}. */ @JsonProperty("tags") private Collection tags; - /** User that created this `model_version`. */ + /** User that created this {@code model_version}. */ @JsonProperty("user_id") private String userId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelVersionDatabricks.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelVersionDatabricks.java index b11b61291..379696120 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelVersionDatabricks.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelVersionDatabricks.java @@ -29,7 +29,7 @@ public class ModelVersionDatabricks { @JsonProperty("email_subscription_status") private RegistryEmailSubscriptionType emailSubscriptionStatus; - /** Feature lineage of `model_version`. */ + /** Feature lineage of {@code model_version}. */ @JsonProperty("feature_list") private FeatureList featureList; @@ -42,8 +42,8 @@ public class ModelVersionDatabricks { private String name; /** - * Open requests for this `model_versions`. Gap in sequence number is intentional and is done in - * order to match field sequence numbers of `ModelVersion` proto message + * Open requests for this {@code model_versions}. Gap in sequence number is intentional and is + * done in order to match field sequence numbers of {@code ModelVersion} proto message */ @JsonProperty("open_requests") private Collection openRequests; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelVersionStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelVersionStatus.java index d98ef47b1..4c099ec44 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelVersionStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/ModelVersionStatus.java @@ -5,12 +5,14 @@ import com.databricks.sdk.support.Generated; /** - * The status of the model version. Valid values are: * `PENDING_REGISTRATION`: Request to register - * a new model version is pending as server performs background tasks. + * The status of the model version. Valid values are: * - *

* `FAILED_REGISTRATION`: Request to register a new model version has failed. - * - *

* `READY`: Model version is ready for use. + *

    + *
  • {@code PENDING_REGISTRATION}: Request to register a new model version is pending as server + * performs background tasks. + *
  • {@code FAILED_REGISTRATION}: Request to register a new model version has failed. + *
  • {@code READY}: Model version is ready for use. + *
*/ @Generated public enum ModelVersionStatus { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PermissionLevel.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PermissionLevel.java index d4aa69a14..c8b6d1d7f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PermissionLevel.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/PermissionLevel.java @@ -5,8 +5,8 @@ import com.databricks.sdk.support.Generated; /** - * Permission level of the requesting user on the object. For what is allowed at each level, see - * [MLflow Model permissions](..). + * Permission level of the requesting user on the object. For what is allowed at each level, see MLflow Model permissions. */ @Generated public enum PermissionLevel { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RegistryEmailSubscriptionType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RegistryEmailSubscriptionType.java index 57083862e..91b7214d6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RegistryEmailSubscriptionType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RegistryEmailSubscriptionType.java @@ -6,9 +6,14 @@ /** * .. note:: Experimental: This entity may change or be removed in a future release without warning. - * Email subscription types for registry notifications: - `ALL_EVENTS`: Subscribed to all events. - - * `DEFAULT`: Default subscription type. - `SUBSCRIBED`: Subscribed to notifications. - - * `UNSUBSCRIBED`: Not subscribed to notifications. + * Email subscription types for registry notifications: + * + *
    + *
  • {@code ALL_EVENTS}: Subscribed to all events. + *
  • {@code DEFAULT}: Default subscription type. + *
  • {@code SUBSCRIBED}: Subscribed to notifications. + *
  • {@code UNSUBSCRIBED}: Not subscribed to notifications. + *
*/ @Generated public enum RegistryEmailSubscriptionType { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RegistryWebhook.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RegistryWebhook.java index 96998a77d..445e2132c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RegistryWebhook.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RegistryWebhook.java @@ -19,35 +19,30 @@ public class RegistryWebhook { private String description; /** - * Events that can trigger a registry webhook: * `MODEL_VERSION_CREATED`: A new model version was - * created for the associated model. + * Events that can trigger a registry webhook: * - *

* `MODEL_VERSION_TRANSITIONED_STAGE`: A model version’s stage was changed. - * - *

* `TRANSITION_REQUEST_CREATED`: A user requested a model version’s stage be transitioned. - * - *

* `COMMENT_CREATED`: A user wrote a comment on a registered model. - * - *

* `REGISTERED_MODEL_CREATED`: A new registered model was created. This event type can only - * be specified for a registry-wide webhook, which can be created by not specifying a model name - * in the create request. - * - *

* `MODEL_VERSION_TAG_SET`: A user set a tag on the model version. - * - *

* `MODEL_VERSION_TRANSITIONED_TO_STAGING`: A model version was transitioned to staging. - * - *

* `MODEL_VERSION_TRANSITIONED_TO_PRODUCTION`: A model version was transitioned to - * production. - * - *

* `MODEL_VERSION_TRANSITIONED_TO_ARCHIVED`: A model version was archived. - * - *

* `TRANSITION_REQUEST_TO_STAGING_CREATED`: A user requested a model version be transitioned - * to staging. - * - *

* `TRANSITION_REQUEST_TO_PRODUCTION_CREATED`: A user requested a model version be - * transitioned to production. - * - *

* `TRANSITION_REQUEST_TO_ARCHIVED_CREATED`: A user requested a model version be archived. + *

    + *
  • {@code MODEL_VERSION_CREATED}: A new model version was created for the associated model. + *
  • {@code MODEL_VERSION_TRANSITIONED_STAGE}: A model version’s stage was changed. + *
  • {@code TRANSITION_REQUEST_CREATED}: A user requested a model version’s stage be + * transitioned. + *
  • {@code COMMENT_CREATED}: A user wrote a comment on a registered model. + *
  • {@code REGISTERED_MODEL_CREATED}: A new registered model was created. This event type can + * only be specified for a registry-wide webhook, which can be created by not specifying a + * model name in the create request. + *
  • {@code MODEL_VERSION_TAG_SET}: A user set a tag on the model version. + *
  • {@code MODEL_VERSION_TRANSITIONED_TO_STAGING}: A model version was transitioned to + * staging. + *
  • {@code MODEL_VERSION_TRANSITIONED_TO_PRODUCTION}: A model version was transitioned to + * production. + *
  • {@code MODEL_VERSION_TRANSITIONED_TO_ARCHIVED}: A model version was archived. + *
  • {@code TRANSITION_REQUEST_TO_STAGING_CREATED}: A user requested a model version be + * transitioned to staging. + *
  • {@code TRANSITION_REQUEST_TO_PRODUCTION_CREATED}: A user requested a model version be + * transitioned to production. + *
  • {@code TRANSITION_REQUEST_TO_ARCHIVED_CREATED}: A user requested a model version be + * archived. + *
*/ @JsonProperty("events") private Collection events; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RegistryWebhookStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RegistryWebhookStatus.java index e7a7a8865..edd3c2cd4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RegistryWebhookStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RegistryWebhookStatus.java @@ -6,12 +6,14 @@ /** * Enable or disable triggering the webhook, or put the webhook into test mode. The default is - * `ACTIVE`: * `ACTIVE`: Webhook is triggered when an associated event happens. + * {@code ACTIVE}: * - *

* `DISABLED`: Webhook is not triggered. - * - *

* `TEST_MODE`: Webhook can be triggered through the test endpoint, but is not triggered on a - * real event. + *

    + *
  • {@code ACTIVE}: Webhook is triggered when an associated event happens. + *
  • {@code DISABLED}: Webhook is not triggered. + *
  • {@code TEST_MODE}: Webhook can be triggered through the test endpoint, but is not triggered + * on a real event. + *
*/ @Generated public enum RegistryWebhookStatus { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RejectTransitionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RejectTransitionRequest.java index eabdba926..37a8784cd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RejectTransitionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RejectTransitionRequest.java @@ -21,13 +21,12 @@ public class RejectTransitionRequest { /** * Target stage of the transition. Valid values are: * - *

* `None`: The initial stage of a model version. - * - *

* `Staging`: Staging or pre-production stage. - * - *

* `Production`: Production stage. - * - *

* `Archived`: Archived stage. + *

    + *
  • {@code None}: The initial stage of a model version. + *
  • {@code Staging}: Staging or pre-production stage. + *
  • {@code Production}: Production stage. + *
  • {@code Archived}: Archived stage. + *
*/ @JsonProperty("stage") private String stage; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RenameModelRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RenameModelRequest.java index 3bcd7c31a..856ad3350 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RenameModelRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RenameModelRequest.java @@ -13,7 +13,7 @@ public class RenameModelRequest { @JsonProperty("name") private String name; - /** If provided, updates the name for this `registered_model`. */ + /** If provided, updates the name for this {@code registered_model}. */ @JsonProperty("new_name") private String newName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RollingWindow.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RollingWindow.java index 6674c24ac..a57ab5ab6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RollingWindow.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RollingWindow.java @@ -10,8 +10,8 @@ /** * A rolling time window with an optional delay. This is the SQL-spec-aligned replacement for - * ContinuousWindow: `delay` is the non-negative counterpart of the legacy non-positive - * `ContinuousWindow.offset`. + * ContinuousWindow: {@code delay} is the non-negative counterpart of the legacy non-positive {@code + * ContinuousWindow.offset}. */ @Generated public class RollingWindow { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RunInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RunInfo.java index ee4b2f388..ee27d7ca5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RunInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/RunInfo.java @@ -12,8 +12,8 @@ public class RunInfo { /** * URI of the directory where artifacts should be uploaded. This can be a local path (starting - * with "/"), or a distributed file system (DFS) path, like ``s3://bucket/directory`` or - * ``dbfs:/my/directory``. If not set, the local ``./mlruns`` directory is chosen. + * with "/"), or a distributed file system (DFS) path, like {@code s3://bucket/directory} or + * {@code dbfs:/my/directory}. If not set, the local {@code ./mlruns} directory is chosen. */ @JsonProperty("artifact_uri") private String artifactUri; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchLoggedModelsOrderBy.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchLoggedModelsOrderBy.java index 72e69fe1d..efe1c0d9b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchLoggedModelsOrderBy.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchLoggedModelsOrderBy.java @@ -14,17 +14,18 @@ public class SearchLoggedModelsOrderBy { private Boolean ascending; /** - * If ``field_name`` refers to a metric, this field specifies the digest of the dataset associated - * with the metric. Only metrics associated with the specified dataset name and digest will be - * considered for ordering. This field may only be set if ``dataset_name`` is also set. + * If {@code field_name} refers to a metric, this field specifies the digest of the dataset + * associated with the metric. Only metrics associated with the specified dataset name and digest + * will be considered for ordering. This field may only be set if {@code dataset_name} is also + * set. */ @JsonProperty("dataset_digest") private String datasetDigest; /** - * If ``field_name`` refers to a metric, this field specifies the name of the dataset associated - * with the metric. Only metrics associated with the specified dataset name will be considered for - * ordering. This field may only be set if ``field_name`` refers to a metric. + * If {@code field_name} refers to a metric, this field specifies the name of the dataset + * associated with the metric. Only metrics associated with the specified dataset name will be + * considered for ordering. This field may only be set if {@code field_name} refers to a metric. */ @JsonProperty("dataset_name") private String datasetName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchLoggedModelsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchLoggedModelsRequest.java index 17ff5a9c4..5d10af741 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchLoggedModelsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchLoggedModelsRequest.java @@ -12,10 +12,10 @@ public class SearchLoggedModelsRequest { /** * List of datasets on which to apply the metrics filter clauses. For example, a filter with - * `metrics.accuracy > 0.9` and dataset info with name "test_dataset" means we will return all - * logged models with accuracy > 0.9 on the test_dataset. Metric values from ANY dataset matching - * the criteria are considered. If no datasets are specified, then metrics across all datasets are - * considered in the filter. + * {@code metrics.accuracy > 0.9} and dataset info with name "test_dataset" means we will return + * all logged models with accuracy > 0.9 on the test_dataset. Metric values from ANY dataset + * matching the criteria are considered. If no datasets are specified, then metrics across all + * datasets are considered in the filter. */ @JsonProperty("datasets") private Collection datasets; @@ -28,7 +28,7 @@ public class SearchLoggedModelsRequest { * A filter expression over logged model info and data that allows returning a subset of logged * models. The syntax is a subset of SQL that supports AND'ing together binary operations. * - *

Example: ``params.alpha < 0.3 AND metrics.accuracy > 0.9``. + *

Example: {@code params.alpha < 0.3 AND metrics.accuracy > 0.9}. */ @JsonProperty("filter") private String filter; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchRuns.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchRuns.java index 89882d591..339bebb50 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchRuns.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SearchRuns.java @@ -19,12 +19,13 @@ public class SearchRuns { * syntax is a subset of SQL that supports ANDing together binary operations between a param, * metric, or tag and a constant. * - *

Example: `metrics.rmse < 1 and params.model_class = 'LogisticRegression'` + *

Example: {@code metrics.rmse < 1 and params.model_class = 'LogisticRegression'} * *

You can select columns with special characters (hyphen, space, period, etc.) by using double - * quotes: `metrics."model class" = 'LinearRegression' and tags."user-name" = 'Tomas'` + * quotes: {@code metrics."model class" = 'LinearRegression' and tags."user-name" = 'Tomas'} * - *

Supported operators are `=`, `!=`, `>`, `>=`, `<`, and `<=`. + *

Supported operators are {@code =}, {@code !=}, {@code >}, {@code >=}, {@code <}, and {@code + * <=}. */ @JsonProperty("filter") private String filter; @@ -35,10 +36,10 @@ public class SearchRuns { /** * List of columns to be ordered by, including attributes, params, metrics, and tags with an - * optional `"DESC"` or `"ASC"` annotation, where `"ASC"` is the default. Example: `["params.input - * DESC", "metrics.alpha ASC", "metrics.rmse"]`. Tiebreaks are done by start_time `DESC` followed - * by `run_id` for runs with the same start time (and this is the default ordering criterion if - * order_by is not provided). + * optional {@code "DESC"} or {@code "ASC"} annotation, where {@code "ASC"} is the default. + * Example: {@code ["params.input DESC", "metrics.alpha ASC", "metrics.rmse"]}. Tiebreaks are done + * by start_time {@code DESC} followed by {@code run_id} for runs with the same start time (and + * this is the default ordering criterion if order_by is not provided). */ @JsonProperty("order_by") private Collection orderBy; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SetModelTagRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SetModelTagRequest.java index dfb417bf2..9b5aeff44 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SetModelTagRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SetModelTagRequest.java @@ -11,8 +11,8 @@ public class SetModelTagRequest { /** * Name of the tag. Maximum size depends on storage backend. If a tag with this name already - * exists, its preexisting value will be replaced by the specified `value`. All storage backends - * are guaranteed to support key values up to 250 bytes in size. + * exists, its preexisting value will be replaced by the specified {@code value}. All storage + * backends are guaranteed to support key values up to 250 bytes in size. */ @JsonProperty("key") private String key; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SetModelVersionTagRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SetModelVersionTagRequest.java index 6e9901b97..25d76537b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SetModelVersionTagRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SetModelVersionTagRequest.java @@ -11,8 +11,8 @@ public class SetModelVersionTagRequest { /** * Name of the tag. Maximum size depends on storage backend. If a tag with this name already - * exists, its preexisting value will be replaced by the specified `value`. All storage backends - * are guaranteed to support key values up to 250 bytes in size. + * exists, its preexisting value will be replaced by the specified {@code value}. All storage + * backends are guaranteed to support key values up to 250 bytes in size. */ @JsonProperty("key") private String key; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SetTag.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SetTag.java index 71795835f..4c1245340 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SetTag.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SetTag.java @@ -18,8 +18,8 @@ public class SetTag { private String runId; /** - * [Deprecated, use `run_id` instead] ID of the run under which to log the tag. This field will be - * removed in a future MLflow version. + * [Deprecated, use {@code run_id} instead] ID of the run under which to log the tag. This field + * will be removed in a future MLflow version. */ @JsonProperty("run_uuid") private String runUuid; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/Status.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/Status.java index 4940d203d..6c24454aa 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/Status.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/Status.java @@ -5,12 +5,14 @@ import com.databricks.sdk.support.Generated; /** - * The status of the model version. Valid values are: * `PENDING_REGISTRATION`: Request to register - * a new model version is pending as server performs background tasks. + * The status of the model version. Valid values are: * - *

* `FAILED_REGISTRATION`: Request to register a new model version has failed. - * - *

* `READY`: Model version is ready for use. + *

    + *
  • {@code PENDING_REGISTRATION}: Request to register a new model version is pending as server + * performs background tasks. + *
  • {@code FAILED_REGISTRATION}: Request to register a new model version has failed. + *
  • {@code READY}: Model version is ready for use. + *
*/ @Generated public enum Status { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/TestRegistryWebhookRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/TestRegistryWebhookRequest.java index 22e497c89..1fec67987 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/TestRegistryWebhookRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/TestRegistryWebhookRequest.java @@ -11,8 +11,8 @@ @Generated public class TestRegistryWebhookRequest { /** - * If `event` is specified, the test trigger uses the specified event. If `event` is not - * specified, the test trigger uses a randomly chosen event associated with the webhook. + * If {@code event} is specified, the test trigger uses the specified event. If {@code event} is + * not specified, the test trigger uses a randomly chosen event associated with the webhook. */ @JsonProperty("event") private RegistryWebhookEvent event; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/TransitionModelVersionStageDatabricks.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/TransitionModelVersionStageDatabricks.java index 01b3c0fb8..5f0fd02a1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/TransitionModelVersionStageDatabricks.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/TransitionModelVersionStageDatabricks.java @@ -25,13 +25,12 @@ public class TransitionModelVersionStageDatabricks { /** * Target stage of the transition. Valid values are: * - *

* `None`: The initial stage of a model version. - * - *

* `Staging`: Staging or pre-production stage. - * - *

* `Production`: Production stage. - * - *

* `Archived`: Archived stage. + *

    + *
  • {@code None}: The initial stage of a model version. + *
  • {@code Staging}: Staging or pre-production stage. + *
  • {@code Production}: Production stage. + *
  • {@code Archived}: Archived stage. + *
*/ @JsonProperty("stage") private String stage; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/TransitionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/TransitionRequest.java index 7296f391a..d1d460c6f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/TransitionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/TransitionRequest.java @@ -29,13 +29,12 @@ public class TransitionRequest { /** * Target stage of the transition (if the activity is stage transition related). Valid values are: * - *

* `None`: The initial stage of a model version. - * - *

* `Staging`: Staging or pre-production stage. - * - *

* `Production`: Production stage. - * - *

* `Archived`: Archived stage. + *

    + *
  • {@code None}: The initial stage of a model version. + *
  • {@code Staging}: Staging or pre-production stage. + *
  • {@code Production}: Production stage. + *
  • {@code Archived}: Archived stage. + *
*/ @JsonProperty("to_stage") private String toStage; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateModelRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateModelRequest.java index 42856bab6..0dce37a97 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateModelRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateModelRequest.java @@ -9,7 +9,7 @@ @Generated public class UpdateModelRequest { - /** If provided, updates the description for this `registered_model`. */ + /** If provided, updates the description for this {@code registered_model}. */ @JsonProperty("description") private String description; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateModelVersionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateModelVersionRequest.java index e0b689cfc..c0be85a39 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateModelVersionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateModelVersionRequest.java @@ -9,7 +9,7 @@ @Generated public class UpdateModelVersionRequest { - /** If provided, updates the description for this `registered_model`. */ + /** If provided, updates the description for this {@code registered_model}. */ @JsonProperty("description") private String description; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateRegistryWebhook.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateRegistryWebhook.java index 01f993e99..c3c1dfdf4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateRegistryWebhook.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateRegistryWebhook.java @@ -10,7 +10,8 @@ /** * Details required to update a registry webhook. Only the fields that need to be updated should be - * specified, and both `http_url_spec` and `job_spec` should not be specified in the same request. + * specified, and both {@code http_url_spec} and {@code job_spec} should not be specified in the + * same request. */ @Generated public class UpdateRegistryWebhook { @@ -19,35 +20,30 @@ public class UpdateRegistryWebhook { private String description; /** - * Events that can trigger a registry webhook: * `MODEL_VERSION_CREATED`: A new model version was - * created for the associated model. + * Events that can trigger a registry webhook: * - *

* `MODEL_VERSION_TRANSITIONED_STAGE`: A model version’s stage was changed. - * - *

* `TRANSITION_REQUEST_CREATED`: A user requested a model version’s stage be transitioned. - * - *

* `COMMENT_CREATED`: A user wrote a comment on a registered model. - * - *

* `REGISTERED_MODEL_CREATED`: A new registered model was created. This event type can only - * be specified for a registry-wide webhook, which can be created by not specifying a model name - * in the create request. - * - *

* `MODEL_VERSION_TAG_SET`: A user set a tag on the model version. - * - *

* `MODEL_VERSION_TRANSITIONED_TO_STAGING`: A model version was transitioned to staging. - * - *

* `MODEL_VERSION_TRANSITIONED_TO_PRODUCTION`: A model version was transitioned to - * production. - * - *

* `MODEL_VERSION_TRANSITIONED_TO_ARCHIVED`: A model version was archived. - * - *

* `TRANSITION_REQUEST_TO_STAGING_CREATED`: A user requested a model version be transitioned - * to staging. - * - *

* `TRANSITION_REQUEST_TO_PRODUCTION_CREATED`: A user requested a model version be - * transitioned to production. - * - *

* `TRANSITION_REQUEST_TO_ARCHIVED_CREATED`: A user requested a model version be archived. + *

    + *
  • {@code MODEL_VERSION_CREATED}: A new model version was created for the associated model. + *
  • {@code MODEL_VERSION_TRANSITIONED_STAGE}: A model version’s stage was changed. + *
  • {@code TRANSITION_REQUEST_CREATED}: A user requested a model version’s stage be + * transitioned. + *
  • {@code COMMENT_CREATED}: A user wrote a comment on a registered model. + *
  • {@code REGISTERED_MODEL_CREATED}: A new registered model was created. This event type can + * only be specified for a registry-wide webhook, which can be created by not specifying a + * model name in the create request. + *
  • {@code MODEL_VERSION_TAG_SET}: A user set a tag on the model version. + *
  • {@code MODEL_VERSION_TRANSITIONED_TO_STAGING}: A model version was transitioned to + * staging. + *
  • {@code MODEL_VERSION_TRANSITIONED_TO_PRODUCTION}: A model version was transitioned to + * production. + *
  • {@code MODEL_VERSION_TRANSITIONED_TO_ARCHIVED}: A model version was archived. + *
  • {@code TRANSITION_REQUEST_TO_STAGING_CREATED}: A user requested a model version be + * transitioned to staging. + *
  • {@code TRANSITION_REQUEST_TO_PRODUCTION_CREATED}: A user requested a model version be + * transitioned to production. + *
  • {@code TRANSITION_REQUEST_TO_ARCHIVED_CREATED}: A user requested a model version be + * archived. + *
*/ @JsonProperty("events") private Collection events; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateRun.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateRun.java index 738e2d982..97c7e1723 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateRun.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/UpdateRun.java @@ -22,8 +22,8 @@ public class UpdateRun { private String runName; /** - * [Deprecated, use `run_id` instead] ID of the run to update. This field will be removed in a - * future MLflow version. + * [Deprecated, use {@code run_id} instead] ID of the run to update. This field will be removed in + * a future MLflow version. */ @JsonProperty("run_uuid") private String runUuid; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/networking/CreateEndpointRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/networking/CreateEndpointRequest.java index 1f75b7530..70fcd149a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/networking/CreateEndpointRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/networking/CreateEndpointRequest.java @@ -15,8 +15,8 @@ public class CreateEndpointRequest { private Endpoint endpoint; /** - * The parent resource name of the account under which the endpoint is created. Format: - * `accounts/{account_id}`. + * The parent resource name of the account under which the endpoint is created. Format: {@code + * accounts/{account_id}}. */ @JsonIgnore private String parent; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/networking/Endpoint.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/networking/Endpoint.java index b8d575982..4dd0c0b3a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/networking/Endpoint.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/networking/Endpoint.java @@ -52,7 +52,7 @@ public class Endpoint { @JsonProperty("region") private String region; - /** The state of the endpoint. The endpoint can only be used if the state is `APPROVED`. */ + /** The state of the endpoint. The endpoint can only be used if the state is {@code APPROVED}. */ @JsonProperty("state") private EndpointState state; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/networking/ListEndpointsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/networking/ListEndpointsRequest.java index 80b7354dd..70942db94 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/networking/ListEndpointsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/networking/ListEndpointsRequest.java @@ -21,7 +21,8 @@ public class ListEndpointsRequest { private String pageToken; /** - * The parent resource name of the account to list endpoints for. Format: `accounts/{account_id}`. + * The parent resource name of the account to list endpoints for. Format: {@code + * accounts/{account_id}}. */ @JsonIgnore private String parent; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/AccountFederationPolicyAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/AccountFederationPolicyAPI.java index a736a0e3a..d4a73a499 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/AccountFederationPolicyAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/AccountFederationPolicyAPI.java @@ -16,39 +16,59 @@ *

With token federation, your users and service principals can exchange tokens from your IdP for * Databricks OAuth tokens, which can be used to access Databricks APIs. Token federation eliminates * the need to manage Databricks secrets, and allows you to centralize management of token issuance - * policies in your IdP. Databricks token federation is typically used in combination with [SCIM], - * so users in your IdP are synchronized into your Databricks account. + * policies in your IdP. Databricks token federation is typically used in combination with SCIM, so users in your + * IdP are synchronized into your Databricks account. * *

Token federation is configured in your Databricks account using an account federation policy. - * An account federation policy specifies: * which IdP, or issuer, your Databricks account should - * accept tokens from * how to determine which Databricks user, or subject, a token is issued for + * An account federation policy specifies: * - *

To configure a federation policy, you provide the following: * The required token __issuer__, - * as specified in the “iss” claim of your tokens. The issuer is an https URL that identifies your - * IdP. * The allowed token __audiences__, as specified in the “aud” claim of your tokens. This - * identifier is intended to represent the recipient of the token. As long as the audience in the - * token matches at least one audience in the policy, the token is considered a match. If - * unspecified, the default value is your Databricks account id. * The __subject claim__, which - * indicates which token claim contains the Databricks username of the user the token was issued - * for. If unspecified, the default value is “sub”. * Optionally, the public keys used to validate - * the signature of your tokens, in JWKS format. If unspecified (recommended), Databricks - * automatically fetches the public keys from your issuer’s well known endpoint. Databricks strongly - * recommends relying on your issuer’s well known endpoint for discovering public keys. + *

    + *
  • which IdP, or issuer, your Databricks account should accept tokens from + *
  • how to determine which Databricks user, or subject, a token is issued for + *
* - *

An example federation policy is: ``` issuer: "https://idp.mycompany.com/oidc" audiences: - * ["databricks"] subject_claim: "sub" ``` + *

To configure a federation policy, you provide the following: + * + *

    + *
  • The required token issuer, as specified in the “iss” claim of your tokens. The + * issuer is an https URL that identifies your IdP. + *
  • The allowed token audiences, as specified in the “aud” claim of your tokens. This + * identifier is intended to represent the recipient of the token. As long as the audience in + * the token matches at least one audience in the policy, the token is considered a match. If + * unspecified, the default value is your Databricks account id. + *
  • The subject claim, which indicates which token claim contains the Databricks + * username of the user the token was issued for. If unspecified, the default value is “sub”. + *
  • Optionally, the public keys used to validate the signature of your tokens, in JWKS format. + * If unspecified (recommended), Databricks automatically fetches the public keys from your + * issuer’s well known endpoint. Databricks strongly recommends relying on your issuer’s well + * known endpoint for discovering public keys. + *
+ * + *

An example federation policy is: + * + *

{@code
+ * issuer: "https://idp.mycompany.com/oidc"
+ * audiences: ["databricks"]
+ * subject_claim: "sub"
+ * }
* *

An example JWT token body that matches this policy and could be used to authenticate to - * Databricks as user `username@mycompany.com` is: ``` { "iss": "https://idp.mycompany.com/oidc", - * "aud": "databricks", "sub": "username@mycompany.com" } ``` + * Databricks as user {@code username@mycompany.com} is: + * + *


+ * {
+ * "iss": "https://idp.mycompany.com/oidc",
+ * "aud": "databricks",
+ * "sub": "username@mycompany.com"
+ * }
+ * 
* *

You may also need to configure your IdP to generate tokens for your users to exchange with * Databricks, if your users do not already have the ability to generate tokens that are compatible * with your federation policy. * *

You do not need to configure an OAuth application in Databricks to use token federation. - * - *

[SCIM]: https://docs.databricks.com/admin/users-groups/scim/index.html */ @Generated public class AccountFederationPolicyAPI { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/AccountFederationPolicyService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/AccountFederationPolicyService.java index 88460ac87..48ea5fc0e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/AccountFederationPolicyService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/AccountFederationPolicyService.java @@ -12,31 +12,53 @@ *

With token federation, your users and service principals can exchange tokens from your IdP for * Databricks OAuth tokens, which can be used to access Databricks APIs. Token federation eliminates * the need to manage Databricks secrets, and allows you to centralize management of token issuance - * policies in your IdP. Databricks token federation is typically used in combination with [SCIM], - * so users in your IdP are synchronized into your Databricks account. + * policies in your IdP. Databricks token federation is typically used in combination with SCIM, so users in your + * IdP are synchronized into your Databricks account. * *

Token federation is configured in your Databricks account using an account federation policy. - * An account federation policy specifies: * which IdP, or issuer, your Databricks account should - * accept tokens from * how to determine which Databricks user, or subject, a token is issued for + * An account federation policy specifies: * - *

To configure a federation policy, you provide the following: * The required token __issuer__, - * as specified in the “iss” claim of your tokens. The issuer is an https URL that identifies your - * IdP. * The allowed token __audiences__, as specified in the “aud” claim of your tokens. This - * identifier is intended to represent the recipient of the token. As long as the audience in the - * token matches at least one audience in the policy, the token is considered a match. If - * unspecified, the default value is your Databricks account id. * The __subject claim__, which - * indicates which token claim contains the Databricks username of the user the token was issued - * for. If unspecified, the default value is “sub”. * Optionally, the public keys used to validate - * the signature of your tokens, in JWKS format. If unspecified (recommended), Databricks - * automatically fetches the public keys from your issuer’s well known endpoint. Databricks strongly - * recommends relying on your issuer’s well known endpoint for discovering public keys. + *

    + *
  • which IdP, or issuer, your Databricks account should accept tokens from + *
  • how to determine which Databricks user, or subject, a token is issued for + *
* - *

An example federation policy is: ``` issuer: "https://idp.mycompany.com/oidc" audiences: - * ["databricks"] subject_claim: "sub" ``` + *

To configure a federation policy, you provide the following: + * + *

    + *
  • The required token issuer, as specified in the “iss” claim of your tokens. The + * issuer is an https URL that identifies your IdP. + *
  • The allowed token audiences, as specified in the “aud” claim of your tokens. This + * identifier is intended to represent the recipient of the token. As long as the audience in + * the token matches at least one audience in the policy, the token is considered a match. If + * unspecified, the default value is your Databricks account id. + *
  • The subject claim, which indicates which token claim contains the Databricks + * username of the user the token was issued for. If unspecified, the default value is “sub”. + *
  • Optionally, the public keys used to validate the signature of your tokens, in JWKS format. + * If unspecified (recommended), Databricks automatically fetches the public keys from your + * issuer’s well known endpoint. Databricks strongly recommends relying on your issuer’s well + * known endpoint for discovering public keys. + *
+ * + *

An example federation policy is: + * + *

{@code
+ * issuer: "https://idp.mycompany.com/oidc"
+ * audiences: ["databricks"]
+ * subject_claim: "sub"
+ * }
* *

An example JWT token body that matches this policy and could be used to authenticate to - * Databricks as user `username@mycompany.com` is: ``` { "iss": "https://idp.mycompany.com/oidc", - * "aud": "databricks", "sub": "username@mycompany.com" } ``` + * Databricks as user {@code username@mycompany.com} is: + * + *


+ * {
+ * "iss": "https://idp.mycompany.com/oidc",
+ * "aud": "databricks",
+ * "sub": "username@mycompany.com"
+ * }
+ * 
* *

You may also need to configure your IdP to generate tokens for your users to exchange with * Databricks, if your users do not already have the ability to generate tokens that are compatible @@ -44,8 +66,6 @@ * *

You do not need to configure an OAuth application in Databricks to use token federation. * - *

[SCIM]: https://docs.databricks.com/admin/users-groups/scim/index.html - * *

This is the high-level interface, that contains generated methods. * *

Evolving: this interface is under development. Method signatures may change. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/FederationPolicy.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/FederationPolicy.java index 6bcf8c410..915cd2c3e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/FederationPolicy.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/FederationPolicy.java @@ -18,10 +18,10 @@ public class FederationPolicy { private String description; /** - * Resource name for the federation policy. Example values include - * `accounts//federationPolicies/my-federation-policy` for Account Federation - * Policies, and - * `accounts//servicePrincipals//federationPolicies/my-federation-policy` + * Resource name for the federation policy. Example values include {@code + * accounts//federationPolicies/my-federation-policy} for Account Federation Policies, + * and {@code + * accounts//servicePrincipals//federationPolicies/my-federation-policy} * for Service Principal Federation Policies. Typically an output parameter, which does not need * to be specified in create or update requests. If specified in a request, must match the value * in the request URL. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListServicePrincipalSecretsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListServicePrincipalSecretsRequest.java index f24204d0c..7cdf0489e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListServicePrincipalSecretsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListServicePrincipalSecretsRequest.java @@ -16,13 +16,13 @@ public class ListServicePrincipalSecretsRequest { private Long pageSize; /** - * An opaque page token which was the `next_page_token` in the response of the previous request to - * list the secrets for this service principal. Provide this token to retrieve the next page of - * secret entries. When providing a `page_token`, all other parameters provided to the request - * must match the previous request. To list all of the secrets for a service principal, it is - * necessary to continue requesting pages of entries until the response contains no - * `next_page_token`. Note that the number of entries returned must not be used to determine when - * the listing is complete. + * An opaque page token which was the {@code next_page_token} in the response of the previous + * request to list the secrets for this service principal. Provide this token to retrieve the next + * page of secret entries. When providing a {@code page_token}, all other parameters provided to + * the request must match the previous request. To list all of the secrets for a service + * principal, it is necessary to continue requesting pages of entries until the response contains + * no {@code next_page_token}. Note that the number of entries returned must not be used to + * determine when the listing is complete. */ @JsonIgnore @QueryParam("page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListServicePrincipalSecretsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListServicePrincipalSecretsResponse.java index dd971e938..fbc1777a2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListServicePrincipalSecretsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ListServicePrincipalSecretsResponse.java @@ -10,7 +10,7 @@ @Generated public class ListServicePrincipalSecretsResponse { - /** A token, which can be sent as `page_token` to retrieve the next page. */ + /** A token, which can be sent as {@code page_token} to retrieve the next page. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalFederationPolicyAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalFederationPolicyAPI.java index 865906a9c..9290c3ee2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalFederationPolicyAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalFederationPolicyAPI.java @@ -23,30 +23,49 @@ * clusters, among others. * *

Workload identity federation is configured in your Databricks account using a service - * principal federation policy. A service principal federation policy specifies: * which IdP, or - * issuer, the service principal is allowed to authenticate from * which workload identity, or - * subject, is allowed to authenticate as the Databricks service principal + * principal federation policy. A service principal federation policy specifies: * - *

To configure a federation policy, you provide the following: * The required token __issuer__, - * as specified in the “iss” claim of workload identity tokens. The issuer is an https URL that - * identifies the workload identity provider. * The required token __subject__, as specified in the - * “sub” claim of workload identity tokens. The subject uniquely identifies the workload in the - * workload runtime environment. * The allowed token __audiences__, as specified in the “aud” claim - * of workload identity tokens. The audience is intended to represent the recipient of the token. As - * long as the audience in the token matches at least one audience in the policy, the token is - * considered a match. If unspecified, the default value is your Databricks account id. * - * Optionally, the public keys used to validate the signature of the workload identity tokens, in - * JWKS format. If unspecified (recommended), Databricks automatically fetches the public keys from - * the issuer’s well known endpoint. Databricks strongly recommends relying on the issuer’s well - * known endpoint for discovering public keys. + *

    + *
  • which IdP, or issuer, the service principal is allowed to authenticate from + *
  • which workload identity, or subject, is allowed to authenticate as the Databricks service + * principal + *
* - *

An example service principal federation policy, for a Github Actions workload, is: ``` issuer: - * "https://token.actions.githubusercontent.com" audiences: ["https://github.com/my-github-org"] - * subject: "repo:my-github-org/my-repo:environment:prod" ``` + *

To configure a federation policy, you provide the following: + * + *

    + *
  • The required token issuer, as specified in the “iss” claim of workload identity + * tokens. The issuer is an https URL that identifies the workload identity provider. + *
  • The required token subject, as specified in the “sub” claim of workload identity + * tokens. The subject uniquely identifies the workload in the workload runtime environment. + *
  • The allowed token audiences, as specified in the “aud” claim of workload identity + * tokens. The audience is intended to represent the recipient of the token. As long as the + * audience in the token matches at least one audience in the policy, the token is considered + * a match. If unspecified, the default value is your Databricks account id. + *
  • Optionally, the public keys used to validate the signature of the workload identity tokens, + * in JWKS format. If unspecified (recommended), Databricks automatically fetches the public + * keys from the issuer’s well known endpoint. Databricks strongly recommends relying on the + * issuer’s well known endpoint for discovering public keys. + *
+ * + *

An example service principal federation policy, for a Github Actions workload, is: + * + *

{@code
+ * issuer: "https://token.actions.githubusercontent.com"
+ * audiences: ["https://github.com/my-github-org"]
+ * subject: "repo:my-github-org/my-repo:environment:prod"
+ * }
* *

An example JWT token body that matches this policy and could be used to authenticate to - * Databricks is: ``` { "iss": "https://token.actions.githubusercontent.com", "aud": - * "https://github.com/my-github-org", "sub": "repo:my-github-org/my-repo:environment:prod" } ``` + * Databricks is: + * + *


+ * {
+ * "iss": "https://token.actions.githubusercontent.com",
+ * "aud": "https://github.com/my-github-org",
+ * "sub": "repo:my-github-org/my-repo:environment:prod"
+ * }
+ * 
* *

You may also need to configure the workload runtime to generate tokens for your workloads. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalFederationPolicyService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalFederationPolicyService.java index 55732c89a..28b9b6919 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalFederationPolicyService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalFederationPolicyService.java @@ -19,30 +19,49 @@ * clusters, among others. * *

Workload identity federation is configured in your Databricks account using a service - * principal federation policy. A service principal federation policy specifies: * which IdP, or - * issuer, the service principal is allowed to authenticate from * which workload identity, or - * subject, is allowed to authenticate as the Databricks service principal + * principal federation policy. A service principal federation policy specifies: * - *

To configure a federation policy, you provide the following: * The required token __issuer__, - * as specified in the “iss” claim of workload identity tokens. The issuer is an https URL that - * identifies the workload identity provider. * The required token __subject__, as specified in the - * “sub” claim of workload identity tokens. The subject uniquely identifies the workload in the - * workload runtime environment. * The allowed token __audiences__, as specified in the “aud” claim - * of workload identity tokens. The audience is intended to represent the recipient of the token. As - * long as the audience in the token matches at least one audience in the policy, the token is - * considered a match. If unspecified, the default value is your Databricks account id. * - * Optionally, the public keys used to validate the signature of the workload identity tokens, in - * JWKS format. If unspecified (recommended), Databricks automatically fetches the public keys from - * the issuer’s well known endpoint. Databricks strongly recommends relying on the issuer’s well - * known endpoint for discovering public keys. + *

    + *
  • which IdP, or issuer, the service principal is allowed to authenticate from + *
  • which workload identity, or subject, is allowed to authenticate as the Databricks service + * principal + *
* - *

An example service principal federation policy, for a Github Actions workload, is: ``` issuer: - * "https://token.actions.githubusercontent.com" audiences: ["https://github.com/my-github-org"] - * subject: "repo:my-github-org/my-repo:environment:prod" ``` + *

To configure a federation policy, you provide the following: + * + *

    + *
  • The required token issuer, as specified in the “iss” claim of workload identity + * tokens. The issuer is an https URL that identifies the workload identity provider. + *
  • The required token subject, as specified in the “sub” claim of workload identity + * tokens. The subject uniquely identifies the workload in the workload runtime environment. + *
  • The allowed token audiences, as specified in the “aud” claim of workload identity + * tokens. The audience is intended to represent the recipient of the token. As long as the + * audience in the token matches at least one audience in the policy, the token is considered + * a match. If unspecified, the default value is your Databricks account id. + *
  • Optionally, the public keys used to validate the signature of the workload identity tokens, + * in JWKS format. If unspecified (recommended), Databricks automatically fetches the public + * keys from the issuer’s well known endpoint. Databricks strongly recommends relying on the + * issuer’s well known endpoint for discovering public keys. + *
+ * + *

An example service principal federation policy, for a Github Actions workload, is: + * + *

{@code
+ * issuer: "https://token.actions.githubusercontent.com"
+ * audiences: ["https://github.com/my-github-org"]
+ * subject: "repo:my-github-org/my-repo:environment:prod"
+ * }
* *

An example JWT token body that matches this policy and could be used to authenticate to - * Databricks is: ``` { "iss": "https://token.actions.githubusercontent.com", "aud": - * "https://github.com/my-github-org", "sub": "repo:my-github-org/my-repo:environment:prod" } ``` + * Databricks is: + * + *


+ * {
+ * "iss": "https://token.actions.githubusercontent.com",
+ * "aud": "https://github.com/my-github-org",
+ * "sub": "repo:my-github-org/my-repo:environment:prod"
+ * }
+ * 
* *

You may also need to configure the workload runtime to generate tokens for your workloads. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsAPI.java index 01125bb3f..a610ae9bd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsAPI.java @@ -11,16 +11,14 @@ * These APIs enable administrators to manage service principal secrets. * *

You can use the generated secrets to obtain OAuth access tokens for a service principal, which - * can then be used to access Databricks Accounts and Workspace APIs. For more information, see - * [Authentication using OAuth tokens for service principals]. + * can then be used to access Databricks Accounts and Workspace APIs. For more information, see Authentication using OAuth + * tokens for service principals. * *

In addition, the generated secrets can be used to configure the Databricks Terraform Provider - * to authenticate with the service principal. For more information, see [Databricks Terraform - * Provider]. - * - *

[Authentication using OAuth tokens for service principals]: - * https://docs.databricks.com/dev-tools/authentication-oauth.html [Databricks Terraform Provider]: - * https://github.com/databricks/terraform-provider-databricks/blob/master/docs/index.md#authenticating-with-service-principal + * to authenticate with the service principal. For more information, see Databricks + * Terraform Provider. */ @Generated public class ServicePrincipalSecretsAPI { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsProxyAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsProxyAPI.java index f6ed62a76..b8cbd934c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsProxyAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsProxyAPI.java @@ -12,16 +12,14 @@ * use these APIs, the service principal must be first added to the current workspace. * *

You can use the generated secrets to obtain OAuth access tokens for a service principal, which - * can then be used to access Databricks Accounts and Workspace APIs. For more information, see - * [Authentication using OAuth tokens for service principals]. + * can then be used to access Databricks Accounts and Workspace APIs. For more information, see Authentication using OAuth + * tokens for service principals. * *

In addition, the generated secrets can be used to configure the Databricks Terraform - * Providerto authenticate with the service principal. For more information, see [Databricks - * Terraform Provider]. - * - *

[Authentication using OAuth tokens for service principals]: - * https://docs.databricks.com/dev-tools/authentication-oauth.html [Databricks Terraform Provider]: - * https://github.com/databricks/terraform-provider-databricks/blob/master/docs/index.md#authenticating-with-service-principal + * Providerto authenticate with the service principal. For more information, see Databricks + * Terraform Provider. */ @Generated public class ServicePrincipalSecretsProxyAPI { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsProxyService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsProxyService.java index 253d1a13d..aa54d8174 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsProxyService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsProxyService.java @@ -8,16 +8,14 @@ * use these APIs, the service principal must be first added to the current workspace. * *

You can use the generated secrets to obtain OAuth access tokens for a service principal, which - * can then be used to access Databricks Accounts and Workspace APIs. For more information, see - * [Authentication using OAuth tokens for service principals]. + * can then be used to access Databricks Accounts and Workspace APIs. For more information, see Authentication using OAuth + * tokens for service principals. * *

In addition, the generated secrets can be used to configure the Databricks Terraform - * Providerto authenticate with the service principal. For more information, see [Databricks - * Terraform Provider]. - * - *

[Authentication using OAuth tokens for service principals]: - * https://docs.databricks.com/dev-tools/authentication-oauth.html [Databricks Terraform Provider]: - * https://github.com/databricks/terraform-provider-databricks/blob/master/docs/index.md#authenticating-with-service-principal + * Providerto authenticate with the service principal. For more information, see Databricks + * Terraform Provider. * *

This is the high-level interface, that contains generated methods. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsService.java index 865dddf8c..96e17c782 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/oauth2/ServicePrincipalSecretsService.java @@ -7,16 +7,14 @@ * These APIs enable administrators to manage service principal secrets. * *

You can use the generated secrets to obtain OAuth access tokens for a service principal, which - * can then be used to access Databricks Accounts and Workspace APIs. For more information, see - * [Authentication using OAuth tokens for service principals]. + * can then be used to access Databricks Accounts and Workspace APIs. For more information, see Authentication using OAuth + * tokens for service principals. * *

In addition, the generated secrets can be used to configure the Databricks Terraform Provider - * to authenticate with the service principal. For more information, see [Databricks Terraform - * Provider]. - * - *

[Authentication using OAuth tokens for service principals]: - * https://docs.databricks.com/dev-tools/authentication-oauth.html [Databricks Terraform Provider]: - * https://github.com/databricks/terraform-provider-databricks/blob/master/docs/index.md#authenticating-with-service-principal + * to authenticate with the service principal. For more information, see Databricks + * Terraform Provider. * *

This is the high-level interface, that contains generated methods. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ClonePipelineRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ClonePipelineRequest.java index 5ab805508..2845d0106 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ClonePipelineRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ClonePipelineRequest.java @@ -21,10 +21,10 @@ public class ClonePipelineRequest { private String budgetPolicyId; /** - * A catalog in Unity Catalog to publish data from this pipeline to. If `target` is specified, - * tables in this pipeline are published to a `target` schema inside `catalog` (for example, - * `catalog`.`target`.`table`). If `target` is not specified, no data is published to Unity - * Catalog. + * A catalog in Unity Catalog to publish data from this pipeline to. If {@code target} is + * specified, tables in this pipeline are published to a {@code target} schema inside {@code + * catalog} (for example, {@code catalog}.{@code target}.{@code table}). If {@code target} is not + * specified, no data is published to Unity Catalog. */ @JsonProperty("catalog") private String catalog; @@ -45,7 +45,7 @@ public class ClonePipelineRequest { @JsonProperty("configuration") private Map configuration; - /** Whether the pipeline is continuous or triggered. This replaces `trigger`. */ + /** Whether the pipeline is continuous or triggered. This replaces {@code trigger}. */ @JsonProperty("continuous") private Boolean continuous; @@ -147,14 +147,14 @@ public class ClonePipelineRequest { private Map tags; /** - * Target schema (database) to add tables in this pipeline to. Exactly one of `schema` or `target` - * must be specified. To publish to Unity Catalog, also specify `catalog`. This legacy field is - * deprecated for pipeline creation in favor of the `schema` field. + * Target schema (database) to add tables in this pipeline to. Exactly one of {@code schema} or + * {@code target} must be specified. To publish to Unity Catalog, also specify {@code catalog}. + * This legacy field is deprecated for pipeline creation in favor of the {@code schema} field. */ @JsonProperty("target") private String target; - /** Which pipeline trigger to use. Deprecated: Use `continuous` instead. */ + /** Which pipeline trigger to use. Deprecated: Use {@code continuous} instead. */ @JsonProperty("trigger") private PipelineTrigger trigger; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/CreatePipeline.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/CreatePipeline.java index 0559524c1..b930ec6ff 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/CreatePipeline.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/CreatePipeline.java @@ -20,10 +20,10 @@ public class CreatePipeline { private String budgetPolicyId; /** - * A catalog in Unity Catalog to publish data from this pipeline to. If `target` is specified, - * tables in this pipeline are published to a `target` schema inside `catalog` (for example, - * `catalog`.`target`.`table`). If `target` is not specified, no data is published to Unity - * Catalog. + * A catalog in Unity Catalog to publish data from this pipeline to. If {@code target} is + * specified, tables in this pipeline are published to a {@code target} schema inside {@code + * catalog} (for example, {@code catalog}.{@code target}.{@code table}). If {@code target} is not + * specified, no data is published to Unity Catalog. */ @JsonProperty("catalog") private String catalog; @@ -40,7 +40,7 @@ public class CreatePipeline { @JsonProperty("configuration") private Map configuration; - /** Whether the pipeline is continuous or triggered. This replaces `trigger`. */ + /** Whether the pipeline is continuous or triggered. This replaces {@code trigger}. */ @JsonProperty("continuous") private Boolean continuous; @@ -147,14 +147,14 @@ public class CreatePipeline { private Map tags; /** - * Target schema (database) to add tables in this pipeline to. Exactly one of `schema` or `target` - * must be specified. To publish to Unity Catalog, also specify `catalog`. This legacy field is - * deprecated for pipeline creation in favor of the `schema` field. + * Target schema (database) to add tables in this pipeline to. Exactly one of {@code schema} or + * {@code target} must be specified. To publish to Unity Catalog, also specify {@code catalog}. + * This legacy field is deprecated for pipeline creation in favor of the {@code schema} field. */ @JsonProperty("target") private String target; - /** Which pipeline trigger to use. Deprecated: Use `continuous` instead. */ + /** Which pipeline trigger to use. Deprecated: Use {@code continuous} instead. */ @JsonProperty("trigger") private PipelineTrigger trigger; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/DeploymentKind.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/DeploymentKind.java index 450900a0d..0c4169610 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/DeploymentKind.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/DeploymentKind.java @@ -5,8 +5,11 @@ import com.databricks.sdk.support.Generated; /** - * The deployment method that manages the pipeline: - BUNDLE: The pipeline is managed by a - * Databricks Asset Bundle. + * The deployment method that manages the pipeline: + * + *

    + *
  • BUNDLE: The pipeline is managed by a Databricks Asset Bundle. + *
*/ @Generated public enum DeploymentKind { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/EditPipeline.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/EditPipeline.java index fc1a37405..3b7201df9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/EditPipeline.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/EditPipeline.java @@ -23,10 +23,10 @@ public class EditPipeline { private String budgetPolicyId; /** - * A catalog in Unity Catalog to publish data from this pipeline to. If `target` is specified, - * tables in this pipeline are published to a `target` schema inside `catalog` (for example, - * `catalog`.`target`.`table`). If `target` is not specified, no data is published to Unity - * Catalog. + * A catalog in Unity Catalog to publish data from this pipeline to. If {@code target} is + * specified, tables in this pipeline are published to a {@code target} schema inside {@code + * catalog} (for example, {@code catalog}.{@code target}.{@code table}). If {@code target} is not + * specified, no data is published to Unity Catalog. */ @JsonProperty("catalog") private String catalog; @@ -43,7 +43,7 @@ public class EditPipeline { @JsonProperty("configuration") private Map configuration; - /** Whether the pipeline is continuous or triggered. This replaces `trigger`. */ + /** Whether the pipeline is continuous or triggered. This replaces {@code trigger}. */ @JsonProperty("continuous") private Boolean continuous; @@ -156,14 +156,14 @@ public class EditPipeline { private Map tags; /** - * Target schema (database) to add tables in this pipeline to. Exactly one of `schema` or `target` - * must be specified. To publish to Unity Catalog, also specify `catalog`. This legacy field is - * deprecated for pipeline creation in favor of the `schema` field. + * Target schema (database) to add tables in this pipeline to. Exactly one of {@code schema} or + * {@code target} must be specified. To publish to Unity Catalog, also specify {@code catalog}. + * This legacy field is deprecated for pipeline creation in favor of the {@code schema} field. */ @JsonProperty("target") private String target; - /** Which pipeline trigger to use. Deprecated: Use `continuous` instead. */ + /** Which pipeline trigger to use. Deprecated: Use {@code continuous} instead. */ @JsonProperty("trigger") private PipelineTrigger trigger; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetPipelineResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetPipelineResponse.java index 407fa4073..9c14f67de 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetPipelineResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/GetPipelineResponse.java @@ -43,7 +43,7 @@ public class GetPipelineResponse { @JsonProperty("latest_updates") private Collection latestUpdates; - /** A human friendly identifier for the pipeline, taken from the `spec`. */ + /** A human friendly identifier for the pipeline, taken from the {@code spec}. */ @JsonProperty("name") private String name; @@ -60,8 +60,8 @@ public class GetPipelineResponse { /** * The user or service principal that the pipeline runs as, if specified in the request. This - * field indicates the explicit configuration of `run_as` for the pipeline. To find the value in - * all cases, explicit or implicit, use `run_as_user_name`. + * field indicates the explicit configuration of {@code run_as} for the pipeline. To find the + * value in all cases, explicit or implicit, use {@code run_as_user_name}. */ @JsonProperty("run_as") private RunAs runAs; @@ -70,7 +70,9 @@ public class GetPipelineResponse { @JsonProperty("run_as_user_name") private String runAsUserName; - /** The pipeline specification. This field is not returned when called by `ListPipelines`. */ + /** + * The pipeline specification. This field is not returned when called by {@code ListPipelines}. + */ @JsonProperty("spec") private PipelineSpec spec; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionPipelineDefinition.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionPipelineDefinition.java index d4dbc0e8f..d1fe46abf 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionPipelineDefinition.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionPipelineDefinition.java @@ -42,8 +42,9 @@ public class IngestionPipelineDefinition { /** * Immutable. If set to true, the pipeline will ingest tables from the UC foreign catalogs - * directly without the need to specify a UC connection or ingestion gateway. The `source_catalog` - * fields in objects of IngestionConfig are interpreted as the UC foreign catalogs to ingest from. + * directly without the need to specify a UC connection or ingestion gateway. The {@code + * source_catalog} fields in objects of IngestionConfig are interpreted as the UC foreign catalogs + * to ingest from. */ @JsonProperty("ingest_from_uc_foreign_catalog") private Boolean ingestFromUcForeignCatalog; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionPipelineDefinitionTableSpecificConfigQueryBasedConnectorConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionPipelineDefinitionTableSpecificConfigQueryBasedConnectorConfig.java index 8e752efe1..cda7a5fca 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionPipelineDefinitionTableSpecificConfigQueryBasedConnectorConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionPipelineDefinitionTableSpecificConfigQueryBasedConnectorConfig.java @@ -16,8 +16,8 @@ public class IngestionPipelineDefinitionTableSpecificConfigQueryBasedConnectorCo * the table to be read and ingested incrementally through structured streaming. The columns are * allowed to have repeated values but have to be non-decreasing. If the source data is merged * into the destination (e.g., using SCD Type 1 or Type 2), these columns will implicitly define - * the `sequence_by` behavior. You can still explicitly set `sequence_by` to override this - * default. + * the {@code sequence_by} behavior. You can still explicitly set {@code sequence_by} to override + * this default. */ @JsonProperty("cursor_columns") private Collection cursorColumns; @@ -25,7 +25,7 @@ public class IngestionPipelineDefinitionTableSpecificConfigQueryBasedConnectorCo /** * Specifies a SQL WHERE condition that specifies that the source row has been deleted. This is * sometimes referred to as "soft-deletes". For example: "Operation = 'DELETE'" or "is_deleted = - * true". This field is orthogonal to `hard_deletion_sync_interval_in_seconds`, one for + * true". This field is orthogonal to {@code hard_deletion_sync_interval_in_seconds}, one for * soft-deletes and the other for hard-deletes. See also the * hard_deletion_sync_min_interval_in_seconds field for handling of "hard deletes" where the * source rows are physically removed from the table. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionPipelineDefinitionWorkdayReportParameters.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionPipelineDefinitionWorkdayReportParameters.java index 503dd2667..346961b11 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionPipelineDefinitionWorkdayReportParameters.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionPipelineDefinitionWorkdayReportParameters.java @@ -13,7 +13,8 @@ public class IngestionPipelineDefinitionWorkdayReportParameters { /** * (Optional) Marks the report as incremental. This field is deprecated and should not be used. - * Use `parameters` instead. The incremental behavior is now controlled by the `parameters` field. + * Use {@code parameters} instead. The incremental behavior is now controlled by the {@code + * parameters} field. */ @JsonProperty("incremental") private Boolean incremental; @@ -29,7 +30,7 @@ public class IngestionPipelineDefinitionWorkdayReportParameters { /** * (Optional) Additional custom parameters for Workday Report This field is deprecated and should - * not be used. Use `parameters` instead. + * not be used. Use {@code parameters} instead. */ @JsonProperty("report_parameters") private Collection diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionPipelineDefinitionWorkdayReportParametersQueryKeyValue.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionPipelineDefinitionWorkdayReportParametersQueryKeyValue.java index 36272c611..b5c349912 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionPipelineDefinitionWorkdayReportParametersQueryKeyValue.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionPipelineDefinitionWorkdayReportParametersQueryKeyValue.java @@ -14,10 +14,15 @@ public class IngestionPipelineDefinitionWorkdayReportParametersQueryKeyValue { private String key; /** - * Value for the report parameter. Possible values it can take are these sql functions: 1. - * coalesce(current_offset(), date("YYYY-MM-DD")) -> if current_offset() is null, then the passed - * date, else current_offset() 2. current_date() 3. date_sub(current_date(), x) -> subtract x - * (some non-negative integer) days from current date + * Value for the report parameter. Possible values it can take are these sql functions: + * + *
    + *
  1. coalesce(current_offset(), date("YYYY-MM-DD")) -> if current_offset() is null, then + * the passed date, else current_offset() + *
  2. current_date() + *
  3. date_sub(current_date(), x) -> subtract x (some non-negative integer) days from + * current date + *
*/ @JsonProperty("value") private String value; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelineEventsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelineEventsRequest.java index fedb29c57..48178d7ed 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelineEventsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelineEventsRequest.java @@ -13,11 +13,17 @@ public class ListPipelineEventsRequest { /** * Criteria to select a subset of results, expressed using a SQL-like syntax. The supported - * filters are: 1. level='INFO' (or WARN or ERROR) 2. level in ('INFO', 'WARN') 3. id='[event-id]' - * 4. timestamp > 'TIMESTAMP' (or >=,<,<=,=) + * filters are: * - *

Composite expressions are supported, for example: level in ('ERROR', 'WARN') AND timestamp> - * '2021-07-22T06:37:33.083Z' + *

    + *
  1. level='INFO' (or WARN or ERROR) + *
  2. level in ('INFO', 'WARN') + *
  3. id='[event-id]' + *
  4. timestamp > 'TIMESTAMP' (or >=,<,<=,=) + *
+ * + *

Composite expressions are supported, for example: level in ('ERROR', 'WARN') AND + * timestamp> '2021-07-22T06:37:33.083Z' */ @JsonIgnore @QueryParam("filter") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelinesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelinesRequest.java index d144bcd02..551195ce6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelinesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelinesRequest.java @@ -14,9 +14,11 @@ public class ListPipelinesRequest { /** * Select a subset of results based on the specified criteria. The supported filters are: * - *

* `notebook=''` to select pipelines that reference the provided notebook path. * `name - * LIKE '[pattern]'` to select pipelines with a name that matches pattern. Wildcards are - * supported, for example: `name LIKE '%shopping%'` + *

    + *
  • {@code notebook=''} to select pipelines that reference the provided notebook path. + *
  • {@code name LIKE '[pattern]'} to select pipelines with a name that matches pattern. + * Wildcards are supported, for example: {@code name LIKE '%shopping%'} + *
* *

Composite filters are not supported. This field is optional. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/Notifications.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/Notifications.java index 430fa4b46..066737ebf 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/Notifications.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/Notifications.java @@ -14,9 +14,13 @@ public class Notifications { * A list of alerts that trigger the sending of notifications to the configured destinations. The * supported alerts are: * - *

* `on-update-success`: A pipeline update completes successfully. * `on-update-failure`: Each - * time a pipeline update fails. * `on-update-fatal-failure`: A pipeline update fails with a - * non-retryable (fatal) error. * `on-flow-failure`: A single data flow fails. + *

    + *
  • {@code on-update-success}: A pipeline update completes successfully. + *
  • {@code on-update-failure}: Each time a pipeline update fails. + *
  • {@code on-update-fatal-failure}: A pipeline update fails with a non-retryable (fatal) + * error. + *
  • {@code on-flow-failure}: A single data flow fails. + *
*/ @JsonProperty("alerts") private Collection alerts; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/OutlookOptions.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/OutlookOptions.java index 24d79235e..a2963dc86 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/OutlookOptions.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/OutlookOptions.java @@ -52,10 +52,11 @@ public class OutlookOptions { private Collection includeSenders; /** - * (Optional) Filter emails by subject line. Values ending with "*" use prefix match (subject - * starts with the part before "*"); otherwise substring match (subject contains the value). - * Examples: "Invoice" (substring), "Re:*" (prefix), "Support Ticket", "URGENT*" If not specified, - * emails with all subjects will be synced. Filter semantics: OR between different subjects. + * (Optional) Filter emails by subject line. Values ending with "" use prefix match (subject + * starts with the part before ""); otherwise substring match (subject contains the value). + * Examples: "Invoice" (substring), "Re:" (prefix), "Support Ticket", "URGENT" If not + * specified, emails with all subjects will be synced. Filter semantics: OR between different + * subjects. */ @JsonProperty("include_subjects") private Collection includeSubjects; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineCluster.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineCluster.java index 2eb27a477..e7410dde9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineCluster.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineCluster.java @@ -39,21 +39,22 @@ public class PipelineCluster { /** * The configuration for delivering spark logs to a long-term storage destination. Only dbfs * destinations are supported. Only one destination can be specified for one cluster. If the conf - * is given, the logs will be delivered to the destination every `5 mins`. The destination of - * driver logs is `$destination/$clusterId/driver`, while the destination of executor logs is - * `$destination/$clusterId/executor`. + * is given, the logs will be delivered to the destination every {@code 5 mins}. The destination + * of driver logs is {@code $destination/$clusterId/driver}, while the destination of executor + * logs is {@code $destination/$clusterId/executor}. */ @JsonProperty("cluster_log_conf") private com.databricks.sdk.service.compute.ClusterLogConf clusterLogConf; /** * Additional tags for cluster resources. Databricks will tag all cluster resources (e.g., AWS - * instances and EBS volumes) with these tags in addition to `default_tags`. Notes: + * instances and EBS volumes) with these tags in addition to {@code default_tags}. Notes: * - *

- Currently, Databricks allows at most 45 custom tags - * - *

- Clusters can only reuse cloud resources if the resources' tags are a subset of the cluster - * tags + *

    + *
  • Currently, Databricks allows at most 45 custom tags + *
  • Clusters can only reuse cloud resources if the resources' tags are a subset of the + * cluster tags + *
*/ @JsonProperty("custom_tags") private Map customTags; @@ -67,7 +68,7 @@ public class PipelineCluster { /** * The node type of the Spark driver. Note that this field is optional; if unset, the driver node - * type will be set as the same value as `node_type_id` defined above. + * type will be set as the same value as {@code node_type_id} defined above. */ @JsonProperty("driver_node_type_id") private String driverNodeTypeId; @@ -85,8 +86,8 @@ public class PipelineCluster { /** * The configuration for storing init scripts. Any number of destinations can be specified. The - * scripts are executed sequentially in the order provided. If `cluster_log_conf` is specified, - * init script logs are sent to `//init_scripts`. + * scripts are executed sequentially in the order provided. If {@code cluster_log_conf} is + * specified, init script logs are sent to {@code //init_scripts}. */ @JsonProperty("init_scripts") private Collection initScripts; @@ -96,9 +97,9 @@ public class PipelineCluster { private String instancePoolId; /** - * A label for the cluster specification, either `default` to configure the default cluster, or - * `maintenance` to configure the maintenance cluster. This field is optional. The default value - * is `default`. + * A label for the cluster specification, either {@code default} to configure the default cluster, + * or {@code maintenance} to configure the maintenance cluster. This field is optional. The + * default value is {@code default}. */ @JsonProperty("label") private String label; @@ -113,14 +114,14 @@ public class PipelineCluster { private String nodeTypeId; /** - * Number of worker nodes that this cluster should have. A cluster has one Spark Driver and - * `num_workers` Executors for a total of `num_workers` + 1 Spark nodes. + * Number of worker nodes that this cluster should have. A cluster has one Spark Driver and {@code + * num_workers} Executors for a total of {@code num_workers} + 1 Spark nodes. * *

Note: When reading the properties of a cluster, this field reflects the desired number of * workers rather than the actual current number of workers. For instance, if a cluster is resized * from 5 to 10 workers, this field will immediately be updated to reflect the target size of 10 - * workers, whereas the workers listed in `spark_info` will gradually increase from 5 to 10 as the - * new nodes are provisioned. + * workers, whereas the workers listed in {@code spark_info} will gradually increase from 5 to 10 + * as the new nodes are provisioned. */ @JsonProperty("num_workers") private Long numWorkers; @@ -138,24 +139,24 @@ public class PipelineCluster { /** * An object containing a set of optional, user-specified environment variable key-value pairs. - * Please note that key-value pair of the form (X,Y) will be exported as is (i.e., `export X='Y'`) - * while launching the driver and workers. + * Please note that key-value pair of the form (X,Y) will be exported as is (i.e., {@code export + * X='Y'}) while launching the driver and workers. * - *

In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we recommend appending - * them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the example below. This ensures that all default - * databricks managed environmental variables are included as well. + *

In order to specify an additional set of {@code SPARK_DAEMON_JAVA_OPTS}, we recommend + * appending them to {@code $SPARK_DAEMON_JAVA_OPTS} as shown in the example below. This ensures + * that all default databricks managed environmental variables are included as well. * - *

Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", "SPARK_LOCAL_DIRS": - * "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": "$SPARK_DAEMON_JAVA_OPTS - * -Dspark.shuffle.service.enabled=true"}` + *

Example Spark environment variables: {@code {"SPARK_WORKER_MEMORY": "28000m", + * "SPARK_LOCAL_DIRS": "/local_disk0"}} or {@code {"SPARK_DAEMON_JAVA_OPTS": + * "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}} */ @JsonProperty("spark_env_vars") private Map sparkEnvVars; /** * SSH public key contents that will be added to each Spark node in this cluster. The - * corresponding private keys can be used to login with the user name `ubuntu` on port `2200`. Up - * to 10 keys can be specified. + * corresponding private keys can be used to login with the user name {@code ubuntu} on port + * {@code 2200}. Up to 10 keys can be specified. */ @JsonProperty("ssh_public_keys") private Collection sshPublicKeys; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineClusterAutoscale.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineClusterAutoscale.java index c06d51ca4..4845590ef 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineClusterAutoscale.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineClusterAutoscale.java @@ -10,8 +10,8 @@ @Generated public class PipelineClusterAutoscale { /** - * The maximum number of workers to which the cluster can scale up when overloaded. `max_workers` - * must be strictly greater than `min_workers`. + * The maximum number of workers to which the cluster can scale up when overloaded. {@code + * max_workers} must be strictly greater than {@code min_workers}. */ @JsonProperty("max_workers") private Long maxWorkers; @@ -26,8 +26,8 @@ public class PipelineClusterAutoscale { /** * Databricks Enhanced Autoscaling optimizes cluster utilization by automatically allocating * cluster resources based on workload volume, with minimal impact to the data processing latency - * of your pipelines. Enhanced Autoscaling is available for `updates` clusters only. The legacy - * autoscaling feature is used for `maintenance` clusters. + * of your pipelines. Enhanced Autoscaling is available for {@code updates} clusters only. The + * legacy autoscaling feature is used for {@code maintenance} clusters. */ @JsonProperty("mode") private PipelineClusterAutoscaleMode mode; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineClusterAutoscaleMode.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineClusterAutoscaleMode.java index 6f197f4c5..23e90057d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineClusterAutoscaleMode.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineClusterAutoscaleMode.java @@ -7,8 +7,8 @@ /** * Databricks Enhanced Autoscaling optimizes cluster utilization by automatically allocating cluster * resources based on workload volume, with minimal impact to the data processing latency of your - * pipelines. Enhanced Autoscaling is available for `updates` clusters only. The legacy autoscaling - * feature is used for `maintenance` clusters. + * pipelines. Enhanced Autoscaling is available for {@code updates} clusters only. The legacy + * autoscaling feature is used for {@code maintenance} clusters. */ @Generated public enum PipelineClusterAutoscaleMode { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineDeployment.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineDeployment.java index ac1b35c62..1769fba23 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineDeployment.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineDeployment.java @@ -10,8 +10,8 @@ @Generated public class PipelineDeployment { /** - * ID of the deployment that manages this pipeline. Only set when `kind` is `BUNDLE`. Used to look - * up deployment metadata from the Deployment Metadata service. + * ID of the deployment that manages this pipeline. Only set when {@code kind} is {@code BUNDLE}. + * Used to look up deployment metadata from the Deployment Metadata service. */ @JsonProperty("deployment_id") private String deploymentId; @@ -25,8 +25,9 @@ public class PipelineDeployment { private String metadataFilePath; /** - * ID of the version of the deployment that produced this pipeline. Only set when `kind` is - * `BUNDLE`. Identifies a specific snapshot of the deployment in the Deployment Metadata service. + * ID of the version of the deployment that produced this pipeline. Only set when {@code kind} is + * {@code BUNDLE}. Identifies a specific snapshot of the deployment in the Deployment Metadata + * service. */ @JsonProperty("version_id") private String versionId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineLibrary.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineLibrary.java index 45f63133b..15030e1ae 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineLibrary.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineLibrary.java @@ -15,7 +15,8 @@ public class PipelineLibrary { /** * The unified field to include source codes. Each entry can be a notebook path, a file path, or a - * folder path that ends `/**`. This field cannot be used together with `notebook` or `file`. + * folder path that ends {@code /**}. This field cannot be used together with {@code notebook} or + * {@code file}. */ @JsonProperty("glob") private PathPattern glob; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineSpec.java index 11f3a3261..62448f449 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineSpec.java @@ -16,10 +16,10 @@ public class PipelineSpec { private String budgetPolicyId; /** - * A catalog in Unity Catalog to publish data from this pipeline to. If `target` is specified, - * tables in this pipeline are published to a `target` schema inside `catalog` (for example, - * `catalog`.`target`.`table`). If `target` is not specified, no data is published to Unity - * Catalog. + * A catalog in Unity Catalog to publish data from this pipeline to. If {@code target} is + * specified, tables in this pipeline are published to a {@code target} schema inside {@code + * catalog} (for example, {@code catalog}.{@code target}.{@code table}). If {@code target} is not + * specified, no data is published to Unity Catalog. */ @JsonProperty("catalog") private String catalog; @@ -36,7 +36,7 @@ public class PipelineSpec { @JsonProperty("configuration") private Map configuration; - /** Whether the pipeline is continuous or triggered. This replaces `trigger`. */ + /** Whether the pipeline is continuous or triggered. This replaces {@code trigger}. */ @JsonProperty("continuous") private Boolean continuous; @@ -128,14 +128,14 @@ public class PipelineSpec { private Map tags; /** - * Target schema (database) to add tables in this pipeline to. Exactly one of `schema` or `target` - * must be specified. To publish to Unity Catalog, also specify `catalog`. This legacy field is - * deprecated for pipeline creation in favor of the `schema` field. + * Target schema (database) to add tables in this pipeline to. Exactly one of {@code schema} or + * {@code target} must be specified. To publish to Unity Catalog, also specify {@code catalog}. + * This legacy field is deprecated for pipeline creation in favor of the {@code schema} field. */ @JsonProperty("target") private String target; - /** Which pipeline trigger to use. Deprecated: Use `continuous` instead. */ + /** Which pipeline trigger to use. Deprecated: Use {@code continuous} instead. */ @JsonProperty("trigger") private PipelineTrigger trigger; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesAPI.java index e8871d17c..ade245a37 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesAPI.java @@ -90,8 +90,8 @@ public GetPipelineResponse waitGetPipelineIdle( } /** - * * Applies the current pipeline environment onto the pipeline compute. The environment applied - * can be used by subsequent dev-mode updates. + * Applies the current pipeline environment onto the pipeline compute. The environment applied can + * be used by subsequent dev-mode updates. */ public ApplyEnvironmentRequestResponse applyEnvironment(ApplyEnvironmentRequest request) { return impl.applyEnvironment(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesEnvironment.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesEnvironment.java index 108d44c90..057dff5a0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesEnvironment.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesEnvironment.java @@ -19,7 +19,7 @@ public class PipelinesEnvironment { * List of pip dependencies, as supported by the version of pip in this environment. Each * dependency is a pip requirement file line * https://pip.pypa.io/en/stable/reference/requirements-file-format/ Allowed dependency could be - * , , (WSFS or Volumes in + * , <archive url/path>, (WSFS or Volumes in * Databricks), */ @JsonProperty("dependencies") @@ -36,7 +36,7 @@ public class PipelinesEnvironment { * https://docs.databricks.com/aws/en/release-notes/serverless/environment-version/ * *

The value should be a string representing the environment version number, for example: - * `"4"`. + * {@code "4"}. */ @JsonProperty("environment_version") private String environmentVersion; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesService.java index f9ef025f5..4b7ec4a61 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelinesService.java @@ -25,8 +25,8 @@ @Generated public interface PipelinesService { /** - * * Applies the current pipeline environment onto the pipeline compute. The environment applied - * can be used by subsequent dev-mode updates. + * Applies the current pipeline environment onto the pipeline compute. The environment applied can + * be used by subsequent dev-mode updates. */ ApplyEnvironmentRequestResponse applyEnvironment(ApplyEnvironmentRequest applyEnvironmentRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ReplaceWhereOverride.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ReplaceWhereOverride.java index cb8e3ac37..9bcb106be 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ReplaceWhereOverride.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ReplaceWhereOverride.java @@ -15,8 +15,8 @@ public class ReplaceWhereOverride { private String flowName; /** - * SQL predicate string to use as replace_where condition. Example: `date = '2024-10-10' AND city - * = 'xyz'` + * SQL predicate string to use as replace_where condition. Example: {@code date = '2024-10-10' AND + * city = 'xyz'} */ @JsonProperty("predicate_override") private String predicateOverride; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/RunAs.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/RunAs.java index 0258b123e..01139427b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/RunAs.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/RunAs.java @@ -12,14 +12,14 @@ * principal that the pipeline runs as. If not specified, the pipeline runs as the user who created * the pipeline. * - *

Only `user_name` or `service_principal_name` can be specified. If both are specified, an error - * is thrown. + *

Only {@code user_name} or {@code service_principal_name} can be specified. If both are + * specified, an error is thrown. */ @Generated public class RunAs { /** - * Application ID of an active service principal. Setting this field requires the - * `servicePrincipal/user` role. + * Application ID of an active service principal. Setting this field requires the {@code + * servicePrincipal/user} role. */ @JsonProperty("service_principal_name") private String servicePrincipalName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/TableSpecificConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/TableSpecificConfig.java index bf00a813a..2d2cd51c8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/TableSpecificConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/TableSpecificConfig.java @@ -44,8 +44,8 @@ public class TableSpecificConfig { /** * A list of column names to be excluded for the ingestion. When not specified, include_columns * fully controls what columns to be ingested. When specified, all other columns including future - * ones will be automatically included for ingestion. This field in mutually exclusive with - * `include_columns`. + * ones will be automatically included for ingestion. This field in mutually exclusive with {@code + * include_columns}. */ @JsonProperty("exclude_columns") private Collection excludeColumns; @@ -54,7 +54,7 @@ public class TableSpecificConfig { * A list of column names to be included for the ingestion. When not specified, all columns except * ones in exclude_columns will be included. Future columns will be automatically included. When * specified, all other future columns will be automatically excluded from ingestion. This field - * in mutually exclusive with `exclude_columns`. + * in mutually exclusive with {@code exclude_columns}. */ @JsonProperty("include_columns") private Collection includeColumns; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/Branch.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/Branch.java index 67a76669d..20b4bd722 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/Branch.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/Branch.java @@ -29,7 +29,7 @@ public class Branch { * The project containing this branch (API resource hierarchy). Format: projects/{project_id} * *

Note: This field indicates where the branch exists in the resource hierarchy. For - * point-in-time branching from another branch, see `status.source_branch`. + * point-in-time branching from another branch, see {@code status.source_branch}. */ @JsonProperty("parent") private String parent; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/BranchSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/BranchSpec.java index f571ba0ee..287a3f397 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/BranchSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/BranchSpec.java @@ -13,7 +13,8 @@ public class BranchSpec { /** * Absolute expiration timestamp. When set, the branch will expire at this time. Mutually - * exclusive with `ttl` and `no_expiry`. When updating, use `spec.expiration` in the update_mask. + * exclusive with {@code ttl} and {@code no_expiry}. When updating, use {@code spec.expiration} in + * the update_mask. */ @JsonProperty("expire_time") private Timestamp expireTime; @@ -28,7 +29,8 @@ public class BranchSpec { /** * Explicitly disable expiration. When set to true, the branch will not expire. If set to false, * the request is invalid; provide either ttl or expire_time instead. Mutually exclusive with - * `expire_time` and `ttl`. When updating, use `spec.expiration` in the update_mask. + * {@code expire_time} and {@code ttl}. When updating, use {@code spec.expiration} in the + * update_mask. */ @JsonProperty("no_expiry") private Boolean noExpiry; @@ -51,8 +53,8 @@ public class BranchSpec { /** * Relative time-to-live duration. When set, the branch will expire at creation_time + ttl. - * Mutually exclusive with `expire_time` and `no_expiry`. When updating, use `spec.expiration` in - * the update_mask. + * Mutually exclusive with {@code expire_time} and {@code no_expiry}. When updating, use {@code + * spec.expiration} in the update_mask. */ @JsonProperty("ttl") private Duration ttl; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/BranchStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/BranchStatus.java index 16604dab6..3241edb6d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/BranchStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/BranchStatus.java @@ -64,7 +64,7 @@ public class BranchStatus { @JsonProperty("source_branch_time") private Timestamp sourceBranchTime; - /** A timestamp indicating when the `current_state` began. */ + /** A timestamp indicating when the {@code current_state} began. */ @JsonProperty("state_change_time") private Timestamp stateChangeTime; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateBranchRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateBranchRequest.java index db6ae00a8..ace119c0a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateBranchRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateBranchRequest.java @@ -18,8 +18,8 @@ public class CreateBranchRequest { /** * The ID to use for the Branch. This becomes the final component of the branch's resource name. * The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain - * only lowercase letters, numbers, and hyphens. For example, `development` becomes - * `projects/my-app/branches/development`. + * only lowercase letters, numbers, and hyphens. For example, {@code development} becomes {@code + * projects/my-app/branches/development}. */ @JsonIgnore @QueryParam("branch_id") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateEndpointRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateEndpointRequest.java index 93fd4f3c6..a36c9345e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateEndpointRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateEndpointRequest.java @@ -18,8 +18,8 @@ public class CreateEndpointRequest { /** * The ID to use for the Endpoint. This becomes the final component of the endpoint's resource * name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and - * contain only lowercase letters, numbers, and hyphens. For example, `primary` becomes - * `projects/my-app/branches/development/endpoints/primary`. + * contain only lowercase letters, numbers, and hyphens. For example, {@code primary} becomes + * {@code projects/my-app/branches/development/endpoints/primary}. */ @JsonIgnore @QueryParam("endpoint_id") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateProjectRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateProjectRequest.java index c4dad1ccb..f2a780ab7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateProjectRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateProjectRequest.java @@ -18,7 +18,8 @@ public class CreateProjectRequest { /** * The ID to use for the Project. This becomes the final component of the project's resource name. * The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain - * only lowercase letters, numbers, and hyphens. For example, `my-app` becomes `projects/my-app`. + * only lowercase letters, numbers, and hyphens. For example, {@code my-app} becomes {@code + * projects/my-app}. */ @JsonIgnore @QueryParam("project_id") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateSyncedTableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateSyncedTableRequest.java index a37bd66da..ac9cd2e64 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateSyncedTableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateSyncedTableRequest.java @@ -24,9 +24,11 @@ public class CreateSyncedTableRequest { * *

synced_table_id represents both of the following: * - *

1. An online VIEW virtual table in the Unity Catalog accessible via the Lakehouse - * Federation. 2. Postgres table named "{table}" in schema "{schema}" in the connected Postgres - * database + *

    + *
  1. An online VIEW virtual table in the Unity Catalog accessible via the Lakehouse + * Federation. + *
  2. Postgres table named "{table}" in schema "{schema}" in the connected Postgres database + *
*/ @JsonIgnore @QueryParam("synced_table_id") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/EndpointGroupSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/EndpointGroupSpec.java index ff9fc27c7..62a766957 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/EndpointGroupSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/EndpointGroupSpec.java @@ -11,7 +11,7 @@ public class EndpointGroupSpec { /** * Whether to allow read-only connections to read-write endpoints. Only relevant for read-write - * endpoints where size.max > 1. + * endpoints where size.max > 1. */ @JsonProperty("enable_readable_secondaries") private Boolean enableReadableSecondaries; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/EndpointGroupStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/EndpointGroupStatus.java index 4664f2c49..1fee6a097 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/EndpointGroupStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/EndpointGroupStatus.java @@ -11,7 +11,7 @@ public class EndpointGroupStatus { /** * Whether read-only connections to read-write endpoints are allowed. Only relevant if read - * replicas are configured by specifying size.max > 1. + * replicas are configured by specifying size.max > 1. */ @JsonProperty("enable_readable_secondaries") private Boolean enableReadableSecondaries; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/EndpointSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/EndpointSpec.java index 259f344bc..1d3eeac18 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/EndpointSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/EndpointSpec.java @@ -43,8 +43,8 @@ public class EndpointSpec { /** * When set to true, explicitly disables automatic suspension (never suspend). Should be set to - * true when provided. Mutually exclusive with `suspend_timeout_duration`. When updating, use - * `spec.suspension` in the update_mask. + * true when provided. Mutually exclusive with {@code suspend_timeout_duration}. When updating, + * use {@code spec.suspension} in the update_mask. */ @JsonProperty("no_suspension") private Boolean noSuspension; @@ -56,7 +56,7 @@ public class EndpointSpec { /** * Duration of inactivity after which the compute endpoint is automatically suspended. If * specified should be between 60s and 604800s (1 minute to 1 week). Mutually exclusive with - * `no_suspension`. When updating, use `spec.suspension` in the update_mask. + * {@code no_suspension}. When updating, use {@code spec.suspension} in the update_mask. */ @JsonProperty("suspend_timeout_duration") private Duration suspendTimeoutDuration; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/EndpointType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/EndpointType.java index 680c4ea97..60cc9eb81 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/EndpointType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/EndpointType.java @@ -4,7 +4,7 @@ import com.databricks.sdk.support.Generated; -/** The compute endpoint type. Either `read_write` or `read_only`. */ +/** The compute endpoint type. Either {@code read_write} or {@code read_only}. */ @Generated public enum EndpointType { ENDPOINT_TYPE_READ_ONLY, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/Operation.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/Operation.java index c2cd06544..109f627a0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/Operation.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/Operation.java @@ -11,8 +11,8 @@ @Generated public class Operation { /** - * If the value is `false`, it means the operation is still in progress. If `true`, the operation - * is completed, and either `error` or `response` is available. + * If the value is {@code false}, it means the operation is still in progress. If {@code true}, + * the operation is completed, and either {@code error} or {@code response} is available. */ @JsonProperty("done") private Boolean done; @@ -31,8 +31,8 @@ public class Operation { /** * The server-assigned name, which is only unique within the same service that originally returns - * it. If you use the default HTTP mapping, the `name` should be a resource name ending with - * `operations/{unique_id}`. + * it. If you use the default HTTP mapping, the {@code name} should be a resource name ending with + * {@code operations/{unique_id}}. */ @JsonProperty("name") private String name; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/PostgresAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/PostgresAPI.java index 9db4ad53c..4424eae2e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/PostgresAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/PostgresAPI.java @@ -14,12 +14,12 @@ *

This API manages database infrastructure only. To query or modify data, use the Data API or * direct SQL connections. * - *

**About resource IDs and names** + *

About resource IDs and names * - *

Resources are identified by hierarchical resource names like - * `projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}`. The `name` field on each - * resource contains this full path and is output-only. Note that `name` refers to this resource - * path, not the user-visible `display_name`. + *

Resources are identified by hierarchical resource names like {@code + * projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}}. The {@code name} field on + * each resource contains this full path and is output-only. Note that {@code name} refers to this + * resource path, not the user-visible {@code display_name}. */ @Generated public class PostgresAPI { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/PostgresService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/PostgresService.java index a728f5e23..24dc3f680 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/PostgresService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/PostgresService.java @@ -10,12 +10,12 @@ *

This API manages database infrastructure only. To query or modify data, use the Data API or * direct SQL connections. * - *

**About resource IDs and names** + *

About resource IDs and names * - *

Resources are identified by hierarchical resource names like - * `projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}`. The `name` field on each - * resource contains this full path and is output-only. Note that `name` refers to this resource - * path, not the user-visible `display_name`. + *

Resources are identified by hierarchical resource names like {@code + * projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}}. The {@code name} field on + * each resource contains this full path and is output-only. Note that {@code name} refers to this + * resource path, not the user-visible {@code display_name}. * *

This is the high-level interface, that contains generated methods. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/ProjectDefaultEndpointSettings.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/ProjectDefaultEndpointSettings.java index d7d1f5f0d..cabd010d8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/ProjectDefaultEndpointSettings.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/ProjectDefaultEndpointSettings.java @@ -22,8 +22,8 @@ public class ProjectDefaultEndpointSettings { /** * When set to true, explicitly disables automatic suspension (never suspend). Should be set to - * true when provided. Mutually exclusive with `suspend_timeout_duration`. When updating, use - * `spec.project_default_settings.suspension` in the update_mask. + * true when provided. Mutually exclusive with {@code suspend_timeout_duration}. When updating, + * use {@code spec.project_default_settings.suspension} in the update_mask. */ @JsonProperty("no_suspension") private Boolean noSuspension; @@ -35,8 +35,8 @@ public class ProjectDefaultEndpointSettings { /** * Duration of inactivity after which the compute endpoint is automatically suspended. If * specified should be between 60s and 604800s (1 minute to 1 week). Mutually exclusive with - * `no_suspension`. When updating, use `spec.project_default_settings.suspension` in the - * update_mask. + * {@code no_suspension}. When updating, use {@code spec.project_default_settings.suspension} in + * the update_mask. */ @JsonProperty("suspend_timeout_duration") private Duration suspendTimeoutDuration; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/RoleRoleSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/RoleRoleSpec.java index 983155859..76460155a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/RoleRoleSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/RoleRoleSpec.java @@ -18,17 +18,26 @@ public class RoleRoleSpec { * Controls how the Postgres role authenticates when a client opens a database connection. * Supported values: * - *

* LAKEBASE_OAUTH_V1: the role authenticates by presenting a Databricks OAuth access token - * derived from the backing managed identity (the Databricks user, service principal, or group - * named by the role's `postgres_role`). No static password exists for roles using this method. * - * PG_PASSWORD_SCRAM_SHA_256: the role authenticates with a Postgres password verified server-side - * using the SCRAM-SHA-256 mechanism. Lakebase generates a password for the role. * NO_LOGIN: the - * role cannot open a Postgres session at all. Useful for roles that exist only to own objects or - * to aggregate privileges that are then granted to other, loginable roles. + *

    + *
  • LAKEBASE_OAUTH_V1: the role authenticates by presenting a Databricks OAuth access token + * derived from the backing managed identity (the Databricks user, service principal, or + * group named by the role's {@code postgres_role}). No static password exists for roles + * using this method. + *
  • PG_PASSWORD_SCRAM_SHA_256: the role authenticates with a Postgres password verified + * server-side using the SCRAM-SHA-256 mechanism. Lakebase generates a password for the + * role. + *
  • NO_LOGIN: the role cannot open a Postgres session at all. Useful for roles that exist + * only to own objects or to aggregate privileges that are then granted to other, loginable + * roles. + *
* *

If auth_method is left unspecified, a meaningful authentication method is derived from the - * identity_type: * For the managed identities, OAUTH is used. * For the regular postgres roles, - * authentication based on postgres passwords is used. + * identity_type: + * + *

    + *
  • For the managed identities, OAUTH is used. + *
  • For the regular postgres roles, authentication based on postgres passwords is used. + *
* *

NOTE: for the Databricks identity type GROUP, LAKEBASE_OAUTH_V1 is the default auth method * (group can login as well). @@ -39,7 +48,11 @@ public class RoleRoleSpec { /** * The type of role. When specifying a managed-identity, the chosen role_id must be a valid: * - *

* application ID for SERVICE_PRINCIPAL * user email for USER * group name for GROUP + *

    + *
  • application ID for SERVICE_PRINCIPAL + *
  • user email for USER + *
  • group name for GROUP + *
*/ @JsonProperty("identity_type") private RoleIdentityType identityType; @@ -59,8 +72,11 @@ public class RoleRoleSpec { *

If you wish to create a Postgres Role backed by a managed Databricks identity, then * postgres_role must be one of the following: * - *

1. user email for IdentityType.USER 2. app ID for IdentityType.SERVICE_PRINCIPAL 2. group - * name for IdentityType.GROUP + *

    + *
  1. user email for IdentityType.USER + *
  2. app ID for IdentityType.SERVICE_PRINCIPAL + *
  3. group name for IdentityType.GROUP + *
*/ @JsonProperty("postgres_role") private String postgresRole; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/SyncedTableSyncedTableSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/SyncedTableSyncedTableSpec.java index 745692c75..cae67783a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/SyncedTableSyncedTableSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/SyncedTableSyncedTableSpec.java @@ -71,8 +71,10 @@ public class SyncedTableSyncedTableSpec { * *

For the corresponding destination table, use any of the two: * - *

* synced_table_id used at the creation of the SyncedTable * "name" consisting of - * "synced_tables/" prefix and the full name of the destination table. + *

    + *
  • synced_table_id used at the creation of the SyncedTable + *
  • "name" consisting of "synced_tables/" prefix and the full name of the destination table. + *
*/ @JsonProperty("source_table_full_name") private String sourceTableFullName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateBranchRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateBranchRequest.java index 466db20f8..acd5b3441 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateBranchRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateBranchRequest.java @@ -15,7 +15,7 @@ public class UpdateBranchRequest { /** * The Branch to update. * - *

The branch's `name` field is used to identify the branch to update. Format: + *

The branch's {@code name} field is used to identify the branch to update. Format: * projects/{project_id}/branches/{branch_id} */ @JsonProperty("branch") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateDatabaseRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateDatabaseRequest.java index 62ee9e186..f413b8728 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateDatabaseRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateDatabaseRequest.java @@ -15,7 +15,7 @@ public class UpdateDatabaseRequest { /** * The Database to update. * - *

The database's `name` field is used to identify the database to update. Format: + *

The database's {@code name} field is used to identify the database to update. Format: * projects/{project_id}/branches/{branch_id}/databases/{database_id} */ @JsonProperty("database") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateEndpointRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateEndpointRequest.java index 082b8cdd4..1aa3db364 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateEndpointRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateEndpointRequest.java @@ -15,7 +15,7 @@ public class UpdateEndpointRequest { /** * The Endpoint to update. * - *

The endpoint's `name` field is used to identify the endpoint to update. Format: + *

The endpoint's {@code name} field is used to identify the endpoint to update. Format: * projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id} */ @JsonProperty("endpoint") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateProjectRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateProjectRequest.java index b484e80d9..19c39359e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateProjectRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateProjectRequest.java @@ -18,7 +18,7 @@ public class UpdateProjectRequest { /** * The Project to update. * - *

The project's `name` field is used to identify the project to update. Format: + *

The project's {@code name} field is used to identify the project to update. Format: * projects/{project_id} */ @JsonProperty("project") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateRoleRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateRoleRequest.java index 9249a2f37..a74a3ecc4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateRoleRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/UpdateRoleRequest.java @@ -21,7 +21,7 @@ public class UpdateRoleRequest { /** * The Postgres Role to update. * - *

The role's `name` field is used to identify the role to update. Format: + *

The role's {@code name} field is used to identify the role to update. Format: * projects/{project_id}/branches/{branch_id}/roles/{role_id} */ @JsonProperty("role") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/AwsKeyInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/AwsKeyInfo.java index 9cd72cb1f..bfef198d6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/AwsKeyInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/AwsKeyInfo.java @@ -22,9 +22,9 @@ public class AwsKeyInfo { private String keyRegion; /** - * This field applies only if the `use_cases` property includes `STORAGE`. If this is set to true - * or omitted, the key is also used to encrypt cluster EBS volumes. If you do not want to use this - * key for encrypting EBS volumes, set to false. + * This field applies only if the {@code use_cases} property includes {@code STORAGE}. If this is + * set to true or omitted, the key is also used to encrypt cluster EBS volumes. If you do not want + * to use this key for encrypting EBS volumes, set to false. */ @JsonProperty("reuse_key_for_cluster_volumes") private Boolean reuseKeyForClusterVolumes; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CreateAwsKeyInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CreateAwsKeyInfo.java index 6478ac476..713f5fa39 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CreateAwsKeyInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CreateAwsKeyInfo.java @@ -22,9 +22,9 @@ public class CreateAwsKeyInfo { private String keyRegion; /** - * This field applies only if the `use_cases` property includes `STORAGE`. If this is set to true - * or omitted, the key is also used to encrypt cluster EBS volumes. If you do not want to use this - * key for encrypting EBS volumes, set to false. + * This field applies only if the {@code use_cases} property includes {@code STORAGE}. If this is + * set to true or omitted, the key is also used to encrypt cluster EBS volumes. If you do not want + * to use this key for encrypting EBS volumes, set to false. */ @JsonProperty("reuse_key_for_cluster_volumes") private Boolean reuseKeyForClusterVolumes; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CreateNetworkRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CreateNetworkRequest.java index 65b9799c3..5786cfe1a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CreateNetworkRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CreateNetworkRequest.java @@ -19,14 +19,14 @@ public class CreateNetworkRequest { private String networkName; /** - * IDs of one to five security groups associated with this network. Security group IDs **cannot** - * be used in multiple network configurations. + * IDs of one to five security groups associated with this network. Security group IDs + * cannot be used in multiple network configurations. */ @JsonProperty("security_group_ids") private Collection securityGroupIds; /** - * IDs of at least two subnets associated with this network. Subnet IDs **cannot** be used in + * IDs of at least two subnets associated with this network. Subnet IDs cannot be used in * multiple network configurations. */ @JsonProperty("subnet_ids") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CreatePrivateAccessSettingsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CreatePrivateAccessSettingsRequest.java index bf8d4bd70..f1b2faa60 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CreatePrivateAccessSettingsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CreatePrivateAccessSettingsRequest.java @@ -24,10 +24,10 @@ public class CreatePrivateAccessSettingsRequest { /** * The private access level controls which VPC endpoints can connect to the UI or API of any - * workspace that attaches this private access settings object. `ACCOUNT` level access (the + * workspace that attaches this private access settings object. {@code ACCOUNT} level access (the * default) allows only VPC endpoints that are registered in your Databricks account connect to - * your workspace. `ENDPOINT` level access allows only specified VPC endpoints connect to your - * workspace. For details, see allowed_vpc_endpoint_ids. + * your workspace. {@code ENDPOINT} level access allows only specified VPC endpoints connect to + * your workspace. For details, see allowed_vpc_endpoint_ids. */ @JsonProperty("private_access_level") private PrivateAccessLevel privateAccessLevel; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CreateWorkspaceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CreateWorkspaceRequest.java index 40e3fd63c..105e8bc24 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CreateWorkspaceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CreateWorkspaceRequest.java @@ -16,7 +16,7 @@ public class CreateWorkspaceRequest { /** * DEPRECATED: This field is being ignored by the server and will be removed in the future. The - * cloud name. This field always has the value `gcp`. + * cloud name. This field always has the value {@code gcp}. */ @JsonProperty("cloud") private String cloud; @@ -26,11 +26,11 @@ public class CreateWorkspaceRequest { private CloudResourceContainer cloudResourceContainer; /** - * If the compute mode is `SERVERLESS`, a serverless workspace is created that comes + * If the compute mode is {@code SERVERLESS}, a serverless workspace is created that comes * pre-configured with serverless compute and default storage, providing a fully-managed, * enterprise-ready SaaS experience. This means you don't need to provide any resources managed by - * you, such as credentials, storage, or network. If the compute mode is `HYBRID` (which is the - * default option), a classic workspace is created that uses customer-managed resources. + * you, such as credentials, storage, or network. If the compute mode is {@code HYBRID} (which is + * the default option), a classic workspace is created that uses customer-managed resources. */ @JsonProperty("compute_mode") private CustomerFacingComputeMode computeMode; @@ -77,8 +77,8 @@ public class CreateWorkspaceRequest { private GkeConfig gkeConfig; /** - * The Google Cloud region of the workspace data plane in your Google account (for example, - * `us-east4`). + * The Google Cloud region of the workspace data plane in your Google account (for example, {@code + * us-east4}). */ @JsonProperty("location") private String location; @@ -113,13 +113,12 @@ public class CreateWorkspaceRequest { /** * ID of the workspace's private access settings object. Only used for PrivateLink. You must - * specify this ID if you are using [AWS PrivateLink] for either front-end (user-to-workspace - * connection), back-end (data plane to control plane connection), or both connection types. - * Before configuring PrivateLink, read the [Databricks article about PrivateLink].", - * - *

[AWS PrivateLink]: https://aws.amazon.com/privatelink/ [Databricks article about - * PrivateLink]: - * https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html + * specify this ID if you are using AWS + * PrivateLink for either front-end (user-to-workspace connection), back-end (data plane to + * control plane connection), or both connection types. Before configuring PrivateLink, read the + * Databricks + * article about PrivateLink.", */ @JsonProperty("private_access_settings_id") private String privateAccessSettingsId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CredentialsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CredentialsAPI.java index 0b6e31ec6..c9aae94c5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CredentialsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CredentialsAPI.java @@ -35,14 +35,12 @@ public CredentialsAPI(CredentialsService mock) { * Account API account ID) in the returned credential object, and configure the required access * policy. * - *

Save the response's `credentials_id` field, which is the ID for your new credential + *

Save the response's {@code credentials_id} field, which is the ID for your new credential * configuration object. * - *

For information about how to create a new workspace with this API, see [Create a new - * workspace using the Account API] - * - *

[Create a new workspace using the Account API]: - * http://docs.databricks.com/administration-guide/account-api/new-workspace.html + *

For information about how to create a new workspace with this API, see Create a + * new workspace using the Account API */ public Credential create(CreateCredentialRequest request) { return impl.create(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CredentialsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CredentialsService.java index 31a55161c..a659a687f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CredentialsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/CredentialsService.java @@ -23,14 +23,12 @@ public interface CredentialsService { * Account API account ID) in the returned credential object, and configure the required access * policy. * - *

Save the response's `credentials_id` field, which is the ID for your new credential + *

Save the response's {@code credentials_id} field, which is the ID for your new credential * configuration object. * - *

For information about how to create a new workspace with this API, see [Create a new - * workspace using the Account API] - * - *

[Create a new workspace using the Account API]: - * http://docs.databricks.com/administration-guide/account-api/new-workspace.html + *

For information about how to create a new workspace with this API, see Create a + * new workspace using the Account API */ Credential create(CreateCredentialRequest createCredentialRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/EncryptionKeysAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/EncryptionKeysAPI.java index b6155841c..74af985ec 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/EncryptionKeysAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/EncryptionKeysAPI.java @@ -11,9 +11,12 @@ * configuration encapsulates the AWS KMS key information and some information about how the key * configuration can be used. There are two possible uses for key configurations: * - *

* Managed services: A key configuration can be used to encrypt a workspace's notebook and - * secret data in the control plane, as well as Databricks SQL queries and query history. * Storage: - * A key configuration can be used to encrypt a workspace's DBFS and EBS data in the data plane. + *

    + *
  • Managed services: A key configuration can be used to encrypt a workspace's notebook and + * secret data in the control plane, as well as Databricks SQL queries and query history. + *
  • Storage: A key configuration can be used to encrypt a workspace's DBFS and EBS data in the + * data plane. + *
* *

In both of these cases, the key configuration's ID is used when creating a new workspace. This * Preview feature is available if your account is on the E2 version of the platform. Updating a @@ -46,21 +49,20 @@ public EncryptionKeysAPI(EncryptionKeysService mock) { * workspace storage, the key encrypts the workspace's root S3 bucket (which contains the * workspace's root DBFS and system data) and, optionally, cluster EBS volume data. * - *

**Important**: Customer-managed keys are supported only for some deployment types, + *

Important: Customer-managed keys are supported only for some deployment types, * subscription types, and AWS regions that currently support creation of Databricks workspaces. * *

This operation is available only if your account is on the E2 version of the platform or on * a select custom plan that allows multiple workspaces per account. * - *

**GCP only**: To create a customer-managed key on GCP, you must include the - * `X-Databricks-GCP-SA-Access-Token` HTTP header in your request. This header must contain a - * Google Cloud OAuth access token with the `cloud-platform` scope. The Google identity associated - * with the token must also have the `setIamPermissions` and `getIamPermissions` IAM permissions - * on the key resource. For details on obtaining this token, see [Authenticate with Google ID - * tokens]. - * - *

[Authenticate with Google ID tokens]: - * https://docs.databricks.com/gcp/en/dev-tools/auth/authentication-google-id.html + *

GCP only: To create a customer-managed key on GCP, you must include the {@code + * X-Databricks-GCP-SA-Access-Token} HTTP header in your request. This header must contain a + * Google Cloud OAuth access token with the {@code cloud-platform} scope. The Google identity + * associated with the token must also have the {@code setIamPermissions} and {@code + * getIamPermissions} IAM permissions on the key resource. For details on obtaining this token, + * see Authenticate + * with Google ID tokens. */ public CustomerManagedKey create(CreateCustomerManagedKeyRequest request) { return impl.create(request); @@ -91,7 +93,7 @@ public CustomerManagedKey get(String customerManagedKeyId) { * key encrypts the workspace's root S3 bucket (which contains the workspace's root DBFS and * system data) and, optionally, cluster EBS volume data. * - *

**Important**: Customer-managed keys are supported only for some deployment types, + *

Important: Customer-managed keys are supported only for some deployment types, * subscription types, and AWS regions. * *

This operation is available only if your account is on the E2 version of the platform.", diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/EncryptionKeysService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/EncryptionKeysService.java index 748178cc2..fbce47473 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/EncryptionKeysService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/EncryptionKeysService.java @@ -9,9 +9,12 @@ * configuration encapsulates the AWS KMS key information and some information about how the key * configuration can be used. There are two possible uses for key configurations: * - *

* Managed services: A key configuration can be used to encrypt a workspace's notebook and - * secret data in the control plane, as well as Databricks SQL queries and query history. * Storage: - * A key configuration can be used to encrypt a workspace's DBFS and EBS data in the data plane. + *

    + *
  • Managed services: A key configuration can be used to encrypt a workspace's notebook and + * secret data in the control plane, as well as Databricks SQL queries and query history. + *
  • Storage: A key configuration can be used to encrypt a workspace's DBFS and EBS data in the + * data plane. + *
* *

In both of these cases, the key configuration's ID is used when creating a new workspace. This * Preview feature is available if your account is on the E2 version of the platform. Updating a @@ -34,21 +37,20 @@ public interface EncryptionKeysService { * workspace storage, the key encrypts the workspace's root S3 bucket (which contains the * workspace's root DBFS and system data) and, optionally, cluster EBS volume data. * - *

**Important**: Customer-managed keys are supported only for some deployment types, + *

Important: Customer-managed keys are supported only for some deployment types, * subscription types, and AWS regions that currently support creation of Databricks workspaces. * *

This operation is available only if your account is on the E2 version of the platform or on * a select custom plan that allows multiple workspaces per account. * - *

**GCP only**: To create a customer-managed key on GCP, you must include the - * `X-Databricks-GCP-SA-Access-Token` HTTP header in your request. This header must contain a - * Google Cloud OAuth access token with the `cloud-platform` scope. The Google identity associated - * with the token must also have the `setIamPermissions` and `getIamPermissions` IAM permissions - * on the key resource. For details on obtaining this token, see [Authenticate with Google ID - * tokens]. - * - *

[Authenticate with Google ID tokens]: - * https://docs.databricks.com/gcp/en/dev-tools/auth/authentication-google-id.html + *

GCP only: To create a customer-managed key on GCP, you must include the {@code + * X-Databricks-GCP-SA-Access-Token} HTTP header in your request. This header must contain a + * Google Cloud OAuth access token with the {@code cloud-platform} scope. The Google identity + * associated with the token must also have the {@code setIamPermissions} and {@code + * getIamPermissions} IAM permissions on the key resource. For details on obtaining this token, + * see Authenticate + * with Google ID tokens. */ CustomerManagedKey create(CreateCustomerManagedKeyRequest createCustomerManagedKeyRequest); @@ -67,7 +69,7 @@ public interface EncryptionKeysService { * key encrypts the workspace's root S3 bucket (which contains the workspace's root DBFS and * system data) and, optionally, cluster EBS volume data. * - *

**Important**: Customer-managed keys are supported only for some deployment types, + *

Important: Customer-managed keys are supported only for some deployment types, * subscription types, and AWS regions. * *

This operation is available only if your account is on the E2 version of the platform.", diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GkeConfigConnectivityType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GkeConfigConnectivityType.java index 9f2088097..0c7697bc2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GkeConfigConnectivityType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/GkeConfigConnectivityType.java @@ -7,11 +7,11 @@ /** * Specifies the network connectivity types for the GKE nodes and the GKE master network. * - *

Set to `PRIVATE_NODE_PUBLIC_MASTER` for a private GKE cluster for the workspace. The GKE nodes - * will not have public IPs. + *

Set to {@code PRIVATE_NODE_PUBLIC_MASTER} for a private GKE cluster for the workspace. The GKE + * nodes will not have public IPs. * - *

Set to `PUBLIC_NODE_PUBLIC_MASTER` for a public GKE cluster. The nodes of a public GKE cluster - * have public IP addresses. + *

Set to {@code PUBLIC_NODE_PUBLIC_MASTER} for a public GKE cluster. The nodes of a public GKE + * cluster have public IP addresses. */ @Generated public enum GkeConfigConnectivityType { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/Network.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/Network.java index 39be0950e..314c516bc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/Network.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/Network.java @@ -35,14 +35,14 @@ public class Network { private String networkName; /** - * IDs of one to five security groups associated with this network. Security group IDs **cannot** - * be used in multiple network configurations. + * IDs of one to five security groups associated with this network. Security group IDs + * cannot be used in multiple network configurations. */ @JsonProperty("security_group_ids") private Collection securityGroupIds; /** - * IDs of at least two subnets associated with this network. Subnet IDs **cannot** be used in + * IDs of at least two subnets associated with this network. Subnet IDs cannot be used in * multiple network configurations. */ @JsonProperty("subnet_ids") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/PrivateAccessSettings.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/PrivateAccessSettings.java index a36f8b90b..f9ff6b4d2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/PrivateAccessSettings.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/PrivateAccessSettings.java @@ -8,7 +8,7 @@ import java.util.Collection; import java.util.Objects; -/** * */ +/** */ @Generated public class PrivateAccessSettings { /** The Databricks account ID that hosts the private access settings. */ @@ -29,10 +29,10 @@ public class PrivateAccessSettings { /** * The private access level controls which VPC endpoints can connect to the UI or API of any - * workspace that attaches this private access settings object. `ACCOUNT` level access (the + * workspace that attaches this private access settings object. {@code ACCOUNT} level access (the * default) allows only VPC endpoints that are registered in your Databricks account connect to - * your workspace. `ENDPOINT` level access allows only specified VPC endpoints connect to your - * workspace. For details, see allowed_vpc_endpoint_ids. + * your workspace. {@code ENDPOINT} level access allows only specified VPC endpoints connect to + * your workspace. For details, see allowed_vpc_endpoint_ids. */ @JsonProperty("private_access_level") private PrivateAccessLevel privateAccessLevel; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/UpdateWorkspaceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/UpdateWorkspaceRequest.java index 242a2a8ba..c591d6360 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/UpdateWorkspaceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/UpdateWorkspaceRequest.java @@ -17,14 +17,14 @@ public class UpdateWorkspaceRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonIgnore @QueryParam("update_mask") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpoint.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpoint.java index 7cd94edc4..3fc3d7ce9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpoint.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpoint.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** * */ +/** */ @Generated public class VpcEndpoint { /** @@ -22,13 +22,12 @@ public class VpcEndpoint { private String awsAccountId; /** - * The ID of the Databricks [endpoint service] that this VPC endpoint is connected to. For a list - * of endpoint service IDs for each supported AWS region, see the [Databricks PrivateLink - * documentation]. - * - *

[Databricks PrivateLink documentation]: - * https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html - * [endpoint service]: https://docs.aws.amazon.com/vpc/latest/privatelink/endpoint-service.html + * The ID of the Databricks endpoint + * service that this VPC endpoint is connected to. For a list of endpoint service IDs for each + * supported AWS region, see the Databricks + * PrivateLink documentation. */ @JsonProperty("aws_endpoint_service_id") private String awsEndpointServiceId; @@ -46,11 +45,10 @@ public class VpcEndpoint { private String region; /** - * The current state (such as `available` or `rejected`) of the VPC endpoint. Derived from AWS. - * For the full set of values, see [AWS DescribeVpcEndpoint documentation]. - * - *

[AWS DescribeVpcEndpoint documentation]: - * https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-vpc-endpoints.html + * The current state (such as {@code available} or {@code rejected}) of the VPC endpoint. Derived + * from AWS. For the full set of values, see AWS + * DescribeVpcEndpoint documentation. */ @JsonProperty("state") private String state; @@ -67,7 +65,8 @@ public class VpcEndpoint { /** * Databricks VPC endpoint ID. This is the Databricks-specific name of the VPC endpoint. Do not - * confuse this with the `aws_vpc_endpoint_id`, which is the ID within AWS of the VPC endpoint. + * confuse this with the {@code aws_vpc_endpoint_id}, which is the ID within AWS of the VPC + * endpoint. */ @JsonProperty("vpc_endpoint_id") private String vpcEndpointId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpointsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpointsAPI.java index c16d515c4..331b9feff 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpointsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpointsAPI.java @@ -24,20 +24,18 @@ public VpcEndpointsAPI(VpcEndpointsService mock) { } /** - * Creates a VPC endpoint configuration, which represents a [VPC endpoint] object in AWS used to - * communicate privately with Databricks over [AWS PrivateLink]. + * Creates a VPC endpoint configuration, which represents a VPC endpoint + * object in AWS used to communicate privately with Databricks over AWS PrivateLink. * - *

After you create the VPC endpoint configuration, the Databricks [endpoint service] - * automatically accepts the VPC endpoint. + *

After you create the VPC endpoint configuration, the Databricks endpoint + * service automatically accepts the VPC endpoint. * - *

Before configuring PrivateLink, read the [Databricks article about PrivateLink]. - * - *

[AWS PrivateLink]: https://aws.amazon.com/privatelink [Databricks article about - * PrivateLink]: - * https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html [VPC - * endpoint]: https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints.html [endpoint - * service]: - * https://docs.aws.amazon.com/vpc/latest/privatelink/privatelink-share-your-services.html + *

Before configuring PrivateLink, read the Databricks + * article about PrivateLink. */ public VpcEndpoint create(CreateVpcEndpointRequest request) { return impl.create(request); @@ -60,11 +58,10 @@ public VpcEndpoint get(String vpcEndpointId) { } /** - * Gets a VPC endpoint configuration, which represents a [VPC endpoint] object in AWS used to - * communicate privately with Databricks over [AWS PrivateLink]. - * - *

[AWS PrivateLink]: https://aws.amazon.com/privatelink [VPC endpoint]: - * https://docs.aws.amazon.com/vpc/latest/privatelink/concepts.html + * Gets a VPC endpoint configuration, which represents a VPC endpoint object + * in AWS used to communicate privately with Databricks over AWS PrivateLink. */ public VpcEndpoint get(GetVpcEndpointRequest request) { return impl.get(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpointsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpointsService.java index 8814e90ac..f4e29f3be 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpointsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/VpcEndpointsService.java @@ -14,20 +14,18 @@ @Generated public interface VpcEndpointsService { /** - * Creates a VPC endpoint configuration, which represents a [VPC endpoint] object in AWS used to - * communicate privately with Databricks over [AWS PrivateLink]. + * Creates a VPC endpoint configuration, which represents a VPC endpoint + * object in AWS used to communicate privately with Databricks over AWS PrivateLink. * - *

After you create the VPC endpoint configuration, the Databricks [endpoint service] - * automatically accepts the VPC endpoint. + *

After you create the VPC endpoint configuration, the Databricks endpoint + * service automatically accepts the VPC endpoint. * - *

Before configuring PrivateLink, read the [Databricks article about PrivateLink]. - * - *

[AWS PrivateLink]: https://aws.amazon.com/privatelink [Databricks article about - * PrivateLink]: - * https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html [VPC - * endpoint]: https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints.html [endpoint - * service]: - * https://docs.aws.amazon.com/vpc/latest/privatelink/privatelink-share-your-services.html + *

Before configuring PrivateLink, read the Databricks + * article about PrivateLink. */ VpcEndpoint create(CreateVpcEndpointRequest createVpcEndpointRequest); @@ -38,11 +36,10 @@ public interface VpcEndpointsService { VpcEndpoint delete(DeleteVpcEndpointRequest deleteVpcEndpointRequest); /** - * Gets a VPC endpoint configuration, which represents a [VPC endpoint] object in AWS used to - * communicate privately with Databricks over [AWS PrivateLink]. - * - *

[AWS PrivateLink]: https://aws.amazon.com/privatelink [VPC endpoint]: - * https://docs.aws.amazon.com/vpc/latest/privatelink/concepts.html + * Gets a VPC endpoint configuration, which represents a VPC endpoint object + * in AWS used to communicate privately with Databricks over AWS PrivateLink. */ VpcEndpoint get(GetVpcEndpointRequest getVpcEndpointRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/Workspace.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/Workspace.java index b924a754a..c66b1d5e8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/Workspace.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/Workspace.java @@ -22,7 +22,7 @@ public class Workspace { @JsonProperty("azure_workspace_info") private AzureWorkspaceInfo azureWorkspaceInfo; - /** The cloud name. This field can have values like `azure`, `gcp`. */ + /** The cloud name. This field can have values like {@code azure}, {@code gcp}. */ @JsonProperty("cloud") private String cloud; @@ -70,8 +70,8 @@ public class Workspace { private GkeConfig gkeConfig; /** - * The Google Cloud region of the workspace data plane in your Google account (for example, - * `us-east4`). + * The Google Cloud region of the workspace data plane in your Google account (for example, {@code + * us-east4}). */ @JsonProperty("location") private String location; @@ -83,7 +83,7 @@ public class Workspace { /** * The network configuration for the workspace. * - *

DEPRECATED. Use `network_id` instead. + *

DEPRECATED. Use {@code network_id} instead. */ @JsonProperty("network") private WorkspaceNetwork network; @@ -105,14 +105,13 @@ public class Workspace { /** * ID of the workspace's private access settings object. Only used for PrivateLink. You must - * specify this ID if you are using [AWS PrivateLink] for either front-end (user-to-workspace - * connection), back-end (data plane to control plane connection), or both connection types. + * specify this ID if you are using AWS + * PrivateLink for either front-end (user-to-workspace connection), back-end (data plane to + * control plane connection), or both connection types. * - *

Before configuring PrivateLink, read the [Databricks article about PrivateLink].", - * - *

[AWS PrivateLink]: https://aws.amazon.com/privatelink/ [Databricks article about - * PrivateLink]: - * https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html + *

Before configuring PrivateLink, read the Databricks + * article about PrivateLink.", */ @JsonProperty("private_access_settings_id") private String privateAccessSettingsId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspaceStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspaceStatus.java index 628d49e35..913c4beda 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspaceStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspaceStatus.java @@ -6,11 +6,12 @@ /** * The different statuses of a workspace. The following represents the current set of valid - * transitions from status to status: NOT_PROVISIONED -> PROVISIONING -> CANCELLED PROVISIONING -> - * RUNNING -> FAILED -> CANCELLED (note that this transition is disallowed in the MultiWorkspace - * Project) RUNNING -> PROVISIONING -> BANNED -> CANCELLED FAILED -> PROVISIONING -> CANCELLED - * BANNED -> RUNNING -> CANCELLED Note that a transition from any state to itself is also valid. - * TODO(PLAT-5867): add a transition from CANCELLED to some other value (e.g. RECOVERING) + * transitions from status to status: NOT_PROVISIONED -> PROVISIONING -> CANCELLED + * PROVISIONING -> RUNNING -> FAILED -> CANCELLED (note that this transition is disallowed + * in the MultiWorkspace Project) RUNNING -> PROVISIONING -> BANNED -> CANCELLED FAILED + * -> PROVISIONING -> CANCELLED BANNED -> RUNNING -> CANCELLED Note that a transition + * from any state to itself is also valid. TODO(PLAT-5867): add a transition from CANCELLED to some + * other value (e.g. RECOVERING) */ @Generated public enum WorkspaceStatus { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspacesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspacesAPI.java index e17d86d39..7be01d4de 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspacesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspacesAPI.java @@ -104,7 +104,9 @@ public Workspace waitGetWorkspaceRunning( * configuration across workspaces. * *

For information about how to create a new workspace with this API including error handling, - * see [Create a new workspace using the Account API]. + * see Create a + * new workspace using the Account API. * *

Important: Customer-managed VPCs, PrivateLink, and customer-managed keys are supported on a * limited set of deployment and subscription types. If you have questions about availability, @@ -112,9 +114,6 @@ public Workspace waitGetWorkspaceRunning( * *

This operation is available only if your account is on the E2 version of the platform or on * a select custom plan that allows multiple workspaces per account. - * - *

[Create a new workspace using the Account API]: - * http://docs.databricks.com/administration-guide/account-api/new-workspace.html */ public Wait create(CreateWorkspaceRequest request) { Workspace response = impl.create(request); @@ -139,14 +138,13 @@ public Workspace get(long workspaceId) { /** * Gets information including status for a Databricks workspace, specified by ID. In the response, - * the `workspace_status` field indicates the current status. After initial workspace creation - * (which is asynchronous), make repeated `GET` requests with the workspace ID and check its - * status. The workspace becomes available when the status changes to `RUNNING`. For information - * about how to create a new workspace with this API **including error handling**, see [Create a - * new workspace using the Account API]. - * - *

[Create a new workspace using the Account API]: - * http://docs.databricks.com/administration-guide/account-api/new-workspace.html + * the {@code workspace_status} field indicates the current status. After initial workspace + * creation (which is asynchronous), make repeated {@code GET} requests with the workspace ID and + * check its status. The workspace becomes available when the status changes to {@code RUNNING}. + * For information about how to create a new workspace with this API including error + * handling, see Create a + * new workspace using the Account API. */ public Workspace get(GetWorkspaceRequest request) { return impl.get(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspacesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspacesService.java index 8388eeb18..00d9872f6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspacesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/provisioning/WorkspacesService.java @@ -41,7 +41,9 @@ public interface WorkspacesService { * configuration across workspaces. * *

For information about how to create a new workspace with this API including error handling, - * see [Create a new workspace using the Account API]. + * see Create a + * new workspace using the Account API. * *

Important: Customer-managed VPCs, PrivateLink, and customer-managed keys are supported on a * limited set of deployment and subscription types. If you have questions about availability, @@ -49,9 +51,6 @@ public interface WorkspacesService { * *

This operation is available only if your account is on the E2 version of the platform or on * a select custom plan that allows multiple workspaces per account. - * - *

[Create a new workspace using the Account API]: - * http://docs.databricks.com/administration-guide/account-api/new-workspace.html */ Workspace create(CreateWorkspaceRequest createWorkspaceRequest); @@ -60,14 +59,13 @@ public interface WorkspacesService { /** * Gets information including status for a Databricks workspace, specified by ID. In the response, - * the `workspace_status` field indicates the current status. After initial workspace creation - * (which is asynchronous), make repeated `GET` requests with the workspace ID and check its - * status. The workspace becomes available when the status changes to `RUNNING`. For information - * about how to create a new workspace with this API **including error handling**, see [Create a - * new workspace using the Account API]. - * - *

[Create a new workspace using the Account API]: - * http://docs.databricks.com/administration-guide/account-api/new-workspace.html + * the {@code workspace_status} field indicates the current status. After initial workspace + * creation (which is asynchronous), make repeated {@code GET} requests with the workspace ID and + * check its status. The workspace becomes available when the status changes to {@code RUNNING}. + * For information about how to create a new workspace with this API including error + * handling, see Create a + * new workspace using the Account API. */ Workspace get(GetWorkspaceRequest getWorkspaceRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/QualityMonitorV2API.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/QualityMonitorV2API.java index 11c987ebf..919cc7a90 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/QualityMonitorV2API.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/QualityMonitorV2API.java @@ -9,7 +9,8 @@ /** * Deprecated: Please use the Data Quality Monitoring API instead (REST: - * /api/data-quality/v1/monitors). Manage data quality of UC objects (currently support `schema`). + * /api/data-quality/v1/monitors). Manage data quality of UC objects (currently support {@code + * schema}). */ @Generated public class QualityMonitorV2API { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/QualityMonitorV2Service.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/QualityMonitorV2Service.java index 12ba64d15..a71df3e21 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/QualityMonitorV2Service.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/qualitymonitorv2/QualityMonitorV2Service.java @@ -5,7 +5,8 @@ /** * Deprecated: Please use the Data Quality Monitoring API instead (REST: - * /api/data-quality/v1/monitors). Manage data quality of UC objects (currently support `schema`). + * /api/data-quality/v1/monitors). Manage data quality of UC objects (currently support {@code + * schema}). * *

This is the high-level interface, that contains generated methods. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/Ai21LabsConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/Ai21LabsConfig.java index 074fb8e5c..3974e42db 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/Ai21LabsConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/Ai21LabsConfig.java @@ -11,16 +11,16 @@ public class Ai21LabsConfig { /** * The Databricks secret key reference for an AI21 Labs API key. If you prefer to paste your API - * key directly, see `ai21labs_api_key_plaintext`. You must provide an API key using one of the - * following fields: `ai21labs_api_key` or `ai21labs_api_key_plaintext`. + * key directly, see {@code ai21labs_api_key_plaintext}. You must provide an API key using one of + * the following fields: {@code ai21labs_api_key} or {@code ai21labs_api_key_plaintext}. */ @JsonProperty("ai21labs_api_key") private String ai21labsApiKey; /** * An AI21 Labs API key provided as a plaintext string. If you prefer to reference your key using - * Databricks Secrets, see `ai21labs_api_key`. You must provide an API key using one of the - * following fields: `ai21labs_api_key` or `ai21labs_api_key_plaintext`. + * Databricks Secrets, see {@code ai21labs_api_key}. You must provide an API key using one of the + * following fields: {@code ai21labs_api_key} or {@code ai21labs_api_key_plaintext}. */ @JsonProperty("ai21labs_api_key_plaintext") private String ai21labsApiKeyPlaintext; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/AmazonBedrockConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/AmazonBedrockConfig.java index 430410354..9b2e8bcf8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/AmazonBedrockConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/AmazonBedrockConfig.java @@ -11,18 +11,18 @@ public class AmazonBedrockConfig { /** * The Databricks secret key reference for an AWS access key ID with permissions to interact with - * Bedrock services. If you prefer to paste your API key directly, see - * `aws_access_key_id_plaintext`. You must provide an API key using one of the following fields: - * `aws_access_key_id` or `aws_access_key_id_plaintext`. + * Bedrock services. If you prefer to paste your API key directly, see {@code + * aws_access_key_id_plaintext}. You must provide an API key using one of the following fields: + * {@code aws_access_key_id} or {@code aws_access_key_id_plaintext}. */ @JsonProperty("aws_access_key_id") private String awsAccessKeyId; /** * An AWS access key ID with permissions to interact with Bedrock services provided as a plaintext - * string. If you prefer to reference your key using Databricks Secrets, see `aws_access_key_id`. - * You must provide an API key using one of the following fields: `aws_access_key_id` or - * `aws_access_key_id_plaintext`. + * string. If you prefer to reference your key using Databricks Secrets, see {@code + * aws_access_key_id}. You must provide an API key using one of the following fields: {@code + * aws_access_key_id} or {@code aws_access_key_id_plaintext}. */ @JsonProperty("aws_access_key_id_plaintext") private String awsAccessKeyIdPlaintext; @@ -34,8 +34,8 @@ public class AmazonBedrockConfig { /** * The Databricks secret key reference for an AWS secret access key paired with the access key ID, * with permissions to interact with Bedrock services. If you prefer to paste your API key - * directly, see `aws_secret_access_key_plaintext`. You must provide an API key using one of the - * following fields: `aws_secret_access_key` or `aws_secret_access_key_plaintext`. + * directly, see {@code aws_secret_access_key_plaintext}. You must provide an API key using one of + * the following fields: {@code aws_secret_access_key} or {@code aws_secret_access_key_plaintext}. */ @JsonProperty("aws_secret_access_key") private String awsSecretAccessKey; @@ -43,8 +43,8 @@ public class AmazonBedrockConfig { /** * An AWS secret access key paired with the access key ID, with permissions to interact with * Bedrock services provided as a plaintext string. If you prefer to reference your key using - * Databricks Secrets, see `aws_secret_access_key`. You must provide an API key using one of the - * following fields: `aws_secret_access_key` or `aws_secret_access_key_plaintext`. + * Databricks Secrets, see {@code aws_secret_access_key}. You must provide an API key using one of + * the following fields: {@code aws_secret_access_key} or {@code aws_secret_access_key_plaintext}. */ @JsonProperty("aws_secret_access_key_plaintext") private String awsSecretAccessKeyPlaintext; @@ -59,8 +59,8 @@ public class AmazonBedrockConfig { /** * ARN of the instance profile that the external model will use to access AWS resources. You must * authenticate using an instance profile or access keys. If you prefer to authenticate using - * access keys, see `aws_access_key_id`, `aws_access_key_id_plaintext`, `aws_secret_access_key` - * and `aws_secret_access_key_plaintext`. + * access keys, see {@code aws_access_key_id}, {@code aws_access_key_id_plaintext}, {@code + * aws_secret_access_key} and {@code aws_secret_access_key_plaintext}. */ @JsonProperty("instance_profile_arn") private String instanceProfileArn; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/AnthropicConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/AnthropicConfig.java index 021c070e3..06cbd394f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/AnthropicConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/AnthropicConfig.java @@ -11,16 +11,16 @@ public class AnthropicConfig { /** * The Databricks secret key reference for an Anthropic API key. If you prefer to paste your API - * key directly, see `anthropic_api_key_plaintext`. You must provide an API key using one of the - * following fields: `anthropic_api_key` or `anthropic_api_key_plaintext`. + * key directly, see {@code anthropic_api_key_plaintext}. You must provide an API key using one of + * the following fields: {@code anthropic_api_key} or {@code anthropic_api_key_plaintext}. */ @JsonProperty("anthropic_api_key") private String anthropicApiKey; /** * The Anthropic API key provided as a plaintext string. If you prefer to reference your key using - * Databricks Secrets, see `anthropic_api_key`. You must provide an API key using one of the - * following fields: `anthropic_api_key` or `anthropic_api_key_plaintext`. + * Databricks Secrets, see {@code anthropic_api_key}. You must provide an API key using one of the + * following fields: {@code anthropic_api_key} or {@code anthropic_api_key_plaintext}. */ @JsonProperty("anthropic_api_key_plaintext") private String anthropicApiKeyPlaintext; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ApiKeyAuth.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ApiKeyAuth.java index 0a87654f7..8c6967514 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ApiKeyAuth.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ApiKeyAuth.java @@ -15,14 +15,14 @@ public class ApiKeyAuth { /** * The Databricks secret key reference for an API Key. If you prefer to paste your token directly, - * see `value_plaintext`. + * see {@code value_plaintext}. */ @JsonProperty("value") private String value; /** * The API Key provided as a plaintext string. If you prefer to reference your token using - * Databricks Secrets, see `value`. + * Databricks Secrets, see {@code value}. */ @JsonProperty("value_plaintext") private String valuePlaintext; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/BearerTokenAuth.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/BearerTokenAuth.java index 8f1db2a3b..0eb030c73 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/BearerTokenAuth.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/BearerTokenAuth.java @@ -11,14 +11,14 @@ public class BearerTokenAuth { /** * The Databricks secret key reference for a token. If you prefer to paste your token directly, - * see `token_plaintext`. + * see {@code token_plaintext}. */ @JsonProperty("token") private String token; /** * The token provided as a plaintext string. If you prefer to reference your token using - * Databricks Secrets, see `token`. + * Databricks Secrets, see {@code token}. */ @JsonProperty("token_plaintext") private String tokenPlaintext; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/CohereConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/CohereConfig.java index 1b7e310aa..d83e97dc2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/CohereConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/CohereConfig.java @@ -18,16 +18,16 @@ public class CohereConfig { /** * The Databricks secret key reference for a Cohere API key. If you prefer to paste your API key - * directly, see `cohere_api_key_plaintext`. You must provide an API key using one of the - * following fields: `cohere_api_key` or `cohere_api_key_plaintext`. + * directly, see {@code cohere_api_key_plaintext}. You must provide an API key using one of the + * following fields: {@code cohere_api_key} or {@code cohere_api_key_plaintext}. */ @JsonProperty("cohere_api_key") private String cohereApiKey; /** * The Cohere API key provided as a plaintext string. If you prefer to reference your key using - * Databricks Secrets, see `cohere_api_key`. You must provide an API key using one of the - * following fields: `cohere_api_key` or `cohere_api_key_plaintext`. + * Databricks Secrets, see {@code cohere_api_key}. You must provide an API key using one of the + * following fields: {@code cohere_api_key} or {@code cohere_api_key_plaintext}. */ @JsonProperty("cohere_api_key_plaintext") private String cohereApiKeyPlaintext; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/DatabricksModelServingConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/DatabricksModelServingConfig.java index b1ede715c..3c940eb97 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/DatabricksModelServingConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/DatabricksModelServingConfig.java @@ -12,9 +12,9 @@ public class DatabricksModelServingConfig { /** * The Databricks secret key reference for a Databricks API token that corresponds to a user or * service principal with Can Query access to the model serving endpoint pointed to by this - * external model. If you prefer to paste your API key directly, see - * `databricks_api_token_plaintext`. You must provide an API key using one of the following - * fields: `databricks_api_token` or `databricks_api_token_plaintext`. + * external model. If you prefer to paste your API key directly, see {@code + * databricks_api_token_plaintext}. You must provide an API key using one of the following fields: + * {@code databricks_api_token} or {@code databricks_api_token_plaintext}. */ @JsonProperty("databricks_api_token") private String databricksApiToken; @@ -22,9 +22,9 @@ public class DatabricksModelServingConfig { /** * The Databricks API token that corresponds to a user or service principal with Can Query access * to the model serving endpoint pointed to by this external model provided as a plaintext string. - * If you prefer to reference your key using Databricks Secrets, see `databricks_api_token`. You - * must provide an API key using one of the following fields: `databricks_api_token` or - * `databricks_api_token_plaintext`. + * If you prefer to reference your key using Databricks Secrets, see {@code databricks_api_token}. + * You must provide an API key using one of the following fields: {@code databricks_api_token} or + * {@code databricks_api_token_plaintext}. */ @JsonProperty("databricks_api_token_plaintext") private String databricksApiTokenPlaintext; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ExternalFunctionRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ExternalFunctionRequest.java index 6fd727e30..abd18eb70 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ExternalFunctionRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ExternalFunctionRequest.java @@ -39,9 +39,9 @@ public class ExternalFunctionRequest { /** * Optional subdomain to prepend to the connection URL's host. If provided, this will be added as - * a prefix to the connection URL's host. For example, if the connection URL is - * `https://api.example.com/v1` and `sub_domain` is `"custom"`, the resulting URL will be - * `https://custom.api.example.com/v1`. + * a prefix to the connection URL's host. For example, if the connection URL is {@code + * https://api.example.com/v1} and {@code sub_domain} is {@code "custom"}, the resulting URL will + * be {@code https://custom.api.example.com/v1}. */ @JsonProperty("sub_domain") private String subDomain; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GoogleCloudVertexAiConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GoogleCloudVertexAiConfig.java index dd930b78e..d33583918 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GoogleCloudVertexAiConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/GoogleCloudVertexAiConfig.java @@ -11,24 +11,22 @@ public class GoogleCloudVertexAiConfig { /** * The Databricks secret key reference for a private key for the service account which has access - * to the Google Cloud Vertex AI Service. See [Best practices for managing service account keys]. - * If you prefer to paste your API key directly, see `private_key_plaintext`. You must provide an - * API key using one of the following fields: `private_key` or `private_key_plaintext` - * - *

[Best practices for managing service account keys]: - * https://cloud.google.com/iam/docs/best-practices-for-managing-service-account-keys + * to the Google Cloud Vertex AI Service. See Best + * practices for managing service account keys. If you prefer to paste your API key directly, + * see {@code private_key_plaintext}. You must provide an API key using one of the following + * fields: {@code private_key} or {@code private_key_plaintext} */ @JsonProperty("private_key") private String privateKey; /** * The private key for the service account which has access to the Google Cloud Vertex AI Service - * provided as a plaintext secret. See [Best practices for managing service account keys]. If you - * prefer to reference your key using Databricks Secrets, see `private_key`. You must provide an - * API key using one of the following fields: `private_key` or `private_key_plaintext`. - * - *

[Best practices for managing service account keys]: - * https://cloud.google.com/iam/docs/best-practices-for-managing-service-account-keys + * provided as a plaintext secret. See Best + * practices for managing service account keys. If you prefer to reference your key using + * Databricks Secrets, see {@code private_key}. You must provide an API key using one of the + * following fields: {@code private_key} or {@code private_key_plaintext}. */ @JsonProperty("private_key_plaintext") private String privateKeyPlaintext; @@ -38,10 +36,9 @@ public class GoogleCloudVertexAiConfig { private String projectId; /** - * This is the region for the Google Cloud Vertex AI Service. See [supported regions] for more + * This is the region for the Google Cloud Vertex AI Service. See supported regions for more * details. Some models are only available in specific regions. - * - *

[supported regions]: https://cloud.google.com/vertex-ai/docs/general/locations */ @JsonProperty("region") private String region; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/OpenAiConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/OpenAiConfig.java index d7319fc73..9e45e29b0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/OpenAiConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/OpenAiConfig.java @@ -16,18 +16,19 @@ public class OpenAiConfig { /** * The Databricks secret key reference for a client secret used for Microsoft Entra ID - * authentication. If you prefer to paste your client secret directly, see - * `microsoft_entra_client_secret_plaintext`. You must provide an API key using one of the - * following fields: `microsoft_entra_client_secret` or `microsoft_entra_client_secret_plaintext`. + * authentication. If you prefer to paste your client secret directly, see {@code + * microsoft_entra_client_secret_plaintext}. You must provide an API key using one of the + * following fields: {@code microsoft_entra_client_secret} or {@code + * microsoft_entra_client_secret_plaintext}. */ @JsonProperty("microsoft_entra_client_secret") private String microsoftEntraClientSecret; /** * The client secret used for Microsoft Entra ID authentication provided as a plaintext string. If - * you prefer to reference your key using Databricks Secrets, see `microsoft_entra_client_secret`. - * You must provide an API key using one of the following fields: `microsoft_entra_client_secret` - * or `microsoft_entra_client_secret_plaintext`. + * you prefer to reference your key using Databricks Secrets, see {@code + * microsoft_entra_client_secret}. You must provide an API key using one of the following fields: + * {@code microsoft_entra_client_secret} or {@code microsoft_entra_client_secret_plaintext}. */ @JsonProperty("microsoft_entra_client_secret_plaintext") private String microsoftEntraClientSecretPlaintext; @@ -47,16 +48,18 @@ public class OpenAiConfig { /** * The Databricks secret key reference for an OpenAI API key using the OpenAI or Azure service. If - * you prefer to paste your API key directly, see `openai_api_key_plaintext`. You must provide an - * API key using one of the following fields: `openai_api_key` or `openai_api_key_plaintext`. + * you prefer to paste your API key directly, see {@code openai_api_key_plaintext}. You must + * provide an API key using one of the following fields: {@code openai_api_key} or {@code + * openai_api_key_plaintext}. */ @JsonProperty("openai_api_key") private String openaiApiKey; /** * The OpenAI API key using the OpenAI or Azure service provided as a plaintext string. If you - * prefer to reference your key using Databricks Secrets, see `openai_api_key`. You must provide - * an API key using one of the following fields: `openai_api_key` or `openai_api_key_plaintext`. + * prefer to reference your key using Databricks Secrets, see {@code openai_api_key}. You must + * provide an API key using one of the following fields: {@code openai_api_key} or {@code + * openai_api_key_plaintext}. */ @JsonProperty("openai_api_key_plaintext") private String openaiApiKeyPlaintext; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/PaLmConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/PaLmConfig.java index c168b4cf2..9e61fe5bb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/PaLmConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/PaLmConfig.java @@ -11,16 +11,16 @@ public class PaLmConfig { /** * The Databricks secret key reference for a PaLM API key. If you prefer to paste your API key - * directly, see `palm_api_key_plaintext`. You must provide an API key using one of the following - * fields: `palm_api_key` or `palm_api_key_plaintext`. + * directly, see {@code palm_api_key_plaintext}. You must provide an API key using one of the + * following fields: {@code palm_api_key} or {@code palm_api_key_plaintext}. */ @JsonProperty("palm_api_key") private String palmApiKey; /** * The PaLM API key provided as a plaintext string. If you prefer to reference your key using - * Databricks Secrets, see `palm_api_key`. You must provide an API key using one of the following - * fields: `palm_api_key` or `palm_api_key_plaintext`. + * Databricks Secrets, see {@code palm_api_key}. You must provide an API key using one of the + * following fields: {@code palm_api_key} or {@code palm_api_key_plaintext}. */ @JsonProperty("palm_api_key_plaintext") private String palmApiKeyPlaintext; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/PtServedModel.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/PtServedModel.java index e39ac0172..89f57f214 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/PtServedModel.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/PtServedModel.java @@ -21,7 +21,7 @@ public class PtServedModel { * The name of the entity to be served. The entity may be a model in the Databricks Model * Registry, a model in the Unity Catalog (UC), or a function of type FEATURE_SPEC in the UC. If * it is a UC object, the full name of the object should be given in the form of - * **catalog_name.schema_name.model_name**. + * catalog_name.schema_name.model_name. */ @JsonProperty("entity_name") private String entityName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/QueryEndpointInput.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/QueryEndpointInput.java index 0cfdeb698..4e16266e6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/QueryEndpointInput.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/QueryEndpointInput.java @@ -28,17 +28,17 @@ public class QueryEndpointInput { private DataframeSplitInput dataframeSplit; /** - * The extra parameters field used ONLY for __completions, chat,__ and __embeddings external & - * foundation model__ serving endpoints. This is a map of strings and should only be used with - * other external/foundation model query fields. + * The extra parameters field used ONLY for completions, chat, and embeddings external + * & foundation model serving endpoints. This is a map of strings and should only be used + * with other external/foundation model query fields. */ @JsonProperty("extra_params") private Map extraParams; /** - * The input string (or array of strings) field used ONLY for __embeddings external & foundation - * model__ serving endpoints and is the only field (along with extra_params if needed) used by - * embeddings queries. + * The input string (or array of strings) field used ONLY for embeddings external & + * foundation model serving endpoints and is the only field (along with extra_params if + * needed) used by embeddings queries. */ @JsonProperty("input") private Object input; @@ -52,23 +52,23 @@ public class QueryEndpointInput { private Collection instances; /** - * The max tokens field used ONLY for __completions__ and __chat external & foundation model__ - * serving endpoints. This is an integer and should only be used with other chat/completions query - * fields. + * The max tokens field used ONLY for completions and chat external & foundation + * model serving endpoints. This is an integer and should only be used with other + * chat/completions query fields. */ @JsonProperty("max_tokens") private Long maxTokens; /** - * The messages field used ONLY for __chat external & foundation model__ serving endpoints. This - * is an array of ChatMessage objects and should only be used with other chat query fields. + * The messages field used ONLY for chat external & foundation model serving endpoints. + * This is an array of ChatMessage objects and should only be used with other chat query fields. */ @JsonProperty("messages") private Collection messages; /** - * The n (number of candidates) field used ONLY for __completions__ and __chat external & - * foundation model__ serving endpoints. This is an integer between 1 and 5 with a default of 1 + * The n (number of candidates) field used ONLY for completions and chat external & + * foundation model serving endpoints. This is an integer between 1 and 5 with a default of 1 * and should only be used with other chat/completions query fields. */ @JsonProperty("n") @@ -81,32 +81,33 @@ public class QueryEndpointInput { @JsonIgnore private String name; /** - * The prompt string (or array of strings) field used ONLY for __completions external & foundation - * model__ serving endpoints and should only be used with other completions query fields. + * The prompt string (or array of strings) field used ONLY for completions external & + * foundation model serving endpoints and should only be used with other completions query + * fields. */ @JsonProperty("prompt") private Object prompt; /** - * The stop sequences field used ONLY for __completions__ and __chat external & foundation model__ - * serving endpoints. This is a list of strings and should only be used with other + * The stop sequences field used ONLY for completions and chat external & foundation + * model serving endpoints. This is a list of strings and should only be used with other * chat/completions query fields. */ @JsonProperty("stop") private Collection stop; /** - * The stream field used ONLY for __completions__ and __chat external & foundation model__ serving - * endpoints. This is a boolean defaulting to false and should only be used with other - * chat/completions query fields. + * The stream field used ONLY for completions and chat external & foundation + * model serving endpoints. This is a boolean defaulting to false and should only be used with + * other chat/completions query fields. */ @JsonProperty("stream") private Boolean stream; /** - * The temperature field used ONLY for __completions__ and __chat external & foundation model__ - * serving endpoints. This is a float between 0.0 and 2.0 with a default of 1.0 and should only be - * used with other chat/completions query fields. + * The temperature field used ONLY for completions and chat external & foundation + * model serving endpoints. This is a float between 0.0 and 2.0 with a default of 1.0 and + * should only be used with other chat/completions query fields. */ @JsonProperty("temperature") private Double temperature; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/QueryEndpointResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/QueryEndpointResponse.java index 574c2a00d..7f6449323 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/QueryEndpointResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/QueryEndpointResponse.java @@ -14,42 +14,42 @@ @Generated public class QueryEndpointResponse { /** - * The list of choices returned by the __chat or completions external/foundation model__ serving - * endpoint. + * The list of choices returned by the chat or completions external/foundation model + * serving endpoint. */ @JsonProperty("choices") private Collection choices; /** - * The timestamp in seconds when the query was created in Unix time returned by a __completions or - * chat external/foundation model__ serving endpoint. + * The timestamp in seconds when the query was created in Unix time returned by a completions + * or chat external/foundation model serving endpoint. */ @JsonProperty("created") private Long created; /** - * The list of the embeddings returned by the __embeddings external/foundation model__ serving + * The list of the embeddings returned by the embeddings external/foundation model serving * endpoint. */ @JsonProperty("data") private Collection data; /** - * The ID of the query that may be returned by a __completions or chat external/foundation model__ - * serving endpoint. + * The ID of the query that may be returned by a completions or chat external/foundation + * model serving endpoint. */ @JsonProperty("id") private String id; /** - * The name of the __external/foundation model__ used for querying. This is the name of the model - * that was specified in the endpoint config. + * The name of the external/foundation model used for querying. This is the name of the + * model that was specified in the endpoint config. */ @JsonProperty("model") private String model; /** - * The type of object returned by the __external/foundation model__ serving endpoint, one of + * The type of object returned by the external/foundation model serving endpoint, one of * [text_completion, chat.completion, list (of embeddings)]. */ @JsonProperty("object") @@ -72,7 +72,7 @@ public class QueryEndpointResponse { private String servedModelName; /** - * The usage object that may be returned by the __external/foundation model__ serving endpoint. + * The usage object that may be returned by the external/foundation model serving endpoint. * This contains information about the number of tokens used in the prompt and response. */ @JsonProperty("usage") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/QueryEndpointResponseObject.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/QueryEndpointResponseObject.java index 094219321..4b936d80d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/QueryEndpointResponseObject.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/QueryEndpointResponseObject.java @@ -6,7 +6,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; /** - * The type of object returned by the __external/foundation model__ serving endpoint, one of + * The type of object returned by the external/foundation model serving endpoint, one of * [text_completion, chat.completion, list (of embeddings)]. */ @Generated diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServedEntityInput.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServedEntityInput.java index f73344a2a..2afaf893c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServedEntityInput.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServedEntityInput.java @@ -22,7 +22,7 @@ public class ServedEntityInput { * The name of the entity to be served. The entity may be a model in the Databricks Model * Registry, a model in the Unity Catalog (UC), or a function of type FEATURE_SPEC in the UC. If * it is a UC object, the full name of the object should be given in the form of - * **catalog_name.schema_name.model_name**. + * catalog_name.schema_name.model_name. */ @JsonProperty("entity_name") private String entityName; @@ -34,8 +34,9 @@ public class ServedEntityInput { /** * An object containing a set of optional, user-specified environment variable key-value pairs * used for serving this entity. Note: this is an experimental feature and subject to change. - * Example entity environment variables that refer to Databricks secrets: `{"OPENAI_API_KEY": - * "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": "{{secrets/my_scope2/my_key2}}"}` + * Example entity environment variables that refer to Databricks secrets: {@code + * {"OPENAI_API_KEY": "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": + * "{{secrets/my_scope2/my_key2}}"}} */ @JsonProperty("environment_vars") private Map environmentVars; @@ -112,10 +113,9 @@ public class ServedEntityInput { * The workload type of the served entity. The workload type selects which type of compute to use * in the endpoint. The default value for this parameter is "CPU". For deep learning workloads, * GPU acceleration is available by selecting workload types like GPU_SMALL and others. See the - * available [GPU types]. - * - *

[GPU types]: - * https://docs.databricks.com/en/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types + * available GPU + * types. */ @JsonProperty("workload_type") private ServingModelWorkloadType workloadType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServedEntityOutput.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServedEntityOutput.java index a5d27729c..629afe1cb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServedEntityOutput.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServedEntityOutput.java @@ -30,7 +30,7 @@ public class ServedEntityOutput { * The name of the entity to be served. The entity may be a model in the Databricks Model * Registry, a model in the Unity Catalog (UC), or a function of type FEATURE_SPEC in the UC. If * it is a UC object, the full name of the object should be given in the form of - * **catalog_name.schema_name.model_name**. + * catalog_name.schema_name.model_name. */ @JsonProperty("entity_name") private String entityName; @@ -42,8 +42,9 @@ public class ServedEntityOutput { /** * An object containing a set of optional, user-specified environment variable key-value pairs * used for serving this entity. Note: this is an experimental feature and subject to change. - * Example entity environment variables that refer to Databricks secrets: `{"OPENAI_API_KEY": - * "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": "{{secrets/my_scope2/my_key2}}"}` + * Example entity environment variables that refer to Databricks secrets: {@code + * {"OPENAI_API_KEY": "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": + * "{{secrets/my_scope2/my_key2}}"}} */ @JsonProperty("environment_vars") private Map environmentVars; @@ -128,10 +129,9 @@ public class ServedEntityOutput { * The workload type of the served entity. The workload type selects which type of compute to use * in the endpoint. The default value for this parameter is "CPU". For deep learning workloads, * GPU acceleration is available by selecting workload types like GPU_SMALL and others. See the - * available [GPU types]. - * - *

[GPU types]: - * https://docs.databricks.com/en/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types + * available GPU + * types. */ @JsonProperty("workload_type") private ServingModelWorkloadType workloadType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServedModelInput.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServedModelInput.java index 4ba2bf39f..769760d2a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServedModelInput.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServedModelInput.java @@ -21,8 +21,9 @@ public class ServedModelInput { /** * An object containing a set of optional, user-specified environment variable key-value pairs * used for serving this entity. Note: this is an experimental feature and subject to change. - * Example entity environment variables that refer to Databricks secrets: `{"OPENAI_API_KEY": - * "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": "{{secrets/my_scope2/my_key2}}"}` + * Example entity environment variables that refer to Databricks secrets: {@code + * {"OPENAI_API_KEY": "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": + * "{{secrets/my_scope2/my_key2}}"}} */ @JsonProperty("environment_vars") private Map environmentVars; @@ -95,10 +96,9 @@ public class ServedModelInput { * The workload type of the served entity. The workload type selects which type of compute to use * in the endpoint. The default value for this parameter is "CPU". For deep learning workloads, * GPU acceleration is available by selecting workload types like GPU_SMALL and others. See the - * available [GPU types]. - * - *

[GPU types]: - * https://docs.databricks.com/en/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types + * available GPU + * types. */ @JsonProperty("workload_type") private ServedModelInputWorkloadType workloadType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServedModelOutput.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServedModelOutput.java index 550c83383..98b2961c6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServedModelOutput.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServedModelOutput.java @@ -29,8 +29,9 @@ public class ServedModelOutput { /** * An object containing a set of optional, user-specified environment variable key-value pairs * used for serving this entity. Note: this is an experimental feature and subject to change. - * Example entity environment variables that refer to Databricks secrets: `{"OPENAI_API_KEY": - * "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": "{{secrets/my_scope2/my_key2}}"}` + * Example entity environment variables that refer to Databricks secrets: {@code + * {"OPENAI_API_KEY": "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": + * "{{secrets/my_scope2/my_key2}}"}} */ @JsonProperty("environment_vars") private Map environmentVars; @@ -99,10 +100,9 @@ public class ServedModelOutput { * The workload type of the served entity. The workload type selects which type of compute to use * in the endpoint. The default value for this parameter is "CPU". For deep learning workloads, * GPU acceleration is available by selecting workload types like GPU_SMALL and others. See the - * available [GPU types]. - * - *

[GPU types]: - * https://docs.databricks.com/en/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types + * available GPU + * types. */ @JsonProperty("workload_type") private ServingModelWorkloadType workloadType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/V1ResponseChoiceElement.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/V1ResponseChoiceElement.java index d35f628e3..1d68942af 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/V1ResponseChoiceElement.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/V1ResponseChoiceElement.java @@ -13,19 +13,19 @@ public class V1ResponseChoiceElement { @JsonProperty("finishReason") private String finishReason; - /** The index of the choice in the __chat or completions__ response. */ + /** The index of the choice in the chat or completions response. */ @JsonProperty("index") private Long index; - /** The logprobs returned only by the __completions__ endpoint. */ + /** The logprobs returned only by the completions endpoint. */ @JsonProperty("logprobs") private Long logprobs; - /** The message response from the __chat__ endpoint. */ + /** The message response from the chat endpoint. */ @JsonProperty("message") private ChatMessage message; - /** The text response from the __completions__ endpoint. */ + /** The text response from the completions endpoint. */ @JsonProperty("text") private String text; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessEnable.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessEnable.java index 4b2251f62..8e1c4b9d1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessEnable.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessEnable.java @@ -17,9 +17,9 @@ public class AccountIpAccessEnable { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsAPI.java index d36c9ef75..78d1e3702 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsAPI.java @@ -15,9 +15,14 @@ * console and account APIs. If the feature is disabled for the account, all access is allowed for * this account. There is support for allow lists (inclusion) and block lists (exclusion). * - *

When a connection is attempted: 1. **First, all block lists are checked.** If the connection - * IP address matches any block list, the connection is rejected. 2. **If the connection was not - * rejected by block lists**, the IP address is compared with the allow lists. + *

When a connection is attempted: + * + *

    + *
  1. First, all block lists are checked. If the connection IP address matches any block + * list, the connection is rejected. + *
  2. If the connection was not rejected by block lists, the IP address is compared with + * the allow lists. + *
* *

If there is at least one allow list for the account, the connection is allowed only if the IP * address matches an allow list. If there are no allow lists for the account, all IP addresses are @@ -53,10 +58,13 @@ public AccountIpAccessListsAPI(AccountIpAccessListsService mock) { * *

When creating or updating an IP access list: * - *

* For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR - * values, where one CIDR counts as a single value. Attempts to exceed that number return error - * 400 with `error_code` value `QUOTA_EXCEEDED`. * If the new list would block the calling user's - * current IP, error 400 is returned with `error_code` value `INVALID_STATE`. + *

    + *
  • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR + * values, where one CIDR counts as a single value. Attempts to exceed that number return + * error 400 with {@code error_code} value {@code QUOTA_EXCEEDED}. + *
  • If the new list would block the calling user's current IP, error 400 is returned with + * {@code error_code} value {@code INVALID_STATE}. + *
* *

It can take a few minutes for the changes to take effect. */ @@ -96,11 +104,16 @@ public Iterable list() { * *

A list can include allow lists and block lists. See the top of this file for a description * of how the server treats allow lists and block lists at run time. When replacing an IP access - * list: * For all allow lists and block lists combined, the API supports a maximum of 1000 - * IP/CIDR values, where one CIDR counts as a single value. Attempts to exceed that number return - * error 400 with `error_code` value `QUOTA_EXCEEDED`. * If the resulting list would block the - * calling user's current IP, error 400 is returned with `error_code` value `INVALID_STATE`. It - * can take a few minutes for the changes to take effect. + * list: + * + *

    + *
  • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR + * values, where one CIDR counts as a single value. Attempts to exceed that number return + * error 400 with {@code error_code} value {@code QUOTA_EXCEEDED}. + *
  • If the resulting list would block the calling user's current IP, error 400 is returned + * with {@code error_code} value {@code INVALID_STATE}. It can take a few minutes for the + * changes to take effect. + *
*/ public void replace(ReplaceIpAccessList request) { impl.replace(request); @@ -114,10 +127,13 @@ public void replace(ReplaceIpAccessList request) { * *

When updating an IP access list: * - *

* For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR - * values, where one CIDR counts as a single value. Attempts to exceed that number return error - * 400 with `error_code` value `QUOTA_EXCEEDED`. * If the updated list would block the calling - * user's current IP, error 400 is returned with `error_code` value `INVALID_STATE`. + *

    + *
  • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR + * values, where one CIDR counts as a single value. Attempts to exceed that number return + * error 400 with {@code error_code} value {@code QUOTA_EXCEEDED}. + *
  • If the updated list would block the calling user's current IP, error 400 is returned with + * {@code error_code} value {@code INVALID_STATE}. + *
* *

It can take a few minutes for the changes to take effect. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsService.java index 97dc87523..2594af8c3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsService.java @@ -11,9 +11,14 @@ * console and account APIs. If the feature is disabled for the account, all access is allowed for * this account. There is support for allow lists (inclusion) and block lists (exclusion). * - *

When a connection is attempted: 1. **First, all block lists are checked.** If the connection - * IP address matches any block list, the connection is rejected. 2. **If the connection was not - * rejected by block lists**, the IP address is compared with the allow lists. + *

When a connection is attempted: + * + *

    + *
  1. First, all block lists are checked. If the connection IP address matches any block + * list, the connection is rejected. + *
  2. If the connection was not rejected by block lists, the IP address is compared with + * the allow lists. + *
* *

If there is at least one allow list for the account, the connection is allowed only if the IP * address matches an allow list. If there are no allow lists for the account, all IP addresses are @@ -39,10 +44,13 @@ public interface AccountIpAccessListsService { * *

When creating or updating an IP access list: * - *

* For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR - * values, where one CIDR counts as a single value. Attempts to exceed that number return error - * 400 with `error_code` value `QUOTA_EXCEEDED`. * If the new list would block the calling user's - * current IP, error 400 is returned with `error_code` value `INVALID_STATE`. + *

    + *
  • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR + * values, where one CIDR counts as a single value. Attempts to exceed that number return + * error 400 with {@code error_code} value {@code QUOTA_EXCEEDED}. + *
  • If the new list would block the calling user's current IP, error 400 is returned with + * {@code error_code} value {@code INVALID_STATE}. + *
* *

It can take a few minutes for the changes to take effect. */ @@ -62,11 +70,16 @@ public interface AccountIpAccessListsService { * *

A list can include allow lists and block lists. See the top of this file for a description * of how the server treats allow lists and block lists at run time. When replacing an IP access - * list: * For all allow lists and block lists combined, the API supports a maximum of 1000 - * IP/CIDR values, where one CIDR counts as a single value. Attempts to exceed that number return - * error 400 with `error_code` value `QUOTA_EXCEEDED`. * If the resulting list would block the - * calling user's current IP, error 400 is returned with `error_code` value `INVALID_STATE`. It - * can take a few minutes for the changes to take effect. + * list: + * + *

    + *
  • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR + * values, where one CIDR counts as a single value. Attempts to exceed that number return + * error 400 with {@code error_code} value {@code QUOTA_EXCEEDED}. + *
  • If the resulting list would block the calling user's current IP, error 400 is returned + * with {@code error_code} value {@code INVALID_STATE}. It can take a few minutes for the + * changes to take effect. + *
*/ void replace(ReplaceIpAccessList replaceIpAccessList); @@ -78,10 +91,13 @@ public interface AccountIpAccessListsService { * *

When updating an IP access list: * - *

* For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR - * values, where one CIDR counts as a single value. Attempts to exceed that number return error - * 400 with `error_code` value `QUOTA_EXCEEDED`. * If the updated list would block the calling - * user's current IP, error 400 is returned with `error_code` value `INVALID_STATE`. + *

    + *
  • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR + * values, where one CIDR counts as a single value. Attempts to exceed that number return + * error 400 with {@code error_code} value {@code QUOTA_EXCEEDED}. + *
  • If the updated list would block the calling user's current IP, error 400 is returned with + * {@code error_code} value {@code INVALID_STATE}. + *
* *

It can take a few minutes for the changes to take effect. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingAccessPolicySetting.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingAccessPolicySetting.java index ead0e1b14..e02fffd57 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingAccessPolicySetting.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingAccessPolicySetting.java @@ -17,9 +17,9 @@ public class AibiDashboardEmbeddingAccessPolicySetting { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingApprovedDomainsSetting.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingApprovedDomainsSetting.java index 14c060819..ef18ee8ee 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingApprovedDomainsSetting.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AibiDashboardEmbeddingApprovedDomainsSetting.java @@ -17,9 +17,9 @@ public class AibiDashboardEmbeddingApprovedDomainsSetting { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateAPI.java index 4faba7703..703877b7e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateAPI.java @@ -33,10 +33,10 @@ public AutomaticClusterUpdateSetting get(GetAutomaticClusterUpdateSettingRequest /** * Updates the automatic cluster update setting for the workspace. A fresh etag needs to be - * provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by - * making a `GET` request before the `PATCH` request. If the setting is updated concurrently, - * `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 - * response. + * provided in {@code PATCH} requests (as part of the setting field). The etag can be retrieved by + * making a {@code GET} request before the {@code PATCH} request. If the setting is updated + * concurrently, {@code PATCH} fails with 409 and the request must be retried by using the fresh + * etag in the 409 response. */ public AutomaticClusterUpdateSetting update(UpdateAutomaticClusterUpdateSettingRequest request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateService.java index ad28cacf3..5c901ce9e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateService.java @@ -19,10 +19,10 @@ AutomaticClusterUpdateSetting get( /** * Updates the automatic cluster update setting for the workspace. A fresh etag needs to be - * provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by - * making a `GET` request before the `PATCH` request. If the setting is updated concurrently, - * `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 - * response. + * provided in {@code PATCH} requests (as part of the setting field). The etag can be retrieved by + * making a {@code GET} request before the {@code PATCH} request. If the setting is updated + * concurrently, {@code PATCH} fails with 409 and the request must be retried by using the fresh + * etag in the 409 response. */ AutomaticClusterUpdateSetting update( UpdateAutomaticClusterUpdateSettingRequest updateAutomaticClusterUpdateSettingRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateSetting.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateSetting.java index 18645e76b..9cfd33d35 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateSetting.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateSetting.java @@ -17,9 +17,9 @@ public class AutomaticClusterUpdateSetting { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileAPI.java index 9e6b1047a..81ae2409c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileAPI.java @@ -35,10 +35,10 @@ public ComplianceSecurityProfileSetting get(GetComplianceSecurityProfileSettingR /** * Updates the compliance security profile setting for the workspace. A fresh etag needs to be - * provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by - * making a `GET` request before the `PATCH` request. If the setting is updated concurrently, - * `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 - * response. + * provided in {@code PATCH} requests (as part of the setting field). The etag can be retrieved by + * making a {@code GET} request before the {@code PATCH} request. If the setting is updated + * concurrently, {@code PATCH} fails with 409 and the request must be retried by using the fresh + * etag in the 409 response. */ public ComplianceSecurityProfileSetting update( UpdateComplianceSecurityProfileSettingRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileService.java index 56ce1187d..7688ecef9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileService.java @@ -21,10 +21,10 @@ ComplianceSecurityProfileSetting get( /** * Updates the compliance security profile setting for the workspace. A fresh etag needs to be - * provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by - * making a `GET` request before the `PATCH` request. If the setting is updated concurrently, - * `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 - * response. + * provided in {@code PATCH} requests (as part of the setting field). The etag can be retrieved by + * making a {@code GET} request before the {@code PATCH} request. If the setting is updated + * concurrently, {@code PATCH} fails with 409 and the request must be retried by using the fresh + * etag in the 409 response. */ ComplianceSecurityProfileSetting update( UpdateComplianceSecurityProfileSettingRequest updateComplianceSecurityProfileSettingRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileSetting.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileSetting.java index 905f052f9..b7f7c2892 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileSetting.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ComplianceSecurityProfileSetting.java @@ -17,9 +17,9 @@ public class ComplianceSecurityProfileSetting { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreateIpAccessList.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreateIpAccessList.java index 1f2a62deb..9a825bee0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreateIpAccessList.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreateIpAccessList.java @@ -15,7 +15,7 @@ public class CreateIpAccessList { @JsonProperty("ip_addresses") private Collection ipAddresses; - /** Label for the IP access list. This **cannot** be empty. */ + /** Label for the IP access list. This cannot be empty. */ @JsonProperty("label") private String label; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CredentialsManagerAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CredentialsManagerAPI.java index 99b052f93..ca891838d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CredentialsManagerAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CredentialsManagerAPI.java @@ -30,14 +30,15 @@ public CredentialsManagerAPI(CredentialsManagerService mock) { * Exchange tokens with an Identity Provider to get a new access token. It allows specifying * scopes to determine token permissions. * - *

POST /exchange-tokens/token is the documented public form, expressed via `google.api.http` - * below. GET /exchange-tokens/$exchange is a legacy alias used by the Spark driver's OAuth - * refresh path (DBHttpClient#get sends a body via HttpGetWithEntity) and stays on the legacy - * `option (rpc).endpoints` annotation: its path contains a literal `$`, which `google.api.http`'s - * LITERAL grammar does not allow, and `HttpPathParser` does not percent-decode template segments - * (so encoding as `%24exchange` would not match the literal `$exchange` path the Spark driver - * sends). Per-endpoint `visibility: PUBLIC_UNDOCUMENTED` preserves the DECO-7732 intent of - * suppressing the GET alias from the public API spec. + *

POST /exchange-tokens/token is the documented public form, expressed via {@code + * google.api.http} below. GET /exchange-tokens/$exchange is a legacy alias used by the Spark + * driver's OAuth refresh path (DBHttpClient#get sends a body via HttpGetWithEntity) and stays on + * the legacy {@code option (rpc).endpoints} annotation: its path contains a literal {@code $}, + * which {@code google.api.http}'s LITERAL grammar does not allow, and {@code HttpPathParser} does + * not percent-decode template segments (so encoding as {@code %24exchange} would not match the + * literal {@code $exchange} path the Spark driver sends). Per-endpoint {@code visibility: + * PUBLIC_UNDOCUMENTED} preserves the DECO-7732 intent of suppressing the GET alias from the + * public API spec. */ public ExchangeTokenResponse exchangeToken(ExchangeTokenRequest request) { return impl.exchangeToken(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CredentialsManagerService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CredentialsManagerService.java index 54467b7e9..1b8e14934 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CredentialsManagerService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CredentialsManagerService.java @@ -17,14 +17,15 @@ public interface CredentialsManagerService { * Exchange tokens with an Identity Provider to get a new access token. It allows specifying * scopes to determine token permissions. * - *

POST /exchange-tokens/token is the documented public form, expressed via `google.api.http` - * below. GET /exchange-tokens/$exchange is a legacy alias used by the Spark driver's OAuth - * refresh path (DBHttpClient#get sends a body via HttpGetWithEntity) and stays on the legacy - * `option (rpc).endpoints` annotation: its path contains a literal `$`, which `google.api.http`'s - * LITERAL grammar does not allow, and `HttpPathParser` does not percent-decode template segments - * (so encoding as `%24exchange` would not match the literal `$exchange` path the Spark driver - * sends). Per-endpoint `visibility: PUBLIC_UNDOCUMENTED` preserves the DECO-7732 intent of - * suppressing the GET alias from the public API spec. + *

POST /exchange-tokens/token is the documented public form, expressed via {@code + * google.api.http} below. GET /exchange-tokens/$exchange is a legacy alias used by the Spark + * driver's OAuth refresh path (DBHttpClient#get sends a body via HttpGetWithEntity) and stays on + * the legacy {@code option (rpc).endpoints} annotation: its path contains a literal {@code $}, + * which {@code google.api.http}'s LITERAL grammar does not allow, and {@code HttpPathParser} does + * not percent-decode template segments (so encoding as {@code %24exchange} would not match the + * literal {@code $exchange} path the Spark driver sends). Per-endpoint {@code visibility: + * PUBLIC_UNDOCUMENTED} preserves the DECO-7732 intent of suppressing the GET alias from the + * public API spec. */ ExchangeTokenResponse exchangeToken(ExchangeTokenRequest exchangeTokenRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountSetting.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountSetting.java index 7697448b5..61be48a91 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountSetting.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountSetting.java @@ -17,9 +17,9 @@ public class CspEnablementAccountSetting { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule.java index 7cf08efee..0d4c59268 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule.java @@ -22,12 +22,17 @@ public class CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule { /** * The current status of this private endpoint. The private endpoint rules are effective only if * the connection state is ESTABLISHED. Remember that you must approve new endpoints on your - * resources in the AWS console before they take effect. The possible values are: - PENDING: The - * endpoint has been created and pending approval. - ESTABLISHED: The endpoint has been approved - * and is ready to use in your serverless compute resources. - REJECTED: Connection was rejected - * by the private link resource owner. - DISCONNECTED: Connection was removed by the private link - * resource owner, the private endpoint becomes informative and should be deleted for clean-up. - - * EXPIRED: If the endpoint is created but not approved in 14 days, it is EXPIRED. + * resources in the AWS console before they take effect. The possible values are: + * + *

    + *
  • PENDING: The endpoint has been created and pending approval. + *
  • ESTABLISHED: The endpoint has been approved and is ready to use in your serverless + * compute resources. + *
  • REJECTED: Connection was rejected by the private link resource owner. + *
  • DISCONNECTED: Connection was removed by the private link resource owner, the private + * endpoint becomes informative and should be deleted for clean-up. + *
  • EXPIRED: If the endpoint is created but not approved in 14 days, it is EXPIRED. + *
*/ @JsonProperty("connection_state") private CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRulePrivateLinkConnectionState diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptions.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptions.java index 1ba9dcb49..270c169d7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptions.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptions.java @@ -17,9 +17,9 @@ public class DashboardEmailSubscriptions { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptionsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptionsAPI.java index 627aaf779..52f563fef 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptionsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptionsAPI.java @@ -9,7 +9,7 @@ /** * Controls whether schedules or workload tasks for refreshing AI/BI Dashboards in the workspace can * send subscription emails containing PDFs and/or images of the dashboard. By default, this setting - * is enabled (set to `true`) + * is enabled (set to {@code true}) */ @Generated public class DashboardEmailSubscriptionsAPI { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptionsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptionsService.java index 2d52ecd1a..daccc5a95 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptionsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DashboardEmailSubscriptionsService.java @@ -6,7 +6,7 @@ /** * Controls whether schedules or workload tasks for refreshing AI/BI Dashboards in the workspace can * send subscription emails containing PDFs and/or images of the dashboard. By default, this setting - * is enabled (set to `true`) + * is enabled (set to {@code true}) * *

This is the high-level interface, that contains generated methods. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceAPI.java index 8de527697..ab88c172b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceAPI.java @@ -36,9 +36,10 @@ public DefaultNamespaceAPI(DefaultNamespaceService mock) { /** * Deletes the default namespace setting for the workspace. A fresh etag needs to be provided in - * `DELETE` requests (as a query parameter). The etag can be retrieved by making a `GET` request - * before the `DELETE` request. If the setting is updated/deleted concurrently, `DELETE` fails - * with 409 and the request must be retried by using the fresh etag in the 409 response. + * {@code DELETE} requests (as a query parameter). The etag can be retrieved by making a {@code + * GET} request before the {@code DELETE} request. If the setting is updated/deleted concurrently, + * {@code DELETE} fails with 409 and the request must be retried by using the fresh etag in the + * 409 response. */ public DeleteDefaultNamespaceSettingResponse delete( DeleteDefaultNamespaceSettingRequest request) { @@ -52,11 +53,12 @@ public DefaultNamespaceSetting get(GetDefaultNamespaceSettingRequest request) { /** * Updates the default namespace setting for the workspace. A fresh etag needs to be provided in - * `PATCH` requests (as part of the setting field). The etag can be retrieved by making a `GET` - * request before the `PATCH` request. Note that if the setting does not exist, `GET` returns a - * NOT_FOUND error and the etag is present in the error response, which should be set in the - * `PATCH` request. If the setting is updated concurrently, `PATCH` fails with 409 and the request - * must be retried by using the fresh etag in the 409 response. + * {@code PATCH} requests (as part of the setting field). The etag can be retrieved by making a + * {@code GET} request before the {@code PATCH} request. Note that if the setting does not exist, + * {@code GET} returns a NOT_FOUND error and the etag is present in the error response, which + * should be set in the {@code PATCH} request. If the setting is updated concurrently, {@code + * PATCH} fails with 409 and the request must be retried by using the fresh etag in the 409 + * response. */ public DefaultNamespaceSetting update(UpdateDefaultNamespaceSettingRequest request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceService.java index f326d738e..bdb571efe 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceService.java @@ -23,9 +23,10 @@ public interface DefaultNamespaceService { /** * Deletes the default namespace setting for the workspace. A fresh etag needs to be provided in - * `DELETE` requests (as a query parameter). The etag can be retrieved by making a `GET` request - * before the `DELETE` request. If the setting is updated/deleted concurrently, `DELETE` fails - * with 409 and the request must be retried by using the fresh etag in the 409 response. + * {@code DELETE} requests (as a query parameter). The etag can be retrieved by making a {@code + * GET} request before the {@code DELETE} request. If the setting is updated/deleted concurrently, + * {@code DELETE} fails with 409 and the request must be retried by using the fresh etag in the + * 409 response. */ DeleteDefaultNamespaceSettingResponse delete( DeleteDefaultNamespaceSettingRequest deleteDefaultNamespaceSettingRequest); @@ -35,11 +36,12 @@ DeleteDefaultNamespaceSettingResponse delete( /** * Updates the default namespace setting for the workspace. A fresh etag needs to be provided in - * `PATCH` requests (as part of the setting field). The etag can be retrieved by making a `GET` - * request before the `PATCH` request. Note that if the setting does not exist, `GET` returns a - * NOT_FOUND error and the etag is present in the error response, which should be set in the - * `PATCH` request. If the setting is updated concurrently, `PATCH` fails with 409 and the request - * must be retried by using the fresh etag in the 409 response. + * {@code PATCH} requests (as part of the setting field). The etag can be retrieved by making a + * {@code GET} request before the {@code PATCH} request. Note that if the setting does not exist, + * {@code GET} returns a NOT_FOUND error and the etag is present in the error response, which + * should be set in the {@code PATCH} request. If the setting is updated concurrently, {@code + * PATCH} fails with 409 and the request must be retried by using the fresh etag in the 409 + * response. */ DefaultNamespaceSetting update( UpdateDefaultNamespaceSettingRequest updateDefaultNamespaceSettingRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceSetting.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceSetting.java index eb12d3fd3..603d96e15 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceSetting.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceSetting.java @@ -22,9 +22,9 @@ public class DefaultNamespaceSetting { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultWarehouseId.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultWarehouseId.java index d92f69459..416454a32 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultWarehouseId.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultWarehouseId.java @@ -13,9 +13,9 @@ public class DefaultWarehouseId { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountIpAccessEnableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountIpAccessEnableRequest.java index dfcba87cc..851dedd92 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountIpAccessEnableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountIpAccessEnableRequest.java @@ -14,8 +14,8 @@ public class DeleteAccountIpAccessEnableRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountIpAccessEnableResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountIpAccessEnableResponse.java index 7151c3fec..f1f21299f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountIpAccessEnableResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountIpAccessEnableResponse.java @@ -14,8 +14,8 @@ public class DeleteAccountIpAccessEnableResponse { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonProperty("etag") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingAccessPolicySettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingAccessPolicySettingRequest.java index 6a98940b9..9aefd1d89 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingAccessPolicySettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingAccessPolicySettingRequest.java @@ -14,8 +14,8 @@ public class DeleteAibiDashboardEmbeddingAccessPolicySettingRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingAccessPolicySettingResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingAccessPolicySettingResponse.java index 6acb42ae6..4024b6b75 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingAccessPolicySettingResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingAccessPolicySettingResponse.java @@ -14,8 +14,8 @@ public class DeleteAibiDashboardEmbeddingAccessPolicySettingResponse { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonProperty("etag") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest.java index 4e1f28bfe..05d9dc8a4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest.java @@ -14,8 +14,8 @@ public class DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse.java index 8ee982c58..fa4cc2f13 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse.java @@ -14,8 +14,8 @@ public class DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonProperty("etag") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDashboardEmailSubscriptionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDashboardEmailSubscriptionsRequest.java index 6f8edee53..a574760ed 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDashboardEmailSubscriptionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDashboardEmailSubscriptionsRequest.java @@ -14,8 +14,8 @@ public class DeleteDashboardEmailSubscriptionsRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDashboardEmailSubscriptionsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDashboardEmailSubscriptionsResponse.java index 1cfa511ae..4bfce2e93 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDashboardEmailSubscriptionsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDashboardEmailSubscriptionsResponse.java @@ -14,8 +14,8 @@ public class DeleteDashboardEmailSubscriptionsResponse { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonProperty("etag") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceSettingRequest.java index 874f3d293..c1dc64a15 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceSettingRequest.java @@ -14,8 +14,8 @@ public class DeleteDefaultNamespaceSettingRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceSettingResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceSettingResponse.java index 7cc259234..0301a7961 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceSettingResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceSettingResponse.java @@ -14,8 +14,8 @@ public class DeleteDefaultNamespaceSettingResponse { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonProperty("etag") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultWarehouseIdRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultWarehouseIdRequest.java index 9867c4f60..5c8027083 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultWarehouseIdRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultWarehouseIdRequest.java @@ -14,8 +14,8 @@ public class DeleteDefaultWarehouseIdRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultWarehouseIdResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultWarehouseIdResponse.java index 8da0557b1..14eb08eec 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultWarehouseIdResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultWarehouseIdResponse.java @@ -14,8 +14,8 @@ public class DeleteDefaultWarehouseIdResponse { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonProperty("etag") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyAccessRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyAccessRequest.java index 736069e12..5b228af42 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyAccessRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyAccessRequest.java @@ -14,8 +14,8 @@ public class DeleteDisableLegacyAccessRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyAccessResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyAccessResponse.java index ad22d588f..0629fcf3f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyAccessResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyAccessResponse.java @@ -14,8 +14,8 @@ public class DeleteDisableLegacyAccessResponse { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonProperty("etag") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyDbfsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyDbfsRequest.java index be603ad13..74e73f04f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyDbfsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyDbfsRequest.java @@ -14,8 +14,8 @@ public class DeleteDisableLegacyDbfsRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyDbfsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyDbfsResponse.java index 0bb408d38..936aec940 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyDbfsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyDbfsResponse.java @@ -14,8 +14,8 @@ public class DeleteDisableLegacyDbfsResponse { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonProperty("etag") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyFeaturesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyFeaturesRequest.java index b46cd8800..d9f6d23bc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyFeaturesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyFeaturesRequest.java @@ -14,8 +14,8 @@ public class DeleteDisableLegacyFeaturesRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyFeaturesResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyFeaturesResponse.java index dd7b8d8d3..9348e52b9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyFeaturesResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDisableLegacyFeaturesResponse.java @@ -14,8 +14,8 @@ public class DeleteDisableLegacyFeaturesResponse { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonProperty("etag") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteLlmProxyPartnerPoweredWorkspaceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteLlmProxyPartnerPoweredWorkspaceRequest.java index 6c272f22a..7ad16492d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteLlmProxyPartnerPoweredWorkspaceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteLlmProxyPartnerPoweredWorkspaceRequest.java @@ -14,8 +14,8 @@ public class DeleteLlmProxyPartnerPoweredWorkspaceRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteLlmProxyPartnerPoweredWorkspaceResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteLlmProxyPartnerPoweredWorkspaceResponse.java index 10524ea66..c2afc3782 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteLlmProxyPartnerPoweredWorkspaceResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteLlmProxyPartnerPoweredWorkspaceResponse.java @@ -14,8 +14,8 @@ public class DeleteLlmProxyPartnerPoweredWorkspaceResponse { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonProperty("etag") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeSettingRequest.java index 045df6840..ebe4e216a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeSettingRequest.java @@ -14,8 +14,8 @@ public class DeletePersonalComputeSettingRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeSettingResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeSettingResponse.java index 58be66bd7..67541bb4d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeSettingResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeSettingResponse.java @@ -14,8 +14,8 @@ public class DeletePersonalComputeSettingResponse { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonProperty("etag") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminsSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminsSettingRequest.java index 1aa58af9b..6271a4982 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminsSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminsSettingRequest.java @@ -14,8 +14,8 @@ public class DeleteRestrictWorkspaceAdminsSettingRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminsSettingResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminsSettingResponse.java index 8d5bf92a5..424a67737 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminsSettingResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminsSettingResponse.java @@ -14,8 +14,8 @@ public class DeleteRestrictWorkspaceAdminsSettingResponse { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonProperty("etag") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteSqlResultsDownloadRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteSqlResultsDownloadRequest.java index 56d057828..52c0fb20c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteSqlResultsDownloadRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteSqlResultsDownloadRequest.java @@ -14,8 +14,8 @@ public class DeleteSqlResultsDownloadRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteSqlResultsDownloadResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteSqlResultsDownloadResponse.java index bc2957210..4df17e33b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteSqlResultsDownloadResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteSqlResultsDownloadResponse.java @@ -14,8 +14,8 @@ public class DeleteSqlResultsDownloadResponse { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonProperty("etag") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccess.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccess.java index c9ba4ab60..060f92099 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccess.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccess.java @@ -17,9 +17,9 @@ public class DisableLegacyAccess { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccessAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccessAPI.java index a93417e40..6ecdadb18 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccessAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccessAPI.java @@ -9,9 +9,12 @@ /** * 'Disabling legacy access' has the following impacts: * - *

1. Disables direct access to Hive Metastores from the workspace. However, you can still access - * a Hive Metastore through Hive Metastore federation. 2. Disables fallback mode on external - * location access from the workspace. 3. Disables Databricks Runtime versions prior to 13.3LTS. + *

    + *
  1. Disables direct access to Hive Metastores from the workspace. However, you can still access + * a Hive Metastore through Hive Metastore federation. + *
  2. Disables fallback mode on external location access from the workspace. + *
  3. Disables Databricks Runtime versions prior to 13.3LTS. + *
*/ @Generated public class DisableLegacyAccessAPI { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccessService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccessService.java index 38077c06c..6c71f04dc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccessService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyAccessService.java @@ -6,11 +6,14 @@ /** * 'Disabling legacy access' has the following impacts: * - *

1. Disables direct access to Hive Metastores from the workspace. However, you can still access - * a Hive Metastore through Hive Metastore federation. 2. Disables fallback mode on external - * location access from the workspace. 3. Disables Databricks Runtime versions prior to 13.3LTS. + *

    + *
  1. Disables direct access to Hive Metastores from the workspace. However, you can still access + * a Hive Metastore through Hive Metastore federation. + *
  2. Disables fallback mode on external location access from the workspace. + *
  3. Disables Databricks Runtime versions prior to 13.3LTS. + *
* - *

This is the high-level interface, that contains generated methods. + * This is the high-level interface, that contains generated methods. * *

Evolving: this interface is under development. Method signatures may change. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfs.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfs.java index 71ee5867c..22d927e48 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfs.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfs.java @@ -17,9 +17,9 @@ public class DisableLegacyDbfs { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfsAPI.java index 5fa81a9d9..6c3137172 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfsAPI.java @@ -9,8 +9,10 @@ /** * Disabling legacy DBFS has the following implications: * - *

1. Access to DBFS root and DBFS mounts is disallowed (as well as the creation of new mounts). - * 2. Disables Databricks Runtime versions prior to 13.3LTS. + *

    + *
  1. Access to DBFS root and DBFS mounts is disallowed (as well as the creation of new mounts). + *
  2. Disables Databricks Runtime versions prior to 13.3LTS. + *
* *

When the setting is off, all DBFS functionality is enabled and no restrictions are imposed on * Databricks Runtime versions. This setting can take up to 20 minutes to take effect and requires a diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfsService.java index c943a0961..a0baa1b9e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyDbfsService.java @@ -6,8 +6,10 @@ /** * Disabling legacy DBFS has the following implications: * - *

1. Access to DBFS root and DBFS mounts is disallowed (as well as the creation of new mounts). - * 2. Disables Databricks Runtime versions prior to 13.3LTS. + *

    + *
  1. Access to DBFS root and DBFS mounts is disallowed (as well as the creation of new mounts). + *
  2. Disables Databricks Runtime versions prior to 13.3LTS. + *
* *

When the setting is off, all DBFS functionality is enabled and no restrictions are imposed on * Databricks Runtime versions. This setting can take up to 20 minutes to take effect and requires a diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeatures.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeatures.java index fed2ee95c..b84ccf657 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeatures.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeatures.java @@ -17,9 +17,9 @@ public class DisableLegacyFeatures { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeaturesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeaturesAPI.java index 2f1dbd569..6030d2808 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeaturesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeaturesAPI.java @@ -9,9 +9,14 @@ /** * Disable legacy features for new Databricks workspaces. * - *

For newly created workspaces: 1. Disables the use of DBFS root and mounts. 2. Hive Metastore - * will not be provisioned. 3. Disables the use of ‘No-isolation clusters’. 4. Disables Databricks - * Runtime versions prior to 13.3LTS. + *

For newly created workspaces: + * + *

    + *
  1. Disables the use of DBFS root and mounts. + *
  2. Hive Metastore will not be provisioned. + *
  3. Disables the use of ‘No-isolation clusters’. + *
  4. Disables Databricks Runtime versions prior to 13.3LTS. + *
*/ @Generated public class DisableLegacyFeaturesAPI { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeaturesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeaturesService.java index f73569e86..fa0e0982c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeaturesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DisableLegacyFeaturesService.java @@ -6,11 +6,16 @@ /** * Disable legacy features for new Databricks workspaces. * - *

For newly created workspaces: 1. Disables the use of DBFS root and mounts. 2. Hive Metastore - * will not be provisioned. 3. Disables the use of ‘No-isolation clusters’. 4. Disables Databricks - * Runtime versions prior to 13.3LTS. + *

For newly created workspaces: * - *

This is the high-level interface, that contains generated methods. + *

    + *
  1. Disables the use of DBFS root and mounts. + *
  2. Hive Metastore will not be provisioned. + *
  3. Disables the use of ‘No-isolation clusters’. + *
  4. Disables Databricks Runtime versions prior to 13.3LTS. + *
+ * + * This is the high-level interface, that contains generated methods. * *

Evolving: this interface is under development. Method signatures may change. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringAPI.java index ea11ac579..74434c87c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringAPI.java @@ -38,10 +38,10 @@ public EnhancedSecurityMonitoringSetting get( /** * Updates the enhanced security monitoring setting for the workspace. A fresh etag needs to be - * provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by - * making a `GET` request before the `PATCH` request. If the setting is updated concurrently, - * `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 - * response. + * provided in {@code PATCH} requests (as part of the setting field). The etag can be retrieved by + * making a {@code GET} request before the {@code PATCH} request. If the setting is updated + * concurrently, {@code PATCH} fails with 409 and the request must be retried by using the fresh + * etag in the 409 response. */ public EnhancedSecurityMonitoringSetting update( UpdateEnhancedSecurityMonitoringSettingRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringService.java index 16d8d6e06..e179f6f68 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringService.java @@ -23,10 +23,10 @@ EnhancedSecurityMonitoringSetting get( /** * Updates the enhanced security monitoring setting for the workspace. A fresh etag needs to be - * provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by - * making a `GET` request before the `PATCH` request. If the setting is updated concurrently, - * `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 - * response. + * provided in {@code PATCH} requests (as part of the setting field). The etag can be retrieved by + * making a {@code GET} request before the {@code PATCH} request. If the setting is updated + * concurrently, {@code PATCH} fails with 409 and the request must be retried by using the fresh + * etag in the 409 response. */ EnhancedSecurityMonitoringSetting update( UpdateEnhancedSecurityMonitoringSettingRequest diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringSetting.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringSetting.java index 5a7f6e6ae..7d4656c03 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringSetting.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EnhancedSecurityMonitoringSetting.java @@ -17,9 +17,9 @@ public class EnhancedSecurityMonitoringSetting { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountSetting.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountSetting.java index 999819258..5fdec0b4a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountSetting.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountSetting.java @@ -17,9 +17,9 @@ public class EsmEnablementAccountSetting { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAccountIpAccessEnableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAccountIpAccessEnableRequest.java index 1e0d365ad..18dc80636 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAccountIpAccessEnableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAccountIpAccessEnableRequest.java @@ -14,8 +14,8 @@ public class GetAccountIpAccessEnableRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAibiDashboardEmbeddingAccessPolicySettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAibiDashboardEmbeddingAccessPolicySettingRequest.java index 83f97009c..eff525e9d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAibiDashboardEmbeddingAccessPolicySettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAibiDashboardEmbeddingAccessPolicySettingRequest.java @@ -14,8 +14,8 @@ public class GetAibiDashboardEmbeddingAccessPolicySettingRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAibiDashboardEmbeddingApprovedDomainsSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAibiDashboardEmbeddingApprovedDomainsSettingRequest.java index 711309a71..134d7a060 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAibiDashboardEmbeddingApprovedDomainsSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAibiDashboardEmbeddingApprovedDomainsSettingRequest.java @@ -14,8 +14,8 @@ public class GetAibiDashboardEmbeddingApprovedDomainsSettingRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAutomaticClusterUpdateSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAutomaticClusterUpdateSettingRequest.java index 1031122da..fb7d4387d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAutomaticClusterUpdateSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAutomaticClusterUpdateSettingRequest.java @@ -14,8 +14,8 @@ public class GetAutomaticClusterUpdateSettingRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetComplianceSecurityProfileSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetComplianceSecurityProfileSettingRequest.java index 59a2f9dbb..64eb65fcf 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetComplianceSecurityProfileSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetComplianceSecurityProfileSettingRequest.java @@ -14,8 +14,8 @@ public class GetComplianceSecurityProfileSettingRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementAccountSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementAccountSettingRequest.java index 28aab9c85..7ebe55337 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementAccountSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementAccountSettingRequest.java @@ -14,8 +14,8 @@ public class GetCspEnablementAccountSettingRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDashboardEmailSubscriptionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDashboardEmailSubscriptionsRequest.java index 542e65c37..0814575f3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDashboardEmailSubscriptionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDashboardEmailSubscriptionsRequest.java @@ -14,8 +14,8 @@ public class GetDashboardEmailSubscriptionsRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultNamespaceSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultNamespaceSettingRequest.java index bd735b22b..a26613e0e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultNamespaceSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultNamespaceSettingRequest.java @@ -14,8 +14,8 @@ public class GetDefaultNamespaceSettingRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultWarehouseIdRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultWarehouseIdRequest.java index 9e2b62400..e4a9d3940 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultWarehouseIdRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultWarehouseIdRequest.java @@ -14,8 +14,8 @@ public class GetDefaultWarehouseIdRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyAccessRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyAccessRequest.java index 8f813d2ae..73b696116 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyAccessRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyAccessRequest.java @@ -14,8 +14,8 @@ public class GetDisableLegacyAccessRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyDbfsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyDbfsRequest.java index 8c417c219..03d8b67a7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyDbfsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyDbfsRequest.java @@ -14,8 +14,8 @@ public class GetDisableLegacyDbfsRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyFeaturesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyFeaturesRequest.java index f36544e6f..70f291834 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyFeaturesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDisableLegacyFeaturesRequest.java @@ -14,8 +14,8 @@ public class GetDisableLegacyFeaturesRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEnhancedSecurityMonitoringSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEnhancedSecurityMonitoringSettingRequest.java index 5d481520a..7000b8abb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEnhancedSecurityMonitoringSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEnhancedSecurityMonitoringSettingRequest.java @@ -14,8 +14,8 @@ public class GetEnhancedSecurityMonitoringSettingRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementAccountSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementAccountSettingRequest.java index 39f61fc98..59b8937d7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementAccountSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementAccountSettingRequest.java @@ -14,8 +14,8 @@ public class GetEsmEnablementAccountSettingRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredAccountRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredAccountRequest.java index c001a3f95..7ffde121a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredAccountRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredAccountRequest.java @@ -14,8 +14,8 @@ public class GetLlmProxyPartnerPoweredAccountRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredEnforceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredEnforceRequest.java index 815993eb3..482e59b85 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredEnforceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredEnforceRequest.java @@ -14,8 +14,8 @@ public class GetLlmProxyPartnerPoweredEnforceRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredWorkspaceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredWorkspaceRequest.java index c2d59f4e9..bfb38dcbc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredWorkspaceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetLlmProxyPartnerPoweredWorkspaceRequest.java @@ -14,8 +14,8 @@ public class GetLlmProxyPartnerPoweredWorkspaceRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPersonalComputeSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPersonalComputeSettingRequest.java index 6e1f3207e..b87f05ea9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPersonalComputeSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPersonalComputeSettingRequest.java @@ -14,8 +14,8 @@ public class GetPersonalComputeSettingRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetRestrictWorkspaceAdminsSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetRestrictWorkspaceAdminsSettingRequest.java index 076c65a6f..fc5b3785a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetRestrictWorkspaceAdminsSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetRestrictWorkspaceAdminsSettingRequest.java @@ -14,8 +14,8 @@ public class GetRestrictWorkspaceAdminsSettingRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetSqlResultsDownloadRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetSqlResultsDownloadRequest.java index ac52220a8..93a6320bd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetSqlResultsDownloadRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetSqlResultsDownloadRequest.java @@ -14,8 +14,8 @@ public class GetSqlResultsDownloadRequest { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get - * an etag from a GET request, and pass it with the DELETE request to identify the rule set + * -> delete pattern to perform setting deletions in order to avoid race conditions. That is, + * get an etag from a GET request, and pass it with the DELETE request to identify the rule set * version you are deleting. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListInfo.java index 439e4055e..09eae0b3b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListInfo.java @@ -31,7 +31,7 @@ public class IpAccessListInfo { @JsonProperty("ip_addresses") private Collection ipAddresses; - /** Label for the IP access list. This **cannot** be empty. */ + /** Label for the IP access list. This cannot be empty. */ @JsonProperty("label") private String label; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsAPI.java index 38601cfbc..bd2405003 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsAPI.java @@ -14,9 +14,14 @@ * the feature is disabled for a workspace, all access is allowed for this workspace. There is * support for allow lists (inclusion) and block lists (exclusion). * - *

When a connection is attempted: 1. **First, all block lists are checked.** If the connection - * IP address matches any block list, the connection is rejected. 2. **If the connection was not - * rejected by block lists**, the IP address is compared with the allow lists. + *

When a connection is attempted: + * + *

    + *
  1. First, all block lists are checked. If the connection IP address matches any block + * list, the connection is rejected. + *
  2. If the connection was not rejected by block lists, the IP address is compared with + * the allow lists. + *
* *

If there is at least one allow list for the workspace, the connection is allowed only if the * IP address matches an allow list. If there are no allow lists for the workspace, all IP addresses @@ -52,13 +57,16 @@ public IpAccessListsAPI(IpAccessListsService mock) { * *

When creating or updating an IP access list: * - *

* For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR - * values, where one CIDR counts as a single value. Attempts to exceed that number return error - * 400 with `error_code` value `QUOTA_EXCEEDED`. * If the new list would block the calling user's - * current IP, error 400 is returned with `error_code` value `INVALID_STATE`. + *

    + *
  • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR + * values, where one CIDR counts as a single value. Attempts to exceed that number return + * error 400 with {@code error_code} value {@code QUOTA_EXCEEDED}. + *
  • If the new list would block the calling user's current IP, error 400 is returned with + * {@code error_code} value {@code INVALID_STATE}. + *
* - *

It can take a few minutes for the changes to take effect. **Note**: Your new IP access list - * has no effect until you enable the feature. See :method:workspaceconf/setStatus + *

It can take a few minutes for the changes to take effect. Note: Your new IP access + * list has no effect until you enable the feature. See :method:workspaceconf/setStatus */ public CreateIpAccessListResponse create(CreateIpAccessList request) { return impl.create(request); @@ -96,12 +104,17 @@ public Iterable list() { * *

A list can include allow lists and block lists. See the top of this file for a description * of how the server treats allow lists and block lists at run time. When replacing an IP access - * list: * For all allow lists and block lists combined, the API supports a maximum of 1000 - * IP/CIDR values, where one CIDR counts as a single value. Attempts to exceed that number return - * error 400 with `error_code` value `QUOTA_EXCEEDED`. * If the resulting list would block the - * calling user's current IP, error 400 is returned with `error_code` value `INVALID_STATE`. It - * can take a few minutes for the changes to take effect. Note that your resulting IP access list - * has no effect until you enable the feature. See :method:workspaceconf/setStatus. + * list: + * + *

    + *
  • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR + * values, where one CIDR counts as a single value. Attempts to exceed that number return + * error 400 with {@code error_code} value {@code QUOTA_EXCEEDED}. + *
  • If the resulting list would block the calling user's current IP, error 400 is returned + * with {@code error_code} value {@code INVALID_STATE}. It can take a few minutes for the + * changes to take effect. Note that your resulting IP access list has no effect until you + * enable the feature. See :method:workspaceconf/setStatus. + *
*/ public void replace(ReplaceIpAccessList request) { impl.replace(request); @@ -115,10 +128,13 @@ public void replace(ReplaceIpAccessList request) { * *

When updating an IP access list: * - *

* For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR - * values, where one CIDR counts as a single value. Attempts to exceed that number return error - * 400 with `error_code` value `QUOTA_EXCEEDED`. * If the updated list would block the calling - * user's current IP, error 400 is returned with `error_code` value `INVALID_STATE`. + *

    + *
  • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR + * values, where one CIDR counts as a single value. Attempts to exceed that number return + * error 400 with {@code error_code} value {@code QUOTA_EXCEEDED}. + *
  • If the updated list would block the calling user's current IP, error 400 is returned with + * {@code error_code} value {@code INVALID_STATE}. + *
* *

It can take a few minutes for the changes to take effect. Note that your resulting IP access * list has no effect until you enable the feature. See :method:workspaceconf/setStatus. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsService.java index 4f74e0aa9..dc0669a93 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsService.java @@ -10,9 +10,14 @@ * the feature is disabled for a workspace, all access is allowed for this workspace. There is * support for allow lists (inclusion) and block lists (exclusion). * - *

When a connection is attempted: 1. **First, all block lists are checked.** If the connection - * IP address matches any block list, the connection is rejected. 2. **If the connection was not - * rejected by block lists**, the IP address is compared with the allow lists. + *

When a connection is attempted: + * + *

    + *
  1. First, all block lists are checked. If the connection IP address matches any block + * list, the connection is rejected. + *
  2. If the connection was not rejected by block lists, the IP address is compared with + * the allow lists. + *
* *

If there is at least one allow list for the workspace, the connection is allowed only if the * IP address matches an allow list. If there are no allow lists for the workspace, all IP addresses @@ -38,13 +43,16 @@ public interface IpAccessListsService { * *

When creating or updating an IP access list: * - *

* For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR - * values, where one CIDR counts as a single value. Attempts to exceed that number return error - * 400 with `error_code` value `QUOTA_EXCEEDED`. * If the new list would block the calling user's - * current IP, error 400 is returned with `error_code` value `INVALID_STATE`. + *

    + *
  • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR + * values, where one CIDR counts as a single value. Attempts to exceed that number return + * error 400 with {@code error_code} value {@code QUOTA_EXCEEDED}. + *
  • If the new list would block the calling user's current IP, error 400 is returned with + * {@code error_code} value {@code INVALID_STATE}. + *
* - *

It can take a few minutes for the changes to take effect. **Note**: Your new IP access list - * has no effect until you enable the feature. See :method:workspaceconf/setStatus + *

It can take a few minutes for the changes to take effect. Note: Your new IP access + * list has no effect until you enable the feature. See :method:workspaceconf/setStatus */ CreateIpAccessListResponse create(CreateIpAccessList createIpAccessList); @@ -62,12 +70,17 @@ public interface IpAccessListsService { * *

A list can include allow lists and block lists. See the top of this file for a description * of how the server treats allow lists and block lists at run time. When replacing an IP access - * list: * For all allow lists and block lists combined, the API supports a maximum of 1000 - * IP/CIDR values, where one CIDR counts as a single value. Attempts to exceed that number return - * error 400 with `error_code` value `QUOTA_EXCEEDED`. * If the resulting list would block the - * calling user's current IP, error 400 is returned with `error_code` value `INVALID_STATE`. It - * can take a few minutes for the changes to take effect. Note that your resulting IP access list - * has no effect until you enable the feature. See :method:workspaceconf/setStatus. + * list: + * + *

    + *
  • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR + * values, where one CIDR counts as a single value. Attempts to exceed that number return + * error 400 with {@code error_code} value {@code QUOTA_EXCEEDED}. + *
  • If the resulting list would block the calling user's current IP, error 400 is returned + * with {@code error_code} value {@code INVALID_STATE}. It can take a few minutes for the + * changes to take effect. Note that your resulting IP access list has no effect until you + * enable the feature. See :method:workspaceconf/setStatus. + *
*/ void replace(ReplaceIpAccessList replaceIpAccessList); @@ -79,10 +92,13 @@ public interface IpAccessListsService { * *

When updating an IP access list: * - *

* For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR - * values, where one CIDR counts as a single value. Attempts to exceed that number return error - * 400 with `error_code` value `QUOTA_EXCEEDED`. * If the updated list would block the calling - * user's current IP, error 400 is returned with `error_code` value `INVALID_STATE`. + *

    + *
  • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR + * values, where one CIDR counts as a single value. Attempts to exceed that number return + * error 400 with {@code error_code} value {@code QUOTA_EXCEEDED}. + *
  • If the updated list would block the calling user's current IP, error 400 is returned with + * {@code error_code} value {@code INVALID_STATE}. + *
* *

It can take a few minutes for the changes to take effect. Note that your resulting IP access * list has no effect until you enable the feature. See :method:workspaceconf/setStatus. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListType.java index 6959ed5e7..9870dc7cc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ListType.java @@ -7,8 +7,11 @@ /** * Type of IP access list. Valid values are as follows and are case-sensitive: * - *

* `ALLOW`: An allow list. Include this IP or range. * `BLOCK`: A block list. Exclude this IP - * or range. IP addresses in the block list are excluded even if they are included in an allow list. + *

    + *
  • {@code ALLOW}: An allow list. Include this IP or range. + *
  • {@code BLOCK}: A block list. Exclude this IP or range. IP addresses in the block list are + * excluded even if they are included in an allow list. + *
*/ @Generated public enum ListType { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredAccount.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredAccount.java index adb284ade..62f76a33a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredAccount.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredAccount.java @@ -17,9 +17,9 @@ public class LlmProxyPartnerPoweredAccount { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredEnforce.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredEnforce.java index 653a3ddd6..afa47c267 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredEnforce.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredEnforce.java @@ -17,9 +17,9 @@ public class LlmProxyPartnerPoweredEnforce { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredWorkspace.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredWorkspace.java index 85cd8a171..4100a2eb9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredWorkspace.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/LlmProxyPartnerPoweredWorkspace.java @@ -17,9 +17,9 @@ public class LlmProxyPartnerPoweredWorkspace { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NccAzurePrivateEndpointRule.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NccAzurePrivateEndpointRule.java index e0017ae8d..26b286856 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NccAzurePrivateEndpointRule.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NccAzurePrivateEndpointRule.java @@ -17,13 +17,18 @@ public class NccAzurePrivateEndpointRule { /** * The current status of this private endpoint. The private endpoint rules are effective only if * the connection state is ESTABLISHED. Remember that you must approve new endpoints on your - * resources in the Azure portal before they take effect. The possible values are: - INIT: - * (deprecated) The endpoint has been created and pending approval. - PENDING: The endpoint has - * been created and pending approval. - ESTABLISHED: The endpoint has been approved and is ready - * to use in your serverless compute resources. - REJECTED: Connection was rejected by the private - * link resource owner. - DISCONNECTED: Connection was removed by the private link resource owner, - * the private endpoint becomes informative and should be deleted for clean-up. - EXPIRED: If the - * endpoint was created but not approved in 14 days, it will be EXPIRED. + * resources in the Azure portal before they take effect. The possible values are: + * + *
    + *
  • INIT: (deprecated) The endpoint has been created and pending approval. + *
  • PENDING: The endpoint has been created and pending approval. + *
  • ESTABLISHED: The endpoint has been approved and is ready to use in your serverless + * compute resources. + *
  • REJECTED: Connection was rejected by the private link resource owner. + *
  • DISCONNECTED: Connection was removed by the private link resource owner, the private + * endpoint becomes informative and should be deleted for clean-up. + *
  • EXPIRED: If the endpoint was created but not approved in 14 days, it will be EXPIRED. + *
*/ @JsonProperty("connection_state") private NccAzurePrivateEndpointRuleConnectionState connectionState; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NccPrivateEndpointRule.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NccPrivateEndpointRule.java index eafd0abab..b7aa8c66e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NccPrivateEndpointRule.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NccPrivateEndpointRule.java @@ -21,15 +21,21 @@ public class NccPrivateEndpointRule { /** * The current status of this private endpoint. The private endpoint rules are effective only if * the connection state is ESTABLISHED. Remember that you must approve new endpoints on your - * resources in the Cloud console before they take effect. The possible values are: - PENDING: The - * endpoint has been created and pending approval. - ESTABLISHED: The endpoint has been approved - * and is ready to use in your serverless compute resources. - REJECTED: Connection was rejected - * by the private link resource owner. - DISCONNECTED: Connection was removed by the private link - * resource owner, the private endpoint becomes informative and should be deleted for clean-up. - - * EXPIRED: If the endpoint was created but not approved in 14 days, it will be EXPIRED. - - * CREATING: The endpoint creation is in progress. Once successfully created, the state will - * transition to PENDING. - CREATE_FAILED: The endpoint creation failed. You can check the - * error_message field for more details. + * resources in the Cloud console before they take effect. The possible values are: + * + *
    + *
  • PENDING: The endpoint has been created and pending approval. + *
  • ESTABLISHED: The endpoint has been approved and is ready to use in your serverless + * compute resources. + *
  • REJECTED: Connection was rejected by the private link resource owner. + *
  • DISCONNECTED: Connection was removed by the private link resource owner, the private + * endpoint becomes informative and should be deleted for clean-up. + *
  • EXPIRED: If the endpoint was created but not approved in 14 days, it will be EXPIRED. + *
  • CREATING: The endpoint creation is in progress. Once successfully created, the state will + * transition to PENDING. + *
  • CREATE_FAILED: The endpoint creation failed. You can check the error_message field for + * more details. + *
*/ @JsonProperty("connection_state") private NccPrivateEndpointRulePrivateLinkConnectionState connectionState; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkConnectivityAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkConnectivityAPI.java index cf8d0d1ed..19c1789fd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkConnectivityAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkConnectivityAPI.java @@ -12,11 +12,9 @@ * compute resources. This API provides stable subnets for your workspace so that you can configure * your firewalls on your Azure Storage accounts to allow access from Databricks. You can also use * the API to provision private endpoints for Databricks to privately connect serverless compute - * resources to your Azure resources using Azure Private Link. See [configure serverless secure - * connectivity]. - * - *

[configure serverless secure connectivity]: - * https://learn.microsoft.com/azure/databricks/security/network/serverless-network-security + * resources to your Azure resources using Azure Private Link. See configure + * serverless secure connectivity. */ @Generated public class NetworkConnectivityAPI { @@ -40,13 +38,12 @@ public NetworkConnectivityAPI(NetworkConnectivityService mock) { * configuration to create Databricks managed private endpoints so that Databricks serverless * compute resources privately access your resources. * - *

**IMPORTANT**: After you create the network connectivity configuration, you must assign one - * or more workspaces to the new network connectivity configuration. You can share one network + *

IMPORTANT: After you create the network connectivity configuration, you must assign + * one or more workspaces to the new network connectivity configuration. You can share one network * connectivity configuration with multiple workspaces from the same Azure region within the same - * Databricks account. See [configure serverless secure connectivity]. - * - *

[configure serverless secure connectivity]: - * https://learn.microsoft.com/azure/databricks/security/network/serverless-network-security + * Databricks account. See configure + * serverless secure connectivity. */ public NetworkConnectivityConfiguration createNetworkConnectivityConfiguration( CreateNetworkConnectivityConfigRequest request) { @@ -58,12 +55,11 @@ public NetworkConnectivityConfiguration createNetworkConnectivityConfiguration( * object is created, Databricks asynchronously provisions a new Azure private endpoint to your * specified Azure resource. * - *

**IMPORTANT**: You must use Azure portal or other Azure tools to approve the private + *

IMPORTANT: You must use Azure portal or other Azure tools to approve the private * endpoint to complete the connection. To get the information of the private endpoint created, - * make a `GET` request on the new private endpoint rule. See [serverless private link]. - * - *

[serverless private link]: - * https://learn.microsoft.com/azure/databricks/security/network/serverless-network-security/serverless-private-link + * make a {@code GET} request on the new private endpoint rule. See serverless + * private link. */ public NccPrivateEndpointRule createPrivateEndpointRule( CreatePrivateEndpointRuleRequest request) { @@ -94,8 +90,8 @@ public NccPrivateEndpointRule deletePrivateEndpointRule( * Initiates deleting a private endpoint rule. If the connection state is PENDING or EXPIRED, the * private endpoint is immediately deleted. Otherwise, the private endpoint is deactivated and * will be deleted after one day of deactivation. When a private endpoint is deactivated, the - * `deactivated` field is set to `true` and the private endpoint is not available to your - * serverless compute resources. + * {@code deactivated} field is set to {@code true} and the private endpoint is not available to + * your serverless compute resources. */ public NccPrivateEndpointRule deletePrivateEndpointRule( DeletePrivateEndpointRuleRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkConnectivityService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkConnectivityService.java index 30e491376..76ac01379 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkConnectivityService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NetworkConnectivityService.java @@ -8,11 +8,9 @@ * compute resources. This API provides stable subnets for your workspace so that you can configure * your firewalls on your Azure Storage accounts to allow access from Databricks. You can also use * the API to provision private endpoints for Databricks to privately connect serverless compute - * resources to your Azure resources using Azure Private Link. See [configure serverless secure - * connectivity]. - * - *

[configure serverless secure connectivity]: - * https://learn.microsoft.com/azure/databricks/security/network/serverless-network-security + * resources to your Azure resources using Azure Private Link. See configure + * serverless secure connectivity. * *

This is the high-level interface, that contains generated methods. * @@ -26,13 +24,12 @@ public interface NetworkConnectivityService { * configuration to create Databricks managed private endpoints so that Databricks serverless * compute resources privately access your resources. * - *

**IMPORTANT**: After you create the network connectivity configuration, you must assign one - * or more workspaces to the new network connectivity configuration. You can share one network + *

IMPORTANT: After you create the network connectivity configuration, you must assign + * one or more workspaces to the new network connectivity configuration. You can share one network * connectivity configuration with multiple workspaces from the same Azure region within the same - * Databricks account. See [configure serverless secure connectivity]. - * - *

[configure serverless secure connectivity]: - * https://learn.microsoft.com/azure/databricks/security/network/serverless-network-security + * Databricks account. See configure + * serverless secure connectivity. */ NetworkConnectivityConfiguration createNetworkConnectivityConfiguration( CreateNetworkConnectivityConfigRequest createNetworkConnectivityConfigRequest); @@ -42,12 +39,11 @@ NetworkConnectivityConfiguration createNetworkConnectivityConfiguration( * object is created, Databricks asynchronously provisions a new Azure private endpoint to your * specified Azure resource. * - *

**IMPORTANT**: You must use Azure portal or other Azure tools to approve the private + *

IMPORTANT: You must use Azure portal or other Azure tools to approve the private * endpoint to complete the connection. To get the information of the private endpoint created, - * make a `GET` request on the new private endpoint rule. See [serverless private link]. - * - *

[serverless private link]: - * https://learn.microsoft.com/azure/databricks/security/network/serverless-network-security/serverless-private-link + * make a {@code GET} request on the new private endpoint rule. See serverless + * private link. */ NccPrivateEndpointRule createPrivateEndpointRule( CreatePrivateEndpointRuleRequest createPrivateEndpointRuleRequest); @@ -60,8 +56,8 @@ void deleteNetworkConnectivityConfiguration( * Initiates deleting a private endpoint rule. If the connection state is PENDING or EXPIRED, the * private endpoint is immediately deleted. Otherwise, the private endpoint is deactivated and * will be deleted after one day of deactivation. When a private endpoint is deactivated, the - * `deactivated` field is set to `true` and the private endpoint is not available to your - * serverless compute resources. + * {@code deactivated} field is set to {@code true} and the private endpoint is not available to + * your serverless compute resources. */ NccPrivateEndpointRule deletePrivateEndpointRule( DeletePrivateEndpointRuleRequest deletePrivateEndpointRuleRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeSetting.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeSetting.java index 6f1d07b73..f8b0d879f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeSetting.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeSetting.java @@ -13,9 +13,9 @@ public class PersonalComputeSetting { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ReplaceIpAccessList.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ReplaceIpAccessList.java index 82be25f3a..d999dd2d7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ReplaceIpAccessList.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ReplaceIpAccessList.java @@ -23,7 +23,7 @@ public class ReplaceIpAccessList { @JsonProperty("ip_addresses") private Collection ipAddresses; - /** Label for the IP access list. This **cannot** be empty. */ + /** Label for the IP access list. This cannot be empty. */ @JsonProperty("label") private String label; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsAPI.java index b07a3d841..5fafe4f47 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsAPI.java @@ -36,10 +36,10 @@ public RestrictWorkspaceAdminsAPI(RestrictWorkspaceAdminsService mock) { /** * Reverts the restrict workspace admins setting status for the workspace. A fresh etag needs to - * be provided in `DELETE` requests (as a query parameter). The etag can be retrieved by making a - * `GET` request before the DELETE request. If the setting is updated/deleted concurrently, - * `DELETE` fails with 409 and the request must be retried by using the fresh etag in the 409 - * response. + * be provided in {@code DELETE} requests (as a query parameter). The etag can be retrieved by + * making a {@code GET} request before the DELETE request. If the setting is updated/deleted + * concurrently, {@code DELETE} fails with 409 and the request must be retried by using the fresh + * etag in the 409 response. */ public DeleteRestrictWorkspaceAdminsSettingResponse delete( DeleteRestrictWorkspaceAdminsSettingRequest request) { @@ -53,9 +53,9 @@ public RestrictWorkspaceAdminsSetting get(GetRestrictWorkspaceAdminsSettingReque /** * Updates the restrict workspace admins setting for the workspace. A fresh etag needs to be - * provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by - * making a GET request before the `PATCH` request. If the setting is updated concurrently, - * `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 + * provided in {@code PATCH} requests (as part of the setting field). The etag can be retrieved by + * making a GET request before the {@code PATCH} request. If the setting is updated concurrently, + * {@code PATCH} fails with 409 and the request must be retried by using the fresh etag in the 409 * response. */ public RestrictWorkspaceAdminsSetting update( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsService.java index 54429f787..f67977d55 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsService.java @@ -23,10 +23,10 @@ public interface RestrictWorkspaceAdminsService { /** * Reverts the restrict workspace admins setting status for the workspace. A fresh etag needs to - * be provided in `DELETE` requests (as a query parameter). The etag can be retrieved by making a - * `GET` request before the DELETE request. If the setting is updated/deleted concurrently, - * `DELETE` fails with 409 and the request must be retried by using the fresh etag in the 409 - * response. + * be provided in {@code DELETE} requests (as a query parameter). The etag can be retrieved by + * making a {@code GET} request before the DELETE request. If the setting is updated/deleted + * concurrently, {@code DELETE} fails with 409 and the request must be retried by using the fresh + * etag in the 409 response. */ DeleteRestrictWorkspaceAdminsSettingResponse delete( DeleteRestrictWorkspaceAdminsSettingRequest deleteRestrictWorkspaceAdminsSettingRequest); @@ -37,9 +37,9 @@ RestrictWorkspaceAdminsSetting get( /** * Updates the restrict workspace admins setting for the workspace. A fresh etag needs to be - * provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by - * making a GET request before the `PATCH` request. If the setting is updated concurrently, - * `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 + * provided in {@code PATCH} requests (as part of the setting field). The etag can be retrieved by + * making a GET request before the {@code PATCH} request. If the setting is updated concurrently, + * {@code PATCH} fails with 409 and the request must be retried by using the fresh etag in the 409 * response. */ RestrictWorkspaceAdminsSetting update( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsSetting.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsSetting.java index 2eaf3a50f..00e64c774 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsSetting.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsSetting.java @@ -13,9 +13,9 @@ public class RestrictWorkspaceAdminsSetting { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownload.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownload.java index b15b7f669..6172c546a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownload.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownload.java @@ -17,9 +17,9 @@ public class SqlResultsDownload { * etag used for versioning. The response is at least as fresh as the eTag provided. This is used * for optimistic concurrency control as a way to help prevent simultaneous writes of a setting * overwriting each other. It is strongly suggested that systems make use of the etag in the read - * -> update pattern to perform setting updates in order to avoid race conditions. That is, get an - * etag from a GET request, and pass it with the PATCH request to identify the setting version you - * are updating. + * -> update pattern to perform setting updates in order to avoid race conditions. That is, get + * an etag from a GET request, and pass it with the PATCH request to identify the setting version + * you are updating. */ @JsonProperty("etag") private String etag; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownloadAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownloadAPI.java index 3dbab3a82..bd40bf454 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownloadAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownloadAPI.java @@ -8,7 +8,7 @@ /** * Controls whether users within the workspace are allowed to download results from the SQL Editor - * and AI/BI Dashboards UIs. By default, this setting is enabled (set to `true`) + * and AI/BI Dashboards UIs. By default, this setting is enabled (set to {@code true}) */ @Generated public class SqlResultsDownloadAPI { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownloadService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownloadService.java index 6a53277c0..ee95e9e0e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownloadService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/SqlResultsDownloadService.java @@ -5,7 +5,7 @@ /** * Controls whether users within the workspace are allowed to download results from the SQL Editor - * and AI/BI Dashboards UIs. By default, this setting is enabled (set to `true`) + * and AI/BI Dashboards UIs. By default, this setting is enabled (set to {@code true}) * *

This is the high-level interface, that contains generated methods. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokenType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokenType.java index 03b9635ab..af0c24a1f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokenType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokenType.java @@ -4,7 +4,7 @@ import com.databricks.sdk.support.Generated; -/** The type of token request. As of now, only `AZURE_ACTIVE_DIRECTORY_TOKEN` is supported. */ +/** The type of token request. As of now, only {@code AZURE_ACTIVE_DIRECTORY_TOKEN} is supported. */ @Generated public enum TokenType { ARCLIGHT_AZURE_EXCHANGE_TOKEN, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensAPI.java index 3714ede4f..681fa21e6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensAPI.java @@ -30,7 +30,7 @@ public TokensAPI(TokensService mock) { /** * Creates and returns a token for a user. If this call is made through token authentication, it * creates a token with the same client ID as the authenticated token. If the user's token quota - * is exceeded, this call returns an error **QUOTA_EXCEEDED**. + * is exceeded, this call returns an error QUOTA_EXCEEDED. */ public CreateTokenResponse create(CreateTokenRequest request) { return impl.create(request); @@ -44,7 +44,7 @@ public void delete(String tokenId) { * Revokes an access token. * *

If a token with the specified ID is not valid, this call returns an error - * **RESOURCE_DOES_NOT_EXIST**. + * RESOURCE_DOES_NOT_EXIST. */ public void delete(RevokeTokenRequest request) { impl.delete(request); @@ -59,7 +59,7 @@ public Iterable list() { /** * Updates the comment or scopes of a token. * - *

If a token with the specified ID is not valid, this call returns an error **NOT_FOUND**. + *

If a token with the specified ID is not valid, this call returns an error NOT_FOUND. */ public UpdateTokenResponse update(UpdateTokenRequest request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensService.java index d489b0a77..aa5f380f5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensService.java @@ -16,7 +16,7 @@ public interface TokensService { /** * Creates and returns a token for a user. If this call is made through token authentication, it * creates a token with the same client ID as the authenticated token. If the user's token quota - * is exceeded, this call returns an error **QUOTA_EXCEEDED**. + * is exceeded, this call returns an error QUOTA_EXCEEDED. */ CreateTokenResponse create(CreateTokenRequest createTokenRequest); @@ -24,7 +24,7 @@ public interface TokensService { * Revokes an access token. * *

If a token with the specified ID is not valid, this call returns an error - * **RESOURCE_DOES_NOT_EXIST**. + * RESOURCE_DOES_NOT_EXIST. */ void delete(RevokeTokenRequest revokeTokenRequest); @@ -34,7 +34,7 @@ public interface TokensService { /** * Updates the comment or scopes of a token. * - *

If a token with the specified ID is not valid, this call returns an error **NOT_FOUND**. + *

If a token with the specified ID is not valid, this call returns an error NOT_FOUND. */ UpdateTokenResponse update(UpdateTokenRequest updateTokenRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateAccountIpAccessEnableRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateAccountIpAccessEnableRequest.java index 60cb583c2..0e45bfa1c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateAccountIpAccessEnableRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateAccountIpAccessEnableRequest.java @@ -16,14 +16,14 @@ public class UpdateAccountIpAccessEnableRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateAibiDashboardEmbeddingAccessPolicySettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateAibiDashboardEmbeddingAccessPolicySettingRequest.java index e41d32f7f..ccd2f69c5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateAibiDashboardEmbeddingAccessPolicySettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateAibiDashboardEmbeddingAccessPolicySettingRequest.java @@ -16,14 +16,14 @@ public class UpdateAibiDashboardEmbeddingAccessPolicySettingRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateAibiDashboardEmbeddingApprovedDomainsSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateAibiDashboardEmbeddingApprovedDomainsSettingRequest.java index a0696f850..fc745dd0e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateAibiDashboardEmbeddingApprovedDomainsSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateAibiDashboardEmbeddingApprovedDomainsSettingRequest.java @@ -16,14 +16,14 @@ public class UpdateAibiDashboardEmbeddingApprovedDomainsSettingRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateAutomaticClusterUpdateSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateAutomaticClusterUpdateSettingRequest.java index 4231071d1..a189eb131 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateAutomaticClusterUpdateSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateAutomaticClusterUpdateSettingRequest.java @@ -16,14 +16,14 @@ public class UpdateAutomaticClusterUpdateSettingRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateComplianceSecurityProfileSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateComplianceSecurityProfileSettingRequest.java index 6eb4c62b2..2b0bd96b6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateComplianceSecurityProfileSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateComplianceSecurityProfileSettingRequest.java @@ -16,14 +16,14 @@ public class UpdateComplianceSecurityProfileSettingRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateCspEnablementAccountSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateCspEnablementAccountSettingRequest.java index a1243c1cd..ad7f0dc2d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateCspEnablementAccountSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateCspEnablementAccountSettingRequest.java @@ -16,14 +16,14 @@ public class UpdateCspEnablementAccountSettingRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDashboardEmailSubscriptionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDashboardEmailSubscriptionsRequest.java index 37613e037..53a839735 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDashboardEmailSubscriptionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDashboardEmailSubscriptionsRequest.java @@ -16,14 +16,14 @@ public class UpdateDashboardEmailSubscriptionsRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDefaultNamespaceSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDefaultNamespaceSettingRequest.java index b4402d001..c687feafc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDefaultNamespaceSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDefaultNamespaceSettingRequest.java @@ -16,14 +16,14 @@ public class UpdateDefaultNamespaceSettingRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDefaultWarehouseIdRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDefaultWarehouseIdRequest.java index 623254b06..ea14b2155 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDefaultWarehouseIdRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDefaultWarehouseIdRequest.java @@ -16,14 +16,14 @@ public class UpdateDefaultWarehouseIdRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDisableLegacyAccessRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDisableLegacyAccessRequest.java index 92ecb6463..3d2dc4c98 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDisableLegacyAccessRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDisableLegacyAccessRequest.java @@ -16,14 +16,14 @@ public class UpdateDisableLegacyAccessRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDisableLegacyDbfsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDisableLegacyDbfsRequest.java index 9859a2ade..a94e14b37 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDisableLegacyDbfsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDisableLegacyDbfsRequest.java @@ -16,14 +16,14 @@ public class UpdateDisableLegacyDbfsRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDisableLegacyFeaturesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDisableLegacyFeaturesRequest.java index d54d4f516..a9246be0e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDisableLegacyFeaturesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateDisableLegacyFeaturesRequest.java @@ -16,14 +16,14 @@ public class UpdateDisableLegacyFeaturesRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEnableExportNotebookRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEnableExportNotebookRequest.java index 4e426ca38..292117717 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEnableExportNotebookRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEnableExportNotebookRequest.java @@ -16,14 +16,14 @@ public class UpdateEnableExportNotebookRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEnableNotebookTableClipboardRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEnableNotebookTableClipboardRequest.java index 008b93554..db03a355a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEnableNotebookTableClipboardRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEnableNotebookTableClipboardRequest.java @@ -16,14 +16,14 @@ public class UpdateEnableNotebookTableClipboardRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEnableResultsDownloadingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEnableResultsDownloadingRequest.java index 7311e8398..add26326a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEnableResultsDownloadingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEnableResultsDownloadingRequest.java @@ -16,14 +16,14 @@ public class UpdateEnableResultsDownloadingRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEnhancedSecurityMonitoringSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEnhancedSecurityMonitoringSettingRequest.java index 9acd11789..821389378 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEnhancedSecurityMonitoringSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEnhancedSecurityMonitoringSettingRequest.java @@ -16,14 +16,14 @@ public class UpdateEnhancedSecurityMonitoringSettingRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEsmEnablementAccountSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEsmEnablementAccountSettingRequest.java index 224635191..f84a9ac01 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEsmEnablementAccountSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateEsmEnablementAccountSettingRequest.java @@ -16,14 +16,14 @@ public class UpdateEsmEnablementAccountSettingRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateIpAccessList.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateIpAccessList.java index f636af0ce..5c45a4d5d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateIpAccessList.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateIpAccessList.java @@ -23,7 +23,7 @@ public class UpdateIpAccessList { @JsonProperty("ip_addresses") private Collection ipAddresses; - /** Label for the IP access list. This **cannot** be empty. */ + /** Label for the IP access list. This cannot be empty. */ @JsonProperty("label") private String label; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateLlmProxyPartnerPoweredAccountRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateLlmProxyPartnerPoweredAccountRequest.java index 3d8db559a..c976d9da5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateLlmProxyPartnerPoweredAccountRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateLlmProxyPartnerPoweredAccountRequest.java @@ -16,14 +16,14 @@ public class UpdateLlmProxyPartnerPoweredAccountRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateLlmProxyPartnerPoweredEnforceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateLlmProxyPartnerPoweredEnforceRequest.java index c644fc32c..79bd302cd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateLlmProxyPartnerPoweredEnforceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateLlmProxyPartnerPoweredEnforceRequest.java @@ -16,14 +16,14 @@ public class UpdateLlmProxyPartnerPoweredEnforceRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateLlmProxyPartnerPoweredWorkspaceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateLlmProxyPartnerPoweredWorkspaceRequest.java index 52f1bb85a..7abf5b547 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateLlmProxyPartnerPoweredWorkspaceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateLlmProxyPartnerPoweredWorkspaceRequest.java @@ -16,14 +16,14 @@ public class UpdateLlmProxyPartnerPoweredWorkspaceRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateNccPrivateEndpointRuleRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateNccPrivateEndpointRuleRequest.java index defd2840b..f931affe2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateNccPrivateEndpointRuleRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateNccPrivateEndpointRuleRequest.java @@ -26,10 +26,10 @@ public class UpdateNccPrivateEndpointRuleRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. */ @JsonIgnore @QueryParam("update_mask") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdatePersonalComputeSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdatePersonalComputeSettingRequest.java index 50470709c..fd23bc8a0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdatePersonalComputeSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdatePersonalComputeSettingRequest.java @@ -16,14 +16,14 @@ public class UpdatePersonalComputeSettingRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateRestrictWorkspaceAdminsSettingRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateRestrictWorkspaceAdminsSettingRequest.java index e6162fd5b..dbf3985be 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateRestrictWorkspaceAdminsSettingRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateRestrictWorkspaceAdminsSettingRequest.java @@ -16,14 +16,14 @@ public class UpdateRestrictWorkspaceAdminsSettingRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateSqlResultsDownloadRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateSqlResultsDownloadRequest.java index a0d263a52..4537248fd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateSqlResultsDownloadRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateSqlResultsDownloadRequest.java @@ -16,14 +16,14 @@ public class UpdateSqlResultsDownloadRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("field_mask") private String fieldMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateTokenManagementRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateTokenManagementRequest.java index 0d0da379b..c482653c4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateTokenManagementRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateTokenManagementRequest.java @@ -25,14 +25,14 @@ public class UpdateTokenManagementRequest { * A list of field name under token, For example, {"update_mask": "comment,scopes"} * *

The field mask must be a single string, with multiple fields separated by commas (no - * spaces). The field path is relative to the resource object, using a dot (`.`) to navigate - * sub-fields (e.g., `author.given_name`). Specification of elements in sequence or map fields is - * not allowed, as only the entire collection field can be specified. Field names must exactly - * match the resource field names. + * spaces). The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("update_mask") private FieldMask updateMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateTokenRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateTokenRequest.java index 2683f04ae..7b4b0d3d1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateTokenRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateTokenRequest.java @@ -25,14 +25,14 @@ public class UpdateTokenRequest { * A list of field name under token, For example, {"update_mask": "comment,scopes"} * *

The field mask must be a single string, with multiple fields separated by commas (no - * spaces). The field path is relative to the resource object, using a dot (`.`) to navigate - * sub-fields (e.g., `author.given_name`). Specification of elements in sequence or map fields is - * not allowed, as only the entire collection field can be specified. Field names must exactly - * match the resource field names. + * spaces). The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("update_mask") private FieldMask updateMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListAccountSettingsMetadataRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListAccountSettingsMetadataRequest.java index 35c3db356..6a01e9ab9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListAccountSettingsMetadataRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListAccountSettingsMetadataRequest.java @@ -20,11 +20,11 @@ public class ListAccountSettingsMetadataRequest { private Long pageSize; /** - * A page token, received from a previous `ListAccountSettingsMetadataRequest` call. Provide this - * to retrieve the subsequent page. + * A page token, received from a previous {@code ListAccountSettingsMetadataRequest} call. Provide + * this to retrieve the subsequent page. * - *

When paginating, all other parameters provided to `ListAccountSettingsMetadataRequest` must - * match the call that provided the page token. + *

When paginating, all other parameters provided to {@code ListAccountSettingsMetadataRequest} + * must match the call that provided the page token. */ @JsonIgnore @QueryParam("page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListAccountSettingsMetadataResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListAccountSettingsMetadataResponse.java index 8694206cc..6223ca21c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListAccountSettingsMetadataResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListAccountSettingsMetadataResponse.java @@ -11,8 +11,8 @@ @Generated public class ListAccountSettingsMetadataResponse { /** - * A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, - * there are no subsequent pages. + * A token that can be sent as {@code page_token} to retrieve the next page. If this field is + * omitted, there are no subsequent pages. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListAccountUserPreferencesMetadataRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListAccountUserPreferencesMetadataRequest.java index f903747e2..3fb3159c1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListAccountUserPreferencesMetadataRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListAccountUserPreferencesMetadataRequest.java @@ -20,11 +20,11 @@ public class ListAccountUserPreferencesMetadataRequest { private Long pageSize; /** - * A page token, received from a previous `ListAccountUserPreferencesMetadataRequest` call. + * A page token, received from a previous {@code ListAccountUserPreferencesMetadataRequest} call. * Provide this to retrieve the subsequent page. * - *

When paginating, all other parameters provided to - * `ListAccountUserPreferencesMetadataRequest` must match the call that provided the page token. + *

When paginating, all other parameters provided to {@code + * ListAccountUserPreferencesMetadataRequest} must match the call that provided the page token. */ @JsonIgnore @QueryParam("page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListAccountUserPreferencesMetadataResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListAccountUserPreferencesMetadataResponse.java index 863232524..783ee33b9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListAccountUserPreferencesMetadataResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListAccountUserPreferencesMetadataResponse.java @@ -11,8 +11,8 @@ @Generated public class ListAccountUserPreferencesMetadataResponse { /** - * A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, - * there are no subsequent pages. + * A token that can be sent as {@code page_token} to retrieve the next page. If this field is + * omitted, there are no subsequent pages. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListWorkspaceSettingsMetadataRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListWorkspaceSettingsMetadataRequest.java index c397e93fd..5233fa389 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListWorkspaceSettingsMetadataRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListWorkspaceSettingsMetadataRequest.java @@ -20,11 +20,11 @@ public class ListWorkspaceSettingsMetadataRequest { private Long pageSize; /** - * A page token, received from a previous `ListWorkspaceSettingsMetadataRequest` call. Provide - * this to retrieve the subsequent page. + * A page token, received from a previous {@code ListWorkspaceSettingsMetadataRequest} call. + * Provide this to retrieve the subsequent page. * - *

When paginating, all other parameters provided to `ListWorkspaceSettingsMetadataRequest` - * must match the call that provided the page token. + *

When paginating, all other parameters provided to {@code + * ListWorkspaceSettingsMetadataRequest} must match the call that provided the page token. */ @JsonIgnore @QueryParam("page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListWorkspaceSettingsMetadataResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListWorkspaceSettingsMetadataResponse.java index 4fe7fc1d5..06173d8bf 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListWorkspaceSettingsMetadataResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settingsv2/ListWorkspaceSettingsMetadataResponse.java @@ -11,8 +11,8 @@ @Generated public class ListWorkspaceSettingsMetadataResponse { /** - * A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, - * there are no subsequent pages. + * A token that can be sent as {@code page_token} to retrieve the next page. If this field is + * omitted, there are no subsequent pages. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/CreateProvider.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/CreateProvider.java index 6d58d807d..55f473bb2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/CreateProvider.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/CreateProvider.java @@ -22,8 +22,8 @@ public class CreateProvider { private String name; /** - * This field is required when the __authentication_type__ is **TOKEN**, - * **OAUTH_CLIENT_CREDENTIALS** or not provided. + * This field is required when the authentication_type is TOKEN, + * OAUTH_CLIENT_CREDENTIALS or not provided. */ @JsonProperty("recipient_profile_str") private String recipientProfileStr; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/CreateRecipient.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/CreateRecipient.java index 917175305..ee1c37765 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/CreateRecipient.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/CreateRecipient.java @@ -19,8 +19,8 @@ public class CreateRecipient { /** * The global Unity Catalog metastore id provided by the data recipient. This field is only - * present when the __authentication_type__ is **DATABRICKS**. The identifier is of format - * __cloud__:__region__:__metastore-uuid__. + * present when the authentication_type is DATABRICKS. The identifier is of format + * cloud:region:metastore-uuid. */ @JsonProperty("data_recipient_global_metastore_id") private String dataRecipientGlobalMetastoreId; @@ -55,7 +55,7 @@ public class CreateRecipient { /** * The one-time sharing code provided by the data recipient. This field is only present when the - * __authentication_type__ is **DATABRICKS**. + * authentication_type is DATABRICKS. */ @JsonProperty("sharing_code") private String sharingCode; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetRecipientSharePermissionsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetRecipientSharePermissionsResponse.java index 929f88b04..0dc573717 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetRecipientSharePermissionsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetRecipientSharePermissionsResponse.java @@ -12,7 +12,8 @@ public class GetRecipientSharePermissionsResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetSharePermissionsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetSharePermissionsResponse.java index d635d5575..3b1062c5a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetSharePermissionsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/GetSharePermissionsResponse.java @@ -12,7 +12,8 @@ public class GetSharePermissionsResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProviderSharesResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProviderSharesResponse.java index cb8bdfcde..751b9e790 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProviderSharesResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProviderSharesResponse.java @@ -12,7 +12,8 @@ public class ListProviderSharesResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProvidersRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProvidersRequest.java index 8180f6dd8..c7f88199b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProvidersRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProvidersRequest.java @@ -19,13 +19,18 @@ public class ListProvidersRequest { private String dataProviderGlobalMetastoreId; /** - * Maximum number of providers to return. - when set to 0, the page length is set to a server - * configured value (recommended); - when set to a value greater than 0, the page length is the - * minimum of this value and a server configured value; - when set to a value less than 0, an - * invalid parameter error is returned; - If not set, all valid providers are returned (not - * recommended). - Note: The number of returned providers might be less than the specified - * max_results size, even zero. The only definitive indication that no further providers can be - * fetched is when the next_page_token is unset from the response. + * Maximum number of providers to return. + * + *

    + *
  • when set to 0, the page length is set to a server configured value (recommended); + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
  • when set to a value less than 0, an invalid parameter error is returned; + *
  • If not set, all valid providers are returned (not recommended). + *
  • Note: The number of returned providers might be less than the specified max_results size, + * even zero. The only definitive indication that no further providers can be fetched is + * when the next_page_token is unset from the response. + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProvidersResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProvidersResponse.java index 5c1692ebb..012125033 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProvidersResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListProvidersResponse.java @@ -12,7 +12,8 @@ public class ListProvidersResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListRecipientsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListRecipientsRequest.java index 52b6487a3..dbcfb2faa 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListRecipientsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListRecipientsRequest.java @@ -19,13 +19,18 @@ public class ListRecipientsRequest { private String dataRecipientGlobalMetastoreId; /** - * Maximum number of recipients to return. - when set to 0, the page length is set to a server - * configured value (recommended); - when set to a value greater than 0, the page length is the - * minimum of this value and a server configured value; - when set to a value less than 0, an - * invalid parameter error is returned; - If not set, all valid recipients are returned (not - * recommended). - Note: The number of returned recipients might be less than the specified - * max_results size, even zero. The only definitive indication that no further recipients can be - * fetched is when the next_page_token is unset from the response. + * Maximum number of recipients to return. + * + *
    + *
  • when set to 0, the page length is set to a server configured value (recommended); + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
  • when set to a value less than 0, an invalid parameter error is returned; + *
  • If not set, all valid recipients are returned (not recommended). + *
  • Note: The number of returned recipients might be less than the specified max_results + * size, even zero. The only definitive indication that no further recipients can be fetched + * is when the next_page_token is unset from the response. + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListRecipientsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListRecipientsResponse.java index 2d0ece97f..892938e66 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListRecipientsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListRecipientsResponse.java @@ -12,7 +12,8 @@ public class ListRecipientsResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListSharesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListSharesRequest.java index 364cdf15c..d2c116218 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListSharesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListSharesRequest.java @@ -11,13 +11,18 @@ @Generated public class ListSharesRequest { /** - * Maximum number of shares to return. - when set to 0, the page length is set to a server - * configured value (recommended); - when set to a value greater than 0, the page length is the - * minimum of this value and a server configured value; - when set to a value less than 0, an - * invalid parameter error is returned; - If not set, all valid shares are returned (not - * recommended). - Note: The number of returned shares might be less than the specified - * max_results size, even zero. The only definitive indication that no further shares can be - * fetched is when the next_page_token is unset from the response. + * Maximum number of shares to return. + * + *
    + *
  • when set to 0, the page length is set to a server configured value (recommended); + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
  • when set to a value less than 0, an invalid parameter error is returned; + *
  • If not set, all valid shares are returned (not recommended). + *
  • Note: The number of returned shares might be less than the specified max_results size, + * even zero. The only definitive indication that no further shares can be fetched is when + * the next_page_token is unset from the response. + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListSharesResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListSharesResponse.java index a7e7f47d0..66f8bedc4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListSharesResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ListSharesResponse.java @@ -12,7 +12,8 @@ public class ListSharesResponse { /** * Opaque token to retrieve the next page of results. Absent if there are no more pages. - * __page_token__ should be set to this value for the next request (for the next page of results). + * page_token should be set to this value for the next request (for the next page of + * results). */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/OidcFederationPolicy.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/OidcFederationPolicy.java index 71cc1fffd..99c52b7f3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/OidcFederationPolicy.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/OidcFederationPolicy.java @@ -30,23 +30,46 @@ public class OidcFederationPolicy { /** * The required token subject, as specified in the subject claim of federated tokens. The subject * claim identifies the identity of the user or machine accessing the resource. Examples for Entra - * ID (AAD): - U2M flow (group access): If the subject claim is `groups`, this must be the Object - * ID of the group in Entra ID. - U2M flow (user access): If the subject claim is `oid`, this must - * be the Object ID of the user in Entra ID. - M2M flow (OAuth App access): If the subject claim - * is `azp`, this must be the client ID of the OAuth app registered in Entra ID. + * ID (AAD): + * + *
    + *
  • U2M flow (group access): If the subject claim is {@code groups}, this must be the Object + * ID of the group in Entra ID. + *
  • U2M flow (user access): If the subject claim is {@code oid}, this must be the Object ID + * of the user in Entra ID. + *
  • M2M flow (OAuth App access): If the subject claim is {@code azp}, this must be the client + * ID of the OAuth app registered in Entra ID. + *
*/ @JsonProperty("subject") private String subject; /** * The claim that contains the subject of the token. Depending on the identity provider and the - * use case (U2M or M2M), this can vary: - For Entra ID (AAD): * U2M flow (group access): Use - * `groups`. * U2M flow (user access): Use `oid`. * M2M flow (OAuth App access): Use `azp`. - For - * other IdPs, refer to the specific IdP documentation. + * use case (U2M or M2M), this can vary: + * + *
    + *
  • For Entra ID (AAD): + *
+ * + *
    + *
  • U2M flow (group access): Use {@code groups}. + *
  • U2M flow (user access): Use {@code oid}. + *
  • M2M flow (OAuth App access): Use {@code azp}. + *
+ * + *
    + *
  • For other IdPs, refer to the specific IdP documentation. + *
+ * + *

Supported {@code subject_claim} values are: * - *

Supported `subject_claim` values are: - `oid`: Object ID of the user. - `azp`: Client ID of - * the OAuth app. - `groups`: Object ID of the group. - `sub`: Subject identifier for other use - * cases. + *

    + *
  • {@code oid}: Object ID of the user. + *
  • {@code azp}: Client ID of the OAuth app. + *
  • {@code groups}: Object ID of the group. + *
  • {@code sub}: Subject identifier for other use cases. + *
*/ @JsonProperty("subject_claim") private String subjectClaim; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/PartitionValue.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/PartitionValue.java index ee7da25d1..2228cc8e0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/PartitionValue.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/PartitionValue.java @@ -19,14 +19,14 @@ public class PartitionValue { /** * The key of a Delta Sharing recipient's property. For example "databricks-account-id". When this - * field is set, field `value` can not be set. + * field is set, field {@code value} can not be set. */ @JsonProperty("recipient_property_key") private String recipientPropertyKey; /** - * The value of the partition column. When this value is not set, it means `null` value. When this - * field is set, field `recipient_property_key` can not be set. + * The value of the partition column. When this value is not set, it means {@code null} value. + * When this field is set, field {@code recipient_property_key} can not be set. */ @JsonProperty("value") private String value; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/PrivilegeAssignment.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/PrivilegeAssignment.java index c3e2fcfae..117511e46 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/PrivilegeAssignment.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/PrivilegeAssignment.java @@ -11,8 +11,8 @@ @Generated public class PrivilegeAssignment { /** - * The principal (user email address or group name). For deleted principals, `principal` is empty - * while `principal_id` is populated. + * The principal (user email address or group name). For deleted principals, {@code principal} is + * empty while {@code principal_id} is populated. */ @JsonProperty("principal") private String principal; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProviderInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProviderInfo.java index d82783885..247d6f3c3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProviderInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProviderInfo.java @@ -15,7 +15,7 @@ public class ProviderInfo { /** * Cloud vendor of the provider's UC metastore. This field is only present when the - * __authentication_type__ is **DATABRICKS**. + * authentication_type is DATABRICKS. */ @JsonProperty("cloud") private String cloud; @@ -34,15 +34,15 @@ public class ProviderInfo { /** * The global UC metastore id of the data provider. This field is only present when the - * __authentication_type__ is **DATABRICKS**. The identifier is of format - * __cloud__:__region__:__metastore-uuid__. + * authentication_type is DATABRICKS. The identifier is of format + * cloud:region:metastore-uuid. */ @JsonProperty("data_provider_global_metastore_id") private String dataProviderGlobalMetastoreId; /** * UUID of the provider's UC metastore. This field is only present when the - * __authentication_type__ is **DATABRICKS**. + * authentication_type is DATABRICKS. */ @JsonProperty("metastore_id") private String metastoreId; @@ -56,22 +56,22 @@ public class ProviderInfo { private String owner; /** - * The recipient profile. This field is only present when the authentication_type is `TOKEN` or - * `OAUTH_CLIENT_CREDENTIALS`. + * The recipient profile. This field is only present when the authentication_type is {@code TOKEN} + * or {@code OAUTH_CLIENT_CREDENTIALS}. */ @JsonProperty("recipient_profile") private RecipientProfile recipientProfile; /** - * This field is required when the __authentication_type__ is **TOKEN**, - * **OAUTH_CLIENT_CREDENTIALS** or not provided. + * This field is required when the authentication_type is TOKEN, + * OAUTH_CLIENT_CREDENTIALS or not provided. */ @JsonProperty("recipient_profile_str") private String recipientProfileStr; /** * Cloud region of the provider's UC metastore. This field is only present when the - * __authentication_type__ is **DATABRICKS**. + * authentication_type is DATABRICKS. */ @JsonProperty("region") private String region; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProvidersAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProvidersAPI.java index cffc86ce8..972dd426f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProvidersAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProvidersAPI.java @@ -61,10 +61,10 @@ public ProviderInfo get(GetProviderRequest request) { /** * Gets an array of available authentication providers. The caller must either be a metastore - * admin, have the **USE_PROVIDER** privilege on the providers, or be the owner of the providers. - * Providers not owned by the caller and for which the caller does not have the **USE_PROVIDER** - * privilege are not included in the response. There is no guarantee of a specific ordering of the - * elements in the array. + * admin, have the USE_PROVIDER privilege on the providers, or be the owner of the + * providers. Providers not owned by the caller and for which the caller does not have the + * USE_PROVIDER privilege are not included in the response. There is no guarantee of a + * specific ordering of the elements in the array. */ public Iterable list(ListProvidersRequest request) { @@ -106,7 +106,10 @@ public Iterable listShares(String name) { /** * Gets an array of a specified provider's shares within the metastore where: * - *

* the caller is a metastore admin, or * the caller is the owner. + *

    + *
  • the caller is a metastore admin, or + *
  • the caller is the owner. + *
*/ public Iterable listShares(ListSharesRequest request) { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProvidersService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProvidersService.java index b5e9ba7ba..8d5a45967 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProvidersService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ProvidersService.java @@ -33,10 +33,10 @@ public interface ProvidersService { /** * Gets an array of available authentication providers. The caller must either be a metastore - * admin, have the **USE_PROVIDER** privilege on the providers, or be the owner of the providers. - * Providers not owned by the caller and for which the caller does not have the **USE_PROVIDER** - * privilege are not included in the response. There is no guarantee of a specific ordering of the - * elements in the array. + * admin, have the USE_PROVIDER privilege on the providers, or be the owner of the + * providers. Providers not owned by the caller and for which the caller does not have the + * USE_PROVIDER privilege are not included in the response. There is no guarantee of a + * specific ordering of the elements in the array. */ ListProvidersResponse list(ListProvidersRequest listProvidersRequest); @@ -50,7 +50,10 @@ ListProviderShareAssetsResponse listProviderShareAssets( /** * Gets an array of a specified provider's shares within the metastore where: * - *

* the caller is a metastore admin, or * the caller is the owner. + *

    + *
  • the caller is a metastore admin, or + *
  • the caller is the owner. + *
*/ ListProviderSharesResponse listShares(ListSharesRequest listSharesRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientActivationAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientActivationAPI.java index a98401235..d16448025 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientActivationAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientActivationAPI.java @@ -8,10 +8,10 @@ /** * The Recipient Activation API is only applicable in the open sharing model where the recipient - * object has the authentication type of `TOKEN`. The data recipient follows the activation link - * shared by the data provider to download the credential file that includes the access token. The - * recipient will then use the credential file to establish a secure connection with the provider to - * receive the shared data. + * object has the authentication type of {@code TOKEN}. The data recipient follows the activation + * link shared by the data provider to download the credential file that includes the access token. + * The recipient will then use the credential file to establish a secure connection with the + * provider to receive the shared data. * *

Note that you can download the credential file only once. Recipients should treat the * downloaded credential as a secret and must not share it outside of their organization. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientActivationService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientActivationService.java index 62f48f347..3c9588fd5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientActivationService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientActivationService.java @@ -5,10 +5,10 @@ /** * The Recipient Activation API is only applicable in the open sharing model where the recipient - * object has the authentication type of `TOKEN`. The data recipient follows the activation link - * shared by the data provider to download the credential file that includes the access token. The - * recipient will then use the credential file to establish a secure connection with the provider to - * receive the shared data. + * object has the authentication type of {@code TOKEN}. The data recipient follows the activation + * link shared by the data provider to download the credential file that includes the access token. + * The recipient will then use the credential file to establish a secure connection with the + * provider to receive the shared data. * *

Note that you can download the credential file only once. Recipients should treat the * downloaded credential as a secret and must not share it outside of their organization. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientFederationPoliciesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientFederationPoliciesAPI.java index e8ffa78df..26641aba8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientFederationPoliciesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientFederationPoliciesAPI.java @@ -9,22 +9,26 @@ /** * The Recipient Federation Policies APIs are only applicable in the open sharing model where the - * recipient object has the authentication type of `OIDC_RECIPIENT`, enabling data sharing from - * Databricks to non-Databricks recipients. OIDC Token Federation enables secure, secret-less + * recipient object has the authentication type of {@code OIDC_RECIPIENT}, enabling data sharing + * from Databricks to non-Databricks recipients. OIDC Token Federation enables secure, secret-less * authentication for accessing Delta Sharing servers. Users and applications authenticate using * short-lived OIDC tokens issued by their own Identity Provider (IdP), such as Azure Entra ID or * Okta, without the need for managing static credentials or client secrets. A federation policy * defines how non-Databricks recipients authenticate using OIDC tokens. It validates the OIDC * claims in federated tokens and is set at the recipient level. The caller must be the owner of the * recipient to create or manage a federation policy. Federation policies support the following - * scenarios: - User-to-Machine (U2M) flow: A user accesses Delta Shares using their own identity, - * such as connecting through PowerBI Delta Sharing Client. - Machine-to-Machine (M2M) flow: An - * application accesses Delta Shares using its own identity, typically for automation tasks like - * nightly jobs through Python Delta Sharing Client. OIDC Token Federation enables fine-grained - * access control, supports Multi-Factor Authentication (MFA), and enhances security by minimizing - * the risk of credential leakage through the use of short-lived, expiring tokens. It is designed - * for strong identity governance, secure cross-platform data sharing, and reduced operational - * overhead for credential management. + * scenarios: + * + *

    + *
  • User-to-Machine (U2M) flow: A user accesses Delta Shares using their own identity, such as + * connecting through PowerBI Delta Sharing Client. + *
  • Machine-to-Machine (M2M) flow: An application accesses Delta Shares using its own identity, + * typically for automation tasks like nightly jobs through Python Delta Sharing Client. OIDC + * Token Federation enables fine-grained access control, supports Multi-Factor Authentication + * (MFA), and enhances security by minimizing the risk of credential leakage through the use + * of short-lived, expiring tokens. It is designed for strong identity governance, secure + * cross-platform data sharing, and reduced operational overhead for credential management. + *
* *

For more information, see * https://www.databricks.com/blog/announcing-oidc-token-federation-enhanced-delta-sharing-security @@ -54,20 +58,32 @@ public RecipientFederationPoliciesAPI(RecipientFederationPoliciesService mock) { * is defined at the recipient level. This enables secretless sharing clients to authenticate * using OIDC tokens. * - *

Supported scenarios for federation policies: 1. **User-to-Machine (U2M) flow** (e.g., - * PowerBI): A user accesses a resource using their own identity. 2. **Machine-to-Machine (M2M) - * flow** (e.g., OAuth App): An OAuth App accesses a resource using its own identity, typically - * for tasks like running nightly jobs. + *

Supported scenarios for federation policies: + * + *

    + *
  1. User-to-Machine (U2M) flow (e.g., PowerBI): A user accesses a resource using their + * own identity. + *
  2. Machine-to-Machine (M2M) flow (e.g., OAuth App): An OAuth App accesses a resource + * using its own identity, typically for tasks like running nightly jobs. + *
+ * + *

For an overview, refer to: + * + *

    + *
  • Blog post: Overview of feature: + * https://www.databricks.com/blog/announcing-oidc-token-federation-enhanced-delta-sharing-security + *
* - *

For an overview, refer to: - Blog post: Overview of feature: - * https://www.databricks.com/blog/announcing-oidc-token-federation-enhanced-delta-sharing-security + *

For detailed configuration guides based on your use case: * - *

For detailed configuration guides based on your use case: - Creating a Federation Policy as - * a provider: https://docs.databricks.com/en/delta-sharing/create-recipient-oidc-fed - - * Configuration and usage for Machine-to-Machine (M2M) applications (e.g., Python Delta Sharing - * Client): https://docs.databricks.com/aws/en/delta-sharing/sharing-over-oidc-m2m - Configuration - * and usage for User-to-Machine (U2M) applications (e.g., PowerBI): - * https://docs.databricks.com/aws/en/delta-sharing/sharing-over-oidc-u2m + *

    + *
  • Creating a Federation Policy as a provider: + * https://docs.databricks.com/en/delta-sharing/create-recipient-oidc-fed + *
  • Configuration and usage for Machine-to-Machine (M2M) applications (e.g., Python Delta + * Sharing Client): https://docs.databricks.com/aws/en/delta-sharing/sharing-over-oidc-m2m + *
  • Configuration and usage for User-to-Machine (U2M) applications (e.g., PowerBI): + * https://docs.databricks.com/aws/en/delta-sharing/sharing-over-oidc-u2m + *
*/ public FederationPolicy create(CreateFederationPolicyRequest request) { return impl.create(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientFederationPoliciesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientFederationPoliciesService.java index a39852ed6..5f05afc65 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientFederationPoliciesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientFederationPoliciesService.java @@ -5,22 +5,26 @@ /** * The Recipient Federation Policies APIs are only applicable in the open sharing model where the - * recipient object has the authentication type of `OIDC_RECIPIENT`, enabling data sharing from - * Databricks to non-Databricks recipients. OIDC Token Federation enables secure, secret-less + * recipient object has the authentication type of {@code OIDC_RECIPIENT}, enabling data sharing + * from Databricks to non-Databricks recipients. OIDC Token Federation enables secure, secret-less * authentication for accessing Delta Sharing servers. Users and applications authenticate using * short-lived OIDC tokens issued by their own Identity Provider (IdP), such as Azure Entra ID or * Okta, without the need for managing static credentials or client secrets. A federation policy * defines how non-Databricks recipients authenticate using OIDC tokens. It validates the OIDC * claims in federated tokens and is set at the recipient level. The caller must be the owner of the * recipient to create or manage a federation policy. Federation policies support the following - * scenarios: - User-to-Machine (U2M) flow: A user accesses Delta Shares using their own identity, - * such as connecting through PowerBI Delta Sharing Client. - Machine-to-Machine (M2M) flow: An - * application accesses Delta Shares using its own identity, typically for automation tasks like - * nightly jobs through Python Delta Sharing Client. OIDC Token Federation enables fine-grained - * access control, supports Multi-Factor Authentication (MFA), and enhances security by minimizing - * the risk of credential leakage through the use of short-lived, expiring tokens. It is designed - * for strong identity governance, secure cross-platform data sharing, and reduced operational - * overhead for credential management. + * scenarios: + * + *
    + *
  • User-to-Machine (U2M) flow: A user accesses Delta Shares using their own identity, such as + * connecting through PowerBI Delta Sharing Client. + *
  • Machine-to-Machine (M2M) flow: An application accesses Delta Shares using its own identity, + * typically for automation tasks like nightly jobs through Python Delta Sharing Client. OIDC + * Token Federation enables fine-grained access control, supports Multi-Factor Authentication + * (MFA), and enhances security by minimizing the risk of credential leakage through the use + * of short-lived, expiring tokens. It is designed for strong identity governance, secure + * cross-platform data sharing, and reduced operational overhead for credential management. + *
* *

For more information, see * https://www.databricks.com/blog/announcing-oidc-token-federation-enhanced-delta-sharing-security @@ -40,20 +44,32 @@ public interface RecipientFederationPoliciesService { * is defined at the recipient level. This enables secretless sharing clients to authenticate * using OIDC tokens. * - *

Supported scenarios for federation policies: 1. **User-to-Machine (U2M) flow** (e.g., - * PowerBI): A user accesses a resource using their own identity. 2. **Machine-to-Machine (M2M) - * flow** (e.g., OAuth App): An OAuth App accesses a resource using its own identity, typically - * for tasks like running nightly jobs. + *

Supported scenarios for federation policies: + * + *

    + *
  1. User-to-Machine (U2M) flow (e.g., PowerBI): A user accesses a resource using their + * own identity. + *
  2. Machine-to-Machine (M2M) flow (e.g., OAuth App): An OAuth App accesses a resource + * using its own identity, typically for tasks like running nightly jobs. + *
+ * + *

For an overview, refer to: + * + *

    + *
  • Blog post: Overview of feature: + * https://www.databricks.com/blog/announcing-oidc-token-federation-enhanced-delta-sharing-security + *
* - *

For an overview, refer to: - Blog post: Overview of feature: - * https://www.databricks.com/blog/announcing-oidc-token-federation-enhanced-delta-sharing-security + *

For detailed configuration guides based on your use case: * - *

For detailed configuration guides based on your use case: - Creating a Federation Policy as - * a provider: https://docs.databricks.com/en/delta-sharing/create-recipient-oidc-fed - - * Configuration and usage for Machine-to-Machine (M2M) applications (e.g., Python Delta Sharing - * Client): https://docs.databricks.com/aws/en/delta-sharing/sharing-over-oidc-m2m - Configuration - * and usage for User-to-Machine (U2M) applications (e.g., PowerBI): - * https://docs.databricks.com/aws/en/delta-sharing/sharing-over-oidc-u2m + *

    + *
  • Creating a Federation Policy as a provider: + * https://docs.databricks.com/en/delta-sharing/create-recipient-oidc-fed + *
  • Configuration and usage for Machine-to-Machine (M2M) applications (e.g., Python Delta + * Sharing Client): https://docs.databricks.com/aws/en/delta-sharing/sharing-over-oidc-m2m + *
  • Configuration and usage for User-to-Machine (U2M) applications (e.g., PowerBI): + * https://docs.databricks.com/aws/en/delta-sharing/sharing-over-oidc-u2m + *
*/ FederationPolicy create(CreateFederationPolicyRequest createFederationPolicyRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientInfo.java index f14e1ffb4..831d3c25f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientInfo.java @@ -30,7 +30,7 @@ public class RecipientInfo { /** * Cloud vendor of the recipient's Unity Catalog Metastore. This field is only present when the - * __authentication_type__ is **DATABRICKS**. + * authentication_type is DATABRICKS. */ @JsonProperty("cloud") private String cloud; @@ -49,8 +49,8 @@ public class RecipientInfo { /** * The global Unity Catalog metastore id provided by the data recipient. This field is only - * present when the __authentication_type__ is **DATABRICKS**. The identifier is of format - * __cloud__:__region__:__metastore-uuid__. + * present when the authentication_type is DATABRICKS. The identifier is of format + * cloud:region:metastore-uuid. */ @JsonProperty("data_recipient_global_metastore_id") private String dataRecipientGlobalMetastoreId; @@ -69,7 +69,7 @@ public class RecipientInfo { /** * Unique identifier of recipient's Unity Catalog Metastore. This field is only present when the - * __authentication_type__ is **DATABRICKS**. + * authentication_type is DATABRICKS. */ @JsonProperty("metastore_id") private String metastoreId; @@ -92,19 +92,19 @@ public class RecipientInfo { /** * Cloud region of the recipient's Unity Catalog Metastore. This field is only present when the - * __authentication_type__ is **DATABRICKS**. + * authentication_type is DATABRICKS. */ @JsonProperty("region") private String region; /** * The one-time sharing code provided by the data recipient. This field is only present when the - * __authentication_type__ is **DATABRICKS**. + * authentication_type is DATABRICKS. */ @JsonProperty("sharing_code") private String sharingCode; - /** This field is only present when the __authentication_type__ is **TOKEN**. */ + /** This field is only present when the authentication_type is TOKEN. */ @JsonProperty("tokens") private Collection tokens; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientsAPI.java index b126970f4..aa434147d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientsAPI.java @@ -12,16 +12,17 @@ * which you want to allow access shares. The way how sharing works differs depending on whether or * not your recipient has access to a Databricks workspace that is enabled for Unity Catalog: * - *

- For recipients with access to a Databricks workspace that is enabled for Unity Catalog, you - * can create a recipient object along with a unique sharing identifier you get from the recipient. - * The sharing identifier is the key identifier that enables the secure connection. This sharing - * mode is called **Databricks-to-Databricks sharing**. - * - *

- For recipients without access to a Databricks workspace that is enabled for Unity Catalog, - * when you create a recipient object, Databricks generates an activation link you can send to the - * recipient. The recipient follows the activation link to download the credential file, and then - * uses the credential file to establish a secure connection to receive the shared data. This - * sharing mode is called **open sharing**. + *

    + *
  • For recipients with access to a Databricks workspace that is enabled for Unity Catalog, you + * can create a recipient object along with a unique sharing identifier you get from the + * recipient. The sharing identifier is the key identifier that enables the secure connection. + * This sharing mode is called Databricks-to-Databricks sharing. + *
  • For recipients without access to a Databricks workspace that is enabled for Unity Catalog, + * when you create a recipient object, Databricks generates an activation link you can send to + * the recipient. The recipient follows the activation link to download the credential file, + * and then uses the credential file to establish a secure connection to receive the shared + * data. This sharing mode is called open sharing. + *
*/ @Generated public class RecipientsAPI { @@ -41,7 +42,7 @@ public RecipientsAPI(RecipientsService mock) { /** * Creates a new recipient with the delta sharing authentication type in the metastore. The caller - * must be a metastore admin or have the **CREATE_RECIPIENT** privilege on the metastore. + * must be a metastore admin or have the CREATE_RECIPIENT privilege on the metastore. */ public RecipientInfo create(CreateRecipient request) { return impl.create(request); @@ -64,9 +65,13 @@ public RecipientInfo get(String name) { } /** - * Gets a share recipient from the metastore. The caller must be one of: * A user with - * **USE_RECIPIENT** privilege on the metastore * The owner of the share recipient * A metastore - * admin + * Gets a share recipient from the metastore. The caller must be one of: + * + *
    + *
  • A user with USE_RECIPIENT privilege on the metastore + *
  • The owner of the share recipient + *
  • A metastore admin + *
*/ public RecipientInfo get(GetRecipientRequest request) { return impl.get(request); @@ -75,8 +80,11 @@ public RecipientInfo get(GetRecipientRequest request) { /** * Gets an array of all share recipients within the current metastore where: * - *

* the caller is a metastore admin, or * the caller is the owner. There is no guarantee of a - * specific ordering of the elements in the array. + *

    + *
  • the caller is a metastore admin, or + *
  • the caller is the owner. There is no guarantee of a specific ordering of the elements in + * the array. + *
*/ public Iterable list(ListRecipientsRequest request) { @@ -110,7 +118,7 @@ public GetRecipientSharePermissionsResponse sharePermissions(String name) { /** * Gets the share permissions for the specified Recipient. The caller must have the - * **USE_RECIPIENT** privilege on the metastore or be the owner of the Recipient. + * USE_RECIPIENT privilege on the metastore or be the owner of the Recipient. */ public GetRecipientSharePermissionsResponse sharePermissions(SharePermissionsRequest request) { return impl.sharePermissions(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientsService.java index a85d11b93..2144289cd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/RecipientsService.java @@ -8,18 +8,19 @@ * which you want to allow access shares. The way how sharing works differs depending on whether or * not your recipient has access to a Databricks workspace that is enabled for Unity Catalog: * - *

- For recipients with access to a Databricks workspace that is enabled for Unity Catalog, you - * can create a recipient object along with a unique sharing identifier you get from the recipient. - * The sharing identifier is the key identifier that enables the secure connection. This sharing - * mode is called **Databricks-to-Databricks sharing**. + *

    + *
  • For recipients with access to a Databricks workspace that is enabled for Unity Catalog, you + * can create a recipient object along with a unique sharing identifier you get from the + * recipient. The sharing identifier is the key identifier that enables the secure connection. + * This sharing mode is called Databricks-to-Databricks sharing. + *
  • For recipients without access to a Databricks workspace that is enabled for Unity Catalog, + * when you create a recipient object, Databricks generates an activation link you can send to + * the recipient. The recipient follows the activation link to download the credential file, + * and then uses the credential file to establish a secure connection to receive the shared + * data. This sharing mode is called open sharing. + *
* - *

- For recipients without access to a Databricks workspace that is enabled for Unity Catalog, - * when you create a recipient object, Databricks generates an activation link you can send to the - * recipient. The recipient follows the activation link to download the credential file, and then - * uses the credential file to establish a secure connection to receive the shared data. This - * sharing mode is called **open sharing**. - * - *

This is the high-level interface, that contains generated methods. + * This is the high-level interface, that contains generated methods. * *

Evolving: this interface is under development. Method signatures may change. */ @@ -27,7 +28,7 @@ public interface RecipientsService { /** * Creates a new recipient with the delta sharing authentication type in the metastore. The caller - * must be a metastore admin or have the **CREATE_RECIPIENT** privilege on the metastore. + * must be a metastore admin or have the CREATE_RECIPIENT privilege on the metastore. */ RecipientInfo create(CreateRecipient createRecipient); @@ -38,17 +39,24 @@ public interface RecipientsService { void delete(DeleteRecipientRequest deleteRecipientRequest); /** - * Gets a share recipient from the metastore. The caller must be one of: * A user with - * **USE_RECIPIENT** privilege on the metastore * The owner of the share recipient * A metastore - * admin + * Gets a share recipient from the metastore. The caller must be one of: + * + *

    + *
  • A user with USE_RECIPIENT privilege on the metastore + *
  • The owner of the share recipient + *
  • A metastore admin + *
*/ RecipientInfo get(GetRecipientRequest getRecipientRequest); /** * Gets an array of all share recipients within the current metastore where: * - *

* the caller is a metastore admin, or * the caller is the owner. There is no guarantee of a - * specific ordering of the elements in the array. + *

    + *
  • the caller is a metastore admin, or + *
  • the caller is the owner. There is no guarantee of a specific ordering of the elements in + * the array. + *
*/ ListRecipientsResponse list(ListRecipientsRequest listRecipientsRequest); @@ -60,7 +68,7 @@ public interface RecipientsService { /** * Gets the share permissions for the specified Recipient. The caller must have the - * **USE_RECIPIENT** privilege on the metastore or be the owner of the Recipient. + * USE_RECIPIENT privilege on the metastore or be the owner of the Recipient. */ GetRecipientSharePermissionsResponse sharePermissions( SharePermissionsRequest sharePermissionsRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SecurablePropertiesKvPairs.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SecurablePropertiesKvPairs.java index fb317ac29..64eb2b2cc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SecurablePropertiesKvPairs.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SecurablePropertiesKvPairs.java @@ -9,7 +9,8 @@ import java.util.Objects; /** - * An object with __properties__ containing map of key-value properties attached to the securable. + * An object with properties containing map of key-value properties attached to the + * securable. */ @Generated public class SecurablePropertiesKvPairs { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharePermissionsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharePermissionsRequest.java index 3ba3a5a2b..99d20eeda 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharePermissionsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharePermissionsRequest.java @@ -11,13 +11,18 @@ @Generated public class SharePermissionsRequest { /** - * Maximum number of permissions to return. - when set to 0, the page length is set to a server - * configured value (recommended); - when set to a value greater than 0, the page length is the - * minimum of this value and a server configured value; - when set to a value less than 0, an - * invalid parameter error is returned; - If not set, all valid permissions are returned (not - * recommended). - Note: The number of returned permissions might be less than the specified - * max_results size, even zero. The only definitive indication that no further permissions can be - * fetched is when the next_page_token is unset from the response. + * Maximum number of permissions to return. + * + *
    + *
  • when set to 0, the page length is set to a server configured value (recommended); + *
  • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
  • when set to a value less than 0, an invalid parameter error is returned; + *
  • If not set, all valid permissions are returned (not recommended). + *
  • Note: The number of returned permissions might be less than the specified max_results + * size, even zero. The only definitive indication that no further permissions can be + * fetched is when the next_page_token is unset from the response. + *
*/ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharedDataObject.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharedDataObject.java index 071f11697..68caff1e5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharedDataObject.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharedDataObject.java @@ -40,15 +40,14 @@ public class SharedDataObject { /** * Whether to enable or disable sharing of data history. If not specified, the default is - * **DISABLED**. + * DISABLED. */ @JsonProperty("history_data_sharing_status") private SharedDataObjectHistoryDataSharingStatus historyDataSharingStatus; /** - * A fully qualified name that uniquely identifies a data object. For example, - * a table's fully qualified name is in the format of - * `..`, + * A fully qualified name that uniquely identifies a data object. For example, a table's fully + * qualified name is in the format of {@code ..
}, */ @JsonProperty("name") private String name; @@ -60,27 +59,38 @@ public class SharedDataObject { /** * A user-provided alias name for table-like data objects within the share. * - * Use this field for table-like objects (for example: TABLE, VIEW, - * MATERIALIZED_VIEW, STREAMING_TABLE, FOREIGN_TABLE). For non-table objects - * (for example: VOLUME, MODEL, NOTEBOOK_FILE, FUNCTION), use - * `string_shared_as` instead. + *

Use this field for table-like objects (for example: TABLE, VIEW, MATERIALIZED_VIEW, + * STREAMING_TABLE, FOREIGN_TABLE). For non-table objects (for example: VOLUME, MODEL, + * NOTEBOOK_FILE, FUNCTION), use {@code string_shared_as} instead. * - * Important: For non-table objects, this field must be omitted entirely. + *

Important: For non-table objects, this field must be omitted entirely. * - * Format: Must be a 2-part name `.` (e.g., - * "sales_schema.orders_table") - Both schema and table names must contain - * only alphanumeric characters and underscores - No periods, spaces, forward - * slashes, or control characters are allowed within each part - Do not - * include the catalog name (use 2 parts, not 3) + *

Format: Must be a 2-part name {@code .} (e.g., + * "sales_schema.orders_table") * - * Behavior: - If not provided, the service automatically generates the alias - * as `.

` from the object's original name - If you don't want - * to specify this field, omit it entirely from the request (do not pass an - * empty string) - The `shared_as` name must be unique within the share + *
    + *
  • Both schema and table names must contain only alphanumeric characters and underscores + *
  • No periods, spaces, forward slashes, or control characters are allowed within each part + *
  • Do not include the catalog name (use 2 parts, not 3) + *
* - * Examples: - Valid: "analytics_schema.customer_view" - Invalid: - * "catalog.analytics_schema.customer_view" (3 parts not allowed) - Invalid: - * "analytics-schema.customer-view" (hyphens not allowed) + *

Behavior: + * + *

    + *
  • If not provided, the service automatically generates the alias as {@code + * .
} from the object's original name + *
  • If you don't want to specify this field, omit it entirely from the request (do not pass + * an empty string) + *
  • The {@code shared_as} name must be unique within the share + * + * + *

    Examples: + * + *

      + *
    • Valid: "analytics_schema.customer_view" + *
    • Invalid: "catalog.analytics_schema.customer_view" (3 parts not allowed) + *
    • Invalid: "analytics-schema.customer-view" (hyphens not allowed) + *
    */ @JsonProperty("shared_as") private String sharedAs; @@ -88,15 +98,15 @@ public class SharedDataObject { /** * The start version associated with the object. This allows data providers to control the lowest * object version that is accessible by clients. If specified, clients can query snapshots or - * changes for versions >= start_version. If not specified, clients can only query starting from - * the version of the object at the time it was added to the share. + * changes for versions >= start_version. If not specified, clients can only query starting + * from the version of the object at the time it was added to the share. * - *

    NOTE: The start_version should be <= the `current` version of the object. + *

    NOTE: The start_version should be <= the {@code current} version of the object. */ @JsonProperty("start_version") private Long startVersion; - /** One of: **ACTIVE**, **PERMISSION_DENIED**. */ + /** One of: ACTIVE, PERMISSION_DENIED. */ @JsonProperty("status") private SharedDataObjectStatus status; @@ -105,26 +115,43 @@ public class SharedDataObject { * *

    Use this field for non-table objects (for example: VOLUME, MODEL, NOTEBOOK_FILE, FUNCTION). * For table-like objects (for example: TABLE, VIEW, MATERIALIZED_VIEW, STREAMING_TABLE, - * FOREIGN_TABLE), use `shared_as` instead. + * FOREIGN_TABLE), use {@code shared_as} instead. * *

    Important: For table-like objects, this field must be omitted entirely. * - *

    Format: - For VOLUME: Must be a 2-part name `.` (e.g., - * "data_schema.ml_models") - For FUNCTION: Must be a 2-part name `.` - * (e.g., "udf_schema.calculate_tax") - For MODEL: Must be a 2-part name - * `.` (e.g., "models.prediction_model") - For NOTEBOOK_FILE: Should be - * the notebook file name (e.g., "analysis_notebook.py") - All names must contain only - * alphanumeric characters and underscores - No periods, spaces, forward slashes, or control - * characters are allowed within each part + *

    Format: + * + *

      + *
    • For VOLUME: Must be a 2-part name {@code .} (e.g., + * "data_schema.ml_models") + *
    • For FUNCTION: Must be a 2-part name {@code .} (e.g., + * "udf_schema.calculate_tax") + *
    • For MODEL: Must be a 2-part name {@code .} (e.g., + * "models.prediction_model") + *
    • For NOTEBOOK_FILE: Should be the notebook file name (e.g., "analysis_notebook.py") + *
    • All names must contain only alphanumeric characters and underscores + *
    • No periods, spaces, forward slashes, or control characters are allowed within each part + *
    + * + *

    Behavior: + * + *

      + *
    • If not provided, the service automatically generates the alias from the object's original + * name + *
    • If you don't want to specify this field, omit it entirely from the request (do not pass + * an empty string) + *
    • The {@code string_shared_as} name must be unique for objects of the same type within the + * share + *
    * - *

    Behavior: - If not provided, the service automatically generates the alias from the object's - * original name - If you don't want to specify this field, omit it entirely from the request (do - * not pass an empty string) - The `string_shared_as` name must be unique for objects of the same - * type within the share + *

    Examples: * - *

    Examples: - Valid for VOLUME: "data_schema.training_data" - Valid for FUNCTION: - * "analytics.calculate_revenue" - Invalid: "catalog.data_schema.training_data" (3 parts not - * allowed for volumes) - Invalid: "data-schema.training-data" (hyphens not allowed) + *

      + *
    • Valid for VOLUME: "data_schema.training_data" + *
    • Valid for FUNCTION: "analytics.calculate_revenue" + *
    • Invalid: "catalog.data_schema.training_data" (3 parts not allowed for volumes) + *
    • Invalid: "data-schema.training-data" (hyphens not allowed) + *
    */ @JsonProperty("string_shared_as") private String stringSharedAs; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharedDataObjectUpdate.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharedDataObjectUpdate.java index 77e89e31c..81eccbbb9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharedDataObjectUpdate.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharedDataObjectUpdate.java @@ -9,7 +9,7 @@ @Generated public class SharedDataObjectUpdate { - /** One of: **ADD**, **REMOVE**, **UPDATE**. */ + /** One of: ADD, REMOVE, UPDATE. */ @JsonProperty("action") private SharedDataObjectUpdateAction action; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesAPI.java index 9b1e9290f..3ca87232d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesAPI.java @@ -28,8 +28,9 @@ public SharesAPI(SharesService mock) { } /** - * Creates a new share for data objects. Data objects can be added after creation with **update**. - * The caller must be a metastore admin or have the **CREATE_SHARE** privilege on the metastore. + * Creates a new share for data objects. Data objects can be added after creation with + * update. The caller must be a metastore admin or have the CREATE_SHARE privilege + * on the metastore. */ public ShareInfo create(CreateShare request) { return impl.create(request); @@ -95,18 +96,19 @@ public GetSharePermissionsResponse sharePermissions(SharePermissionsRequest requ * Updates the share with the changes and data objects in the request. The caller must be the * owner of the share or a metastore admin. * - *

    When the caller is a metastore admin, only the __owner__ field can be updated. + *

    When the caller is a metastore admin, only the owner field can be updated. * - *

    In the case the share name is changed, **updateShare** requires that the caller is the owner - * of the share and has the CREATE_SHARE privilege. + *

    In the case the share name is changed, updateShare requires that the caller is the + * owner of the share and has the CREATE_SHARE privilege. * - *

    If there are notebook files in the share, the __storage_root__ field cannot be updated. + *

    If there are notebook files in the share, the storage_root field cannot be updated. * - *

    For each table that is added through this method, the share owner must also have **SELECT** - * privilege on the table. This privilege must be maintained indefinitely for recipients to be - * able to access the table. Typically, you should use a group as the share owner. + *

    For each table that is added through this method, the share owner must also have + * SELECT privilege on the table. This privilege must be maintained indefinitely for + * recipients to be able to access the table. Typically, you should use a group as the share + * owner. * - *

    Table removals through **update** do not require additional privileges. + *

    Table removals through update do not require additional privileges. */ public ShareInfo update(UpdateShare request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesListRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesListRequest.java index b3d076c0c..f1e17ae17 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesListRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesListRequest.java @@ -11,13 +11,18 @@ @Generated public class SharesListRequest { /** - * Maximum number of shares to return. - when set to 0, the page length is set to a server - * configured value (recommended); - when set to a value greater than 0, the page length is the - * minimum of this value and a server configured value; - when set to a value less than 0, an - * invalid parameter error is returned; - If not set, all valid shares are returned (not - * recommended). - Note: The number of returned shares might be less than the specified - * max_results size, even zero. The only definitive indication that no further shares can be - * fetched is when the next_page_token is unset from the response. + * Maximum number of shares to return. + * + *

      + *
    • when set to 0, the page length is set to a server configured value (recommended); + *
    • when set to a value greater than 0, the page length is the minimum of this value and a + * server configured value; + *
    • when set to a value less than 0, an invalid parameter error is returned; + *
    • If not set, all valid shares are returned (not recommended). + *
    • Note: The number of returned shares might be less than the specified max_results size, + * even zero. The only definitive indication that no further shares can be fetched is when + * the next_page_token is unset from the response. + *
    */ @JsonIgnore @QueryParam("max_results") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesService.java index 24e02917b..453d05561 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharesService.java @@ -16,8 +16,9 @@ @Generated public interface SharesService extends SharesExtService { /** - * Creates a new share for data objects. Data objects can be added after creation with **update**. - * The caller must be a metastore admin or have the **CREATE_SHARE** privilege on the metastore. + * Creates a new share for data objects. Data objects can be added after creation with + * update. The caller must be a metastore admin or have the CREATE_SHARE privilege + * on the metastore. */ ShareInfo create(CreateShare createShare); @@ -47,18 +48,19 @@ public interface SharesService extends SharesExtService { * Updates the share with the changes and data objects in the request. The caller must be the * owner of the share or a metastore admin. * - *

    When the caller is a metastore admin, only the __owner__ field can be updated. + *

    When the caller is a metastore admin, only the owner field can be updated. * - *

    In the case the share name is changed, **updateShare** requires that the caller is the owner - * of the share and has the CREATE_SHARE privilege. + *

    In the case the share name is changed, updateShare requires that the caller is the + * owner of the share and has the CREATE_SHARE privilege. * - *

    If there are notebook files in the share, the __storage_root__ field cannot be updated. + *

    If there are notebook files in the share, the storage_root field cannot be updated. * - *

    For each table that is added through this method, the share owner must also have **SELECT** - * privilege on the table. This privilege must be maintained indefinitely for recipients to be - * able to access the table. Typically, you should use a group as the share owner. + *

    For each table that is added through this method, the share owner must also have + * SELECT privilege on the table. This privilege must be maintained indefinitely for + * recipients to be able to access the table. Typically, you should use a group as the share + * owner. * - *

    Table removals through **update** do not require additional privileges. + *

    Table removals through update do not require additional privileges. */ ShareInfo update(UpdateShare updateShare); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/UpdateProvider.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/UpdateProvider.java index c6d0621dc..bdc08c919 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/UpdateProvider.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/UpdateProvider.java @@ -26,8 +26,8 @@ public class UpdateProvider { private String owner; /** - * This field is required when the __authentication_type__ is **TOKEN**, - * **OAUTH_CLIENT_CREDENTIALS** or not provided. + * This field is required when the authentication_type is TOKEN, + * OAUTH_CLIENT_CREDENTIALS or not provided. */ @JsonProperty("recipient_profile_str") private String recipientProfileStr; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AccessControl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AccessControl.java index 7e1cb0289..2ab27e116 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AccessControl.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AccessControl.java @@ -14,8 +14,14 @@ public class AccessControl { private String groupName; /** - * * `CAN_VIEW`: Can view the query * `CAN_RUN`: Can run the query * `CAN_EDIT`: Can edit the - * query * `CAN_MANAGE`: Can manage the query + * + * + *

      + *
    • {@code CAN_VIEW}: Can view the query + *
    • {@code CAN_RUN}: Can run the query + *
    • {@code CAN_EDIT}: Can edit the query + *
    • {@code CAN_MANAGE}: Can manage the query + *
    */ @JsonProperty("permission_level") private PermissionLevel permissionLevel; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Alert.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Alert.java index 7f916cf5f..5acb1415c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Alert.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Alert.java @@ -18,18 +18,18 @@ public class Alert { private String createTime; /** - * Custom body of alert notification, if it exists. See [here] for custom templating instructions. - * - *

    [here]: https://docs.databricks.com/sql/user/alerts/index.html + * Custom body of alert notification, if it exists. See here for custom templating + * instructions. */ @JsonProperty("custom_body") private String customBody; /** * Custom subject of alert notification, if it exists. This can include email subject entries and - * Slack notification headers, for example. See [here] for custom templating instructions. - * - *

    [here]: https://docs.databricks.com/sql/user/alerts/index.html + * Slack notification headers, for example. See here for custom templating + * instructions. */ @JsonProperty("custom_subject") private String customSubject; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertOptions.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertOptions.java index 9ebc23bc5..0f7388fb8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertOptions.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertOptions.java @@ -15,18 +15,18 @@ public class AlertOptions { private String column; /** - * Custom body of alert notification, if it exists. See [here] for custom templating instructions. - * - *

    [here]: https://docs.databricks.com/sql/user/alerts/index.html + * Custom body of alert notification, if it exists. See here for custom templating + * instructions. */ @JsonProperty("custom_body") private String customBody; /** * Custom subject of alert notification, if it exists. This includes email subject, Slack - * notification header, etc. See [here] for custom templating instructions. - * - *

    [here]: https://docs.databricks.com/sql/user/alerts/index.html + * notification header, etc. See here for custom templating + * instructions. */ @JsonProperty("custom_subject") private String customSubject; @@ -42,7 +42,10 @@ public class AlertOptions { @JsonProperty("muted") private Boolean muted; - /** Operator used to compare in alert evaluation: `>`, `>=`, `<`, `<=`, `==`, `!=` */ + /** + * Operator used to compare in alert evaluation: {@code >}, {@code >=}, {@code <}, {@code <=}, + * {@code ==}, {@code !=} + */ @JsonProperty("op") private String op; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertQuery.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertQuery.java index f0a02211e..85c5abfbb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertQuery.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertQuery.java @@ -16,9 +16,8 @@ public class AlertQuery { /** * Data source ID maps to the ID of the data source used by the resource and is distinct from the - * warehouse ID. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/api/workspace/datasources/list + * warehouse ID. Learn + * more */ @JsonProperty("data_source_id") private String dataSourceId; @@ -35,8 +34,9 @@ public class AlertQuery { /** * Indicates whether the query is trashed. Trashed queries can't be used in dashboards, or appear - * in search results. If this boolean is `true`, the `options` property for this query includes a - * `moved_to_trash_at` timestamp. Trashed queries are permanently deleted after 30 days. + * in search results. If this boolean is {@code true}, the {@code options} property for this query + * includes a {@code moved_to_trash_at} timestamp. Trashed queries are permanently deleted after + * 30 days. */ @JsonProperty("is_archived") private Boolean isArchived; @@ -50,8 +50,8 @@ public class AlertQuery { /** * Text parameter types are not safe from SQL injection for all types of data source. Set this - * Boolean parameter to `true` if a query either does not use any text type parameters or uses a - * data source type where text type parameters are handled safely. + * Boolean parameter to {@code true} if a query either does not use any text type parameters or + * uses a data source type where text type parameters are handled safely. */ @JsonProperty("is_safe") private Boolean isSafe; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertV2.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertV2.java index 68a322dc1..1ca78e8ed 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertV2.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertV2.java @@ -61,10 +61,15 @@ public class AlertV2 { /** * Specifies the identity that will be used to run the alert. This field allows you to configure - * alerts to run as a specific user or service principal. - For user identity: Set `user_name` to - * the email of an active workspace user. Users can only set this to their own email. - For - * service principal: Set `service_principal_name` to the application ID. Requires the - * `servicePrincipal/user` role. If not specified, the alert will run as the request user. + * alerts to run as a specific user or service principal. + * + *

      + *
    • For user identity: Set {@code user_name} to the email of an active workspace user. Users + * can only set this to their own email. + *
    • For service principal: Set {@code service_principal_name} to the application ID. Requires + * the {@code servicePrincipal/user} role. If not specified, the alert will run as the + * request user. + *
    */ @JsonProperty("run_as") private AlertV2RunAs runAs; @@ -72,8 +77,8 @@ public class AlertV2 { /** * The run as username or application ID of service principal. On Create and Update, this field * can be set to application ID of an active service principal. Setting this field requires the - * servicePrincipal/user role. Deprecated: Use `run_as` field instead. This field will be removed - * in a future release. + * servicePrincipal/user role. Deprecated: Use {@code run_as} field instead. This field will be + * removed in a future release. */ @JsonProperty("run_as_user_name") private String runAsUserName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertV2Evaluation.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertV2Evaluation.java index 5031da9d8..ece6ed412 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertV2Evaluation.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertV2Evaluation.java @@ -14,8 +14,8 @@ public class AlertV2Evaluation { private ComparisonOperator comparisonOperator; /** - * Alert state if result is empty. Please avoid setting this field to be `UNKNOWN` because - * `UNKNOWN` state is planned to be deprecated. + * Alert state if result is empty. Please avoid setting this field to be {@code UNKNOWN} because + * {@code UNKNOWN} state is planned to be deprecated. */ @JsonProperty("empty_result_state") private AlertEvaluationState emptyResultState; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertV2OperandColumn.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertV2OperandColumn.java index ca1ac3fe0..70086da86 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertV2OperandColumn.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertV2OperandColumn.java @@ -9,7 +9,7 @@ @Generated public class AlertV2OperandColumn { - /** If not set, the behavior is equivalent to using `First row` in the UI. */ + /** If not set, the behavior is equivalent to using {@code First row} in the UI. */ @JsonProperty("aggregation") private Aggregation aggregation; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertV2RunAs.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertV2RunAs.java index 968f4abee..cfe4df6b3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertV2RunAs.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertV2RunAs.java @@ -10,8 +10,8 @@ @Generated public class AlertV2RunAs { /** - * Application ID of an active service principal. Setting this field requires the - * `servicePrincipal/user` role. + * Application ID of an active service principal. Setting this field requires the {@code + * servicePrincipal/user} role. */ @JsonProperty("service_principal_name") private String servicePrincipalName; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsAPI.java index a41e2c455..49c237d31 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsAPI.java @@ -11,7 +11,7 @@ * The alerts API can be used to perform CRUD operations on alerts. An alert is a Databricks SQL * object that periodically runs a query, evaluates a condition of its result, and notifies one or * more users and/or notification destinations if the condition was met. Alerts can be scheduled - * using the `sql_task` type of the Jobs API, e.g. :method:jobs/create. + * using the {@code sql_task} type of the Jobs API, e.g. :method:jobs/create. */ @Generated public class AlertsAPI { @@ -57,7 +57,7 @@ public Alert get(GetAlertRequest request) { } /** - * Gets a list of alerts accessible to the user, ordered by creation time. **Warning:** Calling + * Gets a list of alerts accessible to the user, ordered by creation time. Warning: Calling * this API concurrently 10 or more times could result in throttling, service degradation, or a * temporary ban. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsLegacyAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsLegacyAPI.java index 294ecd0c0..392235bc8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsLegacyAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsLegacyAPI.java @@ -10,12 +10,10 @@ * The alerts API can be used to perform CRUD operations on alerts. An alert is a Databricks SQL * object that periodically runs a query, evaluates a condition of its result, and notifies one or * more users and/or notification destinations if the condition was met. Alerts can be scheduled - * using the `sql_task` type of the Jobs API, e.g. :method:jobs/create. + * using the {@code sql_task} type of the Jobs API, e.g. :method:jobs/create. * - *

    **Warning**: This API is deprecated. Please see the latest version of the Databricks SQL API. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please see the latest version of the Databricks SQL + * API. Learn more */ @Generated public class AlertsLegacyAPI { @@ -38,9 +36,8 @@ public AlertsLegacyAPI(AlertsLegacyService mock) { * a condition of its result, and notifies users or notification destinations if the condition was * met. * - *

    **Warning**: This API is deprecated. Please use :method:alerts/create instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:alerts/create instead. Learn more */ public LegacyAlert create(CreateAlert request) { return impl.create(request); @@ -51,12 +48,11 @@ public void delete(String alertId) { } /** - * Deletes an alert. Deleted alerts are no longer accessible and cannot be restored. **Note**: + * Deletes an alert. Deleted alerts are no longer accessible and cannot be restored. Note: * Unlike queries and dashboards, alerts cannot be moved to the trash. * - *

    **Warning**: This API is deprecated. Please use :method:alerts/delete instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:alerts/delete instead. Learn more */ public void delete(DeleteAlertsLegacyRequest request) { impl.delete(request); @@ -69,9 +65,8 @@ public LegacyAlert get(String alertId) { /** * Gets an alert. * - *

    **Warning**: This API is deprecated. Please use :method:alerts/get instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:alerts/get instead. Learn more */ public LegacyAlert get(GetAlertsLegacyRequest request) { return impl.get(request); @@ -80,9 +75,8 @@ public LegacyAlert get(GetAlertsLegacyRequest request) { /** * Gets a list of alerts. * - *

    **Warning**: This API is deprecated. Please use :method:alerts/list instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:alerts/list instead. Learn more */ public Iterable list() { return impl.list(); @@ -91,9 +85,8 @@ public Iterable list() { /** * Updates an alert. * - *

    **Warning**: This API is deprecated. Please use :method:alerts/update instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:alerts/update instead. Learn more */ public void update(EditAlert request) { impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsLegacyService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsLegacyService.java index 548431b31..de6d5a592 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsLegacyService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsLegacyService.java @@ -8,12 +8,10 @@ * The alerts API can be used to perform CRUD operations on alerts. An alert is a Databricks SQL * object that periodically runs a query, evaluates a condition of its result, and notifies one or * more users and/or notification destinations if the condition was met. Alerts can be scheduled - * using the `sql_task` type of the Jobs API, e.g. :method:jobs/create. + * using the {@code sql_task} type of the Jobs API, e.g. :method:jobs/create. * - *

    **Warning**: This API is deprecated. Please see the latest version of the Databricks SQL API. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please see the latest version of the Databricks SQL + * API. Learn more * *

    This is the high-level interface, that contains generated methods. * @@ -26,46 +24,41 @@ public interface AlertsLegacyService { * a condition of its result, and notifies users or notification destinations if the condition was * met. * - *

    **Warning**: This API is deprecated. Please use :method:alerts/create instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:alerts/create instead. Learn more */ LegacyAlert create(CreateAlert createAlert); /** - * Deletes an alert. Deleted alerts are no longer accessible and cannot be restored. **Note**: + * Deletes an alert. Deleted alerts are no longer accessible and cannot be restored. Note: * Unlike queries and dashboards, alerts cannot be moved to the trash. * - *

    **Warning**: This API is deprecated. Please use :method:alerts/delete instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:alerts/delete instead. Learn more */ void delete(DeleteAlertsLegacyRequest deleteAlertsLegacyRequest); /** * Gets an alert. * - *

    **Warning**: This API is deprecated. Please use :method:alerts/get instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:alerts/get instead. Learn more */ LegacyAlert get(GetAlertsLegacyRequest getAlertsLegacyRequest); /** * Gets a list of alerts. * - *

    **Warning**: This API is deprecated. Please use :method:alerts/list instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:alerts/list instead. Learn more */ Collection list(); /** * Updates an alert. * - *

    **Warning**: This API is deprecated. Please use :method:alerts/update instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:alerts/update instead. Learn more */ void update(EditAlert editAlert); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsService.java index 0ff794d3e..70ed7d0a7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/AlertsService.java @@ -7,7 +7,7 @@ * The alerts API can be used to perform CRUD operations on alerts. An alert is a Databricks SQL * object that periodically runs a query, evaluates a condition of its result, and notifies one or * more users and/or notification destinations if the condition was met. Alerts can be scheduled - * using the `sql_task` type of the Jobs API, e.g. :method:jobs/create. + * using the {@code sql_task} type of the Jobs API, e.g. :method:jobs/create. * *

    This is the high-level interface, that contains generated methods. * @@ -29,7 +29,7 @@ public interface AlertsService { Alert get(GetAlertRequest getAlertRequest); /** - * Gets a list of alerts accessible to the user, ordered by creation time. **Warning:** Calling + * Gets a list of alerts accessible to the user, ordered by creation time. Warning: Calling * this API concurrently 10 or more times could result in throttling, service degradation, or a * temporary ban. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/BaseChunkInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/BaseChunkInfo.java index 2595fc462..17ca54649 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/BaseChunkInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/BaseChunkInfo.java @@ -10,7 +10,7 @@ @Generated public class BaseChunkInfo { /** - * The number of bytes in the result chunk. This field is not available when using `INLINE` + * The number of bytes in the result chunk. This field is not available when using {@code INLINE} * disposition. */ @JsonProperty("byte_count") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Channel.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Channel.java index 4ed901e2a..ddfd6a0fa 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Channel.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Channel.java @@ -9,7 +9,7 @@ /** * Configures the channel name and DBSQL version of the warehouse. CHANNEL_NAME_CUSTOM should be - * chosen only when `dbsql_version` is specified. + * chosen only when {@code dbsql_version} is specified. */ @Generated public class Channel { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateAlert.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateAlert.java index 52d3f691a..a129dae81 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateAlert.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateAlert.java @@ -27,7 +27,7 @@ public class CreateAlert { /** * Number of seconds after being triggered before the alert rearms itself and can be triggered - * again. If `null`, alert will never be triggered again. + * again. If {@code null}, alert will never be triggered again. */ @JsonProperty("rearm") private Long rearm; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateAlertRequestAlert.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateAlertRequestAlert.java index 80af13302..8878ec3f6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateAlertRequestAlert.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateAlertRequestAlert.java @@ -14,18 +14,18 @@ public class CreateAlertRequestAlert { private AlertCondition condition; /** - * Custom body of alert notification, if it exists. See [here] for custom templating instructions. - * - *

    [here]: https://docs.databricks.com/sql/user/alerts/index.html + * Custom body of alert notification, if it exists. See here for custom templating + * instructions. */ @JsonProperty("custom_body") private String customBody; /** * Custom subject of alert notification, if it exists. This can include email subject entries and - * Slack notification headers, for example. See [here] for custom templating instructions. - * - *

    [here]: https://docs.databricks.com/sql/user/alerts/index.html + * Slack notification headers, for example. See here for custom templating + * instructions. */ @JsonProperty("custom_subject") private String customSubject; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateWarehouseRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateWarehouseRequest.java index eceace425..0b955328d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateWarehouseRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateWarehouseRequest.java @@ -14,7 +14,12 @@ public class CreateWarehouseRequest { * The amount of time in minutes that a SQL warehouse must be idle (i.e., no RUNNING queries) * before it is automatically stopped. * - *

    Supported values: - Must be == 0 or >= 10 mins - 0 indicates no autostop. + *

    Supported values: + * + *

      + *
    • Must be == 0 or >= 10 mins + *
    • 0 indicates no autostop. + *
    * *

    Defaults to 120 mins */ @@ -30,8 +35,20 @@ public class CreateWarehouseRequest { * allows you to run larger queries on it. If you want to increase the number of concurrent * queries, please tune max_num_clusters. * - *

    Supported values: - 2X-Small - X-Small - Small - Medium - Large - X-Large - 2X-Large - - * 3X-Large - 4X-Large - 5X-Large + *

    Supported values: + * + *

      + *
    • 2X-Small + *
    • X-Small + *
    • Small + *
    • Medium + *
    • Large + *
    • X-Large + *
    • 2X-Large + *
    • 3X-Large + *
    • 4X-Large + *
    • 5X-Large + *
    */ @JsonProperty("cluster_size") private String clusterSize; @@ -59,7 +76,12 @@ public class CreateWarehouseRequest { /** * Maximum number of clusters that the autoscaler will create to handle concurrent queries. * - *

    Supported values: - Must be >= min_num_clusters - Must be <= 40. + *

    Supported values: + * + *

      + *
    • Must be >= min_num_clusters + *
    • Must be <= 40. + *
    * *

    Defaults to min_clusters if unset. */ @@ -72,7 +94,12 @@ public class CreateWarehouseRequest { * the cold start time for new queries. This is similar to reserved vs. revocable cores in a * resource manager. * - *

    Supported values: - Must be > 0 - Must be <= min(max_num_clusters, 30) + *

    Supported values: + * + *

      + *
    • Must be > 0 + *
    • Must be <= min(max_num_clusters, 30) + *
    * *

    Defaults to 1 */ @@ -82,7 +109,12 @@ public class CreateWarehouseRequest { /** * Logical name for the cluster. * - *

    Supported values: - Must be unique within an org. - Must be less than 100 characters. + *

    Supported values: + * + *

      + *
    • Must be unique within an org. + *
    • Must be less than 100 characters. + *
    */ @JsonProperty("name") private String name; @@ -95,14 +127,18 @@ public class CreateWarehouseRequest { * A set of key-value pairs that will be tagged on all resources (e.g., AWS instances and EBS * volumes) associated with this SQL warehouse. * - *

    Supported values: - Number of tags < 45. + *

    Supported values: + * + *

      + *
    • Number of tags < 45. + *
    */ @JsonProperty("tags") private EndpointTags tags; /** - * Warehouse type: `PRO` or `CLASSIC`. If you want to use serverless compute, you must set to - * `PRO` and also set the field `enable_serverless_compute` to `true`. + * Warehouse type: {@code PRO} or {@code CLASSIC}. If you want to use serverless compute, you must + * set to {@code PRO} and also set the field {@code enable_serverless_compute} to {@code true}. */ @JsonProperty("warehouse_type") private CreateWarehouseRequestWarehouseType warehouseType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateWidget.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateWidget.java index 0021c4c28..f16b193e0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateWidget.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateWidget.java @@ -19,7 +19,7 @@ public class CreateWidget { /** * If this is a textbox widget, the application displays this text. This field is ignored if the - * widget contains a visualization in the `visualization` field. + * widget contains a visualization in the {@code visualization} field. */ @JsonProperty("text") private String text; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Dashboard.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Dashboard.java index 2b8ca46fd..8723c804f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Dashboard.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Dashboard.java @@ -21,7 +21,7 @@ public class Dashboard { /** * In the web application, query filters that share a name are coupled to a single selection box - * if this value is `true`. + * if this value is {@code true}. */ @JsonProperty("dashboard_filters_enabled") private Boolean dashboardFiltersEnabled; @@ -32,8 +32,8 @@ public class Dashboard { /** * Indicates whether a dashboard is trashed. Trashed dashboards won't appear in list views. If - * this boolean is `true`, the `options` property for this dashboard includes a - * `moved_to_trash_at` timestamp. Items in trash are permanently deleted after 30 days. + * this boolean is {@code true}, the {@code options} property for this dashboard includes a {@code + * moved_to_trash_at} timestamp. Items in trash are permanently deleted after 30 days. */ @JsonProperty("is_archived") private Boolean isArchived; @@ -64,15 +64,21 @@ public class Dashboard { private String parent; /** - * * `CAN_VIEW`: Can view the query * `CAN_RUN`: Can run the query * `CAN_EDIT`: Can edit the - * query * `CAN_MANAGE`: Can manage the query + * + * + *
      + *
    • {@code CAN_VIEW}: Can view the query + *
    • {@code CAN_RUN}: Can run the query + *
    • {@code CAN_EDIT}: Can edit the query + *
    • {@code CAN_MANAGE}: Can manage the query + *
    */ @JsonProperty("permission_tier") private PermissionLevel permissionTier; /** - * URL slug. Usually mirrors the query name with dashes (`-`) instead of spaces. Appears in the - * URL for this query. + * URL slug. Usually mirrors the query name with dashes ({@code -}) instead of spaces. Appears in + * the URL for this query. */ @JsonProperty("slug") private String slug; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardEditContent.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardEditContent.java index 421f78fae..b4039630f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardEditContent.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardEditContent.java @@ -21,8 +21,8 @@ public class DashboardEditContent { private String name; /** - * Sets the **Run as** role for the object. Must be set to one of `"viewer"` (signifying "run as - * viewer" behavior) or `"owner"` (signifying "run as owner" behavior) + * Sets the Run as role for the object. Must be set to one of {@code "viewer"} (signifying + * "run as viewer" behavior) or {@code "owner"} (signifying "run as owner" behavior) */ @JsonProperty("run_as_role") private RunAsRole runAsRole; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardOptions.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardOptions.java index 2bb72bb8b..7a2b4eaa8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardOptions.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardOptions.java @@ -10,8 +10,8 @@ @Generated public class DashboardOptions { /** - * The timestamp when this dashboard was moved to trash. Only present when the `is_archived` - * property is `true`. Trashed items are deleted after thirty days. + * The timestamp when this dashboard was moved to trash. Only present when the {@code is_archived} + * property is {@code true}. Trashed items are deleted after thirty days. */ @JsonProperty("moved_to_trash_at") private String movedToTrashAt; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardsAPI.java index 8eac94418..14cd1770f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardsAPI.java @@ -11,12 +11,11 @@ * In general, there is little need to modify dashboards using the API. However, it can be useful to * use dashboard objects to look-up a collection of related query IDs. The API can also be used to * duplicate multiple dashboards at once since you can get a dashboard definition with a GET request - * and then POST it to create a new one. Dashboards can be scheduled using the `sql_task` type of - * the Jobs API, e.g. :method:jobs/create. + * and then POST it to create a new one. Dashboards can be scheduled using the {@code sql_task} type + * of the Jobs API, e.g. :method:jobs/create. * - *

    **Warning**: This API is deprecated. Please use the AI/BI Dashboards API instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/dashboards/ + *

    Warning: This API is deprecated. Please use the AI/BI Dashboards API instead. Learn more */ @Generated public class DashboardsAPI { @@ -42,10 +41,8 @@ public void delete(String dashboardId) { * Moves a dashboard to the trash. Trashed dashboards do not appear in list views or searches, and * cannot be shared. * - *

    **Warning**: This API is deprecated. Please use the AI/BI Dashboards API instead. [Learn - * more] - * - *

    [Learn more]: https://docs.databricks.com/en/dashboards/ + *

    Warning: This API is deprecated. Please use the AI/BI Dashboards API instead. Learn more */ public void delete(DeleteDashboardRequest request) { impl.delete(request); @@ -59,10 +56,8 @@ public Dashboard get(String dashboardId) { * Returns a JSON representation of a dashboard object, including its visualization and query * objects. * - *

    **Warning**: This API is deprecated. Please use the AI/BI Dashboards API instead. [Learn - * more] - * - *

    [Learn more]: https://docs.databricks.com/en/dashboards/ + *

    Warning: This API is deprecated. Please use the AI/BI Dashboards API instead. Learn more */ public Dashboard get(GetDashboardRequest request) { return impl.get(request); @@ -71,13 +66,11 @@ public Dashboard get(GetDashboardRequest request) { /** * Fetch a paginated list of dashboard objects. * - *

    **Warning**: Calling this API concurrently 10 or more times could result in throttling, + *

    Warning: Calling this API concurrently 10 or more times could result in throttling, * service degradation, or a temporary ban. * - *

    **Warning**: This API is deprecated. Please use the AI/BI Dashboards API instead. [Learn - * more] - * - *

    [Learn more]: https://docs.databricks.com/en/dashboards/ + *

    Warning: This API is deprecated. Please use the AI/BI Dashboards API instead. Learn more */ public Iterable list(ListDashboardsRequest request) { request.setPage(1L); @@ -97,10 +90,8 @@ public Iterable list(ListDashboardsRequest request) { /** * A restored dashboard appears in list views and searches and can be shared. * - *

    **Warning**: This API is deprecated. Please use the AI/BI Dashboards API instead. [Learn - * more] - * - *

    [Learn more]: https://docs.databricks.com/en/dashboards/ + *

    Warning: This API is deprecated. Please use the AI/BI Dashboards API instead. Learn more */ public void restore(RestoreDashboardRequest request) { impl.restore(request); @@ -110,12 +101,10 @@ public void restore(RestoreDashboardRequest request) { * Modify this dashboard definition. This operation only affects attributes of the dashboard * object. It does not add, modify, or remove widgets. * - *

    **Note**: You cannot undo this operation. - * - *

    **Warning**: This API is deprecated. Please use the AI/BI Dashboards API instead. [Learn - * more] + *

    Note: You cannot undo this operation. * - *

    [Learn more]: https://docs.databricks.com/en/dashboards/ + *

    Warning: This API is deprecated. Please use the AI/BI Dashboards API instead. Learn more */ public Dashboard update(DashboardEditContent request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardsService.java index 9097860a0..86cc333f5 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DashboardsService.java @@ -7,12 +7,11 @@ * In general, there is little need to modify dashboards using the API. However, it can be useful to * use dashboard objects to look-up a collection of related query IDs. The API can also be used to * duplicate multiple dashboards at once since you can get a dashboard definition with a GET request - * and then POST it to create a new one. Dashboards can be scheduled using the `sql_task` type of - * the Jobs API, e.g. :method:jobs/create. + * and then POST it to create a new one. Dashboards can be scheduled using the {@code sql_task} type + * of the Jobs API, e.g. :method:jobs/create. * - *

    **Warning**: This API is deprecated. Please use the AI/BI Dashboards API instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/dashboards/ + *

    Warning: This API is deprecated. Please use the AI/BI Dashboards API instead. Learn more * *

    This is the high-level interface, that contains generated methods. * @@ -24,10 +23,8 @@ public interface DashboardsService { * Moves a dashboard to the trash. Trashed dashboards do not appear in list views or searches, and * cannot be shared. * - *

    **Warning**: This API is deprecated. Please use the AI/BI Dashboards API instead. [Learn - * more] - * - *

    [Learn more]: https://docs.databricks.com/en/dashboards/ + *

    Warning: This API is deprecated. Please use the AI/BI Dashboards API instead. Learn more */ void delete(DeleteDashboardRequest deleteDashboardRequest); @@ -35,33 +32,27 @@ public interface DashboardsService { * Returns a JSON representation of a dashboard object, including its visualization and query * objects. * - *

    **Warning**: This API is deprecated. Please use the AI/BI Dashboards API instead. [Learn - * more] - * - *

    [Learn more]: https://docs.databricks.com/en/dashboards/ + *

    Warning: This API is deprecated. Please use the AI/BI Dashboards API instead. Learn more */ Dashboard get(GetDashboardRequest getDashboardRequest); /** * Fetch a paginated list of dashboard objects. * - *

    **Warning**: Calling this API concurrently 10 or more times could result in throttling, + *

    Warning: Calling this API concurrently 10 or more times could result in throttling, * service degradation, or a temporary ban. * - *

    **Warning**: This API is deprecated. Please use the AI/BI Dashboards API instead. [Learn - * more] - * - *

    [Learn more]: https://docs.databricks.com/en/dashboards/ + *

    Warning: This API is deprecated. Please use the AI/BI Dashboards API instead. Learn more */ ListResponse list(ListDashboardsRequest listDashboardsRequest); /** * A restored dashboard appears in list views and searches and can be shared. * - *

    **Warning**: This API is deprecated. Please use the AI/BI Dashboards API instead. [Learn - * more] - * - *

    [Learn more]: https://docs.databricks.com/en/dashboards/ + *

    Warning: This API is deprecated. Please use the AI/BI Dashboards API instead. Learn more */ void restore(RestoreDashboardRequest restoreDashboardRequest); @@ -69,12 +60,10 @@ public interface DashboardsService { * Modify this dashboard definition. This operation only affects attributes of the dashboard * object. It does not add, modify, or remove widgets. * - *

    **Note**: You cannot undo this operation. - * - *

    **Warning**: This API is deprecated. Please use the AI/BI Dashboards API instead. [Learn - * more] + *

    Note: You cannot undo this operation. * - *

    [Learn more]: https://docs.databricks.com/en/dashboards/ + *

    Warning: This API is deprecated. Please use the AI/BI Dashboards API instead. Learn more */ Dashboard update(DashboardEditContent dashboardEditContent); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSource.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSource.java index 3dfc9f064..d7a8c0981 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSource.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSource.java @@ -12,9 +12,8 @@ public class DataSource { /** * Data source ID maps to the ID of the data source used by the resource and is distinct from the - * warehouse ID. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/api/workspace/datasources/list + * warehouse ID. Learn + * more */ @JsonProperty("id") private String id; @@ -42,7 +41,7 @@ public class DataSource { @JsonProperty("syntax") private String syntax; - /** The type of data source. For SQL warehouses, this will be `databricks_internal`. */ + /** The type of data source. For SQL warehouses, this will be {@code databricks_internal}. */ @JsonProperty("type") private String typeValue; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSourcesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSourcesAPI.java index a397532ee..76afc9e96 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSourcesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSourcesAPI.java @@ -8,18 +8,16 @@ /** * This API is provided to assist you in making new query objects. When creating a query object, you - * may optionally specify a `data_source_id` for the SQL warehouse against which it will run. If you - * don't already know the `data_source_id` for your desired SQL warehouse, this API will help you - * find it. + * may optionally specify a {@code data_source_id} for the SQL warehouse against which it will run. + * If you don't already know the {@code data_source_id} for your desired SQL warehouse, this API + * will help you find it. * *

    This API does not support searches. It returns the full list of SQL warehouses in your - * workspace. We advise you to use any text editor, REST client, or `grep` to search the response - * from this API for the name of your SQL warehouse as it appears in Databricks SQL. + * workspace. We advise you to use any text editor, REST client, or {@code grep} to search the + * response from this API for the name of your SQL warehouse as it appears in Databricks SQL. * - *

    **Warning**: This API is deprecated. Please see the latest version of the Databricks SQL API. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please see the latest version of the Databricks SQL + * API. Learn more */ @Generated public class DataSourcesAPI { @@ -39,13 +37,11 @@ public DataSourcesAPI(DataSourcesService mock) { /** * Retrieves a full list of SQL warehouses available in this workspace. All fields that appear in - * this API response are enumerated for clarity. However, you need only a SQL warehouse's `id` to - * create new queries against it. - * - *

    **Warning**: This API is deprecated. Please use :method:warehouses/list instead. [Learn - * more] + * this API response are enumerated for clarity. However, you need only a SQL warehouse's {@code + * id} to create new queries against it. * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:warehouses/list instead. Learn more */ public Iterable list() { return impl.list(); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSourcesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSourcesService.java index 20fe77db6..91c6c977d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSourcesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DataSourcesService.java @@ -6,18 +6,16 @@ /** * This API is provided to assist you in making new query objects. When creating a query object, you - * may optionally specify a `data_source_id` for the SQL warehouse against which it will run. If you - * don't already know the `data_source_id` for your desired SQL warehouse, this API will help you - * find it. + * may optionally specify a {@code data_source_id} for the SQL warehouse against which it will run. + * If you don't already know the {@code data_source_id} for your desired SQL warehouse, this API + * will help you find it. * *

    This API does not support searches. It returns the full list of SQL warehouses in your - * workspace. We advise you to use any text editor, REST client, or `grep` to search the response - * from this API for the name of your SQL warehouse as it appears in Databricks SQL. + * workspace. We advise you to use any text editor, REST client, or {@code grep} to search the + * response from this API for the name of your SQL warehouse as it appears in Databricks SQL. * - *

    **Warning**: This API is deprecated. Please see the latest version of the Databricks SQL API. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please see the latest version of the Databricks SQL + * API. Learn more * *

    This is the high-level interface, that contains generated methods. * @@ -27,13 +25,11 @@ public interface DataSourcesService { /** * Retrieves a full list of SQL warehouses available in this workspace. All fields that appear in - * this API response are enumerated for clarity. However, you need only a SQL warehouse's `id` to - * create new queries against it. - * - *

    **Warning**: This API is deprecated. Please use :method:warehouses/list instead. [Learn - * more] + * this API response are enumerated for clarity. However, you need only a SQL warehouse's {@code + * id} to create new queries against it. * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:warehouses/list instead. Learn more */ Collection list(); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DbsqlPermissionsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DbsqlPermissionsAPI.java index 844f03b9e..517febf25 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DbsqlPermissionsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DbsqlPermissionsAPI.java @@ -13,17 +13,15 @@ * *

    There are three levels of permission: * - *

    - `CAN_VIEW`: Allows read-only access + *

      + *
    • {@code CAN_VIEW}: Allows read-only access + *
    • {@code CAN_RUN}: Allows read access and run access (superset of {@code CAN_VIEW}) + *
    • {@code CAN_MANAGE}: Allows all actions: read, run, edit, delete, modify permissions + * (superset of {@code CAN_RUN}) + *
    * - *

    - `CAN_RUN`: Allows read access and run access (superset of `CAN_VIEW`) - * - *

    - `CAN_MANAGE`: Allows all actions: read, run, edit, delete, modify permissions (superset of - * `CAN_RUN`) - * - *

    **Warning**: This API is deprecated. Please see the latest version of the Databricks SQL API. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please see the latest version of the Databricks SQL + * API. Learn more */ @Generated public class DbsqlPermissionsAPI { @@ -48,10 +46,8 @@ public GetResponse get(ObjectTypePlural objectType, String objectId) { /** * Gets a JSON representation of the access control list (ACL) for a specified object. * - *

    **Warning**: This API is deprecated. Please use :method:workspace/getpermissions instead. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:workspace/getpermissions instead. + * Learn more */ public GetResponse get(GetDbsqlPermissionRequest request) { return impl.get(request); @@ -61,10 +57,8 @@ public GetResponse get(GetDbsqlPermissionRequest request) { * Sets the access control list (ACL) for a specified object. This operation will complete rewrite * the ACL. * - *

    **Warning**: This API is deprecated. Please use :method:workspace/setpermissions instead. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:workspace/setpermissions instead. + * Learn more */ public SetResponse set(SetRequest request) { return impl.set(request); @@ -74,10 +68,9 @@ public SetResponse set(SetRequest request) { * Transfers ownership of a dashboard, query, or alert to an active user. Requires an admin API * key. * - *

    **Warning**: This API is deprecated. For queries and alerts, please use - * :method:queries/update and :method:alerts/update respectively instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. For queries and alerts, please use + * :method:queries/update and :method:alerts/update respectively instead. Learn more */ public Success transferOwnership(TransferOwnershipRequest request) { return impl.transferOwnership(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DbsqlPermissionsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DbsqlPermissionsService.java index a81cc46b8..a68bcdbfd 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DbsqlPermissionsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/DbsqlPermissionsService.java @@ -10,17 +10,15 @@ * *

    There are three levels of permission: * - *

    - `CAN_VIEW`: Allows read-only access + *

      + *
    • {@code CAN_VIEW}: Allows read-only access + *
    • {@code CAN_RUN}: Allows read access and run access (superset of {@code CAN_VIEW}) + *
    • {@code CAN_MANAGE}: Allows all actions: read, run, edit, delete, modify permissions + * (superset of {@code CAN_RUN}) + *
    * - *

    - `CAN_RUN`: Allows read access and run access (superset of `CAN_VIEW`) - * - *

    - `CAN_MANAGE`: Allows all actions: read, run, edit, delete, modify permissions (superset of - * `CAN_RUN`) - * - *

    **Warning**: This API is deprecated. Please see the latest version of the Databricks SQL API. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please see the latest version of the Databricks SQL + * API. Learn more * *

    This is the high-level interface, that contains generated methods. * @@ -31,10 +29,8 @@ public interface DbsqlPermissionsService { /** * Gets a JSON representation of the access control list (ACL) for a specified object. * - *

    **Warning**: This API is deprecated. Please use :method:workspace/getpermissions instead. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:workspace/getpermissions instead. + * Learn more */ GetResponse get(GetDbsqlPermissionRequest getDbsqlPermissionRequest); @@ -42,10 +38,8 @@ public interface DbsqlPermissionsService { * Sets the access control list (ACL) for a specified object. This operation will complete rewrite * the ACL. * - *

    **Warning**: This API is deprecated. Please use :method:workspace/setpermissions instead. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:workspace/setpermissions instead. + * Learn more */ SetResponse set(SetRequest setRequest); @@ -53,10 +47,9 @@ public interface DbsqlPermissionsService { * Transfers ownership of a dashboard, query, or alert to an active user. Requires an admin API * key. * - *

    **Warning**: This API is deprecated. For queries and alerts, please use - * :method:queries/update and :method:alerts/update respectively instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. For queries and alerts, please use + * :method:queries/update and :method:alerts/update respectively instead. Learn more */ Success transferOwnership(TransferOwnershipRequest transferOwnershipRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EditAlert.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EditAlert.java index db610f662..5c89b775d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EditAlert.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EditAlert.java @@ -27,7 +27,7 @@ public class EditAlert { /** * Number of seconds after being triggered before the alert rearms itself and can be triggered - * again. If `null`, alert will never be triggered again. + * again. If {@code null}, alert will never be triggered again. */ @JsonProperty("rearm") private Long rearm; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EditWarehouseRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EditWarehouseRequest.java index b64211012..f96ebb637 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EditWarehouseRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EditWarehouseRequest.java @@ -19,7 +19,12 @@ public class EditWarehouseRequest { * The amount of time in minutes that a SQL warehouse must be idle (i.e., no RUNNING queries) * before it is automatically stopped. * - *

    Supported values: - Must be == 0 or >= 10 mins - 0 indicates no autostop. + *

    Supported values: + * + *

      + *
    • Must be == 0 or >= 10 mins + *
    • 0 indicates no autostop. + *
    * *

    Defaults to 120 mins */ @@ -35,8 +40,20 @@ public class EditWarehouseRequest { * allows you to run larger queries on it. If you want to increase the number of concurrent * queries, please tune max_num_clusters. * - *

    Supported values: - 2X-Small - X-Small - Small - Medium - Large - X-Large - 2X-Large - - * 3X-Large - 4X-Large - 5X-Large + *

    Supported values: + * + *

      + *
    • 2X-Small + *
    • X-Small + *
    • Small + *
    • Medium + *
    • Large + *
    • X-Large + *
    • 2X-Large + *
    • 3X-Large + *
    • 4X-Large + *
    • 5X-Large + *
    */ @JsonProperty("cluster_size") private String clusterSize; @@ -67,7 +84,12 @@ public class EditWarehouseRequest { /** * Maximum number of clusters that the autoscaler will create to handle concurrent queries. * - *

    Supported values: - Must be >= min_num_clusters - Must be <= 40. + *

    Supported values: + * + *

      + *
    • Must be >= min_num_clusters + *
    • Must be <= 40. + *
    * *

    Defaults to min_clusters if unset. */ @@ -80,7 +102,12 @@ public class EditWarehouseRequest { * the cold start time for new queries. This is similar to reserved vs. revocable cores in a * resource manager. * - *

    Supported values: - Must be > 0 - Must be <= min(max_num_clusters, 30) + *

    Supported values: + * + *

      + *
    • Must be > 0 + *
    • Must be <= min(max_num_clusters, 30) + *
    * *

    Defaults to 1 */ @@ -90,7 +117,12 @@ public class EditWarehouseRequest { /** * Logical name for the cluster. * - *

    Supported values: - Must be unique within an org. - Must be less than 100 characters. + *

    Supported values: + * + *

      + *
    • Must be unique within an org. + *
    • Must be less than 100 characters. + *
    */ @JsonProperty("name") private String name; @@ -103,14 +135,18 @@ public class EditWarehouseRequest { * A set of key-value pairs that will be tagged on all resources (e.g., AWS instances and EBS * volumes) associated with this SQL warehouse. * - *

    Supported values: - Number of tags < 45. + *

    Supported values: + * + *

      + *
    • Number of tags < 45. + *
    */ @JsonProperty("tags") private EndpointTags tags; /** - * Warehouse type: `PRO` or `CLASSIC`. If you want to use serverless compute, you must set to - * `PRO` and also set the field `enable_serverless_compute` to `true`. + * Warehouse type: {@code PRO} or {@code CLASSIC}. If you want to use serverless compute, you must + * set to {@code PRO} and also set the field {@code enable_serverless_compute} to {@code true}. */ @JsonProperty("warehouse_type") private EditWarehouseRequestWarehouseType warehouseType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EndpointInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EndpointInfo.java index 88173f3a0..369006a48 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EndpointInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EndpointInfo.java @@ -13,7 +13,12 @@ public class EndpointInfo { * The amount of time in minutes that a SQL warehouse must be idle (i.e., no RUNNING queries) * before it is automatically stopped. * - *

    Supported values: - Must be == 0 or >= 10 mins - 0 indicates no autostop. + *

    Supported values: + * + *

      + *
    • Must be == 0 or >= 10 mins + *
    • 0 indicates no autostop. + *
    * *

    Defaults to 120 mins */ @@ -29,8 +34,20 @@ public class EndpointInfo { * allows you to run larger queries on it. If you want to increase the number of concurrent * queries, please tune max_num_clusters. * - *

    Supported values: - 2X-Small - X-Small - Small - Medium - Large - X-Large - 2X-Large - - * 3X-Large - 4X-Large - 5X-Large + *

    Supported values: + * + *

      + *
    • 2X-Small + *
    • X-Small + *
    • Small + *
    • Medium + *
    • Large + *
    • X-Large + *
    • 2X-Large + *
    • 3X-Large + *
    • 4X-Large + *
    • 5X-Large + *
    */ @JsonProperty("cluster_size") private String clusterSize; @@ -70,7 +87,12 @@ public class EndpointInfo { /** * Maximum number of clusters that the autoscaler will create to handle concurrent queries. * - *

    Supported values: - Must be >= min_num_clusters - Must be <= 40. + *

    Supported values: + * + *

      + *
    • Must be >= min_num_clusters + *
    • Must be <= 40. + *
    * *

    Defaults to min_clusters if unset. */ @@ -83,7 +105,12 @@ public class EndpointInfo { * the cold start time for new queries. This is similar to reserved vs. revocable cores in a * resource manager. * - *

    Supported values: - Must be > 0 - Must be <= min(max_num_clusters, 30) + *

    Supported values: + * + *

      + *
    • Must be > 0 + *
    • Must be <= min(max_num_clusters, 30) + *
    * *

    Defaults to 1 */ @@ -93,7 +120,12 @@ public class EndpointInfo { /** * Logical name for the cluster. * - *

    Supported values: - Must be unique within an org. - Must be less than 100 characters. + *

    Supported values: + * + *

      + *
    • Must be unique within an org. + *
    • Must be less than 100 characters. + *
    */ @JsonProperty("name") private String name; @@ -122,14 +154,18 @@ public class EndpointInfo { * A set of key-value pairs that will be tagged on all resources (e.g., AWS instances and EBS * volumes) associated with this SQL warehouse. * - *

    Supported values: - Number of tags < 45. + *

    Supported values: + * + *

      + *
    • Number of tags < 45. + *
    */ @JsonProperty("tags") private EndpointTags tags; /** - * Warehouse type: `PRO` or `CLASSIC`. If you want to use serverless compute, you must set to - * `PRO` and also set the field `enable_serverless_compute` to `true`. + * Warehouse type: {@code PRO} or {@code CLASSIC}. If you want to use serverless compute, you must + * set to {@code PRO} and also set the field {@code enable_serverless_compute} to {@code true}. */ @JsonProperty("warehouse_type") private EndpointInfoWarehouseType warehouseType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ExecuteStatementRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ExecuteStatementRequest.java index 20fa8940b..aaeeed887 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ExecuteStatementRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ExecuteStatementRequest.java @@ -12,135 +12,150 @@ public class ExecuteStatementRequest { /** * Applies the given byte limit to the statement's result size. Byte counts are based on internal - * data representations and might not match the final size in the requested `format`. If the - * result was truncated due to the byte limit, then `truncated` in the response is set to `true`. - * When using `EXTERNAL_LINKS` disposition, a default `byte_limit` of 100 GiB is applied if - * `byte_limit` is not explicitly set. + * data representations and might not match the final size in the requested {@code format}. If the + * result was truncated due to the byte limit, then {@code truncated} in the response is set to + * {@code true}. When using {@code EXTERNAL_LINKS} disposition, a default {@code byte_limit} of + * 100 GiB is applied if {@code byte_limit} is not explicitly set. */ @JsonProperty("byte_limit") private Long byteLimit; /** - * Sets default catalog for statement execution, similar to [`USE CATALOG`] in SQL. - * - *

    [`USE CATALOG`]: - * https://docs.databricks.com/sql/language-manual/sql-ref-syntax-ddl-use-catalog.html + * Sets default catalog for statement execution, similar to {@code + * USE CATALOG} in SQL. */ @JsonProperty("catalog") private String catalog; /** - * The fetch disposition provides two modes of fetching results: `INLINE` and `EXTERNAL_LINKS`. + * The fetch disposition provides two modes of fetching results: {@code INLINE} and {@code + * EXTERNAL_LINKS}. * - *

    Statements executed with `INLINE` disposition will return result data inline, in - * `JSON_ARRAY` format, in a series of chunks. If a given statement produces a result set with a - * size larger than 25 MiB, that statement execution is aborted, and no result set will be + *

    Statements executed with {@code INLINE} disposition will return result data inline, in + * {@code JSON_ARRAY} format, in a series of chunks. If a given statement produces a result set + * with a size larger than 25 MiB, that statement execution is aborted, and no result set will be * available. * - *

    **NOTE** Byte limits are computed based upon internal representations of the result set + *

    NOTE Byte limits are computed based upon internal representations of the result set * data, and might not match the sizes visible in JSON responses. * - *

    Statements executed with `EXTERNAL_LINKS` disposition will return result data as external - * links: URLs that point to cloud storage internal to the workspace. Using `EXTERNAL_LINKS` - * disposition allows statements to generate arbitrarily sized result sets for fetching up to 100 - * GiB. The resulting links have two important properties: - * - *

    1. They point to resources _external_ to the Databricks compute; therefore any associated - * authentication information (typically a personal access token, OAuth token, or similar) _must - * be removed_ when fetching from these links. + *

    Statements executed with {@code EXTERNAL_LINKS} disposition will return result data as + * external links: URLs that point to cloud storage internal to the workspace. Using {@code + * EXTERNAL_LINKS} disposition allows statements to generate arbitrarily sized result sets for + * fetching up to 100 GiB. The resulting links have two important properties: * - *

    2. These are URLs with a specific expiration, indicated in the response. The behavior when - * attempting to use an expired link is cloud specific. + *

      + *
    1. They point to resources external to the Databricks compute; therefore any + * associated authentication information (typically a personal access token, OAuth token, or + * similar) must be removed when fetching from these links. + *
    2. These are URLs with a specific expiration, indicated in the response. The behavior when + * attempting to use an expired link is cloud specific. + *
    */ @JsonProperty("disposition") private Disposition disposition; /** - * Statement execution supports three result formats: `JSON_ARRAY` (default), `ARROW_STREAM`, and - * `CSV`. - * - *

    Important: The formats `ARROW_STREAM` and `CSV` are supported only with `EXTERNAL_LINKS` - * disposition. `JSON_ARRAY` is supported in `INLINE` and `EXTERNAL_LINKS` disposition. + * Statement execution supports three result formats: {@code JSON_ARRAY} (default), {@code + * ARROW_STREAM}, and {@code CSV}. * - *

    When specifying `format=JSON_ARRAY`, result data will be formatted as an array of arrays of - * values, where each value is either the *string representation* of a value, or `null`. For - * example, the output of `SELECT concat('id-', id) AS strCol, id AS intCol, null AS nullCol FROM - * range(3)` would look like this: + *

    Important: The formats {@code ARROW_STREAM} and {@code CSV} are supported only with {@code + * EXTERNAL_LINKS} disposition. {@code JSON_ARRAY} is supported in {@code INLINE} and {@code + * EXTERNAL_LINKS} disposition. * - *

    ``` [ [ "id-1", "1", null ], [ "id-2", "2", null ], [ "id-3", "3", null ], ] ``` + *

    When specifying {@code format=JSON_ARRAY}, result data will be formatted as an array of + * arrays of values, where each value is either the string representation of a value, or + * {@code null}. For example, the output of {@code SELECT concat('id-', id) AS strCol, id AS + * intCol, null AS nullCol FROM range(3)} would look like this: * - *

    When specifying `format=JSON_ARRAY` and `disposition=EXTERNAL_LINKS`, each chunk in the - * result contains compact JSON with no indentation or extra whitespace. + *

    {@code
    +   * [
    +   * [ "id-1", "1", null ],
    +   * [ "id-2", "2", null ],
    +   * [ "id-3", "3", null ],
    +   * ]
    +   * }
    * - *

    When specifying `format=ARROW_STREAM` and `disposition=EXTERNAL_LINKS`, each chunk in the - * result will be formatted as Apache Arrow Stream. See the [Apache Arrow streaming format]. + *

    When specifying {@code format=JSON_ARRAY} and {@code disposition=EXTERNAL_LINKS}, each chunk + * in the result contains compact JSON with no indentation or extra whitespace. * - *

    When specifying `format=CSV` and `disposition=EXTERNAL_LINKS`, each chunk in the result will - * be a CSV according to [RFC 4180] standard. All the columns values will have *string - * representation* similar to the `JSON_ARRAY` format, and `null` values will be encoded as - * “null”. Only the first chunk in the result would contain a header row with column names. For - * example, the output of `SELECT concat('id-', id) AS strCol, id AS intCol, null as nullCol FROM - * range(3)` would look like this: + *

    When specifying {@code format=ARROW_STREAM} and {@code disposition=EXTERNAL_LINKS}, each + * chunk in the result will be formatted as Apache Arrow Stream. See the Apache Arrow + * streaming format. * - *

    ``` strCol,intCol,nullCol id-1,1,null id-2,2,null id-3,3,null ``` + *

    When specifying {@code format=CSV} and {@code disposition=EXTERNAL_LINKS}, each chunk in the + * result will be a CSV according to RFC 4180 + * standard. All the columns values will have string representation similar to the {@code + * JSON_ARRAY} format, and {@code null} values will be encoded as “null”. Only the first chunk in + * the result would contain a header row with column names. For example, the output of {@code + * SELECT concat('id-', id) AS strCol, id AS intCol, null as nullCol FROM range(3)} would look + * like this: * - *

    [Apache Arrow streaming format]: - * https://arrow.apache.org/docs/format/Columnar.html#ipc-streaming-format [RFC 4180]: - * https://www.rfc-editor.org/rfc/rfc4180 + *

    {@code
    +   * strCol,intCol,nullCol
    +   * id-1,1,null
    +   * id-2,2,null
    +   * id-3,3,null
    +   * }
    */ @JsonProperty("format") private Format format; /** - * When `wait_timeout > 0s`, the call will block up to the specified time. If the statement - * execution doesn't finish within this time, `on_wait_timeout` determines whether the execution - * should continue or be canceled. When set to `CONTINUE`, the statement execution continues - * asynchronously and the call returns a statement ID which can be used for polling with - * :method:statementexecution/getStatement. When set to `CANCEL`, the statement execution is - * canceled and the call returns with a `CANCELED` state. + * When {@code wait_timeout > 0s}, the call will block up to the specified time. If the statement + * execution doesn't finish within this time, {@code on_wait_timeout} determines whether the + * execution should continue or be canceled. When set to {@code CONTINUE}, the statement execution + * continues asynchronously and the call returns a statement ID which can be used for polling with + * :method:statementexecution/getStatement. When set to {@code CANCEL}, the statement execution is + * canceled and the call returns with a {@code CANCELED} state. */ @JsonProperty("on_wait_timeout") private ExecuteStatementRequestOnWaitTimeout onWaitTimeout; /** * A list of parameters to pass into a SQL statement containing parameter markers. A parameter - * consists of a name, a value, and optionally a type. To represent a NULL value, the `value` - * field may be omitted or set to `null` explicitly. If the `type` field is omitted, the value is - * interpreted as a string. + * consists of a name, a value, and optionally a type. To represent a NULL value, the {@code + * value} field may be omitted or set to {@code null} explicitly. If the {@code type} field is + * omitted, the value is interpreted as a string. * *

    If the type is given, parameters will be checked for type correctness according to the given * type. A value is correct if the provided string can be converted to the requested type using - * the `cast` function. The exact semantics are described in the section [`cast` function] of the - * SQL language reference. + * the {@code cast} function. The exact semantics are described in the section {@code cast} + * function of the SQL language reference. * - *

    For example, the following statement contains two parameters, `my_name` and `my_date`: + *

    For example, the following statement contains two parameters, {@code my_name} and {@code + * my_date}: * - *

    ``` SELECT * FROM my_table WHERE name = :my_name AND date = :my_date ``` + *

    {@code
    +   * SELECT * FROM my_table WHERE name = :my_name AND date = :my_date
    +   * }
    * *

    The parameters can be passed in the request body as follows: * - *

    ` { ..., "statement": "SELECT * FROM my_table WHERE name = :my_name AND date = :my_date", - * "parameters": [ { "name": "my_name", "value": "the name" }, { "name": "my_date", "value": - * "2020-01-01", "type": "DATE" } ] } ` + *

    {@code { ..., "statement": "SELECT * FROM my_table WHERE name = :my_name AND date = + * :my_date", "parameters": [ { "name": "my_name", "value": "the name" }, { "name": "my_date", + * "value": "2020-01-01", "type": "DATE" } ] }} * - *

    Currently, positional parameters denoted by a `?` marker are not supported by the Databricks - * SQL Statement Execution API. + *

    Currently, positional parameters denoted by a {@code ?} marker are not supported by the + * Databricks SQL Statement Execution API. * - *

    Also see the section [Parameter markers] of the SQL language reference. - * - *

    [Parameter markers]: - * https://docs.databricks.com/sql/language-manual/sql-ref-parameter-marker.html [`cast` - * function]: https://docs.databricks.com/sql/language-manual/functions/cast.html + *

    Also see the section Parameter + * markers of the SQL language reference. */ @JsonProperty("parameters") private Collection parameters; /** * An array of query tags to annotate a SQL statement. A query tag consists of a non-empty key - * and, optionally, a value. To represent a NULL value, either omit the `value` field or manually - * set it to `null` or white space. Refer to the SQL language reference for the format - * specification of query tags. There's no significance to the order of tags. Only one value per - * key will be recorded. A sequence in excess of 20 query tags will be coerced to 20. Example: + * and, optionally, a value. To represent a NULL value, either omit the {@code value} field or + * manually set it to {@code null} or white space. Refer to the SQL language reference for the + * format specification of query tags. There's no significance to the order of tags. Only one + * value per key will be recorded. A sequence in excess of 20 query tags will be coerced to 20. + * Example: * *

    { ..., "query_tags": [ { "key": "team", "value": "eng" }, { "key": "some key only tag" } ] } */ @@ -148,50 +163,49 @@ public class ExecuteStatementRequest { private Collection queryTags; /** - * Applies the given row limit to the statement's result set, but unlike the `LIMIT` clause in - * SQL, it also sets the `truncated` field in the response to indicate whether the result was - * trimmed due to the limit or not. + * Applies the given row limit to the statement's result set, but unlike the {@code LIMIT} clause + * in SQL, it also sets the {@code truncated} field in the response to indicate whether the result + * was trimmed due to the limit or not. */ @JsonProperty("row_limit") private Long rowLimit; /** - * Sets default schema for statement execution, similar to [`USE SCHEMA`] in SQL. - * - *

    [`USE SCHEMA`]: - * https://docs.databricks.com/sql/language-manual/sql-ref-syntax-ddl-use-schema.html + * Sets default schema for statement execution, similar to {@code + * USE SCHEMA} in SQL. */ @JsonProperty("schema") private String schema; /** - * The SQL statement to execute. The statement can optionally be parameterized, see `parameters`. - * The maximum query text size is 16 MiB. + * The SQL statement to execute. The statement can optionally be parameterized, see {@code + * parameters}. The maximum query text size is 16 MiB. */ @JsonProperty("statement") private String statement; /** - * The time in seconds the call will wait for the statement's result set as `Ns`, where `N` can be - * set to 0 or to a value between 5 and 50. + * The time in seconds the call will wait for the statement's result set as {@code Ns}, where + * {@code N} can be set to 0 or to a value between 5 and 50. * - *

    When set to `0s`, the statement will execute in asynchronous mode and the call will not wait - * for the execution to finish. In this case, the call returns directly with `PENDING` state and a - * statement ID which can be used for polling with :method:statementexecution/getStatement. + *

    When set to {@code 0s}, the statement will execute in asynchronous mode and the call will + * not wait for the execution to finish. In this case, the call returns directly with {@code + * PENDING} state and a statement ID which can be used for polling with + * :method:statementexecution/getStatement. * *

    When set between 5 and 50 seconds, the call will behave synchronously up to this timeout and * wait for the statement execution to finish. If the execution finishes within this time, the - * call returns immediately with a manifest and result data (or a `FAILED` state in case of an - * execution error). If the statement takes longer to execute, `on_wait_timeout` determines what - * should happen after the timeout is reached. + * call returns immediately with a manifest and result data (or a {@code FAILED} state in case of + * an execution error). If the statement takes longer to execute, {@code on_wait_timeout} + * determines what should happen after the timeout is reached. */ @JsonProperty("wait_timeout") private String waitTimeout; /** - * Warehouse upon which to execute a statement. See also [What are SQL warehouses?] - * - *

    [What are SQL warehouses?]: https://docs.databricks.com/sql/admin/warehouse-type.html + * Warehouse upon which to execute a statement. See also What are SQL warehouses? */ @JsonProperty("warehouse_id") private String warehouseId; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ExecuteStatementRequestOnWaitTimeout.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ExecuteStatementRequestOnWaitTimeout.java index efd826ec6..5d2196875 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ExecuteStatementRequestOnWaitTimeout.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ExecuteStatementRequestOnWaitTimeout.java @@ -5,12 +5,12 @@ import com.databricks.sdk.support.Generated; /** - * When `wait_timeout > 0s`, the call will block up to the specified time. If the statement - * execution doesn't finish within this time, `on_wait_timeout` determines whether the execution - * should continue or be canceled. When set to `CONTINUE`, the statement execution continues - * asynchronously and the call returns a statement ID which can be used for polling with - * :method:statementexecution/getStatement. When set to `CANCEL`, the statement execution is - * canceled and the call returns with a `CANCELED` state. + * When {@code wait_timeout > 0s}, the call will block up to the specified time. If the statement + * execution doesn't finish within this time, {@code on_wait_timeout} determines whether the + * execution should continue or be canceled. When set to {@code CONTINUE}, the statement execution + * continues asynchronously and the call returns a statement ID which can be used for polling with + * :method:statementexecution/getStatement. When set to {@code CANCEL}, the statement execution is + * canceled and the call returns with a {@code CANCELED} state. */ @Generated public enum ExecuteStatementRequestOnWaitTimeout { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ExternalLink.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ExternalLink.java index 569281981..bb1931e5e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ExternalLink.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ExternalLink.java @@ -11,7 +11,7 @@ @Generated public class ExternalLink { /** - * The number of bytes in the result chunk. This field is not available when using `INLINE` + * The number of bytes in the result chunk. This field is not available when using {@code INLINE} * disposition. */ @JsonProperty("byte_count") @@ -23,22 +23,22 @@ public class ExternalLink { /** * Indicates the date-time that the given external link will expire and becomes invalid, after - * which point a new `external_link` must be requested. + * which point a new {@code external_link} must be requested. */ @JsonProperty("expiration") private String expiration; /** * A URL pointing to a chunk of result data, hosted by an external service, with a short - * expiration time (<= 15 minutes). As this URL contains a temporary credential, it should be + * expiration time (<= 15 minutes). As this URL contains a temporary credential, it should be * considered sensitive and the client should not expose this URL in a log. */ @JsonProperty("external_link") private String externalLink; /** - * HTTP headers that must be included with a GET request to the `external_link`. Each header is - * provided as a key-value pair. Headers are typically used to pass a decryption key to the + * HTTP headers that must be included with a GET request to the {@code external_link}. Each header + * is provided as a key-value pair. Headers are typically used to pass a decryption key to the * external service. The values of these headers should be considered sensitive and the client * should not expose these values in a log. */ @@ -46,17 +46,18 @@ public class ExternalLink { private Map httpHeaders; /** - * When fetching, provides the `chunk_index` for the _next_ chunk. If absent, indicates there are - * no more chunks. The next chunk can be fetched with a + * When fetching, provides the {@code chunk_index} for the next chunk. If absent, indicates + * there are no more chunks. The next chunk can be fetched with a * :method:statementexecution/getstatementresultchunkn request. */ @JsonProperty("next_chunk_index") private Long nextChunkIndex; /** - * When fetching, provides a link to fetch the _next_ chunk. If absent, indicates there are no - * more chunks. This link is an absolute `path` to be joined with your `$DATABRICKS_HOST`, and - * should be treated as an opaque link. This is an alternative to using `next_chunk_index`. + * When fetching, provides a link to fetch the next chunk. If absent, indicates there are + * no more chunks. This link is an absolute {@code path} to be joined with your {@code + * $DATABRICKS_HOST}, and should be treated as an opaque link. This is an alternative to using + * {@code next_chunk_index}. */ @JsonProperty("next_chunk_internal_link") private String nextChunkInternalLink; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehouseResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehouseResponse.java index 74bb54bd3..ad65eb02b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehouseResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehouseResponse.java @@ -13,7 +13,12 @@ public class GetWarehouseResponse { * The amount of time in minutes that a SQL warehouse must be idle (i.e., no RUNNING queries) * before it is automatically stopped. * - *

    Supported values: - Must be == 0 or >= 10 mins - 0 indicates no autostop. + *

    Supported values: + * + *

      + *
    • Must be == 0 or >= 10 mins + *
    • 0 indicates no autostop. + *
    * *

    Defaults to 120 mins */ @@ -29,8 +34,20 @@ public class GetWarehouseResponse { * allows you to run larger queries on it. If you want to increase the number of concurrent * queries, please tune max_num_clusters. * - *

    Supported values: - 2X-Small - X-Small - Small - Medium - Large - X-Large - 2X-Large - - * 3X-Large - 4X-Large - 5X-Large + *

    Supported values: + * + *

      + *
    • 2X-Small + *
    • X-Small + *
    • Small + *
    • Medium + *
    • Large + *
    • X-Large + *
    • 2X-Large + *
    • 3X-Large + *
    • 4X-Large + *
    • 5X-Large + *
    */ @JsonProperty("cluster_size") private String clusterSize; @@ -70,7 +87,12 @@ public class GetWarehouseResponse { /** * Maximum number of clusters that the autoscaler will create to handle concurrent queries. * - *

    Supported values: - Must be >= min_num_clusters - Must be <= 40. + *

    Supported values: + * + *

      + *
    • Must be >= min_num_clusters + *
    • Must be <= 40. + *
    * *

    Defaults to min_clusters if unset. */ @@ -83,7 +105,12 @@ public class GetWarehouseResponse { * the cold start time for new queries. This is similar to reserved vs. revocable cores in a * resource manager. * - *

    Supported values: - Must be > 0 - Must be <= min(max_num_clusters, 30) + *

    Supported values: + * + *

      + *
    • Must be > 0 + *
    • Must be <= min(max_num_clusters, 30) + *
    * *

    Defaults to 1 */ @@ -93,7 +120,12 @@ public class GetWarehouseResponse { /** * Logical name for the cluster. * - *

    Supported values: - Must be unique within an org. - Must be less than 100 characters. + *

    Supported values: + * + *

      + *
    • Must be unique within an org. + *
    • Must be less than 100 characters. + *
    */ @JsonProperty("name") private String name; @@ -122,14 +154,18 @@ public class GetWarehouseResponse { * A set of key-value pairs that will be tagged on all resources (e.g., AWS instances and EBS * volumes) associated with this SQL warehouse. * - *

    Supported values: - Number of tags < 45. + *

    Supported values: + * + *

      + *
    • Number of tags < 45. + *
    */ @JsonProperty("tags") private EndpointTags tags; /** - * Warehouse type: `PRO` or `CLASSIC`. If you want to use serverless compute, you must set to - * `PRO` and also set the field `enable_serverless_compute` to `true`. + * Warehouse type: {@code PRO} or {@code CLASSIC}. If you want to use serverless compute, you must + * set to {@code PRO} and also set the field {@code enable_serverless_compute} to {@code true}. */ @JsonProperty("warehouse_type") private GetWarehouseResponseWarehouseType warehouseType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWorkspaceWarehouseConfigResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWorkspaceWarehouseConfigResponse.java index a7d3b787a..3dd7a97bf 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWorkspaceWarehouseConfigResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWorkspaceWarehouseConfigResponse.java @@ -19,8 +19,8 @@ public class GetWorkspaceWarehouseConfigResponse { private RepeatedEndpointConfPairs configParam; /** - * Spark confs for external hive metastore configuration JSON serialized size must be less than <= - * 512K + * Spark confs for external hive metastore configuration JSON serialized size must be less than + * <= 512K */ @JsonProperty("data_access_config") private Collection dataAccessConfig; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/LegacyAlert.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/LegacyAlert.java index ebb5709e2..377a600bf 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/LegacyAlert.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/LegacyAlert.java @@ -39,15 +39,15 @@ public class LegacyAlert { /** * Number of seconds after being triggered before the alert rearms itself and can be triggered - * again. If `null`, alert will never be triggered again. + * again. If {@code null}, alert will never be triggered again. */ @JsonProperty("rearm") private Long rearm; /** - * State of the alert. Possible values are: `unknown` (yet to be evaluated), `triggered` - * (evaluated and fulfilled trigger conditions), or `ok` (evaluated and did not fulfill trigger - * conditions). + * State of the alert. Possible values are: {@code unknown} (yet to be evaluated), {@code + * triggered} (evaluated and fulfilled trigger conditions), or {@code ok} (evaluated and did not + * fulfill trigger conditions). */ @JsonProperty("state") private LegacyAlertState state; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/LegacyQuery.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/LegacyQuery.java index db6b097a6..74c491f6d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/LegacyQuery.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/LegacyQuery.java @@ -20,9 +20,8 @@ public class LegacyQuery { /** * Data source ID maps to the ID of the data source used by the resource and is distinct from the - * warehouse ID. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/api/workspace/datasources/list + * warehouse ID. Learn + * more */ @JsonProperty("data_source_id") private String dataSourceId; @@ -39,8 +38,9 @@ public class LegacyQuery { /** * Indicates whether the query is trashed. Trashed queries can't be used in dashboards, or appear - * in search results. If this boolean is `true`, the `options` property for this query includes a - * `moved_to_trash_at` timestamp. Trashed queries are permanently deleted after 30 days. + * in search results. If this boolean is {@code true}, the {@code options} property for this query + * includes a {@code moved_to_trash_at} timestamp. Trashed queries are permanently deleted after + * 30 days. */ @JsonProperty("is_archived") private Boolean isArchived; @@ -61,8 +61,8 @@ public class LegacyQuery { /** * Text parameter types are not safe from SQL injection for all types of data source. Set this - * Boolean parameter to `true` if a query either does not use any text type parameters or uses a - * data source type where text type parameters are handled safely. + * Boolean parameter to {@code true} if a query either does not use any text type parameters or + * uses a data source type where text type parameters are handled safely. */ @JsonProperty("is_safe") private Boolean isSafe; @@ -95,8 +95,14 @@ public class LegacyQuery { private String parent; /** - * * `CAN_VIEW`: Can view the query * `CAN_RUN`: Can run the query * `CAN_EDIT`: Can edit the - * query * `CAN_MANAGE`: Can manage the query + * + * + *

      + *
    • {@code CAN_VIEW}: Can view the query + *
    • {@code CAN_RUN}: Can run the query + *
    • {@code CAN_EDIT}: Can edit the query + *
    • {@code CAN_MANAGE}: Can manage the query + *
    */ @JsonProperty("permission_tier") private PermissionLevel permissionTier; @@ -110,8 +116,8 @@ public class LegacyQuery { private String queryHash; /** - * Sets the **Run as** role for the object. Must be set to one of `"viewer"` (signifying "run as - * viewer" behavior) or `"owner"` (signifying "run as owner" behavior) + * Sets the Run as role for the object. Must be set to one of {@code "viewer"} (signifying + * "run as viewer" behavior) or {@code "owner"} (signifying "run as owner" behavior) */ @JsonProperty("run_as_role") private RunAsRole runAsRole; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/LegacyVisualization.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/LegacyVisualization.java index 2e8701e6b..afff8eb6d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/LegacyVisualization.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/LegacyVisualization.java @@ -9,7 +9,7 @@ /** * The visualization description API changes frequently and is unsupported. You can duplicate a - * visualization by copying description objects received _from the API_ and then using them to + * visualization by copying description objects received from the API and then using them to * create a new one with a POST request to the same endpoint. Databricks does not recommend * constructing ad-hoc visualizations entirely in JSON. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListAlertsResponseAlert.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListAlertsResponseAlert.java index 9489f808c..d11cf272b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListAlertsResponseAlert.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListAlertsResponseAlert.java @@ -18,18 +18,18 @@ public class ListAlertsResponseAlert { private String createTime; /** - * Custom body of alert notification, if it exists. See [here] for custom templating instructions. - * - *

    [here]: https://docs.databricks.com/sql/user/alerts/index.html + * Custom body of alert notification, if it exists. See here for custom templating + * instructions. */ @JsonProperty("custom_body") private String customBody; /** * Custom subject of alert notification, if it exists. This can include email subject entries and - * Slack notification headers, for example. See [here] for custom templating instructions. - * - *

    [here]: https://docs.databricks.com/sql/user/alerts/index.html + * Slack notification headers, for example. See here for custom templating + * instructions. */ @JsonProperty("custom_subject") private String customSubject; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListDefaultWarehouseOverridesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListDefaultWarehouseOverridesRequest.java index 43b85aaef..beecf75ba 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListDefaultWarehouseOverridesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListDefaultWarehouseOverridesRequest.java @@ -20,11 +20,11 @@ public class ListDefaultWarehouseOverridesRequest { private Long pageSize; /** - * A page token, received from a previous `ListDefaultWarehouseOverrides` call. Provide this to - * retrieve the subsequent page. + * A page token, received from a previous {@code ListDefaultWarehouseOverrides} call. Provide this + * to retrieve the subsequent page. * - *

    When paginating, all other parameters provided to `ListDefaultWarehouseOverrides` must match - * the call that provided the page token. + *

    When paginating, all other parameters provided to {@code ListDefaultWarehouseOverrides} must + * match the call that provided the page token. */ @JsonIgnore @QueryParam("page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListDefaultWarehouseOverridesResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListDefaultWarehouseOverridesResponse.java index 95815a6ad..c2d15fe84 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListDefaultWarehouseOverridesResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListDefaultWarehouseOverridesResponse.java @@ -16,8 +16,8 @@ public class ListDefaultWarehouseOverridesResponse { private Collection defaultWarehouseOverrides; /** - * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, - * there are no subsequent pages. + * A token, which can be sent as {@code page_token} to retrieve the next page. If this field is + * omitted, there are no subsequent pages. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueriesLegacyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueriesLegacyRequest.java index 37647f303..df80c3bc2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueriesLegacyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueriesLegacyRequest.java @@ -11,19 +11,17 @@ @Generated public class ListQueriesLegacyRequest { /** - * Name of query attribute to order by. Default sort order is ascending. Append a dash (`-`) to - * order descending instead. + * Name of query attribute to order by. Default sort order is ascending. Append a dash ({@code -}) + * to order descending instead. * - *

    - `name`: The name of the query. - * - *

    - `created_at`: The timestamp the query was created. - * - *

    - `runtime`: The time it took to run this query. This is blank for parameterized queries. A - * blank value is treated as the highest value for sorting. - * - *

    - `executed_at`: The timestamp when the query was last run. - * - *

    - `created_by`: The user name of the user that created the query. + *

      + *
    • {@code name}: The name of the query. + *
    • {@code created_at}: The timestamp the query was created. + *
    • {@code runtime}: The time it took to run this query. This is blank for parameterized + * queries. A blank value is treated as the highest value for sorting. + *
    • {@code executed_at}: The timestamp when the query was last run. + *
    • {@code created_by}: The user name of the user that created the query. + *
    */ @JsonIgnore @QueryParam("order") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueryHistoryRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueryHistoryRequest.java index 8c0e7286d..5d3dbf69b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueryHistoryRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListQueryHistoryRequest.java @@ -13,7 +13,7 @@ public class ListQueryHistoryRequest { /** * An optional filter object to limit query history results. Accepts parameters such as user IDs, * endpoint IDs, and statuses to narrow the returned data. In a URL, the parameters of this filter - * are specified with dot notation. For example: `filter_by.statement_ids`. + * are specified with dot notation. For example: {@code filter_by.statement_ids}. */ @JsonIgnore @QueryParam("filter_by") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListWarehousesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListWarehousesRequest.java index a71b19a9e..446661ca4 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListWarehousesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListWarehousesRequest.java @@ -16,11 +16,11 @@ public class ListWarehousesRequest { private Long pageSize; /** - * A page token, received from a previous `ListWarehouses` call. Provide this to retrieve the - * subsequent page; otherwise the first will be retrieved. + * A page token, received from a previous {@code ListWarehouses} call. Provide this to retrieve + * the subsequent page; otherwise the first will be retrieved. * - *

    When paginating, all other parameters provided to `ListWarehouses` must match the call that - * provided the page token. + *

    When paginating, all other parameters provided to {@code ListWarehouses} must match the call + * that provided the page token. */ @JsonIgnore @QueryParam("page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListWarehousesResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListWarehousesResponse.java index 8f2aed6f3..69ec0f00f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListWarehousesResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ListWarehousesResponse.java @@ -11,8 +11,8 @@ @Generated public class ListWarehousesResponse { /** - * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, - * there are no subsequent pages. + * A token, which can be sent as {@code page_token} to retrieve the next page. If this field is + * omitted, there are no subsequent pages. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/PermissionLevel.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/PermissionLevel.java index 090131c5d..19979bd7f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/PermissionLevel.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/PermissionLevel.java @@ -5,8 +5,14 @@ import com.databricks.sdk.support.Generated; /** - * * `CAN_VIEW`: Can view the query * `CAN_RUN`: Can run the query * `CAN_EDIT`: Can edit the query - * * `CAN_MANAGE`: Can manage the query + * + * + *

      + *
    • {@code CAN_VIEW}: Can view the query + *
    • {@code CAN_RUN}: Can run the query + *
    • {@code CAN_EDIT}: Can edit the query + *
    • {@code CAN_MANAGE}: Can manage the query + *
    */ @Generated public enum PermissionLevel { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesAPI.java index f44bdee1d..e21505abb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesAPI.java @@ -10,7 +10,7 @@ /** * The queries API can be used to perform CRUD operations on queries. A query is a Databricks SQL * object that includes the target SQL warehouse, query text, name, description, tags, and - * parameters. Queries can be scheduled using the `sql_task` type of the Jobs API, e.g. + * parameters. Queries can be scheduled using the {@code sql_task} type of the Jobs API, e.g. * :method:jobs/create. */ @Generated @@ -57,9 +57,9 @@ public Query get(GetQueryRequest request) { } /** - * Gets a list of queries accessible to the user, ordered by creation time. **Warning:** Calling - * this API concurrently 10 or more times could result in throttling, service degradation, or a - * temporary ban. + * Gets a list of queries accessible to the user, ordered by creation time. Warning: + * Calling this API concurrently 10 or more times could result in throttling, service degradation, + * or a temporary ban. */ public Iterable list(ListQueriesRequest request) { return Paginator.newTokenPagination( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesLegacyAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesLegacyAPI.java index 61854673c..1ae3d3d94 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesLegacyAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesLegacyAPI.java @@ -10,12 +10,11 @@ /** * These endpoints are used for CRUD operations on query definitions. Query definitions include the * target SQL warehouse, query text, name, description, tags, parameters, and visualizations. - * Queries can be scheduled using the `sql_task` type of the Jobs API, e.g. :method:jobs/create. + * Queries can be scheduled using the {@code sql_task} type of the Jobs API, e.g. + * :method:jobs/create. * - *

    **Warning**: This API is deprecated. Please see the latest version of the Databricks SQL API. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please see the latest version of the Databricks SQL + * API. Learn more */ @Generated public class QueriesLegacyAPI { @@ -37,15 +36,14 @@ public QueriesLegacyAPI(QueriesLegacyService mock) { * Creates a new query definition. Queries created with this endpoint belong to the authenticated * user making the request. * - *

    The `data_source_id` field specifies the ID of the SQL warehouse to run this query against. - * You can use the Data Sources API to see a complete list of available SQL warehouses. Or you can - * copy the `data_source_id` from an existing query. - * - *

    **Note**: You cannot add a visualization until you create the query. + *

    The {@code data_source_id} field specifies the ID of the SQL warehouse to run this query + * against. You can use the Data Sources API to see a complete list of available SQL warehouses. + * Or you can copy the {@code data_source_id} from an existing query. * - *

    **Warning**: This API is deprecated. Please use :method:queries/create instead. [Learn more] + *

    Note: You cannot add a visualization until you create the query. * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:queries/create instead. Learn more */ public LegacyQuery create(QueryPostContent request) { return impl.create(request); @@ -59,9 +57,8 @@ public void delete(String queryId) { * Moves a query to the trash. Trashed queries immediately disappear from searches and list views, * and they cannot be used for alerts. The trash is deleted after 30 days. * - *

    **Warning**: This API is deprecated. Please use :method:queries/delete instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:queries/delete instead. Learn more */ public void delete(DeleteQueriesLegacyRequest request) { impl.delete(request); @@ -75,9 +72,8 @@ public LegacyQuery get(String queryId) { * Retrieve a query object definition along with contextual permissions information about the * currently authenticated user. * - *

    **Warning**: This API is deprecated. Please use :method:queries/get instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:queries/get instead. Learn more */ public LegacyQuery get(GetQueriesLegacyRequest request) { return impl.get(request); @@ -86,12 +82,11 @@ public LegacyQuery get(GetQueriesLegacyRequest request) { /** * Gets a list of queries. Optionally, this list can be filtered by a search term. * - *

    **Warning**: Calling this API concurrently 10 or more times could result in throttling, + *

    Warning: Calling this API concurrently 10 or more times could result in throttling, * service degradation, or a temporary ban. * - *

    **Warning**: This API is deprecated. Please use :method:queries/list instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:queries/list instead. Learn more */ public Iterable list(ListQueriesLegacyRequest request) { request.setPage(1L); @@ -112,9 +107,8 @@ public Iterable list(ListQueriesLegacyRequest request) { * Restore a query that has been moved to the trash. A restored query appears in list views and * searches. You can use restored queries for alerts. * - *

    **Warning**: This API is deprecated. Please see the latest version. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please see the latest version. Learn more */ public void restore(RestoreQueriesLegacyRequest request) { impl.restore(request); @@ -123,11 +117,10 @@ public void restore(RestoreQueriesLegacyRequest request) { /** * Modify this query definition. * - *

    **Note**: You cannot undo this operation. - * - *

    **Warning**: This API is deprecated. Please use :method:queries/update instead. [Learn more] + *

    Note: You cannot undo this operation. * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:queries/update instead. Learn more */ public LegacyQuery update(QueryEditContent request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesLegacyService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesLegacyService.java index 67bd164b3..75c30f624 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesLegacyService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesLegacyService.java @@ -6,12 +6,11 @@ /** * These endpoints are used for CRUD operations on query definitions. Query definitions include the * target SQL warehouse, query text, name, description, tags, parameters, and visualizations. - * Queries can be scheduled using the `sql_task` type of the Jobs API, e.g. :method:jobs/create. + * Queries can be scheduled using the {@code sql_task} type of the Jobs API, e.g. + * :method:jobs/create. * - *

    **Warning**: This API is deprecated. Please see the latest version of the Databricks SQL API. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please see the latest version of the Databricks SQL + * API. Learn more * *

    This is the high-level interface, that contains generated methods. * @@ -23,15 +22,14 @@ public interface QueriesLegacyService { * Creates a new query definition. Queries created with this endpoint belong to the authenticated * user making the request. * - *

    The `data_source_id` field specifies the ID of the SQL warehouse to run this query against. - * You can use the Data Sources API to see a complete list of available SQL warehouses. Or you can - * copy the `data_source_id` from an existing query. - * - *

    **Note**: You cannot add a visualization until you create the query. + *

    The {@code data_source_id} field specifies the ID of the SQL warehouse to run this query + * against. You can use the Data Sources API to see a complete list of available SQL warehouses. + * Or you can copy the {@code data_source_id} from an existing query. * - *

    **Warning**: This API is deprecated. Please use :method:queries/create instead. [Learn more] + *

    Note: You cannot add a visualization until you create the query. * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:queries/create instead. Learn more */ LegacyQuery create(QueryPostContent queryPostContent); @@ -39,9 +37,8 @@ public interface QueriesLegacyService { * Moves a query to the trash. Trashed queries immediately disappear from searches and list views, * and they cannot be used for alerts. The trash is deleted after 30 days. * - *

    **Warning**: This API is deprecated. Please use :method:queries/delete instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:queries/delete instead. Learn more */ void delete(DeleteQueriesLegacyRequest deleteQueriesLegacyRequest); @@ -49,21 +46,19 @@ public interface QueriesLegacyService { * Retrieve a query object definition along with contextual permissions information about the * currently authenticated user. * - *

    **Warning**: This API is deprecated. Please use :method:queries/get instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:queries/get instead. Learn more */ LegacyQuery get(GetQueriesLegacyRequest getQueriesLegacyRequest); /** * Gets a list of queries. Optionally, this list can be filtered by a search term. * - *

    **Warning**: Calling this API concurrently 10 or more times could result in throttling, + *

    Warning: Calling this API concurrently 10 or more times could result in throttling, * service degradation, or a temporary ban. * - *

    **Warning**: This API is deprecated. Please use :method:queries/list instead. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:queries/list instead. Learn more */ QueryList list(ListQueriesLegacyRequest listQueriesLegacyRequest); @@ -71,20 +66,18 @@ public interface QueriesLegacyService { * Restore a query that has been moved to the trash. A restored query appears in list views and * searches. You can use restored queries for alerts. * - *

    **Warning**: This API is deprecated. Please see the latest version. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please see the latest version. Learn more */ void restore(RestoreQueriesLegacyRequest restoreQueriesLegacyRequest); /** * Modify this query definition. * - *

    **Note**: You cannot undo this operation. - * - *

    **Warning**: This API is deprecated. Please use :method:queries/update instead. [Learn more] + *

    Note: You cannot undo this operation. * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:queries/update instead. Learn more */ LegacyQuery update(QueryEditContent queryEditContent); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesService.java index 7e2bb0b9b..567b3508f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueriesService.java @@ -6,7 +6,7 @@ /** * The queries API can be used to perform CRUD operations on queries. A query is a Databricks SQL * object that includes the target SQL warehouse, query text, name, description, tags, and - * parameters. Queries can be scheduled using the `sql_task` type of the Jobs API, e.g. + * parameters. Queries can be scheduled using the {@code sql_task} type of the Jobs API, e.g. * :method:jobs/create. * *

    This is the high-level interface, that contains generated methods. @@ -29,9 +29,9 @@ public interface QueriesService { Query get(GetQueryRequest getQueryRequest); /** - * Gets a list of queries accessible to the user, ordered by creation time. **Warning:** Calling - * this API concurrently 10 or more times could result in throttling, service degradation, or a - * temporary ban. + * Gets a list of queries accessible to the user, ordered by creation time. Warning: + * Calling this API concurrently 10 or more times could result in throttling, service degradation, + * or a temporary ban. */ ListQueryObjectsResponse list(ListQueriesRequest listQueriesRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryEditContent.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryEditContent.java index 254467ce5..a067e6d01 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryEditContent.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryEditContent.java @@ -13,9 +13,8 @@ public class QueryEditContent { /** * Data source ID maps to the ID of the data source used by the resource and is distinct from the - * warehouse ID. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/api/workspace/datasources/list + * warehouse ID. Learn + * more */ @JsonProperty("data_source_id") private String dataSourceId; @@ -31,9 +30,9 @@ public class QueryEditContent { private String name; /** - * Exclusively used for storing a list parameter definitions. A parameter is an object with - * `title`, `name`, `type`, and `value` properties. The `value` field here is the default value. - * It can be overridden at runtime. + * Exclusively used for storing a list parameter definitions. A parameter is an object with {@code + * title}, {@code name}, {@code type}, and {@code value} properties. The {@code value} field here + * is the default value. It can be overridden at runtime. */ @JsonProperty("options") private Object options; @@ -46,8 +45,8 @@ public class QueryEditContent { @JsonIgnore private String queryId; /** - * Sets the **Run as** role for the object. Must be set to one of `"viewer"` (signifying "run as - * viewer" behavior) or `"owner"` (signifying "run as owner" behavior) + * Sets the Run as role for the object. Must be set to one of {@code "viewer"} (signifying + * "run as viewer" behavior) or {@code "owner"} (signifying "run as owner" behavior) */ @JsonProperty("run_as_role") private RunAsRole runAsRole; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryFilter.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryFilter.java index 4ea2e39e3..3ce9617b6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryFilter.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryFilter.java @@ -25,7 +25,7 @@ public class QueryFilter { /** * A list of statuses (QUEUED, RUNNING, CANCELED, FAILED, FINISHED) to match query results. - * Corresponds to the `status` field in the response. Filtering for multiple statuses is not + * Corresponds to the {@code status} field in the response. Filtering for multiple statuses is not * recommended. Instead, opt to filter by a single status multiple times and then combine the * results. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryInfo.java index 3b693ea9d..a3420226d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryInfo.java @@ -34,7 +34,7 @@ public class QueryInfo { @JsonProperty("duration") private Long duration; - /** Alias for `warehouse_id`. */ + /** Alias for {@code warehouse_id}. */ @JsonProperty("endpoint_id") private String endpointId; @@ -120,9 +120,13 @@ public class QueryInfo { /** * Query status with one the following values: * - *

    - `QUEUED`: Query has been received and queued. - `RUNNING`: Query has started. - - * `CANCELED`: Query has been cancelled by the user. - `FAILED`: Query has failed. - `FINISHED`: - * Query has completed. + *

      + *
    • {@code QUEUED}: Query has been received and queued. + *
    • {@code RUNNING}: Query has started. + *
    • {@code CANCELED}: Query has been cancelled by the user. + *
    • {@code FAILED}: Query has failed. + *
    • {@code FINISHED}: Query has completed. + *
    */ @JsonProperty("status") private QueryStatus status; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryMetrics.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryMetrics.java index 2030d9210..27eaead77 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryMetrics.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryMetrics.java @@ -107,7 +107,7 @@ public class QueryMetrics { @JsonProperty("result_fetch_time_ms") private Long resultFetchTimeMs; - /** `true` if the query result was fetched from cache, `false` otherwise. */ + /** {@code true} if the query result was fetched from cache, {@code false} otherwise. */ @JsonProperty("result_from_cache") private Boolean resultFromCache; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryOptions.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryOptions.java index 92553c026..c559ed6e1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryOptions.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryOptions.java @@ -15,8 +15,8 @@ public class QueryOptions { private String catalog; /** - * The timestamp when this query was moved to trash. Only present when the `is_archived` property - * is `true`. Trashed items are deleted after thirty days. + * The timestamp when this query was moved to trash. Only present when the {@code is_archived} + * property is {@code true}. Trashed items are deleted after thirty days. */ @JsonProperty("moved_to_trash_at") private String movedToTrashAt; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryParameter.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryParameter.java index d6ea41be6..8f1f75513 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryParameter.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryParameter.java @@ -10,13 +10,16 @@ @Generated public class QueryParameter { /** - * Date-range query parameter value. Can only specify one of `dynamic_date_range_value` or - * `date_range_value`. + * Date-range query parameter value. Can only specify one of {@code dynamic_date_range_value} or + * {@code date_range_value}. */ @JsonProperty("date_range_value") private DateRangeValue dateRangeValue; - /** Date query parameter value. Can only specify one of `dynamic_date_value` or `date_value`. */ + /** + * Date query parameter value. Can only specify one of {@code dynamic_date_value} or {@code + * date_value}. + */ @JsonProperty("date_value") private DateValue dateValue; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryPostContent.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryPostContent.java index fbc1aedcb..afa1cc1bc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryPostContent.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryPostContent.java @@ -12,9 +12,8 @@ public class QueryPostContent { /** * Data source ID maps to the ID of the data source used by the resource and is distinct from the - * warehouse ID. [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/api/workspace/datasources/list + * warehouse ID. Learn + * more */ @JsonProperty("data_source_id") private String dataSourceId; @@ -30,9 +29,9 @@ public class QueryPostContent { private String name; /** - * Exclusively used for storing a list parameter definitions. A parameter is an object with - * `title`, `name`, `type`, and `value` properties. The `value` field here is the default value. - * It can be overridden at runtime. + * Exclusively used for storing a list parameter definitions. A parameter is an object with {@code + * title}, {@code name}, {@code type}, and {@code value} properties. The {@code value} field here + * is the default value. It can be overridden at runtime. */ @JsonProperty("options") private Object options; @@ -46,8 +45,8 @@ public class QueryPostContent { private String query; /** - * Sets the **Run as** role for the object. Must be set to one of `"viewer"` (signifying "run as - * viewer" behavior) or `"owner"` (signifying "run as owner" behavior) + * Sets the Run as role for the object. Must be set to one of {@code "viewer"} (signifying + * "run as viewer" behavior) or {@code "owner"} (signifying "run as owner" behavior) */ @JsonProperty("run_as_role") private RunAsRole runAsRole; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryTag.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryTag.java index bf5c34bcd..aad49cc33 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryTag.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryTag.java @@ -8,9 +8,13 @@ import java.util.Objects; /** - * * A query execution can be annotated with an optional key-value pair to allow users to attribute - * the executions by key and optional value to filter by. QueryTag is the user-facing - * representation. + * + * + *

      + *
    • A query execution can be annotated with an optional key-value pair to allow users to + * attribute the executions by key and optional value to filter by. QueryTag is the + * user-facing representation. + *
    */ @Generated public class QueryTag { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsLegacyAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsLegacyAPI.java index c0bdbaa7d..d52900d3c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsLegacyAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsLegacyAPI.java @@ -10,10 +10,8 @@ * This is an evolving API that facilitates the addition and removal of vizualisations from existing * queries within the Databricks Workspace. Data structures may change over time. * - *

    **Warning**: This API is deprecated. Please see the latest version of the Databricks SQL API. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please see the latest version of the Databricks SQL + * API. Learn more */ @Generated public class QueryVisualizationsLegacyAPI { @@ -34,10 +32,8 @@ public QueryVisualizationsLegacyAPI(QueryVisualizationsLegacyService mock) { /** * Creates visualization in the query. * - *

    **Warning**: This API is deprecated. Please use :method:queryvisualizations/create instead. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:queryvisualizations/create + * instead. Learn more */ public LegacyVisualization create(CreateQueryVisualizationsLegacyRequest request) { return impl.create(request); @@ -50,10 +46,8 @@ public void delete(String id) { /** * Removes a visualization from the query. * - *

    **Warning**: This API is deprecated. Please use :method:queryvisualizations/delete instead. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:queryvisualizations/delete + * instead. Learn more */ public void delete(DeleteQueryVisualizationsLegacyRequest request) { impl.delete(request); @@ -62,10 +56,8 @@ public void delete(DeleteQueryVisualizationsLegacyRequest request) { /** * Updates visualization in the query. * - *

    **Warning**: This API is deprecated. Please use :method:queryvisualizations/update instead. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:queryvisualizations/update + * instead. Learn more */ public LegacyVisualization update(LegacyVisualization request) { return impl.update(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsLegacyService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsLegacyService.java index 920dac621..eecd31c86 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsLegacyService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/QueryVisualizationsLegacyService.java @@ -7,10 +7,8 @@ * This is an evolving API that facilitates the addition and removal of vizualisations from existing * queries within the Databricks Workspace. Data structures may change over time. * - *

    **Warning**: This API is deprecated. Please see the latest version of the Databricks SQL API. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please see the latest version of the Databricks SQL + * API. Learn more * *

    This is the high-level interface, that contains generated methods. * @@ -21,10 +19,8 @@ public interface QueryVisualizationsLegacyService { /** * Creates visualization in the query. * - *

    **Warning**: This API is deprecated. Please use :method:queryvisualizations/create instead. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:queryvisualizations/create + * instead. Learn more */ LegacyVisualization create( CreateQueryVisualizationsLegacyRequest createQueryVisualizationsLegacyRequest); @@ -32,20 +28,16 @@ LegacyVisualization create( /** * Removes a visualization from the query. * - *

    **Warning**: This API is deprecated. Please use :method:queryvisualizations/delete instead. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:queryvisualizations/delete + * instead. Learn more */ void delete(DeleteQueryVisualizationsLegacyRequest deleteQueryVisualizationsLegacyRequest); /** * Updates visualization in the query. * - *

    **Warning**: This API is deprecated. Please use :method:queryvisualizations/update instead. - * [Learn more] - * - *

    [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html + *

    Warning: This API is deprecated. Please use :method:queryvisualizations/update + * instead. Learn more */ LegacyVisualization update(LegacyVisualization legacyVisualization); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ResultData.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ResultData.java index 217e370f9..d2e205d1f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ResultData.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ResultData.java @@ -9,16 +9,16 @@ import java.util.Objects; /** - * Contains the result data of a single chunk when using `INLINE` disposition. When using - * `EXTERNAL_LINKS` disposition, the array `external_links` is used instead to provide URLs to the - * result data in cloud storage. Exactly one of these alternatives is used. (While the - * `external_links` array prepares the API to return multiple links in a single response. Currently - * only a single link is returned.) + * Contains the result data of a single chunk when using {@code INLINE} disposition. When using + * {@code EXTERNAL_LINKS} disposition, the array {@code external_links} is used instead to provide + * URLs to the result data in cloud storage. Exactly one of these alternatives is used. (While the + * {@code external_links} array prepares the API to return multiple links in a single response. + * Currently only a single link is returned.) */ @Generated public class ResultData { /** - * The number of bytes in the result chunk. This field is not available when using `INLINE` + * The number of bytes in the result chunk. This field is not available when using {@code INLINE} * disposition. */ @JsonProperty("byte_count") @@ -29,8 +29,8 @@ public class ResultData { private Long chunkIndex; /** - * The `JSON_ARRAY` format is an array of arrays of values, where each non-null value is formatted - * as a string. Null values are encoded as JSON `null`. + * The {@code JSON_ARRAY} format is an array of arrays of values, where each non-null value is + * formatted as a string. Null values are encoded as JSON {@code null}. */ @JsonProperty("data_array") private Collection> dataArray; @@ -40,17 +40,18 @@ public class ResultData { private Collection externalLinks; /** - * When fetching, provides the `chunk_index` for the _next_ chunk. If absent, indicates there are - * no more chunks. The next chunk can be fetched with a + * When fetching, provides the {@code chunk_index} for the next chunk. If absent, indicates + * there are no more chunks. The next chunk can be fetched with a * :method:statementexecution/getstatementresultchunkn request. */ @JsonProperty("next_chunk_index") private Long nextChunkIndex; /** - * When fetching, provides a link to fetch the _next_ chunk. If absent, indicates there are no - * more chunks. This link is an absolute `path` to be joined with your `$DATABRICKS_HOST`, and - * should be treated as an opaque link. This is an alternative to using `next_chunk_index`. + * When fetching, provides a link to fetch the next chunk. If absent, indicates there are + * no more chunks. This link is an absolute {@code path} to be joined with your {@code + * $DATABRICKS_HOST}, and should be treated as an opaque link. This is an alternative to using + * {@code next_chunk_index}. */ @JsonProperty("next_chunk_internal_link") private String nextChunkInternalLink; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ResultManifest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ResultManifest.java index 14c187208..e4bedc99c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ResultManifest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/ResultManifest.java @@ -24,8 +24,8 @@ public class ResultManifest { private ResultSchema schema; /** - * The total number of bytes in the result set. This field is not available when using `INLINE` - * disposition. + * The total number of bytes in the result set. This field is not available when using {@code + * INLINE} disposition. */ @JsonProperty("total_byte_count") private Long totalByteCount; @@ -38,7 +38,7 @@ public class ResultManifest { @JsonProperty("total_row_count") private Long totalRowCount; - /** Indicates whether the result is truncated due to `row_limit` or `byte_limit`. */ + /** Indicates whether the result is truncated due to {@code row_limit} or {@code byte_limit}. */ @JsonProperty("truncated") private Boolean truncated; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/SetWorkspaceWarehouseConfigRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/SetWorkspaceWarehouseConfigRequest.java index b2018a461..c7bccd573 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/SetWorkspaceWarehouseConfigRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/SetWorkspaceWarehouseConfigRequest.java @@ -25,8 +25,8 @@ public class SetWorkspaceWarehouseConfigRequest { private RepeatedEndpointConfPairs configParam; /** - * Spark confs for external hive metastore configuration JSON serialized size must be less than <= - * 512K + * Spark confs for external hive metastore configuration JSON serialized size must be less than + * <= 512K */ @JsonProperty("data_access_config") private Collection dataAccessConfig; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/State.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/State.java index c6f05715e..60cccc533 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/State.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/State.java @@ -4,7 +4,7 @@ import com.databricks.sdk.support.Generated; -/** * State of a warehouse. */ +/** State of a warehouse. */ @Generated public enum State { DELETED, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementExecutionAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementExecutionAPI.java index 64b6cc588..2b255a584 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementExecutionAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementExecutionAPI.java @@ -10,11 +10,13 @@ * The Databricks SQL Statement Execution API can be used to execute SQL statements on a SQL * warehouse and fetch the result. * - *

    **Getting started** + *

    Getting started * - *

    We suggest beginning with the [Databricks SQL Statement Execution API tutorial]. + *

    We suggest beginning with the Databricks SQL Statement + * Execution API tutorial. * - *

    **Overview of statement execution and result fetching** + *

    Overview of statement execution and result fetching * *

    Statement execution begins by issuing a :method:statementexecution/executeStatement request * with a valid SQL statement and warehouse ID, along with optional parameters such as the data @@ -25,77 +27,90 @@ * used to poll for results by using a :method:statementexecution/getStatement request. * *

    You can specify whether the call should behave synchronously, asynchronously or start - * synchronously with a fallback to asynchronous execution. This is controlled with the - * `wait_timeout` and `on_wait_timeout` settings. If `wait_timeout` is set between 5-50 seconds - * (default: 10s), the call waits for results up to the specified timeout; when set to `0s`, the - * call is asynchronous and responds immediately with a statement ID. The `on_wait_timeout` setting - * specifies what should happen when the timeout is reached while the statement execution has not - * yet finished. This can be set to either `CONTINUE`, to fallback to asynchronous mode, or it can - * be set to `CANCEL`, which cancels the statement. - * - *

    In summary: - **Synchronous mode** (`wait_timeout=30s` and `on_wait_timeout=CANCEL`): The call - * waits up to 30 seconds; if the statement execution finishes within this time, the result data is - * returned directly in the response. If the execution takes longer than 30 seconds, the execution - * is canceled and the call returns with a `CANCELED` state. - **Asynchronous mode** - * (`wait_timeout=0s` and `on_wait_timeout` is ignored): The call doesn't wait for the statement to - * finish but returns directly with a statement ID. The status of the statement execution can be - * polled by issuing :method:statementexecution/getStatement with the statement ID. Once the - * execution has succeeded, this call also returns the result and metadata in the response. - - * **[Default] Hybrid mode** (`wait_timeout=10s` and `on_wait_timeout=CONTINUE`): The call waits for - * up to 10 seconds; if the statement execution finishes within this time, the result data is - * returned directly in the response. If the execution takes longer than 10 seconds, a statement ID - * is returned. The statement ID can be used to fetch status and results in the same way as in the - * asynchronous mode. + * synchronously with a fallback to asynchronous execution. This is controlled with the {@code + * wait_timeout} and {@code on_wait_timeout} settings. If {@code wait_timeout} is set between 5-50 + * seconds (default: 10s), the call waits for results up to the specified timeout; when set to + * {@code 0s}, the call is asynchronous and responds immediately with a statement ID. The {@code + * on_wait_timeout} setting specifies what should happen when the timeout is reached while the + * statement execution has not yet finished. This can be set to either {@code CONTINUE}, to fallback + * to asynchronous mode, or it can be set to {@code CANCEL}, which cancels the statement. + * + *

    In summary: + * + *

      + *
    • Synchronous mode ({@code wait_timeout=30s} and {@code on_wait_timeout=CANCEL}): The + * call waits up to 30 seconds; if the statement execution finishes within this time, the + * result data is returned directly in the response. If the execution takes longer than 30 + * seconds, the execution is canceled and the call returns with a {@code CANCELED} state. + *
    • Asynchronous mode ({@code wait_timeout=0s} and {@code on_wait_timeout} is ignored): + * The call doesn't wait for the statement to finish but returns directly with a statement ID. + * The status of the statement execution can be polled by issuing + * :method:statementexecution/getStatement with the statement ID. Once the execution has + * succeeded, this call also returns the result and metadata in the response. + *
    • [Default] Hybrid mode ({@code wait_timeout=10s} and {@code + * on_wait_timeout=CONTINUE}): The call waits for up to 10 seconds; if the statement execution + * finishes within this time, the result data is returned directly in the response. If the + * execution takes longer than 10 seconds, a statement ID is returned. The statement ID can be + * used to fetch status and results in the same way as in the asynchronous mode. + *
    * *

    Depending on the size, the result can be split into multiple chunks. If the statement * execution is successful, the statement response contains a manifest and the first chunk of the * result. The manifest contains schema information and provides metadata for each chunk in the * result. Result chunks can be retrieved by index with * :method:statementexecution/getStatementResultChunkN which may be called in any order and in - * parallel. For sequential fetching, each chunk, apart from the last, also contains a - * `next_chunk_index` and `next_chunk_internal_link` that point to the next chunk. + * parallel. For sequential fetching, each chunk, apart from the last, also contains a {@code + * next_chunk_index} and {@code next_chunk_internal_link} that point to the next chunk. * *

    A statement can be canceled with :method:statementexecution/cancelExecution. * - *

    **Fetching result data: format and disposition** + *

    Fetching result data: format and disposition * - *

    To specify the format of the result data, use the `format` field, which can be set to one of - * the following options: `JSON_ARRAY` (JSON), `ARROW_STREAM` ([Apache Arrow Columnar]), or `CSV`. + *

    To specify the format of the result data, use the {@code format} field, which can be set to + * one of the following options: {@code JSON_ARRAY} (JSON), {@code ARROW_STREAM} (Apache Arrow Columnar), or {@code CSV}. * - *

    There are two ways to receive statement results, controlled by the `disposition` setting, - * which can be either `INLINE` or `EXTERNAL_LINKS`: + *

    There are two ways to receive statement results, controlled by the {@code disposition} + * setting, which can be either {@code INLINE} or {@code EXTERNAL_LINKS}: * - *

    - `INLINE`: In this mode, the result data is directly included in the response. It's best - * suited for smaller results. This mode can only be used with the `JSON_ARRAY` format. + *

      + *
    • {@code INLINE}: In this mode, the result data is directly included in the response. It's + * best suited for smaller results. This mode can only be used with the {@code JSON_ARRAY} + * format. + *
    • {@code EXTERNAL_LINKS}: In this mode, the response provides links that can be used to + * download the result data in chunks separately. This approach is ideal for larger results + * and offers higher throughput. This mode can be used with all the formats: {@code + * JSON_ARRAY}, {@code ARROW_STREAM}, and {@code CSV}. + *
    * - *

    - `EXTERNAL_LINKS`: In this mode, the response provides links that can be used to download the - * result data in chunks separately. This approach is ideal for larger results and offers higher - * throughput. This mode can be used with all the formats: `JSON_ARRAY`, `ARROW_STREAM`, and `CSV`. + *

    By default, the API uses {@code format=JSON_ARRAY} and {@code disposition=INLINE}. * - *

    By default, the API uses `format=JSON_ARRAY` and `disposition=INLINE`. - * - *

    **Limits and limitations** + *

    Limits and limitations * *

    Note: The byte limit for INLINE disposition is based on internal storage metrics and will not * exactly match the byte count of the actual payload. * - *

    - Statements with `disposition=INLINE` are limited to 25 MiB and will fail when this limit is - * exceeded. - Statements with `disposition=EXTERNAL_LINKS` are limited to 100 GiB. Result sets - * larger than this limit will be truncated. Truncation is indicated by the `truncated` field in the - * result manifest. - The maximum query text size is 16 MiB. - Cancelation might silently fail. A - * successful response from a cancel request indicates that the cancel request was successfully - * received and sent to the processing engine. However, an outstanding statement might have already - * completed execution when the cancel request arrives. Polling for status until a terminal state is - * reached is a reliable way to determine the final state. - Wait timeouts are approximate, occur - * server-side, and cannot account for things such as caller delays and network latency from caller - * to service. - To guarantee that the statement is kept alive, you must poll at least once every 15 - * minutes. - The results are only available for one hour after success; polling does not extend - * this. - The SQL Execution API must be used for the entire lifecycle of the statement. For - * example, you cannot use the Jobs API to execute the command, and then the SQL Execution API to - * cancel it. - * - *

    [Apache Arrow Columnar]: https://arrow.apache.org/overview/ [Databricks SQL Statement - * Execution API tutorial]: https://docs.databricks.com/sql/api/sql-execution-tutorial.html + *

      + *
    • Statements with {@code disposition=INLINE} are limited to 25 MiB and will fail when this + * limit is exceeded. + *
    • Statements with {@code disposition=EXTERNAL_LINKS} are limited to 100 GiB. Result sets + * larger than this limit will be truncated. Truncation is indicated by the {@code truncated} + * field in the result manifest. + *
    • The maximum query text size is 16 MiB. + *
    • Cancelation might silently fail. A successful response from a cancel request indicates that + * the cancel request was successfully received and sent to the processing engine. However, an + * outstanding statement might have already completed execution when the cancel request + * arrives. Polling for status until a terminal state is reached is a reliable way to + * determine the final state. + *
    • Wait timeouts are approximate, occur server-side, and cannot account for things such as + * caller delays and network latency from caller to service. + *
    • To guarantee that the statement is kept alive, you must poll at least once every 15 + * minutes. + *
    • The results are only available for one hour after success; polling does not extend this. + *
    • The SQL Execution API must be used for the entire lifecycle of the statement. For example, + * you cannot use the Jobs API to execute the command, and then the SQL Execution API to + * cancel it. + *
    */ @Generated public class StatementExecutionAPI { @@ -124,51 +139,53 @@ public void cancelExecution(CancelExecutionRequest request) { /** * Execute a SQL statement and optionally await its results for a specified time. * - *

    **Use case: small result sets with INLINE + JSON_ARRAY** + *

    Use case: small result sets with INLINE + JSON_ARRAY * - *

    For flows that generate small and predictable result sets (<= 25 MiB), `INLINE` responses of - * `JSON_ARRAY` result data are typically the simplest way to execute and fetch result data. + *

    For flows that generate small and predictable result sets (<= 25 MiB), {@code INLINE} + * responses of {@code JSON_ARRAY} result data are typically the simplest way to execute and fetch + * result data. * - *

    **Use case: large result sets with EXTERNAL_LINKS** + *

    Use case: large result sets with EXTERNAL_LINKS * - *

    Using `EXTERNAL_LINKS` to fetch result data allows you to fetch large result sets - * efficiently. The main differences from using `INLINE` disposition are that the result data is - * accessed with URLs, and that there are 3 supported formats: `JSON_ARRAY`, `ARROW_STREAM` and - * `CSV` compared to only `JSON_ARRAY` with `INLINE`. + *

    Using {@code EXTERNAL_LINKS} to fetch result data allows you to fetch large result sets + * efficiently. The main differences from using {@code INLINE} disposition are that the result + * data is accessed with URLs, and that there are 3 supported formats: {@code JSON_ARRAY}, {@code + * ARROW_STREAM} and {@code CSV} compared to only {@code JSON_ARRAY} with {@code INLINE}. * *

    ** URLs** * *

    External links point to data stored within your workspace's internal storage, in the form of - * a URL. The URLs are valid for only a short period, <= 15 minutes. Alongside each - * `external_link` is an expiration field indicating the time at which the URL is no longer valid. - * In `EXTERNAL_LINKS` mode, chunks can be resolved and fetched multiple times and in parallel. - * - *

    ---- + * a URL. The URLs are valid for only a short period, <= 15 minutes. Alongside each {@code + * external_link} is an expiration field indicating the time at which the URL is no longer valid. + * In {@code EXTERNAL_LINKS} mode, chunks can be resolved and fetched multiple times and in + * parallel. * - *

    ### **Warning: Databricks strongly recommends that you protect the URLs that are returned by - * the `EXTERNAL_LINKS` disposition.** + *


    * - *

    When you use the `EXTERNAL_LINKS` disposition, a short-lived, URL is generated, which can be - * used to download the results directly from . As a short-lived is embedded in this URL, you - * should protect the URL. + *

    Warning: Databricks strongly recommends that you protect the URLs that are returned by + * the {@code EXTERNAL_LINKS} disposition. * - *

    Because URLs are already generated with embedded temporary s, you must not set an - * `Authorization` header in the download requests. + *

    When you use the {@code EXTERNAL_LINKS} disposition, a short-lived, URL is generated, which + * can be used to download the results directly from . As a short-lived is embedded in this URL, + * you should protect the URL. * - *

    The `EXTERNAL_LINKS` disposition can be disabled upon request by creating a support case. + *

    Because URLs are already generated with embedded temporary s, you must not set an {@code + * Authorization} header in the download requests. * - *

    See also [Security best practices]. + *

    The {@code EXTERNAL_LINKS} disposition can be disabled upon request by creating a support + * case. * - *

    ---- + *

    See also Security + * best practices. * - *

    StatementResponse contains `statement_id` and `status`; other fields might be absent or - * present depending on context. If the SQL warehouse fails to execute the provided statement, a - * 200 response is returned with `status.state` set to `FAILED` (in contrast to a failure when - * accepting the request, which results in a non-200 response). Details of the error can be found - * at `status.error` in case of execution failures. + *


    * - *

    [Security best practices]: - * https://docs.databricks.com/sql/admin/sql-execution-tutorial.html#security-best-practices + *

    StatementResponse contains {@code statement_id} and {@code status}; other fields might be + * absent or present depending on context. If the SQL warehouse fails to execute the provided + * statement, a 200 response is returned with {@code status.state} set to {@code FAILED} (in + * contrast to a failure when accepting the request, which results in a non-200 response). Details + * of the error can be found at {@code status.error} in case of execution failures. */ public StatementResponse executeStatement(ExecuteStatementRequest request) { return impl.executeStatement(request); @@ -179,15 +196,16 @@ public StatementResponse getStatement(String statementId) { } /** - * This request can be used to poll for the statement's status. StatementResponse contains - * `statement_id` and `status`; other fields might be absent or present depending on context. When - * the `status.state` field is `SUCCEEDED` it will also return the result manifest and the first - * chunk of the result data. When the statement is in the terminal states `CANCELED`, `CLOSED` or - * `FAILED`, it returns HTTP 200 with the state set. After at least 12 hours in terminal state, - * the statement is removed from the warehouse and further calls will receive an HTTP 404 - * response. - * - *

    **NOTE** This call currently might take up to 5 seconds to get the latest status and result. + * This request can be used to poll for the statement's status. StatementResponse contains {@code + * statement_id} and {@code status}; other fields might be absent or present depending on context. + * When the {@code status.state} field is {@code SUCCEEDED} it will also return the result + * manifest and the first chunk of the result data. When the statement is in the terminal states + * {@code CANCELED}, {@code CLOSED} or {@code FAILED}, it returns HTTP 200 with the state set. + * After at least 12 hours in terminal state, the statement is removed from the warehouse and + * further calls will receive an HTTP 404 response. + * + *

    NOTE This call currently might take up to 5 seconds to get the latest status and + * result. */ public StatementResponse getStatement(GetStatementRequest request) { return impl.getStatement(request); @@ -201,14 +219,14 @@ public ResultData getStatementResultChunkN(String statementId, long chunkIndex) } /** - * After the statement execution has `SUCCEEDED`, this request can be used to fetch any chunk by - * index. Whereas the first chunk with `chunk_index=0` is typically fetched with + * After the statement execution has {@code SUCCEEDED}, this request can be used to fetch any + * chunk by index. Whereas the first chunk with {@code chunk_index=0} is typically fetched with * :method:statementexecution/executeStatement or :method:statementexecution/getStatement, this * request can be used to fetch subsequent chunks. The response structure is identical to the - * nested `result` element described in the :method:statementexecution/getStatement request, and - * similarly includes the `next_chunk_index` and `next_chunk_internal_link` fields for simple - * iteration through the result set. Depending on `disposition`, the response returns chunks of - * data either inline, or as links. + * nested {@code result} element described in the :method:statementexecution/getStatement request, + * and similarly includes the {@code next_chunk_index} and {@code next_chunk_internal_link} fields + * for simple iteration through the result set. Depending on {@code disposition}, the response + * returns chunks of data either inline, or as links. */ public ResultData getStatementResultChunkN(GetStatementResultChunkNRequest request) { return impl.getStatementResultChunkN(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementExecutionService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementExecutionService.java index 951af8946..8c89f412c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementExecutionService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementExecutionService.java @@ -7,11 +7,13 @@ * The Databricks SQL Statement Execution API can be used to execute SQL statements on a SQL * warehouse and fetch the result. * - *

    **Getting started** + *

    Getting started * - *

    We suggest beginning with the [Databricks SQL Statement Execution API tutorial]. + *

    We suggest beginning with the Databricks SQL Statement + * Execution API tutorial. * - *

    **Overview of statement execution and result fetching** + *

    Overview of statement execution and result fetching * *

    Statement execution begins by issuing a :method:statementexecution/executeStatement request * with a valid SQL statement and warehouse ID, along with optional parameters such as the data @@ -22,79 +24,92 @@ * used to poll for results by using a :method:statementexecution/getStatement request. * *

    You can specify whether the call should behave synchronously, asynchronously or start - * synchronously with a fallback to asynchronous execution. This is controlled with the - * `wait_timeout` and `on_wait_timeout` settings. If `wait_timeout` is set between 5-50 seconds - * (default: 10s), the call waits for results up to the specified timeout; when set to `0s`, the - * call is asynchronous and responds immediately with a statement ID. The `on_wait_timeout` setting - * specifies what should happen when the timeout is reached while the statement execution has not - * yet finished. This can be set to either `CONTINUE`, to fallback to asynchronous mode, or it can - * be set to `CANCEL`, which cancels the statement. - * - *

    In summary: - **Synchronous mode** (`wait_timeout=30s` and `on_wait_timeout=CANCEL`): The call - * waits up to 30 seconds; if the statement execution finishes within this time, the result data is - * returned directly in the response. If the execution takes longer than 30 seconds, the execution - * is canceled and the call returns with a `CANCELED` state. - **Asynchronous mode** - * (`wait_timeout=0s` and `on_wait_timeout` is ignored): The call doesn't wait for the statement to - * finish but returns directly with a statement ID. The status of the statement execution can be - * polled by issuing :method:statementexecution/getStatement with the statement ID. Once the - * execution has succeeded, this call also returns the result and metadata in the response. - - * **[Default] Hybrid mode** (`wait_timeout=10s` and `on_wait_timeout=CONTINUE`): The call waits for - * up to 10 seconds; if the statement execution finishes within this time, the result data is - * returned directly in the response. If the execution takes longer than 10 seconds, a statement ID - * is returned. The statement ID can be used to fetch status and results in the same way as in the - * asynchronous mode. + * synchronously with a fallback to asynchronous execution. This is controlled with the {@code + * wait_timeout} and {@code on_wait_timeout} settings. If {@code wait_timeout} is set between 5-50 + * seconds (default: 10s), the call waits for results up to the specified timeout; when set to + * {@code 0s}, the call is asynchronous and responds immediately with a statement ID. The {@code + * on_wait_timeout} setting specifies what should happen when the timeout is reached while the + * statement execution has not yet finished. This can be set to either {@code CONTINUE}, to fallback + * to asynchronous mode, or it can be set to {@code CANCEL}, which cancels the statement. + * + *

    In summary: + * + *

      + *
    • Synchronous mode ({@code wait_timeout=30s} and {@code on_wait_timeout=CANCEL}): The + * call waits up to 30 seconds; if the statement execution finishes within this time, the + * result data is returned directly in the response. If the execution takes longer than 30 + * seconds, the execution is canceled and the call returns with a {@code CANCELED} state. + *
    • Asynchronous mode ({@code wait_timeout=0s} and {@code on_wait_timeout} is ignored): + * The call doesn't wait for the statement to finish but returns directly with a statement ID. + * The status of the statement execution can be polled by issuing + * :method:statementexecution/getStatement with the statement ID. Once the execution has + * succeeded, this call also returns the result and metadata in the response. + *
    • [Default] Hybrid mode ({@code wait_timeout=10s} and {@code + * on_wait_timeout=CONTINUE}): The call waits for up to 10 seconds; if the statement execution + * finishes within this time, the result data is returned directly in the response. If the + * execution takes longer than 10 seconds, a statement ID is returned. The statement ID can be + * used to fetch status and results in the same way as in the asynchronous mode. + *
    * *

    Depending on the size, the result can be split into multiple chunks. If the statement * execution is successful, the statement response contains a manifest and the first chunk of the * result. The manifest contains schema information and provides metadata for each chunk in the * result. Result chunks can be retrieved by index with * :method:statementexecution/getStatementResultChunkN which may be called in any order and in - * parallel. For sequential fetching, each chunk, apart from the last, also contains a - * `next_chunk_index` and `next_chunk_internal_link` that point to the next chunk. + * parallel. For sequential fetching, each chunk, apart from the last, also contains a {@code + * next_chunk_index} and {@code next_chunk_internal_link} that point to the next chunk. * *

    A statement can be canceled with :method:statementexecution/cancelExecution. * - *

    **Fetching result data: format and disposition** + *

    Fetching result data: format and disposition * - *

    To specify the format of the result data, use the `format` field, which can be set to one of - * the following options: `JSON_ARRAY` (JSON), `ARROW_STREAM` ([Apache Arrow Columnar]), or `CSV`. + *

    To specify the format of the result data, use the {@code format} field, which can be set to + * one of the following options: {@code JSON_ARRAY} (JSON), {@code ARROW_STREAM} (Apache Arrow Columnar), or {@code CSV}. * - *

    There are two ways to receive statement results, controlled by the `disposition` setting, - * which can be either `INLINE` or `EXTERNAL_LINKS`: + *

    There are two ways to receive statement results, controlled by the {@code disposition} + * setting, which can be either {@code INLINE} or {@code EXTERNAL_LINKS}: * - *

    - `INLINE`: In this mode, the result data is directly included in the response. It's best - * suited for smaller results. This mode can only be used with the `JSON_ARRAY` format. + *

      + *
    • {@code INLINE}: In this mode, the result data is directly included in the response. It's + * best suited for smaller results. This mode can only be used with the {@code JSON_ARRAY} + * format. + *
    • {@code EXTERNAL_LINKS}: In this mode, the response provides links that can be used to + * download the result data in chunks separately. This approach is ideal for larger results + * and offers higher throughput. This mode can be used with all the formats: {@code + * JSON_ARRAY}, {@code ARROW_STREAM}, and {@code CSV}. + *
    * - *

    - `EXTERNAL_LINKS`: In this mode, the response provides links that can be used to download the - * result data in chunks separately. This approach is ideal for larger results and offers higher - * throughput. This mode can be used with all the formats: `JSON_ARRAY`, `ARROW_STREAM`, and `CSV`. + *

    By default, the API uses {@code format=JSON_ARRAY} and {@code disposition=INLINE}. * - *

    By default, the API uses `format=JSON_ARRAY` and `disposition=INLINE`. - * - *

    **Limits and limitations** + *

    Limits and limitations * *

    Note: The byte limit for INLINE disposition is based on internal storage metrics and will not * exactly match the byte count of the actual payload. * - *

    - Statements with `disposition=INLINE` are limited to 25 MiB and will fail when this limit is - * exceeded. - Statements with `disposition=EXTERNAL_LINKS` are limited to 100 GiB. Result sets - * larger than this limit will be truncated. Truncation is indicated by the `truncated` field in the - * result manifest. - The maximum query text size is 16 MiB. - Cancelation might silently fail. A - * successful response from a cancel request indicates that the cancel request was successfully - * received and sent to the processing engine. However, an outstanding statement might have already - * completed execution when the cancel request arrives. Polling for status until a terminal state is - * reached is a reliable way to determine the final state. - Wait timeouts are approximate, occur - * server-side, and cannot account for things such as caller delays and network latency from caller - * to service. - To guarantee that the statement is kept alive, you must poll at least once every 15 - * minutes. - The results are only available for one hour after success; polling does not extend - * this. - The SQL Execution API must be used for the entire lifecycle of the statement. For - * example, you cannot use the Jobs API to execute the command, and then the SQL Execution API to - * cancel it. - * - *

    [Apache Arrow Columnar]: https://arrow.apache.org/overview/ [Databricks SQL Statement - * Execution API tutorial]: https://docs.databricks.com/sql/api/sql-execution-tutorial.html - * - *

    This is the high-level interface, that contains generated methods. + *

      + *
    • Statements with {@code disposition=INLINE} are limited to 25 MiB and will fail when this + * limit is exceeded. + *
    • Statements with {@code disposition=EXTERNAL_LINKS} are limited to 100 GiB. Result sets + * larger than this limit will be truncated. Truncation is indicated by the {@code truncated} + * field in the result manifest. + *
    • The maximum query text size is 16 MiB. + *
    • Cancelation might silently fail. A successful response from a cancel request indicates that + * the cancel request was successfully received and sent to the processing engine. However, an + * outstanding statement might have already completed execution when the cancel request + * arrives. Polling for status until a terminal state is reached is a reliable way to + * determine the final state. + *
    • Wait timeouts are approximate, occur server-side, and cannot account for things such as + * caller delays and network latency from caller to service. + *
    • To guarantee that the statement is kept alive, you must poll at least once every 15 + * minutes. + *
    • The results are only available for one hour after success; polling does not extend this. + *
    • The SQL Execution API must be used for the entire lifecycle of the statement. For example, + * you cannot use the Jobs API to execute the command, and then the SQL Execution API to + * cancel it. + *
    + * + * This is the high-level interface, that contains generated methods. * *

    Evolving: this interface is under development. Method signatures may change. */ @@ -109,76 +124,79 @@ public interface StatementExecutionService { /** * Execute a SQL statement and optionally await its results for a specified time. * - *

    **Use case: small result sets with INLINE + JSON_ARRAY** + *

    Use case: small result sets with INLINE + JSON_ARRAY * - *

    For flows that generate small and predictable result sets (<= 25 MiB), `INLINE` responses of - * `JSON_ARRAY` result data are typically the simplest way to execute and fetch result data. + *

    For flows that generate small and predictable result sets (<= 25 MiB), {@code INLINE} + * responses of {@code JSON_ARRAY} result data are typically the simplest way to execute and fetch + * result data. * - *

    **Use case: large result sets with EXTERNAL_LINKS** + *

    Use case: large result sets with EXTERNAL_LINKS * - *

    Using `EXTERNAL_LINKS` to fetch result data allows you to fetch large result sets - * efficiently. The main differences from using `INLINE` disposition are that the result data is - * accessed with URLs, and that there are 3 supported formats: `JSON_ARRAY`, `ARROW_STREAM` and - * `CSV` compared to only `JSON_ARRAY` with `INLINE`. + *

    Using {@code EXTERNAL_LINKS} to fetch result data allows you to fetch large result sets + * efficiently. The main differences from using {@code INLINE} disposition are that the result + * data is accessed with URLs, and that there are 3 supported formats: {@code JSON_ARRAY}, {@code + * ARROW_STREAM} and {@code CSV} compared to only {@code JSON_ARRAY} with {@code INLINE}. * *

    ** URLs** * *

    External links point to data stored within your workspace's internal storage, in the form of - * a URL. The URLs are valid for only a short period, <= 15 minutes. Alongside each - * `external_link` is an expiration field indicating the time at which the URL is no longer valid. - * In `EXTERNAL_LINKS` mode, chunks can be resolved and fetched multiple times and in parallel. - * - *

    ---- + * a URL. The URLs are valid for only a short period, <= 15 minutes. Alongside each {@code + * external_link} is an expiration field indicating the time at which the URL is no longer valid. + * In {@code EXTERNAL_LINKS} mode, chunks can be resolved and fetched multiple times and in + * parallel. * - *

    ### **Warning: Databricks strongly recommends that you protect the URLs that are returned by - * the `EXTERNAL_LINKS` disposition.** + *


    * - *

    When you use the `EXTERNAL_LINKS` disposition, a short-lived, URL is generated, which can be - * used to download the results directly from . As a short-lived is embedded in this URL, you - * should protect the URL. + *

    Warning: Databricks strongly recommends that you protect the URLs that are returned by + * the {@code EXTERNAL_LINKS} disposition. * - *

    Because URLs are already generated with embedded temporary s, you must not set an - * `Authorization` header in the download requests. + *

    When you use the {@code EXTERNAL_LINKS} disposition, a short-lived, URL is generated, which + * can be used to download the results directly from . As a short-lived is embedded in this URL, + * you should protect the URL. * - *

    The `EXTERNAL_LINKS` disposition can be disabled upon request by creating a support case. + *

    Because URLs are already generated with embedded temporary s, you must not set an {@code + * Authorization} header in the download requests. * - *

    See also [Security best practices]. + *

    The {@code EXTERNAL_LINKS} disposition can be disabled upon request by creating a support + * case. * - *

    ---- + *

    See also Security + * best practices. * - *

    StatementResponse contains `statement_id` and `status`; other fields might be absent or - * present depending on context. If the SQL warehouse fails to execute the provided statement, a - * 200 response is returned with `status.state` set to `FAILED` (in contrast to a failure when - * accepting the request, which results in a non-200 response). Details of the error can be found - * at `status.error` in case of execution failures. + *


    * - *

    [Security best practices]: - * https://docs.databricks.com/sql/admin/sql-execution-tutorial.html#security-best-practices + *

    StatementResponse contains {@code statement_id} and {@code status}; other fields might be + * absent or present depending on context. If the SQL warehouse fails to execute the provided + * statement, a 200 response is returned with {@code status.state} set to {@code FAILED} (in + * contrast to a failure when accepting the request, which results in a non-200 response). Details + * of the error can be found at {@code status.error} in case of execution failures. */ StatementResponse executeStatement(ExecuteStatementRequest executeStatementRequest); /** - * This request can be used to poll for the statement's status. StatementResponse contains - * `statement_id` and `status`; other fields might be absent or present depending on context. When - * the `status.state` field is `SUCCEEDED` it will also return the result manifest and the first - * chunk of the result data. When the statement is in the terminal states `CANCELED`, `CLOSED` or - * `FAILED`, it returns HTTP 200 with the state set. After at least 12 hours in terminal state, - * the statement is removed from the warehouse and further calls will receive an HTTP 404 - * response. - * - *

    **NOTE** This call currently might take up to 5 seconds to get the latest status and result. + * This request can be used to poll for the statement's status. StatementResponse contains {@code + * statement_id} and {@code status}; other fields might be absent or present depending on context. + * When the {@code status.state} field is {@code SUCCEEDED} it will also return the result + * manifest and the first chunk of the result data. When the statement is in the terminal states + * {@code CANCELED}, {@code CLOSED} or {@code FAILED}, it returns HTTP 200 with the state set. + * After at least 12 hours in terminal state, the statement is removed from the warehouse and + * further calls will receive an HTTP 404 response. + * + *

    NOTE This call currently might take up to 5 seconds to get the latest status and + * result. */ StatementResponse getStatement(GetStatementRequest getStatementRequest); /** - * After the statement execution has `SUCCEEDED`, this request can be used to fetch any chunk by - * index. Whereas the first chunk with `chunk_index=0` is typically fetched with + * After the statement execution has {@code SUCCEEDED}, this request can be used to fetch any + * chunk by index. Whereas the first chunk with {@code chunk_index=0} is typically fetched with * :method:statementexecution/executeStatement or :method:statementexecution/getStatement, this * request can be used to fetch subsequent chunks. The response structure is identical to the - * nested `result` element described in the :method:statementexecution/getStatement request, and - * similarly includes the `next_chunk_index` and `next_chunk_internal_link` fields for simple - * iteration through the result set. Depending on `disposition`, the response returns chunks of - * data either inline, or as links. + * nested {@code result} element described in the :method:statementexecution/getStatement request, + * and similarly includes the {@code next_chunk_index} and {@code next_chunk_internal_link} fields + * for simple iteration through the result set. Depending on {@code disposition}, the response + * returns chunks of data either inline, or as links. */ ResultData getStatementResultChunkN( GetStatementResultChunkNRequest getStatementResultChunkNRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementParameterListItem.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementParameterListItem.java index 29dcc8b9d..d62879f84 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementParameterListItem.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementParameterListItem.java @@ -14,12 +14,12 @@ public class StatementParameterListItem { private String name; /** - * The data type, given as a string. For example: `INT`, `STRING`, `DECIMAL(10,2)`. If no type is - * given the type is assumed to be `STRING`. Complex types, such as `ARRAY`, `MAP`, and `STRUCT` - * are not supported. For valid types, refer to the section [Data types] of the SQL language - * reference. - * - *

    [Data types]: https://docs.databricks.com/sql/language-manual/functions/cast.html + * The data type, given as a string. For example: {@code INT}, {@code STRING}, {@code + * DECIMAL(10,2)}. If no type is given the type is assumed to be {@code STRING}. Complex types, + * such as {@code ARRAY}, {@code MAP}, and {@code STRUCT} are not supported. For valid types, + * refer to the section Data types of + * the SQL language reference. */ @JsonProperty("type") private String typeValue; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementStatus.java index 63f35231e..41696cff8 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/StatementStatus.java @@ -16,17 +16,25 @@ public class StatementStatus { /** * SQLSTATE error code returned when the statement execution fails. Only populated when the - * statement status is `FAILED`. + * statement status is {@code FAILED}. */ @JsonProperty("sql_state") private String sqlState; /** - * Statement execution state: - `PENDING`: waiting for warehouse - `RUNNING`: running - - * `SUCCEEDED`: execution was successful, result data available for fetch - `FAILED`: execution - * failed; reason for failure described in accompanying error message - `CANCELED`: user canceled; - * can come from explicit cancel call, or timeout with `on_wait_timeout=CANCEL` - `CLOSED`: - * execution successful, and statement closed; result no longer available for fetch + * Statement execution state: + * + *

      + *
    • {@code PENDING}: waiting for warehouse + *
    • {@code RUNNING}: running + *
    • {@code SUCCEEDED}: execution was successful, result data available for fetch + *
    • {@code FAILED}: execution failed; reason for failure described in accompanying error + * message + *
    • {@code CANCELED}: user canceled; can come from explicit cancel call, or timeout with + * {@code on_wait_timeout=CANCEL} + *
    • {@code CLOSED}: execution successful, and statement closed; result no longer available + * for fetch + *
    */ @JsonProperty("state") private StatementState state; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateAlertRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateAlertRequest.java index a0ed02ec2..4a0e879b9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateAlertRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateAlertRequest.java @@ -26,14 +26,14 @@ public class UpdateAlertRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

    A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

    A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("update_mask") private String updateMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateAlertRequestAlert.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateAlertRequestAlert.java index cae7b393b..9ca04aeb7 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateAlertRequestAlert.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateAlertRequestAlert.java @@ -14,18 +14,18 @@ public class UpdateAlertRequestAlert { private AlertCondition condition; /** - * Custom body of alert notification, if it exists. See [here] for custom templating instructions. - * - *

    [here]: https://docs.databricks.com/sql/user/alerts/index.html + * Custom body of alert notification, if it exists. See here for custom templating + * instructions. */ @JsonProperty("custom_body") private String customBody; /** * Custom subject of alert notification, if it exists. This can include email subject entries and - * Slack notification headers, for example. See [here] for custom templating instructions. - * - *

    [here]: https://docs.databricks.com/sql/user/alerts/index.html + * Slack notification headers, for example. See here for custom templating + * instructions. */ @JsonProperty("custom_subject") private String customSubject; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateAlertV2Request.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateAlertV2Request.java index 414bf3131..6e153efb0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateAlertV2Request.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateAlertV2Request.java @@ -20,14 +20,14 @@ public class UpdateAlertV2Request { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

    A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

    A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonIgnore @QueryParam("update_mask") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateDefaultWarehouseOverrideRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateDefaultWarehouseOverrideRequest.java index 592f62930..2b1653b4b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateDefaultWarehouseOverrideRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateDefaultWarehouseOverrideRequest.java @@ -14,7 +14,7 @@ public class UpdateDefaultWarehouseOverrideRequest { /** * If set to true, and the override is not found, a new override will be created. In this - * situation, `update_mask` is ignored and all fields are applied. Defaults to false. + * situation, {@code update_mask} is ignored and all fields are applied. Defaults to false. */ @JsonIgnore @QueryParam("allow_missing") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateQueryRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateQueryRequest.java index 46be75273..70db7495f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateQueryRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateQueryRequest.java @@ -26,14 +26,14 @@ public class UpdateQueryRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

    A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

    A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("update_mask") private String updateMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateVisualizationRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateVisualizationRequest.java index 1cf729a01..517f78114 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateVisualizationRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateVisualizationRequest.java @@ -15,14 +15,14 @@ public class UpdateVisualizationRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

    A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

    A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonProperty("update_mask") private String updateMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateWidgetRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateWidgetRequest.java index cdf77f151..82dda3c60 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateWidgetRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/UpdateWidgetRequest.java @@ -23,7 +23,7 @@ public class UpdateWidgetRequest { /** * If this is a textbox widget, the application displays this text. This field is ignored if the - * widget contains a visualization in the `visualization` field. + * widget contains a visualization in the {@code visualization} field. */ @JsonProperty("text") private String text; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/WarehouseTypePair.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/WarehouseTypePair.java index bf221ba27..e74ee3537 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/WarehouseTypePair.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/WarehouseTypePair.java @@ -8,7 +8,7 @@ import java.util.Objects; /** - * * Configuration values to enable or disable the access to specific warehouse types in the + * Configuration values to enable or disable the access to specific warehouse types in the * workspace. */ @Generated diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Widget.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Widget.java index 442092020..a1e9c143f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Widget.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Widget.java @@ -19,8 +19,8 @@ public class Widget { /** * The visualization description API changes frequently and is unsupported. You can duplicate a - * visualization by copying description objects received _from the API_ and then using them to - * create a new one with a POST request to the same endpoint. Databricks does not recommend + * visualization by copying description objects received from the API and then using them + * to create a new one with a POST request to the same endpoint. Databricks does not recommend * constructing ad-hoc visualizations entirely in JSON. */ @JsonProperty("visualization") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/ListExamplesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/ListExamplesRequest.java index a1c4a63ef..939a3219f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/ListExamplesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/ListExamplesRequest.java @@ -19,7 +19,7 @@ public class ListExamplesRequest { private Long pageSize; /** - * A page token, received from a previous `ListExamples` call. Provide this to retrieve the + * A page token, received from a previous {@code ListExamples} call. Provide this to retrieve the * subsequent page. If unspecified, the first page will be returned. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/ListSupervisorAgentsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/ListSupervisorAgentsRequest.java index 14b595a87..2ef48599b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/ListSupervisorAgentsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/ListSupervisorAgentsRequest.java @@ -19,8 +19,8 @@ public class ListSupervisorAgentsRequest { private Long pageSize; /** - * A page token, received from a previous `ListSupervisorAgents` call. Provide this to retrieve - * the subsequent page. If unspecified, the first page will be returned. + * A page token, received from a previous {@code ListSupervisorAgents} call. Provide this to + * retrieve the subsequent page. If unspecified, the first page will be returned. */ @JsonIgnore @QueryParam("page_token") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/ListSupervisorAgentsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/ListSupervisorAgentsResponse.java index 25dc4747a..9a6ff2ebc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/ListSupervisorAgentsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/ListSupervisorAgentsResponse.java @@ -11,8 +11,8 @@ @Generated public class ListSupervisorAgentsResponse { /** - * A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, - * there are no subsequent pages. + * A token that can be sent as {@code page_token} to retrieve the next page. If this field is + * omitted, there are no subsequent pages. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/SupervisorAgentsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/SupervisorAgentsAPI.java index 1092951e2..676f8e02e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/SupervisorAgentsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/SupervisorAgentsAPI.java @@ -199,15 +199,15 @@ public SupervisorAgentPermissions updatePermissions(SupervisorAgentPermissionsRe /** * Updates a Supervisor Agent. The fields that are required depend on the paths specified in - * `update_mask`. Only fields included in the mask will be updated. + * {@code update_mask}. Only fields included in the mask will be updated. */ public SupervisorAgent updateSupervisorAgent(UpdateSupervisorAgentRequest request) { return impl.updateSupervisorAgent(request); } /** - * Updates a Tool. Only the `description` field can be updated. To change immutable fields such as - * tool type, spec, or tool ID, delete the tool and recreate it. + * Updates a Tool. Only the {@code description} field can be updated. To change immutable fields + * such as tool type, spec, or tool ID, delete the tool and recreate it. */ public Tool updateTool(UpdateToolRequest request) { return impl.updateTool(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/SupervisorAgentsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/SupervisorAgentsService.java index af98daa20..bdf2949b2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/SupervisorAgentsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/SupervisorAgentsService.java @@ -85,13 +85,13 @@ SupervisorAgentPermissions updatePermissions( /** * Updates a Supervisor Agent. The fields that are required depend on the paths specified in - * `update_mask`. Only fields included in the mask will be updated. + * {@code update_mask}. Only fields included in the mask will be updated. */ SupervisorAgent updateSupervisorAgent(UpdateSupervisorAgentRequest updateSupervisorAgentRequest); /** - * Updates a Tool. Only the `description` field can be updated. To change immutable fields such as - * tool type, spec, or tool ID, delete the tool and recreate it. + * Updates a Tool. Only the {@code description} field can be updated. To change immutable fields + * such as tool type, spec, or tool ID, delete the tool and recreate it. */ Tool updateTool(UpdateToolRequest updateToolRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/UpdateExampleRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/UpdateExampleRequest.java index bdd042e13..91bc0574d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/UpdateExampleRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/supervisoragents/UpdateExampleRequest.java @@ -23,8 +23,13 @@ public class UpdateExampleRequest { @JsonIgnore private String name; /** - * Comma-delimited list of fields to update on the example. Allowed values: `question`, - * `guidelines`. Examples: - `question` - `question,guidelines` + * Comma-delimited list of fields to update on the example. Allowed values: {@code question}, + * {@code guidelines}. Examples: + * + *

      + *
    • {@code question} + *
    • {@code question,guidelines} + *
    */ @JsonIgnore @QueryParam("update_mask") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/tags/TagPoliciesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/tags/TagPoliciesAPI.java index fdc01e4b4..dcbcad03c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/tags/TagPoliciesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/tags/TagPoliciesAPI.java @@ -9,13 +9,11 @@ /** * The Tag Policy API allows you to manage policies for governed tags in Databricks. For Terraform - * usage, see the [Tag Policy Terraform documentation]. Permissions for tag policies can be managed - * using the [Account Access Control Proxy API]. - * - *

    [Account Access Control Proxy API]: - * https://docs.databricks.com/api/workspace/accountaccesscontrolproxy [Tag Policy Terraform - * documentation]: - * https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/tag_policy + * usage, see the Tag + * Policy Terraform documentation. Permissions for tag policies can be managed using the Account Access Control + * Proxy API. */ @Generated public class TagPoliciesAPI { @@ -35,13 +33,11 @@ public TagPoliciesAPI(TagPoliciesService mock) { /** * Creates a new tag policy, making the associated tag key governed. For Terraform usage, see the - * [Tag Policy Terraform documentation]. To manage permissions for tag policies, use the [Account - * Access Control Proxy API]. - * - *

    [Account Access Control Proxy API]: - * https://docs.databricks.com/api/workspace/accountaccesscontrolproxy [Tag Policy Terraform - * documentation]: - * https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/tag_policy + * Tag + * Policy Terraform documentation. To manage permissions for tag policies, use the Account Access + * Control Proxy API. */ public TagPolicy createTagPolicy(CreateTagPolicyRequest request) { return impl.createTagPolicy(request); @@ -53,10 +49,9 @@ public void deleteTagPolicy(String tagKey) { /** * Deletes a tag policy by its associated governed tag's key, leaving that tag key ungoverned. For - * Terraform usage, see the [Tag Policy Terraform documentation]. - * - *

    [Tag Policy Terraform documentation]: - * https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/tag_policy + * Terraform usage, see the Tag + * Policy Terraform documentation. */ public void deleteTagPolicy(DeleteTagPolicyRequest request) { impl.deleteTagPolicy(request); @@ -67,28 +62,22 @@ public TagPolicy getTagPolicy(String tagKey) { } /** - * Gets a single tag policy by its associated governed tag's key. For Terraform usage, see the - * [Tag Policy Terraform documentation]. To list granted permissions for tag policies, use the - * [Account Access Control Proxy API]. - * - *

    [Account Access Control Proxy API]: - * https://docs.databricks.com/api/workspace/accountaccesscontrolproxy [Tag Policy Terraform - * documentation]: - * https://registry.terraform.io/providers/databricks/databricks/latest/docs/data-sources/tag_policy + * Gets a single tag policy by its associated governed tag's key. For Terraform usage, see the Tag + * Policy Terraform documentation. To list granted permissions for tag policies, use the Account Access + * Control Proxy API. */ public TagPolicy getTagPolicy(GetTagPolicyRequest request) { return impl.getTagPolicy(request); } /** - * Lists the tag policies for all governed tags in the account. For Terraform usage, see the [Tag - * Policy Terraform documentation]. To list granted permissions for tag policies, use the [Account - * Access Control Proxy API]. - * - *

    [Account Access Control Proxy API]: - * https://docs.databricks.com/api/workspace/accountaccesscontrolproxy [Tag Policy Terraform - * documentation]: - * https://registry.terraform.io/providers/databricks/databricks/latest/docs/data-sources/tag_policies + * Lists the tag policies for all governed tags in the account. For Terraform usage, see the Tag + * Policy Terraform documentation. To list granted permissions for tag policies, use the Account Access + * Control Proxy API. */ public Iterable listTagPolicies(ListTagPoliciesRequest request) { return Paginator.newTokenPagination( @@ -105,14 +94,11 @@ public Iterable listTagPolicies(ListTagPoliciesRequest request) { } /** - * Updates an existing tag policy for a single governed tag. For Terraform usage, see the [Tag - * Policy Terraform documentation]. To manage permissions for tag policies, use the [Account - * Access Control Proxy API]. - * - *

    [Account Access Control Proxy API]: - * https://docs.databricks.com/api/workspace/accountaccesscontrolproxy [Tag Policy Terraform - * documentation]: - * https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/tag_policy + * Updates an existing tag policy for a single governed tag. For Terraform usage, see the Tag + * Policy Terraform documentation. To manage permissions for tag policies, use the Account Access + * Control Proxy API. */ public TagPolicy updateTagPolicy(UpdateTagPolicyRequest request) { return impl.updateTagPolicy(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/tags/TagPoliciesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/tags/TagPoliciesService.java index 89937cf8b..1b9e28aeb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/tags/TagPoliciesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/tags/TagPoliciesService.java @@ -5,13 +5,11 @@ /** * The Tag Policy API allows you to manage policies for governed tags in Databricks. For Terraform - * usage, see the [Tag Policy Terraform documentation]. Permissions for tag policies can be managed - * using the [Account Access Control Proxy API]. - * - *

    [Account Access Control Proxy API]: - * https://docs.databricks.com/api/workspace/accountaccesscontrolproxy [Tag Policy Terraform - * documentation]: - * https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/tag_policy + * usage, see the Tag + * Policy Terraform documentation. Permissions for tag policies can be managed using the Account Access Control + * Proxy API. * *

    This is the high-level interface, that contains generated methods. * @@ -21,58 +19,46 @@ public interface TagPoliciesService { /** * Creates a new tag policy, making the associated tag key governed. For Terraform usage, see the - * [Tag Policy Terraform documentation]. To manage permissions for tag policies, use the [Account - * Access Control Proxy API]. - * - *

    [Account Access Control Proxy API]: - * https://docs.databricks.com/api/workspace/accountaccesscontrolproxy [Tag Policy Terraform - * documentation]: - * https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/tag_policy + * Tag + * Policy Terraform documentation. To manage permissions for tag policies, use the Account Access + * Control Proxy API. */ TagPolicy createTagPolicy(CreateTagPolicyRequest createTagPolicyRequest); /** * Deletes a tag policy by its associated governed tag's key, leaving that tag key ungoverned. For - * Terraform usage, see the [Tag Policy Terraform documentation]. - * - *

    [Tag Policy Terraform documentation]: - * https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/tag_policy + * Terraform usage, see the Tag + * Policy Terraform documentation. */ void deleteTagPolicy(DeleteTagPolicyRequest deleteTagPolicyRequest); /** - * Gets a single tag policy by its associated governed tag's key. For Terraform usage, see the - * [Tag Policy Terraform documentation]. To list granted permissions for tag policies, use the - * [Account Access Control Proxy API]. - * - *

    [Account Access Control Proxy API]: - * https://docs.databricks.com/api/workspace/accountaccesscontrolproxy [Tag Policy Terraform - * documentation]: - * https://registry.terraform.io/providers/databricks/databricks/latest/docs/data-sources/tag_policy + * Gets a single tag policy by its associated governed tag's key. For Terraform usage, see the Tag + * Policy Terraform documentation. To list granted permissions for tag policies, use the Account Access + * Control Proxy API. */ TagPolicy getTagPolicy(GetTagPolicyRequest getTagPolicyRequest); /** - * Lists the tag policies for all governed tags in the account. For Terraform usage, see the [Tag - * Policy Terraform documentation]. To list granted permissions for tag policies, use the [Account - * Access Control Proxy API]. - * - *

    [Account Access Control Proxy API]: - * https://docs.databricks.com/api/workspace/accountaccesscontrolproxy [Tag Policy Terraform - * documentation]: - * https://registry.terraform.io/providers/databricks/databricks/latest/docs/data-sources/tag_policies + * Lists the tag policies for all governed tags in the account. For Terraform usage, see the Tag + * Policy Terraform documentation. To list granted permissions for tag policies, use the Account Access + * Control Proxy API. */ ListTagPoliciesResponse listTagPolicies(ListTagPoliciesRequest listTagPoliciesRequest); /** - * Updates an existing tag policy for a single governed tag. For Terraform usage, see the [Tag - * Policy Terraform documentation]. To manage permissions for tag policies, use the [Account - * Access Control Proxy API]. - * - *

    [Account Access Control Proxy API]: - * https://docs.databricks.com/api/workspace/accountaccesscontrolproxy [Tag Policy Terraform - * documentation]: - * https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/tag_policy + * Updates an existing tag policy for a single governed tag. For Terraform usage, see the Tag + * Policy Terraform documentation. To manage permissions for tag policies, use the Account Access + * Control Proxy API. */ TagPolicy updateTagPolicy(UpdateTagPolicyRequest updateTagPolicyRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/tags/UpdateTagAssignmentRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/tags/UpdateTagAssignmentRequest.java index 21f6e0c33..4f1476b76 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/tags/UpdateTagAssignmentRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/tags/UpdateTagAssignmentRequest.java @@ -32,14 +32,14 @@ public class UpdateTagAssignmentRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

    A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

    A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonIgnore @QueryParam("update_mask") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/tags/UpdateTagPolicyRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/tags/UpdateTagPolicyRequest.java index 7991f1854..eb0a09096 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/tags/UpdateTagPolicyRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/tags/UpdateTagPolicyRequest.java @@ -20,14 +20,14 @@ public class UpdateTagPolicyRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. * - *

    A field mask of `*` indicates full replacement. It’s recommended to always explicitly list - * the fields being updated and avoid using `*` wildcards, as it can lead to unintended results if - * the API changes in the future. + *

    A field mask of {@code *} indicates full replacement. It’s recommended to always explicitly + * list the fields being updated and avoid using {@code *} wildcards, as it can lead to unintended + * results if the API changes in the future. */ @JsonIgnore @QueryParam("update_mask") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/CreateVectorIndexRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/CreateVectorIndexRequest.java index f653abbc2..aefa45cd9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/CreateVectorIndexRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/CreateVectorIndexRequest.java @@ -9,11 +9,14 @@ @Generated public class CreateVectorIndexRequest { - /** Specification for Delta Sync Index. Required if `index_type` is `DELTA_SYNC`. */ + /** Specification for Delta Sync Index. Required if {@code index_type} is {@code DELTA_SYNC}. */ @JsonProperty("delta_sync_index_spec") private DeltaSyncVectorIndexSpecRequest deltaSyncIndexSpec; - /** Specification for Direct Vector Access Index. Required if `index_type` is `DIRECT_ACCESS`. */ + /** + * Specification for Direct Vector Access Index. Required if {@code index_type} is {@code + * DIRECT_ACCESS}. + */ @JsonProperty("direct_access_index_spec") private DirectAccessVectorIndexSpec directAccessIndexSpec; @@ -21,7 +24,10 @@ public class CreateVectorIndexRequest { @JsonProperty("endpoint_name") private String endpointName; - /** The subtype of the index. Use `HYBRID` or `FULL_TEXT`. `VECTOR` is not supported. */ + /** + * The subtype of the index. Use {@code HYBRID} or {@code FULL_TEXT}. {@code VECTOR} is not + * supported. + */ @JsonProperty("index_subtype") private IndexSubtype indexSubtype; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeltaSyncVectorIndexSpecRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeltaSyncVectorIndexSpecRequest.java index 3f14a73b1..321a55225 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeltaSyncVectorIndexSpecRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeltaSyncVectorIndexSpecRequest.java @@ -43,11 +43,15 @@ public class DeltaSyncVectorIndexSpecRequest { private String embeddingWritebackTable; /** - * Pipeline execution mode. - `TRIGGERED`: If the pipeline uses the triggered execution mode, the - * system stops processing after successfully refreshing the source table in the pipeline once, - * ensuring the table is updated based on the data available when the update started. - - * `CONTINUOUS`: If the pipeline uses continuous execution, the pipeline processes new data as it - * arrives in the source table to keep vector index fresh. + * Pipeline execution mode. + * + *

      + *
    • {@code TRIGGERED}: If the pipeline uses the triggered execution mode, the system stops + * processing after successfully refreshing the source table in the pipeline once, ensuring + * the table is updated based on the data available when the update started. + *
    • {@code CONTINUOUS}: If the pipeline uses continuous execution, the pipeline processes new + * data as it arrives in the source table to keep vector index fresh. + *
    */ @JsonProperty("pipeline_type") private PipelineType pipelineType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeltaSyncVectorIndexSpecResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeltaSyncVectorIndexSpecResponse.java index 8cbf33178..015ad6ed2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeltaSyncVectorIndexSpecResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DeltaSyncVectorIndexSpecResponse.java @@ -47,11 +47,15 @@ public class DeltaSyncVectorIndexSpecResponse { private String pipelineId; /** - * Pipeline execution mode. - `TRIGGERED`: If the pipeline uses the triggered execution mode, the - * system stops processing after successfully refreshing the source table in the pipeline once, - * ensuring the table is updated based on the data available when the update started. - - * `CONTINUOUS`: If the pipeline uses continuous execution, the pipeline processes new data as it - * arrives in the source table to keep vector index fresh. + * Pipeline execution mode. + * + *
      + *
    • {@code TRIGGERED}: If the pipeline uses the triggered execution mode, the system stops + * processing after successfully refreshing the source table in the pipeline once, ensuring + * the table is updated based on the data available when the update started. + *
    • {@code CONTINUOUS}: If the pipeline uses continuous execution, the pipeline processes new + * data as it arrives in the source table to keep vector index fresh. + *
    */ @JsonProperty("pipeline_type") private PipelineType pipelineType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DirectAccessVectorIndexSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DirectAccessVectorIndexSpec.java index 579c22ce3..72780db23 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DirectAccessVectorIndexSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/DirectAccessVectorIndexSpec.java @@ -19,9 +19,9 @@ public class DirectAccessVectorIndexSpec { private Collection embeddingVectorColumns; /** - * The schema of the index in JSON format. Supported types are `integer`, `long`, `float`, - * `double`, `boolean`, `string`, `date`, `timestamp`. Supported types for vector column: - * `array`, `array`,`. + * The schema of the index in JSON format. Supported types are {@code integer}, {@code long}, + * {@code float}, {@code double}, {@code boolean}, {@code string}, {@code date}, {@code + * timestamp}. Supported types for vector column: {@code array}, {@code array},`. */ @JsonProperty("schema_json") private String schemaJson; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/FacetResultData.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/FacetResultData.java index ba3ef838d..075ac1055 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/FacetResultData.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/FacetResultData.java @@ -11,7 +11,7 @@ /** Facet aggregation rows returned by a query. */ @Generated public class FacetResultData { - /** Facet rows. Each row is `[facet_column_name, value_or_range, count]`. */ + /** Facet rows. Each row is {@code [facet_column_name, value_or_range, count]}. */ @JsonProperty("facet_array") private Collection> facetArray; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/IndexSubtype.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/IndexSubtype.java index ce484a131..ca45ab0d9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/IndexSubtype.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/IndexSubtype.java @@ -5,10 +5,14 @@ import com.databricks.sdk.support.Generated; /** - * The subtype of the AI Search index, determining the indexing and retrieval strategy. - `VECTOR`: - * Not supported. Use `HYBRID` instead. - `FULL_TEXT`: An index that uses full-text search without - * vector embeddings. - `HYBRID`: An index that uses vector embeddings for similarity search and - * hybrid search. + * The subtype of the AI Search index, determining the indexing and retrieval strategy. + * + *
      + *
    • {@code VECTOR}: Not supported. Use {@code HYBRID} instead. + *
    • {@code FULL_TEXT}: An index that uses full-text search without vector embeddings. + *
    • {@code HYBRID}: An index that uses vector embeddings for similarity search and hybrid + * search. + *
    */ @Generated public enum IndexSubtype { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/PipelineType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/PipelineType.java index d3025ed9f..50ff6a60d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/PipelineType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/PipelineType.java @@ -5,11 +5,15 @@ import com.databricks.sdk.support.Generated; /** - * Pipeline execution mode. - `TRIGGERED`: If the pipeline uses the triggered execution mode, the - * system stops processing after successfully refreshing the source table in the pipeline once, - * ensuring the table is updated based on the data available when the update started. - - * `CONTINUOUS`: If the pipeline uses continuous execution, the pipeline processes new data as it - * arrives in the source table to keep vector index fresh. + * Pipeline execution mode. + * + *
      + *
    • {@code TRIGGERED}: If the pipeline uses the triggered execution mode, the system stops + * processing after successfully refreshing the source table in the pipeline once, ensuring + * the table is updated based on the data available when the update started. + *
    • {@code CONTINUOUS}: If the pipeline uses continuous execution, the pipeline processes new + * data as it arrives in the source table to keep vector index fresh. + *
    */ @Generated public enum PipelineType { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/QueryVectorIndexNextPageRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/QueryVectorIndexNextPageRequest.java index e2606c848..8652fd8db 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/QueryVectorIndexNextPageRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/QueryVectorIndexNextPageRequest.java @@ -18,7 +18,10 @@ public class QueryVectorIndexNextPageRequest { /** Name of the vector index to query. */ @JsonIgnore private String indexName; - /** Page token returned from previous `QueryVectorIndex` or `QueryVectorIndexNextPage` API. */ + /** + * Page token returned from previous {@code QueryVectorIndex} or {@code QueryVectorIndexNextPage} + * API. + */ @JsonProperty("page_token") private String pageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/QueryVectorIndexRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/QueryVectorIndexRequest.java index ebd154099..1a8970663 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/QueryVectorIndexRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/QueryVectorIndexRequest.java @@ -20,10 +20,10 @@ public class QueryVectorIndexRequest { private Collection columnsToRerank; /** - * Facets to compute over the matched results. Each entry has one of these forms: `""` - - * top 10 distinct values by count `" TOP "` - top n distinct values, where n > 0 - * `" BUCKETS [[from,to],...]"` - inclusive numeric ranges `TOP` and `BUCKETS` are - * case-insensitive. A column may appear at most once. + * Facets to compute over the matched results. Each entry has one of these forms: {@code + * ""} - top 10 distinct values by count {@code " TOP "} - top n distinct + * values, where n > 0 {@code " BUCKETS [[from,to],...]"} - inclusive numeric ranges + * {@code TOP} and {@code BUCKETS} are case-insensitive. A column may appear at most once. */ @JsonProperty("facets") private Collection facets; @@ -33,9 +33,13 @@ public class QueryVectorIndexRequest { * *

    Example filters: * - *

    - `{"id <": 5}`: Filter for id less than 5. - `{"id >": 5}`: Filter for id greater than 5. - - * `{"id <=": 5}`: Filter for id less than equal to 5. - `{"id >=": 5}`: Filter for id greater - * than equal to 5. - `{"id": 5}`: Filter for id equal to 5. + *

      + *
    • {@code {"id <": 5}}: Filter for id less than 5. + *
    • {@code {"id >": 5}}: Filter for id greater than 5. + *
    • {@code {"id <=": 5}}: Filter for id less than equal to 5. + *
    • {@code {"id >=": 5}}: Filter for id greater than equal to 5. + *
    • {@code {"id": 5}}: Filter for id equal to 5. + *
    */ @JsonProperty("filters_json") private String filtersJson; @@ -47,7 +51,7 @@ public class QueryVectorIndexRequest { @JsonProperty("num_results") private Long numResults; - /** Text columns to search for `query_text`. When empty, all text columns are searched. */ + /** Text columns to search for {@code query_text}. When empty, all text columns are searched. */ @JsonProperty("query_columns") private Collection queryColumns; @@ -55,7 +59,10 @@ public class QueryVectorIndexRequest { @JsonProperty("query_text") private String queryText; - /** The query type to use. Choices are `ANN` and `HYBRID` and `FULL_TEXT`. Defaults to `ANN`. */ + /** + * The query type to use. Choices are {@code ANN} and {@code HYBRID} and {@code FULL_TEXT}. + * Defaults to {@code ANN}. + */ @JsonProperty("query_type") private String queryType; @@ -68,9 +75,9 @@ public class QueryVectorIndexRequest { /** * If set, the top 50 results are reranked with the Databricks Reranker model before returning the - * `num_results` results to the user. The setting `columns_to_rerank` selects which columns are - * used for reranking. For each datapoint, the columns selected are concatenated before being sent - * to the reranking model. See + * {@code num_results} results to the user. The setting {@code columns_to_rerank} selects which + * columns are used for reranking. For each datapoint, the columns selected are concatenated + * before being sent to the reranking model. See * https://docs.databricks.com/aws/en/vector-search/query-vector-search#rerank for more * information. */ @@ -83,7 +90,8 @@ public class QueryVectorIndexRequest { /** * Sort results by column values instead of the default relevance ordering. Each clause has the - * form `" ASC"` or `" DESC"`, for example `["rating DESC", "price ASC"]`. + * form {@code " ASC"} or {@code " DESC"}, for example {@code ["rating DESC", + * "price ASC"]}. */ @JsonProperty("sort_columns") private Collection sortColumns; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/QueryVectorIndexResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/QueryVectorIndexResponse.java index 9116f8b18..be3014878 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/QueryVectorIndexResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/QueryVectorIndexResponse.java @@ -18,7 +18,7 @@ public class QueryVectorIndexResponse { private ResultManifest manifest; /** - * [Optional] Token that can be used in `QueryVectorIndexNextPage` API to get next page of + * [Optional] Token that can be used in {@code QueryVectorIndexNextPage} API to get next page of * results. If more than 1000 results satisfy the query, they are returned in groups of 1000. * Empty value means no more results. The maximum number of results that can be returned is * 10,000. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/RerankerConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/RerankerConfig.java index 4e9b36b61..f68b960c1 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/RerankerConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/RerankerConfig.java @@ -10,8 +10,12 @@ @Generated public class RerankerConfig { /** - * Reranker identifier: - When model_type=BASE/UNSPECIFIED: must be "databricks_reranker". - When - * model_type=FINETUNED: the Model Serving endpoint name hosting a finetuned reranker. + * Reranker identifier: + * + *
      + *
    • When model_type=BASE/UNSPECIFIED: must be "databricks_reranker". + *
    • When model_type=FINETUNED: the Model Serving endpoint name hosting a finetuned reranker. + *
    */ @JsonProperty("model") private String model; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/ResultManifest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/ResultManifest.java index 06bd71be4..b3f1fed64 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/ResultManifest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/ResultManifest.java @@ -19,11 +19,11 @@ public class ResultManifest { @JsonProperty("columns") private Collection columns; - /** Number of columns in `facet_result`. */ + /** Number of columns in {@code facet_result}. */ @JsonProperty("facet_column_count") private Long facetColumnCount; - /** Information about each column in `facet_result`. */ + /** Information about each column in {@code facet_result}. */ @JsonProperty("facet_columns") private Collection facetColumns; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorIndexType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorIndexType.java index 61e96fe27..0a0e9d95a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorIndexType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorIndexType.java @@ -5,11 +5,15 @@ import com.databricks.sdk.support.Generated; /** - * There are 2 types of AI Search indexes: - `DELTA_SYNC`: An index that automatically syncs with a - * source Delta Table, automatically and incrementally updating the index as the underlying data in - * the Delta Table changes. - `DIRECT_ACCESS`: An index that supports direct read and write of - * vectors and metadata through our REST and SDK APIs. With this model, the user manages index - * updates. + * There are 2 types of AI Search indexes: + * + *
      + *
    • {@code DELTA_SYNC}: An index that automatically syncs with a source Delta Table, + * automatically and incrementally updating the index as the underlying data in the Delta + * Table changes. + *
    • {@code DIRECT_ACCESS}: An index that supports direct read and write of vectors and metadata + * through our REST and SDK APIs. With this model, the user manages index updates. + *
    */ @Generated public enum VectorIndexType { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchEndpointsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchEndpointsAPI.java index 35b0ff858..28a9eb5e6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchEndpointsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchEndpointsAPI.java @@ -13,7 +13,7 @@ import java.util.concurrent.TimeoutException; import java.util.function.Consumer; -/** **Endpoint**: Represents the compute resources to host AI Search indexes. */ +/** Endpoint: Represents the compute resources to host AI Search indexes. */ @Generated public class VectorSearchEndpointsAPI { private static final Logger LOG = LoggerFactory.getLogger(VectorSearchEndpointsAPI.class); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchEndpointsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchEndpointsService.java index 6bd7fef05..b0c7ca07e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchEndpointsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchEndpointsService.java @@ -4,7 +4,7 @@ import com.databricks.sdk.support.Generated; /** - * **Endpoint**: Represents the compute resources to host AI Search indexes. + * Endpoint: Represents the compute resources to host AI Search indexes. * *

    This is the high-level interface, that contains generated methods. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchIndexesAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchIndexesAPI.java index 4b33adc17..6c6a628dc 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchIndexesAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchIndexesAPI.java @@ -8,14 +8,19 @@ import com.databricks.sdk.support.Paginator; /** - * **Index**: An efficient representation of your embedding vectors that supports real-time and + * Index: An efficient representation of your embedding vectors that supports real-time and * efficient approximate nearest neighbor (ANN) search queries. * - *

    There are 2 types of AI Search indexes: - **Delta Sync Index**: An index that automatically - * syncs with a source Delta Table, automatically and incrementally updating the index as the - * underlying data in the Delta Table changes. - **Direct Vector Access Index**: An index that - * supports direct read and write of vectors and metadata through our REST and SDK APIs. With this - * model, the user manages index updates. + *

    There are 2 types of AI Search indexes: + * + *

      + *
    • Delta Sync Index: An index that automatically syncs with a source Delta Table, + * automatically and incrementally updating the index as the underlying data in the Delta + * Table changes. + *
    • Direct Vector Access Index: An index that supports direct read and write of vectors + * and metadata through our REST and SDK APIs. With this model, the user manages index + * updates. + *
    */ @Generated public class VectorSearchIndexesAPI { @@ -90,16 +95,16 @@ public QueryVectorIndexResponse queryIndex(QueryVectorIndexRequest request) { } /** - * Use `next_page_token` returned from previous `QueryVectorIndex` or `QueryVectorIndexNextPage` - * request to fetch next page of results. + * Use {@code next_page_token} returned from previous {@code QueryVectorIndex} or {@code + * QueryVectorIndexNextPage} request to fetch next page of results. */ public QueryVectorIndexResponse queryNextPage(QueryVectorIndexNextPageRequest request) { return impl.queryNextPage(request); } /** - * Scan the specified vector index and return the first `num_results` entries after the exclusive - * `primary_key`. + * Scan the specified vector index and return the first {@code num_results} entries after the + * exclusive {@code primary_key}. */ public ScanVectorIndexResponse scanIndex(ScanVectorIndexRequest request) { return impl.scanIndex(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchIndexesService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchIndexesService.java index c54853c52..9b7618b05 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchIndexesService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/vectorsearch/VectorSearchIndexesService.java @@ -4,16 +4,21 @@ import com.databricks.sdk.support.Generated; /** - * **Index**: An efficient representation of your embedding vectors that supports real-time and + * Index: An efficient representation of your embedding vectors that supports real-time and * efficient approximate nearest neighbor (ANN) search queries. * - *

    There are 2 types of AI Search indexes: - **Delta Sync Index**: An index that automatically - * syncs with a source Delta Table, automatically and incrementally updating the index as the - * underlying data in the Delta Table changes. - **Direct Vector Access Index**: An index that - * supports direct read and write of vectors and metadata through our REST and SDK APIs. With this - * model, the user manages index updates. + *

    There are 2 types of AI Search indexes: * - *

    This is the high-level interface, that contains generated methods. + *

      + *
    • Delta Sync Index: An index that automatically syncs with a source Delta Table, + * automatically and incrementally updating the index as the underlying data in the Delta + * Table changes. + *
    • Direct Vector Access Index: An index that supports direct read and write of vectors + * and metadata through our REST and SDK APIs. With this model, the user manages index + * updates. + *
    + * + * This is the high-level interface, that contains generated methods. * *

    Evolving: this interface is under development. Method signatures may change. */ @@ -39,15 +44,15 @@ DeleteDataVectorIndexResponse deleteDataVectorIndex( QueryVectorIndexResponse queryIndex(QueryVectorIndexRequest queryVectorIndexRequest); /** - * Use `next_page_token` returned from previous `QueryVectorIndex` or `QueryVectorIndexNextPage` - * request to fetch next page of results. + * Use {@code next_page_token} returned from previous {@code QueryVectorIndex} or {@code + * QueryVectorIndexNextPage} request to fetch next page of results. */ QueryVectorIndexResponse queryNextPage( QueryVectorIndexNextPageRequest queryVectorIndexNextPageRequest); /** - * Scan the specified vector index and return the first `num_results` entries after the exclusive - * `primary_key`. + * Scan the specified vector index and return the first {@code num_results} entries after the + * exclusive {@code primary_key}. */ ScanVectorIndexResponse scanIndex(ScanVectorIndexRequest scanVectorIndexRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/AzureKeyVaultSecretScopeMetadata.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/AzureKeyVaultSecretScopeMetadata.java index d2ec8ea6b..bd072cbde 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/AzureKeyVaultSecretScopeMetadata.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/AzureKeyVaultSecretScopeMetadata.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** The metadata of the Azure KeyVault for a secret scope of type `AZURE_KEYVAULT` */ +/** The metadata of the Azure KeyVault for a secret scope of type {@code AZURE_KEYVAULT} */ @Generated public class AzureKeyVaultSecretScopeMetadata { /** The DNS of the KeyVault */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateCredentialsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateCredentialsRequest.java index b1f825429..4a0eb207f 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateCredentialsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateCredentialsRequest.java @@ -11,7 +11,7 @@ public class CreateCredentialsRequest { /** * The authenticating email associated with your Git provider user account. Used for - * authentication with the remote repository and also sets the author & committer identity for + * authentication with the remote repository and also sets the author & committer identity for * commits. Required for most Git providers except AWS CodeCommit. Learn more at * https://docs.databricks.com/aws/en/repos/get-access-tokens-from-git-provider */ @@ -19,20 +19,20 @@ public class CreateCredentialsRequest { private String gitEmail; /** - * Git provider. This field is case-insensitive. The available Git providers are `gitHub`, - * `bitbucketCloud`, `gitLab`, `azureDevOpsServices` (Azure DevOps Services, including Microsoft - * Entra ID authentication), `gitHubEnterprise`, `bitbucketServer` (Bitbucket Data Center), - * `gitLabEnterpriseEdition` (GitLab Self-Managed), and `awsCodeCommit` (deprecated by AWS, not - * accepting new customers). + * Git provider. This field is case-insensitive. The available Git providers are {@code gitHub}, + * {@code bitbucketCloud}, {@code gitLab}, {@code azureDevOpsServices} (Azure DevOps Services, + * including Microsoft Entra ID authentication), {@code gitHubEnterprise}, {@code bitbucketServer} + * (Bitbucket Data Center), {@code gitLabEnterpriseEdition} (GitLab Self-Managed), and {@code + * awsCodeCommit} (deprecated by AWS, not accepting new customers). */ @JsonProperty("git_provider") private String gitProvider; /** * The username provided with your Git provider account and associated with the credential. For - * most Git providers it is only used to set the Git committer & author names for commits, however - * it may be required for authentication depending on your Git provider / token requirements. - * Required for AWS CodeCommit. + * most Git providers it is only used to set the Git committer & author names for commits, + * however it may be required for authentication depending on your Git provider / token + * requirements. Required for AWS CodeCommit. */ @JsonProperty("git_username") private String gitUsername; @@ -47,9 +47,9 @@ public class CreateCredentialsRequest { /** * The personal access token used to authenticate to the corresponding Git provider. For certain - * providers, support may exist for other types of scoped access tokens. [Learn more]. - * - *

    [Learn more]: https://docs.databricks.com/repos/get-access-tokens-from-git-provider.html + * providers, support may exist for other types of scoped access tokens. Learn + * more. */ @JsonProperty("personal_access_token") private String personalAccessToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateCredentialsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateCredentialsResponse.java index d29f062ec..543648ff0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateCredentialsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateCredentialsResponse.java @@ -15,7 +15,7 @@ public class CreateCredentialsResponse { /** * The authenticating email associated with your Git provider user account. Used for - * authentication with the remote repository and also sets the author & committer identity for + * authentication with the remote repository and also sets the author & committer identity for * commits. Required for most Git providers except AWS CodeCommit. Learn more at * https://docs.databricks.com/aws/en/repos/get-access-tokens-from-git-provider */ @@ -28,9 +28,9 @@ public class CreateCredentialsResponse { /** * The username provided with your Git provider account and associated with the credential. For - * most Git providers it is only used to set the Git committer & author names for commits, however - * it may be required for authentication depending on your Git provider / token requirements. - * Required for AWS CodeCommit. + * most Git providers it is only used to set the Git committer & author names for commits, + * however it may be required for authentication depending on your Git provider / token + * requirements. Required for AWS CodeCommit. */ @JsonProperty("git_username") private String gitUsername; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateRepoRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateRepoRequest.java index b9b3846bd..7a873401c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateRepoRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateRepoRequest.java @@ -11,17 +11,18 @@ public class CreateRepoRequest { /** * Desired path for the repo in the workspace. Almost any path in the workspace can be chosen. If - * repo is created in `/Repos`, path must be in the format `/Repos/{folder}/{repo-name}`. + * repo is created in {@code /Repos}, path must be in the format {@code + * /Repos/{folder}/{repo-name}}. */ @JsonProperty("path") private String path; /** - * Git provider. This field is case-insensitive. The available Git providers are `gitHub`, - * `bitbucketCloud`, `gitLab`, `azureDevOpsServices` (Azure DevOps Services, including Microsoft - * Entra ID authentication), `gitHubEnterprise`, `bitbucketServer` (Bitbucket Data Center), - * `gitLabEnterpriseEdition` (GitLab Self-Managed), and `awsCodeCommit` (deprecated by AWS, not - * accepting new customers). + * Git provider. This field is case-insensitive. The available Git providers are {@code gitHub}, + * {@code bitbucketCloud}, {@code gitLab}, {@code azureDevOpsServices} (Azure DevOps Services, + * including Microsoft Entra ID authentication), {@code gitHubEnterprise}, {@code bitbucketServer} + * (Bitbucket Data Center), {@code gitLabEnterpriseEdition} (GitLab Self-Managed), and {@code + * awsCodeCommit} (deprecated by AWS, not accepting new customers). */ @JsonProperty("provider") private String provider; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateRepoResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateRepoResponse.java index 75122edce..3e9b00043 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateRepoResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateRepoResponse.java @@ -26,9 +26,9 @@ public class CreateRepoResponse { private String path; /** - * Git provider of the linked Git repository, e.g. `gitHub`, `azureDevOpsServices`, - * `bitbucketServer` (Bitbucket Data Center), `gitLabEnterpriseEdition` (GitLab Self-Managed), or - * `awsCodeCommit` (deprecated). + * Git provider of the linked Git repository, e.g. {@code gitHub}, {@code azureDevOpsServices}, + * {@code bitbucketServer} (Bitbucket Data Center), {@code gitLabEnterpriseEdition} (GitLab + * Self-Managed), or {@code awsCodeCommit} (deprecated). */ @JsonProperty("provider") private String provider; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateScope.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateScope.java index b66751139..a167b5720 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateScope.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CreateScope.java @@ -9,11 +9,11 @@ @Generated public class CreateScope { - /** The metadata for the secret scope if the type is ``AZURE_KEYVAULT`` */ + /** The metadata for the secret scope if the type is {@code AZURE_KEYVAULT} */ @JsonProperty("backend_azure_keyvault") private AzureKeyVaultSecretScopeMetadata backendAzureKeyvault; - /** The principal that is initially granted ``MANAGE`` permission to the created scope. */ + /** The principal that is initially granted {@code MANAGE} permission to the created scope. */ @JsonProperty("initial_manage_principal") private String initialManagePrincipal; @@ -22,8 +22,8 @@ public class CreateScope { private String scope; /** - * The backend type the scope will be created with. If not specified, will default to - * ``DATABRICKS`` + * The backend type the scope will be created with. If not specified, will default to {@code + * DATABRICKS} */ @JsonProperty("scope_backend_type") private ScopeBackendType scopeBackendType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CredentialInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CredentialInfo.java index 33a0fe173..ea3520d05 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CredentialInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/CredentialInfo.java @@ -15,7 +15,7 @@ public class CredentialInfo { /** * The authenticating email associated with your Git provider user account. Used for - * authentication with the remote repository and also sets the author & committer identity for + * authentication with the remote repository and also sets the author & committer identity for * commits. Required for most Git providers except AWS CodeCommit. Learn more at * https://docs.databricks.com/aws/en/repos/get-access-tokens-from-git-provider */ @@ -23,19 +23,19 @@ public class CredentialInfo { private String gitEmail; /** - * The Git provider associated with the credential. One of `gitHub`, `bitbucketCloud`, `gitLab`, - * `azureDevOpsServices` (Azure DevOps Services, including Microsoft Entra ID authentication), - * `gitHubEnterprise`, `bitbucketServer` (Bitbucket Data Center), `gitLabEnterpriseEdition` - * (GitLab Self-Managed), or `awsCodeCommit` (deprecated). + * The Git provider associated with the credential. One of {@code gitHub}, {@code bitbucketCloud}, + * {@code gitLab}, {@code azureDevOpsServices} (Azure DevOps Services, including Microsoft Entra + * ID authentication), {@code gitHubEnterprise}, {@code bitbucketServer} (Bitbucket Data Center), + * {@code gitLabEnterpriseEdition} (GitLab Self-Managed), or {@code awsCodeCommit} (deprecated). */ @JsonProperty("git_provider") private String gitProvider; /** * The username provided with your Git provider account and associated with the credential. For - * most Git providers it is only used to set the Git committer & author names for commits, however - * it may be required for authentication depending on your Git provider / token requirements. - * Required for AWS CodeCommit. + * most Git providers it is only used to set the Git committer & author names for commits, + * however it may be required for authentication depending on your Git provider / token + * requirements. Required for AWS CodeCommit. */ @JsonProperty("git_username") private String gitUsername; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/Delete.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/Delete.java index 8608d5880..5d1ec91ca 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/Delete.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/Delete.java @@ -14,9 +14,9 @@ public class Delete { private String path; /** - * The flag that specifies whether to delete the object recursively. It is `false` by default. - * Please note this deleting directory is not atomic. If it fails in the middle, some of objects - * under this directory may be deleted and cannot be undone. + * The flag that specifies whether to delete the object recursively. It is {@code false} by + * default. Please note this deleting directory is not atomic. If it fails in the middle, some of + * objects under this directory may be deleted and cannot be undone. */ @JsonProperty("recursive") private Boolean recursive; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ExportRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ExportRequest.java index fd4ef88fc..d15412887 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ExportRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ExportRequest.java @@ -11,17 +11,21 @@ @Generated public class ExportRequest { /** - * This specifies the format of the exported file. By default, this is `SOURCE`. + * This specifies the format of the exported file. By default, this is {@code SOURCE}. * *

    The value is case sensitive. * - *

    - `SOURCE`: The notebook is exported as source code. Directory exports will not include - * non-notebook entries. - `HTML`: The notebook is exported as an HTML file. - `JUPYTER`: The - * notebook is exported as a Jupyter/IPython Notebook file. - `DBC`: The notebook is exported in - * Databricks archive format. Directory exports will not include non-notebook entries. - - * `R_MARKDOWN`: The notebook is exported to R Markdown format. - `AUTO`: The object or directory - * is exported depending on the objects type. Directory exports will include notebooks and - * workspace files. + *

      + *
    • {@code SOURCE}: The notebook is exported as source code. Directory exports will not + * include non-notebook entries. + *
    • {@code HTML}: The notebook is exported as an HTML file. + *
    • {@code JUPYTER}: The notebook is exported as a Jupyter/IPython Notebook file. + *
    • {@code DBC}: The notebook is exported in Databricks archive format. Directory exports + * will not include non-notebook entries. + *
    • {@code R_MARKDOWN}: The notebook is exported to R Markdown format. + *
    • {@code AUTO}: The object or directory is exported depending on the objects type. + * Directory exports will include notebooks and workspace files. + *
    */ @JsonIgnore @QueryParam("format") @@ -29,7 +33,7 @@ public class ExportRequest { /** * The absolute path of the object or directory. Exporting a directory is only supported for the - * `DBC`, `SOURCE`, and `AUTO` format. + * {@code DBC}, {@code SOURCE}, and {@code AUTO} format. */ @JsonIgnore @QueryParam("path") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ExportResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ExportResponse.java index 61360554b..873fdb7e3 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ExportResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ExportResponse.java @@ -8,14 +8,14 @@ import java.util.Objects; /** - * The request field `direct_download` determines whether a JSON response or binary contents are - * returned by this endpoint. + * The request field {@code direct_download} determines whether a JSON response or binary contents + * are returned by this endpoint. */ @Generated public class ExportResponse { /** * The base64-encoded content. If the limit (10MB) is exceeded, exception with error code - * **MAX_NOTEBOOK_SIZE_EXCEEDED** is thrown. + * MAX_NOTEBOOK_SIZE_EXCEEDED is thrown. */ @JsonProperty("content") private String content; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetCredentialsResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetCredentialsResponse.java index d862a7873..d0506f9f6 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetCredentialsResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetCredentialsResponse.java @@ -15,7 +15,7 @@ public class GetCredentialsResponse { /** * The authenticating email associated with your Git provider user account. Used for - * authentication with the remote repository and also sets the author & committer identity for + * authentication with the remote repository and also sets the author & committer identity for * commits. Required for most Git providers except AWS CodeCommit. Learn more at * https://docs.databricks.com/aws/en/repos/get-access-tokens-from-git-provider */ @@ -28,9 +28,9 @@ public class GetCredentialsResponse { /** * The username provided with your Git provider account and associated with the credential. For - * most Git providers it is only used to set the Git committer & author names for commits, however - * it may be required for authentication depending on your Git provider / token requirements. - * Required for AWS CodeCommit. + * most Git providers it is only used to set the Git committer & author names for commits, + * however it may be required for authentication depending on your Git provider / token + * requirements. Required for AWS CodeCommit. */ @JsonProperty("git_username") private String gitUsername; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetRepoResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetRepoResponse.java index 3879deccb..84049372e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetRepoResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GetRepoResponse.java @@ -26,9 +26,9 @@ public class GetRepoResponse { private String path; /** - * Git provider of the linked Git repository, e.g. `gitHub`, `azureDevOpsServices`, - * `bitbucketServer` (Bitbucket Data Center), `gitLabEnterpriseEdition` (GitLab Self-Managed), or - * `awsCodeCommit` (deprecated). + * Git provider of the linked Git repository, e.g. {@code gitHub}, {@code azureDevOpsServices}, + * {@code bitbucketServer} (Bitbucket Data Center), {@code gitLabEnterpriseEdition} (GitLab + * Self-Managed), or {@code awsCodeCommit} (deprecated). */ @JsonProperty("provider") private String provider; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GitCredentialsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GitCredentialsAPI.java index 07f0d9af3..ed7f7b1ee 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GitCredentialsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GitCredentialsAPI.java @@ -10,9 +10,8 @@ /** * Registers personal access token for Databricks to do operations on behalf of the user. * - *

    See [more info]. - * - *

    [more info]: https://docs.databricks.com/repos/get-access-tokens-from-git-provider.html + *

    See more + * info. */ @Generated public class GitCredentialsAPI { diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GitCredentialsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GitCredentialsService.java index d3f0d5bf1..90f49c708 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GitCredentialsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/GitCredentialsService.java @@ -6,9 +6,8 @@ /** * Registers personal access token for Databricks to do operations on behalf of the user. * - *

    See [more info]. - * - *

    [more info]: https://docs.databricks.com/repos/get-access-tokens-from-git-provider.html + *

    See more + * info. * *

    This is the high-level interface, that contains generated methods. * diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/Import.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/Import.java index ee39ba51d..1914fd77a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/Import.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/Import.java @@ -12,8 +12,8 @@ public class Import { /** * The base64-encoded content. This has a limit of 10 MB. * - *

    If the limit (10MB) is exceeded, exception with error code **MAX_NOTEBOOK_SIZE_EXCEEDED** is - * thrown. This parameter might be absent, and instead a posted file is used. + *

    If the limit (10MB) is exceeded, exception with error code MAX_NOTEBOOK_SIZE_EXCEEDED + * is thrown. This parameter might be absent, and instead a posted file is used. */ @JsonProperty("content") private String content; @@ -23,31 +23,35 @@ public class Import { * *

    The value is case sensitive. * - *

    - `AUTO`: The item is imported depending on an analysis of the item's extension and the - * header content provided in the request. If the item is imported as a notebook, then the item's - * extension is automatically removed. - `SOURCE`: The notebook or directory is imported as source - * code. - `HTML`: The notebook is imported as an HTML file. - `JUPYTER`: The notebook is imported - * as a Jupyter/IPython Notebook file. - `DBC`: The notebook is imported in Databricks archive - * format. Required for directories. - `R_MARKDOWN`: The notebook is imported from R Markdown - * format. + *

      + *
    • {@code AUTO}: The item is imported depending on an analysis of the item's extension and + * the header content provided in the request. If the item is imported as a notebook, then + * the item's extension is automatically removed. + *
    • {@code SOURCE}: The notebook or directory is imported as source code. + *
    • {@code HTML}: The notebook is imported as an HTML file. + *
    • {@code JUPYTER}: The notebook is imported as a Jupyter/IPython Notebook file. + *
    • {@code DBC}: The notebook is imported in Databricks archive format. Required for + * directories. + *
    • {@code R_MARKDOWN}: The notebook is imported from R Markdown format. + *
    */ @JsonProperty("format") private ImportFormat format; - /** The language of the object. This value is set only if the object type is `NOTEBOOK`. */ + /** The language of the object. This value is set only if the object type is {@code NOTEBOOK}. */ @JsonProperty("language") private Language language; /** - * The flag that specifies whether to overwrite existing object. It is `false` by default. For - * `DBC` format, `overwrite` is not supported since it may contain a directory. + * The flag that specifies whether to overwrite existing object. It is {@code false} by default. + * For {@code DBC} format, {@code overwrite} is not supported since it may contain a directory. */ @JsonProperty("overwrite") private Boolean overwrite; /** * The absolute path of the object or directory. Importing a directory is only supported for the - * `DBC` and `SOURCE` formats. + * {@code DBC} and {@code SOURCE} formats. */ @JsonProperty("path") private String path; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListReposRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListReposRequest.java index 74ce32ada..546ef979d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListReposRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListReposRequest.java @@ -20,8 +20,8 @@ public class ListReposRequest { /** * Filters repos that have paths starting with the given path prefix. If not provided or when - * provided an effectively empty prefix (`/` or `/Workspace`) Git folders (repos) from - * `/Workspace/Repos` will be served. + * provided an effectively empty prefix ({@code /} or {@code /Workspace}) Git folders (repos) from + * {@code /Workspace/Repos} will be served. */ @JsonIgnore @QueryParam("path_prefix") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListReposResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListReposResponse.java index 70fd94ae8..0793b8b02 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListReposResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ListReposResponse.java @@ -11,8 +11,8 @@ @Generated public class ListReposResponse { /** - * Token that can be specified as a query parameter to the `GET /repos` endpoint to retrieve the - * next page of results. + * Token that can be specified as a query parameter to the {@code GET /repos} endpoint to retrieve + * the next page of results. */ @JsonProperty("next_page_token") private String nextPageToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ObjectInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ObjectInfo.java index d955fa42d..6c48debec 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ObjectInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ObjectInfo.java @@ -8,7 +8,8 @@ import java.util.Objects; /** - * The information of the object in workspace. It will be returned by ``list`` and ``get-status``. + * The information of the object in workspace. It will be returned by {@code list} and {@code + * get-status}. */ @Generated public class ObjectInfo { @@ -17,8 +18,8 @@ public class ObjectInfo { private Long createdAt; /** - * The language of the object. This value is set only if the object type is ``NOTEBOOK``. For - * Jupyter (.ipynb) notebooks, this is always ``PYTHON``. + * The language of the object. This value is set only if the object type is {@code NOTEBOOK}. For + * Jupyter (.ipynb) notebooks, this is always {@code PYTHON}. */ @JsonProperty("language") private Language language; @@ -34,9 +35,15 @@ public class ObjectInfo { /** * The type of the object in workspace. * - *

    - `NOTEBOOK`: document that contains runnable code, visualizations, and explanatory text. - - * `DIRECTORY`: directory - `LIBRARY`: library - `FILE`: file - `REPO`: repository - `DASHBOARD`: - * Lakeview dashboard + *

      + *
    • {@code NOTEBOOK}: document that contains runnable code, visualizations, and explanatory + * text. + *
    • {@code DIRECTORY}: directory + *
    • {@code LIBRARY}: library + *
    • {@code FILE}: file + *
    • {@code REPO}: repository + *
    • {@code DASHBOARD}: Lakeview dashboard + *
    */ @JsonProperty("object_type") private ObjectType objectType; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/RepoInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/RepoInfo.java index 529e2427e..c75205ed0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/RepoInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/RepoInfo.java @@ -27,9 +27,9 @@ public class RepoInfo { private String path; /** - * Git provider of the remote git repository, e.g. `gitHub`, `azureDevOpsServices`, - * `bitbucketServer` (Bitbucket Data Center), `gitLabEnterpriseEdition` (GitLab Self-Managed), or - * `awsCodeCommit` (deprecated). + * Git provider of the remote git repository, e.g. {@code gitHub}, {@code azureDevOpsServices}, + * {@code bitbucketServer} (Bitbucket Data Center), {@code gitLabEnterpriseEdition} (GitLab + * Self-Managed), or {@code awsCodeCommit} (deprecated). */ @JsonProperty("provider") private String provider; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ReposAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ReposAPI.java index ca8395897..bc4454073 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ReposAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ReposAPI.java @@ -82,8 +82,8 @@ public RepoPermissions getPermissions(GetRepoPermissionsRequest request) { } /** - * Returns repos that the calling user has Manage permissions on. Use `next_page_token` to iterate - * through additional pages. + * Returns repos that the calling user has Manage permissions on. Use {@code next_page_token} to + * iterate through additional pages. */ public Iterable list(ListReposRequest request) { return Paginator.newTokenPagination( diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ReposService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ReposService.java index d122657ee..be0244002 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ReposService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/ReposService.java @@ -42,8 +42,8 @@ GetRepoPermissionLevelsResponse getPermissionLevels( RepoPermissions getPermissions(GetRepoPermissionsRequest getRepoPermissionsRequest); /** - * Returns repos that the calling user has Manage permissions on. Use `next_page_token` to iterate - * through additional pages. + * Returns repos that the calling user has Manage permissions on. Use {@code next_page_token} to + * iterate through additional pages. */ ListReposResponse list(ListReposRequest listReposRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretScope.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretScope.java index 35c00938d..f20a7e567 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretScope.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretScope.java @@ -18,7 +18,7 @@ public class SecretScope { @JsonProperty("backend_type") private ScopeBackendType backendType; - /** The metadata for the secret scope if the type is ``AZURE_KEYVAULT`` */ + /** The metadata for the secret scope if the type is {@code AZURE_KEYVAULT} */ @JsonProperty("keyvault_metadata") private AzureKeyVaultSecretScopeMetadata keyvaultMetadata; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretsAPI.java index a87b05966..cd573b164 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretsAPI.java @@ -45,29 +45,32 @@ public SecretsAPI(SecretsService mock) { *

    .. code:: * *

    { "scope": "my-simple-databricks-scope", "initial_manage_principal": "users" - * "scope_backend_type": "databricks|azure_keyvault", # below is only required if scope type is - * azure_keyvault "backend_azure_keyvault": { "resource_id": + * "scope_backend_type": "databricks|azure_keyvault", + * + *

    below is only required if scope type is azure_keyvault + * + *

    "backend_azure_keyvault": { "resource_id": * "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/xxxx/providers/Microsoft.KeyVault/vaults/xxxx", * "tenant_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "dns_name": * "https://xxxx.vault.azure.net/", } } * - *

    If ``initial_manage_principal`` is specified, the initial ACL applied to the scope is - * applied to the supplied principal (user or group) with ``MANAGE`` permissions. The only - * supported principal for this option is the group ``users``, which contains all users in the - * workspace. If ``initial_manage_principal`` is not specified, the initial ACL with ``MANAGE`` - * permission applied to the scope is assigned to the API request issuer's user identity. - * - *

    If ``scope_backend_type`` is ``azure_keyvault``, a secret scope is created with secrets from - * a given Azure KeyVault. The caller must provide the keyvault_resource_id and the tenant_id for - * the key vault. If ``scope_backend_type`` is ``databricks`` or is unspecified, an empty secret - * scope is created and stored in Databricks's own storage. - * - *

    Throws ``RESOURCE_ALREADY_EXISTS`` if a scope with the given name already exists. Throws - * ``RESOURCE_LIMIT_EXCEEDED`` if maximum number of scopes in the workspace is exceeded. Throws - * ``INVALID_PARAMETER_VALUE`` if the scope name is invalid. Throws ``BAD_REQUEST`` if request - * violated constraints. Throws ``CUSTOMER_UNAUTHORIZED`` if normal user attempts to create a - * scope with name reserved for databricks internal usage. Throws ``UNAUTHENTICATED`` if unable to - * verify user access permission on Azure KeyVault + *

    If {@code initial_manage_principal} is specified, the initial ACL applied to the scope is + * applied to the supplied principal (user or group) with {@code MANAGE} permissions. The only + * supported principal for this option is the group {@code users}, which contains all users in the + * workspace. If {@code initial_manage_principal} is not specified, the initial ACL with {@code + * MANAGE} permission applied to the scope is assigned to the API request issuer's user identity. + * + *

    If {@code scope_backend_type} is {@code azure_keyvault}, a secret scope is created with + * secrets from a given Azure KeyVault. The caller must provide the keyvault_resource_id and the + * tenant_id for the key vault. If {@code scope_backend_type} is {@code databricks} or is + * unspecified, an empty secret scope is created and stored in Databricks's own storage. + * + *

    Throws {@code RESOURCE_ALREADY_EXISTS} if a scope with the given name already exists. Throws + * {@code RESOURCE_LIMIT_EXCEEDED} if maximum number of scopes in the workspace is exceeded. + * Throws {@code INVALID_PARAMETER_VALUE} if the scope name is invalid. Throws {@code BAD_REQUEST} + * if request violated constraints. Throws {@code CUSTOMER_UNAUTHORIZED} if normal user attempts + * to create a scope with name reserved for databricks internal usage. Throws {@code + * UNAUTHENTICATED} if unable to verify user access permission on Azure KeyVault */ public void createScope(CreateScope request) { impl.createScope(request); @@ -76,7 +79,7 @@ public void createScope(CreateScope request) { /** * Deletes the given ACL on the given scope. * - *

    Users must have the ``MANAGE`` permission to invoke this API. + *

    Users must have the {@code MANAGE} permission to invoke this API. * *

    Example request: * @@ -84,9 +87,9 @@ public void createScope(CreateScope request) { * *

    { "scope": "my-secret-scope", "principal": "data-scientists" } * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret scope, principal, or ACL exists. Throws - * ``PERMISSION_DENIED`` if the user does not have permission to make this API call. Throws - * ``INVALID_PARAMETER_VALUE`` if the permission or principal is invalid. + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret scope, principal, or ACL exists. + * Throws {@code PERMISSION_DENIED} if the user does not have permission to make this API call. + * Throws {@code INVALID_PARAMETER_VALUE} if the permission or principal is invalid. */ public void deleteAcl(DeleteAcl request) { impl.deleteAcl(request); @@ -105,16 +108,16 @@ public void deleteScope(String scope) { * *

    { "scope": "my-secret-scope" } * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if the scope does not exist. Throws ``PERMISSION_DENIED`` - * if the user does not have permission to make this API call. Throws ``BAD_REQUEST`` if system - * user attempts to delete internal secret scope. + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if the scope does not exist. Throws {@code + * PERMISSION_DENIED} if the user does not have permission to make this API call. Throws {@code + * BAD_REQUEST} if system user attempts to delete internal secret scope. */ public void deleteScope(DeleteScope request) { impl.deleteScope(request); } /** - * Deletes the secret stored in this secret scope. You must have ``WRITE`` or ``MANAGE`` + * Deletes the secret stored in this secret scope. You must have {@code WRITE} or {@code MANAGE} * permission on the Secret Scope. * *

    Example request: @@ -123,9 +126,9 @@ public void deleteScope(DeleteScope request) { * *

    { "scope": "my-secret-scope", "key": "my-secret-key" } * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret scope or secret exists. Throws - * ``PERMISSION_DENIED`` if the user does not have permission to make this API call. Throws - * ``BAD_REQUEST`` if system user attempts to delete an internal secret, or request is made + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret scope or secret exists. Throws + * {@code PERMISSION_DENIED} if the user does not have permission to make this API call. Throws + * {@code BAD_REQUEST} if system user attempts to delete an internal secret, or request is made * against Azure KeyVault backed scope. */ public void deleteSecret(DeleteSecret request) { @@ -139,7 +142,7 @@ public AclItem getAcl(String scope, String principal) { /** * Describes the details about the given ACL, such as the group and permission. * - *

    Users must have the ``MANAGE`` permission to invoke this API. + *

    Users must have the {@code MANAGE} permission to invoke this API. * *

    Example response: * @@ -147,9 +150,9 @@ public AclItem getAcl(String scope, String principal) { * *

    { "principal": "data-scientists", "permission": "READ" } * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret scope exists. Throws - * ``PERMISSION_DENIED`` if the user does not have permission to make this API call. Throws - * ``INVALID_PARAMETER_VALUE`` if the permission or principal is invalid. + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret scope exists. Throws {@code + * PERMISSION_DENIED} if the user does not have permission to make this API call. Throws {@code + * INVALID_PARAMETER_VALUE} if the permission or principal is invalid. */ public AclItem getAcl(GetAclRequest request) { return impl.getAcl(request); @@ -172,18 +175,18 @@ public GetSecretResponse getSecret(String scope, String key) { *

    Note that the secret value returned is in bytes. The interpretation of the bytes is * determined by the caller in DBUtils and the type the data is decoded into. * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret or secret scope exists. Throws - * ``PERMISSION_DENIED`` if the user does not have permission to make this API call. + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret or secret scope exists. Throws + * {@code PERMISSION_DENIED} if the user does not have permission to make this API call. * *

    Note: This is explicitly an undocumented API. It also doesn't need to be supported for the * /preview prefix, because it's not a customer-facing API (i.e. only used for DBUtils SecretUtils * to fetch secrets). * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret scope or secret exists. Throws - * ``BAD_REQUEST`` if normal user calls get secret outside of a notebook. AKV specific errors: - * Throws ``INVALID_PARAMETER_VALUE`` if secret name is not alphanumeric or too long. Throws - * ``PERMISSION_DENIED`` if secret manager cannot access AKV with 403 error Throws - * ``MALFORMED_REQUEST`` if secret manager cannot access AKV with any other 4xx error + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret scope or secret exists. Throws + * {@code BAD_REQUEST} if normal user calls get secret outside of a notebook. AKV specific errors: + * Throws {@code INVALID_PARAMETER_VALUE} if secret name is not alphanumeric or too long. Throws + * {@code PERMISSION_DENIED} if secret manager cannot access AKV with 403 error Throws {@code + * MALFORMED_REQUEST} if secret manager cannot access AKV with any other 4xx error */ public GetSecretResponse getSecret(GetSecretRequest request) { return impl.getSecret(request); @@ -196,7 +199,7 @@ public Iterable listAcls(String scope) { /** * Lists the ACLs set on the given scope. * - *

    Users must have the ``MANAGE`` permission to invoke this API. + *

    Users must have the {@code MANAGE} permission to invoke this API. * *

    Example response: * @@ -205,8 +208,8 @@ public Iterable listAcls(String scope) { *

    { "acls": [{ "principal": "admins", "permission": "MANAGE" },{ "principal": * "data-scientists", "permission": "READ" }] } * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret scope exists. Throws - * ``PERMISSION_DENIED`` if the user does not have permission to make this API call. + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret scope exists. Throws {@code + * PERMISSION_DENIED} if the user does not have permission to make this API call. */ public Iterable listAcls(ListAclsRequest request) { return Paginator.newOffsetPagination( @@ -223,7 +226,7 @@ public Iterable listAcls(ListAclsRequest request) { *

    { "scopes": [{ "name": "my-databricks-scope", "backend_type": "DATABRICKS" },{ "name": * "mount-points", "backend_type": "DATABRICKS" }] } * - *

    Throws ``PERMISSION_DENIED`` if the user does not have permission to make this API call. + *

    Throws {@code PERMISSION_DENIED} if the user does not have permission to make this API call. */ public Iterable listScopes() { return Paginator.newOffsetPagination( @@ -247,8 +250,8 @@ public Iterable listSecrets(String scope) { * *

    The lastUpdatedTimestamp returned is in milliseconds since epoch. * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret scope exists. Throws - * ``PERMISSION_DENIED`` if the user does not have permission to make this API call. + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret scope exists. Throws {@code + * PERMISSION_DENIED} if the user does not have permission to make this API call. */ public Iterable listSecrets(ListSecretsRequest request) { return Paginator.newOffsetPagination( @@ -260,16 +263,18 @@ public Iterable listSecrets(ListSecretsRequest request) { * specified scope point. In general, a user or group will use the most powerful permission * available to them, and permissions are ordered as follows: * - *

    * ``MANAGE`` - Allowed to change ACLs, and read and write to this secret scope. * ``WRITE`` - * - Allowed to read and write to this secret scope. * ``READ`` - Allowed to read this secret - * scope and list what secrets are available. + *

      + *
    • {@code MANAGE} - Allowed to change ACLs, and read and write to this secret scope. + *
    • {@code WRITE} - Allowed to read and write to this secret scope. + *
    • {@code READ} - Allowed to read this secret scope and list what secrets are available. + *
    * *

    Note that in general, secret values can only be read from within a command on a cluster (for * example, through a notebook). There is no API to read the actual secret value material outside * of a cluster. However, the user's permission will be applied based on who is executing the * command, and they must have at least READ permission. * - *

    Users must have the ``MANAGE`` permission to invoke this API. + *

    Users must have the {@code MANAGE} permission to invoke this API. * *

    Example request: * @@ -280,10 +285,10 @@ public Iterable listSecrets(ListSecretsRequest request) { *

    The principal is a user or group name corresponding to an existing Databricks principal to * be granted or revoked access. * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret scope exists. Throws - * ``RESOURCE_ALREADY_EXISTS`` if a permission for the principal already exists. Throws - * ``INVALID_PARAMETER_VALUE`` if the permission or principal is invalid. Throws - * ``PERMISSION_DENIED`` if the user does not have permission to make this API call. + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret scope exists. Throws {@code + * RESOURCE_ALREADY_EXISTS} if a permission for the principal already exists. Throws {@code + * INVALID_PARAMETER_VALUE} if the permission or principal is invalid. Throws {@code + * PERMISSION_DENIED} if the user does not have permission to make this API call. */ public void putAcl(PutAcl request) { impl.putAcl(request); @@ -292,8 +297,8 @@ public void putAcl(PutAcl request) { /** * Inserts a secret under the provided scope with the given name. If a secret already exists with * the same name, this command overwrites the existing secret's value. The server encrypts the - * secret using the secret scope's encryption settings before storing it. You must have ``WRITE`` - * or ``MANAGE`` permission on the secret scope. + * secret using the secret scope's encryption settings before storing it. You must have {@code + * WRITE} or {@code MANAGE} permission on the secret scope. * *

    The secret key must consist of alphanumeric characters, dashes, underscores, and periods, * and cannot exceed 128 characters. The maximum allowed secret value size is 128 KB. The maximum @@ -308,12 +313,12 @@ public void putAcl(PutAcl request) { *

    The input fields "string_value" or "bytes_value" specify the type of the secret, which will * determine the value returned when the secret value is requested. Exactly one must be specified. * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret scope exists. Throws - * ``RESOURCE_LIMIT_EXCEEDED`` if maximum number of secrets in scope is exceeded. Throws - * ``INVALID_PARAMETER_VALUE`` if the request parameters are invalid. Throws ``PERMISSION_DENIED`` - * if the user does not have permission to make this API call. Throws ``MALFORMED_REQUEST`` if - * request is incorrectly formatted or conflicting. Throws ``BAD_REQUEST`` if request is made - * against Azure KeyVault backed scope. + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret scope exists. Throws {@code + * RESOURCE_LIMIT_EXCEEDED} if maximum number of secrets in scope is exceeded. Throws {@code + * INVALID_PARAMETER_VALUE} if the request parameters are invalid. Throws {@code + * PERMISSION_DENIED} if the user does not have permission to make this API call. Throws {@code + * MALFORMED_REQUEST} if request is incorrectly formatted or conflicting. Throws {@code + * BAD_REQUEST} if request is made against Azure KeyVault backed scope. */ public void putSecret(PutSecret request) { impl.putSecret(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretsService.java index d189d8f7e..06a7e7c9d 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SecretsService.java @@ -31,36 +31,39 @@ public interface SecretsService { *

    .. code:: * *

    { "scope": "my-simple-databricks-scope", "initial_manage_principal": "users" - * "scope_backend_type": "databricks|azure_keyvault", # below is only required if scope type is - * azure_keyvault "backend_azure_keyvault": { "resource_id": + * "scope_backend_type": "databricks|azure_keyvault", + * + *

    below is only required if scope type is azure_keyvault + * + *

    "backend_azure_keyvault": { "resource_id": * "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/xxxx/providers/Microsoft.KeyVault/vaults/xxxx", * "tenant_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "dns_name": * "https://xxxx.vault.azure.net/", } } * - *

    If ``initial_manage_principal`` is specified, the initial ACL applied to the scope is - * applied to the supplied principal (user or group) with ``MANAGE`` permissions. The only - * supported principal for this option is the group ``users``, which contains all users in the - * workspace. If ``initial_manage_principal`` is not specified, the initial ACL with ``MANAGE`` - * permission applied to the scope is assigned to the API request issuer's user identity. - * - *

    If ``scope_backend_type`` is ``azure_keyvault``, a secret scope is created with secrets from - * a given Azure KeyVault. The caller must provide the keyvault_resource_id and the tenant_id for - * the key vault. If ``scope_backend_type`` is ``databricks`` or is unspecified, an empty secret - * scope is created and stored in Databricks's own storage. - * - *

    Throws ``RESOURCE_ALREADY_EXISTS`` if a scope with the given name already exists. Throws - * ``RESOURCE_LIMIT_EXCEEDED`` if maximum number of scopes in the workspace is exceeded. Throws - * ``INVALID_PARAMETER_VALUE`` if the scope name is invalid. Throws ``BAD_REQUEST`` if request - * violated constraints. Throws ``CUSTOMER_UNAUTHORIZED`` if normal user attempts to create a - * scope with name reserved for databricks internal usage. Throws ``UNAUTHENTICATED`` if unable to - * verify user access permission on Azure KeyVault + *

    If {@code initial_manage_principal} is specified, the initial ACL applied to the scope is + * applied to the supplied principal (user or group) with {@code MANAGE} permissions. The only + * supported principal for this option is the group {@code users}, which contains all users in the + * workspace. If {@code initial_manage_principal} is not specified, the initial ACL with {@code + * MANAGE} permission applied to the scope is assigned to the API request issuer's user identity. + * + *

    If {@code scope_backend_type} is {@code azure_keyvault}, a secret scope is created with + * secrets from a given Azure KeyVault. The caller must provide the keyvault_resource_id and the + * tenant_id for the key vault. If {@code scope_backend_type} is {@code databricks} or is + * unspecified, an empty secret scope is created and stored in Databricks's own storage. + * + *

    Throws {@code RESOURCE_ALREADY_EXISTS} if a scope with the given name already exists. Throws + * {@code RESOURCE_LIMIT_EXCEEDED} if maximum number of scopes in the workspace is exceeded. + * Throws {@code INVALID_PARAMETER_VALUE} if the scope name is invalid. Throws {@code BAD_REQUEST} + * if request violated constraints. Throws {@code CUSTOMER_UNAUTHORIZED} if normal user attempts + * to create a scope with name reserved for databricks internal usage. Throws {@code + * UNAUTHENTICATED} if unable to verify user access permission on Azure KeyVault */ void createScope(CreateScope createScope); /** * Deletes the given ACL on the given scope. * - *

    Users must have the ``MANAGE`` permission to invoke this API. + *

    Users must have the {@code MANAGE} permission to invoke this API. * *

    Example request: * @@ -68,9 +71,9 @@ public interface SecretsService { * *

    { "scope": "my-secret-scope", "principal": "data-scientists" } * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret scope, principal, or ACL exists. Throws - * ``PERMISSION_DENIED`` if the user does not have permission to make this API call. Throws - * ``INVALID_PARAMETER_VALUE`` if the permission or principal is invalid. + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret scope, principal, or ACL exists. + * Throws {@code PERMISSION_DENIED} if the user does not have permission to make this API call. + * Throws {@code INVALID_PARAMETER_VALUE} if the permission or principal is invalid. */ void deleteAcl(DeleteAcl deleteAcl); @@ -83,14 +86,14 @@ public interface SecretsService { * *

    { "scope": "my-secret-scope" } * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if the scope does not exist. Throws ``PERMISSION_DENIED`` - * if the user does not have permission to make this API call. Throws ``BAD_REQUEST`` if system - * user attempts to delete internal secret scope. + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if the scope does not exist. Throws {@code + * PERMISSION_DENIED} if the user does not have permission to make this API call. Throws {@code + * BAD_REQUEST} if system user attempts to delete internal secret scope. */ void deleteScope(DeleteScope deleteScope); /** - * Deletes the secret stored in this secret scope. You must have ``WRITE`` or ``MANAGE`` + * Deletes the secret stored in this secret scope. You must have {@code WRITE} or {@code MANAGE} * permission on the Secret Scope. * *

    Example request: @@ -99,9 +102,9 @@ public interface SecretsService { * *

    { "scope": "my-secret-scope", "key": "my-secret-key" } * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret scope or secret exists. Throws - * ``PERMISSION_DENIED`` if the user does not have permission to make this API call. Throws - * ``BAD_REQUEST`` if system user attempts to delete an internal secret, or request is made + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret scope or secret exists. Throws + * {@code PERMISSION_DENIED} if the user does not have permission to make this API call. Throws + * {@code BAD_REQUEST} if system user attempts to delete an internal secret, or request is made * against Azure KeyVault backed scope. */ void deleteSecret(DeleteSecret deleteSecret); @@ -109,7 +112,7 @@ public interface SecretsService { /** * Describes the details about the given ACL, such as the group and permission. * - *

    Users must have the ``MANAGE`` permission to invoke this API. + *

    Users must have the {@code MANAGE} permission to invoke this API. * *

    Example response: * @@ -117,9 +120,9 @@ public interface SecretsService { * *

    { "principal": "data-scientists", "permission": "READ" } * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret scope exists. Throws - * ``PERMISSION_DENIED`` if the user does not have permission to make this API call. Throws - * ``INVALID_PARAMETER_VALUE`` if the permission or principal is invalid. + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret scope exists. Throws {@code + * PERMISSION_DENIED} if the user does not have permission to make this API call. Throws {@code + * INVALID_PARAMETER_VALUE} if the permission or principal is invalid. */ AclItem getAcl(GetAclRequest getAclRequest); @@ -136,25 +139,25 @@ public interface SecretsService { *

    Note that the secret value returned is in bytes. The interpretation of the bytes is * determined by the caller in DBUtils and the type the data is decoded into. * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret or secret scope exists. Throws - * ``PERMISSION_DENIED`` if the user does not have permission to make this API call. + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret or secret scope exists. Throws + * {@code PERMISSION_DENIED} if the user does not have permission to make this API call. * *

    Note: This is explicitly an undocumented API. It also doesn't need to be supported for the * /preview prefix, because it's not a customer-facing API (i.e. only used for DBUtils SecretUtils * to fetch secrets). * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret scope or secret exists. Throws - * ``BAD_REQUEST`` if normal user calls get secret outside of a notebook. AKV specific errors: - * Throws ``INVALID_PARAMETER_VALUE`` if secret name is not alphanumeric or too long. Throws - * ``PERMISSION_DENIED`` if secret manager cannot access AKV with 403 error Throws - * ``MALFORMED_REQUEST`` if secret manager cannot access AKV with any other 4xx error + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret scope or secret exists. Throws + * {@code BAD_REQUEST} if normal user calls get secret outside of a notebook. AKV specific errors: + * Throws {@code INVALID_PARAMETER_VALUE} if secret name is not alphanumeric or too long. Throws + * {@code PERMISSION_DENIED} if secret manager cannot access AKV with 403 error Throws {@code + * MALFORMED_REQUEST} if secret manager cannot access AKV with any other 4xx error */ GetSecretResponse getSecret(GetSecretRequest getSecretRequest); /** * Lists the ACLs set on the given scope. * - *

    Users must have the ``MANAGE`` permission to invoke this API. + *

    Users must have the {@code MANAGE} permission to invoke this API. * *

    Example response: * @@ -163,8 +166,8 @@ public interface SecretsService { *

    { "acls": [{ "principal": "admins", "permission": "MANAGE" },{ "principal": * "data-scientists", "permission": "READ" }] } * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret scope exists. Throws - * ``PERMISSION_DENIED`` if the user does not have permission to make this API call. + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret scope exists. Throws {@code + * PERMISSION_DENIED} if the user does not have permission to make this API call. */ ListAclsResponse listAcls(ListAclsRequest listAclsRequest); @@ -178,7 +181,7 @@ public interface SecretsService { *

    { "scopes": [{ "name": "my-databricks-scope", "backend_type": "DATABRICKS" },{ "name": * "mount-points", "backend_type": "DATABRICKS" }] } * - *

    Throws ``PERMISSION_DENIED`` if the user does not have permission to make this API call. + *

    Throws {@code PERMISSION_DENIED} if the user does not have permission to make this API call. */ ListScopesResponse listScopes(); @@ -195,8 +198,8 @@ public interface SecretsService { * *

    The lastUpdatedTimestamp returned is in milliseconds since epoch. * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret scope exists. Throws - * ``PERMISSION_DENIED`` if the user does not have permission to make this API call. + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret scope exists. Throws {@code + * PERMISSION_DENIED} if the user does not have permission to make this API call. */ ListSecretsResponse listSecrets(ListSecretsRequest listSecretsRequest); @@ -205,16 +208,18 @@ public interface SecretsService { * specified scope point. In general, a user or group will use the most powerful permission * available to them, and permissions are ordered as follows: * - *

    * ``MANAGE`` - Allowed to change ACLs, and read and write to this secret scope. * ``WRITE`` - * - Allowed to read and write to this secret scope. * ``READ`` - Allowed to read this secret - * scope and list what secrets are available. + *

      + *
    • {@code MANAGE} - Allowed to change ACLs, and read and write to this secret scope. + *
    • {@code WRITE} - Allowed to read and write to this secret scope. + *
    • {@code READ} - Allowed to read this secret scope and list what secrets are available. + *
    * *

    Note that in general, secret values can only be read from within a command on a cluster (for * example, through a notebook). There is no API to read the actual secret value material outside * of a cluster. However, the user's permission will be applied based on who is executing the * command, and they must have at least READ permission. * - *

    Users must have the ``MANAGE`` permission to invoke this API. + *

    Users must have the {@code MANAGE} permission to invoke this API. * *

    Example request: * @@ -225,18 +230,18 @@ public interface SecretsService { *

    The principal is a user or group name corresponding to an existing Databricks principal to * be granted or revoked access. * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret scope exists. Throws - * ``RESOURCE_ALREADY_EXISTS`` if a permission for the principal already exists. Throws - * ``INVALID_PARAMETER_VALUE`` if the permission or principal is invalid. Throws - * ``PERMISSION_DENIED`` if the user does not have permission to make this API call. + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret scope exists. Throws {@code + * RESOURCE_ALREADY_EXISTS} if a permission for the principal already exists. Throws {@code + * INVALID_PARAMETER_VALUE} if the permission or principal is invalid. Throws {@code + * PERMISSION_DENIED} if the user does not have permission to make this API call. */ void putAcl(PutAcl putAcl); /** * Inserts a secret under the provided scope with the given name. If a secret already exists with * the same name, this command overwrites the existing secret's value. The server encrypts the - * secret using the secret scope's encryption settings before storing it. You must have ``WRITE`` - * or ``MANAGE`` permission on the secret scope. + * secret using the secret scope's encryption settings before storing it. You must have {@code + * WRITE} or {@code MANAGE} permission on the secret scope. * *

    The secret key must consist of alphanumeric characters, dashes, underscores, and periods, * and cannot exceed 128 characters. The maximum allowed secret value size is 128 KB. The maximum @@ -251,12 +256,12 @@ public interface SecretsService { *

    The input fields "string_value" or "bytes_value" specify the type of the secret, which will * determine the value returned when the secret value is requested. Exactly one must be specified. * - *

    Throws ``RESOURCE_DOES_NOT_EXIST`` if no such secret scope exists. Throws - * ``RESOURCE_LIMIT_EXCEEDED`` if maximum number of secrets in scope is exceeded. Throws - * ``INVALID_PARAMETER_VALUE`` if the request parameters are invalid. Throws ``PERMISSION_DENIED`` - * if the user does not have permission to make this API call. Throws ``MALFORMED_REQUEST`` if - * request is incorrectly formatted or conflicting. Throws ``BAD_REQUEST`` if request is made - * against Azure KeyVault backed scope. + *

    Throws {@code RESOURCE_DOES_NOT_EXIST} if no such secret scope exists. Throws {@code + * RESOURCE_LIMIT_EXCEEDED} if maximum number of secrets in scope is exceeded. Throws {@code + * INVALID_PARAMETER_VALUE} if the request parameters are invalid. Throws {@code + * PERMISSION_DENIED} if the user does not have permission to make this API call. Throws {@code + * MALFORMED_REQUEST} if request is incorrectly formatted or conflicting. Throws {@code + * BAD_REQUEST} if request is made against Azure KeyVault backed scope. */ void putSecret(PutSecret putSecret); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SparseCheckout.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SparseCheckout.java index eb1201e43..11539b44b 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SparseCheckout.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SparseCheckout.java @@ -12,10 +12,9 @@ @Generated public class SparseCheckout { /** - * List of sparse checkout cone patterns, see [cone mode handling] for details. - * - *

    [cone mode handling]: - * https://git-scm.com/docs/git-sparse-checkout#_internalscone_mode_handling + * List of sparse checkout cone patterns, see cone mode + * handling for details. */ @JsonProperty("patterns") private Collection patterns; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SparseCheckoutUpdate.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SparseCheckoutUpdate.java index 644efa487..d2282a5b0 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SparseCheckoutUpdate.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/SparseCheckoutUpdate.java @@ -12,10 +12,9 @@ @Generated public class SparseCheckoutUpdate { /** - * List of sparse checkout cone patterns, see [cone mode handling] for details. - * - *

    [cone mode handling]: - * https://git-scm.com/docs/git-sparse-checkout#_internalscone_mode_handling + * List of sparse checkout cone patterns, see cone mode + * handling for details. */ @JsonProperty("patterns") private Collection patterns; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/UpdateCredentialsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/UpdateCredentialsRequest.java index 072bcb959..f2ff17c6e 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/UpdateCredentialsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/UpdateCredentialsRequest.java @@ -15,7 +15,7 @@ public class UpdateCredentialsRequest { /** * The authenticating email associated with your Git provider user account. Used for - * authentication with the remote repository and also sets the author & committer identity for + * authentication with the remote repository and also sets the author & committer identity for * commits. Required for most Git providers except AWS CodeCommit. Learn more at * https://docs.databricks.com/aws/en/repos/get-access-tokens-from-git-provider */ @@ -23,20 +23,20 @@ public class UpdateCredentialsRequest { private String gitEmail; /** - * Git provider. This field is case-insensitive. The available Git providers are `gitHub`, - * `bitbucketCloud`, `gitLab`, `azureDevOpsServices` (Azure DevOps Services, including Microsoft - * Entra ID authentication), `gitHubEnterprise`, `bitbucketServer` (Bitbucket Data Center), - * `gitLabEnterpriseEdition` (GitLab Self-Managed), and `awsCodeCommit` (deprecated by AWS, not - * accepting new customers). + * Git provider. This field is case-insensitive. The available Git providers are {@code gitHub}, + * {@code bitbucketCloud}, {@code gitLab}, {@code azureDevOpsServices} (Azure DevOps Services, + * including Microsoft Entra ID authentication), {@code gitHubEnterprise}, {@code bitbucketServer} + * (Bitbucket Data Center), {@code gitLabEnterpriseEdition} (GitLab Self-Managed), and {@code + * awsCodeCommit} (deprecated by AWS, not accepting new customers). */ @JsonProperty("git_provider") private String gitProvider; /** * The username provided with your Git provider account and associated with the credential. For - * most Git providers it is only used to set the Git committer & author names for commits, however - * it may be required for authentication depending on your Git provider / token requirements. - * Required for AWS CodeCommit. + * most Git providers it is only used to set the Git committer & author names for commits, + * however it may be required for authentication depending on your Git provider / token + * requirements. Required for AWS CodeCommit. */ @JsonProperty("git_username") private String gitUsername; @@ -51,9 +51,9 @@ public class UpdateCredentialsRequest { /** * The personal access token used to authenticate to the corresponding Git provider. For certain - * providers, support may exist for other types of scoped access tokens. [Learn more]. - * - *

    [Learn more]: https://docs.databricks.com/repos/get-access-tokens-from-git-provider.html + * providers, support may exist for other types of scoped access tokens. Learn + * more. */ @JsonProperty("personal_access_token") private String personalAccessToken; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/WorkspaceAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/WorkspaceAPI.java index 58effc566..1748779e9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/WorkspaceAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/WorkspaceAPI.java @@ -33,9 +33,14 @@ public WorkspaceAPI(WorkspaceService mock) { /** * Deletes an object or a directory (and optionally recursively deletes all objects in the - * directory). * If `path` does not exist, this call returns an error `RESOURCE_DOES_NOT_EXIST`. * - * If `path` is a non-empty directory and `recursive` is set to `false`, this call returns an - * error `DIRECTORY_NOT_EMPTY`. + * directory). + * + *

      + *
    • If {@code path} does not exist, this call returns an error {@code + * RESOURCE_DOES_NOT_EXIST}. + *
    • If {@code path} is a non-empty directory and {@code recursive} is set to {@code false}, + * this call returns an error {@code DIRECTORY_NOT_EMPTY}. + *
    * *

    Object deletion cannot be undone and deleting a directory recursively is not atomic. */ @@ -50,10 +55,10 @@ public ExportResponse export(String path) { /** * Exports an object or the contents of an entire directory. * - *

    If `path` does not exist, this call returns an error `RESOURCE_DOES_NOT_EXIST`. + *

    If {@code path} does not exist, this call returns an error {@code RESOURCE_DOES_NOT_EXIST}. * - *

    If the exported data would exceed size limit, this call returns - * `MAX_NOTEBOOK_SIZE_EXCEEDED`. Currently, this API does not support exporting a library. + *

    If the exported data would exceed size limit, this call returns {@code + * MAX_NOTEBOOK_SIZE_EXCEEDED}. Currently, this API does not support exporting a library. */ public ExportResponse export(ExportRequest request) { return impl.export(request); @@ -94,8 +99,8 @@ public ObjectInfo getStatus(String path) { } /** - * Gets the status of an object or a directory. If `path` does not exist, this call returns an - * error `RESOURCE_DOES_NOT_EXIST`. + * Gets the status of an object or a directory. If {@code path} does not exist, this call returns + * an error {@code RESOURCE_DOES_NOT_EXIST}. */ public ObjectInfo getStatus(GetStatusRequest request) { return impl.getStatus(request); @@ -103,10 +108,11 @@ public ObjectInfo getStatus(GetStatusRequest request) { /** * Imports a workspace object (for example, a notebook or file) or the contents of an entire - * directory. If `path` already exists and `overwrite` is set to `false`, this call returns an - * error `RESOURCE_ALREADY_EXISTS`. To import a directory, you can use either the `DBC` format or - * the `SOURCE` format with the `language` field unset. To import a single file as `SOURCE`, you - * must set the `language` field. Zip files within directories are not supported. + * directory. If {@code path} already exists and {@code overwrite} is set to {@code false}, this + * call returns an error {@code RESOURCE_ALREADY_EXISTS}. To import a directory, you can use + * either the {@code DBC} format or the {@code SOURCE} format with the {@code language} field + * unset. To import a single file as {@code SOURCE}, you must set the {@code language} field. Zip + * files within directories are not supported. */ public void importContent(Import request) { impl.importContent(request); @@ -118,7 +124,7 @@ public Iterable list(String path) { /** * Lists the contents of a directory, or the object if it is not a directory. If the input path - * does not exist, this call returns an error `RESOURCE_DOES_NOT_EXIST`. + * does not exist, this call returns an error {@code RESOURCE_DOES_NOT_EXIST}. */ public Iterable list(ListWorkspaceRequest request) { return Paginator.newOffsetPagination( @@ -132,7 +138,7 @@ public void mkdirs(String path) { /** * Creates the specified directory (and necessary parent directories if they do not exist). If * there is an object (not a directory) at any prefix of the input path, this call returns an - * error `RESOURCE_ALREADY_EXISTS`. + * error {@code RESOURCE_ALREADY_EXISTS}. * *

    Note that if this operation fails it may have succeeded in creating some of the necessary * parent directories. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/WorkspaceService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/WorkspaceService.java index c7705bcdf..ae2b2b22a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/WorkspaceService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/workspace/WorkspaceService.java @@ -19,9 +19,14 @@ public interface WorkspaceService { /** * Deletes an object or a directory (and optionally recursively deletes all objects in the - * directory). * If `path` does not exist, this call returns an error `RESOURCE_DOES_NOT_EXIST`. * - * If `path` is a non-empty directory and `recursive` is set to `false`, this call returns an - * error `DIRECTORY_NOT_EMPTY`. + * directory). + * + *

      + *
    • If {@code path} does not exist, this call returns an error {@code + * RESOURCE_DOES_NOT_EXIST}. + *
    • If {@code path} is a non-empty directory and {@code recursive} is set to {@code false}, + * this call returns an error {@code DIRECTORY_NOT_EMPTY}. + *
    * *

    Object deletion cannot be undone and deleting a directory recursively is not atomic. */ @@ -30,10 +35,10 @@ public interface WorkspaceService { /** * Exports an object or the contents of an entire directory. * - *

    If `path` does not exist, this call returns an error `RESOURCE_DOES_NOT_EXIST`. + *

    If {@code path} does not exist, this call returns an error {@code RESOURCE_DOES_NOT_EXIST}. * - *

    If the exported data would exceed size limit, this call returns - * `MAX_NOTEBOOK_SIZE_EXCEEDED`. Currently, this API does not support exporting a library. + *

    If the exported data would exceed size limit, this call returns {@code + * MAX_NOTEBOOK_SIZE_EXCEEDED}. Currently, this API does not support exporting a library. */ ExportResponse export(ExportRequest exportRequest); @@ -49,30 +54,31 @@ WorkspaceObjectPermissions getPermissions( GetWorkspaceObjectPermissionsRequest getWorkspaceObjectPermissionsRequest); /** - * Gets the status of an object or a directory. If `path` does not exist, this call returns an - * error `RESOURCE_DOES_NOT_EXIST`. + * Gets the status of an object or a directory. If {@code path} does not exist, this call returns + * an error {@code RESOURCE_DOES_NOT_EXIST}. */ ObjectInfo getStatus(GetStatusRequest getStatusRequest); /** * Imports a workspace object (for example, a notebook or file) or the contents of an entire - * directory. If `path` already exists and `overwrite` is set to `false`, this call returns an - * error `RESOURCE_ALREADY_EXISTS`. To import a directory, you can use either the `DBC` format or - * the `SOURCE` format with the `language` field unset. To import a single file as `SOURCE`, you - * must set the `language` field. Zip files within directories are not supported. + * directory. If {@code path} already exists and {@code overwrite} is set to {@code false}, this + * call returns an error {@code RESOURCE_ALREADY_EXISTS}. To import a directory, you can use + * either the {@code DBC} format or the {@code SOURCE} format with the {@code language} field + * unset. To import a single file as {@code SOURCE}, you must set the {@code language} field. Zip + * files within directories are not supported. */ void importContent(Import importContent); /** * Lists the contents of a directory, or the object if it is not a directory. If the input path - * does not exist, this call returns an error `RESOURCE_DOES_NOT_EXIST`. + * does not exist, this call returns an error {@code RESOURCE_DOES_NOT_EXIST}. */ ListResponse list(ListWorkspaceRequest listWorkspaceRequest); /** * Creates the specified directory (and necessary parent directories if they do not exist). If * there is an object (not a directory) at any prefix of the input path, this call returns an - * error `RESOURCE_ALREADY_EXISTS`. + * error {@code RESOURCE_ALREADY_EXISTS}. * *

    Note that if this operation fails it may have succeeded in creating some of the necessary * parent directories. diff --git a/databricks-sdk-java/src/test/java/com/databricks/sdk/service/httpcallv2/GetResourceRequest.java b/databricks-sdk-java/src/test/java/com/databricks/sdk/service/httpcallv2/GetResourceRequest.java index cca3bc159..4b6eae11c 100755 --- a/databricks-sdk-java/src/test/java/com/databricks/sdk/service/httpcallv2/GetResourceRequest.java +++ b/databricks-sdk-java/src/test/java/com/databricks/sdk/service/httpcallv2/GetResourceRequest.java @@ -14,10 +14,10 @@ public class GetResourceRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. */ @JsonIgnore @QueryParam("field_mask") diff --git a/databricks-sdk-java/src/test/java/com/databricks/sdk/service/httpcallv2/UpdateResourceRequest.java b/databricks-sdk-java/src/test/java/com/databricks/sdk/service/httpcallv2/UpdateResourceRequest.java index 201670a77..6e8ea7300 100755 --- a/databricks-sdk-java/src/test/java/com/databricks/sdk/service/httpcallv2/UpdateResourceRequest.java +++ b/databricks-sdk-java/src/test/java/com/databricks/sdk/service/httpcallv2/UpdateResourceRequest.java @@ -15,10 +15,10 @@ public class UpdateResourceRequest { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. */ @JsonIgnore @QueryParam("field_mask") diff --git a/databricks-sdk-java/src/test/java/com/databricks/sdk/service/jsonmarshallv2/OptionalFields.java b/databricks-sdk-java/src/test/java/com/databricks/sdk/service/jsonmarshallv2/OptionalFields.java index f86cb107e..237b45df1 100755 --- a/databricks-sdk-java/src/test/java/com/databricks/sdk/service/jsonmarshallv2/OptionalFields.java +++ b/databricks-sdk-java/src/test/java/com/databricks/sdk/service/jsonmarshallv2/OptionalFields.java @@ -23,10 +23,10 @@ public class OptionalFields { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. */ @JsonProperty("field_mask") @QueryParam("field_mask") @@ -39,10 +39,10 @@ public class OptionalFields { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. */ @JsonProperty("legacy_field_mask") @QueryParam("legacy_field_mask") diff --git a/databricks-sdk-java/src/test/java/com/databricks/sdk/service/jsonmarshallv2/RequiredFields.java b/databricks-sdk-java/src/test/java/com/databricks/sdk/service/jsonmarshallv2/RequiredFields.java index 6978baf6e..99273179e 100755 --- a/databricks-sdk-java/src/test/java/com/databricks/sdk/service/jsonmarshallv2/RequiredFields.java +++ b/databricks-sdk-java/src/test/java/com/databricks/sdk/service/jsonmarshallv2/RequiredFields.java @@ -28,10 +28,10 @@ public class RequiredFields { /** * The field mask must be a single string, with multiple fields separated by commas (no spaces). - * The field path is relative to the resource object, using a dot (`.`) to navigate sub-fields - * (e.g., `author.given_name`). Specification of elements in sequence or map fields is not - * allowed, as only the entire collection field can be specified. Field names must exactly match - * the resource field names. + * The field path is relative to the resource object, using a dot ({@code .}) to navigate + * sub-fields (e.g., {@code author.given_name}). Specification of elements in sequence or map + * fields is not allowed, as only the entire collection field can be specified. Field names must + * exactly match the resource field names. */ @JsonProperty("required_field_mask") @QueryParam("required_field_mask") diff --git a/databricks-sdk-java/src/test/java/com/databricks/sdk/service/lrotesting/Operation.java b/databricks-sdk-java/src/test/java/com/databricks/sdk/service/lrotesting/Operation.java index 0f6aefe5b..bcf9c43cb 100755 --- a/databricks-sdk-java/src/test/java/com/databricks/sdk/service/lrotesting/Operation.java +++ b/databricks-sdk-java/src/test/java/com/databricks/sdk/service/lrotesting/Operation.java @@ -11,8 +11,8 @@ @Generated public class Operation { /** - * If the value is `false`, it means the operation is still in progress. If `true`, the operation - * is completed, and either `error` or `response` is available. + * If the value is {@code false}, it means the operation is still in progress. If {@code true}, + * the operation is completed, and either {@code error} or {@code response} is available. */ @JsonProperty("done") private Boolean done; @@ -31,8 +31,8 @@ public class Operation { /** * The server-assigned name, which is only unique within the same service that originally returns - * it. If you use the default HTTP mapping, the `name` should be a resource name ending with - * `operations/{unique_id}`. + * it. If you use the default HTTP mapping, the {@code name} should be a resource name ending with + * {@code operations/{unique_id}}. */ @JsonProperty("name") private String name;