Skip to content

Commit 4d23a08

Browse files
1 parent 99e3dd8 commit 4d23a08

File tree

21 files changed

+1146
-18
lines changed

21 files changed

+1146
-18
lines changed

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

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
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.securitycenter.v1.model;
18+
19+
/**
20+
* Represents discovered, customer managed workload that is not registered with the respective GCP
21+
* service.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Security Command Center API. For a detailed
25+
* explanation see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class DiscoveredWorkload extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* The confidence in detection of this workload.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String confidence;
40+
41+
/**
42+
* A boolean flag set to true if associated hardware strongly predicts the workload type.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.Boolean detectedRelevantHardware;
47+
48+
/**
49+
* A boolean flag set to true if associated keywords strongly predict the workload type.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.Boolean detectedRelevantKeywords;
54+
55+
/**
56+
* A boolean flag set to true if installed packages strongly predict the workload type.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.Boolean detectedRelevantPackages;
61+
62+
/**
63+
* The type of workload.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private java.lang.String workloadType;
68+
69+
/**
70+
* The confidence in detection of this workload.
71+
* @return value or {@code null} for none
72+
*/
73+
public java.lang.String getConfidence() {
74+
return confidence;
75+
}
76+
77+
/**
78+
* The confidence in detection of this workload.
79+
* @param confidence confidence or {@code null} for none
80+
*/
81+
public DiscoveredWorkload setConfidence(java.lang.String confidence) {
82+
this.confidence = confidence;
83+
return this;
84+
}
85+
86+
/**
87+
* A boolean flag set to true if associated hardware strongly predicts the workload type.
88+
* @return value or {@code null} for none
89+
*/
90+
public java.lang.Boolean getDetectedRelevantHardware() {
91+
return detectedRelevantHardware;
92+
}
93+
94+
/**
95+
* A boolean flag set to true if associated hardware strongly predicts the workload type.
96+
* @param detectedRelevantHardware detectedRelevantHardware or {@code null} for none
97+
*/
98+
public DiscoveredWorkload setDetectedRelevantHardware(java.lang.Boolean detectedRelevantHardware) {
99+
this.detectedRelevantHardware = detectedRelevantHardware;
100+
return this;
101+
}
102+
103+
/**
104+
* A boolean flag set to true if associated keywords strongly predict the workload type.
105+
* @return value or {@code null} for none
106+
*/
107+
public java.lang.Boolean getDetectedRelevantKeywords() {
108+
return detectedRelevantKeywords;
109+
}
110+
111+
/**
112+
* A boolean flag set to true if associated keywords strongly predict the workload type.
113+
* @param detectedRelevantKeywords detectedRelevantKeywords or {@code null} for none
114+
*/
115+
public DiscoveredWorkload setDetectedRelevantKeywords(java.lang.Boolean detectedRelevantKeywords) {
116+
this.detectedRelevantKeywords = detectedRelevantKeywords;
117+
return this;
118+
}
119+
120+
/**
121+
* A boolean flag set to true if installed packages strongly predict the workload type.
122+
* @return value or {@code null} for none
123+
*/
124+
public java.lang.Boolean getDetectedRelevantPackages() {
125+
return detectedRelevantPackages;
126+
}
127+
128+
/**
129+
* A boolean flag set to true if installed packages strongly predict the workload type.
130+
* @param detectedRelevantPackages detectedRelevantPackages or {@code null} for none
131+
*/
132+
public DiscoveredWorkload setDetectedRelevantPackages(java.lang.Boolean detectedRelevantPackages) {
133+
this.detectedRelevantPackages = detectedRelevantPackages;
134+
return this;
135+
}
136+
137+
/**
138+
* The type of workload.
139+
* @return value or {@code null} for none
140+
*/
141+
public java.lang.String getWorkloadType() {
142+
return workloadType;
143+
}
144+
145+
/**
146+
* The type of workload.
147+
* @param workloadType workloadType or {@code null} for none
148+
*/
149+
public DiscoveredWorkload setWorkloadType(java.lang.String workloadType) {
150+
this.workloadType = workloadType;
151+
return this;
152+
}
153+
154+
@Override
155+
public DiscoveredWorkload set(String fieldName, Object value) {
156+
return (DiscoveredWorkload) super.set(fieldName, value);
157+
}
158+
159+
@Override
160+
public DiscoveredWorkload clone() {
161+
return (DiscoveredWorkload) super.clone();
162+
}
163+
164+
}

clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/Finding.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,13 @@ public final class Finding extends com.google.api.client.json.GenericJson {
270270
@com.google.api.client.util.Key
271271
private java.lang.String description;
272272

273+
/**
274+
* DiscoveredWorkload associated with the finding.
275+
* The value may be {@code null}.
276+
*/
277+
@com.google.api.client.util.Key
278+
private DiscoveredWorkload discoveredWorkload;
279+
273280
/**
274281
* Disk associated with the finding.
275282
* The value may be {@code null}.
@@ -1058,6 +1065,23 @@ public Finding setDescription(java.lang.String description) {
10581065
return this;
10591066
}
10601067

1068+
/**
1069+
* DiscoveredWorkload associated with the finding.
1070+
* @return value or {@code null} for none
1071+
*/
1072+
public DiscoveredWorkload getDiscoveredWorkload() {
1073+
return discoveredWorkload;
1074+
}
1075+
1076+
/**
1077+
* DiscoveredWorkload associated with the finding.
1078+
* @param discoveredWorkload discoveredWorkload or {@code null} for none
1079+
*/
1080+
public Finding setDiscoveredWorkload(DiscoveredWorkload discoveredWorkload) {
1081+
this.discoveredWorkload = discoveredWorkload;
1082+
return this;
1083+
}
1084+
10611085
/**
10621086
* Disk associated with the finding.
10631087
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
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.securitycenter.v1.model;
18+
19+
/**
20+
* Represents discovered, customer managed workload that is not registered with the respective GCP
21+
* service.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Security Command Center API. For a detailed
25+
* explanation see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class GoogleCloudSecuritycenterV2DiscoveredWorkload extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* The confidence in detection of this workload.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String confidence;
40+
41+
/**
42+
* A boolean flag set to true if associated hardware strongly predicts the workload type.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.Boolean detectedRelevantHardware;
47+
48+
/**
49+
* A boolean flag set to true if associated keywords strongly predict the workload type.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.Boolean detectedRelevantKeywords;
54+
55+
/**
56+
* A boolean flag set to true if installed packages strongly predict the workload type.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.Boolean detectedRelevantPackages;
61+
62+
/**
63+
* The type of workload.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private java.lang.String workloadType;
68+
69+
/**
70+
* The confidence in detection of this workload.
71+
* @return value or {@code null} for none
72+
*/
73+
public java.lang.String getConfidence() {
74+
return confidence;
75+
}
76+
77+
/**
78+
* The confidence in detection of this workload.
79+
* @param confidence confidence or {@code null} for none
80+
*/
81+
public GoogleCloudSecuritycenterV2DiscoveredWorkload setConfidence(java.lang.String confidence) {
82+
this.confidence = confidence;
83+
return this;
84+
}
85+
86+
/**
87+
* A boolean flag set to true if associated hardware strongly predicts the workload type.
88+
* @return value or {@code null} for none
89+
*/
90+
public java.lang.Boolean getDetectedRelevantHardware() {
91+
return detectedRelevantHardware;
92+
}
93+
94+
/**
95+
* A boolean flag set to true if associated hardware strongly predicts the workload type.
96+
* @param detectedRelevantHardware detectedRelevantHardware or {@code null} for none
97+
*/
98+
public GoogleCloudSecuritycenterV2DiscoveredWorkload setDetectedRelevantHardware(java.lang.Boolean detectedRelevantHardware) {
99+
this.detectedRelevantHardware = detectedRelevantHardware;
100+
return this;
101+
}
102+
103+
/**
104+
* A boolean flag set to true if associated keywords strongly predict the workload type.
105+
* @return value or {@code null} for none
106+
*/
107+
public java.lang.Boolean getDetectedRelevantKeywords() {
108+
return detectedRelevantKeywords;
109+
}
110+
111+
/**
112+
* A boolean flag set to true if associated keywords strongly predict the workload type.
113+
* @param detectedRelevantKeywords detectedRelevantKeywords or {@code null} for none
114+
*/
115+
public GoogleCloudSecuritycenterV2DiscoveredWorkload setDetectedRelevantKeywords(java.lang.Boolean detectedRelevantKeywords) {
116+
this.detectedRelevantKeywords = detectedRelevantKeywords;
117+
return this;
118+
}
119+
120+
/**
121+
* A boolean flag set to true if installed packages strongly predict the workload type.
122+
* @return value or {@code null} for none
123+
*/
124+
public java.lang.Boolean getDetectedRelevantPackages() {
125+
return detectedRelevantPackages;
126+
}
127+
128+
/**
129+
* A boolean flag set to true if installed packages strongly predict the workload type.
130+
* @param detectedRelevantPackages detectedRelevantPackages or {@code null} for none
131+
*/
132+
public GoogleCloudSecuritycenterV2DiscoveredWorkload setDetectedRelevantPackages(java.lang.Boolean detectedRelevantPackages) {
133+
this.detectedRelevantPackages = detectedRelevantPackages;
134+
return this;
135+
}
136+
137+
/**
138+
* The type of workload.
139+
* @return value or {@code null} for none
140+
*/
141+
public java.lang.String getWorkloadType() {
142+
return workloadType;
143+
}
144+
145+
/**
146+
* The type of workload.
147+
* @param workloadType workloadType or {@code null} for none
148+
*/
149+
public GoogleCloudSecuritycenterV2DiscoveredWorkload setWorkloadType(java.lang.String workloadType) {
150+
this.workloadType = workloadType;
151+
return this;
152+
}
153+
154+
@Override
155+
public GoogleCloudSecuritycenterV2DiscoveredWorkload set(String fieldName, Object value) {
156+
return (GoogleCloudSecuritycenterV2DiscoveredWorkload) super.set(fieldName, value);
157+
}
158+
159+
@Override
160+
public GoogleCloudSecuritycenterV2DiscoveredWorkload clone() {
161+
return (GoogleCloudSecuritycenterV2DiscoveredWorkload) super.clone();
162+
}
163+
164+
}

0 commit comments

Comments
 (0)