Skip to content

Commit c6bf867

Browse files
1 parent ede4eb9 commit c6bf867

File tree

6 files changed

+262
-6
lines changed

6 files changed

+262
-6
lines changed

clients/google-api-services-monitoring/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-monitoring</artifactId>
25-
<version>v1-rev20250501-2.0.0</version>
25+
<version>v1-rev20250529-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-monitoring:v1-rev20250501-2.0.0'
38+
implementation 'com.google.apis:google-api-services-monitoring:v1-rev20250529-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.monitoring.v1.model;
18+
19+
/**
20+
* A widget that displays hierarchical data as a treemap.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud Monitoring API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class Treemap extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The collection of datasets used to construct and populate the treemap. For the
34+
* rendered treemap rectangles: Color is determined by the aggregated value for each grouping.
35+
* Size is proportional to the count of time series aggregated within that rectangle's segment.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.util.List<TreemapDataSet> dataSets;
40+
41+
/**
42+
* Required. Ordered labels representing the hierarchical treemap structure.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.util.List<java.lang.String> treemapHierarchy;
47+
48+
/**
49+
* Required. The collection of datasets used to construct and populate the treemap. For the
50+
* rendered treemap rectangles: Color is determined by the aggregated value for each grouping.
51+
* Size is proportional to the count of time series aggregated within that rectangle's segment.
52+
* @return value or {@code null} for none
53+
*/
54+
public java.util.List<TreemapDataSet> getDataSets() {
55+
return dataSets;
56+
}
57+
58+
/**
59+
* Required. The collection of datasets used to construct and populate the treemap. For the
60+
* rendered treemap rectangles: Color is determined by the aggregated value for each grouping.
61+
* Size is proportional to the count of time series aggregated within that rectangle's segment.
62+
* @param dataSets dataSets or {@code null} for none
63+
*/
64+
public Treemap setDataSets(java.util.List<TreemapDataSet> dataSets) {
65+
this.dataSets = dataSets;
66+
return this;
67+
}
68+
69+
/**
70+
* Required. Ordered labels representing the hierarchical treemap structure.
71+
* @return value or {@code null} for none
72+
*/
73+
public java.util.List<java.lang.String> getTreemapHierarchy() {
74+
return treemapHierarchy;
75+
}
76+
77+
/**
78+
* Required. Ordered labels representing the hierarchical treemap structure.
79+
* @param treemapHierarchy treemapHierarchy or {@code null} for none
80+
*/
81+
public Treemap setTreemapHierarchy(java.util.List<java.lang.String> treemapHierarchy) {
82+
this.treemapHierarchy = treemapHierarchy;
83+
return this;
84+
}
85+
86+
@Override
87+
public Treemap set(String fieldName, Object value) {
88+
return (Treemap) super.set(fieldName, value);
89+
}
90+
91+
@Override
92+
public Treemap clone() {
93+
return (Treemap) super.clone();
94+
}
95+
96+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.monitoring.v1.model;
18+
19+
/**
20+
* The data represented by the treemap. Needs to include the data itself, plus rules on how to
21+
* organize it hierarchically.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Cloud Monitoring API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class TreemapDataSet extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. The collection of breakdowns to be applied to the dataset. A breakdown is a way to
35+
* slice the data. For example, you can break down the data by region.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.util.List<Breakdown> breakdowns;
40+
41+
static {
42+
// hack to force ProGuard to consider Breakdown used, since otherwise it would be stripped out
43+
// see https://github.com/google/google-api-java-client/issues/543
44+
com.google.api.client.util.Data.nullOf(Breakdown.class);
45+
}
46+
47+
/**
48+
* Optional. A collection of measures. A measure is a measured value of a property in your data.
49+
* For example, rainfall in inches, number of units sold, revenue gained, etc.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.util.List<Measure> measures;
54+
55+
static {
56+
// hack to force ProGuard to consider Measure used, since otherwise it would be stripped out
57+
// see https://github.com/google/google-api-java-client/issues/543
58+
com.google.api.client.util.Data.nullOf(Measure.class);
59+
}
60+
61+
/**
62+
* Required. The query that fetches the relevant data. See
63+
* google.monitoring.dashboard.v1.TimeSeriesQuery
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private TimeSeriesQuery timeSeriesQuery;
68+
69+
/**
70+
* Optional. The collection of breakdowns to be applied to the dataset. A breakdown is a way to
71+
* slice the data. For example, you can break down the data by region.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.util.List<Breakdown> getBreakdowns() {
75+
return breakdowns;
76+
}
77+
78+
/**
79+
* Optional. The collection of breakdowns to be applied to the dataset. A breakdown is a way to
80+
* slice the data. For example, you can break down the data by region.
81+
* @param breakdowns breakdowns or {@code null} for none
82+
*/
83+
public TreemapDataSet setBreakdowns(java.util.List<Breakdown> breakdowns) {
84+
this.breakdowns = breakdowns;
85+
return this;
86+
}
87+
88+
/**
89+
* Optional. A collection of measures. A measure is a measured value of a property in your data.
90+
* For example, rainfall in inches, number of units sold, revenue gained, etc.
91+
* @return value or {@code null} for none
92+
*/
93+
public java.util.List<Measure> getMeasures() {
94+
return measures;
95+
}
96+
97+
/**
98+
* Optional. A collection of measures. A measure is a measured value of a property in your data.
99+
* For example, rainfall in inches, number of units sold, revenue gained, etc.
100+
* @param measures measures or {@code null} for none
101+
*/
102+
public TreemapDataSet setMeasures(java.util.List<Measure> measures) {
103+
this.measures = measures;
104+
return this;
105+
}
106+
107+
/**
108+
* Required. The query that fetches the relevant data. See
109+
* google.monitoring.dashboard.v1.TimeSeriesQuery
110+
* @return value or {@code null} for none
111+
*/
112+
public TimeSeriesQuery getTimeSeriesQuery() {
113+
return timeSeriesQuery;
114+
}
115+
116+
/**
117+
* Required. The query that fetches the relevant data. See
118+
* google.monitoring.dashboard.v1.TimeSeriesQuery
119+
* @param timeSeriesQuery timeSeriesQuery or {@code null} for none
120+
*/
121+
public TreemapDataSet setTimeSeriesQuery(TimeSeriesQuery timeSeriesQuery) {
122+
this.timeSeriesQuery = timeSeriesQuery;
123+
return this;
124+
}
125+
126+
@Override
127+
public TreemapDataSet set(String fieldName, Object value) {
128+
return (TreemapDataSet) super.set(fieldName, value);
129+
}
130+
131+
@Override
132+
public TreemapDataSet clone() {
133+
return (TreemapDataSet) super.clone();
134+
}
135+
136+
}

clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/Widget.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,13 @@ public final class Widget extends com.google.api.client.json.GenericJson {
130130
@com.google.api.client.util.Key
131131
private java.lang.String title;
132132

133+
/**
134+
* A widget that displays data as a treemap.
135+
* The value may be {@code null}.
136+
*/
137+
@com.google.api.client.util.Key
138+
private Treemap treemap;
139+
133140
/**
134141
* Optional. If set, this widget is rendered only when the condition is evaluated to true.
135142
* The value may be {@code null}.
@@ -386,6 +393,23 @@ public Widget setTitle(java.lang.String title) {
386393
return this;
387394
}
388395

396+
/**
397+
* A widget that displays data as a treemap.
398+
* @return value or {@code null} for none
399+
*/
400+
public Treemap getTreemap() {
401+
return treemap;
402+
}
403+
404+
/**
405+
* A widget that displays data as a treemap.
406+
* @param treemap treemap or {@code null} for none
407+
*/
408+
public Widget setTreemap(Treemap treemap) {
409+
this.treemap = treemap;
410+
return this;
411+
}
412+
389413
/**
390414
* Optional. If set, this widget is rendered only when the condition is evaluated to true.
391415
* @return value or {@code null} for none

clients/google-api-services-monitoring/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-monitoring</artifactId>
11-
<version>v1-rev20250501-2.0.0</version>
12-
<name>Cloud Monitoring API v1-rev20250501-2.0.0</name>
11+
<version>v1-rev20250529-2.0.0</version>
12+
<name>Cloud Monitoring API v1-rev20250529-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-monitoring/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-monitoring</artifactId>
25-
<version>v1-rev20250501-2.0.0</version>
25+
<version>v1-rev20250529-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-monitoring:v1-rev20250501-2.0.0'
38+
implementation 'com.google.apis:google-api-services-monitoring:v1-rev20250529-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)