Skip to content

Commit e5729b1

Browse files
1 parent 5c3a5f7 commit e5729b1

File tree

56 files changed

+3106
-44
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+3106
-44
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-rev20251024-2.0.0</version>
25+
<version>v1-rev20251202-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-rev20251024-2.0.0'
38+
implementation 'com.google.apis:google-api-services-securitycenter:v1-rev20251202-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: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16590,30 +16590,31 @@ public List setPageToken(java.lang.String pageToken) {
1659016590

1659116591
/**
1659216592
* 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
16593+
* are unreachable are returned in the ListOperationsResponse.unreachable field. This can
16594+
* only be `true` when reading across collections. For example, when `parent` is set to
16595+
* `"projects/example/locations/-"`. This field is not supported by default and will result
1659616596
* in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or
1659716597
* product specific documentation.
1659816598
*/
1659916599
@com.google.api.client.util.Key
1660016600
private java.lang.Boolean returnPartialSuccess;
1660116601

1660216602
/** 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.
16603+
unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true`
16604+
when reading across collections. For example, when `parent` is set to
16605+
`"projects/example/locations/-"`. This field is not supported by default and will result in an
16606+
`UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific
16607+
documentation.
1660716608
*/
1660816609
public java.lang.Boolean getReturnPartialSuccess() {
1660916610
return returnPartialSuccess;
1661016611
}
1661116612

1661216613
/**
1661316614
* 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
16615+
* are unreachable are returned in the ListOperationsResponse.unreachable field. This can
16616+
* only be `true` when reading across collections. For example, when `parent` is set to
16617+
* `"projects/example/locations/-"`. This field is not supported by default and will result
1661716618
* in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or
1661816619
* product specific documentation.
1661916620
*/

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ public final class AiModel extends com.google.api.client.json.GenericJson {
7979
@com.google.api.client.util.Key
8080
private java.lang.String publisher;
8181

82+
/**
83+
* The purpose of the model, for example, "Inteference" or "Training".
84+
* The value may be {@code null}.
85+
*/
86+
@com.google.api.client.util.Key
87+
private java.lang.String usageCategory;
88+
8289
/**
8390
* The platform on which the model is deployed.
8491
* @return value or {@code null} for none
@@ -198,6 +205,23 @@ public AiModel setPublisher(java.lang.String publisher) {
198205
return this;
199206
}
200207

208+
/**
209+
* The purpose of the model, for example, "Inteference" or "Training".
210+
* @return value or {@code null} for none
211+
*/
212+
public java.lang.String getUsageCategory() {
213+
return usageCategory;
214+
}
215+
216+
/**
217+
* The purpose of the model, for example, "Inteference" or "Training".
218+
* @param usageCategory usageCategory or {@code null} for none
219+
*/
220+
public AiModel setUsageCategory(java.lang.String usageCategory) {
221+
this.usageCategory = usageCategory;
222+
return this;
223+
}
224+
201225
@Override
202226
public AiModel set(String fieldName, Object value) {
203227
return (AiModel) super.set(fieldName, value);

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
@SuppressWarnings("javadoc")
3131
public final class GoogleCloudSecuritycenterV1Resource extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* The App Hub application this resource belongs to.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GoogleCloudSecuritycenterV1ResourceApplication application;
39+
3340
/**
3441
* The AWS metadata associated with the finding.
3542
* The value may be {@code null}.
@@ -157,6 +164,23 @@ public final class GoogleCloudSecuritycenterV1Resource extends com.google.api.cl
157164
@com.google.api.client.util.Key
158165
private java.lang.String type;
159166

167+
/**
168+
* The App Hub application this resource belongs to.
169+
* @return value or {@code null} for none
170+
*/
171+
public GoogleCloudSecuritycenterV1ResourceApplication getApplication() {
172+
return application;
173+
}
174+
175+
/**
176+
* The App Hub application this resource belongs to.
177+
* @param application application or {@code null} for none
178+
*/
179+
public GoogleCloudSecuritycenterV1Resource setApplication(GoogleCloudSecuritycenterV1ResourceApplication application) {
180+
this.application = application;
181+
return this;
182+
}
183+
160184
/**
161185
* The AWS metadata associated with the finding.
162186
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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+
* The App Hub Application associated with the finding's resource.
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 GoogleCloudSecuritycenterV1ResourceApplication extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Consumer provided attributes for the application
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GoogleCloudSecuritycenterV1ResourceApplicationAttributes attributes;
39+
40+
/**
41+
* The resource name of an Application. Format: `projects/{host-project-
42+
* id}/locations/{location}/applications/{application-id}`
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String name;
47+
48+
/**
49+
* Consumer provided attributes for the application
50+
* @return value or {@code null} for none
51+
*/
52+
public GoogleCloudSecuritycenterV1ResourceApplicationAttributes getAttributes() {
53+
return attributes;
54+
}
55+
56+
/**
57+
* Consumer provided attributes for the application
58+
* @param attributes attributes or {@code null} for none
59+
*/
60+
public GoogleCloudSecuritycenterV1ResourceApplication setAttributes(GoogleCloudSecuritycenterV1ResourceApplicationAttributes attributes) {
61+
this.attributes = attributes;
62+
return this;
63+
}
64+
65+
/**
66+
* The resource name of an Application. Format: `projects/{host-project-
67+
* id}/locations/{location}/applications/{application-id}`
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.String getName() {
71+
return name;
72+
}
73+
74+
/**
75+
* The resource name of an Application. Format: `projects/{host-project-
76+
* id}/locations/{location}/applications/{application-id}`
77+
* @param name name or {@code null} for none
78+
*/
79+
public GoogleCloudSecuritycenterV1ResourceApplication setName(java.lang.String name) {
80+
this.name = name;
81+
return this;
82+
}
83+
84+
@Override
85+
public GoogleCloudSecuritycenterV1ResourceApplication set(String fieldName, Object value) {
86+
return (GoogleCloudSecuritycenterV1ResourceApplication) super.set(fieldName, value);
87+
}
88+
89+
@Override
90+
public GoogleCloudSecuritycenterV1ResourceApplication clone() {
91+
return (GoogleCloudSecuritycenterV1ResourceApplication) super.clone();
92+
}
93+
94+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
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+
* Consumer provided attributes for the application
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 GoogleCloudSecuritycenterV1ResourceApplicationAttributes extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Business team that ensures user needs are met and value is delivered
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo> businessOwners;
39+
40+
/**
41+
* User-defined criticality information.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality criticality;
46+
47+
/**
48+
* Developer team that owns development and coding.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.util.List<GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo> developerOwners;
53+
54+
/**
55+
* User-defined environment information.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment environment;
60+
61+
/**
62+
* Operator team that ensures runtime and operations.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.util.List<GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo> operatorOwners;
67+
68+
/**
69+
* Business team that ensures user needs are met and value is delivered
70+
* @return value or {@code null} for none
71+
*/
72+
public java.util.List<GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo> getBusinessOwners() {
73+
return businessOwners;
74+
}
75+
76+
/**
77+
* Business team that ensures user needs are met and value is delivered
78+
* @param businessOwners businessOwners or {@code null} for none
79+
*/
80+
public GoogleCloudSecuritycenterV1ResourceApplicationAttributes setBusinessOwners(java.util.List<GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo> businessOwners) {
81+
this.businessOwners = businessOwners;
82+
return this;
83+
}
84+
85+
/**
86+
* User-defined criticality information.
87+
* @return value or {@code null} for none
88+
*/
89+
public GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality getCriticality() {
90+
return criticality;
91+
}
92+
93+
/**
94+
* User-defined criticality information.
95+
* @param criticality criticality or {@code null} for none
96+
*/
97+
public GoogleCloudSecuritycenterV1ResourceApplicationAttributes setCriticality(GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality criticality) {
98+
this.criticality = criticality;
99+
return this;
100+
}
101+
102+
/**
103+
* Developer team that owns development and coding.
104+
* @return value or {@code null} for none
105+
*/
106+
public java.util.List<GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo> getDeveloperOwners() {
107+
return developerOwners;
108+
}
109+
110+
/**
111+
* Developer team that owns development and coding.
112+
* @param developerOwners developerOwners or {@code null} for none
113+
*/
114+
public GoogleCloudSecuritycenterV1ResourceApplicationAttributes setDeveloperOwners(java.util.List<GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo> developerOwners) {
115+
this.developerOwners = developerOwners;
116+
return this;
117+
}
118+
119+
/**
120+
* User-defined environment information.
121+
* @return value or {@code null} for none
122+
*/
123+
public GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment getEnvironment() {
124+
return environment;
125+
}
126+
127+
/**
128+
* User-defined environment information.
129+
* @param environment environment or {@code null} for none
130+
*/
131+
public GoogleCloudSecuritycenterV1ResourceApplicationAttributes setEnvironment(GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment environment) {
132+
this.environment = environment;
133+
return this;
134+
}
135+
136+
/**
137+
* Operator team that ensures runtime and operations.
138+
* @return value or {@code null} for none
139+
*/
140+
public java.util.List<GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo> getOperatorOwners() {
141+
return operatorOwners;
142+
}
143+
144+
/**
145+
* Operator team that ensures runtime and operations.
146+
* @param operatorOwners operatorOwners or {@code null} for none
147+
*/
148+
public GoogleCloudSecuritycenterV1ResourceApplicationAttributes setOperatorOwners(java.util.List<GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo> operatorOwners) {
149+
this.operatorOwners = operatorOwners;
150+
return this;
151+
}
152+
153+
@Override
154+
public GoogleCloudSecuritycenterV1ResourceApplicationAttributes set(String fieldName, Object value) {
155+
return (GoogleCloudSecuritycenterV1ResourceApplicationAttributes) super.set(fieldName, value);
156+
}
157+
158+
@Override
159+
public GoogleCloudSecuritycenterV1ResourceApplicationAttributes clone() {
160+
return (GoogleCloudSecuritycenterV1ResourceApplicationAttributes) super.clone();
161+
}
162+
163+
}

0 commit comments

Comments
 (0)