From bb8b042834f7693870d9da7d6b5fd6dd160f4537 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sun, 26 Jul 2026 18:01:18 -0700 Subject: [PATCH] chore: regenerate admin client --- .../reports_v1/2.0.0/README.md | 4 +- .../api/services/reports/model/Activity.java | 72 +++++++++ .../reports/model/ActivityUserDeviceInfo.java | 114 +++++++++++++++ .../reports/model/AgentAttributionInfo.java | 138 ++++++++++++++++++ .../model/AgentAttributionInfoAgentOwner.java | 66 +++++++++ .../reports_v1/2.0.0/pom.xml | 4 +- .../reports_v1/README.md | 4 +- 7 files changed, 396 insertions(+), 6 deletions(-) create mode 100644 clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/model/ActivityUserDeviceInfo.java create mode 100644 clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/model/AgentAttributionInfo.java create mode 100644 clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/model/AgentAttributionInfoAgentOwner.java diff --git a/clients/google-api-services-admin/reports_v1/2.0.0/README.md b/clients/google-api-services-admin/reports_v1/2.0.0/README.md index 1f5ce18e8de..75194d7bb71 100644 --- a/clients/google-api-services-admin/reports_v1/2.0.0/README.md +++ b/clients/google-api-services-admin/reports_v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-admin-reports - reports_v1-rev20260504-2.0.0 + reports_v1-rev20260722-2.0.0 @@ -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' } ``` diff --git a/clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/model/Activity.java b/clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/model/Activity.java index 8233bd66050..ef327820b61 100644 --- a/clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/model/Activity.java +++ b/clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/model/Activity.java @@ -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}. @@ -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; + /** + * 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 @@ -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 @@ -263,6 +294,23 @@ public Activity setResourceDetails(java.util.List 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); @@ -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}. @@ -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 diff --git a/clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/model/ActivityUserDeviceInfo.java b/clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/model/ActivityUserDeviceInfo.java new file mode 100644 index 00000000000..6ede0490d07 --- /dev/null +++ b/clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/model/ActivityUserDeviceInfo.java @@ -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. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @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(); + } + +} diff --git a/clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/model/AgentAttributionInfo.java b/clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/model/AgentAttributionInfo.java new file mode 100644 index 00000000000..ac2f7b78eba --- /dev/null +++ b/clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/model/AgentAttributionInfo.java @@ -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. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @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(); + } + +} diff --git a/clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/model/AgentAttributionInfoAgentOwner.java b/clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/model/AgentAttributionInfoAgentOwner.java new file mode 100644 index 00000000000..f644a056708 --- /dev/null +++ b/clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/model/AgentAttributionInfoAgentOwner.java @@ -0,0 +1,66 @@ +/* + * 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 owner of the AI agent. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class AgentAttributionInfoAgentOwner extends com.google.api.client.json.GenericJson { + + /** + * The email of the agent owner. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String email; + + /** + * The email of the agent owner. + * @return value or {@code null} for none + */ + public java.lang.String getEmail() { + return email; + } + + /** + * The email of the agent owner. + * @param email email or {@code null} for none + */ + public AgentAttributionInfoAgentOwner setEmail(java.lang.String email) { + this.email = email; + return this; + } + + @Override + public AgentAttributionInfoAgentOwner set(String fieldName, Object value) { + return (AgentAttributionInfoAgentOwner) super.set(fieldName, value); + } + + @Override + public AgentAttributionInfoAgentOwner clone() { + return (AgentAttributionInfoAgentOwner) super.clone(); + } + +} diff --git a/clients/google-api-services-admin/reports_v1/2.0.0/pom.xml b/clients/google-api-services-admin/reports_v1/2.0.0/pom.xml index b43a534df46..15884484242 100644 --- a/clients/google-api-services-admin/reports_v1/2.0.0/pom.xml +++ b/clients/google-api-services-admin/reports_v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-admin-reports - reports_v1-rev20260504-2.0.0 - Admin SDK API reports_v1-rev20260504-2.0.0 + reports_v1-rev20260722-2.0.0 + Admin SDK API reports_v1-rev20260722-2.0.0 jar 2011 diff --git a/clients/google-api-services-admin/reports_v1/README.md b/clients/google-api-services-admin/reports_v1/README.md index 1f5ce18e8de..75194d7bb71 100644 --- a/clients/google-api-services-admin/reports_v1/README.md +++ b/clients/google-api-services-admin/reports_v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-admin-reports - reports_v1-rev20260504-2.0.0 + reports_v1-rev20260722-2.0.0 @@ -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' } ```