diff --git a/.codegen/_openapi_sha b/.codegen/_openapi_sha index c7cb7b324..b28390c6d 100644 --- a/.codegen/_openapi_sha +++ b/.codegen/_openapi_sha @@ -1 +1 @@ -02596aaa1588f0a22727f219c734c2cb867ef717 \ No newline at end of file +cbacac03c4f1a2a98f74db669a6fb07c0c56598c \ No newline at end of file diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index d90614a01..4416a72a1 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -15,3 +15,14 @@ ### Internal Changes ### API Changes +* Add `inputColumn` and `outputColumn` fields for `com.databricks.sdk.service.pipelines.Transformer`. +* Add `NETSUITE` enum value for `com.databricks.sdk.service.catalog.ConnectionType`. +* [Breaking] Remove `includeBrowse` field for `com.databricks.sdk.service.catalog.GetMcpServiceRequest`. +* [Breaking] Remove `includeBrowse` field for `com.databricks.sdk.service.catalog.GetModelProviderServiceRequest`. +* [Breaking] Remove `includeBrowse` field for `com.databricks.sdk.service.catalog.GetModelServiceRequest`. +* [Breaking] Remove `includeBrowse` field for `com.databricks.sdk.service.catalog.ListMcpServicesRequest`. +* [Breaking] Remove `includeBrowse` field for `com.databricks.sdk.service.catalog.ListModelProviderServicesRequest`. +* [Breaking] Remove `includeBrowse` field for `com.databricks.sdk.service.catalog.ListModelServicesRequest`. +* [Breaking] Remove `browseOnly` field for `com.databricks.sdk.service.catalog.McpService`. +* [Breaking] Remove `browseOnly` field for `com.databricks.sdk.service.catalog.ModelProviderService`. +* [Breaking] Remove `browseOnly` field for `com.databricks.sdk.service.catalog.ModelService`. \ No newline at end of file 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 b58c4b7bd..6dd537345 100644 --- 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 @@ -47,8 +47,9 @@ public Deployment createDeployment(CreateDeploymentRequest request) { * operation's name. If an operation with the same key already exists under the version, the * server returns `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). + *

On success the server also updates the corresponding deployment-level resource, creating it + * if this is the first operation for that resource_key and removing it if the operation records + * no `state` (see that field). */ public Operation createOperation(CreateOperationRequest request) { return impl.createOperation(request); @@ -206,9 +207,11 @@ public Iterable listVersions(ListVersionsRequest request) { * guarded by an optimistic-concurrency check: the caller sets `operation.sequence_id` to the * value it last observed, and the server rejects the update with `ABORTED` if the operation has * been modified since. On success the server increments `sequence_id`; updates to `state` and - * `resource_id` are mirrored onto the corresponding deployment-level Resource projection. The - * parent version must be in progress, delete operations cannot be updated, and after the update - * is applied a succeeded operation cannot carry an `error_message`. + * `resource_id` are mirrored onto the corresponding deployment-level resource. Listing `state` in + * `update_mask` with no value clears it, which removes the resource, so a delete that is retried + * until it succeeds must clear `state`. The parent version must be in progress, and after the + * update is applied a succeeded operation cannot carry an `error_message`. See the `state` and + * `resource_id` fields for the rest. */ public Operation updateOperation(UpdateOperationRequest request) { return impl.updateOperation(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 187125700..4d39a05fa 100644 --- 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 @@ -31,8 +31,9 @@ public interface BundleDeploymentsService { * operation's name. If an operation with the same key already exists under the version, the * server returns `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). + *

On success the server also updates the corresponding deployment-level resource, creating it + * if this is the first operation for that resource_key and removing it if the operation records + * no `state` (see that field). */ Operation createOperation(CreateOperationRequest createOperationRequest); @@ -94,9 +95,11 @@ public interface BundleDeploymentsService { * guarded by an optimistic-concurrency check: the caller sets `operation.sequence_id` to the * value it last observed, and the server rejects the update with `ABORTED` if the operation has * been modified since. On success the server increments `sequence_id`; updates to `state` and - * `resource_id` are mirrored onto the corresponding deployment-level Resource projection. The - * parent version must be in progress, delete operations cannot be updated, and after the update - * is applied a succeeded operation cannot carry an `error_message`. + * `resource_id` are mirrored onto the corresponding deployment-level resource. Listing `state` in + * `update_mask` with no value clears it, which removes the resource, so a delete that is retried + * until it succeeds must clear `state`. The parent version must be in progress, and after the + * update is applied a succeeded operation cannot carry an `error_message`. See the `state` and + * `resource_id` fields for the rest. */ Operation updateOperation(UpdateOperationRequest updateOperationRequest); } 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 8fa733b95..4a7ea6d48 100644 --- 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 @@ -15,7 +15,10 @@ public class Deployment { @JsonProperty("create_time") private Timestamp createTime; - /** The user who created the deployment (email or principal name). */ + /** + * The user who created the deployment (email or principal name). Empty if authoritative + * deployment metadata does not identify a creator or the principal cannot be resolved. + */ @JsonProperty("created_by") private String createdBy; @@ -94,7 +97,11 @@ public class Deployment { @JsonProperty("update_time") private Timestamp updateTime; - /** The user who most recently updated the deployment (email or principal name). */ + /** + * The user who most recently updated the deployment (email or principal name). Empty if + * authoritative deployment metadata does not identify a modifier or the principal cannot be + * resolved. + */ @JsonProperty("updated_by") private String updatedBy; 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 1d7597809..65cf413eb 100644 --- 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 @@ -45,10 +45,10 @@ public class Operation { private String name; /** - * ID of the actual resource in the workspace (e.g. the job ID, pipeline ID). Optional at - * creation: CREATE and RECREATE operations produce a new resource whose ID is not yet known when - * the operation is recorded. Mutable: may be filled in (or corrected) later via UpdateOperation - * once the ID is known. + * ID of the actual resource in the workspace (e.g. the job ID, pipeline ID). Required whenever + * `state` is set, because state records a resource that exists. A CREATE or RECREATE that has not + * produced its resource yet records neither. Mutable: may be filled in (or corrected) later via + * UpdateOperation once the ID is known. */ @JsonProperty("resource_id") private String resourceId; @@ -82,9 +82,14 @@ public class Operation { private Long sequenceId; /** - * Serialized local config state after the operation. Should be unset for delete operations. - * Mutable: may be updated after creation via UpdateOperation. When updating, the caller must echo - * the last-observed `sequence_id` as a concurrency precondition. + * Serialized local config state after the operation. Its presence records whether the resource + * still exists, so an operation that records no state removes its resource from the deployment. + * It may be unset only for an operation that left no resource behind: a `DELETE` that succeeded, + * or a `CREATE` or `RECREATE` that failed. It is required otherwise, including for a failed + * `DELETE`, whose resource survives. + * + *

Mutable: may be updated after creation via UpdateOperation. When updating, the caller must + * echo the last-observed `sequence_id` as a concurrency precondition. * *

Opaque to this service: the string is stored and returned unchanged. This is deliberately * not google.protobuf.Value, whose only numeric case is `double number_value`, so parsing the diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionType.java index b92d3684b..451ce2419 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ConnectionType.java @@ -19,6 +19,7 @@ public enum ConnectionType { JDBC, META_MARKETING, MYSQL, + NETSUITE, ORACLE, OUTLOOK, POSTGRESQL, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetMcpServiceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetMcpServiceRequest.java index 20f728dbd..94be89315 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetMcpServiceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetMcpServiceRequest.java @@ -3,33 +3,18 @@ package com.databricks.sdk.service.catalog; import com.databricks.sdk.support.Generated; -import com.databricks.sdk.support.QueryParam; import com.databricks.sdk.support.ToStringer; import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; @Generated public class GetMcpServiceRequest { - /** Whether to include MCP services for which the principal can only access selective metadata. */ - @JsonIgnore - @QueryParam("include_browse") - private Boolean includeBrowse; - /** * Resource name of the MCP service. Format: `mcp-services/{catalog}.{schema}.{mcp_service}`. Each * `{...}` component is capped at 255 characters individually. */ @JsonIgnore private String name; - public GetMcpServiceRequest setIncludeBrowse(Boolean includeBrowse) { - this.includeBrowse = includeBrowse; - return this; - } - - public Boolean getIncludeBrowse() { - return includeBrowse; - } - public GetMcpServiceRequest setName(String name) { this.name = name; return this; @@ -44,19 +29,16 @@ public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; GetMcpServiceRequest that = (GetMcpServiceRequest) o; - return Objects.equals(includeBrowse, that.includeBrowse) && Objects.equals(name, that.name); + return Objects.equals(name, that.name); } @Override public int hashCode() { - return Objects.hash(includeBrowse, name); + return Objects.hash(name); } @Override public String toString() { - return new ToStringer(GetMcpServiceRequest.class) - .add("includeBrowse", includeBrowse) - .add("name", name) - .toString(); + return new ToStringer(GetMcpServiceRequest.class).add("name", name).toString(); } } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetModelProviderServiceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetModelProviderServiceRequest.java index a1af8b4bd..26956ae11 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetModelProviderServiceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetModelProviderServiceRequest.java @@ -3,21 +3,12 @@ package com.databricks.sdk.service.catalog; import com.databricks.sdk.support.Generated; -import com.databricks.sdk.support.QueryParam; import com.databricks.sdk.support.ToStringer; import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; @Generated public class GetModelProviderServiceRequest { - /** - * Whether to include provider services for which the principal can only access selective - * metadata. - */ - @JsonIgnore - @QueryParam("include_browse") - private Boolean includeBrowse; - /** * Resource name of the model provider service. Format: * `model-provider-services/{catalog}.{schema}.{model_provider_service}`. Each `{...}` component @@ -25,15 +16,6 @@ public class GetModelProviderServiceRequest { */ @JsonIgnore private String name; - public GetModelProviderServiceRequest setIncludeBrowse(Boolean includeBrowse) { - this.includeBrowse = includeBrowse; - return this; - } - - public Boolean getIncludeBrowse() { - return includeBrowse; - } - public GetModelProviderServiceRequest setName(String name) { this.name = name; return this; @@ -48,19 +30,16 @@ public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; GetModelProviderServiceRequest that = (GetModelProviderServiceRequest) o; - return Objects.equals(includeBrowse, that.includeBrowse) && Objects.equals(name, that.name); + return Objects.equals(name, that.name); } @Override public int hashCode() { - return Objects.hash(includeBrowse, name); + return Objects.hash(name); } @Override public String toString() { - return new ToStringer(GetModelProviderServiceRequest.class) - .add("includeBrowse", includeBrowse) - .add("name", name) - .toString(); + return new ToStringer(GetModelProviderServiceRequest.class).add("name", name).toString(); } } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetModelServiceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetModelServiceRequest.java index 2d6822d6d..9a0d0918f 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetModelServiceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetModelServiceRequest.java @@ -3,20 +3,12 @@ package com.databricks.sdk.service.catalog; import com.databricks.sdk.support.Generated; -import com.databricks.sdk.support.QueryParam; import com.databricks.sdk.support.ToStringer; import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; @Generated public class GetModelServiceRequest { - /** - * Whether to include model services for which the principal can only access selective metadata. - */ - @JsonIgnore - @QueryParam("include_browse") - private Boolean includeBrowse; - /** * Resource name of the model service. Format: * `model-services/{catalog}.{schema}.{model_service}`. Each `{...}` component is capped at 255 @@ -24,15 +16,6 @@ public class GetModelServiceRequest { */ @JsonIgnore private String name; - public GetModelServiceRequest setIncludeBrowse(Boolean includeBrowse) { - this.includeBrowse = includeBrowse; - return this; - } - - public Boolean getIncludeBrowse() { - return includeBrowse; - } - public GetModelServiceRequest setName(String name) { this.name = name; return this; @@ -47,19 +30,16 @@ public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; GetModelServiceRequest that = (GetModelServiceRequest) o; - return Objects.equals(includeBrowse, that.includeBrowse) && Objects.equals(name, that.name); + return Objects.equals(name, that.name); } @Override public int hashCode() { - return Objects.hash(includeBrowse, name); + return Objects.hash(name); } @Override public String toString() { - return new ToStringer(GetModelServiceRequest.class) - .add("includeBrowse", includeBrowse) - .add("name", name) - .toString(); + return new ToStringer(GetModelServiceRequest.class).add("name", name).toString(); } } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMcpServicesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMcpServicesRequest.java index 9cac38918..2ab2045f7 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMcpServicesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMcpServicesRequest.java @@ -10,11 +10,6 @@ @Generated public class ListMcpServicesRequest { - /** Whether to include MCP services for which the principal can only access selective metadata. */ - @JsonIgnore - @QueryParam("include_browse") - private Boolean includeBrowse; - /** * Maximum number of MCP services to return. Defaults to 100 when unset or 0; the maximum is 100. * Use `next_page_token` to retrieve additional pages. @@ -41,15 +36,6 @@ public class ListMcpServicesRequest { @QueryParam("view") private ListMcpServicesRequestView view; - public ListMcpServicesRequest setIncludeBrowse(Boolean includeBrowse) { - this.includeBrowse = includeBrowse; - return this; - } - - public Boolean getIncludeBrowse() { - return includeBrowse; - } - public ListMcpServicesRequest setPageSize(Long pageSize) { this.pageSize = pageSize; return this; @@ -91,8 +77,7 @@ public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ListMcpServicesRequest that = (ListMcpServicesRequest) o; - return Objects.equals(includeBrowse, that.includeBrowse) - && Objects.equals(pageSize, that.pageSize) + return Objects.equals(pageSize, that.pageSize) && Objects.equals(pageToken, that.pageToken) && Objects.equals(parent, that.parent) && Objects.equals(view, that.view); @@ -100,13 +85,12 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(includeBrowse, pageSize, pageToken, parent, view); + return Objects.hash(pageSize, pageToken, parent, view); } @Override public String toString() { return new ToStringer(ListMcpServicesRequest.class) - .add("includeBrowse", includeBrowse) .add("pageSize", pageSize) .add("pageToken", pageToken) .add("parent", parent) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelProviderServicesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelProviderServicesRequest.java index f490cab76..0ee886190 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelProviderServicesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelProviderServicesRequest.java @@ -10,14 +10,6 @@ @Generated public class ListModelProviderServicesRequest { - /** - * Whether to include provider services for which the principal can only access selective - * metadata. - */ - @JsonIgnore - @QueryParam("include_browse") - private Boolean includeBrowse; - /** * Maximum number of provider services to return. Defaults to 100 when unset or 0; the maximum is * 100. Use `next_page_token` to retrieve additional pages. @@ -44,15 +36,6 @@ public class ListModelProviderServicesRequest { @QueryParam("view") private ListModelProviderServicesRequestView view; - public ListModelProviderServicesRequest setIncludeBrowse(Boolean includeBrowse) { - this.includeBrowse = includeBrowse; - return this; - } - - public Boolean getIncludeBrowse() { - return includeBrowse; - } - public ListModelProviderServicesRequest setPageSize(Long pageSize) { this.pageSize = pageSize; return this; @@ -94,8 +77,7 @@ public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ListModelProviderServicesRequest that = (ListModelProviderServicesRequest) o; - return Objects.equals(includeBrowse, that.includeBrowse) - && Objects.equals(pageSize, that.pageSize) + return Objects.equals(pageSize, that.pageSize) && Objects.equals(pageToken, that.pageToken) && Objects.equals(parent, that.parent) && Objects.equals(view, that.view); @@ -103,13 +85,12 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(includeBrowse, pageSize, pageToken, parent, view); + return Objects.hash(pageSize, pageToken, parent, view); } @Override public String toString() { return new ToStringer(ListModelProviderServicesRequest.class) - .add("includeBrowse", includeBrowse) .add("pageSize", pageSize) .add("pageToken", pageToken) .add("parent", parent) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelServicesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelServicesRequest.java index 27bdff0f3..c94a57149 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelServicesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelServicesRequest.java @@ -10,13 +10,6 @@ @Generated public class ListModelServicesRequest { - /** - * Whether to include model services for which the principal can only access selective metadata. - */ - @JsonIgnore - @QueryParam("include_browse") - private Boolean includeBrowse; - /** * Maximum number of model services to return. Defaults to 100 when unset or 0; the maximum is * 100. Use `next_page_token` to retrieve additional pages. @@ -43,15 +36,6 @@ public class ListModelServicesRequest { @QueryParam("view") private ListModelServicesRequestView view; - public ListModelServicesRequest setIncludeBrowse(Boolean includeBrowse) { - this.includeBrowse = includeBrowse; - return this; - } - - public Boolean getIncludeBrowse() { - return includeBrowse; - } - public ListModelServicesRequest setPageSize(Long pageSize) { this.pageSize = pageSize; return this; @@ -93,8 +77,7 @@ public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ListModelServicesRequest that = (ListModelServicesRequest) o; - return Objects.equals(includeBrowse, that.includeBrowse) - && Objects.equals(pageSize, that.pageSize) + return Objects.equals(pageSize, that.pageSize) && Objects.equals(pageToken, that.pageToken) && Objects.equals(parent, that.parent) && Objects.equals(view, that.view); @@ -102,13 +85,12 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(includeBrowse, pageSize, pageToken, parent, view); + return Objects.hash(pageSize, pageToken, parent, view); } @Override public String toString() { return new ToStringer(ListModelServicesRequest.class) - .add("includeBrowse", includeBrowse) .add("pageSize", pageSize) .add("pageToken", pageToken) .add("parent", parent) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/McpService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/McpService.java index 9fabd5b5d..c3d1120d7 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/McpService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/McpService.java @@ -15,10 +15,6 @@ */ @Generated public class McpService { - /** Whether the caller sees only metadata available through the BROWSE privilege. */ - @JsonProperty("browse_only") - private Boolean browseOnly; - /** User-provided description. */ @JsonProperty("comment") private String comment; @@ -79,15 +75,6 @@ public class McpService { @JsonProperty("updated_by") private String updatedBy; - public McpService setBrowseOnly(Boolean browseOnly) { - this.browseOnly = browseOnly; - return this; - } - - public Boolean getBrowseOnly() { - return browseOnly; - } - public McpService setComment(String comment) { this.comment = comment; return this; @@ -192,8 +179,7 @@ public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; McpService that = (McpService) o; - return Objects.equals(browseOnly, that.browseOnly) - && Objects.equals(comment, that.comment) + return Objects.equals(comment, that.comment) && Objects.equals(config, that.config) && Objects.equals(createTime, that.createTime) && Objects.equals(createdBy, that.createdBy) @@ -209,7 +195,6 @@ public boolean equals(Object o) { @Override public int hashCode() { return Objects.hash( - browseOnly, comment, config, createTime, @@ -226,7 +211,6 @@ public int hashCode() { @Override public String toString() { return new ToStringer(McpService.class) - .add("browseOnly", browseOnly) .add("comment", comment) .add("config", config) .add("createTime", createTime) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelProviderService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelProviderService.java index 756a0fe01..08128c723 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelProviderService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelProviderService.java @@ -20,10 +20,6 @@ */ @Generated public class ModelProviderService { - /** Whether the caller sees only metadata available through the BROWSE privilege. */ - @JsonProperty("browse_only") - private Boolean browseOnly; - /** User-provided description. */ @JsonProperty("comment") private String comment; @@ -86,15 +82,6 @@ public class ModelProviderService { @JsonProperty("updated_by") private String updatedBy; - public ModelProviderService setBrowseOnly(Boolean browseOnly) { - this.browseOnly = browseOnly; - return this; - } - - public Boolean getBrowseOnly() { - return browseOnly; - } - public ModelProviderService setComment(String comment) { this.comment = comment; return this; @@ -199,8 +186,7 @@ public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ModelProviderService that = (ModelProviderService) o; - return Objects.equals(browseOnly, that.browseOnly) - && Objects.equals(comment, that.comment) + return Objects.equals(comment, that.comment) && Objects.equals(config, that.config) && Objects.equals(createTime, that.createTime) && Objects.equals(createdBy, that.createdBy) @@ -216,7 +202,6 @@ public boolean equals(Object o) { @Override public int hashCode() { return Objects.hash( - browseOnly, comment, config, createTime, @@ -233,7 +218,6 @@ public int hashCode() { @Override public String toString() { return new ToStringer(ModelProviderService.class) - .add("browseOnly", browseOnly) .add("comment", comment) .add("config", config) .add("createTime", createTime) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelService.java index e21ca359b..c3d1440df 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelService.java @@ -17,10 +17,6 @@ */ @Generated public class ModelService { - /** Whether the caller sees only metadata available through the BROWSE privilege. */ - @JsonProperty("browse_only") - private Boolean browseOnly; - /** User-provided description. */ @JsonProperty("comment") private String comment; @@ -89,15 +85,6 @@ public class ModelService { @JsonProperty("updated_by") private String updatedBy; - public ModelService setBrowseOnly(Boolean browseOnly) { - this.browseOnly = browseOnly; - return this; - } - - public Boolean getBrowseOnly() { - return browseOnly; - } - public ModelService setComment(String comment) { this.comment = comment; return this; @@ -211,8 +198,7 @@ public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ModelService that = (ModelService) o; - return Objects.equals(browseOnly, that.browseOnly) - && Objects.equals(comment, that.comment) + return Objects.equals(comment, that.comment) && Objects.equals(config, that.config) && Objects.equals(createTime, that.createTime) && Objects.equals(createdBy, that.createdBy) @@ -229,7 +215,6 @@ public boolean equals(Object o) { @Override public int hashCode() { return Objects.hash( - browseOnly, comment, config, createTime, @@ -247,7 +232,6 @@ public int hashCode() { @Override public String toString() { return new ToStringer(ModelService.class) - .add("browseOnly", browseOnly) .add("comment", comment) .add("config", config) .add("createTime", createTime) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/Transformer.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/Transformer.java index d8e30d6eb..c237b131a 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/Transformer.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/Transformer.java @@ -14,10 +14,24 @@ public class Transformer { @JsonProperty("format") private TransformerFormat format; + /** + * Optional input column to transform. When set, the transformer reads from this column instead of + * the default source column. + */ + @JsonProperty("input_column") + private String inputColumn; + /** */ @JsonProperty("json_options") private JsonTransformerOptions jsonOptions; + /** + * Optional output column name. When set, the transformed result is written to this column instead + * of replacing the input column. + */ + @JsonProperty("output_column") + private String outputColumn; + public Transformer setFormat(TransformerFormat format) { this.format = format; return this; @@ -27,6 +41,15 @@ public TransformerFormat getFormat() { return format; } + public Transformer setInputColumn(String inputColumn) { + this.inputColumn = inputColumn; + return this; + } + + public String getInputColumn() { + return inputColumn; + } + public Transformer setJsonOptions(JsonTransformerOptions jsonOptions) { this.jsonOptions = jsonOptions; return this; @@ -36,24 +59,38 @@ public JsonTransformerOptions getJsonOptions() { return jsonOptions; } + public Transformer setOutputColumn(String outputColumn) { + this.outputColumn = outputColumn; + return this; + } + + public String getOutputColumn() { + return outputColumn; + } + @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Transformer that = (Transformer) o; - return Objects.equals(format, that.format) && Objects.equals(jsonOptions, that.jsonOptions); + return Objects.equals(format, that.format) + && Objects.equals(inputColumn, that.inputColumn) + && Objects.equals(jsonOptions, that.jsonOptions) + && Objects.equals(outputColumn, that.outputColumn); } @Override public int hashCode() { - return Objects.hash(format, jsonOptions); + return Objects.hash(format, inputColumn, jsonOptions, outputColumn); } @Override public String toString() { return new ToStringer(Transformer.class) .add("format", format) + .add("inputColumn", inputColumn) .add("jsonOptions", jsonOptions) + .add("outputColumn", outputColumn) .toString(); } }