From 28bfcb9d185f21f7989985a2ab62004f69a3dc6f Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Mon, 16 Feb 2026 18:08:44 -0800 Subject: [PATCH] chore: regenerate drive client --- .../com/google/api/services/drive/Drive.java | 5 +- .../v3/2.0.0/README.md | 4 +- .../com/google/api/services/drive/Drive.java | 77 ++++++++++--------- .../v3/2.0.0/pom.xml | 4 +- .../google-api-services-drive/v3/README.md | 4 +- 5 files changed, 49 insertions(+), 45 deletions(-) diff --git a/clients/google-api-services-drive/v2/2.0.0/com/google/api/services/drive/Drive.java b/clients/google-api-services-drive/v2/2.0.0/com/google/api/services/drive/Drive.java index c1c816a6fe5..35c22c17946 100644 --- a/clients/google-api-services-drive/v2/2.0.0/com/google/api/services/drive/Drive.java +++ b/clients/google-api-services-drive/v2/2.0.0/com/google/api/services/drive/Drive.java @@ -103,7 +103,7 @@ public class Drive extends com.google.api.client.googleapis.services.json.Abstra * {@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: @@ -18044,8 +18044,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: @@ -7456,20 +7456,20 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Bodies of items (files or documents) to which the query applies. Supported bodies are: * - * `user` * `domain` * `drive` * `allDrives` Prefer `user` or `drive` to `allDrives` for - * efficiency. By default, corpora is set to `user`. However, this can change depending on the - * filter set through the `q` parameter. For more information, see [File + * Specifies a collection of items (files or documents) to which the query applies. Supported + * items include: * `user` * `domain` * `drive` * `allDrives` Prefer `user` or `drive` to + * `allDrives` for efficiency. By default, corpora is set to `user`. However, this can change + * depending on the filter set through the `q` parameter. For more information, see [File * organization](https://developers.google.com/workspace/drive/api/guides/about-files#file- * organization). */ @com.google.api.client.util.Key private java.lang.String corpora; - /** Bodies of items (files or documents) to which the query applies. Supported bodies are: * `user` * - `domain` * `drive` * `allDrives` Prefer `user` or `drive` to `allDrives` for efficiency. By - default, corpora is set to `user`. However, this can change depending on the filter set through the - `q` parameter. For more information, see [File + /** Specifies a collection of items (files or documents) to which the query applies. Supported items + include: * `user` * `domain` * `drive` * `allDrives` Prefer `user` or `drive` to `allDrives` for + efficiency. By default, corpora is set to `user`. However, this can change depending on the filter + set through the `q` parameter. For more information, see [File organization](https://developers.google.com/workspace/drive/api/guides/about-files#file- organization). */ @@ -7478,10 +7478,10 @@ public java.lang.String getCorpora() { } /** - * Bodies of items (files or documents) to which the query applies. Supported bodies are: * - * `user` * `domain` * `drive` * `allDrives` Prefer `user` or `drive` to `allDrives` for - * efficiency. By default, corpora is set to `user`. However, this can change depending on the - * filter set through the `q` parameter. For more information, see [File + * Specifies a collection of items (files or documents) to which the query applies. Supported + * items include: * `user` * `domain` * `drive` * `allDrives` Prefer `user` or `drive` to + * `allDrives` for efficiency. By default, corpora is set to `user`. However, this can change + * depending on the filter set through the `q` parameter. For more information, see [File * organization](https://developers.google.com/workspace/drive/api/guides/about-files#file- * organization). */ @@ -7653,11 +7653,13 @@ public boolean isIncludeTeamDriveItems() { /** * A comma-separated list of sort keys. Valid keys are: * `createdTime`: When the file was - * created. * `folder`: The folder ID. This field is sorted using alphabetical ordering. * - * `modifiedByMeTime`: The last time the file was modified by the user. * `modifiedTime`: The - * last time the file was modified by anyone. * `name`: The name of the file. This field is - * sorted using alphabetical ordering, so 1, 12, 2, 22. * `name_natural`: The name of the - * file. This field is sorted using natural sort ordering, so 1, 2, 12, 22. * + * created. Avoid using this key for queries on large item collections as it might result in + * timeouts or other issues. For time-related sorting on large item collections, use + * `modifiedTime` instead. * `folder`: The folder ID. This field is sorted using alphabetical + * ordering. * `modifiedByMeTime`: The last time the file was modified by the user. * + * `modifiedTime`: The last time the file was modified by anyone. * `name`: The name of the + * file. This field is sorted using alphabetical ordering, so 1, 12, 2, 22. * `name_natural`: + * The name of the file. This field is sorted using natural sort ordering, so 1, 2, 12, 22. * * `quotaBytesUsed`: The number of storage quota bytes used by the file. * `recency`: The most * recent timestamp from the file's date-time fields. * `sharedWithMeTime`: When the file was * shared with the user, if applicable. * `starred`: Whether the user has starred the file. * @@ -7668,17 +7670,19 @@ public boolean isIncludeTeamDriveItems() { @com.google.api.client.util.Key private java.lang.String orderBy; - /** A comma-separated list of sort keys. Valid keys are: * `createdTime`: When the file was created. * - `folder`: The folder ID. This field is sorted using alphabetical ordering. * `modifiedByMeTime`: - The last time the file was modified by the user. * `modifiedTime`: The last time the file was - modified by anyone. * `name`: The name of the file. This field is sorted using alphabetical - ordering, so 1, 12, 2, 22. * `name_natural`: The name of the file. This field is sorted using - natural sort ordering, so 1, 2, 12, 22. * `quotaBytesUsed`: The number of storage quota bytes used - by the file. * `recency`: The most recent timestamp from the file's date-time fields. * - `sharedWithMeTime`: When the file was shared with the user, if applicable. * `starred`: Whether the - user has starred the file. * `viewedByMeTime`: The last time the file was viewed by the user. Each - key sorts ascending by default, but can be reversed with the `desc` modifier. Example usage: - `?orderBy=folder,modifiedTime desc,name`. + /** A comma-separated list of sort keys. Valid keys are: * `createdTime`: When the file was created. + Avoid using this key for queries on large item collections as it might result in timeouts or other + issues. For time-related sorting on large item collections, use `modifiedTime` instead. * `folder`: + The folder ID. This field is sorted using alphabetical ordering. * `modifiedByMeTime`: The last + time the file was modified by the user. * `modifiedTime`: The last time the file was modified by + anyone. * `name`: The name of the file. This field is sorted using alphabetical ordering, so 1, 12, + 2, 22. * `name_natural`: The name of the file. This field is sorted using natural sort ordering, so + 1, 2, 12, 22. * `quotaBytesUsed`: The number of storage quota bytes used by the file. * `recency`: + The most recent timestamp from the file's date-time fields. * `sharedWithMeTime`: When the file was + shared with the user, if applicable. * `starred`: Whether the user has starred the file. * + `viewedByMeTime`: The last time the file was viewed by the user. Each key sorts ascending by + default, but can be reversed with the `desc` modifier. Example usage: `?orderBy=folder,modifiedTime + desc,name`. */ public java.lang.String getOrderBy() { return orderBy; @@ -7686,11 +7690,13 @@ public java.lang.String getOrderBy() { /** * A comma-separated list of sort keys. Valid keys are: * `createdTime`: When the file was - * created. * `folder`: The folder ID. This field is sorted using alphabetical ordering. * - * `modifiedByMeTime`: The last time the file was modified by the user. * `modifiedTime`: The - * last time the file was modified by anyone. * `name`: The name of the file. This field is - * sorted using alphabetical ordering, so 1, 12, 2, 22. * `name_natural`: The name of the - * file. This field is sorted using natural sort ordering, so 1, 2, 12, 22. * + * created. Avoid using this key for queries on large item collections as it might result in + * timeouts or other issues. For time-related sorting on large item collections, use + * `modifiedTime` instead. * `folder`: The folder ID. This field is sorted using alphabetical + * ordering. * `modifiedByMeTime`: The last time the file was modified by the user. * + * `modifiedTime`: The last time the file was modified by anyone. * `name`: The name of the + * file. This field is sorted using alphabetical ordering, so 1, 12, 2, 22. * `name_natural`: + * The name of the file. This field is sorted using natural sort ordering, so 1, 2, 12, 22. * * `quotaBytesUsed`: The number of storage quota bytes used by the file. * `recency`: The most * recent timestamp from the file's date-time fields. * `sharedWithMeTime`: When the file was * shared with the user, if applicable. * `starred`: Whether the user has starred the file. * @@ -13629,8 +13635,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: *