Skip to content

Commit 638805b

Browse files
1 parent e8fa491 commit 638805b

31 files changed

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

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

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16588,6 +16588,40 @@ public List setPageToken(java.lang.String pageToken) {
1658816588
return this;
1658916589
}
1659016590

16591+
/**
16592+
* When set to `true`, operations that are reachable are returned as normal, and those that
16593+
* are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can
16594+
* only be `true` when reading across collections e.g. when `parent` is set to
16595+
* `"projects/example/locations/-"`. This field is not by default supported and will result
16596+
* in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or
16597+
* product specific documentation.
16598+
*/
16599+
@com.google.api.client.util.Key
16600+
private java.lang.Boolean returnPartialSuccess;
16601+
16602+
/** When set to `true`, operations that are reachable are returned as normal, and those that are
16603+
unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true`
16604+
when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This
16605+
field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless
16606+
explicitly documented otherwise in service or product specific documentation.
16607+
*/
16608+
public java.lang.Boolean getReturnPartialSuccess() {
16609+
return returnPartialSuccess;
16610+
}
16611+
16612+
/**
16613+
* When set to `true`, operations that are reachable are returned as normal, and those that
16614+
* are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can
16615+
* only be `true` when reading across collections e.g. when `parent` is set to
16616+
* `"projects/example/locations/-"`. This field is not by default supported and will result
16617+
* in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or
16618+
* product specific documentation.
16619+
*/
16620+
public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
16621+
this.returnPartialSuccess = returnPartialSuccess;
16622+
return this;
16623+
}
16624+
1659116625
@Override
1659216626
public List set(String parameterName, Object value) {
1659316627
return (List) super.set(parameterName, value);

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ public final class CloudDlpDataProfile extends com.google.api.client.json.Generi
3737
@com.google.api.client.util.Key
3838
private java.lang.String dataProfile;
3939

40+
/**
41+
* Type of information detected by SDP. Info type includes name, version and sensitivity of the
42+
* detected information type.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.util.List<InfoType> infoTypes;
47+
4048
/**
4149
* The resource hierarchy level at which the data profile was generated.
4250
* The value may be {@code null}.
@@ -61,6 +69,25 @@ public CloudDlpDataProfile setDataProfile(java.lang.String dataProfile) {
6169
return this;
6270
}
6371

72+
/**
73+
* Type of information detected by SDP. Info type includes name, version and sensitivity of the
74+
* detected information type.
75+
* @return value or {@code null} for none
76+
*/
77+
public java.util.List<InfoType> getInfoTypes() {
78+
return infoTypes;
79+
}
80+
81+
/**
82+
* Type of information detected by SDP. Info type includes name, version and sensitivity of the
83+
* detected information type.
84+
* @param infoTypes infoTypes or {@code null} for none
85+
*/
86+
public CloudDlpDataProfile setInfoTypes(java.util.List<InfoType> infoTypes) {
87+
this.infoTypes = infoTypes;
88+
return this;
89+
}
90+
6491
/**
6592
* The resource hierarchy level at which the data profile was generated.
6693
* @return value or {@code null} for none

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ public final class GoogleCloudSecuritycenterV2CloudDlpDataProfile extends com.go
3737
@com.google.api.client.util.Key
3838
private java.lang.String dataProfile;
3939

40+
/**
41+
* Type of information detected by SDP. Info type includes name, version and sensitivity of the
42+
* detected information type.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.util.List<GoogleCloudSecuritycenterV2InfoType> infoTypes;
47+
4048
/**
4149
* The resource hierarchy level at which the data profile was generated.
4250
* The value may be {@code null}.
@@ -61,6 +69,25 @@ public GoogleCloudSecuritycenterV2CloudDlpDataProfile setDataProfile(java.lang.S
6169
return this;
6270
}
6371

72+
/**
73+
* Type of information detected by SDP. Info type includes name, version and sensitivity of the
74+
* detected information type.
75+
* @return value or {@code null} for none
76+
*/
77+
public java.util.List<GoogleCloudSecuritycenterV2InfoType> getInfoTypes() {
78+
return infoTypes;
79+
}
80+
81+
/**
82+
* Type of information detected by SDP. Info type includes name, version and sensitivity of the
83+
* detected information type.
84+
* @param infoTypes infoTypes or {@code null} for none
85+
*/
86+
public GoogleCloudSecuritycenterV2CloudDlpDataProfile setInfoTypes(java.util.List<GoogleCloudSecuritycenterV2InfoType> infoTypes) {
87+
this.infoTypes = infoTypes;
88+
return this;
89+
}
90+
6491
/**
6592
* The resource hierarchy level at which the data profile was generated.
6693
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
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+
* Type of information detected by the API.
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 GoogleCloudSecuritycenterV2InfoType extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Name of the information type. Either a name of your choosing when creating a CustomInfoType, or
35+
* one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-
36+
* reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog,
37+
* infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.String name;
42+
43+
/**
44+
* Optional custom sensitivity for this InfoType. This only applies to data profiling.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private GoogleCloudSecuritycenterV2SensitivityScore sensitivityScore;
49+
50+
/**
51+
* Optional version name for this InfoType.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.lang.String version;
56+
57+
/**
58+
* Name of the information type. Either a name of your choosing when creating a CustomInfoType, or
59+
* one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-
60+
* reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog,
61+
* infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`.
62+
* @return value or {@code null} for none
63+
*/
64+
public java.lang.String getName() {
65+
return name;
66+
}
67+
68+
/**
69+
* Name of the information type. Either a name of your choosing when creating a CustomInfoType, or
70+
* one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-
71+
* reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog,
72+
* infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`.
73+
* @param name name or {@code null} for none
74+
*/
75+
public GoogleCloudSecuritycenterV2InfoType setName(java.lang.String name) {
76+
this.name = name;
77+
return this;
78+
}
79+
80+
/**
81+
* Optional custom sensitivity for this InfoType. This only applies to data profiling.
82+
* @return value or {@code null} for none
83+
*/
84+
public GoogleCloudSecuritycenterV2SensitivityScore getSensitivityScore() {
85+
return sensitivityScore;
86+
}
87+
88+
/**
89+
* Optional custom sensitivity for this InfoType. This only applies to data profiling.
90+
* @param sensitivityScore sensitivityScore or {@code null} for none
91+
*/
92+
public GoogleCloudSecuritycenterV2InfoType setSensitivityScore(GoogleCloudSecuritycenterV2SensitivityScore sensitivityScore) {
93+
this.sensitivityScore = sensitivityScore;
94+
return this;
95+
}
96+
97+
/**
98+
* Optional version name for this InfoType.
99+
* @return value or {@code null} for none
100+
*/
101+
public java.lang.String getVersion() {
102+
return version;
103+
}
104+
105+
/**
106+
* Optional version name for this InfoType.
107+
* @param version version or {@code null} for none
108+
*/
109+
public GoogleCloudSecuritycenterV2InfoType setVersion(java.lang.String version) {
110+
this.version = version;
111+
return this;
112+
}
113+
114+
@Override
115+
public GoogleCloudSecuritycenterV2InfoType set(String fieldName, Object value) {
116+
return (GoogleCloudSecuritycenterV2InfoType) super.set(fieldName, value);
117+
}
118+
119+
@Override
120+
public GoogleCloudSecuritycenterV2InfoType clone() {
121+
return (GoogleCloudSecuritycenterV2InfoType) super.clone();
122+
}
123+
124+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
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+
* Score is calculated from of all elements in the data profile. A higher level means the data is
21+
* more sensitive.
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 GoogleCloudSecuritycenterV2SensitivityScore extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* The sensitivity score applied to the resource.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String score;
40+
41+
/**
42+
* The sensitivity score applied to the resource.
43+
* @return value or {@code null} for none
44+
*/
45+
public java.lang.String getScore() {
46+
return score;
47+
}
48+
49+
/**
50+
* The sensitivity score applied to the resource.
51+
* @param score score or {@code null} for none
52+
*/
53+
public GoogleCloudSecuritycenterV2SensitivityScore setScore(java.lang.String score) {
54+
this.score = score;
55+
return this;
56+
}
57+
58+
@Override
59+
public GoogleCloudSecuritycenterV2SensitivityScore set(String fieldName, Object value) {
60+
return (GoogleCloudSecuritycenterV2SensitivityScore) super.set(fieldName, value);
61+
}
62+
63+
@Override
64+
public GoogleCloudSecuritycenterV2SensitivityScore clone() {
65+
return (GoogleCloudSecuritycenterV2SensitivityScore) super.clone();
66+
}
67+
68+
}

0 commit comments

Comments
 (0)