Skip to content

Commit e27d050

Browse files
1 parent 0c185ae commit e27d050

File tree

5 files changed

+192
-6
lines changed

5 files changed

+192
-6
lines changed

clients/google-api-services-workloadmanager/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-workloadmanager</artifactId>
25-
<version>v1-rev20241002-2.0.0</version>
25+
<version>v1-rev20241009-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-workloadmanager:v1-rev20241002-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workloadmanager:v1-rev20241009-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Execution.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@ public final class Execution extends com.google.api.client.json.GenericJson {
7272
@com.google.api.client.util.Key
7373
private java.lang.String name;
7474

75+
/**
76+
* Output only. execution result summary per rule
77+
* The value may be {@code null}.
78+
*/
79+
@com.google.api.client.util.Key
80+
private java.util.List<RuleExecutionResult> ruleResults;
81+
7582
/**
7683
* type represent whether the execution executed directly by user or scheduled according
7784
* evaluation.schedule field.
@@ -198,6 +205,23 @@ public Execution setName(java.lang.String name) {
198205
return this;
199206
}
200207

208+
/**
209+
* Output only. execution result summary per rule
210+
* @return value or {@code null} for none
211+
*/
212+
public java.util.List<RuleExecutionResult> getRuleResults() {
213+
return ruleResults;
214+
}
215+
216+
/**
217+
* Output only. execution result summary per rule
218+
* @param ruleResults ruleResults or {@code null} for none
219+
*/
220+
public Execution setRuleResults(java.util.List<RuleExecutionResult> ruleResults) {
221+
this.ruleResults = ruleResults;
222+
return this;
223+
}
224+
201225
/**
202226
* type represent whether the execution executed directly by user or scheduled according
203227
* evaluation.schedule field.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
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.workloadmanager.v1.model;
18+
19+
/**
20+
* Message for execution result summary per rule
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 Workload Manager 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 RuleExecutionResult extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Execution message, if any
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String message;
38+
39+
/**
40+
* Number of violations
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
44+
private java.lang.Long resultCount;
45+
46+
/**
47+
* rule name
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String rule;
52+
53+
/**
54+
* Number of total scanned resources
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
58+
private java.lang.Long scannedResourceCount;
59+
60+
/**
61+
* Output only. The execution status
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.lang.String state;
66+
67+
/**
68+
* Execution message, if any
69+
* @return value or {@code null} for none
70+
*/
71+
public java.lang.String getMessage() {
72+
return message;
73+
}
74+
75+
/**
76+
* Execution message, if any
77+
* @param message message or {@code null} for none
78+
*/
79+
public RuleExecutionResult setMessage(java.lang.String message) {
80+
this.message = message;
81+
return this;
82+
}
83+
84+
/**
85+
* Number of violations
86+
* @return value or {@code null} for none
87+
*/
88+
public java.lang.Long getResultCount() {
89+
return resultCount;
90+
}
91+
92+
/**
93+
* Number of violations
94+
* @param resultCount resultCount or {@code null} for none
95+
*/
96+
public RuleExecutionResult setResultCount(java.lang.Long resultCount) {
97+
this.resultCount = resultCount;
98+
return this;
99+
}
100+
101+
/**
102+
* rule name
103+
* @return value or {@code null} for none
104+
*/
105+
public java.lang.String getRule() {
106+
return rule;
107+
}
108+
109+
/**
110+
* rule name
111+
* @param rule rule or {@code null} for none
112+
*/
113+
public RuleExecutionResult setRule(java.lang.String rule) {
114+
this.rule = rule;
115+
return this;
116+
}
117+
118+
/**
119+
* Number of total scanned resources
120+
* @return value or {@code null} for none
121+
*/
122+
public java.lang.Long getScannedResourceCount() {
123+
return scannedResourceCount;
124+
}
125+
126+
/**
127+
* Number of total scanned resources
128+
* @param scannedResourceCount scannedResourceCount or {@code null} for none
129+
*/
130+
public RuleExecutionResult setScannedResourceCount(java.lang.Long scannedResourceCount) {
131+
this.scannedResourceCount = scannedResourceCount;
132+
return this;
133+
}
134+
135+
/**
136+
* Output only. The execution status
137+
* @return value or {@code null} for none
138+
*/
139+
public java.lang.String getState() {
140+
return state;
141+
}
142+
143+
/**
144+
* Output only. The execution status
145+
* @param state state or {@code null} for none
146+
*/
147+
public RuleExecutionResult setState(java.lang.String state) {
148+
this.state = state;
149+
return this;
150+
}
151+
152+
@Override
153+
public RuleExecutionResult set(String fieldName, Object value) {
154+
return (RuleExecutionResult) super.set(fieldName, value);
155+
}
156+
157+
@Override
158+
public RuleExecutionResult clone() {
159+
return (RuleExecutionResult) super.clone();
160+
}
161+
162+
}

clients/google-api-services-workloadmanager/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-workloadmanager</artifactId>
11-
<version>v1-rev20241002-2.0.0</version>
12-
<name>Workload Manager API v1-rev20241002-2.0.0</name>
11+
<version>v1-rev20241009-2.0.0</version>
12+
<name>Workload Manager API v1-rev20241009-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-workloadmanager/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-workloadmanager</artifactId>
25-
<version>v1-rev20241002-2.0.0</version>
25+
<version>v1-rev20241009-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-workloadmanager:v1-rev20241002-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workloadmanager:v1-rev20241009-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)