Skip to content

Commit

Permalink
Add UA documentation for new DJM usage_type (#2489)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Oct 1, 2024
1 parent 3919c13 commit 8afd43f
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 4 deletions.
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": "2024-09-30 19:44:25.543007",
"spec_repo_commit": "909e369c"
"regenerated": "2024-10-01 14:24:18.377100",
"spec_repo_commit": "d90ee2ef"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-09-30 19:44:25.557128",
"spec_repo_commit": "909e369c"
"regenerated": "2024-10-01 14:24:18.393189",
"spec_repo_commit": "d90ee2ef"
}
}
}
10 changes: 10 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4182,6 +4182,7 @@ components:
- custom_timeseries_usage
- cws_containers_usage
- cws_hosts_usage
- data_jobs_monitoring_usage
- dbm_hosts_usage
- dbm_queries_usage
- error_tracking_usage
Expand Down Expand Up @@ -4255,6 +4256,7 @@ components:
- CUSTOM_TIMESERIES_USAGE
- CWS_CONTAINERS_USAGE
- CWS_HOSTS_USAGE
- DATA_JOBS_MONITORING_USAGE
- DBM_HOSTS_USAGE
- DBM_QUERIES_USAGE
- ERROR_TRACKING_USAGE
Expand Down Expand Up @@ -7935,6 +7937,8 @@ components:
- cws_containers_usage
- cws_hosts_percentage
- cws_hosts_usage
- data_jobs_monitoring_usage
- data_jobs_monitoring_percentage
- dbm_hosts_percentage
- dbm_hosts_usage
- dbm_queries_percentage
Expand Down Expand Up @@ -8076,6 +8080,8 @@ components:
- CWS_CONTAINERS_USAGE
- CWS_HOSTS_PERCENTAGE
- CWS_HOSTS_USAGE
- DATA_JOBS_MONITORING_USAGE
- DATA_JOBS_MONITORING_PERCENTAGE
- DBM_HOSTS_PERCENTAGE
- DBM_HOSTS_USAGE
- DBM_QUERIES_PERCENTAGE
Expand Down Expand Up @@ -8363,6 +8369,10 @@ components:
description: The Cloud Workload Security host usage by tag(s).
format: double
type: number
data_jobs_monitoring_usage:
description: The Data Jobs Monitoring usage by tag(s).
format: double
type: number
dbm_hosts_percentage:
description: The percentage of Database Monitoring host usage by tag(s).
format: double
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public class HourlyUsageAttributionUsageType extends ModelEnum<String> {
"custom_timeseries_usage",
"cws_containers_usage",
"cws_hosts_usage",
"data_jobs_monitoring_usage",
"dbm_hosts_usage",
"dbm_queries_usage",
"error_tracking_usage",
Expand Down Expand Up @@ -142,6 +143,8 @@ public class HourlyUsageAttributionUsageType extends ModelEnum<String> {
new HourlyUsageAttributionUsageType("cws_containers_usage");
public static final HourlyUsageAttributionUsageType CWS_HOSTS_USAGE =
new HourlyUsageAttributionUsageType("cws_hosts_usage");
public static final HourlyUsageAttributionUsageType DATA_JOBS_MONITORING_USAGE =
new HourlyUsageAttributionUsageType("data_jobs_monitoring_usage");
public static final HourlyUsageAttributionUsageType DBM_HOSTS_USAGE =
new HourlyUsageAttributionUsageType("dbm_hosts_usage");
public static final HourlyUsageAttributionUsageType DBM_QUERIES_USAGE =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ public class MonthlyUsageAttributionSupportedMetrics extends ModelEnum<String> {
"cws_containers_usage",
"cws_hosts_percentage",
"cws_hosts_usage",
"data_jobs_monitoring_usage",
"data_jobs_monitoring_percentage",
"dbm_hosts_percentage",
"dbm_hosts_usage",
"dbm_queries_percentage",
Expand Down Expand Up @@ -244,6 +246,10 @@ public class MonthlyUsageAttributionSupportedMetrics extends ModelEnum<String> {
new MonthlyUsageAttributionSupportedMetrics("cws_hosts_percentage");
public static final MonthlyUsageAttributionSupportedMetrics CWS_HOSTS_USAGE =
new MonthlyUsageAttributionSupportedMetrics("cws_hosts_usage");
public static final MonthlyUsageAttributionSupportedMetrics DATA_JOBS_MONITORING_USAGE =
new MonthlyUsageAttributionSupportedMetrics("data_jobs_monitoring_usage");
public static final MonthlyUsageAttributionSupportedMetrics DATA_JOBS_MONITORING_PERCENTAGE =
new MonthlyUsageAttributionSupportedMetrics("data_jobs_monitoring_percentage");
public static final MonthlyUsageAttributionSupportedMetrics DBM_HOSTS_PERCENTAGE =
new MonthlyUsageAttributionSupportedMetrics("dbm_hosts_percentage");
public static final MonthlyUsageAttributionSupportedMetrics DBM_HOSTS_USAGE =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
MonthlyUsageAttributionValues.JSON_PROPERTY_CWS_CONTAINERS_USAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_CWS_HOSTS_PERCENTAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_CWS_HOSTS_USAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_DATA_JOBS_MONITORING_USAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_DBM_HOSTS_PERCENTAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_DBM_HOSTS_USAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_DBM_QUERIES_PERCENTAGE,
Expand Down Expand Up @@ -300,6 +301,10 @@ public class MonthlyUsageAttributionValues {
public static final String JSON_PROPERTY_CWS_HOSTS_USAGE = "cws_hosts_usage";
private Double cwsHostsUsage;

public static final String JSON_PROPERTY_DATA_JOBS_MONITORING_USAGE =
"data_jobs_monitoring_usage";
private Double dataJobsMonitoringUsage;

public static final String JSON_PROPERTY_DBM_HOSTS_PERCENTAGE = "dbm_hosts_percentage";
private Double dbmHostsPercentage;

Expand Down Expand Up @@ -1528,6 +1533,27 @@ public void setCwsHostsUsage(Double cwsHostsUsage) {
this.cwsHostsUsage = cwsHostsUsage;
}

public MonthlyUsageAttributionValues dataJobsMonitoringUsage(Double dataJobsMonitoringUsage) {
this.dataJobsMonitoringUsage = dataJobsMonitoringUsage;
return this;
}

/**
* The Data Jobs Monitoring usage by tag(s).
*
* @return dataJobsMonitoringUsage
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATA_JOBS_MONITORING_USAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Double getDataJobsMonitoringUsage() {
return dataJobsMonitoringUsage;
}

public void setDataJobsMonitoringUsage(Double dataJobsMonitoringUsage) {
this.dataJobsMonitoringUsage = dataJobsMonitoringUsage;
}

public MonthlyUsageAttributionValues dbmHostsPercentage(Double dbmHostsPercentage) {
this.dbmHostsPercentage = dbmHostsPercentage;
return this;
Expand Down Expand Up @@ -3715,6 +3741,8 @@ public boolean equals(Object o) {
&& Objects.equals(this.cwsContainersUsage, monthlyUsageAttributionValues.cwsContainersUsage)
&& Objects.equals(this.cwsHostsPercentage, monthlyUsageAttributionValues.cwsHostsPercentage)
&& Objects.equals(this.cwsHostsUsage, monthlyUsageAttributionValues.cwsHostsUsage)
&& Objects.equals(
this.dataJobsMonitoringUsage, monthlyUsageAttributionValues.dataJobsMonitoringUsage)
&& Objects.equals(this.dbmHostsPercentage, monthlyUsageAttributionValues.dbmHostsPercentage)
&& Objects.equals(this.dbmHostsUsage, monthlyUsageAttributionValues.dbmHostsUsage)
&& Objects.equals(
Expand Down Expand Up @@ -3975,6 +4003,7 @@ public int hashCode() {
cwsContainersUsage,
cwsHostsPercentage,
cwsHostsUsage,
dataJobsMonitoringUsage,
dbmHostsPercentage,
dbmHostsUsage,
dbmQueriesPercentage,
Expand Down Expand Up @@ -4166,6 +4195,9 @@ public String toString() {
sb.append(" cwsContainersUsage: ").append(toIndentedString(cwsContainersUsage)).append("\n");
sb.append(" cwsHostsPercentage: ").append(toIndentedString(cwsHostsPercentage)).append("\n");
sb.append(" cwsHostsUsage: ").append(toIndentedString(cwsHostsUsage)).append("\n");
sb.append(" dataJobsMonitoringUsage: ")
.append(toIndentedString(dataJobsMonitoringUsage))
.append("\n");
sb.append(" dbmHostsPercentage: ").append(toIndentedString(dbmHostsPercentage)).append("\n");
sb.append(" dbmHostsUsage: ").append(toIndentedString(dbmHostsUsage)).append("\n");
sb.append(" dbmQueriesPercentage: ")
Expand Down

0 comments on commit 8afd43f

Please sign in to comment.