Skip to content

Commit 56e7817

Browse files
1 parent d122881 commit 56e7817

File tree

21 files changed

+648
-18
lines changed

21 files changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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+
* Contains details about a chokepoint, which is a resource or resource group where high-risk attack
21+
* paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-
22+
* center/docs/attack-exposure-learn#attack_path_simulations).
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Security Command Center API. For a detailed
26+
* explanation see:
27+
* <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>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class Chokepoint extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* List of resource names of findings associated with this chokepoint. For example,
37+
* organizations/123/sources/456/findings/789. This list will have at most 100 findings.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.util.List<java.lang.String> relatedFindings;
42+
43+
/**
44+
* List of resource names of findings associated with this chokepoint. For example,
45+
* organizations/123/sources/456/findings/789. This list will have at most 100 findings.
46+
* @return value or {@code null} for none
47+
*/
48+
public java.util.List<java.lang.String> getRelatedFindings() {
49+
return relatedFindings;
50+
}
51+
52+
/**
53+
* List of resource names of findings associated with this chokepoint. For example,
54+
* organizations/123/sources/456/findings/789. This list will have at most 100 findings.
55+
* @param relatedFindings relatedFindings or {@code null} for none
56+
*/
57+
public Chokepoint setRelatedFindings(java.util.List<java.lang.String> relatedFindings) {
58+
this.relatedFindings = relatedFindings;
59+
return this;
60+
}
61+
62+
@Override
63+
public Chokepoint set(String fieldName, Object value) {
64+
return (Chokepoint) super.set(fieldName, value);
65+
}
66+
67+
@Override
68+
public Chokepoint clone() {
69+
return (Chokepoint) super.clone();
70+
}
71+
72+
}

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@ public final class Finding extends com.google.api.client.json.GenericJson {
8181
@com.google.api.client.util.Key
8282
private java.lang.String category;
8383

84+
/**
85+
* Contains details about a chokepoint, which is a resource or resource group where high-risk
86+
* attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-
87+
* command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be
88+
* updated. Its value is ignored in all update requests.
89+
* The value may be {@code null}.
90+
*/
91+
@com.google.api.client.util.Key
92+
private Chokepoint chokepoint;
93+
8494
/**
8595
* Fields related to Cloud Armor findings.
8696
* The value may be {@code null}.
@@ -640,6 +650,29 @@ public Finding setCategory(java.lang.String category) {
640650
return this;
641651
}
642652

653+
/**
654+
* Contains details about a chokepoint, which is a resource or resource group where high-risk
655+
* attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-
656+
* command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be
657+
* updated. Its value is ignored in all update requests.
658+
* @return value or {@code null} for none
659+
*/
660+
public Chokepoint getChokepoint() {
661+
return chokepoint;
662+
}
663+
664+
/**
665+
* Contains details about a chokepoint, which is a resource or resource group where high-risk
666+
* attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-
667+
* command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be
668+
* updated. Its value is ignored in all update requests.
669+
* @param chokepoint chokepoint or {@code null} for none
670+
*/
671+
public Finding setChokepoint(Chokepoint chokepoint) {
672+
this.chokepoint = chokepoint;
673+
return this;
674+
}
675+
643676
/**
644677
* Fields related to Cloud Armor findings.
645678
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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+
* Contains details about a chokepoint, which is a resource or resource group where high-risk attack
21+
* paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-
22+
* center/docs/attack-exposure-learn#attack_path_simulations).
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Security Command Center API. For a detailed
26+
* explanation see:
27+
* <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>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class GoogleCloudSecuritycenterV2Chokepoint extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* List of resource names of findings associated with this chokepoint. For example,
37+
* organizations/123/sources/456/findings/789. This list will have at most 100 findings.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.util.List<java.lang.String> relatedFindings;
42+
43+
/**
44+
* List of resource names of findings associated with this chokepoint. For example,
45+
* organizations/123/sources/456/findings/789. This list will have at most 100 findings.
46+
* @return value or {@code null} for none
47+
*/
48+
public java.util.List<java.lang.String> getRelatedFindings() {
49+
return relatedFindings;
50+
}
51+
52+
/**
53+
* List of resource names of findings associated with this chokepoint. For example,
54+
* organizations/123/sources/456/findings/789. This list will have at most 100 findings.
55+
* @param relatedFindings relatedFindings or {@code null} for none
56+
*/
57+
public GoogleCloudSecuritycenterV2Chokepoint setRelatedFindings(java.util.List<java.lang.String> relatedFindings) {
58+
this.relatedFindings = relatedFindings;
59+
return this;
60+
}
61+
62+
@Override
63+
public GoogleCloudSecuritycenterV2Chokepoint set(String fieldName, Object value) {
64+
return (GoogleCloudSecuritycenterV2Chokepoint) super.set(fieldName, value);
65+
}
66+
67+
@Override
68+
public GoogleCloudSecuritycenterV2Chokepoint clone() {
69+
return (GoogleCloudSecuritycenterV2Chokepoint) super.clone();
70+
}
71+
72+
}

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,16 @@ public final class GoogleCloudSecuritycenterV2Finding extends com.google.api.cli
8484
@com.google.api.client.util.Key
8585
private java.lang.String category;
8686

87+
/**
88+
* Contains details about a chokepoint, which is a resource or resource group where high-risk
89+
* attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-
90+
* command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be
91+
* updated. Its value is ignored in all update requests.
92+
* The value may be {@code null}.
93+
*/
94+
@com.google.api.client.util.Key
95+
private GoogleCloudSecuritycenterV2Chokepoint chokepoint;
96+
8797
/**
8898
* Fields related to Cloud Armor findings.
8999
* The value may be {@code null}.
@@ -662,6 +672,29 @@ public GoogleCloudSecuritycenterV2Finding setCategory(java.lang.String category)
662672
return this;
663673
}
664674

675+
/**
676+
* Contains details about a chokepoint, which is a resource or resource group where high-risk
677+
* attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-
678+
* command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be
679+
* updated. Its value is ignored in all update requests.
680+
* @return value or {@code null} for none
681+
*/
682+
public GoogleCloudSecuritycenterV2Chokepoint getChokepoint() {
683+
return chokepoint;
684+
}
685+
686+
/**
687+
* Contains details about a chokepoint, which is a resource or resource group where high-risk
688+
* attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-
689+
* command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be
690+
* updated. Its value is ignored in all update requests.
691+
* @param chokepoint chokepoint or {@code null} for none
692+
*/
693+
public GoogleCloudSecuritycenterV2Finding setChokepoint(GoogleCloudSecuritycenterV2Chokepoint chokepoint) {
694+
this.chokepoint = chokepoint;
695+
return this;
696+
}
697+
665698
/**
666699
* Fields related to Cloud Armor findings.
667700
* @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-rev20250308-2.0.0</version>
12-
<name>Security Command Center API v1-rev20250308-2.0.0</name>
11+
<version>v1-rev20250315-2.0.0</version>
12+
<name>Security Command Center API v1-rev20250315-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-rev20250308-2.0.0</version>
25+
<version>v1-rev20250315-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-rev20250308-2.0.0'
38+
implementation 'com.google.apis:google-api-services-securitycenter:v1-rev20250315-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-rev20250308-2.0.0</version>
25+
<version>v1beta1-rev20250315-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-rev20250308-2.0.0'
38+
implementation 'com.google.apis:google-api-services-securitycenter:v1beta1-rev20250315-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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+
* Contains details about a chokepoint, which is a resource or resource group where high-risk attack
21+
* paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-
22+
* center/docs/attack-exposure-learn#attack_path_simulations).
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Security Command Center API. For a detailed
26+
* explanation see:
27+
* <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>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class Chokepoint extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* List of resource names of findings associated with this chokepoint. For example,
37+
* organizations/123/sources/456/findings/789. This list will have at most 100 findings.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.util.List<java.lang.String> relatedFindings;
42+
43+
/**
44+
* List of resource names of findings associated with this chokepoint. For example,
45+
* organizations/123/sources/456/findings/789. This list will have at most 100 findings.
46+
* @return value or {@code null} for none
47+
*/
48+
public java.util.List<java.lang.String> getRelatedFindings() {
49+
return relatedFindings;
50+
}
51+
52+
/**
53+
* List of resource names of findings associated with this chokepoint. For example,
54+
* organizations/123/sources/456/findings/789. This list will have at most 100 findings.
55+
* @param relatedFindings relatedFindings or {@code null} for none
56+
*/
57+
public Chokepoint setRelatedFindings(java.util.List<java.lang.String> relatedFindings) {
58+
this.relatedFindings = relatedFindings;
59+
return this;
60+
}
61+
62+
@Override
63+
public Chokepoint set(String fieldName, Object value) {
64+
return (Chokepoint) super.set(fieldName, value);
65+
}
66+
67+
@Override
68+
public Chokepoint clone() {
69+
return (Chokepoint) super.clone();
70+
}
71+
72+
}

0 commit comments

Comments
 (0)