From 20232817ce0ebefdc18284f637ce2ae810a47b9f Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Fri, 20 Feb 2026 12:47:40 -0800 Subject: [PATCH] chore: regenerate admin client --- .../services/datatransfer/DataTransfer.java | 5 +- .../directory_v1/2.0.0/README.md | 4 +- .../api/services/directory/Directory.java | 200 +++++++++++++++++- .../model/CountChromeOsDevicesResponse.java | 66 ++++++ .../directory_v1/2.0.0/pom.xml | 4 +- .../directory_v1/README.md | 4 +- .../reports_v1/2.0.0/README.md | 4 +- .../google/api/services/reports/Reports.java | 85 +++++++- .../api/services/reports/model/Activity.java | 24 +++ .../reports/model/ActivityEventsStatus.java | 141 ++++++++++++ .../reports_v1/2.0.0/pom.xml | 4 +- .../reports_v1/README.md | 4 +- 12 files changed, 524 insertions(+), 21 deletions(-) create mode 100644 clients/google-api-services-admin/directory_v1/2.0.0/com/google/api/services/directory/model/CountChromeOsDevicesResponse.java create mode 100644 clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/model/ActivityEventsStatus.java diff --git a/clients/google-api-services-admin/datatransfer_v1/2.0.0/com/google/api/services/datatransfer/DataTransfer.java b/clients/google-api-services-admin/datatransfer_v1/2.0.0/com/google/api/services/datatransfer/DataTransfer.java index 2892acaf129..48f8c7dbe69 100644 --- a/clients/google-api-services-admin/datatransfer_v1/2.0.0/com/google/api/services/datatransfer/DataTransfer.java +++ b/clients/google-api-services-admin/datatransfer_v1/2.0.0/com/google/api/services/datatransfer/DataTransfer.java @@ -103,7 +103,7 @@ public class DataTransfer extends com.google.api.client.googleapis.services.json * {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport} *
  • Android: {@code newCompatibleTransport} from * {@code com.google.api.client.extensions.android.http.AndroidHttp}
  • - *
  • Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()} + *
  • Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
  • * * * @param jsonFactory JSON factory, which may be: @@ -929,8 +929,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr * {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport} *
  • Android: {@code newCompatibleTransport} from * {@code com.google.api.client.extensions.android.http.AndroidHttp}
  • - *
  • Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()} - *
  • + *
  • Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
  • * * @param jsonFactory JSON factory, which may be: * * @param jsonFactory JSON factory, which may be: @@ -2105,6 +2105,201 @@ public BatchChangeStatus set(String parameterName, Object value) { return (BatchChangeStatus) super.set(parameterName, value); } } + /** + * Counts ChromeOS devices matching the request. + * + * Create a request for the method "chromeos.countChromeOsDevices". + * + * This request holds the parameters needed by the admin server. After setting any optional + * parameters, call the {@link CountChromeOsDevices#execute()} method to invoke the remote + * operation. + * + * @param customerId Required. Immutable ID of the Google Workspace account. + * @return the request + */ + public CountChromeOsDevices countChromeOsDevices(java.lang.String customerId) throws java.io.IOException { + CountChromeOsDevices result = new CountChromeOsDevices(customerId); + initialize(result); + return result; + } + + public class CountChromeOsDevices extends DirectoryRequest { + + private static final String REST_PATH = "admin/directory/v1/customer/{customerId}/devices/chromeos:countChromeOsDevices"; + + /** + * Counts ChromeOS devices matching the request. + * + * Create a request for the method "chromeos.countChromeOsDevices". + * + * This request holds the parameters needed by the the admin server. After setting any optional + * parameters, call the {@link CountChromeOsDevices#execute()} method to invoke the remote + * operation.

    {@link CountChromeOsDevices#initialize(com.google.api.client.googleapis.services + * .AbstractGoogleClientRequest)} must be called to initialize this instance immediately after + * invoking the constructor.

    + * + * @param customerId Required. Immutable ID of the Google Workspace account. + * @since 1.13 + */ + protected CountChromeOsDevices(java.lang.String customerId) { + super(Directory.this, "GET", REST_PATH, null, com.google.api.services.directory.model.CountChromeOsDevicesResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public CountChromeOsDevices set$Xgafv(java.lang.String $Xgafv) { + return (CountChromeOsDevices) super.set$Xgafv($Xgafv); + } + + @Override + public CountChromeOsDevices setAccessToken(java.lang.String accessToken) { + return (CountChromeOsDevices) super.setAccessToken(accessToken); + } + + @Override + public CountChromeOsDevices setAlt(java.lang.String alt) { + return (CountChromeOsDevices) super.setAlt(alt); + } + + @Override + public CountChromeOsDevices setCallback(java.lang.String callback) { + return (CountChromeOsDevices) super.setCallback(callback); + } + + @Override + public CountChromeOsDevices setFields(java.lang.String fields) { + return (CountChromeOsDevices) super.setFields(fields); + } + + @Override + public CountChromeOsDevices setKey(java.lang.String key) { + return (CountChromeOsDevices) super.setKey(key); + } + + @Override + public CountChromeOsDevices setOauthToken(java.lang.String oauthToken) { + return (CountChromeOsDevices) super.setOauthToken(oauthToken); + } + + @Override + public CountChromeOsDevices setPrettyPrint(java.lang.Boolean prettyPrint) { + return (CountChromeOsDevices) super.setPrettyPrint(prettyPrint); + } + + @Override + public CountChromeOsDevices setQuotaUser(java.lang.String quotaUser) { + return (CountChromeOsDevices) super.setQuotaUser(quotaUser); + } + + @Override + public CountChromeOsDevices setUploadType(java.lang.String uploadType) { + return (CountChromeOsDevices) super.setUploadType(uploadType); + } + + @Override + public CountChromeOsDevices setUploadProtocol(java.lang.String uploadProtocol) { + return (CountChromeOsDevices) super.setUploadProtocol(uploadProtocol); + } + + /** Required. Immutable ID of the Google Workspace account. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. Immutable ID of the Google Workspace account. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. Immutable ID of the Google Workspace account. */ + public CountChromeOsDevices setCustomerId(java.lang.String customerId) { + this.customerId = customerId; + return this; + } + + /** + * Optional. Search string in the format given at + * https://developers.google.com/workspace/admin/directory/v1/list-query-operators + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. Search string in the format given at + https://developers.google.com/workspace/admin/directory/v1/list-query-operators + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Optional. Search string in the format given at + * https://developers.google.com/workspace/admin/directory/v1/list-query-operators + */ + public CountChromeOsDevices setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** + * Optional. Return devices from all child orgunits, as well as the specified org unit. If + * this is set to true, 'orgUnitPath' must be provided. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeChildOrgunits; + + /** Optional. Return devices from all child orgunits, as well as the specified org unit. If this is set + to true, 'orgUnitPath' must be provided. + */ + public java.lang.Boolean getIncludeChildOrgunits() { + return includeChildOrgunits; + } + + /** + * Optional. Return devices from all child orgunits, as well as the specified org unit. If + * this is set to true, 'orgUnitPath' must be provided. + */ + public CountChromeOsDevices setIncludeChildOrgunits(java.lang.Boolean includeChildOrgunits) { + this.includeChildOrgunits = includeChildOrgunits; + return this; + } + + /** + * Optional. The full path of the organizational unit (minus the leading `/`) or its + * unique ID. + */ + @com.google.api.client.util.Key + private java.lang.String orgUnitPath; + + /** Optional. The full path of the organizational unit (minus the leading `/`) or its unique ID. + */ + public java.lang.String getOrgUnitPath() { + return orgUnitPath; + } + + /** + * Optional. The full path of the organizational unit (minus the leading `/`) or its + * unique ID. + */ + public CountChromeOsDevices setOrgUnitPath(java.lang.String orgUnitPath) { + this.orgUnitPath = orgUnitPath; + return this; + } + + @Override + public CountChromeOsDevices set(String parameterName, Object value) { + return (CountChromeOsDevices) super.set(parameterName, value); + } + } /** * Issues a command for the device to execute. * @@ -20631,8 +20826,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr * {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport} *
  • Android: {@code newCompatibleTransport} from * {@code com.google.api.client.extensions.android.http.AndroidHttp}
  • - *
  • Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()} - *
  • + *
  • Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
  • * * @param jsonFactory JSON factory, which may be: * * @param jsonFactory JSON factory, which may be: @@ -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; @@ -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 @@ -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); @@ -2848,8 +2928,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr * {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport} *
  • Android: {@code newCompatibleTransport} from * {@code com.google.api.client.extensions.android.http.AndroidHttp}
  • - *
  • Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()} - *
  • + *
  • Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
  • * * @param jsonFactory JSON factory, which may be: *