diff --git a/.codegen/_openapi_sha b/.codegen/_openapi_sha index 687326910..609333cdc 100755 --- a/.codegen/_openapi_sha +++ b/.codegen/_openapi_sha @@ -1 +1 @@ -f61ae4dc1fb27e93492e6115c194fabeec691b52 \ No newline at end of file +a806a7cfabedc16c79a32e5b14898e1679aa22d3 \ No newline at end of file diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md old mode 100644 new mode 100755 index 45878ea0f..6f93a18a3 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -13,3 +13,4 @@ ### Internal Changes ### API Changes +* Add `parentPath` field for `com.databricks.sdk.service.dashboards.GenieSpace`. \ No newline at end of file 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 06e4a93f0..e264065ec 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 @@ -11,7 +11,7 @@ /** * The environment entity used to preserve serverless environment side panel, jobs' environment for * non-notebook task, and DLT's environment for classic and serverless pipelines. In this minimal - * environment spec, only pip dependencies are supported. + * environment spec, only pip and java dependencies are supported. */ @Generated public class Environment { @@ -41,8 +41,9 @@ public class Environment { private Collection dependencies; /** - * Required. 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 `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. */ @JsonProperty("environment_version") private String environmentVersion; 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 ba43cf50a..30992dbc6 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 @@ -13,6 +13,10 @@ public class GenieSpace { @JsonProperty("description") private String description; + /** Parent folder path of the Genie Space */ + @JsonProperty("parent_path") + private String parentPath; + /** * 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 @@ -43,6 +47,15 @@ public String getDescription() { return description; } + public GenieSpace setParentPath(String parentPath) { + this.parentPath = parentPath; + return this; + } + + public String getParentPath() { + return parentPath; + } + public GenieSpace setSerializedSpace(String serializedSpace) { this.serializedSpace = serializedSpace; return this; @@ -85,6 +98,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) return false; GenieSpace that = (GenieSpace) o; return Objects.equals(description, that.description) + && Objects.equals(parentPath, that.parentPath) && Objects.equals(serializedSpace, that.serializedSpace) && Objects.equals(spaceId, that.spaceId) && Objects.equals(title, that.title) @@ -93,13 +107,14 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(description, serializedSpace, spaceId, title, warehouseId); + return Objects.hash(description, parentPath, serializedSpace, spaceId, title, warehouseId); } @Override public String toString() { return new ToStringer(GenieSpace.class) .add("description", description) + .add("parentPath", parentPath) .add("serializedSpace", serializedSpace) .add("spaceId", spaceId) .add("title", title)