Skip to content

Commit 4e8497d

Browse files
1 parent 6cb581b commit 4e8497d

File tree

11 files changed

+312
-102
lines changed

11 files changed

+312
-102
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-rev20240707-2.0.0</version>
25+
<version>v1-rev20240721-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-rev20240707-2.0.0'
38+
implementation 'com.google.apis:google-api-services-monitoring:v1-rev20240721-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 78 additions & 75 deletions
Large diffs are not rendered by default.

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

Lines changed: 117 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,31 @@ public final class DashboardFilter extends com.google.api.client.json.GenericJso
3737
private java.lang.String filterType;
3838

3939
/**
40-
* Required. The key for the label
40+
* Optional. The key for the label. This must be omitted if the filter_type is VALUE_ONLY but is
41+
* required otherwise.
4142
* The value may be {@code null}.
4243
*/
4344
@com.google.api.client.util.Key
4445
private java.lang.String labelKey;
4546

4647
/**
47-
* A variable-length string value.
48+
* A list of possible string values for the filter
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private StringArray stringArray;
53+
54+
/**
55+
* An array of variable-length string values. If this field is set, value_type must be set to
56+
* STRING_ARRAY or VALUE_TYPE_UNSPECIFIED
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private StringArray stringArrayValue;
61+
62+
/**
63+
* A variable-length string value. If this field is set, value_type must be set to STRING or
64+
* VALUE_TYPE_UNSPECIFIED
4865
* The value may be {@code null}.
4966
*/
5067
@com.google.api.client.util.Key
@@ -58,6 +75,22 @@ public final class DashboardFilter extends com.google.api.client.json.GenericJso
5875
@com.google.api.client.util.Key
5976
private java.lang.String templateVariable;
6077

78+
/**
79+
* A query to run to fetch possible values for the filter. Only OpsAnalyticsQueries are supported
80+
* The value may be {@code null}.
81+
*/
82+
@com.google.api.client.util.Key
83+
private TimeSeriesQuery timeSeriesQuery;
84+
85+
/**
86+
* The type of the filter value. If value_type is not provided, it will be inferred from the
87+
* default_value. If neither value_type nor default_value is provided, value_type will be set to
88+
* STRING by default.
89+
* The value may be {@code null}.
90+
*/
91+
@com.google.api.client.util.Key
92+
private java.lang.String valueType;
93+
6194
/**
6295
* The specified filter type
6396
* @return value or {@code null} for none
@@ -76,15 +109,17 @@ public DashboardFilter setFilterType(java.lang.String filterType) {
76109
}
77110

78111
/**
79-
* Required. The key for the label
112+
* Optional. The key for the label. This must be omitted if the filter_type is VALUE_ONLY but is
113+
* required otherwise.
80114
* @return value or {@code null} for none
81115
*/
82116
public java.lang.String getLabelKey() {
83117
return labelKey;
84118
}
85119

86120
/**
87-
* Required. The key for the label
121+
* Optional. The key for the label. This must be omitted if the filter_type is VALUE_ONLY but is
122+
* required otherwise.
88123
* @param labelKey labelKey or {@code null} for none
89124
*/
90125
public DashboardFilter setLabelKey(java.lang.String labelKey) {
@@ -93,15 +128,53 @@ public DashboardFilter setLabelKey(java.lang.String labelKey) {
93128
}
94129

95130
/**
96-
* A variable-length string value.
131+
* A list of possible string values for the filter
132+
* @return value or {@code null} for none
133+
*/
134+
public StringArray getStringArray() {
135+
return stringArray;
136+
}
137+
138+
/**
139+
* A list of possible string values for the filter
140+
* @param stringArray stringArray or {@code null} for none
141+
*/
142+
public DashboardFilter setStringArray(StringArray stringArray) {
143+
this.stringArray = stringArray;
144+
return this;
145+
}
146+
147+
/**
148+
* An array of variable-length string values. If this field is set, value_type must be set to
149+
* STRING_ARRAY or VALUE_TYPE_UNSPECIFIED
150+
* @return value or {@code null} for none
151+
*/
152+
public StringArray getStringArrayValue() {
153+
return stringArrayValue;
154+
}
155+
156+
/**
157+
* An array of variable-length string values. If this field is set, value_type must be set to
158+
* STRING_ARRAY or VALUE_TYPE_UNSPECIFIED
159+
* @param stringArrayValue stringArrayValue or {@code null} for none
160+
*/
161+
public DashboardFilter setStringArrayValue(StringArray stringArrayValue) {
162+
this.stringArrayValue = stringArrayValue;
163+
return this;
164+
}
165+
166+
/**
167+
* A variable-length string value. If this field is set, value_type must be set to STRING or
168+
* VALUE_TYPE_UNSPECIFIED
97169
* @return value or {@code null} for none
98170
*/
99171
public java.lang.String getStringValue() {
100172
return stringValue;
101173
}
102174

103175
/**
104-
* A variable-length string value.
176+
* A variable-length string value. If this field is set, value_type must be set to STRING or
177+
* VALUE_TYPE_UNSPECIFIED
105178
* @param stringValue stringValue or {@code null} for none
106179
*/
107180
public DashboardFilter setStringValue(java.lang.String stringValue) {
@@ -128,6 +201,44 @@ public DashboardFilter setTemplateVariable(java.lang.String templateVariable) {
128201
return this;
129202
}
130203

204+
/**
205+
* A query to run to fetch possible values for the filter. Only OpsAnalyticsQueries are supported
206+
* @return value or {@code null} for none
207+
*/
208+
public TimeSeriesQuery getTimeSeriesQuery() {
209+
return timeSeriesQuery;
210+
}
211+
212+
/**
213+
* A query to run to fetch possible values for the filter. Only OpsAnalyticsQueries are supported
214+
* @param timeSeriesQuery timeSeriesQuery or {@code null} for none
215+
*/
216+
public DashboardFilter setTimeSeriesQuery(TimeSeriesQuery timeSeriesQuery) {
217+
this.timeSeriesQuery = timeSeriesQuery;
218+
return this;
219+
}
220+
221+
/**
222+
* The type of the filter value. If value_type is not provided, it will be inferred from the
223+
* default_value. If neither value_type nor default_value is provided, value_type will be set to
224+
* STRING by default.
225+
* @return value or {@code null} for none
226+
*/
227+
public java.lang.String getValueType() {
228+
return valueType;
229+
}
230+
231+
/**
232+
* The type of the filter value. If value_type is not provided, it will be inferred from the
233+
* default_value. If neither value_type nor default_value is provided, value_type will be set to
234+
* STRING by default.
235+
* @param valueType valueType or {@code null} for none
236+
*/
237+
public DashboardFilter setValueType(java.lang.String valueType) {
238+
this.valueType = valueType;
239+
return this;
240+
}
241+
131242
@Override
132243
public DashboardFilter set(String fieldName, Object value) {
133244
return (DashboardFilter) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
* An array of strings
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 StringArray extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The values of the array
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<java.lang.String> values;
38+
39+
/**
40+
* The values of the array
41+
* @return value or {@code null} for none
42+
*/
43+
public java.util.List<java.lang.String> getValues() {
44+
return values;
45+
}
46+
47+
/**
48+
* The values of the array
49+
* @param values values or {@code null} for none
50+
*/
51+
public StringArray setValues(java.util.List<java.lang.String> values) {
52+
this.values = values;
53+
return this;
54+
}
55+
56+
@Override
57+
public StringArray set(String fieldName, Object value) {
58+
return (StringArray) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public StringArray clone() {
63+
return (StringArray) super.clone();
64+
}
65+
66+
}

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-rev20240707-2.0.0</version>
12-
<name>Cloud Monitoring API v1-rev20240707-2.0.0</name>
11+
<version>v1-rev20240721-2.0.0</version>
12+
<name>Cloud Monitoring API v1-rev20240721-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-rev20240707-2.0.0</version>
25+
<version>v1-rev20240721-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-rev20240707-2.0.0'
38+
implementation 'com.google.apis:google-api-services-monitoring:v1-rev20240721-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-monitoring/v3/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>v3-rev20240630-2.0.0</version>
25+
<version>v3-rev20240721-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:v3-rev20240630-2.0.0'
38+
implementation 'com.google.apis:google-api-services-monitoring:v3-rev20240721-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-monitoring/v3/2.0.0/com/google/api/services/monitoring/v3/model/AlertStrategy.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ public final class AlertStrategy extends com.google.api.client.json.GenericJson
4545
private java.util.List<NotificationChannelStrategy> notificationChannelStrategy;
4646

4747
/**
48-
* Required for alert policies with a LogMatch condition.This limit is not implemented for alert
49-
* policies that are not log-based.
48+
* Required for log-based alert policies, i.e. policies with a LogMatch condition.This limit is
49+
* not implemented for alert policies that do not have a LogMatch condition.
5050
* The value may be {@code null}.
5151
*/
5252
@com.google.api.client.util.Key
@@ -87,17 +87,17 @@ public AlertStrategy setNotificationChannelStrategy(java.util.List<NotificationC
8787
}
8888

8989
/**
90-
* Required for alert policies with a LogMatch condition.This limit is not implemented for alert
91-
* policies that are not log-based.
90+
* Required for log-based alert policies, i.e. policies with a LogMatch condition.This limit is
91+
* not implemented for alert policies that do not have a LogMatch condition.
9292
* @return value or {@code null} for none
9393
*/
9494
public NotificationRateLimit getNotificationRateLimit() {
9595
return notificationRateLimit;
9696
}
9797

9898
/**
99-
* Required for alert policies with a LogMatch condition.This limit is not implemented for alert
100-
* policies that are not log-based.
99+
* Required for log-based alert policies, i.e. policies with a LogMatch condition.This limit is
100+
* not implemented for alert policies that do not have a LogMatch condition.
101101
* @param notificationRateLimit notificationRateLimit or {@code null} for none
102102
*/
103103
public AlertStrategy setNotificationRateLimit(NotificationRateLimit notificationRateLimit) {

0 commit comments

Comments
 (0)