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. For unpaginated request, there is no guarantee of a
- * specific ordering of the elements in the array. For paginated request, elements are ordered by
- * their name.
+ * some privilege on the external location. There is no guarantee of a specific ordering of the
+ * elements in the array.
*/
public Iterable 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. For unpaginated request, there is no guarantee of a
- * specific ordering of the elements in the array. For paginated request, elements are ordered by
- * their name.
+ * some privilege on the external location. There is no guarantee of a specific ordering of the
+ * elements in the array.
*/
ListExternalLocationsResponse list(ListExternalLocationsRequest listExternalLocationsRequest);
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 fe25a1bcf..02b5d835d 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
@@ -9,6 +9,13 @@
@Generated
public class FunctionInfo {
+ /**
+ * 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.
+ */
+ @JsonProperty("browse_only")
+ private Boolean browseOnly;
+
/** Name of parent catalog. */
@JsonProperty("catalog_name")
private String catalogName;
@@ -130,6 +137,15 @@ public class FunctionInfo {
@JsonProperty("updated_by")
private String updatedBy;
+ public FunctionInfo setBrowseOnly(Boolean browseOnly) {
+ this.browseOnly = browseOnly;
+ return this;
+ }
+
+ public Boolean getBrowseOnly() {
+ return browseOnly;
+ }
+
public FunctionInfo setCatalogName(String catalogName) {
this.catalogName = catalogName;
return this;
@@ -396,7 +412,8 @@ public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
FunctionInfo that = (FunctionInfo) o;
- return Objects.equals(catalogName, that.catalogName)
+ return Objects.equals(browseOnly, that.browseOnly)
+ && Objects.equals(catalogName, that.catalogName)
&& Objects.equals(comment, that.comment)
&& Objects.equals(createdAt, that.createdAt)
&& Objects.equals(createdBy, that.createdBy)
@@ -430,6 +447,7 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
return Objects.hash(
+ browseOnly,
catalogName,
comment,
createdAt,
@@ -464,6 +482,7 @@ public int hashCode() {
@Override
public String toString() {
return new ToStringer(FunctionInfo.class)
+ .add("browseOnly", browseOnly)
.add("catalogName", catalogName)
.add("comment", comment)
.add("createdAt", createdAt)
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 e5e01a85e..d4e3e587b 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
@@ -94,8 +94,8 @@ public Iterable Create a new Online Table.
*/
- public OnlineTable create(ViewData request) {
+ public OnlineTable create(CreateOnlineTableRequest request) {
return impl.create(request);
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OnlineTablesImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OnlineTablesImpl.java
index 3f300ec2c..3b29957f1 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OnlineTablesImpl.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/OnlineTablesImpl.java
@@ -16,7 +16,7 @@ public OnlineTablesImpl(ApiClient apiClient) {
}
@Override
- public OnlineTable create(ViewData request) {
+ public OnlineTable create(CreateOnlineTableRequest request) {
String path = "/api/2.0/online-tables";
Map Create a new Online Table.
*/
- OnlineTable create(ViewData viewData);
+ OnlineTable create(CreateOnlineTableRequest createOnlineTableRequest);
/**
* Delete an Online Table.
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ReadVolumeRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ReadVolumeRequest.java
index cfc998d09..bf7bf0f60 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ReadVolumeRequest.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ReadVolumeRequest.java
@@ -3,15 +3,32 @@
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 java.util.Objects;
/** Get a Volume */
@Generated
public class ReadVolumeRequest {
+ /**
+ * Whether to include volumes in the response for which the principal can only access selective
+ * metadata for
+ */
+ @QueryParam("include_browse")
+ private Boolean includeBrowse;
+
/** The three-level (fully qualified) name of the volume */
private String name;
+ public ReadVolumeRequest setIncludeBrowse(Boolean includeBrowse) {
+ this.includeBrowse = includeBrowse;
+ return this;
+ }
+
+ public Boolean getIncludeBrowse() {
+ return includeBrowse;
+ }
+
public ReadVolumeRequest setName(String name) {
this.name = name;
return this;
@@ -26,16 +43,19 @@ public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ReadVolumeRequest that = (ReadVolumeRequest) o;
- return Objects.equals(name, that.name);
+ return Objects.equals(includeBrowse, that.includeBrowse) && Objects.equals(name, that.name);
}
@Override
public int hashCode() {
- return Objects.hash(name);
+ return Objects.hash(includeBrowse, name);
}
@Override
public String toString() {
- return new ToStringer(ReadVolumeRequest.class).add("name", name).toString();
+ return new ToStringer(ReadVolumeRequest.class)
+ .add("includeBrowse", includeBrowse)
+ .add("name", name)
+ .toString();
}
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelInfo.java
index 2437e9e84..072d58d13 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelInfo.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/RegisteredModelInfo.java
@@ -14,6 +14,13 @@ public class RegisteredModelInfo {
@JsonProperty("aliases")
private Collection 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) will be retrieved. For unpaginated request, there is no guarantee of a specific
- * ordering of the elements in the array. For paginated request, elements are ordered by their
- * name.
+ * privilege) will be retrieved. There is no guarantee of a specific ordering of the elements in
+ * the array.
*/
public Iterable 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) will be retrieved. For unpaginated request, there is no guarantee of a specific
- * ordering of the elements in the array. For paginated request, elements are ordered by their
- * name.
+ * privilege) will be retrieved. There is no guarantee of a specific ordering of the elements in
+ * the array.
*/
ListSchemasResponse list(ListSchemasRequest listSchemasRequest);
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 2046f44ff..c0d091718 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
@@ -11,7 +11,7 @@
public class StorageCredentialInfo {
/** The AWS IAM role configuration. */
@JsonProperty("aws_iam_role")
- private AwsIamRole awsIamRole;
+ private AwsIamRoleResponse awsIamRole;
/** The Azure managed identity configuration. */
@JsonProperty("azure_managed_identity")
@@ -73,12 +73,12 @@ public class StorageCredentialInfo {
@JsonProperty("used_for_managed_storage")
private Boolean usedForManagedStorage;
- public StorageCredentialInfo setAwsIamRole(AwsIamRole awsIamRole) {
+ public StorageCredentialInfo setAwsIamRole(AwsIamRoleResponse awsIamRole) {
this.awsIamRole = awsIamRole;
return this;
}
- public AwsIamRole getAwsIamRole() {
+ public AwsIamRoleResponse getAwsIamRole() {
return awsIamRole;
}
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 1c20bfd60..69d3b4f87 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
@@ -82,9 +82,8 @@ public StorageCredentialInfo get(GetStorageCredentialRequest request) {
*
* 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. For unpaginated request, there is
- * no guarantee of a specific ordering of the elements in the array. For paginated request,
- * elements are ordered by their name.
+ * a metastore admin, retrieval of credentials is unrestricted. There is no guarantee of a
+ * specific ordering of the elements in the array.
*/
public Iterable 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. For unpaginated request, there is
- * no guarantee of a specific ordering of the elements in the array. For paginated request,
- * elements are ordered by their name.
+ * a metastore admin, retrieval of credentials is unrestricted. There is no guarantee of a
+ * specific ordering of the elements in the array.
*/
ListStorageCredentialsResponse list(ListStorageCredentialsRequest listStorageCredentialsRequest);
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 f84d5ca58..bb0cc1da1 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
@@ -15,6 +15,13 @@ public class TableInfo {
@JsonProperty("access_point")
private String accessPoint;
+ /**
+ * 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.
+ */
+ @JsonProperty("browse_only")
+ private Boolean browseOnly;
+
/** Name of parent catalog. */
@JsonProperty("catalog_name")
private String catalogName;
@@ -163,6 +170,15 @@ public String getAccessPoint() {
return accessPoint;
}
+ public TableInfo setBrowseOnly(Boolean browseOnly) {
+ this.browseOnly = browseOnly;
+ return this;
+ }
+
+ public Boolean getBrowseOnly() {
+ return browseOnly;
+ }
+
public TableInfo setCatalogName(String catalogName) {
this.catalogName = catalogName;
return this;
@@ -442,6 +458,7 @@ public boolean equals(Object o) {
if (o == null || getClass() != o.getClass()) return false;
TableInfo that = (TableInfo) o;
return Objects.equals(accessPoint, that.accessPoint)
+ && Objects.equals(browseOnly, that.browseOnly)
&& Objects.equals(catalogName, that.catalogName)
&& Objects.equals(columns, that.columns)
&& Objects.equals(comment, that.comment)
@@ -479,6 +496,7 @@ public boolean equals(Object o) {
public int hashCode() {
return Objects.hash(
accessPoint,
+ browseOnly,
catalogName,
columns,
comment,
@@ -515,6 +533,7 @@ public int hashCode() {
public String toString() {
return new ToStringer(TableInfo.class)
.add("accessPoint", accessPoint)
+ .add("browseOnly", browseOnly)
.add("catalogName", catalogName)
.add("columns", columns)
.add("comment", comment)
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 b8e73eca9..a41e861cd 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
@@ -38,7 +38,7 @@ public class UpdateMonitor {
/** The notification settings for the monitor. */
@JsonProperty("notifications")
- private Collection Create a draft dashboard.
+ */
+ public Dashboard create(CreateDashboardRequest request) {
+ return impl.create(request);
+ }
+
+ public Dashboard get(String dashboardId) {
+ return get(new GetDashboardRequest().setDashboardId(dashboardId));
+ }
+
+ /**
+ * Get dashboard.
+ *
+ * Get a draft dashboard.
+ */
+ public Dashboard get(GetDashboardRequest request) {
+ return impl.get(request);
+ }
+
+ public PublishedDashboard getPublished(String dashboardId) {
+ return getPublished(new GetPublishedDashboardRequest().setDashboardId(dashboardId));
+ }
+
+ /**
+ * Get published dashboard.
+ *
+ * Get the current published dashboard.
+ */
+ public PublishedDashboard getPublished(GetPublishedDashboardRequest request) {
+ return impl.getPublished(request);
+ }
+
+ public PublishedDashboard publish(String dashboardId) {
+ return publish(new PublishRequest().setDashboardId(dashboardId));
}
/**
@@ -35,8 +74,34 @@ public void publish(String dashboardId) {
*
* Publish the current draft dashboard.
*/
- public void publish(PublishRequest request) {
- impl.publish(request);
+ public PublishedDashboard publish(PublishRequest request) {
+ return impl.publish(request);
+ }
+
+ public void trash(String dashboardId) {
+ trash(new TrashDashboardRequest().setDashboardId(dashboardId));
+ }
+
+ /**
+ * Trash dashboard.
+ *
+ * Trash a dashboard.
+ */
+ public void trash(TrashDashboardRequest request) {
+ impl.trash(request);
+ }
+
+ public Dashboard update(String dashboardId) {
+ return update(new UpdateDashboardRequest().setDashboardId(dashboardId));
+ }
+
+ /**
+ * Update dashboard.
+ *
+ * Update a draft dashboard.
+ */
+ public Dashboard update(UpdateDashboardRequest request) {
+ return impl.update(request);
}
public LakeviewService impl() {
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewImpl.java
index 8386295ce..43dbbd705 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewImpl.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LakeviewImpl.java
@@ -16,12 +16,55 @@ public LakeviewImpl(ApiClient apiClient) {
}
@Override
- public void publish(PublishRequest request) {
+ public Dashboard create(CreateDashboardRequest request) {
+ String path = "/api/2.0/lakeview/dashboards";
+ Map Create a draft dashboard.
+ */
+ Dashboard create(CreateDashboardRequest createDashboardRequest);
+
+ /**
+ * Get dashboard.
+ *
+ * Get a draft dashboard.
+ */
+ Dashboard get(GetDashboardRequest getDashboardRequest);
+
+ /**
+ * Get published dashboard.
+ *
+ * Get the current published dashboard.
+ */
+ PublishedDashboard getPublished(GetPublishedDashboardRequest getPublishedDashboardRequest);
+
/**
* Publish dashboard.
*
* Publish the current draft dashboard.
*/
- void publish(PublishRequest publishRequest);
+ PublishedDashboard publish(PublishRequest publishRequest);
+
+ /**
+ * Trash dashboard.
+ *
+ * Trash a dashboard.
+ */
+ void trash(TrashDashboardRequest trashDashboardRequest);
+
+ /**
+ * Update dashboard.
+ *
+ * Update a draft dashboard.
+ */
+ Dashboard update(UpdateDashboardRequest updateDashboardRequest);
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LifecycleState.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LifecycleState.java
new file mode 100755
index 000000000..37abfd2a8
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/LifecycleState.java
@@ -0,0 +1,11 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+
+package com.databricks.sdk.service.dashboards;
+
+import com.databricks.sdk.support.Generated;
+
+@Generated
+public enum LifecycleState {
+ ACTIVE,
+ TRASHED,
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/PublishedDashboard.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/PublishedDashboard.java
new file mode 100755
index 000000000..c8133c4f2
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/PublishedDashboard.java
@@ -0,0 +1,89 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+
+package com.databricks.sdk.service.dashboards;
+
+import com.databricks.sdk.support.Generated;
+import com.databricks.sdk.support.ToStringer;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Objects;
+
+@Generated
+public class PublishedDashboard {
+ /** The display name of the published dashboard. */
+ @JsonProperty("display_name")
+ private String displayName;
+
+ /** Indicates whether credentials are embedded in the published dashboard. */
+ @JsonProperty("embed_credentials")
+ private Boolean embedCredentials;
+
+ /** The timestamp of when the published dashboard was last revised. */
+ @JsonProperty("revision_create_time")
+ private String revisionCreateTime;
+
+ /** The warehouse ID used to run the published dashboard. */
+ @JsonProperty("warehouse_id")
+ private String warehouseId;
+
+ public PublishedDashboard setDisplayName(String displayName) {
+ this.displayName = displayName;
+ return this;
+ }
+
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ public PublishedDashboard setEmbedCredentials(Boolean embedCredentials) {
+ this.embedCredentials = embedCredentials;
+ return this;
+ }
+
+ public Boolean getEmbedCredentials() {
+ return embedCredentials;
+ }
+
+ public PublishedDashboard setRevisionCreateTime(String revisionCreateTime) {
+ this.revisionCreateTime = revisionCreateTime;
+ return this;
+ }
+
+ public String getRevisionCreateTime() {
+ return revisionCreateTime;
+ }
+
+ public PublishedDashboard setWarehouseId(String warehouseId) {
+ this.warehouseId = warehouseId;
+ return this;
+ }
+
+ public String getWarehouseId() {
+ return warehouseId;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) return true;
+ if (o == null || getClass() != o.getClass()) return false;
+ PublishedDashboard that = (PublishedDashboard) o;
+ return Objects.equals(displayName, that.displayName)
+ && Objects.equals(embedCredentials, that.embedCredentials)
+ && Objects.equals(revisionCreateTime, that.revisionCreateTime)
+ && Objects.equals(warehouseId, that.warehouseId);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(displayName, embedCredentials, revisionCreateTime, warehouseId);
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringer(PublishedDashboard.class)
+ .add("displayName", displayName)
+ .add("embedCredentials", embedCredentials)
+ .add("revisionCreateTime", revisionCreateTime)
+ .add("warehouseId", warehouseId)
+ .toString();
+ }
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TrashDashboardRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TrashDashboardRequest.java
new file mode 100755
index 000000000..b346cd139
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TrashDashboardRequest.java
@@ -0,0 +1,41 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+
+package com.databricks.sdk.service.dashboards;
+
+import com.databricks.sdk.support.Generated;
+import com.databricks.sdk.support.ToStringer;
+import java.util.Objects;
+
+/** Trash dashboard */
+@Generated
+public class TrashDashboardRequest {
+ /** UUID identifying the dashboard. */
+ private String dashboardId;
+
+ public TrashDashboardRequest setDashboardId(String dashboardId) {
+ this.dashboardId = dashboardId;
+ return this;
+ }
+
+ public String getDashboardId() {
+ return dashboardId;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) return true;
+ if (o == null || getClass() != o.getClass()) return false;
+ TrashDashboardRequest that = (TrashDashboardRequest) o;
+ return Objects.equals(dashboardId, that.dashboardId);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(dashboardId);
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringer(TrashDashboardRequest.class).add("dashboardId", dashboardId).toString();
+ }
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/PublishResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TrashDashboardResponse.java
similarity index 83%
rename from databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/PublishResponse.java
rename to databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TrashDashboardResponse.java
index 9f953cd06..0f43a3a49 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/PublishResponse.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/TrashDashboardResponse.java
@@ -7,7 +7,7 @@
import java.util.Objects;
@Generated
-public class PublishResponse {
+public class TrashDashboardResponse {
@Override
public boolean equals(Object o) {
@@ -23,6 +23,6 @@ public int hashCode() {
@Override
public String toString() {
- return new ToStringer(PublishResponse.class).toString();
+ return new ToStringer(TrashDashboardResponse.class).toString();
}
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UpdateDashboardRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UpdateDashboardRequest.java
new file mode 100755
index 000000000..46a384eec
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/dashboards/UpdateDashboardRequest.java
@@ -0,0 +1,106 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+
+package com.databricks.sdk.service.dashboards;
+
+import com.databricks.sdk.support.Generated;
+import com.databricks.sdk.support.ToStringer;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Objects;
+
+@Generated
+public class UpdateDashboardRequest {
+ /** UUID identifying the dashboard. */
+ private String dashboardId;
+
+ /** The display name of the dashboard. */
+ @JsonProperty("display_name")
+ private String displayName;
+
+ /**
+ * The etag for the dashboard. Can be optionally provided on updates to ensure that the dashboard
+ * has not been modified since the last read.
+ */
+ @JsonProperty("etag")
+ private String etag;
+
+ /** The contents of the dashboard in serialized string form. */
+ @JsonProperty("serialized_dashboard")
+ private String serializedDashboard;
+
+ /** The warehouse ID used to run the dashboard. */
+ @JsonProperty("warehouse_id")
+ private String warehouseId;
+
+ public UpdateDashboardRequest setDashboardId(String dashboardId) {
+ this.dashboardId = dashboardId;
+ return this;
+ }
+
+ public String getDashboardId() {
+ return dashboardId;
+ }
+
+ public UpdateDashboardRequest setDisplayName(String displayName) {
+ this.displayName = displayName;
+ return this;
+ }
+
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ public UpdateDashboardRequest setEtag(String etag) {
+ this.etag = etag;
+ return this;
+ }
+
+ public String getEtag() {
+ return etag;
+ }
+
+ public UpdateDashboardRequest setSerializedDashboard(String serializedDashboard) {
+ this.serializedDashboard = serializedDashboard;
+ return this;
+ }
+
+ public String getSerializedDashboard() {
+ return serializedDashboard;
+ }
+
+ public UpdateDashboardRequest setWarehouseId(String warehouseId) {
+ this.warehouseId = warehouseId;
+ return this;
+ }
+
+ public String getWarehouseId() {
+ return warehouseId;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) return true;
+ if (o == null || getClass() != o.getClass()) return false;
+ UpdateDashboardRequest that = (UpdateDashboardRequest) o;
+ return Objects.equals(dashboardId, that.dashboardId)
+ && Objects.equals(displayName, that.displayName)
+ && Objects.equals(etag, that.etag)
+ && Objects.equals(serializedDashboard, that.serializedDashboard)
+ && Objects.equals(warehouseId, that.warehouseId);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(dashboardId, displayName, etag, serializedDashboard, warehouseId);
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringer(UpdateDashboardRequest.class)
+ .add("dashboardId", dashboardId)
+ .add("displayName", displayName)
+ .add("etag", etag)
+ .add("serializedDashboard", serializedDashboard)
+ .add("warehouseId", warehouseId)
+ .toString();
+ }
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionLevel.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionLevel.java
index 18408b80b..fff729d4c 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionLevel.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iam/PermissionLevel.java
@@ -15,6 +15,7 @@ public enum PermissionLevel {
CAN_MANAGE_PRODUCTION_VERSIONS,
CAN_MANAGE_RUN,
CAN_MANAGE_STAGING_VERSIONS,
+ CAN_QUERY,
CAN_READ,
CAN_RESTART,
CAN_RUN,
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/BuildLogsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/BuildLogsRequest.java
index 7c20f2efe..54558cb79 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/BuildLogsRequest.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/BuildLogsRequest.java
@@ -6,10 +6,7 @@
import com.databricks.sdk.support.ToStringer;
import java.util.Objects;
-/**
- * Retrieve the logs associated with building the model's environment for a given serving endpoint's
- * served model.
- */
+/** Get build logs for a served model */
@Generated
public class BuildLogsRequest {
/** The name of the serving endpoint that the served model belongs to. This field is required. */
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/EndpointCoreConfigInput.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/EndpointCoreConfigInput.java
index 147006edd..f7fd03f75 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/EndpointCoreConfigInput.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/EndpointCoreConfigInput.java
@@ -21,7 +21,7 @@ public class EndpointCoreConfigInput {
private String name;
/**
- * A list of served entities for the endpoint to serve. A serving endpoint can have up to 10
+ * A list of served entities for the endpoint to serve. A serving endpoint can have up to 15
* served entities.
*/
@JsonProperty("served_entities")
@@ -29,7 +29,7 @@ public class EndpointCoreConfigInput {
/**
* (Deprecated, use served_entities instead) A list of served models for the endpoint to serve. A
- * serving endpoint can have up to 10 served models.
+ * serving endpoint can have up to 15 served models.
*/
@JsonProperty("served_models")
private Collection Retrieves the build logs associated with the provided served model.
*/
@@ -130,7 +129,7 @@ public void exportMetrics(String name) {
}
/**
- * Retrieve the metrics associated with a serving endpoint.
+ * Get metrics of a serving endpoint.
*
* Retrieves the metrics associated with the provided serving endpoint in either Prometheus or
* OpenMetrics exposition format.
@@ -182,7 +181,7 @@ public ServingEndpointPermissions getPermissions(GetServingEndpointPermissionsRe
return impl.getPermissions(request);
}
- /** Retrieve all serving endpoints. */
+ /** Get all serving endpoints. */
public Iterable Retrieves the service logs associated with the provided served model.
*/
@@ -205,7 +204,7 @@ public Iterable Used to batch add and delete tags from a serving endpoint with a single API call.
*/
@@ -218,7 +217,7 @@ public PutResponse put(String name) {
}
/**
- * Update the rate limits of a serving endpoint.
+ * Update rate limits of a serving endpoint.
*
* Used to update the rate limits of a serving endpoint. NOTE: only external and foundation
* model endpoints are supported as of now.
@@ -231,7 +230,7 @@ public QueryEndpointResponse query(String name) {
return query(new QueryEndpointInput().setName(name));
}
- /** Query a serving endpoint with provided model input. */
+ /** Query a serving endpoint. */
public QueryEndpointResponse query(QueryEndpointInput request) {
return impl.query(request);
}
@@ -256,7 +255,7 @@ public Wait Updates any combination of the serving endpoint's served entities, the compute configuration
* of those served entities, and the endpoint's traffic config. An endpoint that already has an
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpointsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpointsService.java
index 799bbd8bb..9a0eda68b 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpointsService.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/ServingEndpointsService.java
@@ -23,8 +23,7 @@
@Generated
public interface ServingEndpointsService {
/**
- * Retrieve the logs associated with building the model's environment for a given serving
- * endpoint's served model.
+ * Get build logs for a served model.
*
* Retrieves the build logs associated with the provided served model.
*/
@@ -37,7 +36,7 @@ public interface ServingEndpointsService {
void delete(DeleteServingEndpointRequest deleteServingEndpointRequest);
/**
- * Retrieve the metrics associated with a serving endpoint.
+ * Get metrics of a serving endpoint.
*
* Retrieves the metrics associated with the provided serving endpoint in either Prometheus or
* OpenMetrics exposition format.
@@ -68,32 +67,32 @@ GetServingEndpointPermissionLevelsResponse getPermissionLevels(
ServingEndpointPermissions getPermissions(
GetServingEndpointPermissionsRequest getServingEndpointPermissionsRequest);
- /** Retrieve all serving endpoints. */
+ /** Get all serving endpoints. */
ListEndpointsResponse list();
/**
- * Retrieve the most recent log lines associated with a given serving endpoint's served model.
+ * Get the latest logs for a served model.
*
* Retrieves the service logs associated with the provided served model.
*/
ServerLogsResponse logs(LogsRequest logsRequest);
/**
- * Patch the tags of a serving endpoint.
+ * Update tags of a serving endpoint.
*
* Used to batch add and delete tags from a serving endpoint with a single API call.
*/
Collection Used to update the rate limits of a serving endpoint. NOTE: only external and foundation
* model endpoints are supported as of now.
*/
PutResponse put(PutRequest putRequest);
- /** Query a serving endpoint with provided model input. */
+ /** Query a serving endpoint. */
QueryEndpointResponse query(QueryEndpointInput queryEndpointInput);
/**
@@ -106,7 +105,7 @@ ServingEndpointPermissions setPermissions(
ServingEndpointPermissionsRequest servingEndpointPermissionsRequest);
/**
- * Update a serving endpoint with a new config.
+ * Update config of a serving endpoint.
*
* Updates any combination of the serving endpoint's served entities, the compute configuration
* of those served entities, and the endpoint's traffic config. An endpoint that already has an
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 6b1bce1cc..fa7d583a7 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
@@ -31,7 +31,7 @@ public AutomaticClusterUpdateAPI(AutomaticClusterUpdateService mock) {
*
* Gets the automatic cluster update setting.
*/
- public AutomaticClusterUpdateSetting get(GetAutomaticClusterUpdateRequest request) {
+ public AutomaticClusterUpdateSetting get(GetAutomaticClusterUpdateSettingRequest request) {
return impl.get(request);
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateImpl.java
index b627e07e5..9771064ad 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateImpl.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AutomaticClusterUpdateImpl.java
@@ -16,7 +16,7 @@ public AutomaticClusterUpdateImpl(ApiClient apiClient) {
}
@Override
- public AutomaticClusterUpdateSetting get(GetAutomaticClusterUpdateRequest request) {
+ public AutomaticClusterUpdateSetting get(GetAutomaticClusterUpdateSettingRequest request) {
String path = "/api/2.0/settings/types/automatic_cluster_update/names/default";
Map Gets the automatic cluster update setting.
*/
AutomaticClusterUpdateSetting get(
- GetAutomaticClusterUpdateRequest getAutomaticClusterUpdateRequest);
+ GetAutomaticClusterUpdateSettingRequest getAutomaticClusterUpdateSettingRequest);
/**
* Update the automatic cluster update setting.
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAPI.java
index b24d8579b..facaf8b3e 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAPI.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAPI.java
@@ -33,7 +33,7 @@ public CspEnablementAPI(CspEnablementService mock) {
*
* Gets the compliance security profile setting.
*/
- public CspEnablementSetting get(GetCspEnablementRequest request) {
+ public CspEnablementSetting get(GetCspEnablementSettingRequest request) {
return impl.get(request);
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountAPI.java
index 8d8815c65..99c33fd21 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountAPI.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountAPI.java
@@ -36,7 +36,7 @@ public CspEnablementAccountAPI(CspEnablementAccountService mock) {
*
* Gets the compliance security profile setting for new workspaces.
*/
- public CspEnablementAccountSetting get(GetCspEnablementAccountRequest request) {
+ public CspEnablementAccountSetting get(GetCspEnablementAccountSettingRequest request) {
return impl.get(request);
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountImpl.java
index 804958b79..ee1e5cbb8 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountImpl.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountImpl.java
@@ -16,7 +16,7 @@ public CspEnablementAccountImpl(ApiClient apiClient) {
}
@Override
- public CspEnablementAccountSetting get(GetCspEnablementAccountRequest request) {
+ public CspEnablementAccountSetting get(GetCspEnablementAccountSettingRequest request) {
String path =
String.format(
"/api/2.0/accounts/%s/settings/types/shield_csp_enablement_ac/names/default",
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountService.java
index f43beaecc..09bbdf343 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountService.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementAccountService.java
@@ -23,7 +23,8 @@ public interface CspEnablementAccountService {
*
* Gets the compliance security profile setting for new workspaces.
*/
- CspEnablementAccountSetting get(GetCspEnablementAccountRequest getCspEnablementAccountRequest);
+ CspEnablementAccountSetting get(
+ GetCspEnablementAccountSettingRequest getCspEnablementAccountSettingRequest);
/**
* Update the compliance security profile setting for new workspaces.
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementImpl.java
index 767c5dc36..2b8e77fec 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementImpl.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CspEnablementImpl.java
@@ -16,7 +16,7 @@ public CspEnablementImpl(ApiClient apiClient) {
}
@Override
- public CspEnablementSetting get(GetCspEnablementRequest request) {
+ public CspEnablementSetting get(GetCspEnablementSettingRequest request) {
String path = "/api/2.0/settings/types/shield_csp_enablement_ws_db/names/default";
Map Gets the compliance security profile setting.
*/
- CspEnablementSetting get(GetCspEnablementRequest getCspEnablementRequest);
+ CspEnablementSetting get(GetCspEnablementSettingRequest getCspEnablementSettingRequest);
/**
* Update the compliance security profile setting.
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 d5bd0a5e5..a221e76ea 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
@@ -42,7 +42,8 @@ public DefaultNamespaceAPI(DefaultNamespaceService mock) {
* 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.
*/
- public DeleteDefaultNamespaceSettingResponse delete(DeleteDefaultNamespaceRequest request) {
+ public DeleteDefaultNamespaceSettingResponse delete(
+ DeleteDefaultNamespaceSettingRequest request) {
return impl.delete(request);
}
@@ -51,7 +52,7 @@ public DeleteDefaultNamespaceSettingResponse delete(DeleteDefaultNamespaceReques
*
* Gets the default namespace setting.
*/
- public DefaultNamespaceSetting get(GetDefaultNamespaceRequest request) {
+ public DefaultNamespaceSetting get(GetDefaultNamespaceSettingRequest request) {
return impl.get(request);
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceImpl.java
index 4a3b47f3a..6912944f9 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceImpl.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DefaultNamespaceImpl.java
@@ -16,7 +16,8 @@ public DefaultNamespaceImpl(ApiClient apiClient) {
}
@Override
- public DeleteDefaultNamespaceSettingResponse delete(DeleteDefaultNamespaceRequest request) {
+ public DeleteDefaultNamespaceSettingResponse delete(
+ DeleteDefaultNamespaceSettingRequest request) {
String path = "/api/2.0/settings/types/default_namespace_ws/names/default";
Map Gets the default namespace setting.
*/
- DefaultNamespaceSetting get(GetDefaultNamespaceRequest getDefaultNamespaceRequest);
+ DefaultNamespaceSetting get(GetDefaultNamespaceSettingRequest getDefaultNamespaceSettingRequest);
/**
* Update the default namespace setting.
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceSettingRequest.java
similarity index 81%
rename from databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceRequest.java
rename to databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceSettingRequest.java
index f6b985cd6..fa8a07c90 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceRequest.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteDefaultNamespaceSettingRequest.java
@@ -9,7 +9,7 @@
/** Delete the default namespace setting */
@Generated
-public class DeleteDefaultNamespaceRequest {
+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
@@ -21,7 +21,7 @@ public class DeleteDefaultNamespaceRequest {
@QueryParam("etag")
private String etag;
- public DeleteDefaultNamespaceRequest setEtag(String etag) {
+ public DeleteDefaultNamespaceSettingRequest setEtag(String etag) {
this.etag = etag;
return this;
}
@@ -34,7 +34,7 @@ public String getEtag() {
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
- DeleteDefaultNamespaceRequest that = (DeleteDefaultNamespaceRequest) o;
+ DeleteDefaultNamespaceSettingRequest that = (DeleteDefaultNamespaceSettingRequest) o;
return Objects.equals(etag, that.etag);
}
@@ -45,6 +45,6 @@ public int hashCode() {
@Override
public String toString() {
- return new ToStringer(DeleteDefaultNamespaceRequest.class).add("etag", etag).toString();
+ return new ToStringer(DeleteDefaultNamespaceSettingRequest.class).add("etag", etag).toString();
}
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeSettingRequest.java
similarity index 81%
rename from databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeRequest.java
rename to databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeSettingRequest.java
index f117cb10f..8e4fed90b 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeRequest.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeSettingRequest.java
@@ -9,7 +9,7 @@
/** Delete Personal Compute setting */
@Generated
-public class DeletePersonalComputeRequest {
+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
@@ -21,7 +21,7 @@ public class DeletePersonalComputeRequest {
@QueryParam("etag")
private String etag;
- public DeletePersonalComputeRequest setEtag(String etag) {
+ public DeletePersonalComputeSettingRequest setEtag(String etag) {
this.etag = etag;
return this;
}
@@ -34,7 +34,7 @@ public String getEtag() {
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
- DeletePersonalComputeRequest that = (DeletePersonalComputeRequest) o;
+ DeletePersonalComputeSettingRequest that = (DeletePersonalComputeSettingRequest) o;
return Objects.equals(etag, that.etag);
}
@@ -45,6 +45,6 @@ public int hashCode() {
@Override
public String toString() {
- return new ToStringer(DeletePersonalComputeRequest.class).add("etag", etag).toString();
+ return new ToStringer(DeletePersonalComputeSettingRequest.class).add("etag", etag).toString();
}
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminsSettingRequest.java
similarity index 78%
rename from databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminRequest.java
rename to databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminsSettingRequest.java
index 907440c93..29fd8539b 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminRequest.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteRestrictWorkspaceAdminsSettingRequest.java
@@ -9,7 +9,7 @@
/** Delete the restrict workspace admins setting */
@Generated
-public class DeleteRestrictWorkspaceAdminRequest {
+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
@@ -21,7 +21,7 @@ public class DeleteRestrictWorkspaceAdminRequest {
@QueryParam("etag")
private String etag;
- public DeleteRestrictWorkspaceAdminRequest setEtag(String etag) {
+ public DeleteRestrictWorkspaceAdminsSettingRequest setEtag(String etag) {
this.etag = etag;
return this;
}
@@ -34,7 +34,8 @@ public String getEtag() {
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
- DeleteRestrictWorkspaceAdminRequest that = (DeleteRestrictWorkspaceAdminRequest) o;
+ DeleteRestrictWorkspaceAdminsSettingRequest that =
+ (DeleteRestrictWorkspaceAdminsSettingRequest) o;
return Objects.equals(etag, that.etag);
}
@@ -45,6 +46,8 @@ public int hashCode() {
@Override
public String toString() {
- return new ToStringer(DeleteRestrictWorkspaceAdminRequest.class).add("etag", etag).toString();
+ return new ToStringer(DeleteRestrictWorkspaceAdminsSettingRequest.class)
+ .add("etag", etag)
+ .toString();
}
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAPI.java
index 32b540d0f..fe01a2693 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAPI.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAPI.java
@@ -35,7 +35,7 @@ public EsmEnablementAPI(EsmEnablementService mock) {
*
* Gets the enhanced security monitoring setting.
*/
- public EsmEnablementSetting get(GetEsmEnablementRequest request) {
+ public EsmEnablementSetting get(GetEsmEnablementSettingRequest request) {
return impl.get(request);
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountAPI.java
index 2971dcd16..cec5ff9f0 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountAPI.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountAPI.java
@@ -33,7 +33,7 @@ public EsmEnablementAccountAPI(EsmEnablementAccountService mock) {
*
* Gets the enhanced security monitoring setting for new workspaces.
*/
- public EsmEnablementAccountSetting get(GetEsmEnablementAccountRequest request) {
+ public EsmEnablementAccountSetting get(GetEsmEnablementAccountSettingRequest request) {
return impl.get(request);
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountImpl.java
index 37f8e295a..6e3fb4adc 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountImpl.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountImpl.java
@@ -16,7 +16,7 @@ public EsmEnablementAccountImpl(ApiClient apiClient) {
}
@Override
- public EsmEnablementAccountSetting get(GetEsmEnablementAccountRequest request) {
+ public EsmEnablementAccountSetting get(GetEsmEnablementAccountSettingRequest request) {
String path =
String.format(
"/api/2.0/accounts/%s/settings/types/shield_esm_enablement_ac/names/default",
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountService.java
index 57a73c753..51a33c99b 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountService.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementAccountService.java
@@ -20,7 +20,8 @@ public interface EsmEnablementAccountService {
*
* Gets the enhanced security monitoring setting for new workspaces.
*/
- EsmEnablementAccountSetting get(GetEsmEnablementAccountRequest getEsmEnablementAccountRequest);
+ EsmEnablementAccountSetting get(
+ GetEsmEnablementAccountSettingRequest getEsmEnablementAccountSettingRequest);
/**
* Update the enhanced security monitoring setting for new workspaces.
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementImpl.java
index 03075e5ad..f8cc5ba2f 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementImpl.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/EsmEnablementImpl.java
@@ -16,7 +16,7 @@ public EsmEnablementImpl(ApiClient apiClient) {
}
@Override
- public EsmEnablementSetting get(GetEsmEnablementRequest request) {
+ public EsmEnablementSetting get(GetEsmEnablementSettingRequest request) {
String path = "/api/2.0/settings/types/shield_esm_enablement_ws_db/names/default";
Map Gets the enhanced security monitoring setting.
*/
- EsmEnablementSetting get(GetEsmEnablementRequest getEsmEnablementRequest);
+ EsmEnablementSetting get(GetEsmEnablementSettingRequest getEsmEnablementSettingRequest);
/**
* Update the enhanced security monitoring setting.
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAutomaticClusterUpdateRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAutomaticClusterUpdateSettingRequest.java
similarity index 79%
rename from databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAutomaticClusterUpdateRequest.java
rename to databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAutomaticClusterUpdateSettingRequest.java
index edebb66b6..1b81c9d66 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAutomaticClusterUpdateRequest.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetAutomaticClusterUpdateSettingRequest.java
@@ -9,7 +9,7 @@
/** Get the automatic cluster update setting */
@Generated
-public class GetAutomaticClusterUpdateRequest {
+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
@@ -21,7 +21,7 @@ public class GetAutomaticClusterUpdateRequest {
@QueryParam("etag")
private String etag;
- public GetAutomaticClusterUpdateRequest setEtag(String etag) {
+ public GetAutomaticClusterUpdateSettingRequest setEtag(String etag) {
this.etag = etag;
return this;
}
@@ -34,7 +34,7 @@ public String getEtag() {
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
- GetAutomaticClusterUpdateRequest that = (GetAutomaticClusterUpdateRequest) o;
+ GetAutomaticClusterUpdateSettingRequest that = (GetAutomaticClusterUpdateSettingRequest) o;
return Objects.equals(etag, that.etag);
}
@@ -45,6 +45,8 @@ public int hashCode() {
@Override
public String toString() {
- return new ToStringer(GetAutomaticClusterUpdateRequest.class).add("etag", etag).toString();
+ return new ToStringer(GetAutomaticClusterUpdateSettingRequest.class)
+ .add("etag", etag)
+ .toString();
}
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementAccountRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementAccountSettingRequest.java
similarity index 81%
rename from databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementAccountRequest.java
rename to databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementAccountSettingRequest.java
index ded435a60..6fb8f7878 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementAccountRequest.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementAccountSettingRequest.java
@@ -9,7 +9,7 @@
/** Get the compliance security profile setting for new workspaces */
@Generated
-public class GetCspEnablementAccountRequest {
+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
@@ -21,7 +21,7 @@ public class GetCspEnablementAccountRequest {
@QueryParam("etag")
private String etag;
- public GetCspEnablementAccountRequest setEtag(String etag) {
+ public GetCspEnablementAccountSettingRequest setEtag(String etag) {
this.etag = etag;
return this;
}
@@ -34,7 +34,7 @@ public String getEtag() {
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
- GetCspEnablementAccountRequest that = (GetCspEnablementAccountRequest) o;
+ GetCspEnablementAccountSettingRequest that = (GetCspEnablementAccountSettingRequest) o;
return Objects.equals(etag, that.etag);
}
@@ -45,6 +45,6 @@ public int hashCode() {
@Override
public String toString() {
- return new ToStringer(GetCspEnablementAccountRequest.class).add("etag", etag).toString();
+ return new ToStringer(GetCspEnablementAccountSettingRequest.class).add("etag", etag).toString();
}
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementSettingRequest.java
similarity index 82%
rename from databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementRequest.java
rename to databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementSettingRequest.java
index c18eea1a8..4391ee856 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementRequest.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetCspEnablementSettingRequest.java
@@ -9,7 +9,7 @@
/** Get the compliance security profile setting */
@Generated
-public class GetCspEnablementRequest {
+public class GetCspEnablementSettingRequest {
/**
* 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
@@ -21,7 +21,7 @@ public class GetCspEnablementRequest {
@QueryParam("etag")
private String etag;
- public GetCspEnablementRequest setEtag(String etag) {
+ public GetCspEnablementSettingRequest setEtag(String etag) {
this.etag = etag;
return this;
}
@@ -34,7 +34,7 @@ public String getEtag() {
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
- GetCspEnablementRequest that = (GetCspEnablementRequest) o;
+ GetCspEnablementSettingRequest that = (GetCspEnablementSettingRequest) o;
return Objects.equals(etag, that.etag);
}
@@ -45,6 +45,6 @@ public int hashCode() {
@Override
public String toString() {
- return new ToStringer(GetCspEnablementRequest.class).add("etag", etag).toString();
+ return new ToStringer(GetCspEnablementSettingRequest.class).add("etag", etag).toString();
}
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultNamespaceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultNamespaceSettingRequest.java
similarity index 81%
rename from databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultNamespaceRequest.java
rename to databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultNamespaceSettingRequest.java
index 2db700cd8..394610a16 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultNamespaceRequest.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetDefaultNamespaceSettingRequest.java
@@ -9,7 +9,7 @@
/** Get the default namespace setting */
@Generated
-public class GetDefaultNamespaceRequest {
+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
@@ -21,7 +21,7 @@ public class GetDefaultNamespaceRequest {
@QueryParam("etag")
private String etag;
- public GetDefaultNamespaceRequest setEtag(String etag) {
+ public GetDefaultNamespaceSettingRequest setEtag(String etag) {
this.etag = etag;
return this;
}
@@ -34,7 +34,7 @@ public String getEtag() {
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
- GetDefaultNamespaceRequest that = (GetDefaultNamespaceRequest) o;
+ GetDefaultNamespaceSettingRequest that = (GetDefaultNamespaceSettingRequest) o;
return Objects.equals(etag, that.etag);
}
@@ -45,6 +45,6 @@ public int hashCode() {
@Override
public String toString() {
- return new ToStringer(GetDefaultNamespaceRequest.class).add("etag", etag).toString();
+ return new ToStringer(GetDefaultNamespaceSettingRequest.class).add("etag", etag).toString();
}
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementAccountRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementAccountSettingRequest.java
similarity index 81%
rename from databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementAccountRequest.java
rename to databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementAccountSettingRequest.java
index ddf71eeb6..0aedc70ff 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementAccountRequest.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementAccountSettingRequest.java
@@ -9,7 +9,7 @@
/** Get the enhanced security monitoring setting for new workspaces */
@Generated
-public class GetEsmEnablementAccountRequest {
+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
@@ -21,7 +21,7 @@ public class GetEsmEnablementAccountRequest {
@QueryParam("etag")
private String etag;
- public GetEsmEnablementAccountRequest setEtag(String etag) {
+ public GetEsmEnablementAccountSettingRequest setEtag(String etag) {
this.etag = etag;
return this;
}
@@ -34,7 +34,7 @@ public String getEtag() {
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
- GetEsmEnablementAccountRequest that = (GetEsmEnablementAccountRequest) o;
+ GetEsmEnablementAccountSettingRequest that = (GetEsmEnablementAccountSettingRequest) o;
return Objects.equals(etag, that.etag);
}
@@ -45,6 +45,6 @@ public int hashCode() {
@Override
public String toString() {
- return new ToStringer(GetEsmEnablementAccountRequest.class).add("etag", etag).toString();
+ return new ToStringer(GetEsmEnablementAccountSettingRequest.class).add("etag", etag).toString();
}
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementSettingRequest.java
similarity index 82%
rename from databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementRequest.java
rename to databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementSettingRequest.java
index 4d205ef4b..491399f62 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementRequest.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetEsmEnablementSettingRequest.java
@@ -9,7 +9,7 @@
/** Get the enhanced security monitoring setting */
@Generated
-public class GetEsmEnablementRequest {
+public class GetEsmEnablementSettingRequest {
/**
* 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
@@ -21,7 +21,7 @@ public class GetEsmEnablementRequest {
@QueryParam("etag")
private String etag;
- public GetEsmEnablementRequest setEtag(String etag) {
+ public GetEsmEnablementSettingRequest setEtag(String etag) {
this.etag = etag;
return this;
}
@@ -34,7 +34,7 @@ public String getEtag() {
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
- GetEsmEnablementRequest that = (GetEsmEnablementRequest) o;
+ GetEsmEnablementSettingRequest that = (GetEsmEnablementSettingRequest) o;
return Objects.equals(etag, that.etag);
}
@@ -45,6 +45,6 @@ public int hashCode() {
@Override
public String toString() {
- return new ToStringer(GetEsmEnablementRequest.class).add("etag", etag).toString();
+ return new ToStringer(GetEsmEnablementSettingRequest.class).add("etag", etag).toString();
}
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetIpAccessListRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetIpAccessList.java
similarity index 73%
rename from databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetIpAccessListRequest.java
rename to databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetIpAccessList.java
index f4efb6898..a52b1c3b0 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetIpAccessListRequest.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetIpAccessList.java
@@ -8,11 +8,11 @@
/** Get access list */
@Generated
-public class GetIpAccessListRequest {
+public class GetIpAccessList {
/** The ID for the corresponding IP access list */
private String ipAccessListId;
- public GetIpAccessListRequest setIpAccessListId(String ipAccessListId) {
+ public GetIpAccessList setIpAccessListId(String ipAccessListId) {
this.ipAccessListId = ipAccessListId;
return this;
}
@@ -25,7 +25,7 @@ public String getIpAccessListId() {
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
- GetIpAccessListRequest that = (GetIpAccessListRequest) o;
+ GetIpAccessList that = (GetIpAccessList) o;
return Objects.equals(ipAccessListId, that.ipAccessListId);
}
@@ -36,8 +36,6 @@ public int hashCode() {
@Override
public String toString() {
- return new ToStringer(GetIpAccessListRequest.class)
- .add("ipAccessListId", ipAccessListId)
- .toString();
+ return new ToStringer(GetIpAccessList.class).add("ipAccessListId", ipAccessListId).toString();
}
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPersonalComputeRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPersonalComputeSettingRequest.java
similarity index 81%
rename from databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPersonalComputeRequest.java
rename to databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPersonalComputeSettingRequest.java
index 8c3805549..2998f5979 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPersonalComputeRequest.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPersonalComputeSettingRequest.java
@@ -9,7 +9,7 @@
/** Get Personal Compute setting */
@Generated
-public class GetPersonalComputeRequest {
+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
@@ -21,7 +21,7 @@ public class GetPersonalComputeRequest {
@QueryParam("etag")
private String etag;
- public GetPersonalComputeRequest setEtag(String etag) {
+ public GetPersonalComputeSettingRequest setEtag(String etag) {
this.etag = etag;
return this;
}
@@ -34,7 +34,7 @@ public String getEtag() {
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
- GetPersonalComputeRequest that = (GetPersonalComputeRequest) o;
+ GetPersonalComputeSettingRequest that = (GetPersonalComputeSettingRequest) o;
return Objects.equals(etag, that.etag);
}
@@ -45,6 +45,6 @@ public int hashCode() {
@Override
public String toString() {
- return new ToStringer(GetPersonalComputeRequest.class).add("etag", etag).toString();
+ return new ToStringer(GetPersonalComputeSettingRequest.class).add("etag", etag).toString();
}
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetRestrictWorkspaceAdminRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetRestrictWorkspaceAdminsSettingRequest.java
similarity index 79%
rename from databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetRestrictWorkspaceAdminRequest.java
rename to databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetRestrictWorkspaceAdminsSettingRequest.java
index bd667fdac..06f4c649a 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetRestrictWorkspaceAdminRequest.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetRestrictWorkspaceAdminsSettingRequest.java
@@ -9,7 +9,7 @@
/** Get the restrict workspace admins setting */
@Generated
-public class GetRestrictWorkspaceAdminRequest {
+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
@@ -21,7 +21,7 @@ public class GetRestrictWorkspaceAdminRequest {
@QueryParam("etag")
private String etag;
- public GetRestrictWorkspaceAdminRequest setEtag(String etag) {
+ public GetRestrictWorkspaceAdminsSettingRequest setEtag(String etag) {
this.etag = etag;
return this;
}
@@ -34,7 +34,7 @@ public String getEtag() {
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
- GetRestrictWorkspaceAdminRequest that = (GetRestrictWorkspaceAdminRequest) o;
+ GetRestrictWorkspaceAdminsSettingRequest that = (GetRestrictWorkspaceAdminsSettingRequest) o;
return Objects.equals(etag, that.etag);
}
@@ -45,6 +45,8 @@ public int hashCode() {
@Override
public String toString() {
- return new ToStringer(GetRestrictWorkspaceAdminRequest.class).add("etag", etag).toString();
+ return new ToStringer(GetRestrictWorkspaceAdminsSettingRequest.class)
+ .add("etag", etag)
+ .toString();
}
}
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 b8a4c0ac0..d20213129 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
@@ -83,7 +83,7 @@ public void delete(DeleteIpAccessListRequest request) {
}
public FetchIpAccessListResponse get(String ipAccessListId) {
- return get(new GetIpAccessListRequest().setIpAccessListId(ipAccessListId));
+ return get(new GetIpAccessList().setIpAccessListId(ipAccessListId));
}
/**
@@ -91,7 +91,7 @@ public FetchIpAccessListResponse get(String ipAccessListId) {
*
* Gets an IP access list, specified by its list ID.
*/
- public FetchIpAccessListResponse get(GetIpAccessListRequest request) {
+ public FetchIpAccessListResponse get(GetIpAccessList request) {
return impl.get(request);
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsImpl.java
index 7b4b956f3..49a291cec 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsImpl.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsImpl.java
@@ -33,7 +33,7 @@ public void delete(DeleteIpAccessListRequest request) {
}
@Override
- public FetchIpAccessListResponse get(GetIpAccessListRequest request) {
+ public FetchIpAccessListResponse get(GetIpAccessList request) {
String path = String.format("/api/2.0/ip-access-lists/%s", request.getIpAccessListId());
Map Gets an IP access list, specified by its list ID.
*/
- FetchIpAccessListResponse get(GetIpAccessListRequest getIpAccessListRequest);
+ FetchIpAccessListResponse get(GetIpAccessList getIpAccessList);
/**
* Get access lists.
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 3d56ec03a..e039d64d4 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
@@ -96,9 +96,10 @@ public NccAzurePrivateEndpointRule deletePrivateEndpointRule(
/**
* Delete a private endpoint rule.
*
- * Initiates deleting a private endpoint rule. The private endpoint will be deactivated and
- * will be purged after seven days of deactivation. When a private endpoint is in deactivated
- * state, `deactivated` field is set to `true` and the private endpoint is not available to your
+ * 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 seven days 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.
*/
public NccAzurePrivateEndpointRule deletePrivateEndpointRule(
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 6418599f0..80ba453f5 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
@@ -45,9 +45,10 @@ void deleteNetworkConnectivityConfiguration(
/**
* Delete a private endpoint rule.
*
- * Initiates deleting a private endpoint rule. The private endpoint will be deactivated and
- * will be purged after seven days of deactivation. When a private endpoint is in deactivated
- * state, `deactivated` field is set to `true` and the private endpoint is not available to your
+ * 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 seven days 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.
*/
NccAzurePrivateEndpointRule deletePrivateEndpointRule(
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeAPI.java
index 35370644a..df86c53f9 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeAPI.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeAPI.java
@@ -37,7 +37,7 @@ public PersonalComputeAPI(PersonalComputeService mock) {
*
* Reverts back the Personal Compute setting value to default (ON)
*/
- public DeletePersonalComputeSettingResponse delete(DeletePersonalComputeRequest request) {
+ public DeletePersonalComputeSettingResponse delete(DeletePersonalComputeSettingRequest request) {
return impl.delete(request);
}
@@ -46,7 +46,7 @@ public DeletePersonalComputeSettingResponse delete(DeletePersonalComputeRequest
*
* Gets the value of the Personal Compute setting.
*/
- public PersonalComputeSetting get(GetPersonalComputeRequest request) {
+ public PersonalComputeSetting get(GetPersonalComputeSettingRequest request) {
return impl.get(request);
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeImpl.java
index 08237fb83..1e45ec4c6 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeImpl.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeImpl.java
@@ -16,7 +16,7 @@ public PersonalComputeImpl(ApiClient apiClient) {
}
@Override
- public DeletePersonalComputeSettingResponse delete(DeletePersonalComputeRequest request) {
+ public DeletePersonalComputeSettingResponse delete(DeletePersonalComputeSettingRequest request) {
String path =
String.format(
"/api/2.0/accounts/%s/settings/types/dcp_acct_enable/names/default",
@@ -27,7 +27,7 @@ public DeletePersonalComputeSettingResponse delete(DeletePersonalComputeRequest
}
@Override
- public PersonalComputeSetting get(GetPersonalComputeRequest request) {
+ public PersonalComputeSetting get(GetPersonalComputeSettingRequest request) {
String path =
String.format(
"/api/2.0/accounts/%s/settings/types/dcp_acct_enable/names/default",
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeService.java
index 567118978..ba2942219 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeService.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeService.java
@@ -25,14 +25,14 @@ public interface PersonalComputeService {
* Reverts back the Personal Compute setting value to default (ON)
*/
DeletePersonalComputeSettingResponse delete(
- DeletePersonalComputeRequest deletePersonalComputeRequest);
+ DeletePersonalComputeSettingRequest deletePersonalComputeSettingRequest);
/**
* Get Personal Compute setting.
*
* Gets the value of the Personal Compute setting.
*/
- PersonalComputeSetting get(GetPersonalComputeRequest getPersonalComputeRequest);
+ PersonalComputeSetting get(GetPersonalComputeSettingRequest getPersonalComputeSettingRequest);
/**
* Update Personal Compute setting.
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 e69be0649..1baad48a2 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
@@ -44,7 +44,7 @@ public RestrictWorkspaceAdminsAPI(RestrictWorkspaceAdminsService mock) {
* response.
*/
public DeleteRestrictWorkspaceAdminsSettingResponse delete(
- DeleteRestrictWorkspaceAdminRequest request) {
+ DeleteRestrictWorkspaceAdminsSettingRequest request) {
return impl.delete(request);
}
@@ -53,7 +53,7 @@ public DeleteRestrictWorkspaceAdminsSettingResponse delete(
*
* Gets the restrict workspace admins setting.
*/
- public RestrictWorkspaceAdminsSetting get(GetRestrictWorkspaceAdminRequest request) {
+ public RestrictWorkspaceAdminsSetting get(GetRestrictWorkspaceAdminsSettingRequest request) {
return impl.get(request);
}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsImpl.java
index 2cc33f1e7..10cafe064 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsImpl.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RestrictWorkspaceAdminsImpl.java
@@ -17,7 +17,7 @@ public RestrictWorkspaceAdminsImpl(ApiClient apiClient) {
@Override
public DeleteRestrictWorkspaceAdminsSettingResponse delete(
- DeleteRestrictWorkspaceAdminRequest request) {
+ DeleteRestrictWorkspaceAdminsSettingRequest request) {
String path = "/api/2.0/settings/types/restrict_workspace_admins/names/default";
Map Gets the restrict workspace admins setting.
*/
RestrictWorkspaceAdminsSetting get(
- GetRestrictWorkspaceAdminRequest getRestrictWorkspaceAdminRequest);
+ GetRestrictWorkspaceAdminsSettingRequest getRestrictWorkspaceAdminsSettingRequest);
/**
* Update the restrict workspace admins setting.
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 381139da8..db3ddc205 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
@@ -26,9 +26,17 @@ public class SharedDataObject {
@JsonProperty("comment")
private String comment;
+ /**
+ * The content of the notebook file when the data object type is NOTEBOOK_FILE. This should be
+ * base64 encoded. Required for adding a NOTEBOOK_FILE, optional for updating, ignored for other
+ * types.
+ */
+ @JsonProperty("content")
+ private String content;
+
/** The type of the data object. */
@JsonProperty("data_object_type")
- private String dataObjectType;
+ private SharedDataObjectDataObjectType dataObjectType;
/**
* Whether to enable or disable sharing of data history. If not specified, the default is
@@ -119,12 +127,21 @@ public String getComment() {
return comment;
}
- public SharedDataObject setDataObjectType(String dataObjectType) {
+ public SharedDataObject setContent(String content) {
+ this.content = content;
+ return this;
+ }
+
+ public String getContent() {
+ return content;
+ }
+
+ public SharedDataObject setDataObjectType(SharedDataObjectDataObjectType dataObjectType) {
this.dataObjectType = dataObjectType;
return this;
}
- public String getDataObjectType() {
+ public SharedDataObjectDataObjectType getDataObjectType() {
return dataObjectType;
}
@@ -201,6 +218,7 @@ public boolean equals(Object o) {
&& Objects.equals(addedBy, that.addedBy)
&& Objects.equals(cdfEnabled, that.cdfEnabled)
&& Objects.equals(comment, that.comment)
+ && Objects.equals(content, that.content)
&& Objects.equals(dataObjectType, that.dataObjectType)
&& Objects.equals(historyDataSharingStatus, that.historyDataSharingStatus)
&& Objects.equals(name, that.name)
@@ -218,6 +236,7 @@ public int hashCode() {
addedBy,
cdfEnabled,
comment,
+ content,
dataObjectType,
historyDataSharingStatus,
name,
@@ -235,6 +254,7 @@ public String toString() {
.add("addedBy", addedBy)
.add("cdfEnabled", cdfEnabled)
.add("comment", comment)
+ .add("content", content)
.add("dataObjectType", dataObjectType)
.add("historyDataSharingStatus", historyDataSharingStatus)
.add("name", name)
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharedDataObjectDataObjectType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharedDataObjectDataObjectType.java
new file mode 100755
index 000000000..69d3ba9b8
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/SharedDataObjectDataObjectType.java
@@ -0,0 +1,17 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+
+package com.databricks.sdk.service.sharing;
+
+import com.databricks.sdk.support.Generated;
+
+/** The type of the data object. */
+@Generated
+public enum SharedDataObjectDataObjectType {
+ MATERIALIZED_VIEW,
+ MODEL,
+ NOTEBOOK_FILE,
+ SCHEMA,
+ STREAMING_TABLE,
+ TABLE,
+ VIEW,
+}
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 627aa8edc..34800625e 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
@@ -76,7 +76,7 @@ public class AlertQuery {
@JsonProperty("updated_at")
private String updatedAt;
- /** The ID of the user who created this query. */
+ /** The ID of the user who owns the query. */
@JsonProperty("user_id")
private Long userId;
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 486d579ae..2b8ca46fd 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
@@ -89,7 +89,7 @@ public class Dashboard {
@JsonProperty("user")
private User user;
- /** The ID of the user that created and owns this dashboard. */
+ /** The ID of the user who owns the dashboard. */
@JsonProperty("user_id")
private Long userId;
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Query.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Query.java
index 5432d2c0a..f936b674c 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Query.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/Query.java
@@ -128,7 +128,7 @@ public class Query {
@JsonProperty("user")
private User user;
- /** The ID of the user who created this query. */
+ /** The ID of the user who owns the query. */
@JsonProperty("user_id")
private Long userId;
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 d2e5886ab..406639195 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
@@ -10,6 +10,10 @@
@Generated
public class DirectAccessVectorIndexSpec {
+ /** Contains the optional model endpoint to use during query time. */
+ @JsonProperty("embedding_source_columns")
+ private Collection The scope name must consist of alphanumeric characters, dashes, underscores, and periods,
- * and may not exceed 128 characters. The maximum number of scopes in a workspace is 100.
+ * and may not exceed 128 characters.
*/
public void createScope(CreateScope request) {
impl.createScope(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 397dc40dc..697993a9c 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
@@ -24,7 +24,7 @@ public interface SecretsService {
* Create a new secret scope.
*
* The scope name must consist of alphanumeric characters, dashes, underscores, and periods,
- * and may not exceed 128 characters. The maximum number of scopes in a workspace is 100.
+ * and may not exceed 128 characters.
*/
void createScope(CreateScope createScope);
diff --git a/examples/docs/pom.xml b/examples/docs/pom.xml
index e6f4ce281..16a51b662 100644
--- a/examples/docs/pom.xml
+++ b/examples/docs/pom.xml
@@ -24,7 +24,7 @@