Skip to content

Commit 15ebdb1

Browse files
1 parent 76afa52 commit 15ebdb1

File tree

7 files changed

+188
-6
lines changed

7 files changed

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

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ public final class File extends com.google.api.client.json.GenericJson {
5353
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
5454
private java.lang.Long hashedSize;
5555

56+
/**
57+
* Operation(s) performed on a file.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key
61+
private java.util.List<FileOperation> operations;
62+
5663
/**
5764
* True when the hash covers only a prefix of the file.
5865
* The value may be {@code null}.
@@ -135,6 +142,23 @@ public File setHashedSize(java.lang.Long hashedSize) {
135142
return this;
136143
}
137144

145+
/**
146+
* Operation(s) performed on a file.
147+
* @return value or {@code null} for none
148+
*/
149+
public java.util.List<FileOperation> getOperations() {
150+
return operations;
151+
}
152+
153+
/**
154+
* Operation(s) performed on a file.
155+
* @param operations operations or {@code null} for none
156+
*/
157+
public File setOperations(java.util.List<FileOperation> operations) {
158+
this.operations = operations;
159+
return this;
160+
}
161+
138162
/**
139163
* True when the hash covers only a prefix of the file.
140164
* @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+
* Operation(s) performed on a file.
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 FileOperation extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The type of the operation
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String type;
39+
40+
/**
41+
* The type of the operation
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.String getType() {
45+
return type;
46+
}
47+
48+
/**
49+
* The type of the operation
50+
* @param type type or {@code null} for none
51+
*/
52+
public FileOperation setType(java.lang.String type) {
53+
this.type = type;
54+
return this;
55+
}
56+
57+
@Override
58+
public FileOperation set(String fieldName, Object value) {
59+
return (FileOperation) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public FileOperation clone() {
64+
return (FileOperation) super.clone();
65+
}
66+
67+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ public final class GoogleCloudSecuritycenterV2File extends com.google.api.client
5353
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
5454
private java.lang.Long hashedSize;
5555

56+
/**
57+
* Operation(s) performed on a file.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key
61+
private java.util.List<GoogleCloudSecuritycenterV2FileOperation> operations;
62+
5663
/**
5764
* True when the hash covers only a prefix of the file.
5865
* The value may be {@code null}.
@@ -135,6 +142,23 @@ public GoogleCloudSecuritycenterV2File setHashedSize(java.lang.Long hashedSize)
135142
return this;
136143
}
137144

145+
/**
146+
* Operation(s) performed on a file.
147+
* @return value or {@code null} for none
148+
*/
149+
public java.util.List<GoogleCloudSecuritycenterV2FileOperation> getOperations() {
150+
return operations;
151+
}
152+
153+
/**
154+
* Operation(s) performed on a file.
155+
* @param operations operations or {@code null} for none
156+
*/
157+
public GoogleCloudSecuritycenterV2File setOperations(java.util.List<GoogleCloudSecuritycenterV2FileOperation> operations) {
158+
this.operations = operations;
159+
return this;
160+
}
161+
138162
/**
139163
* True when the hash covers only a prefix of the file.
140164
* @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+
* Operation(s) performed on a file.
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 GoogleCloudSecuritycenterV2FileOperation extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The type of the operation
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String type;
39+
40+
/**
41+
* The type of the operation
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.String getType() {
45+
return type;
46+
}
47+
48+
/**
49+
* The type of the operation
50+
* @param type type or {@code null} for none
51+
*/
52+
public GoogleCloudSecuritycenterV2FileOperation setType(java.lang.String type) {
53+
this.type = type;
54+
return this;
55+
}
56+
57+
@Override
58+
public GoogleCloudSecuritycenterV2FileOperation set(String fieldName, Object value) {
59+
return (GoogleCloudSecuritycenterV2FileOperation) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GoogleCloudSecuritycenterV2FileOperation clone() {
64+
return (GoogleCloudSecuritycenterV2FileOperation) super.clone();
65+
}
66+
67+
}

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-rev20250509-2.0.0</version>
12-
<name>Security Command Center API v1-rev20250509-2.0.0</name>
11+
<version>v1-rev20250519-2.0.0</version>
12+
<name>Security Command Center API v1-rev20250519-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-rev20250509-2.0.0</version>
25+
<version>v1-rev20250519-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-rev20250509-2.0.0'
38+
implementation 'com.google.apis:google-api-services-securitycenter:v1-rev20250519-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)