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-rev20251202-2.0.0</version>
<version>reports_v1-rev20260210-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-rev20251202-2.0.0'
implementation 'com.google.apis:google-api-services-admin-reports:reports_v1-rev20260210-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,35 @@ public List setActorIpAddress(java.lang.String actorIpAddress) {
return this;
}

/**
* Optional. Used to filter on the `oAuthClientId` field present in
* [`ApplicationInfo`](#applicationinfo) message. **Usage** ```
* GET...&applicationInfoFilter=oAuthClientId="clientId"
* GET...&applicationInfoFilter=oAuthClientId=%22clientId%22 ```
*/
@com.google.api.client.util.Key
private java.lang.String applicationInfoFilter;

/** Optional. Used to filter on the `oAuthClientId` field present in
[`ApplicationInfo`](#applicationinfo) message. **Usage** ```
GET...&applicationInfoFilter=oAuthClientId="clientId"
GET...&applicationInfoFilter=oAuthClientId=%22clientId%22 ```
*/
public java.lang.String getApplicationInfoFilter() {
return applicationInfoFilter;
}

/**
* Optional. Used to filter on the `oAuthClientId` field present in
* [`ApplicationInfo`](#applicationinfo) message. **Usage** ```
* GET...&applicationInfoFilter=oAuthClientId="clientId"
* GET...&applicationInfoFilter=oAuthClientId=%22clientId%22 ```
*/
public List setApplicationInfoFilter(java.lang.String applicationInfoFilter) {
this.applicationInfoFilter = applicationInfoFilter;
return this;
}

/** The unique ID of the customer to retrieve data for. */
@com.google.api.client.util.Key
private java.lang.String customerId;
Expand Down Expand Up @@ -661,6 +690,32 @@ public List setMaxResults(java.lang.Integer maxResults) {
return this;
}

/**
* Optional. Used to filter on the `regionCode` field present in [`NetworkInfo`](#networkinfo)
* message. **Usage** ``` GET...&networkInfoFilter=regionCode="IN"
* GET...&networkInfoFilter=regionCode=%22IN%22 ```
*/
@com.google.api.client.util.Key
private java.lang.String networkInfoFilter;

/** Optional. Used to filter on the `regionCode` field present in [`NetworkInfo`](#networkinfo)
message. **Usage** ``` GET...&networkInfoFilter=regionCode="IN"
GET...&networkInfoFilter=regionCode=%22IN%22 ```
*/
public java.lang.String getNetworkInfoFilter() {
return networkInfoFilter;
}

/**
* Optional. Used to filter on the `regionCode` field present in [`NetworkInfo`](#networkinfo)
* message. **Usage** ``` GET...&networkInfoFilter=regionCode="IN"
* GET...&networkInfoFilter=regionCode=%22IN%22 ```
*/
public List setNetworkInfoFilter(java.lang.String networkInfoFilter) {
this.networkInfoFilter = networkInfoFilter;
return this;
}

/**
* ID of the organizational unit to report on. Activity records will be shown only for users
* who belong to the specified organizational unit. Data before Dec 17, 2018 doesn't appear in
Expand Down Expand Up @@ -871,6 +926,31 @@ public List setStartTime(java.lang.String startTime) {
return this;
}

/**
* Optional. Used to filter on the `statusCode` field present in [`Status`](#status) message.
* **Usage** ``` GET...&statusFilter=statusCode="200" GET...&statusFilter=statusCode=%22200%22
* ```
*/
@com.google.api.client.util.Key
private java.lang.String statusFilter;

/** Optional. Used to filter on the `statusCode` field present in [`Status`](#status) message.
**Usage** ``` GET...&statusFilter=statusCode="200" GET...&statusFilter=statusCode=%22200%22 ```
*/
public java.lang.String getStatusFilter() {
return statusFilter;
}

/**
* Optional. Used to filter on the `statusCode` field present in [`Status`](#status) message.
* **Usage** ``` GET...&statusFilter=statusCode="200" GET...&statusFilter=statusCode=%22200%22
* ```
*/
public List setStatusFilter(java.lang.String statusFilter) {
this.statusFilter = statusFilter;
return this;
}

@Override
public List set(String parameterName, Object value) {
return (List) super.set(parameterName, value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,13 @@ public static final class Events extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private java.util.List<java.lang.String> resourceIds;

/**
* Status of the event. Note: Not all events have status.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ActivityEventsStatus status;

/**
* Type of event. The Google Workspace service or feature that an administrator changes is
* identified in the `type` property which identifies an event using the `eventName` property. For
Expand Down Expand Up @@ -624,6 +631,23 @@ public Events setResourceIds(java.util.List<java.lang.String> resourceIds) {
return this;
}

/**
* Status of the event. Note: Not all events have status.
* @return value or {@code null} for none
*/
public ActivityEventsStatus getStatus() {
return status;
}

/**
* Status of the event. Note: Not all events have status.
* @param status status or {@code null} for none
*/
public Events setStatus(ActivityEventsStatus status) {
this.status = status;
return this;
}

/**
* Type of event. The Google Workspace service or feature that an administrator changes is
* identified in the `type` property which identifies an event using the `eventName` property. For
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
/*
* 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;

/**
* Status of the event. Note: Not all events have status.
*
* <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 ActivityEventsStatus extends com.google.api.client.json.GenericJson {

/**
* Error code of the event. Note: Field can be empty.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String errorCode;

/**
* Error message of the event. Note: Field can be empty.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String errorMessage;

/**
* * Status of the event. Possible values if not empty: - UNKNOWN_EVENT_STATUS - SUCCEEDED -
* SUCCEEDED_WITH_WARNINGS - FAILED - SKIPPED
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String eventStatus;

/**
* Status code of the event. Note: Field can be empty.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer httpStatusCode;

/**
* Error code of the event. Note: Field can be empty.
* @return value or {@code null} for none
*/
public java.lang.String getErrorCode() {
return errorCode;
}

/**
* Error code of the event. Note: Field can be empty.
* @param errorCode errorCode or {@code null} for none
*/
public ActivityEventsStatus setErrorCode(java.lang.String errorCode) {
this.errorCode = errorCode;
return this;
}

/**
* Error message of the event. Note: Field can be empty.
* @return value or {@code null} for none
*/
public java.lang.String getErrorMessage() {
return errorMessage;
}

/**
* Error message of the event. Note: Field can be empty.
* @param errorMessage errorMessage or {@code null} for none
*/
public ActivityEventsStatus setErrorMessage(java.lang.String errorMessage) {
this.errorMessage = errorMessage;
return this;
}

/**
* * Status of the event. Possible values if not empty: - UNKNOWN_EVENT_STATUS - SUCCEEDED -
* SUCCEEDED_WITH_WARNINGS - FAILED - SKIPPED
* @return value or {@code null} for none
*/
public java.lang.String getEventStatus() {
return eventStatus;
}

/**
* * Status of the event. Possible values if not empty: - UNKNOWN_EVENT_STATUS - SUCCEEDED -
* SUCCEEDED_WITH_WARNINGS - FAILED - SKIPPED
* @param eventStatus eventStatus or {@code null} for none
*/
public ActivityEventsStatus setEventStatus(java.lang.String eventStatus) {
this.eventStatus = eventStatus;
return this;
}

/**
* Status code of the event. Note: Field can be empty.
* @return value or {@code null} for none
*/
public java.lang.Integer getHttpStatusCode() {
return httpStatusCode;
}

/**
* Status code of the event. Note: Field can be empty.
* @param httpStatusCode httpStatusCode or {@code null} for none
*/
public ActivityEventsStatus setHttpStatusCode(java.lang.Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
return this;
}

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

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

}
4 changes: 2 additions & 2 deletions clients/google-api-services-admin/reports_v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-admin-reports</artifactId>
<version>reports_v1-rev20251202-2.0.0</version>
<name>Admin SDK API reports_v1-rev20251202-2.0.0</name>
<version>reports_v1-rev20260210-2.0.0</version>
<name>Admin SDK API reports_v1-rev20260210-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-admin/reports_v1/README.md
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-rev20251202-2.0.0</version>
<version>reports_v1-rev20260210-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-rev20251202-2.0.0'
implementation 'com.google.apis:google-api-services-admin-reports:reports_v1-rev20260210-2.0.0'
}
```

Expand Down