Skip to content

Commit 9f5ce85

Browse files
chore: regenerate securitycenter client
1 parent 38c1764 commit 9f5ce85

File tree

97 files changed

+6738
-27
lines changed

Some content is hidden

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

97 files changed

+6738
-27
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-rev20251202-2.0.0</version>
25+
<version>v1-rev20260123-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-rev20251202-2.0.0'
38+
implementation 'com.google.apis:google-api-services-securitycenter:v1-rev20260123-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: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class SecurityCommandCenter extends com.google.api.client.googleapis.serv
103103
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
104104
* <li>Android: {@code newCompatibleTransport} from
105105
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
106-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
106+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
107107
* </li>
108108
* </ul>
109109
* @param jsonFactory JSON factory, which may be:
@@ -33109,8 +33109,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
3310933109
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
3311033110
* <li>Android: {@code newCompatibleTransport} from
3311133111
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
33112-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
33113-
* </li>
33112+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
3311433113
* </ul>
3311533114
* @param jsonFactory JSON factory, which may be:
3311633115
* <ul>
Lines changed: 94 additions & 0 deletions
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+
* Represents an ADC application associated with the 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 AdcApplication extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Consumer provided attributes for the AppHub 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 ADC Application. Format:
42+
* projects/{project}/locations/{location}/spaces/{space}/applications/{application}
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 AppHub 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 AppHub application.
58+
* @param attributes attributes or {@code null} for none
59+
*/
60+
public AdcApplication setAttributes(GoogleCloudSecuritycenterV1ResourceApplicationAttributes attributes) {
61+
this.attributes = attributes;
62+
return this;
63+
}
64+
65+
/**
66+
* The resource name of an ADC Application. Format:
67+
* projects/{project}/locations/{location}/spaces/{space}/applications/{application}
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 ADC Application. Format:
76+
* projects/{project}/locations/{location}/spaces/{space}/applications/{application}
77+
* @param name name or {@code null} for none
78+
*/
79+
public AdcApplication setName(java.lang.String name) {
80+
this.name = name;
81+
return this;
82+
}
83+
84+
@Override
85+
public AdcApplication set(String fieldName, Object value) {
86+
return (AdcApplication) super.set(fieldName, value);
87+
}
88+
89+
@Override
90+
public AdcApplication clone() {
91+
return (AdcApplication) super.clone();
92+
}
93+
94+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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 an ADC template associated with the 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 AdcApplicationTemplateRevision extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The resource name of an ADC Application Template Revision. Format: projects/{project}/locations
35+
* /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String name;
40+
41+
/**
42+
* The resource name of an ADC Application Template Revision. Format: projects/{project}/locations
43+
* /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}
44+
* @return value or {@code null} for none
45+
*/
46+
public java.lang.String getName() {
47+
return name;
48+
}
49+
50+
/**
51+
* The resource name of an ADC Application Template Revision. Format: projects/{project}/locations
52+
* /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}
53+
* @param name name or {@code null} for none
54+
*/
55+
public AdcApplicationTemplateRevision setName(java.lang.String name) {
56+
this.name = name;
57+
return this;
58+
}
59+
60+
@Override
61+
public AdcApplicationTemplateRevision set(String fieldName, Object value) {
62+
return (AdcApplicationTemplateRevision) super.set(fieldName, value);
63+
}
64+
65+
@Override
66+
public AdcApplicationTemplateRevision clone() {
67+
return (AdcApplicationTemplateRevision) super.clone();
68+
}
69+
70+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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 an ADC shared template associated with the 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 AdcSharedTemplateRevision extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc
35+
* ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String name;
40+
41+
/**
42+
* The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc
43+
* ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}
44+
* @return value or {@code null} for none
45+
*/
46+
public java.lang.String getName() {
47+
return name;
48+
}
49+
50+
/**
51+
* The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc
52+
* ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}
53+
* @param name name or {@code null} for none
54+
*/
55+
public AdcSharedTemplateRevision setName(java.lang.String name) {
56+
this.name = name;
57+
return this;
58+
}
59+
60+
@Override
61+
public AdcSharedTemplateRevision set(String fieldName, Object value) {
62+
return (AdcSharedTemplateRevision) super.set(fieldName, value);
63+
}
64+
65+
@Override
66+
public AdcSharedTemplateRevision clone() {
67+
return (AdcSharedTemplateRevision) super.clone();
68+
}
69+
70+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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 the result of evaluating artifact guard policies.
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 ArtifactGuardPolicies extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* A list of failing policies.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<ArtifactGuardPolicy> failingPolicies;
39+
40+
/**
41+
* The ID of the resource that has policies configured for it.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String resourceId;
46+
47+
/**
48+
* A list of failing policies.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.util.List<ArtifactGuardPolicy> getFailingPolicies() {
52+
return failingPolicies;
53+
}
54+
55+
/**
56+
* A list of failing policies.
57+
* @param failingPolicies failingPolicies or {@code null} for none
58+
*/
59+
public ArtifactGuardPolicies setFailingPolicies(java.util.List<ArtifactGuardPolicy> failingPolicies) {
60+
this.failingPolicies = failingPolicies;
61+
return this;
62+
}
63+
64+
/**
65+
* The ID of the resource that has policies configured for it.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getResourceId() {
69+
return resourceId;
70+
}
71+
72+
/**
73+
* The ID of the resource that has policies configured for it.
74+
* @param resourceId resourceId or {@code null} for none
75+
*/
76+
public ArtifactGuardPolicies setResourceId(java.lang.String resourceId) {
77+
this.resourceId = resourceId;
78+
return this;
79+
}
80+
81+
@Override
82+
public ArtifactGuardPolicies set(String fieldName, Object value) {
83+
return (ArtifactGuardPolicies) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public ArtifactGuardPolicies clone() {
88+
return (ArtifactGuardPolicies) super.clone();
89+
}
90+
91+
}

0 commit comments

Comments
 (0)