Skip to content

Commit 7cde67e

Browse files
1 parent 593a0be commit 7cde67e

File tree

10 files changed

+234
-18
lines changed

10 files changed

+234
-18
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-rev20250125-2.0.0</version>
25+
<version>v1-rev20250130-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-rev20250125-2.0.0'
38+
implementation 'com.google.apis:google-api-services-monitoring:v1-rev20250130-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
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 condition whose evaluation is based on the value of a template variable.
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 TemplateVariableCondition extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Comparator to use to evaluate whether the value of the template variable matches the
34+
* template_variable_value. For example, if the comparator is REGEX_FULL_MATCH,
35+
* template_variable_value would contain a regex that is matched against the value of the template
36+
* variable.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String comparator;
41+
42+
/**
43+
* The template variable whose value is evaluated.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String templateVariable;
48+
49+
/**
50+
* The value to compare the template variable to. For example, if the comparator is
51+
* REGEX_FULL_MATCH, this field should contain a regex.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.lang.String templateVariableValue;
56+
57+
/**
58+
* Comparator to use to evaluate whether the value of the template variable matches the
59+
* template_variable_value. For example, if the comparator is REGEX_FULL_MATCH,
60+
* template_variable_value would contain a regex that is matched against the value of the template
61+
* variable.
62+
* @return value or {@code null} for none
63+
*/
64+
public java.lang.String getComparator() {
65+
return comparator;
66+
}
67+
68+
/**
69+
* Comparator to use to evaluate whether the value of the template variable matches the
70+
* template_variable_value. For example, if the comparator is REGEX_FULL_MATCH,
71+
* template_variable_value would contain a regex that is matched against the value of the template
72+
* variable.
73+
* @param comparator comparator or {@code null} for none
74+
*/
75+
public TemplateVariableCondition setComparator(java.lang.String comparator) {
76+
this.comparator = comparator;
77+
return this;
78+
}
79+
80+
/**
81+
* The template variable whose value is evaluated.
82+
* @return value or {@code null} for none
83+
*/
84+
public java.lang.String getTemplateVariable() {
85+
return templateVariable;
86+
}
87+
88+
/**
89+
* The template variable whose value is evaluated.
90+
* @param templateVariable templateVariable or {@code null} for none
91+
*/
92+
public TemplateVariableCondition setTemplateVariable(java.lang.String templateVariable) {
93+
this.templateVariable = templateVariable;
94+
return this;
95+
}
96+
97+
/**
98+
* The value to compare the template variable to. For example, if the comparator is
99+
* REGEX_FULL_MATCH, this field should contain a regex.
100+
* @return value or {@code null} for none
101+
*/
102+
public java.lang.String getTemplateVariableValue() {
103+
return templateVariableValue;
104+
}
105+
106+
/**
107+
* The value to compare the template variable to. For example, if the comparator is
108+
* REGEX_FULL_MATCH, this field should contain a regex.
109+
* @param templateVariableValue templateVariableValue or {@code null} for none
110+
*/
111+
public TemplateVariableCondition setTemplateVariableValue(java.lang.String templateVariableValue) {
112+
this.templateVariableValue = templateVariableValue;
113+
return this;
114+
}
115+
116+
@Override
117+
public TemplateVariableCondition set(String fieldName, Object value) {
118+
return (TemplateVariableCondition) super.set(fieldName, value);
119+
}
120+
121+
@Override
122+
public TemplateVariableCondition clone() {
123+
return (TemplateVariableCondition) super.clone();
124+
}
125+
126+
}
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+
* Condition that determines whether the widget should be displayed.
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 VisibilityCondition extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* A condition whose evaluation is based on the value of a template variable.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private TemplateVariableCondition templateVariableCondition;
38+
39+
/**
40+
* A condition whose evaluation is based on the value of a template variable.
41+
* @return value or {@code null} for none
42+
*/
43+
public TemplateVariableCondition getTemplateVariableCondition() {
44+
return templateVariableCondition;
45+
}
46+
47+
/**
48+
* A condition whose evaluation is based on the value of a template variable.
49+
* @param templateVariableCondition templateVariableCondition or {@code null} for none
50+
*/
51+
public VisibilityCondition setTemplateVariableCondition(TemplateVariableCondition templateVariableCondition) {
52+
this.templateVariableCondition = templateVariableCondition;
53+
return this;
54+
}
55+
56+
@Override
57+
public VisibilityCondition set(String fieldName, Object value) {
58+
return (VisibilityCondition) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public VisibilityCondition clone() {
63+
return (VisibilityCondition) super.clone();
64+
}
65+
66+
}

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+
* Optional. If set, this widget is rendered only when the condition is evaluated to true.
135+
* The value may be {@code null}.
136+
*/
137+
@com.google.api.client.util.Key
138+
private VisibilityCondition visibilityCondition;
139+
133140
/**
134141
* A chart of time series data.
135142
* The value may be {@code null}.
@@ -379,6 +386,23 @@ public Widget setTitle(java.lang.String title) {
379386
return this;
380387
}
381388

389+
/**
390+
* Optional. If set, this widget is rendered only when the condition is evaluated to true.
391+
* @return value or {@code null} for none
392+
*/
393+
public VisibilityCondition getVisibilityCondition() {
394+
return visibilityCondition;
395+
}
396+
397+
/**
398+
* Optional. If set, this widget is rendered only when the condition is evaluated to true.
399+
* @param visibilityCondition visibilityCondition or {@code null} for none
400+
*/
401+
public Widget setVisibilityCondition(VisibilityCondition visibilityCondition) {
402+
this.visibilityCondition = visibilityCondition;
403+
return this;
404+
}
405+
382406
/**
383407
* A chart of time series data.
384408
* @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-rev20250125-2.0.0</version>
12-
<name>Cloud Monitoring API v1-rev20250125-2.0.0</name>
11+
<version>v1-rev20250130-2.0.0</version>
12+
<name>Cloud Monitoring API v1-rev20250130-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-rev20250125-2.0.0</version>
25+
<version>v1-rev20250130-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-rev20250125-2.0.0'
38+
implementation 'com.google.apis:google-api-services-monitoring:v1-rev20250130-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-rev20250125-2.0.0</version>
25+
<version>v3-rev20250130-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-rev20250125-2.0.0'
38+
implementation 'com.google.apis:google-api-services-monitoring:v3-rev20250130-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7236,24 +7236,24 @@ public List setParent(java.lang.String parent) {
72367236

72377237
/**
72387238
* Optional. Optional filter to restrict results to the given criteria. The following fields
7239-
* are supported. interval.start_time interval.end_timeFor example: ``` interval.start_time
7240-
* > "2022-03-11T00:00:00-08:00" AND interval.end_time < "2022-03-12T00:00:00-08:00" ```
7239+
* are supported. interval.start_time interval.end_timeFor example: interval.start_time >
7240+
* "2022-03-11T00:00:00-08:00" AND interval.end_time < "2022-03-12T00:00:00-08:00"
72417241
*/
72427242
@com.google.api.client.util.Key
72437243
private java.lang.String filter;
72447244

72457245
/** Optional. Optional filter to restrict results to the given criteria. The following fields are
7246-
supported. interval.start_time interval.end_timeFor example: ``` interval.start_time >
7247-
"2022-03-11T00:00:00-08:00" AND interval.end_time < "2022-03-12T00:00:00-08:00" ```
7246+
supported. interval.start_time interval.end_timeFor example: interval.start_time >
7247+
"2022-03-11T00:00:00-08:00" AND interval.end_time < "2022-03-12T00:00:00-08:00"
72487248
*/
72497249
public java.lang.String getFilter() {
72507250
return filter;
72517251
}
72527252

72537253
/**
72547254
* Optional. Optional filter to restrict results to the given criteria. The following fields
7255-
* are supported. interval.start_time interval.end_timeFor example: ``` interval.start_time
7256-
* > "2022-03-11T00:00:00-08:00" AND interval.end_time < "2022-03-12T00:00:00-08:00" ```
7255+
* are supported. interval.start_time interval.end_timeFor example: interval.start_time >
7256+
* "2022-03-11T00:00:00-08:00" AND interval.end_time < "2022-03-12T00:00:00-08:00"
72577257
*/
72587258
public List setFilter(java.lang.String filter) {
72597259
this.filter = filter;

clients/google-api-services-monitoring/v3/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>v3-rev20250125-2.0.0</version>
12-
<name>Cloud Monitoring API v3-rev20250125-2.0.0</name>
11+
<version>v3-rev20250130-2.0.0</version>
12+
<name>Cloud Monitoring API v3-rev20250130-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)