Skip to content

Commit 0cc6407

Browse files
1 parent 6a41611 commit 0cc6407

File tree

19 files changed

+141
-117
lines changed

19 files changed

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

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

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

3434
/**
35-
* The number of columns in the mosaic grid. The number of columns must be between 1 and 12,
35+
* The number of columns in the mosaic grid. The number of columns must be between 1 and 48,
3636
* inclusive.
3737
* The value may be {@code null}.
3838
*/
@@ -47,7 +47,7 @@ public final class MosaicLayout extends com.google.api.client.json.GenericJson {
4747
private java.util.List<Tile> tiles;
4848

4949
/**
50-
* The number of columns in the mosaic grid. The number of columns must be between 1 and 12,
50+
* The number of columns in the mosaic grid. The number of columns must be between 1 and 48,
5151
* inclusive.
5252
* @return value or {@code null} for none
5353
*/
@@ -56,7 +56,7 @@ public java.lang.Integer getColumns() {
5656
}
5757

5858
/**
59-
* The number of columns in the mosaic grid. The number of columns must be between 1 and 12,
59+
* The number of columns in the mosaic grid. The number of columns must be between 1 and 48,
6060
* inclusive.
6161
* @param columns columns or {@code null} for none
6262
*/

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-rev20240929-2.0.0</version>
12-
<name>Cloud Monitoring API v1-rev20240929-2.0.0</name>
11+
<version>v1-rev20241003-2.0.0</version>
12+
<name>Cloud Monitoring API v1-rev20241003-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-rev20240929-2.0.0</version>
25+
<version>v1-rev20241003-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-rev20240929-2.0.0'
38+
implementation 'com.google.apis:google-api-services-monitoring:v1-rev20241003-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-rev20240929-2.0.0</version>
25+
<version>v3-rev20241017-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-rev20240929-2.0.0'
38+
implementation 'com.google.apis:google-api-services-monitoring:v3-rev20241017-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
@@ -5689,24 +5689,24 @@ public Delete setName(java.lang.String name) {
56895689

56905690
/**
56915691
* If true, the notification channel will be deleted regardless of its use in alert policies
5692-
* (the policies will be updated to remove the channel). If false, channels that are still
5693-
* referenced by an existing alerting policy will fail to be deleted in a delete operation.
5692+
* (the policies will be updated to remove the channel). If false, this operation will fail
5693+
* if the notification channel is referenced by existing alerting policies.
56945694
*/
56955695
@com.google.api.client.util.Key
56965696
private java.lang.Boolean force;
56975697

56985698
/** If true, the notification channel will be deleted regardless of its use in alert policies (the
5699-
policies will be updated to remove the channel). If false, channels that are still referenced by an
5700-
existing alerting policy will fail to be deleted in a delete operation.
5699+
policies will be updated to remove the channel). If false, this operation will fail if the
5700+
notification channel is referenced by existing alerting policies.
57015701
*/
57025702
public java.lang.Boolean getForce() {
57035703
return force;
57045704
}
57055705

57065706
/**
57075707
* If true, the notification channel will be deleted regardless of its use in alert policies
5708-
* (the policies will be updated to remove the channel). If false, channels that are still
5709-
* referenced by an existing alerting policy will fail to be deleted in a delete operation.
5708+
* (the policies will be updated to remove the channel). If false, this operation will fail
5709+
* if the notification channel is referenced by existing alerting policies.
57105710
*/
57115711
public Delete setForce(java.lang.Boolean force) {
57125712
this.force = force;

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
/**
2020
* A description of the conditions under which some aspect of your system is considered to be
21-
* "unhealthy" and the ways to notify people or services about this state. For an overview of alert
22-
* policies, see Introduction to Alerting (https://cloud.google.com/monitoring/alerts/).
21+
* "unhealthy" and the ways to notify people or services about this state. For an overview of
22+
* alerting policies, see Introduction to Alerting (https://cloud.google.com/monitoring/alerts/).
2323
*
2424
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2525
* transmitted over HTTP when working with the Cloud Monitoring API. For a detailed explanation see:
@@ -32,7 +32,7 @@
3232
public final class AlertPolicy extends com.google.api.client.json.GenericJson {
3333

3434
/**
35-
* Control over how this alert policy's notification channels are notified.
35+
* Control over how this alerting policy's notification channels are notified.
3636
* The value may be {@code null}.
3737
*/
3838
@com.google.api.client.util.Key
@@ -128,8 +128,8 @@ public final class AlertPolicy extends com.google.api.client.json.GenericJson {
128128
private java.util.List<java.lang.String> notificationChannels;
129129

130130
/**
131-
* Optional. The severity of an alert policy indicates how important incidents generated by that
132-
* policy are. The severity level will be displayed on the Incident detail page and in
131+
* Optional. The severity of an alerting policy indicates how important incidents generated by
132+
* that policy are. The severity level will be displayed on the Incident detail page and in
133133
* notifications.
134134
* The value may be {@code null}.
135135
*/
@@ -151,23 +151,23 @@ public final class AlertPolicy extends com.google.api.client.json.GenericJson {
151151
private java.util.Map<String, java.lang.String> userLabels;
152152

153153
/**
154-
* Read-only description of how the alert policy is invalid. This field is only set when the alert
155-
* policy is invalid. An invalid alert policy will not generate incidents.
154+
* Read-only description of how the alerting policy is invalid. This field is only set when the
155+
* alerting policy is invalid. An invalid alerting policy will not generate incidents.
156156
* The value may be {@code null}.
157157
*/
158158
@com.google.api.client.util.Key
159159
private Status validity;
160160

161161
/**
162-
* Control over how this alert policy's notification channels are notified.
162+
* Control over how this alerting policy's notification channels are notified.
163163
* @return value or {@code null} for none
164164
*/
165165
public AlertStrategy getAlertStrategy() {
166166
return alertStrategy;
167167
}
168168

169169
/**
170-
* Control over how this alert policy's notification channels are notified.
170+
* Control over how this alerting policy's notification channels are notified.
171171
* @param alertStrategy alertStrategy or {@code null} for none
172172
*/
173173
public AlertPolicy setAlertStrategy(AlertStrategy alertStrategy) {
@@ -381,8 +381,8 @@ public AlertPolicy setNotificationChannels(java.util.List<java.lang.String> noti
381381
}
382382

383383
/**
384-
* Optional. The severity of an alert policy indicates how important incidents generated by that
385-
* policy are. The severity level will be displayed on the Incident detail page and in
384+
* Optional. The severity of an alerting policy indicates how important incidents generated by
385+
* that policy are. The severity level will be displayed on the Incident detail page and in
386386
* notifications.
387387
* @return value or {@code null} for none
388388
*/
@@ -391,8 +391,8 @@ public java.lang.String getSeverity() {
391391
}
392392

393393
/**
394-
* Optional. The severity of an alert policy indicates how important incidents generated by that
395-
* policy are. The severity level will be displayed on the Incident detail page and in
394+
* Optional. The severity of an alerting policy indicates how important incidents generated by
395+
* that policy are. The severity level will be displayed on the Incident detail page and in
396396
* notifications.
397397
* @param severity severity or {@code null} for none
398398
*/
@@ -433,17 +433,17 @@ public AlertPolicy setUserLabels(java.util.Map<String, java.lang.String> userLab
433433
}
434434

435435
/**
436-
* Read-only description of how the alert policy is invalid. This field is only set when the alert
437-
* policy is invalid. An invalid alert policy will not generate incidents.
436+
* Read-only description of how the alerting policy is invalid. This field is only set when the
437+
* alerting policy is invalid. An invalid alerting policy will not generate incidents.
438438
* @return value or {@code null} for none
439439
*/
440440
public Status getValidity() {
441441
return validity;
442442
}
443443

444444
/**
445-
* Read-only description of how the alert policy is invalid. This field is only set when the alert
446-
* policy is invalid. An invalid alert policy will not generate incidents.
445+
* Read-only description of how the alerting policy is invalid. This field is only set when the
446+
* alerting policy is invalid. An invalid alerting policy will not generate incidents.
447447
* @param validity validity or {@code null} for none
448448
*/
449449
public AlertPolicy setValidity(Status validity) {

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

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

3333
/**
34-
* If an alert policy that was active has no data for this long, any open incidents will close
34+
* If an alerting policy that was active has no data for this long, any open incidents will close
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
@@ -45,23 +45,31 @@ public final class AlertStrategy extends com.google.api.client.json.GenericJson
4545
private java.util.List<NotificationChannelStrategy> notificationChannelStrategy;
4646

4747
/**
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.
48+
* For log-based alert policies, the notification prompts is always OPENED. For non log-based
49+
* alert policies, the notification prompts can be OPENED or OPENED, CLOSED.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.util.List<java.lang.String> notificationPrompts;
54+
55+
/**
56+
* Required for log-based alerting policies, i.e. policies with a LogMatch condition.This limit is
57+
* not implemented for alerting policies that do not have a LogMatch condition.
5058
* The value may be {@code null}.
5159
*/
5260
@com.google.api.client.util.Key
5361
private NotificationRateLimit notificationRateLimit;
5462

5563
/**
56-
* If an alert policy that was active has no data for this long, any open incidents will close
64+
* If an alerting policy that was active has no data for this long, any open incidents will close
5765
* @return value or {@code null} for none
5866
*/
5967
public String getAutoClose() {
6068
return autoClose;
6169
}
6270

6371
/**
64-
* If an alert policy that was active has no data for this long, any open incidents will close
72+
* If an alerting policy that was active has no data for this long, any open incidents will close
6573
* @param autoClose autoClose or {@code null} for none
6674
*/
6775
public AlertStrategy setAutoClose(String autoClose) {
@@ -87,17 +95,36 @@ public AlertStrategy setNotificationChannelStrategy(java.util.List<NotificationC
8795
}
8896

8997
/**
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.
98+
* For log-based alert policies, the notification prompts is always OPENED. For non log-based
99+
* alert policies, the notification prompts can be OPENED or OPENED, CLOSED.
100+
* @return value or {@code null} for none
101+
*/
102+
public java.util.List<java.lang.String> getNotificationPrompts() {
103+
return notificationPrompts;
104+
}
105+
106+
/**
107+
* For log-based alert policies, the notification prompts is always OPENED. For non log-based
108+
* alert policies, the notification prompts can be OPENED or OPENED, CLOSED.
109+
* @param notificationPrompts notificationPrompts or {@code null} for none
110+
*/
111+
public AlertStrategy setNotificationPrompts(java.util.List<java.lang.String> notificationPrompts) {
112+
this.notificationPrompts = notificationPrompts;
113+
return this;
114+
}
115+
116+
/**
117+
* Required for log-based alerting policies, i.e. policies with a LogMatch condition.This limit is
118+
* not implemented for alerting policies that do not have a LogMatch condition.
92119
* @return value or {@code null} for none
93120
*/
94121
public NotificationRateLimit getNotificationRateLimit() {
95122
return notificationRateLimit;
96123
}
97124

98125
/**
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.
126+
* Required for log-based alerting policies, i.e. policies with a LogMatch condition.This limit is
127+
* not implemented for alerting policies that do not have a LogMatch condition.
101128
* @param notificationRateLimit notificationRateLimit or {@code null} for none
102129
*/
103130
public AlertStrategy setNotificationRateLimit(NotificationRateLimit notificationRateLimit) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public final class Condition extends com.google.api.client.json.GenericJson {
6060
private PrometheusQueryLanguageCondition conditionPrometheusQueryLanguage;
6161

6262
/**
63-
* A condition that uses SQL to define alerts in Logs Analytics.
63+
* A condition that periodically evaluates a SQL query result.
6464
* The value may be {@code null}.
6565
*/
6666
@com.google.api.client.util.Key
@@ -170,15 +170,15 @@ public Condition setConditionPrometheusQueryLanguage(PrometheusQueryLanguageCond
170170
}
171171

172172
/**
173-
* A condition that uses SQL to define alerts in Logs Analytics.
173+
* A condition that periodically evaluates a SQL query result.
174174
* @return value or {@code null} for none
175175
*/
176176
public SqlCondition getConditionSql() {
177177
return conditionSql;
178178
}
179179

180180
/**
181-
* A condition that uses SQL to define alerts in Logs Analytics.
181+
* A condition that periodically evaluates a SQL query result.
182182
* @param conditionSql conditionSql or {@code null} for none
183183
*/
184184
public Condition setConditionSql(SqlCondition conditionSql) {

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

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ public final class Daily extends com.google.api.client.json.GenericJson {
3838
private TimeOfDay executionTime;
3939

4040
/**
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)
41+
* Required. The number of days between runs. Must be greater than or equal to 1 day and less than
42+
* or equal to 31 days.
4443
* The value may be {@code null}.
4544
*/
4645
@com.google.api.client.util.Key
@@ -66,19 +65,17 @@ public Daily setExecutionTime(TimeOfDay executionTime) {
6665
}
6766

6867
/**
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)
68+
* Required. The number of days between runs. Must be greater than or equal to 1 day and less than
69+
* or equal to 31 days.
7270
* @return value or {@code null} for none
7371
*/
7472
public java.lang.Integer getPeriodicity() {
7573
return periodicity;
7674
}
7775

7876
/**
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)
77+
* Required. The number of days between runs. Must be greater than or equal to 1 day and less than
78+
* or equal to 31 days.
8279
* @param periodicity periodicity or {@code null} for none
8380
*/
8481
public Daily setPeriodicity(java.lang.Integer periodicity) {

0 commit comments

Comments
 (0)