Skip to content

Commit 4377a70

Browse files
1 parent ed2d834 commit 4377a70

35 files changed

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

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+
* Contains information about the disk 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 Disk extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-
35+
* id/zones/zone-id/disks/disk-id".
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 name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-
43+
* id/zones/zone-id/disks/disk-id".
44+
* @return value or {@code null} for none
45+
*/
46+
public java.lang.String getName() {
47+
return name;
48+
}
49+
50+
/**
51+
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-
52+
* id/zones/zone-id/disks/disk-id".
53+
* @param name name or {@code null} for none
54+
*/
55+
public Disk setName(java.lang.String name) {
56+
this.name = name;
57+
return this;
58+
}
59+
60+
@Override
61+
public Disk set(String fieldName, Object value) {
62+
return (Disk) super.set(fieldName, value);
63+
}
64+
65+
@Override
66+
public Disk clone() {
67+
return (Disk) super.clone();
68+
}
69+
70+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@
3636
@SuppressWarnings("javadoc")
3737
public final class EffectiveEventThreatDetectionCustomModule extends com.google.api.client.json.GenericJson {
3838

39+
/**
40+
* The cloud provider of the custom module.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String cloudProvider;
45+
3946
/**
4047
* Output only. Config for the effective module.
4148
* The value may be {@code null}.
@@ -82,6 +89,23 @@ public final class EffectiveEventThreatDetectionCustomModule extends com.google.
8289
@com.google.api.client.util.Key
8390
private java.lang.String type;
8491

92+
/**
93+
* The cloud provider of the custom module.
94+
* @return value or {@code null} for none
95+
*/
96+
public java.lang.String getCloudProvider() {
97+
return cloudProvider;
98+
}
99+
100+
/**
101+
* The cloud provider of the custom module.
102+
* @param cloudProvider cloudProvider or {@code null} for none
103+
*/
104+
public EffectiveEventThreatDetectionCustomModule setCloudProvider(java.lang.String cloudProvider) {
105+
this.cloudProvider = cloudProvider;
106+
return this;
107+
}
108+
85109
/**
86110
* Output only. Config for the effective module.
87111
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ public final class EventThreatDetectionCustomModule extends com.google.api.clien
4141
@com.google.api.client.util.Key
4242
private java.lang.String ancestorModule;
4343

44+
/**
45+
* The cloud provider of the custom module.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String cloudProvider;
50+
4451
/**
4552
* Config for the module. For the resident module, its config value is defined at this level. For
4653
* the inherited module, its config value is inherited from the ancestor module.
@@ -120,6 +127,23 @@ public EventThreatDetectionCustomModule setAncestorModule(java.lang.String ances
120127
return this;
121128
}
122129

130+
/**
131+
* The cloud provider of the custom module.
132+
* @return value or {@code null} for none
133+
*/
134+
public java.lang.String getCloudProvider() {
135+
return cloudProvider;
136+
}
137+
138+
/**
139+
* The cloud provider of the custom module.
140+
* @param cloudProvider cloudProvider or {@code null} for none
141+
*/
142+
public EventThreatDetectionCustomModule setCloudProvider(java.lang.String cloudProvider) {
143+
this.cloudProvider = cloudProvider;
144+
return this;
145+
}
146+
123147
/**
124148
* Config for the module. For the resident module, its config value is defined at this level. For
125149
* the inherited module, its config value is inherited from the ancestor module.

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,13 @@ public final class Finding extends com.google.api.client.json.GenericJson {
206206
@com.google.api.client.util.Key
207207
private java.lang.String description;
208208

209+
/**
210+
* Disk associated with the finding.
211+
* The value may be {@code null}.
212+
*/
213+
@com.google.api.client.util.Key
214+
private Disk disk;
215+
209216
/**
210217
* The time the finding was first detected. If an existing finding is updated, then this is the
211218
* time the update occurred. For example, if the finding represents an open firewall, this
@@ -813,6 +820,23 @@ public Finding setDescription(java.lang.String description) {
813820
return this;
814821
}
815822

823+
/**
824+
* Disk associated with the finding.
825+
* @return value or {@code null} for none
826+
*/
827+
public Disk getDisk() {
828+
return disk;
829+
}
830+
831+
/**
832+
* Disk associated with the finding.
833+
* @param disk disk or {@code null} for none
834+
*/
835+
public Finding setDisk(Disk disk) {
836+
this.disk = disk;
837+
return this;
838+
}
839+
816840
/**
817841
* The time the finding was first detected. If an existing finding is updated, then this is the
818842
* time the update occurred. For example, if the finding represents an open firewall, this

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@
3636
@SuppressWarnings("javadoc")
3737
public final class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule extends com.google.api.client.json.GenericJson {
3838

39+
/**
40+
* The cloud provider of the custom module.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String cloudProvider;
45+
3946
/**
4047
* Output only. The user-specified configuration for the module.
4148
* The value may be {@code null}.
@@ -70,6 +77,23 @@ public final class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCu
7077
@com.google.api.client.util.Key
7178
private java.lang.String name;
7279

80+
/**
81+
* The cloud provider of the custom module.
82+
* @return value or {@code null} for none
83+
*/
84+
public java.lang.String getCloudProvider() {
85+
return cloudProvider;
86+
}
87+
88+
/**
89+
* The cloud provider of the custom module.
90+
* @param cloudProvider cloudProvider or {@code null} for none
91+
*/
92+
public GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule setCloudProvider(java.lang.String cloudProvider) {
93+
this.cloudProvider = cloudProvider;
94+
return this;
95+
}
96+
7397
/**
7498
* Output only. The user-specified configuration for the module.
7599
* @return value or {@code null} for none

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

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,10 @@ public final class GoogleCloudSecuritycenterV1ResourceValueConfig extends com.go
104104
private GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping sensitiveDataProtectionMapping;
105105

106106
/**
107-
* Required. Tag values combined with `AND` to check against. Values in the form "tagValues/123"
108-
* Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]`
109-
* https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
107+
* Required. Tag values combined with `AND` to check against. For Google Cloud resources, they are
108+
* tag value IDs in the form of "tagValues/123". Example: `[ "tagValues/123", "tagValues/456",
109+
* "tagValues/789" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-
110+
* managing
110111
* The value may be {@code null}.
111112
*/
112113
@com.google.api.client.util.Key
@@ -291,19 +292,21 @@ public GoogleCloudSecuritycenterV1ResourceValueConfig setSensitiveDataProtection
291292
}
292293

293294
/**
294-
* Required. Tag values combined with `AND` to check against. Values in the form "tagValues/123"
295-
* Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]`
296-
* https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
295+
* Required. Tag values combined with `AND` to check against. For Google Cloud resources, they are
296+
* tag value IDs in the form of "tagValues/123". Example: `[ "tagValues/123", "tagValues/456",
297+
* "tagValues/789" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-
298+
* managing
297299
* @return value or {@code null} for none
298300
*/
299301
public java.util.List<java.lang.String> getTagValues() {
300302
return tagValues;
301303
}
302304

303305
/**
304-
* Required. Tag values combined with `AND` to check against. Values in the form "tagValues/123"
305-
* Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]`
306-
* https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
306+
* Required. Tag values combined with `AND` to check against. For Google Cloud resources, they are
307+
* tag value IDs in the form of "tagValues/123". Example: `[ "tagValues/123", "tagValues/456",
308+
* "tagValues/789" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-
309+
* managing
307310
* @param tagValues tagValues or {@code null} for none
308311
*/
309312
public GoogleCloudSecuritycenterV1ResourceValueConfig setTagValues(java.util.List<java.lang.String> tagValues) {

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ public final class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModul
4242
@com.google.api.client.util.Key
4343
private java.lang.String ancestorModule;
4444

45+
/**
46+
* The cloud provider of the custom module.
47+
* The value may be {@code null}.
48+
*/
49+
@com.google.api.client.util.Key
50+
private java.lang.String cloudProvider;
51+
4552
/**
4653
* The user specified custom configuration for the module.
4754
* The value may be {@code null}.
@@ -113,6 +120,23 @@ public GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule setAncesto
113120
return this;
114121
}
115122

123+
/**
124+
* The cloud provider of the custom module.
125+
* @return value or {@code null} for none
126+
*/
127+
public java.lang.String getCloudProvider() {
128+
return cloudProvider;
129+
}
130+
131+
/**
132+
* The cloud provider of the custom module.
133+
* @param cloudProvider cloudProvider or {@code null} for none
134+
*/
135+
public GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule setCloudProvider(java.lang.String cloudProvider) {
136+
this.cloudProvider = cloudProvider;
137+
return this;
138+
}
139+
116140
/**
117141
* The user specified custom configuration for the module.
118142
* @return value or {@code null} for none
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+
* Contains information about the disk 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 GoogleCloudSecuritycenterV2Disk extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-
35+
* id/zones/zone-id/disks/disk-id".
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 name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-
43+
* id/zones/zone-id/disks/disk-id".
44+
* @return value or {@code null} for none
45+
*/
46+
public java.lang.String getName() {
47+
return name;
48+
}
49+
50+
/**
51+
* The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-
52+
* id/zones/zone-id/disks/disk-id".
53+
* @param name name or {@code null} for none
54+
*/
55+
public GoogleCloudSecuritycenterV2Disk setName(java.lang.String name) {
56+
this.name = name;
57+
return this;
58+
}
59+
60+
@Override
61+
public GoogleCloudSecuritycenterV2Disk set(String fieldName, Object value) {
62+
return (GoogleCloudSecuritycenterV2Disk) super.set(fieldName, value);
63+
}
64+
65+
@Override
66+
public GoogleCloudSecuritycenterV2Disk clone() {
67+
return (GoogleCloudSecuritycenterV2Disk) super.clone();
68+
}
69+
70+
}

0 commit comments

Comments
 (0)