Skip to content

Commit 30013c3

Browse files
1 parent 353972d commit 30013c3

File tree

17 files changed

+829
-21
lines changed

17 files changed

+829
-21
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-rev20240829-2.0.0</version>
25+
<version>v1-rev20240929-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-rev20240829-2.0.0'
38+
implementation 'com.google.apis:google-api-services-monitoring:v1-rev20240929-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public final class QueryExemplarsRequest extends com.google.api.client.json.Gene
3838
private java.lang.String end;
3939

4040
/**
41-
* A PromQL query string. Query lanauge documentation:
41+
* A PromQL query string. Query language documentation:
4242
* https://prometheus.io/docs/prometheus/latest/querying/basics/.
4343
* The value may be {@code null}.
4444
*/
@@ -73,7 +73,7 @@ public QueryExemplarsRequest setEnd(java.lang.String end) {
7373
}
7474

7575
/**
76-
* A PromQL query string. Query lanauge documentation:
76+
* A PromQL query string. Query language documentation:
7777
* https://prometheus.io/docs/prometheus/latest/querying/basics/.
7878
* @return value or {@code null} for none
7979
*/
@@ -82,7 +82,7 @@ public java.lang.String getQuery() {
8282
}
8383

8484
/**
85-
* A PromQL query string. Query lanauge documentation:
85+
* A PromQL query string. Query language documentation:
8686
* https://prometheus.io/docs/prometheus/latest/querying/basics/.
8787
* @param query query or {@code null} for none
8888
*/

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
public final class QueryInstantRequest extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* A PromQL query string. Query lanauge documentation:
34+
* A PromQL query string. Query language documentation:
3535
* https://prometheus.io/docs/prometheus/latest/querying/basics/.
3636
* The value may be {@code null}.
3737
*/
@@ -57,7 +57,7 @@ public final class QueryInstantRequest extends com.google.api.client.json.Generi
5757
private java.lang.String timeout;
5858

5959
/**
60-
* A PromQL query string. Query lanauge documentation:
60+
* A PromQL query string. Query language documentation:
6161
* https://prometheus.io/docs/prometheus/latest/querying/basics/.
6262
* @return value or {@code null} for none
6363
*/
@@ -66,7 +66,7 @@ public java.lang.String getQuery() {
6666
}
6767

6868
/**
69-
* A PromQL query string. Query lanauge documentation:
69+
* A PromQL query string. Query language documentation:
7070
* https://prometheus.io/docs/prometheus/latest/querying/basics/.
7171
* @param query query or {@code null} for none
7272
*/

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public final class QueryRangeRequest extends com.google.api.client.json.GenericJ
3939
private java.lang.String end;
4040

4141
/**
42-
* A PromQL query string. Query lanauge documentation:
42+
* A PromQL query string. Query language documentation:
4343
* https://prometheus.io/docs/prometheus/latest/querying/basics/.
4444
* The value may be {@code null}.
4545
*/
@@ -94,7 +94,7 @@ public QueryRangeRequest setEnd(java.lang.String end) {
9494
}
9595

9696
/**
97-
* A PromQL query string. Query lanauge documentation:
97+
* A PromQL query string. Query language documentation:
9898
* https://prometheus.io/docs/prometheus/latest/querying/basics/.
9999
* @return value or {@code null} for none
100100
*/
@@ -103,7 +103,7 @@ public java.lang.String getQuery() {
103103
}
104104

105105
/**
106-
* A PromQL query string. Query lanauge documentation:
106+
* A PromQL query string. Query language documentation:
107107
* https://prometheus.io/docs/prometheus/latest/querying/basics/.
108108
* @param query query or {@code null} for none
109109
*/

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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.v3.model;
18+
19+
/**
20+
* A test that uses an alerting result in a boolean column produced by the SQL query.
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 BooleanTest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The name of the column containing the boolean value. If the value in a row is NULL,
34+
* that row is ignored.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String column;
39+
40+
/**
41+
* Required. The name of the column containing the boolean value. If the value in a row is NULL,
42+
* that row is ignored.
43+
* @return value or {@code null} for none
44+
*/
45+
public java.lang.String getColumn() {
46+
return column;
47+
}
48+
49+
/**
50+
* Required. The name of the column containing the boolean value. If the value in a row is NULL,
51+
* that row is ignored.
52+
* @param column column or {@code null} for none
53+
*/
54+
public BooleanTest setColumn(java.lang.String column) {
55+
this.column = column;
56+
return this;
57+
}
58+
59+
@Override
60+
public BooleanTest set(String fieldName, Object value) {
61+
return (BooleanTest) super.set(fieldName, value);
62+
}
63+
64+
@Override
65+
public BooleanTest clone() {
66+
return (BooleanTest) super.clone();
67+
}
68+
69+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ public final class Condition extends com.google.api.client.json.GenericJson {
5959
@com.google.api.client.util.Key
6060
private PrometheusQueryLanguageCondition conditionPrometheusQueryLanguage;
6161

62+
/**
63+
* A condition that uses SQL to define alerts in Logs Analytics.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private SqlCondition conditionSql;
68+
6269
/**
6370
* A condition that compares a time series against a threshold.
6471
* The value may be {@code null}.
@@ -162,6 +169,23 @@ public Condition setConditionPrometheusQueryLanguage(PrometheusQueryLanguageCond
162169
return this;
163170
}
164171

172+
/**
173+
* A condition that uses SQL to define alerts in Logs Analytics.
174+
* @return value or {@code null} for none
175+
*/
176+
public SqlCondition getConditionSql() {
177+
return conditionSql;
178+
}
179+
180+
/**
181+
* A condition that uses SQL to define alerts in Logs Analytics.
182+
* @param conditionSql conditionSql or {@code null} for none
183+
*/
184+
public Condition setConditionSql(SqlCondition conditionSql) {
185+
this.conditionSql = conditionSql;
186+
return this;
187+
}
188+
165189
/**
166190
* A condition that compares a time series against a threshold.
167191
* @return value or {@code null} for none
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
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.v3.model;
18+
19+
/**
20+
* Used to schedule the query to run every so many days.
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 Daily extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The time of day (in UTC) at which the query should run. If left unspecified, the
34+
* server picks an arbitrary time of day and runs the query at the same time each day.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private TimeOfDay executionTime;
39+
40+
/**
41+
* Required. LINT.IfChange The number of days between runs. Must be greater than or equal to 1 day
42+
* and less than or equal to 31 days.
43+
* LINT.ThenChange(//depot/google3/cloud/monitoring/api/alerts/policy_validation.cc)
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.Integer periodicity;
48+
49+
/**
50+
* Optional. The time of day (in UTC) at which the query should run. If left unspecified, the
51+
* server picks an arbitrary time of day and runs the query at the same time each day.
52+
* @return value or {@code null} for none
53+
*/
54+
public TimeOfDay getExecutionTime() {
55+
return executionTime;
56+
}
57+
58+
/**
59+
* Optional. The time of day (in UTC) at which the query should run. If left unspecified, the
60+
* server picks an arbitrary time of day and runs the query at the same time each day.
61+
* @param executionTime executionTime or {@code null} for none
62+
*/
63+
public Daily setExecutionTime(TimeOfDay executionTime) {
64+
this.executionTime = executionTime;
65+
return this;
66+
}
67+
68+
/**
69+
* Required. LINT.IfChange The number of days between runs. Must be greater than or equal to 1 day
70+
* and less than or equal to 31 days.
71+
* LINT.ThenChange(//depot/google3/cloud/monitoring/api/alerts/policy_validation.cc)
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.Integer getPeriodicity() {
75+
return periodicity;
76+
}
77+
78+
/**
79+
* Required. LINT.IfChange The number of days between runs. Must be greater than or equal to 1 day
80+
* and less than or equal to 31 days.
81+
* LINT.ThenChange(//depot/google3/cloud/monitoring/api/alerts/policy_validation.cc)
82+
* @param periodicity periodicity or {@code null} for none
83+
*/
84+
public Daily setPeriodicity(java.lang.Integer periodicity) {
85+
this.periodicity = periodicity;
86+
return this;
87+
}
88+
89+
@Override
90+
public Daily set(String fieldName, Object value) {
91+
return (Daily) super.set(fieldName, value);
92+
}
93+
94+
@Override
95+
public Daily clone() {
96+
return (Daily) super.clone();
97+
}
98+
99+
}

0 commit comments

Comments
 (0)