Skip to content

Commit 2191aa3

Browse files
Update SDK to 778cafaef39d9bbe56f17bd228dc337edddf58aa
1 parent bc06fb5 commit 2191aa3

29 files changed

+3377
-3385
lines changed

.codegen/_openapi_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0b4efa458e7adc25e50baac51dfebd32934e061b
1+
778cafaef39d9bbe56f17bd228dc337edddf58aa

.gitattributes

Lines changed: 3289 additions & 3289 deletions
Large diffs are not rendered by default.

NEXT_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@
1313
### Internal Changes
1414

1515
### API Changes
16+
* Add `force` field for `com.databricks.sdk.service.pipelines.DeletePipelineRequest`.

databricks-sdk-java/src/main/java/com/databricks/sdk/WorkspaceClient.java

Lines changed: 4 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/DeletePipelineRequest.java

100755100644
Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,33 @@
33
package com.databricks.sdk.service.pipelines;
44

55
import com.databricks.sdk.support.Generated;
6+
import com.databricks.sdk.support.QueryParam;
67
import com.databricks.sdk.support.ToStringer;
78
import com.fasterxml.jackson.annotation.JsonIgnore;
89
import java.util.Objects;
910

1011
@Generated
1112
public class DeletePipelineRequest {
13+
/**
14+
* If true, deletion will proceed even if resource cleanup fails. By default, deletion will fail
15+
* if resources cleanup is required but fails.
16+
*/
17+
@JsonIgnore
18+
@QueryParam("force")
19+
private Boolean force;
20+
1221
/** */
1322
@JsonIgnore private String pipelineId;
1423

24+
public DeletePipelineRequest setForce(Boolean force) {
25+
this.force = force;
26+
return this;
27+
}
28+
29+
public Boolean getForce() {
30+
return force;
31+
}
32+
1533
public DeletePipelineRequest setPipelineId(String pipelineId) {
1634
this.pipelineId = pipelineId;
1735
return this;
@@ -26,16 +44,19 @@ public boolean equals(Object o) {
2644
if (this == o) return true;
2745
if (o == null || getClass() != o.getClass()) return false;
2846
DeletePipelineRequest that = (DeletePipelineRequest) o;
29-
return Objects.equals(pipelineId, that.pipelineId);
47+
return Objects.equals(force, that.force) && Objects.equals(pipelineId, that.pipelineId);
3048
}
3149

3250
@Override
3351
public int hashCode() {
34-
return Objects.hash(pipelineId);
52+
return Objects.hash(force, pipelineId);
3553
}
3654

3755
@Override
3856
public String toString() {
39-
return new ToStringer(DeletePipelineRequest.class).add("pipelineId", pipelineId).toString();
57+
return new ToStringer(DeletePipelineRequest.class)
58+
.add("force", force)
59+
.add("pipelineId", pipelineId)
60+
.toString();
4061
}
4162
}

databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionPipelineDefinition.java

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,14 @@
1111
@Generated
1212
public class IngestionPipelineDefinition {
1313
/**
14-
* Immutable. The Unity Catalog connection that this ingestion pipeline uses to communicate with
15-
* the source. This is used with connectors for applications like Salesforce, Workday, and so on.
14+
* The Unity Catalog connection that this ingestion pipeline uses to communicate with the source.
15+
* This is used with both connectors for applications like Salesforce, Workday, and so on, and
16+
* also database connectors like Oracle, (connector_type = QUERY_BASED OR connector_type = CDC).
17+
* If connection name corresponds to database connectors like Oracle, and connector_type is not
18+
* provided then connector_type defaults to QUERY_BASED. If connector_type is passed as CDC we use
19+
* Combined Cdc Managed Ingestion pipeline. Under certain conditions, this can be replaced with
20+
* ingestion_gateway_id to change the connector to Cdc Managed Ingestion Pipeline with Gateway
21+
* pipeline.
1622
*/
1723
@JsonProperty("connection_name")
1824
private String connectionName;
@@ -30,8 +36,10 @@ public class IngestionPipelineDefinition {
3036
private Boolean ingestFromUcForeignCatalog;
3137

3238
/**
33-
* Immutable. Identifier for the gateway that is used by this ingestion pipeline to communicate
34-
* with the source database. This is used with connectors to databases like SQL Server.
39+
* Identifier for the gateway that is used by this ingestion pipeline to communicate with the
40+
* source database. This is used with CDC connectors to databases like SQL Server using a gateway
41+
* pipeline (connector_type = CDC). Under certain conditions, this can be replaced with
42+
* connection_name to change the connector to Combined Cdc Managed Ingestion Pipeline.
3543
*/
3644
@JsonProperty("ingestion_gateway_id")
3745
private String ingestionGatewayId;

databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/Branch.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ public class Branch {
1515
private Timestamp createTime;
1616

1717
/**
18-
* The resource name of the branch. This field is output-only and constructed by the system.
19-
* Format: `projects/{project_id}/branches/{branch_id}`
18+
* Output only. The full resource path of the branch. Format:
19+
* projects/{project_id}/branches/{branch_id}
2020
*/
2121
@JsonProperty("name")
2222
private String name;
@@ -25,7 +25,7 @@ public class Branch {
2525
* The project containing this branch (API resource hierarchy). Format: projects/{project_id}
2626
*
2727
* <p>Note: This field indicates where the branch exists in the resource hierarchy. For
28-
* point-in-time branching from another branch, see `spec.source_branch`.
28+
* point-in-time branching from another branch, see `status.source_branch`.
2929
*/
3030
@JsonProperty("parent")
3131
private String parent;

databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/BranchStatusState.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import com.databricks.sdk.support.Generated;
66

7-
/** The state of the database branch. */
7+
/** The state of the branch. */
88
@Generated
99
public enum BranchStatusState {
1010
ARCHIVED,

databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateBranchRequest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ public class CreateBranchRequest {
1717

1818
/**
1919
* The ID to use for the Branch. This becomes the final component of the branch's resource name.
20-
* The ID must be 1-63 characters long, start with a lowercase letter, and contain only lowercase
21-
* letters, numbers, and hyphens (RFC 1123). Examples: - With custom ID: `staging` → name becomes
22-
* `projects/{project_id}/branches/staging` - Without custom ID: system generates slug → name
23-
* becomes `projects/{project_id}/branches/br-example-name-x1y2z3a4`
20+
* The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain
21+
* only lowercase letters, numbers, and hyphens. For example, `development` becomes
22+
* `projects/my-app/branches/development`.
2423
*/
2524
@JsonIgnore
2625
@QueryParam("branch_id")

databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/CreateEndpointRequest.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ public class CreateEndpointRequest {
1717

1818
/**
1919
* The ID to use for the Endpoint. This becomes the final component of the endpoint's resource
20-
* name. The ID must be 1-63 characters long, start with a lowercase letter, and contain only
21-
* lowercase letters, numbers, and hyphens (RFC 1123). Examples: - With custom ID: `primary` →
22-
* name becomes `projects/{project_id}/branches/{branch_id}/endpoints/primary` - Without custom
23-
* ID: system generates slug → name becomes
24-
* `projects/{project_id}/branches/{branch_id}/endpoints/ep-example-name-x1y2z3a4`
20+
* name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and
21+
* contain only lowercase letters, numbers, and hyphens. For example, `primary` becomes
22+
* `projects/my-app/branches/development/endpoints/primary`.
2523
*/
2624
@JsonIgnore
2725
@QueryParam("endpoint_id")

0 commit comments

Comments
 (0)