diff --git a/.codegen/_openapi_sha b/.codegen/_openapi_sha old mode 100644 new mode 100755 index 1d6e4ef6d..f7a09353d --- a/.codegen/_openapi_sha +++ b/.codegen/_openapi_sha @@ -1 +1 @@ -be3508ec66fbe13df2d060df5653df8f57895928 \ No newline at end of file +7f3b1f42ed37e16e6beb764dfd099c29021bb5a5 \ No newline at end of file diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md old mode 100644 new mode 100755 index 9f729752c..5e4e63018 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -13,3 +13,4 @@ ### Internal Changes ### API Changes +* [Breaking] Change `username` field for `com.databricks.sdk.service.iamv2.User` to no longer be required. \ No newline at end of file diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AwsSqsQueue.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AwsSqsQueue.java index 2b036538e..03fece6f9 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AwsSqsQueue.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AwsSqsQueue.java @@ -14,8 +14,8 @@ public class AwsSqsQueue { private String managedResourceId; /** - * The AQS queue url in the format https://sqs.{region}.amazonaws.com/{account id}/{queue name} - * Required for provided_sqs. + * The AQS queue url in the format https://sqs.{region}.amazonaws.com/{account id}/{queue name}. + * Only required for provided_sqs. */ @JsonProperty("queue_url") private String queueUrl; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureQueueStorage.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureQueueStorage.java index 3987c0305..c07b5e105 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureQueueStorage.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AzureQueueStorage.java @@ -15,13 +15,13 @@ public class AzureQueueStorage { /** * The AQS queue url in the format https://{storage account}.queue.core.windows.net/{queue name} - * Required for provided_aqs. + * Only required for provided_aqs. */ @JsonProperty("queue_url") private String queueUrl; /** - * The resource group for the queue, event grid subscription, and external location storage + * Optional resource group for the queue, event grid subscription, and external location storage * account. Only required for locations with a service principal storage credential */ @JsonProperty("resource_group") 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 63b70fb7a..89321f4a6 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,7 +17,10 @@ public class CreateExternalLocation { @JsonProperty("credential_name") private String credentialName; - /** Whether to enable file events on this external location. */ + /** + * Whether to enable file events on this external location. Default to `true`. Set to `false` to + * disable file events. + */ @JsonProperty("enable_file_events") private Boolean enableFileEvents; @@ -34,8 +37,8 @@ public class CreateExternalLocation { private Boolean fallback; /** - * File event queue settings. If `enable_file_events` is `true`, must be defined and have exactly - * one of the documented properties. + * File event queue settings. If `enable_file_events` is not `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/ExternalLocationInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationInfo.java index 4e91f1d6e..cb5f98513 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,7 +36,10 @@ public class ExternalLocationInfo { @JsonProperty("credential_name") private String credentialName; - /** Whether to enable file events on this external location. */ + /** + * Whether to enable file events on this external location. Default to `true`. Set to `false` to + * disable file events. + */ @JsonProperty("enable_file_events") private Boolean enableFileEvents; @@ -53,8 +56,8 @@ public class ExternalLocationInfo { private Boolean fallback; /** - * File event queue settings. If `enable_file_events` is `true`, must be defined and have exactly - * one of the documented properties. + * File event queue settings. If `enable_file_events` is not `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/GcpPubsub.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GcpPubsub.java index 226e0f45c..1e2b9c93c 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GcpPubsub.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GcpPubsub.java @@ -15,7 +15,7 @@ public class GcpPubsub { /** * The Pub/Sub subscription name in the format projects/{project}/subscriptions/{subscription - * name} Required for provided_pubsub. + * name}. Only required for provided_pubsub. */ @JsonProperty("subscription_name") private String subscriptionName; 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 d3772b1fe..d24d09501 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 @@ -60,21 +60,18 @@ public class PolicyInfo { @JsonProperty("name") private String name; - /** - * Full name of the securable on which the policy is defined. Required on create and ignored on - * update. - */ + /** Full name of the securable on which the policy is defined. Required on create. */ @JsonProperty("on_securable_fullname") 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 and ignored on update. + * supported at this moment. Required on create. */ @JsonProperty("on_securable_type") private SecurableType onSecurableType; - /** Type of the policy. Required on create and ignored on update. */ + /** Type of the policy. Required on create. */ @JsonProperty("policy_type") private PolicyType policyType; 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 258f5b765..17bad5e84 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,7 +18,10 @@ public class UpdateExternalLocation { @JsonProperty("credential_name") private String credentialName; - /** Whether to enable file events on this external location. */ + /** + * Whether to enable file events on this external location. Default to `true`. Set to `false` to + * disable file events. + */ @JsonProperty("enable_file_events") private Boolean enableFileEvents; @@ -35,8 +38,8 @@ public class UpdateExternalLocation { private Boolean fallback; /** - * File event queue settings. If `enable_file_events` is `true`, must be defined and have exactly - * one of the documented properties. + * File event queue settings. If `enable_file_events` is not `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/postgres/ErrorCode.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/ErrorCode.java index c59a6d229..32071be89 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/ErrorCode.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/ErrorCode.java @@ -4,11 +4,7 @@ import com.databricks.sdk.support.Generated; -/** - * Legacy definition of the ErrorCode enum. Please keep in sync with api-base/proto/error_code.proto - * (except status code mapping annotations as this file doesn't have them). Will be removed - * eventually, pending the ScalaPB 0.4 cleanup. - */ +/** Error codes returned by Databricks APIs to indicate specific failure conditions. */ @Generated public enum ErrorCode { ABORTED, diff --git a/databricks-sdk-java/src/test/java/com/databricks/sdk/service/lrotesting/ErrorCode.java b/databricks-sdk-java/src/test/java/com/databricks/sdk/service/lrotesting/ErrorCode.java index 5e05b357b..984d0162b 100755 --- a/databricks-sdk-java/src/test/java/com/databricks/sdk/service/lrotesting/ErrorCode.java +++ b/databricks-sdk-java/src/test/java/com/databricks/sdk/service/lrotesting/ErrorCode.java @@ -4,11 +4,7 @@ import com.databricks.sdk.support.Generated; -/** - * Legacy definition of the ErrorCode enum. Please keep in sync with api-base/proto/error_code.proto - * (except status code mapping annotations as this file doesn't have them). Will be removed - * eventually, pending the ScalaPB 0.4 cleanup. - */ +/** Error codes returned by Databricks APIs to indicate specific failure conditions. */ @Generated public enum ErrorCode { ABORTED,