Skip to content

Commit 178265d

Browse files
1 parent 7534332 commit 178265d

File tree

22 files changed

+565
-19
lines changed

22 files changed

+565
-19
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-rev20250315-2.0.0</version>
25+
<version>v1-rev20250326-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-rev20250315-2.0.0'
38+
implementation 'com.google.apis:google-api-services-securitycenter:v1-rev20250326-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
* Details about resources affected by this finding.
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 Security Command Center API. For a detailed
24+
* explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class AffectedResources extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The count of resources affected by the finding.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
38+
private java.lang.Long count;
39+
40+
/**
41+
* The count of resources affected by the finding.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.Long getCount() {
45+
return count;
46+
}
47+
48+
/**
49+
* The count of resources affected by the finding.
50+
* @param count count or {@code null} for none
51+
*/
52+
public AffectedResources setCount(java.lang.Long count) {
53+
this.count = count;
54+
return this;
55+
}
56+
57+
@Override
58+
public AffectedResources set(String fieldName, Object value) {
59+
return (AffectedResources) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public AffectedResources clone() {
64+
return (AffectedResources) super.clone();
65+
}
66+
67+
}

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
@@ -41,6 +41,13 @@ public final class Finding extends com.google.api.client.json.GenericJson {
4141
@com.google.api.client.util.Key
4242
private Access access;
4343

44+
/**
45+
* AffectedResources associated with the finding.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private AffectedResources affectedResources;
50+
4451
/**
4552
* Represents an application associated with the finding.
4653
* The value may be {@code null}.
@@ -555,6 +562,23 @@ public Finding setAccess(Access access) {
555562
return this;
556563
}
557564

565+
/**
566+
* AffectedResources associated with the finding.
567+
* @return value or {@code null} for none
568+
*/
569+
public AffectedResources getAffectedResources() {
570+
return affectedResources;
571+
}
572+
573+
/**
574+
* AffectedResources associated with the finding.
575+
* @param affectedResources affectedResources or {@code null} for none
576+
*/
577+
public Finding setAffectedResources(AffectedResources affectedResources) {
578+
this.affectedResources = affectedResources;
579+
return this;
580+
}
581+
558582
/**
559583
* Represents an application associated with the finding.
560584
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
* Details about resources affected by this finding.
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 Security Command Center API. For a detailed
24+
* explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleCloudSecuritycenterV2AffectedResources extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The count of resources affected by the finding.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
38+
private java.lang.Long count;
39+
40+
/**
41+
* The count of resources affected by the finding.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.Long getCount() {
45+
return count;
46+
}
47+
48+
/**
49+
* The count of resources affected by the finding.
50+
* @param count count or {@code null} for none
51+
*/
52+
public GoogleCloudSecuritycenterV2AffectedResources setCount(java.lang.Long count) {
53+
this.count = count;
54+
return this;
55+
}
56+
57+
@Override
58+
public GoogleCloudSecuritycenterV2AffectedResources set(String fieldName, Object value) {
59+
return (GoogleCloudSecuritycenterV2AffectedResources) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GoogleCloudSecuritycenterV2AffectedResources clone() {
64+
return (GoogleCloudSecuritycenterV2AffectedResources) super.clone();
65+
}
66+
67+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ public final class GoogleCloudSecuritycenterV2Finding extends com.google.api.cli
4141
@com.google.api.client.util.Key
4242
private GoogleCloudSecuritycenterV2Access access;
4343

44+
/**
45+
* AffectedResources associated with the finding.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private GoogleCloudSecuritycenterV2AffectedResources affectedResources;
50+
4451
/**
4552
* Represents an application associated with the finding.
4653
* The value may be {@code null}.
@@ -571,6 +578,23 @@ public GoogleCloudSecuritycenterV2Finding setAccess(GoogleCloudSecuritycenterV2A
571578
return this;
572579
}
573580

581+
/**
582+
* AffectedResources associated with the finding.
583+
* @return value or {@code null} for none
584+
*/
585+
public GoogleCloudSecuritycenterV2AffectedResources getAffectedResources() {
586+
return affectedResources;
587+
}
588+
589+
/**
590+
* AffectedResources associated with the finding.
591+
* @param affectedResources affectedResources or {@code null} for none
592+
*/
593+
public GoogleCloudSecuritycenterV2Finding setAffectedResources(GoogleCloudSecuritycenterV2AffectedResources affectedResources) {
594+
this.affectedResources = affectedResources;
595+
return this;
596+
}
597+
574598
/**
575599
* Represents an application associated with the finding.
576600
* @return value or {@code null} for none

clients/google-api-services-securitycenter/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-securitycenter</artifactId>
11-
<version>v1-rev20250315-2.0.0</version>
12-
<name>Security Command Center API v1-rev20250315-2.0.0</name>
11+
<version>v1-rev20250326-2.0.0</version>
12+
<name>Security Command Center API v1-rev20250326-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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.v1beta1.model;
18+
19+
/**
20+
* Details about resources affected by this finding.
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 Security Command Center API. For a detailed
24+
* explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class AffectedResources extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The count of resources affected by the finding.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
38+
private java.lang.Long count;
39+
40+
/**
41+
* The count of resources affected by the finding.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.Long getCount() {
45+
return count;
46+
}
47+
48+
/**
49+
* The count of resources affected by the finding.
50+
* @param count count or {@code null} for none
51+
*/
52+
public AffectedResources setCount(java.lang.Long count) {
53+
this.count = count;
54+
return this;
55+
}
56+
57+
@Override
58+
public AffectedResources set(String fieldName, Object value) {
59+
return (AffectedResources) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public AffectedResources clone() {
64+
return (AffectedResources) super.clone();
65+
}
66+
67+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ public final class Finding extends com.google.api.client.json.GenericJson {
4141
@com.google.api.client.util.Key
4242
private Access access;
4343

44+
/**
45+
* AffectedResources associated with the finding.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private AffectedResources affectedResources;
50+
4451
/**
4552
* Represents an application associated with the finding.
4653
* The value may be {@code null}.
@@ -555,6 +562,23 @@ public Finding setAccess(Access access) {
555562
return this;
556563
}
557564

565+
/**
566+
* AffectedResources associated with the finding.
567+
* @return value or {@code null} for none
568+
*/
569+
public AffectedResources getAffectedResources() {
570+
return affectedResources;
571+
}
572+
573+
/**
574+
* AffectedResources associated with the finding.
575+
* @param affectedResources affectedResources or {@code null} for none
576+
*/
577+
public Finding setAffectedResources(AffectedResources affectedResources) {
578+
this.affectedResources = affectedResources;
579+
return this;
580+
}
581+
558582
/**
559583
* Represents an application associated with the finding.
560584
* @return value or {@code null} for none

0 commit comments

Comments
 (0)