Skip to content

Commit 27fe88f

Browse files
1 parent b7564a4 commit 27fe88f

18 files changed

+1372
-12
lines changed

clients/google-api-services-securitycenter/v1beta1/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>v1beta1-rev20260223-2.0.0</version>
25+
<version>v1beta1-rev20260324-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:v1beta1-rev20260223-2.0.0'
38+
implementation 'com.google.apis:google-api-services-securitycenter:v1beta1-rev20260324-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
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.v1beta1.model;
18+
19+
/**
20+
* Details about a data access attempt made by an agent principal not authorized under applicable
21+
* data security policy.
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 AgentDataAccessEvent extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Unique identifier for data access event.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String eventId;
40+
41+
/**
42+
* Timestamp of data access event.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private String eventTime;
47+
48+
/**
49+
* The operation performed by the principal to access the data.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String operation;
54+
55+
/**
56+
* The agent principal that accessed the data.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.String principalSubject;
61+
62+
/**
63+
* Unique identifier for data access event.
64+
* @return value or {@code null} for none
65+
*/
66+
public java.lang.String getEventId() {
67+
return eventId;
68+
}
69+
70+
/**
71+
* Unique identifier for data access event.
72+
* @param eventId eventId or {@code null} for none
73+
*/
74+
public AgentDataAccessEvent setEventId(java.lang.String eventId) {
75+
this.eventId = eventId;
76+
return this;
77+
}
78+
79+
/**
80+
* Timestamp of data access event.
81+
* @return value or {@code null} for none
82+
*/
83+
public String getEventTime() {
84+
return eventTime;
85+
}
86+
87+
/**
88+
* Timestamp of data access event.
89+
* @param eventTime eventTime or {@code null} for none
90+
*/
91+
public AgentDataAccessEvent setEventTime(String eventTime) {
92+
this.eventTime = eventTime;
93+
return this;
94+
}
95+
96+
/**
97+
* The operation performed by the principal to access the data.
98+
* @return value or {@code null} for none
99+
*/
100+
public java.lang.String getOperation() {
101+
return operation;
102+
}
103+
104+
/**
105+
* The operation performed by the principal to access the data.
106+
* @param operation operation or {@code null} for none
107+
*/
108+
public AgentDataAccessEvent setOperation(java.lang.String operation) {
109+
this.operation = operation;
110+
return this;
111+
}
112+
113+
/**
114+
* The agent principal that accessed the data.
115+
* @return value or {@code null} for none
116+
*/
117+
public java.lang.String getPrincipalSubject() {
118+
return principalSubject;
119+
}
120+
121+
/**
122+
* The agent principal that accessed the data.
123+
* @param principalSubject principalSubject or {@code null} for none
124+
*/
125+
public AgentDataAccessEvent setPrincipalSubject(java.lang.String principalSubject) {
126+
this.principalSubject = principalSubject;
127+
return this;
128+
}
129+
130+
@Override
131+
public AgentDataAccessEvent set(String fieldName, Object value) {
132+
return (AgentDataAccessEvent) super.set(fieldName, value);
133+
}
134+
135+
@Override
136+
public AgentDataAccessEvent clone() {
137+
return (AgentDataAccessEvent) super.clone();
138+
}
139+
140+
}

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

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,19 @@ public final class Finding extends com.google.api.client.json.GenericJson {
4848
@com.google.api.client.util.Key
4949
private AffectedResources affectedResources;
5050

51+
/**
52+
* Agent data access events associated with the finding.
53+
* The value may be {@code null}.
54+
*/
55+
@com.google.api.client.util.Key
56+
private java.util.List<AgentDataAccessEvent> agentDataAccessEvents;
57+
58+
static {
59+
// hack to force ProGuard to consider AgentDataAccessEvent used, since otherwise it would be stripped out
60+
// see https://github.com/google/google-api-java-client/issues/543
61+
com.google.api.client.util.Data.nullOf(AgentDataAccessEvent.class);
62+
}
63+
5164
/**
5265
* The AI model associated with the finding.
5366
* The value may be {@code null}.
@@ -497,6 +510,13 @@ public final class Finding extends com.google.api.client.json.GenericJson {
497510
@com.google.api.client.util.Key
498511
private java.lang.String parentDisplayName;
499512

513+
/**
514+
* PolicyViolationSummary associated with the finding.
515+
* The value may be {@code null}.
516+
*/
517+
@com.google.api.client.util.Key
518+
private PolicyViolationSummary policyViolationSummary;
519+
500520
/**
501521
* Represents operating system processes associated with the Finding.
502522
* The value may be {@code null}.
@@ -621,6 +641,23 @@ public Finding setAffectedResources(AffectedResources affectedResources) {
621641
return this;
622642
}
623643

644+
/**
645+
* Agent data access events associated with the finding.
646+
* @return value or {@code null} for none
647+
*/
648+
public java.util.List<AgentDataAccessEvent> getAgentDataAccessEvents() {
649+
return agentDataAccessEvents;
650+
}
651+
652+
/**
653+
* Agent data access events associated with the finding.
654+
* @param agentDataAccessEvents agentDataAccessEvents or {@code null} for none
655+
*/
656+
public Finding setAgentDataAccessEvents(java.util.List<AgentDataAccessEvent> agentDataAccessEvents) {
657+
this.agentDataAccessEvents = agentDataAccessEvents;
658+
return this;
659+
}
660+
624661
/**
625662
* The AI model associated with the finding.
626663
* @return value or {@code null} for none
@@ -1579,6 +1616,23 @@ public Finding setParentDisplayName(java.lang.String parentDisplayName) {
15791616
return this;
15801617
}
15811618

1619+
/**
1620+
* PolicyViolationSummary associated with the finding.
1621+
* @return value or {@code null} for none
1622+
*/
1623+
public PolicyViolationSummary getPolicyViolationSummary() {
1624+
return policyViolationSummary;
1625+
}
1626+
1627+
/**
1628+
* PolicyViolationSummary associated with the finding.
1629+
* @param policyViolationSummary policyViolationSummary or {@code null} for none
1630+
*/
1631+
public Finding setPolicyViolationSummary(PolicyViolationSummary policyViolationSummary) {
1632+
this.policyViolationSummary = policyViolationSummary;
1633+
return this;
1634+
}
1635+
15821636
/**
15831637
* Represents operating system processes associated with the Finding.
15841638
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
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.v1beta1.model;
18+
19+
/**
20+
* Details about a data access attempt made by an agent principal not authorized under applicable
21+
* data security policy.
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 GoogleCloudSecuritycenterV2AgentDataAccessEvent extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Unique identifier for data access event.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String eventId;
40+
41+
/**
42+
* Timestamp of data access event.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private String eventTime;
47+
48+
/**
49+
* The operation performed by the principal to access the data.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String operation;
54+
55+
/**
56+
* The agent principal that accessed the data.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.String principalSubject;
61+
62+
/**
63+
* Unique identifier for data access event.
64+
* @return value or {@code null} for none
65+
*/
66+
public java.lang.String getEventId() {
67+
return eventId;
68+
}
69+
70+
/**
71+
* Unique identifier for data access event.
72+
* @param eventId eventId or {@code null} for none
73+
*/
74+
public GoogleCloudSecuritycenterV2AgentDataAccessEvent setEventId(java.lang.String eventId) {
75+
this.eventId = eventId;
76+
return this;
77+
}
78+
79+
/**
80+
* Timestamp of data access event.
81+
* @return value or {@code null} for none
82+
*/
83+
public String getEventTime() {
84+
return eventTime;
85+
}
86+
87+
/**
88+
* Timestamp of data access event.
89+
* @param eventTime eventTime or {@code null} for none
90+
*/
91+
public GoogleCloudSecuritycenterV2AgentDataAccessEvent setEventTime(String eventTime) {
92+
this.eventTime = eventTime;
93+
return this;
94+
}
95+
96+
/**
97+
* The operation performed by the principal to access the data.
98+
* @return value or {@code null} for none
99+
*/
100+
public java.lang.String getOperation() {
101+
return operation;
102+
}
103+
104+
/**
105+
* The operation performed by the principal to access the data.
106+
* @param operation operation or {@code null} for none
107+
*/
108+
public GoogleCloudSecuritycenterV2AgentDataAccessEvent setOperation(java.lang.String operation) {
109+
this.operation = operation;
110+
return this;
111+
}
112+
113+
/**
114+
* The agent principal that accessed the data.
115+
* @return value or {@code null} for none
116+
*/
117+
public java.lang.String getPrincipalSubject() {
118+
return principalSubject;
119+
}
120+
121+
/**
122+
* The agent principal that accessed the data.
123+
* @param principalSubject principalSubject or {@code null} for none
124+
*/
125+
public GoogleCloudSecuritycenterV2AgentDataAccessEvent setPrincipalSubject(java.lang.String principalSubject) {
126+
this.principalSubject = principalSubject;
127+
return this;
128+
}
129+
130+
@Override
131+
public GoogleCloudSecuritycenterV2AgentDataAccessEvent set(String fieldName, Object value) {
132+
return (GoogleCloudSecuritycenterV2AgentDataAccessEvent) super.set(fieldName, value);
133+
}
134+
135+
@Override
136+
public GoogleCloudSecuritycenterV2AgentDataAccessEvent clone() {
137+
return (GoogleCloudSecuritycenterV2AgentDataAccessEvent) super.clone();
138+
}
139+
140+
}

0 commit comments

Comments
 (0)