Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen/_openapi_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
814778bb58d7b4027343bf0a9bf0d317680b1c0e
6ee837f7c048388030c57718875c126999649e23
3 changes: 2 additions & 1 deletion NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,5 @@
* [Breaking] Remove `default` field for `com.databricks.sdk.service.postgres.BranchSpec`.
* [Breaking] Remove `settings` field for `com.databricks.sdk.service.postgres.ProjectSpec`.
* [Breaking] Remove `settings` field for `com.databricks.sdk.service.postgres.ProjectStatus`.
* Add `noExpiry` field for `com.databricks.sdk.service.postgres.BranchSpec`.
* Add `noExpiry` field for `com.databricks.sdk.service.postgres.BranchSpec`.
* Add `stderr` field for `com.databricks.sdk.service.compute.InitScriptInfoAndExecutionDetails`.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import com.databricks.sdk.support.Generated;

/** Next Id: 53 */
/** Next Id: 54 */
@Generated
public enum ConnectionType {
BIGQUERY,
Expand Down
19 changes: 19 additions & 0 deletions ...a/src/main/java/com/databricks/sdk/service/compute/InitScriptInfoAndExecutionDetails.java
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ public class InitScriptInfoAndExecutionDetails {
@JsonProperty("status")
private InitScriptExecutionDetailsInitScriptExecutionStatus status;

/**
* The stderr output from the init script execution. Only populated when init scripts debug is
* enabled and script execution fails.
*/
@JsonProperty("stderr")
private String stderr;

/**
* destination needs to be provided. e.g. `{ \"volumes\" : { \"destination\" :
* \"/Volumes/my-init.sh\" } }`
Expand Down Expand Up @@ -149,6 +156,15 @@ public InitScriptExecutionDetailsInitScriptExecutionStatus getStatus() {
return status;
}

public InitScriptInfoAndExecutionDetails setStderr(String stderr) {
this.stderr = stderr;
return this;
}

public String getStderr() {
return stderr;
}

public InitScriptInfoAndExecutionDetails setVolumes(VolumesStorageInfo volumes) {
this.volumes = volumes;
return this;
Expand Down Expand Up @@ -180,6 +196,7 @@ public boolean equals(Object o) {
&& Objects.equals(gcs, that.gcs)
&& Objects.equals(s3, that.s3)
&& Objects.equals(status, that.status)
&& Objects.equals(stderr, that.stderr)
&& Objects.equals(volumes, that.volumes)
&& Objects.equals(workspace, that.workspace);
}
Expand All @@ -195,6 +212,7 @@ public int hashCode() {
gcs,
s3,
status,
stderr,
volumes,
workspace);
}
Expand All @@ -210,6 +228,7 @@ public String toString() {
.add("gcs", gcs)
.add("s3", s3)
.add("status", status)
.add("stderr", stderr)
.add("volumes", volumes)
.add("workspace", workspace)
.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public class CreateBranchRequest {

/**
* The ID to use for the Branch. This becomes the final component of the branch's resource name.
* This value should be 4-63 characters. Valid characters are lowercase letters, numbers, and
* hyphens, as defined by RFC 1123. Examples: - With custom ID: `staging` → name becomes
* The ID must be 1-63 characters long, start with a lowercase letter, and contain only lowercase
* letters, numbers, and hyphens (RFC 1123). Examples: - With custom ID: `staging` → name becomes
* `projects/{project_id}/branches/staging` - Without custom ID: system generates slug → name
* becomes `projects/{project_id}/branches/br-example-name-x1y2z3a4`
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ public class CreateEndpointRequest {

/**
* The ID to use for the Endpoint. This becomes the final component of the endpoint's resource
* name. This value should be 4-63 characters. Valid characters are lowercase letters, numbers,
* and hyphens, as defined by RFC 1123. Examples: - With custom ID: `primary` → name becomes
* `projects/{project_id}/branches/{branch_id}/endpoints/primary` - Without custom ID: system
* generates slug → name becomes
* name. The ID must be 1-63 characters long, start with a lowercase letter, and contain only
* lowercase letters, numbers, and hyphens (RFC 1123). Examples: - With custom ID: `primary` →
* name becomes `projects/{project_id}/branches/{branch_id}/endpoints/primary` - Without custom
* ID: system generates slug → name becomes
* `projects/{project_id}/branches/{branch_id}/endpoints/ep-example-name-x1y2z3a4`
*/
@JsonIgnore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ public class CreateProjectRequest {

/**
* The ID to use for the Project. This becomes the final component of the project's resource name.
* This value should be 4-63 characters. Valid characters are lowercase letters, numbers, and
* hyphens, as defined by RFC 1123. Examples: - With custom ID: `production` → name becomes
* `projects/production` - Without custom ID: system generates UUID → name becomes
* The ID must be 1-63 characters long, start with a lowercase letter, and contain only lowercase
* letters, numbers, and hyphens (RFC 1123). Examples: - With custom ID: `production` → name
* becomes `projects/production` - Without custom ID: system generates UUID → name becomes
* `projects/a7f89b2c-3d4e-5f6g-7h8i-9j0k1l2m3n4o`
*/
@JsonIgnore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

@Generated
public class EndpointSpec {
/** The maximum number of Compute Units. */
/** The maximum number of Compute Units. Minimum value is 0.5. */
@JsonProperty("autoscaling_limit_max_cu")
private Double autoscalingLimitMaxCu;

/** The minimum number of Compute Units. */
/** The minimum number of Compute Units. Minimum value is 0.5. */
@JsonProperty("autoscaling_limit_min_cu")
private Double autoscalingLimitMinCu;

Expand All @@ -34,7 +34,11 @@ public class EndpointSpec {
@JsonProperty("settings")
private EndpointSettings settings;

/** Duration of inactivity after which the compute endpoint is automatically suspended. */
/**
* Duration of inactivity after which the compute endpoint is automatically suspended. Supported
* values: -1s (never suspend), 0s (use default), or value should be between 60s and 604800s (1
* minute to 1 week).
*/
@JsonProperty("suspend_timeout_duration")
private Duration suspendTimeoutDuration;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@Generated
public class ListBranchesRequest {
/** Upper bound for items returned. */
/** Upper bound for items returned. Cannot be negative. */
@JsonIgnore
@QueryParam("page_size")
private Long pageSize;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@Generated
public class ListEndpointsRequest {
/** Upper bound for items returned. */
/** Upper bound for items returned. Cannot be negative. */
@JsonIgnore
@QueryParam("page_size")
private Long pageSize;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@Generated
public class ListProjectsRequest {
/** Upper bound for items returned. */
/** Upper bound for items returned. Cannot be negative. */
@JsonIgnore
@QueryParam("page_size")
private Long pageSize;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@Generated
public class ListRolesRequest {
/** Upper bound for items returned. */
/** Upper bound for items returned. Cannot be negative. */
@JsonIgnore
@QueryParam("page_size")
private Long pageSize;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,23 @@
/** A collection of settings for a compute endpoint. */
@Generated
public class ProjectDefaultEndpointSettings {
/** The maximum number of Compute Units. */
/** The maximum number of Compute Units. Minimum value is 0.5. */
@JsonProperty("autoscaling_limit_max_cu")
private Double autoscalingLimitMaxCu;

/** The minimum number of Compute Units. */
/** The minimum number of Compute Units. Minimum value is 0.5. */
@JsonProperty("autoscaling_limit_min_cu")
private Double autoscalingLimitMinCu;

/** A raw representation of Postgres settings. */
@JsonProperty("pg_settings")
private Map<String, String> pgSettings;

/** Duration of inactivity after which the compute endpoint is automatically suspended. */
/**
* Duration of inactivity after which the compute endpoint is automatically suspended. Supported
* values: -1s (never suspend), 0s (use default), or value should be between 60s and 604800s (1
* minute to 1 week).
*/
@JsonProperty("suspend_timeout_duration")
private Duration suspendTimeoutDuration;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ public class ProjectSpec {
@JsonProperty("default_endpoint_settings")
private ProjectDefaultEndpointSettings defaultEndpointSettings;

/** Human-readable project name. */
/** Human-readable project name. Length should be between 1 and 256 characters. */
@JsonProperty("display_name")
private String displayName;

/**
* The number of seconds to retain the shared history for point in time recovery for all branches
* in this project.
* in this project. Value should be between 0s and 2592000s (up to 30 days).
*/
@JsonProperty("history_retention_duration")
private Duration historyRetentionDuration;

/** The major Postgres version number. */
/** The major Postgres version number. Supported versions are 16 and 17. */
@JsonProperty("pg_version")
private Long pgVersion;

Expand Down
Loading