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
4 changes: 2 additions & 2 deletions clients/google-api-services-monitoring/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-monitoring</artifactId>
<version>v1-rev20260402-2.0.0</version>
<version>v1-rev20260604-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-monitoring:v1-rev20260402-2.0.0'
implementation 'com.google.apis:google-api-services-monitoring:v1-rev20260604-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,20 @@ public final class Dimension extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private String timeBinSize;

/**
* The maximum value for the x-axis.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Double xMax;

/**
* The minimum value for the x-axis.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Double xMin;

/**
* Required. For widgets that use SQL queries, set the value to the name of the column in the
* results table whose data is charted. For a histogram that uses a time series query, set the
Expand Down Expand Up @@ -264,6 +278,40 @@ public Dimension setTimeBinSize(String timeBinSize) {
return this;
}

/**
* The maximum value for the x-axis.
* @return value or {@code null} for none
*/
public java.lang.Double getXMax() {
return xMax;
}

/**
* The maximum value for the x-axis.
* @param xMax xMax or {@code null} for none
*/
public Dimension setXMax(java.lang.Double xMax) {
this.xMax = xMax;
return this;
}

/**
* The minimum value for the x-axis.
* @return value or {@code null} for none
*/
public java.lang.Double getXMin() {
return xMin;
}

/**
* The minimum value for the x-axis.
* @param xMin xMin or {@code null} for none
*/
public Dimension setXMin(java.lang.Double xMin) {
this.xMin = xMin;
return this;
}

@Override
public Dimension set(String fieldName, Object value) {
return (Dimension) super.set(fieldName, value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ public final class TimeSeriesQuery extends com.google.api.client.json.GenericJso
@com.google.api.client.util.Key
private java.lang.String timeSeriesQueryLanguage;

/**
* Optional. Preview: Query for traces. This is a preview feature and may be subject to change
* before final release.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private TraceQuery traceQuery;

/**
* The unit of data contained in fetched time series. If non-empty, this unit will override any
* unit that accompanies fetched data. The format is the same as the unit
Expand Down Expand Up @@ -196,6 +204,25 @@ public TimeSeriesQuery setTimeSeriesQueryLanguage(java.lang.String timeSeriesQue
return this;
}

/**
* Optional. Preview: Query for traces. This is a preview feature and may be subject to change
* before final release.
* @return value or {@code null} for none
*/
public TraceQuery getTraceQuery() {
return traceQuery;
}

/**
* Optional. Preview: Query for traces. This is a preview feature and may be subject to change
* before final release.
* @param traceQuery traceQuery or {@code null} for none
*/
public TimeSeriesQuery setTraceQuery(TraceQuery traceQuery) {
this.traceQuery = traceQuery;
return this;
}

/**
* The unit of data contained in fetched time series. If non-empty, this unit will override any
* unit that accompanies fetched data. The format is the same as the unit
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.monitoring.v1.model;

/**
* LINT.IfChange Preview: Query for traces. This is a preview feature and may be subject to change
* before final release.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class TraceQuery extends com.google.api.client.json.GenericJson {

@Override
public TraceQuery set(String fieldName, Object value) {
return (TraceQuery) super.set(fieldName, value);
}

@Override
public TraceQuery clone() {
return (TraceQuery) super.clone();
}

}
4 changes: 2 additions & 2 deletions clients/google-api-services-monitoring/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-monitoring</artifactId>
<version>v1-rev20260402-2.0.0</version>
<name>Cloud Monitoring API v1-rev20260402-2.0.0</name>
<version>v1-rev20260604-2.0.0</version>
<name>Cloud Monitoring API v1-rev20260604-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-monitoring/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-monitoring</artifactId>
<version>v1-rev20260402-2.0.0</version>
<version>v1-rev20260604-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-monitoring:v1-rev20260402-2.0.0'
implementation 'com.google.apis:google-api-services-monitoring:v1-rev20260604-2.0.0'
}
```

Expand Down