From 693ab84fa7f6e67a87c89fe35718c37b4e89164d Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Fri, 11 Sep 2026 18:17:53 -0700
Subject: [PATCH] chore: regenerate monitoring client
---
.../v1/2.0.0/README.md | 4 +-
.../monitoring/v1/model/TimeRange.java | 96 +++++++++++++++++++
.../services/monitoring/v1/model/Widget.java | 27 ++++++
.../v1/2.0.0/pom.xml | 4 +-
.../v1/README.md | 4 +-
5 files changed, 129 insertions(+), 6 deletions(-)
create mode 100644 clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/TimeRange.java
diff --git a/clients/google-api-services-monitoring/v1/2.0.0/README.md b/clients/google-api-services-monitoring/v1/2.0.0/README.md
index b9c79a9f010..245464d146e 100644
--- a/clients/google-api-services-monitoring/v1/2.0.0/README.md
+++ b/clients/google-api-services-monitoring/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Cloud Monitoring API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class TimeRange extends com.google.api.client.json.GenericJson { + + /** + * Optional. Represents a time range with absolute start and end times. The start time is + * inclusive, and the end time is exclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Interval absoluteWindow; + + /** + * Optional. Specifies the duration used to shift the data relative to current time as the end + * time. The duration must be positive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String relativeDuration; + + /** + * Optional. Represents a time range with absolute start and end times. The start time is + * inclusive, and the end time is exclusive. + * @return value or {@code null} for none + */ + public Interval getAbsoluteWindow() { + return absoluteWindow; + } + + /** + * Optional. Represents a time range with absolute start and end times. The start time is + * inclusive, and the end time is exclusive. + * @param absoluteWindow absoluteWindow or {@code null} for none + */ + public TimeRange setAbsoluteWindow(Interval absoluteWindow) { + this.absoluteWindow = absoluteWindow; + return this; + } + + /** + * Optional. Specifies the duration used to shift the data relative to current time as the end + * time. The duration must be positive. + * @return value or {@code null} for none + */ + public String getRelativeDuration() { + return relativeDuration; + } + + /** + * Optional. Specifies the duration used to shift the data relative to current time as the end + * time. The duration must be positive. + * @param relativeDuration relativeDuration or {@code null} for none + */ + public TimeRange setRelativeDuration(String relativeDuration) { + this.relativeDuration = relativeDuration; + return this; + } + + @Override + public TimeRange set(String fieldName, Object value) { + return (TimeRange) super.set(fieldName, value); + } + + @Override + public TimeRange clone() { + return (TimeRange) super.clone(); + } + +} diff --git a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/Widget.java b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/Widget.java index 86f53467a28..8596c1a9aa5 100644 --- a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/Widget.java +++ b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/Widget.java @@ -123,6 +123,14 @@ public final class Widget extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private Text text; + /** + * Optional. Represents a time range for the widget. When set, this time range will override the + * dashboard time range. Supported for line, stacked area and stacked bar widgets only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private TimeRange timeRange; + /** * A widget that displays time series data in a tabular format. * The value may be {@code null}. @@ -383,6 +391,25 @@ public Widget setText(Text text) { return this; } + /** + * Optional. Represents a time range for the widget. When set, this time range will override the + * dashboard time range. Supported for line, stacked area and stacked bar widgets only. + * @return value or {@code null} for none + */ + public TimeRange getTimeRange() { + return timeRange; + } + + /** + * Optional. Represents a time range for the widget. When set, this time range will override the + * dashboard time range. Supported for line, stacked area and stacked bar widgets only. + * @param timeRange timeRange or {@code null} for none + */ + public Widget setTimeRange(TimeRange timeRange) { + this.timeRange = timeRange; + return this; + } + /** * A widget that displays time series data in a tabular format. * @return value or {@code null} for none diff --git a/clients/google-api-services-monitoring/v1/2.0.0/pom.xml b/clients/google-api-services-monitoring/v1/2.0.0/pom.xml index 62bdd92ff8a..30b1c5efeb3 100644 --- a/clients/google-api-services-monitoring/v1/2.0.0/pom.xml +++ b/clients/google-api-services-monitoring/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@