Skip to content

Commit 7bb3839

Browse files
1 parent ad0c3c9 commit 7bb3839

File tree

8 files changed

+96
-15
lines changed

8 files changed

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

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,20 @@ public final class Scorecard extends com.google.api.client.json.GenericJson {
3838
@com.google.api.client.util.Key
3939
private Empty blankView;
4040

41+
/**
42+
* Optional. The collection of breakdowns to be applied to the dataset. A breakdown is a way to
43+
* slice the data. For example, you can break down the data by region.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.util.List<Breakdown> breakdowns;
48+
49+
static {
50+
// hack to force ProGuard to consider Breakdown used, since otherwise it would be stripped out
51+
// see https://github.com/google/google-api-java-client/issues/543
52+
com.google.api.client.util.Data.nullOf(Breakdown.class);
53+
}
54+
4155
/**
4256
* Optional. A dimension is a structured label, class, or category for a set of measurements in
4357
* your data.
@@ -124,6 +138,25 @@ public Scorecard setBlankView(Empty blankView) {
124138
return this;
125139
}
126140

141+
/**
142+
* Optional. The collection of breakdowns to be applied to the dataset. A breakdown is a way to
143+
* slice the data. For example, you can break down the data by region.
144+
* @return value or {@code null} for none
145+
*/
146+
public java.util.List<Breakdown> getBreakdowns() {
147+
return breakdowns;
148+
}
149+
150+
/**
151+
* Optional. The collection of breakdowns to be applied to the dataset. A breakdown is a way to
152+
* slice the data. For example, you can break down the data by region.
153+
* @param breakdowns breakdowns or {@code null} for none
154+
*/
155+
public Scorecard setBreakdowns(java.util.List<Breakdown> breakdowns) {
156+
this.breakdowns = breakdowns;
157+
return this;
158+
}
159+
127160
/**
128161
* Optional. A dimension is a structured label, class, or category for a set of measurements in
129162
* your data.

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

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

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,66 @@
3030
@SuppressWarnings("javadoc")
3131
public final class Criteria extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Optional. The filter string to match on Alert fields when silencing the alerts. It follows the
35+
* standard https://google.aip.dev/160 syntax. A filter string used to apply the snooze to
36+
* specific incidents that have matching filter values. Filters can be defined for snoozes that
37+
* apply to one alerting policy. Filters must be a string formatted as one or more resource labels
38+
* with specific label values. If multiple resource labels are used, then they must be connected
39+
* with an AND operator. For example, the following filter applies the snooze to incidents that
40+
* have an instance ID of 1234567890 and a zone of us-central1-a:
41+
* resource.labels.instance_id="1234567890" AND resource.labels.zone="us-central1-a"
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String filter;
46+
3347
/**
3448
* The specific AlertPolicy names for the alert that should be snoozed. The format is:
3549
* projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID] There is a limit of 16 policies per
36-
* snooze. This limit is checked during snooze creation.
50+
* snooze. This limit is checked during snooze creation. Exactly 1 alert policy is required if
51+
* filter is specified at the same time.
3752
* The value may be {@code null}.
3853
*/
3954
@com.google.api.client.util.Key
4055
private java.util.List<java.lang.String> policies;
4156

57+
/**
58+
* Optional. The filter string to match on Alert fields when silencing the alerts. It follows the
59+
* standard https://google.aip.dev/160 syntax. A filter string used to apply the snooze to
60+
* specific incidents that have matching filter values. Filters can be defined for snoozes that
61+
* apply to one alerting policy. Filters must be a string formatted as one or more resource labels
62+
* with specific label values. If multiple resource labels are used, then they must be connected
63+
* with an AND operator. For example, the following filter applies the snooze to incidents that
64+
* have an instance ID of 1234567890 and a zone of us-central1-a:
65+
* resource.labels.instance_id="1234567890" AND resource.labels.zone="us-central1-a"
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getFilter() {
69+
return filter;
70+
}
71+
72+
/**
73+
* Optional. The filter string to match on Alert fields when silencing the alerts. It follows the
74+
* standard https://google.aip.dev/160 syntax. A filter string used to apply the snooze to
75+
* specific incidents that have matching filter values. Filters can be defined for snoozes that
76+
* apply to one alerting policy. Filters must be a string formatted as one or more resource labels
77+
* with specific label values. If multiple resource labels are used, then they must be connected
78+
* with an AND operator. For example, the following filter applies the snooze to incidents that
79+
* have an instance ID of 1234567890 and a zone of us-central1-a:
80+
* resource.labels.instance_id="1234567890" AND resource.labels.zone="us-central1-a"
81+
* @param filter filter or {@code null} for none
82+
*/
83+
public Criteria setFilter(java.lang.String filter) {
84+
this.filter = filter;
85+
return this;
86+
}
87+
4288
/**
4389
* The specific AlertPolicy names for the alert that should be snoozed. The format is:
4490
* projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID] There is a limit of 16 policies per
45-
* snooze. This limit is checked during snooze creation.
91+
* snooze. This limit is checked during snooze creation. Exactly 1 alert policy is required if
92+
* filter is specified at the same time.
4693
* @return value or {@code null} for none
4794
*/
4895
public java.util.List<java.lang.String> getPolicies() {
@@ -52,7 +99,8 @@ public java.util.List<java.lang.String> getPolicies() {
5299
/**
53100
* The specific AlertPolicy names for the alert that should be snoozed. The format is:
54101
* projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID] There is a limit of 16 policies per
55-
* snooze. This limit is checked during snooze creation.
102+
* snooze. This limit is checked during snooze creation. Exactly 1 alert policy is required if
103+
* filter is specified at the same time.
56104
* @param policies policies or {@code null} for none
57105
*/
58106
public Criteria setPolicies(java.util.List<java.lang.String> policies) {

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

0 commit comments

Comments
 (0)