Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-admin-reports</artifactId>
<version>reports_v1-rev20260504-2.0.0</version>
<version>reports_v1-rev20260722-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-admin-reports:reports_v1-rev20260504-2.0.0'
implementation 'com.google.apis:google-api-services-admin-reports:reports_v1-rev20260722-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ public final class Activity extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String ipAddress;

/**
* Whether the activity was performed by an agent.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean isAgenticAction;

/**
* The type of API resource. For an activity report, the value is `audit#activity`.
* The value may be {@code null}.
Expand Down Expand Up @@ -102,6 +109,13 @@ public final class Activity extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.util.List<ResourceDetails> resourceDetails;

/**
* Device details of the user doing the action.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ActivityUserDeviceInfo userDeviceInfo;

/**
* User doing the action.
* @return value or {@code null} for none
Expand Down Expand Up @@ -193,6 +207,23 @@ public Activity setIpAddress(java.lang.String ipAddress) {
return this;
}

/**
* Whether the activity was performed by an agent.
* @return value or {@code null} for none
*/
public java.lang.Boolean getIsAgenticAction() {
return isAgenticAction;
}

/**
* Whether the activity was performed by an agent.
* @param isAgenticAction isAgenticAction or {@code null} for none
*/
public Activity setIsAgenticAction(java.lang.Boolean isAgenticAction) {
this.isAgenticAction = isAgenticAction;
return this;
}

/**
* The type of API resource. For an activity report, the value is `audit#activity`.
* @return value or {@code null} for none
Expand Down Expand Up @@ -263,6 +294,23 @@ public Activity setResourceDetails(java.util.List<ResourceDetails> resourceDetai
return this;
}

/**
* Device details of the user doing the action.
* @return value or {@code null} for none
*/
public ActivityUserDeviceInfo getUserDeviceInfo() {
return userDeviceInfo;
}

/**
* Device details of the user doing the action.
* @param userDeviceInfo userDeviceInfo or {@code null} for none
*/
public Activity setUserDeviceInfo(ActivityUserDeviceInfo userDeviceInfo) {
this.userDeviceInfo = userDeviceInfo;
return this;
}

@Override
public Activity set(String fieldName, Object value) {
return (Activity) super.set(fieldName, value);
Expand All @@ -278,6 +326,13 @@ public Activity clone() {
*/
public static final class Actor extends com.google.api.client.json.GenericJson {

/**
* Details of the AI agent that was the actor for the activity.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AgentAttributionInfo agentAttributionInfo;

/**
* Details of the application that was the actor for the activity.
* The value may be {@code null}.
Expand Down Expand Up @@ -317,6 +372,23 @@ public static final class Actor extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String profileId;

/**
* Details of the AI agent that was the actor for the activity.
* @return value or {@code null} for none
*/
public AgentAttributionInfo getAgentAttributionInfo() {
return agentAttributionInfo;
}

/**
* Details of the AI agent that was the actor for the activity.
* @param agentAttributionInfo agentAttributionInfo or {@code null} for none
*/
public Actor setAgentAttributionInfo(AgentAttributionInfo agentAttributionInfo) {
this.agentAttributionInfo = agentAttributionInfo;
return this;
}

/**
* Details of the application that was the actor for the activity.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.reports.model;

/**
* Device details of the user doing the action.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Admin SDK API. For a detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class ActivityUserDeviceInfo extends com.google.api.client.json.GenericJson {

/**
* Output only. Device ID of the user's device.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String deviceId;

/**
* Output only. Device OS version of the user's device.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String deviceOsVersion;

/**
* Output only. The type of the user's device.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String deviceType;

/**
* Output only. Device ID of the user's device.
* @return value or {@code null} for none
*/
public java.lang.String getDeviceId() {
return deviceId;
}

/**
* Output only. Device ID of the user's device.
* @param deviceId deviceId or {@code null} for none
*/
public ActivityUserDeviceInfo setDeviceId(java.lang.String deviceId) {
this.deviceId = deviceId;
return this;
}

/**
* Output only. Device OS version of the user's device.
* @return value or {@code null} for none
*/
public java.lang.String getDeviceOsVersion() {
return deviceOsVersion;
}

/**
* Output only. Device OS version of the user's device.
* @param deviceOsVersion deviceOsVersion or {@code null} for none
*/
public ActivityUserDeviceInfo setDeviceOsVersion(java.lang.String deviceOsVersion) {
this.deviceOsVersion = deviceOsVersion;
return this;
}

/**
* Output only. The type of the user's device.
* @return value or {@code null} for none
*/
public java.lang.String getDeviceType() {
return deviceType;
}

/**
* Output only. The type of the user's device.
* @param deviceType deviceType or {@code null} for none
*/
public ActivityUserDeviceInfo setDeviceType(java.lang.String deviceType) {
this.deviceType = deviceType;
return this;
}

@Override
public ActivityUserDeviceInfo set(String fieldName, Object value) {
return (ActivityUserDeviceInfo) super.set(fieldName, value);
}

@Override
public ActivityUserDeviceInfo clone() {
return (ActivityUserDeviceInfo) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.reports.model;

/**
* Details of the AI agent that was the actor for the activity.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Admin SDK API. For a detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class AgentAttributionInfo extends com.google.api.client.json.GenericJson {

/**
* The ID of the agent.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String agentId;

/**
* The user visible name of the agent.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String agentName;

/**
* The owner of the agent.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AgentAttributionInfoAgentOwner agentOwner;

/**
* Type of the agent.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String agentType;

/**
* The ID of the agent.
* @return value or {@code null} for none
*/
public java.lang.String getAgentId() {
return agentId;
}

/**
* The ID of the agent.
* @param agentId agentId or {@code null} for none
*/
public AgentAttributionInfo setAgentId(java.lang.String agentId) {
this.agentId = agentId;
return this;
}

/**
* The user visible name of the agent.
* @return value or {@code null} for none
*/
public java.lang.String getAgentName() {
return agentName;
}

/**
* The user visible name of the agent.
* @param agentName agentName or {@code null} for none
*/
public AgentAttributionInfo setAgentName(java.lang.String agentName) {
this.agentName = agentName;
return this;
}

/**
* The owner of the agent.
* @return value or {@code null} for none
*/
public AgentAttributionInfoAgentOwner getAgentOwner() {
return agentOwner;
}

/**
* The owner of the agent.
* @param agentOwner agentOwner or {@code null} for none
*/
public AgentAttributionInfo setAgentOwner(AgentAttributionInfoAgentOwner agentOwner) {
this.agentOwner = agentOwner;
return this;
}

/**
* Type of the agent.
* @return value or {@code null} for none
*/
public java.lang.String getAgentType() {
return agentType;
}

/**
* Type of the agent.
* @param agentType agentType or {@code null} for none
*/
public AgentAttributionInfo setAgentType(java.lang.String agentType) {
this.agentType = agentType;
return this;
}

@Override
public AgentAttributionInfo set(String fieldName, Object value) {
return (AgentAttributionInfo) super.set(fieldName, value);
}

@Override
public AgentAttributionInfo clone() {
return (AgentAttributionInfo) super.clone();
}

}
Loading
Loading