Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add 1 day logs to usage api docs #2272

Merged
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": "2024-04-22 13:22:15.902229",
"spec_repo_commit": "c2c10f21"
"regenerated": "2024-04-22 15:09:31.464960",
"spec_repo_commit": "74f81c2f"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-04-22 13:22:15.927491",
"spec_repo_commit": "c2c10f21"
"regenerated": "2024-04-22 15:09:31.484137",
"spec_repo_commit": "74f81c2f"
}
}
}
16 changes: 16 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4126,6 +4126,7 @@ components:
- lambda_traced_invocations_usage
- logs_indexed_15day_usage
- logs_indexed_180day_usage
- logs_indexed_1day_usage
- logs_indexed_30day_usage
- logs_indexed_360day_usage
- logs_indexed_3day_usage
Expand Down Expand Up @@ -4196,6 +4197,7 @@ components:
- LAMBDA_TRACED_INVOCATIONS_USAGE
- LOGS_INDEXED_15DAY_USAGE
- LOGS_INDEXED_180DAY_USAGE
- LOGS_INDEXED_1DAY_USAGE
- LOGS_INDEXED_30DAY_USAGE
- LOGS_INDEXED_360DAY_USAGE
- LOGS_INDEXED_3DAY_USAGE
Expand Down Expand Up @@ -7900,6 +7902,8 @@ components:
- logs_indexed_7day_percentage
- logs_indexed_3day_usage
- logs_indexed_3day_percentage
- logs_indexed_1day_usage
- logs_indexed_1day_percentage
- rum_replay_sessions_usage
- rum_replay_sessions_percentage
- rum_browser_mobile_sessions_usage
Expand Down Expand Up @@ -8035,6 +8039,8 @@ components:
- LOGS_INDEXED_7DAY_PERCENTAGE
- LOGS_INDEXED_3DAY_USAGE
- LOGS_INDEXED_3DAY_PERCENTAGE
- LOGS_INDEXED_1DAY_USAGE
- LOGS_INDEXED_1DAY_PERCENTAGE
- RUM_REPLAY_SESSIONS_USAGE
- RUM_REPLAY_SESSIONS_PERCENTAGE
- RUM_BROWSER_MOBILE_SESSIONS_USAGE
Expand Down Expand Up @@ -8385,6 +8391,14 @@ components:
description: The total Indexed Logs (180-day Retention) usage by tag(s).
format: double
type: number
logs_indexed_1day_percentage:
description: The percentage of Indexed Logs (1-day Retention) usage by tag(s).
format: double
type: number
logs_indexed_1day_usage:
description: The total Indexed Logs (1-day Retention) usage by tag(s).
format: double
type: number
logs_indexed_30day_percentage:
description: The percentage of Indexed Logs (30-day Retention) usage by
tag(s).
Expand Down Expand Up @@ -17189,6 +17203,8 @@ components:
$ref: '#/components/schemas/UsageBillableSummaryBody'
logs_indexed_180day_sum:
$ref: '#/components/schemas/UsageBillableSummaryBody'
logs_indexed_1day_sum:
$ref: '#/components/schemas/UsageBillableSummaryBody'
logs_indexed_30day_sum:
$ref: '#/components/schemas/UsageBillableSummaryBody'
logs_indexed_360day_sum:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public class HourlyUsageAttributionUsageType extends ModelEnum<String> {
"lambda_traced_invocations_usage",
"logs_indexed_15day_usage",
"logs_indexed_180day_usage",
"logs_indexed_1day_usage",
"logs_indexed_30day_usage",
"logs_indexed_360day_usage",
"logs_indexed_3day_usage",
Expand Down Expand Up @@ -180,6 +181,8 @@ public class HourlyUsageAttributionUsageType extends ModelEnum<String> {
new HourlyUsageAttributionUsageType("logs_indexed_15day_usage");
public static final HourlyUsageAttributionUsageType LOGS_INDEXED_180DAY_USAGE =
new HourlyUsageAttributionUsageType("logs_indexed_180day_usage");
public static final HourlyUsageAttributionUsageType LOGS_INDEXED_1DAY_USAGE =
new HourlyUsageAttributionUsageType("logs_indexed_1day_usage");
public static final HourlyUsageAttributionUsageType LOGS_INDEXED_30DAY_USAGE =
new HourlyUsageAttributionUsageType("logs_indexed_30day_usage");
public static final HourlyUsageAttributionUsageType LOGS_INDEXED_360DAY_USAGE =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ public class MonthlyUsageAttributionSupportedMetrics extends ModelEnum<String> {
"logs_indexed_7day_percentage",
"logs_indexed_3day_usage",
"logs_indexed_3day_percentage",
"logs_indexed_1day_usage",
"logs_indexed_1day_percentage",
"rum_replay_sessions_usage",
"rum_replay_sessions_percentage",
"rum_browser_mobile_sessions_usage",
Expand Down Expand Up @@ -416,6 +418,10 @@ public class MonthlyUsageAttributionSupportedMetrics extends ModelEnum<String> {
new MonthlyUsageAttributionSupportedMetrics("logs_indexed_3day_usage");
public static final MonthlyUsageAttributionSupportedMetrics LOGS_INDEXED_3DAY_PERCENTAGE =
new MonthlyUsageAttributionSupportedMetrics("logs_indexed_3day_percentage");
public static final MonthlyUsageAttributionSupportedMetrics LOGS_INDEXED_1DAY_USAGE =
new MonthlyUsageAttributionSupportedMetrics("logs_indexed_1day_usage");
public static final MonthlyUsageAttributionSupportedMetrics LOGS_INDEXED_1DAY_PERCENTAGE =
new MonthlyUsageAttributionSupportedMetrics("logs_indexed_1day_percentage");
public static final MonthlyUsageAttributionSupportedMetrics RUM_REPLAY_SESSIONS_USAGE =
new MonthlyUsageAttributionSupportedMetrics("rum_replay_sessions_usage");
public static final MonthlyUsageAttributionSupportedMetrics RUM_REPLAY_SESSIONS_PERCENTAGE =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@
MonthlyUsageAttributionValues.JSON_PROPERTY_LOGS_INDEXED_15DAY_USAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_LOGS_INDEXED_180DAY_PERCENTAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_LOGS_INDEXED_180DAY_USAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_LOGS_INDEXED_1DAY_PERCENTAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_LOGS_INDEXED_1DAY_USAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_LOGS_INDEXED_30DAY_PERCENTAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_LOGS_INDEXED_30DAY_USAGE,
MonthlyUsageAttributionValues.JSON_PROPERTY_LOGS_INDEXED_360DAY_PERCENTAGE,
Expand Down Expand Up @@ -427,6 +429,13 @@ public class MonthlyUsageAttributionValues {
public static final String JSON_PROPERTY_LOGS_INDEXED_180DAY_USAGE = "logs_indexed_180day_usage";
private Double logsIndexed180dayUsage;

public static final String JSON_PROPERTY_LOGS_INDEXED_1DAY_PERCENTAGE =
"logs_indexed_1day_percentage";
private Double logsIndexed1dayPercentage;

public static final String JSON_PROPERTY_LOGS_INDEXED_1DAY_USAGE = "logs_indexed_1day_usage";
private Double logsIndexed1dayUsage;

public static final String JSON_PROPERTY_LOGS_INDEXED_30DAY_PERCENTAGE =
"logs_indexed_30day_percentage";
private Double logsIndexed30dayPercentage;
Expand Down Expand Up @@ -2319,6 +2328,48 @@ public void setLogsIndexed180dayUsage(Double logsIndexed180dayUsage) {
this.logsIndexed180dayUsage = logsIndexed180dayUsage;
}

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

/**
* The percentage of Indexed Logs (1-day Retention) usage by tag(s).
*
* @return logsIndexed1dayPercentage
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_LOGS_INDEXED_1DAY_PERCENTAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Double getLogsIndexed1dayPercentage() {
return logsIndexed1dayPercentage;
}

public void setLogsIndexed1dayPercentage(Double logsIndexed1dayPercentage) {
this.logsIndexed1dayPercentage = logsIndexed1dayPercentage;
}

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

/**
* The total Indexed Logs (1-day Retention) usage by tag(s).
*
* @return logsIndexed1dayUsage
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_LOGS_INDEXED_1DAY_USAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Double getLogsIndexed1dayUsage() {
return logsIndexed1dayUsage;
}

public void setLogsIndexed1dayUsage(Double logsIndexed1dayUsage) {
this.logsIndexed1dayUsage = logsIndexed1dayUsage;
}

public MonthlyUsageAttributionValues logsIndexed30dayPercentage(
Double logsIndexed30dayPercentage) {
this.logsIndexed30dayPercentage = logsIndexed30dayPercentage;
Expand Down Expand Up @@ -3642,6 +3693,10 @@ public boolean equals(Object o) {
monthlyUsageAttributionValues.logsIndexed180dayPercentage)
&& Objects.equals(
this.logsIndexed180dayUsage, monthlyUsageAttributionValues.logsIndexed180dayUsage)
&& Objects.equals(
this.logsIndexed1dayPercentage, monthlyUsageAttributionValues.logsIndexed1dayPercentage)
&& Objects.equals(
this.logsIndexed1dayUsage, monthlyUsageAttributionValues.logsIndexed1dayUsage)
&& Objects.equals(
this.logsIndexed30dayPercentage,
monthlyUsageAttributionValues.logsIndexed30dayPercentage)
Expand Down Expand Up @@ -3845,6 +3900,8 @@ public int hashCode() {
logsIndexed15dayUsage,
logsIndexed180dayPercentage,
logsIndexed180dayUsage,
logsIndexed1dayPercentage,
logsIndexed1dayUsage,
logsIndexed30dayPercentage,
logsIndexed30dayUsage,
logsIndexed360dayPercentage,
Expand Down Expand Up @@ -4086,6 +4143,12 @@ public String toString() {
sb.append(" logsIndexed180dayUsage: ")
.append(toIndentedString(logsIndexed180dayUsage))
.append("\n");
sb.append(" logsIndexed1dayPercentage: ")
.append(toIndentedString(logsIndexed1dayPercentage))
.append("\n");
sb.append(" logsIndexed1dayUsage: ")
.append(toIndentedString(logsIndexed1dayUsage))
.append("\n");
sb.append(" logsIndexed30dayPercentage: ")
.append(toIndentedString(logsIndexed30dayPercentage))
.append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
UsageBillableSummaryKeys.JSON_PROPERTY_LOGS_FORWARDING_SUM,
UsageBillableSummaryKeys.JSON_PROPERTY_LOGS_INDEXED15DAY_SUM,
UsageBillableSummaryKeys.JSON_PROPERTY_LOGS_INDEXED180DAY_SUM,
UsageBillableSummaryKeys.JSON_PROPERTY_LOGS_INDEXED_1DAY_SUM,
UsageBillableSummaryKeys.JSON_PROPERTY_LOGS_INDEXED30DAY_SUM,
UsageBillableSummaryKeys.JSON_PROPERTY_LOGS_INDEXED_360DAY_SUM,
UsageBillableSummaryKeys.JSON_PROPERTY_LOGS_INDEXED3DAY_SUM,
Expand Down Expand Up @@ -280,6 +281,9 @@ public class UsageBillableSummaryKeys {
public static final String JSON_PROPERTY_LOGS_INDEXED180DAY_SUM = "logs_indexed_180day_sum";
private UsageBillableSummaryBody logsIndexed180daySum;

public static final String JSON_PROPERTY_LOGS_INDEXED_1DAY_SUM = "logs_indexed_1day_sum";
private UsageBillableSummaryBody logsIndexed1daySum;

public static final String JSON_PROPERTY_LOGS_INDEXED30DAY_SUM = "logs_indexed_30day_sum";
private UsageBillableSummaryBody logsIndexed30daySum;

Expand Down Expand Up @@ -1567,6 +1571,28 @@ public void setLogsIndexed180daySum(UsageBillableSummaryBody logsIndexed180daySu
this.logsIndexed180daySum = logsIndexed180daySum;
}

public UsageBillableSummaryKeys logsIndexed1daySum(UsageBillableSummaryBody logsIndexed1daySum) {
this.logsIndexed1daySum = logsIndexed1daySum;
this.unparsed |= logsIndexed1daySum.unparsed;
return this;
}

/**
* Response with properties for each aggregated usage type.
*
* @return logsIndexed1daySum
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_LOGS_INDEXED_1DAY_SUM)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UsageBillableSummaryBody getLogsIndexed1daySum() {
return logsIndexed1daySum;
}

public void setLogsIndexed1daySum(UsageBillableSummaryBody logsIndexed1daySum) {
this.logsIndexed1daySum = logsIndexed1daySum;
}

public UsageBillableSummaryKeys logsIndexed30daySum(
UsageBillableSummaryBody logsIndexed30daySum) {
this.logsIndexed30daySum = logsIndexed30daySum;
Expand Down Expand Up @@ -2509,6 +2535,7 @@ public boolean equals(Object o) {
&& Objects.equals(this.logsForwardingSum, usageBillableSummaryKeys.logsForwardingSum)
&& Objects.equals(this.logsIndexed15daySum, usageBillableSummaryKeys.logsIndexed15daySum)
&& Objects.equals(this.logsIndexed180daySum, usageBillableSummaryKeys.logsIndexed180daySum)
&& Objects.equals(this.logsIndexed1daySum, usageBillableSummaryKeys.logsIndexed1daySum)
&& Objects.equals(this.logsIndexed30daySum, usageBillableSummaryKeys.logsIndexed30daySum)
&& Objects.equals(this.logsIndexed360daySum, usageBillableSummaryKeys.logsIndexed360daySum)
&& Objects.equals(this.logsIndexed3daySum, usageBillableSummaryKeys.logsIndexed3daySum)
Expand Down Expand Up @@ -2613,6 +2640,7 @@ public int hashCode() {
logsForwardingSum,
logsIndexed15daySum,
logsIndexed180daySum,
logsIndexed1daySum,
logsIndexed30daySum,
logsIndexed360daySum,
logsIndexed3daySum,
Expand Down Expand Up @@ -2756,6 +2784,7 @@ public String toString() {
sb.append(" logsIndexed180daySum: ")
.append(toIndentedString(logsIndexed180daySum))
.append("\n");
sb.append(" logsIndexed1daySum: ").append(toIndentedString(logsIndexed1daySum)).append("\n");
sb.append(" logsIndexed30daySum: ")
.append(toIndentedString(logsIndexed30daySum))
.append("\n");
Expand Down
Loading