Skip to content
Closed
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 @@
8f5eedbc991c4f04ce1284406577b0c92d59a224
e41f68cddc210f72e6f9b4fb79a5ded2eb842be6
6,362 changes: 3,186 additions & 3,176 deletions .gitattributes

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
### Internal Changes

### API Changes
* Add `workspaceClient.workspaceEntityTagAssignments()` service.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

import com.databricks.sdk.support.Generated;

/** Latest kind: SECRET_EXTERNAL_AWS_SECRETS_MANAGER = 273; Next id:274 */
/** Latest kind: CREDENTIAL_STORAGE_UC_CONNECTION = 275; Next id:276 */
@Generated
public enum SecurableKind {
TABLE_DB_STORAGE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ public class ClusterAttributes {

/**
* Autoscaling Local Storage: when enabled, this cluster will dynamically acquire additional disk
* space when its Spark workers are running low on disk space. This feature requires specific AWS
* permissions to function correctly - refer to the User Guide for more details.
* space when its Spark workers are running low on disk space.
*/
@JsonProperty("enable_elastic_disk")
private Boolean enableElasticDisk;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,7 @@ public class ClusterDetails {

/**
* Autoscaling Local Storage: when enabled, this cluster will dynamically acquire additional disk
* space when its Spark workers are running low on disk space. This feature requires specific AWS
* permissions to function correctly - refer to the User Guide for more details.
* space when its Spark workers are running low on disk space.
*/
@JsonProperty("enable_elastic_disk")
private Boolean enableElasticDisk;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ public class ClusterSpec {

/**
* Autoscaling Local Storage: when enabled, this cluster will dynamically acquire additional disk
* space when its Spark workers are running low on disk space. This feature requires specific AWS
* permissions to function correctly - refer to the User Guide for more details.
* space when its Spark workers are running low on disk space.
*/
@JsonProperty("enable_elastic_disk")
private Boolean enableElasticDisk;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ public class CreateCluster {

/**
* Autoscaling Local Storage: when enabled, this cluster will dynamically acquire additional disk
* space when its Spark workers are running low on disk space. This feature requires specific AWS
* permissions to function correctly - refer to the User Guide for more details.
* space when its Spark workers are running low on disk space.
*/
@JsonProperty("enable_elastic_disk")
private Boolean enableElasticDisk;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ public class EditCluster {

/**
* Autoscaling Local Storage: when enabled, this cluster will dynamically acquire additional disk
* space when its Spark workers are running low on disk space. This feature requires specific AWS
* permissions to function correctly - refer to the User Guide for more details.
* space when its Spark workers are running low on disk space.
*/
@JsonProperty("enable_elastic_disk")
private Boolean enableElasticDisk;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ public class UpdateClusterResource {

/**
* Autoscaling Local Storage: when enabled, this cluster will dynamically acquire additional disk
* space when its Spark workers are running low on disk space. This feature requires specific AWS
* permissions to function correctly - refer to the User Guide for more details.
* space when its Spark workers are running low on disk space.
*/
@JsonProperty("enable_elastic_disk")
private Boolean enableElasticDisk;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ public class AlertV2Notification {
private Boolean notifyOnOk;

/**
* Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it
* can be triggered again. If 0 or not specified, the alert will not be triggered again.
* Number of seconds an alert waits after being triggered before it is allowed to send another
* notification. If set to 0 or omitted, the alert will not send any further notifications after
* the first trigger Setting this value to 1 allows the alert to send a notification on every
* evaluation where the condition is met, effectively making it always retrigger for notification
* purposes.
*/
@JsonProperty("retrigger_seconds")
private Long retriggerSeconds;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.

package com.databricks.sdk.service.tags;

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 CreateTagAssignmentRequest {
/** */
@JsonProperty("tag_assignment")
private TagAssignment tagAssignment;

public CreateTagAssignmentRequest setTagAssignment(TagAssignment tagAssignment) {
this.tagAssignment = tagAssignment;
return this;
}

public TagAssignment getTagAssignment() {
return tagAssignment;
}

@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CreateTagAssignmentRequest that = (CreateTagAssignmentRequest) o;
return Objects.equals(tagAssignment, that.tagAssignment);
}

@Override
public int hashCode() {
return Objects.hash(tagAssignment);
}

@Override
public String toString() {
return new ToStringer(CreateTagAssignmentRequest.class)
.add("tagAssignment", tagAssignment)
.toString();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.

package com.databricks.sdk.service.tags;

import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.Objects;

@Generated
public class DeleteTagAssignmentRequest {
/** The identifier of the entity to which the tag is assigned */
@JsonIgnore private String entityId;

/** The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces */
@JsonIgnore private String entityType;

/** The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed */
@JsonIgnore private String tagKey;

public DeleteTagAssignmentRequest setEntityId(String entityId) {
this.entityId = entityId;
return this;
}

public String getEntityId() {
return entityId;
}

public DeleteTagAssignmentRequest setEntityType(String entityType) {
this.entityType = entityType;
return this;
}

public String getEntityType() {
return entityType;
}

public DeleteTagAssignmentRequest setTagKey(String tagKey) {
this.tagKey = tagKey;
return this;
}

public String getTagKey() {
return tagKey;
}

@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DeleteTagAssignmentRequest that = (DeleteTagAssignmentRequest) o;
return Objects.equals(entityId, that.entityId)
&& Objects.equals(entityType, that.entityType)
&& Objects.equals(tagKey, that.tagKey);
}

@Override
public int hashCode() {
return Objects.hash(entityId, entityType, tagKey);
}

@Override
public String toString() {
return new ToStringer(DeleteTagAssignmentRequest.class)
.add("entityId", entityId)
.add("entityType", entityType)
.add("tagKey", tagKey)
.toString();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.

package com.databricks.sdk.service.tags;

import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.Objects;

@Generated
public class GetTagAssignmentRequest {
/** The identifier of the entity to which the tag is assigned */
@JsonIgnore private String entityId;

/** The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces */
@JsonIgnore private String entityType;

/** The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed */
@JsonIgnore private String tagKey;

public GetTagAssignmentRequest setEntityId(String entityId) {
this.entityId = entityId;
return this;
}

public String getEntityId() {
return entityId;
}

public GetTagAssignmentRequest setEntityType(String entityType) {
this.entityType = entityType;
return this;
}

public String getEntityType() {
return entityType;
}

public GetTagAssignmentRequest setTagKey(String tagKey) {
this.tagKey = tagKey;
return this;
}

public String getTagKey() {
return tagKey;
}

@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
GetTagAssignmentRequest that = (GetTagAssignmentRequest) o;
return Objects.equals(entityId, that.entityId)
&& Objects.equals(entityType, that.entityType)
&& Objects.equals(tagKey, that.tagKey);
}

@Override
public int hashCode() {
return Objects.hash(entityId, entityType, tagKey);
}

@Override
public String toString() {
return new ToStringer(GetTagAssignmentRequest.class)
.add("entityId", entityId)
.add("entityType", entityType)
.add("tagKey", tagKey)
.toString();
}
}
Loading
Loading