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
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-14 15:03:35.352599",
"spec_repo_commit": "a739b49f"
"regenerated": "2025-02-18 20:22:48.887517",
"spec_repo_commit": "c8707cdc"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-14 15:03:35.368038",
"spec_repo_commit": "a739b49f"
"regenerated": "2025-02-18 20:22:48.903125",
"spec_repo_commit": "c8707cdc"
}
}
}
23 changes: 23 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18141,6 +18141,29 @@ components:

Defaults to false.'
type: boolean
include_actively_queried_tags_window:
description: 'When provided, all tags that have been actively queried are

configured (and, therefore, remain queryable) for each metric that

matches the given prefix. Minimum value is 1 second, and maximum

value is 7,776,000 seconds (90 days).'
format: double
maximum: 7776000
minimum: 1
type: number
override_existing_configurations:
description: 'When set to true, the configuration overrides any existing

configurations for the given metric with the new set of tags in this

configuration request. If false, old configurations are kept and

are merged with the set of tags in this configuration request.

Defaults to true.'
type: boolean
tags:
$ref: '#/components/schemas/MetricBulkTagConfigTagNameList'
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
@JsonPropertyOrder({
MetricBulkTagConfigCreateAttributes.JSON_PROPERTY_EMAILS,
MetricBulkTagConfigCreateAttributes.JSON_PROPERTY_EXCLUDE_TAGS_MODE,
MetricBulkTagConfigCreateAttributes.JSON_PROPERTY_INCLUDE_ACTIVELY_QUERIED_TAGS_WINDOW,
MetricBulkTagConfigCreateAttributes.JSON_PROPERTY_OVERRIDE_EXISTING_CONFIGURATIONS,
MetricBulkTagConfigCreateAttributes.JSON_PROPERTY_TAGS
})
@jakarta.annotation.Generated(
Expand All @@ -34,6 +36,14 @@ public class MetricBulkTagConfigCreateAttributes {
public static final String JSON_PROPERTY_EXCLUDE_TAGS_MODE = "exclude_tags_mode";
private Boolean excludeTagsMode;

public static final String JSON_PROPERTY_INCLUDE_ACTIVELY_QUERIED_TAGS_WINDOW =
"include_actively_queried_tags_window";
private Double includeActivelyQueriedTagsWindow;

public static final String JSON_PROPERTY_OVERRIDE_EXISTING_CONFIGURATIONS =
"override_existing_configurations";
private Boolean overrideExistingConfigurations;

public static final String JSON_PROPERTY_TAGS = "tags";
private List<String> tags = null;

Expand Down Expand Up @@ -89,6 +99,54 @@ public void setExcludeTagsMode(Boolean excludeTagsMode) {
this.excludeTagsMode = excludeTagsMode;
}

public MetricBulkTagConfigCreateAttributes includeActivelyQueriedTagsWindow(
Double includeActivelyQueriedTagsWindow) {
this.includeActivelyQueriedTagsWindow = includeActivelyQueriedTagsWindow;
return this;
}

/**
* When provided, all tags that have been actively queried are configured (and, therefore, remain
* queryable) for each metric that matches the given prefix. Minimum value is 1 second, and
* maximum value is 7,776,000 seconds (90 days). minimum: 1 maximum: 7776000
*
* @return includeActivelyQueriedTagsWindow
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_INCLUDE_ACTIVELY_QUERIED_TAGS_WINDOW)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Double getIncludeActivelyQueriedTagsWindow() {
return includeActivelyQueriedTagsWindow;
}

public void setIncludeActivelyQueriedTagsWindow(Double includeActivelyQueriedTagsWindow) {
this.includeActivelyQueriedTagsWindow = includeActivelyQueriedTagsWindow;
}

public MetricBulkTagConfigCreateAttributes overrideExistingConfigurations(
Boolean overrideExistingConfigurations) {
this.overrideExistingConfigurations = overrideExistingConfigurations;
return this;
}

/**
* When set to true, the configuration overrides any existing configurations for the given metric
* with the new set of tags in this configuration request. If false, old configurations are kept
* and are merged with the set of tags in this configuration request. Defaults to true.
*
* @return overrideExistingConfigurations
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_OVERRIDE_EXISTING_CONFIGURATIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getOverrideExistingConfigurations() {
return overrideExistingConfigurations;
}

public void setOverrideExistingConfigurations(Boolean overrideExistingConfigurations) {
this.overrideExistingConfigurations = overrideExistingConfigurations;
}

public MetricBulkTagConfigCreateAttributes tags(List<String> tags) {
this.tags = tags;
return this;
Expand Down Expand Up @@ -177,14 +235,26 @@ public boolean equals(Object o) {
(MetricBulkTagConfigCreateAttributes) o;
return Objects.equals(this.emails, metricBulkTagConfigCreateAttributes.emails)
&& Objects.equals(this.excludeTagsMode, metricBulkTagConfigCreateAttributes.excludeTagsMode)
&& Objects.equals(
this.includeActivelyQueriedTagsWindow,
metricBulkTagConfigCreateAttributes.includeActivelyQueriedTagsWindow)
&& Objects.equals(
this.overrideExistingConfigurations,
metricBulkTagConfigCreateAttributes.overrideExistingConfigurations)
&& Objects.equals(this.tags, metricBulkTagConfigCreateAttributes.tags)
&& Objects.equals(
this.additionalProperties, metricBulkTagConfigCreateAttributes.additionalProperties);
}

@Override
public int hashCode() {
return Objects.hash(emails, excludeTagsMode, tags, additionalProperties);
return Objects.hash(
emails,
excludeTagsMode,
includeActivelyQueriedTagsWindow,
overrideExistingConfigurations,
tags,
additionalProperties);
}

@Override
Expand All @@ -193,6 +263,12 @@ public String toString() {
sb.append("class MetricBulkTagConfigCreateAttributes {\n");
sb.append(" emails: ").append(toIndentedString(emails)).append("\n");
sb.append(" excludeTagsMode: ").append(toIndentedString(excludeTagsMode)).append("\n");
sb.append(" includeActivelyQueriedTagsWindow: ")
.append(toIndentedString(includeActivelyQueriedTagsWindow))
.append("\n");
sb.append(" overrideExistingConfigurations: ")
.append(toIndentedString(overrideExistingConfigurations))
.append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
Expand Down