Skip to content

Commit 338b1bd

Browse files
1 parent 02d1b00 commit 338b1bd

File tree

9 files changed

+356
-8
lines changed

9 files changed

+356
-8
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-rev20241016-2.0.0</version>
25+
<version>v1-rev20241209-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-rev20241016-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workloadmanager:v1-rev20241209-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2609,7 +2609,7 @@ public class Operations {
26092609
* it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other
26102610
* methods to check whether the cancellation succeeded or whether the operation completed despite
26112611
* cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an
2612-
* operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to
2612+
* operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
26132613
* `Code.CANCELLED`.
26142614
*
26152615
* Create a request for the method "operations.cancel".
@@ -2640,7 +2640,7 @@ public class Cancel extends WorkloadManagerRequest<com.google.api.services.workl
26402640
* it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other
26412641
* methods to check whether the cancellation succeeded or whether the operation completed despite
26422642
* cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an
2643-
* operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to
2643+
* operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
26442644
* `Code.CANCELLED`.
26452645
*
26462646
* Create a request for the method "operations.cancel".

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ public final class Evaluation extends com.google.api.client.json.GenericJson {
5757
@com.google.api.client.util.Key
5858
private java.lang.String description;
5959

60+
/**
61+
* Evaluation type
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.lang.String evaluationType;
66+
6067
/**
6168
* Labels as key value pairs
6269
* The value may be {@code null}.
@@ -183,6 +190,23 @@ public Evaluation setDescription(java.lang.String description) {
183190
return this;
184191
}
185192

193+
/**
194+
* Evaluation type
195+
* @return value or {@code null} for none
196+
*/
197+
public java.lang.String getEvaluationType() {
198+
return evaluationType;
199+
}
200+
201+
/**
202+
* Evaluation type
203+
* @param evaluationType evaluationType or {@code null} for none
204+
*/
205+
public Evaluation setEvaluationType(java.lang.String evaluationType) {
206+
this.evaluationType = evaluationType;
207+
return this;
208+
}
209+
186210
/**
187211
* Labels as key value pairs
188212
* @return value or {@code null} for none

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
@@ -79,6 +79,13 @@ public final class Execution extends com.google.api.client.json.GenericJson {
7979
@com.google.api.client.util.Key
8080
private java.util.List<Notice> notices;
8181

82+
/**
83+
* Output only. [Output only] Result summary
84+
* The value may be {@code null}.
85+
*/
86+
@com.google.api.client.util.Key
87+
private Summary resultSummary;
88+
8289
/**
8390
* Output only. execution result summary per rule
8491
* The value may be {@code null}.
@@ -229,6 +236,23 @@ public Execution setNotices(java.util.List<Notice> notices) {
229236
return this;
230237
}
231238

239+
/**
240+
* Output only. [Output only] Result summary
241+
* @return value or {@code null} for none
242+
*/
243+
public Summary getResultSummary() {
244+
return resultSummary;
245+
}
246+
247+
/**
248+
* Output only. [Output only] Result summary
249+
* @param resultSummary resultSummary or {@code null} for none
250+
*/
251+
public Execution setResultSummary(Summary resultSummary) {
252+
this.resultSummary = resultSummary;
253+
return this;
254+
}
255+
232256
/**
233257
* Output only. execution result summary per rule
234258
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ public final class Insight extends com.google.api.client.json.GenericJson {
6565
@com.google.api.client.util.Key
6666
private SqlserverValidation sqlserverValidation;
6767

68+
/**
69+
* The insights data for workload validation of torso workloads.
70+
* The value may be {@code null}.
71+
*/
72+
@com.google.api.client.util.Key
73+
private TorsoValidation torsoValidation;
74+
6875
/**
6976
* Required. The instance id where the insight is generated from
7077
* @return value or {@code null} for none
@@ -152,6 +159,23 @@ public Insight setSqlserverValidation(SqlserverValidation sqlserverValidation) {
152159
return this;
153160
}
154161

162+
/**
163+
* The insights data for workload validation of torso workloads.
164+
* @return value or {@code null} for none
165+
*/
166+
public TorsoValidation getTorsoValidation() {
167+
return torsoValidation;
168+
}
169+
170+
/**
171+
* The insights data for workload validation of torso workloads.
172+
* @param torsoValidation torsoValidation or {@code null} for none
173+
*/
174+
public Insight setTorsoValidation(TorsoValidation torsoValidation) {
175+
this.torsoValidation = torsoValidation;
176+
return this;
177+
}
178+
155179
@Override
156180
public Insight set(String fieldName, Object value) {
157181
return (Insight) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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 summary
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 Summary extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Output only. Number of failures
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
37+
private java.lang.Long failures;
38+
39+
/**
40+
* Output only. Number of new failures compared to the previous execution
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 newFailures;
45+
46+
/**
47+
* Output only. Number of new fixes compared to the previous execution
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
51+
private java.lang.Long newFixes;
52+
53+
/**
54+
* Output only. Number of failures
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.Long getFailures() {
58+
return failures;
59+
}
60+
61+
/**
62+
* Output only. Number of failures
63+
* @param failures failures or {@code null} for none
64+
*/
65+
public Summary setFailures(java.lang.Long failures) {
66+
this.failures = failures;
67+
return this;
68+
}
69+
70+
/**
71+
* Output only. Number of new failures compared to the previous execution
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.Long getNewFailures() {
75+
return newFailures;
76+
}
77+
78+
/**
79+
* Output only. Number of new failures compared to the previous execution
80+
* @param newFailures newFailures or {@code null} for none
81+
*/
82+
public Summary setNewFailures(java.lang.Long newFailures) {
83+
this.newFailures = newFailures;
84+
return this;
85+
}
86+
87+
/**
88+
* Output only. Number of new fixes compared to the previous execution
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.Long getNewFixes() {
92+
return newFixes;
93+
}
94+
95+
/**
96+
* Output only. Number of new fixes compared to the previous execution
97+
* @param newFixes newFixes or {@code null} for none
98+
*/
99+
public Summary setNewFixes(java.lang.Long newFixes) {
100+
this.newFixes = newFixes;
101+
return this;
102+
}
103+
104+
@Override
105+
public Summary set(String fieldName, Object value) {
106+
return (Summary) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public Summary clone() {
111+
return (Summary) super.clone();
112+
}
113+
114+
}

0 commit comments

Comments
 (0)