From 41fa6d140e373c2eafbc0987b4a15d4a665002ab Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 11 Jul 2026 18:10:12 -0700 Subject: [PATCH] chore: regenerate firestore client --- .../v1/2.0.0/README.md | 4 +- .../api/services/firestore/v1/Firestore.java | 160 ++++++++++++++++++ .../v1/model/BatchGetDocumentsRequest.java | 24 +++ .../firestore/v1/model/BatchWriteRequest.java | 24 +++ .../v1/model/BeginTransactionRequest.java | 24 +++ .../firestore/v1/model/CommitRequest.java | 24 +++ .../v1/model/ExecutePipelineRequest.java | 24 +++ .../v1/model/ListCollectionIdsRequest.java | 24 +++ .../firestore/v1/model/ListenRequest.java | 24 +++ .../v1/model/PartitionQueryRequest.java | 24 +++ .../firestore/v1/model/RequestOptions.java | 66 ++++++++ .../firestore/v1/model/RollbackRequest.java | 24 +++ .../v1/model/RunAggregationQueryRequest.java | 24 +++ .../firestore/v1/model/RunQueryRequest.java | 24 +++ .../firestore/v1/model/WriteRequest.java | 24 +++ .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- .../v1beta1/2.0.0/README.md | 4 +- .../services/firestore/v1beta1/Firestore.java | 160 ++++++++++++++++++ .../model/BatchGetDocumentsRequest.java | 24 +++ .../v1beta1/model/BatchWriteRequest.java | 24 +++ .../model/BeginTransactionRequest.java | 24 +++ .../v1beta1/model/CommitRequest.java | 24 +++ .../v1beta1/model/ExecutePipelineRequest.java | 24 +++ .../model/ListCollectionIdsRequest.java | 24 +++ .../v1beta1/model/ListenRequest.java | 24 +++ .../v1beta1/model/PartitionQueryRequest.java | 24 +++ .../v1beta1/model/RequestOptions.java | 66 ++++++++ .../v1beta1/model/RollbackRequest.java | 24 +++ .../model/RunAggregationQueryRequest.java | 24 +++ .../v1beta1/model/RunQueryRequest.java | 24 +++ .../firestore/v1beta1/model/WriteRequest.java | 24 +++ .../v1beta1/2.0.0/pom.xml | 4 +- .../v1beta1/README.md | 4 +- 34 files changed, 1040 insertions(+), 12 deletions(-) create mode 100644 clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/RequestOptions.java create mode 100644 clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/RequestOptions.java diff --git a/clients/google-api-services-firestore/v1/2.0.0/README.md b/clients/google-api-services-firestore/v1/2.0.0/README.md index 70f53ee26ae..7833cabf345 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/README.md +++ b/clients/google-api-services-firestore/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-firestore - v1-rev20260608-2.0.0 + v1-rev20260702-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-firestore:v1-rev20260608-2.0.0' + implementation 'com.google.apis:google-api-services-firestore:v1-rev20260702-2.0.0' } ``` diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/Firestore.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/Firestore.java index c7dbdc64fd9..ae4bfedb7ff 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/Firestore.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/Firestore.java @@ -4502,6 +4502,22 @@ public CreateDocument setMaskFieldPaths(java.util.List maskFie return this; } + /** Optional. The request tags for the request. */ + @com.google.api.client.util.Key("requestOptions.requestTags") + private java.util.List requestOptionsRequestTags; + + /** Optional. The request tags for the request. + */ + public java.util.List getRequestOptionsRequestTags() { + return requestOptionsRequestTags; + } + + /** Optional. The request tags for the request. */ + public CreateDocument setRequestOptionsRequestTags(java.util.List requestOptionsRequestTags) { + this.requestOptionsRequestTags = requestOptionsRequestTags; + return this; + } + @Override public CreateDocument set(String parameterName, Object value) { return (CreateDocument) super.set(parameterName, value); @@ -4686,6 +4702,22 @@ public Delete setCurrentDocumentUpdateTime(String currentDocumentUpdateTime) { return this; } + /** Optional. The request tags for the request. */ + @com.google.api.client.util.Key("requestOptions.requestTags") + private java.util.List requestOptionsRequestTags; + + /** Optional. The request tags for the request. + */ + public java.util.List getRequestOptionsRequestTags() { + return requestOptionsRequestTags; + } + + /** Optional. The request tags for the request. */ + public Delete setRequestOptionsRequestTags(java.util.List requestOptionsRequestTags) { + this.requestOptionsRequestTags = requestOptionsRequestTags; + return this; + } + @Override public Delete set(String parameterName, Object value) { return (Delete) super.set(parameterName, value); @@ -5016,6 +5048,22 @@ public Get setReadTime(String readTime) { return this; } + /** Optional. The request tags for the request. */ + @com.google.api.client.util.Key("requestOptions.requestTags") + private java.util.List requestOptionsRequestTags; + + /** Optional. The request tags for the request. + */ + public java.util.List getRequestOptionsRequestTags() { + return requestOptionsRequestTags; + } + + /** Optional. The request tags for the request. */ + public Get setRequestOptionsRequestTags(java.util.List requestOptionsRequestTags) { + this.requestOptionsRequestTags = requestOptionsRequestTags; + return this; + } + /** Reads the document in a transaction. */ @com.google.api.client.util.Key private java.lang.String transaction; @@ -5352,6 +5400,54 @@ public List setReadTime(String readTime) { return this; } + /** + * Optional. If the list should recursively include all documents nested under the parent + * at any level. If the request specifies a `collection_id`, then the list will include + * all nested documents in the collection under the parent. This is optional, and when not + * provided, Firestore will only list documents nested immediately under the parent. + * Requests with `recursive` may not specify `show_missing`. + */ + @com.google.api.client.util.Key + private java.lang.Boolean recursive; + + /** Optional. If the list should recursively include all documents nested under the parent at any + level. If the request specifies a `collection_id`, then the list will include all nested documents + in the collection under the parent. This is optional, and when not provided, Firestore will only + list documents nested immediately under the parent. Requests with `recursive` may not specify + `show_missing`. + */ + public java.lang.Boolean getRecursive() { + return recursive; + } + + /** + * Optional. If the list should recursively include all documents nested under the parent + * at any level. If the request specifies a `collection_id`, then the list will include + * all nested documents in the collection under the parent. This is optional, and when not + * provided, Firestore will only list documents nested immediately under the parent. + * Requests with `recursive` may not specify `show_missing`. + */ + public List setRecursive(java.lang.Boolean recursive) { + this.recursive = recursive; + return this; + } + + /** Optional. The request tags for the request. */ + @com.google.api.client.util.Key("requestOptions.requestTags") + private java.util.List requestOptionsRequestTags; + + /** Optional. The request tags for the request. + */ + public java.util.List getRequestOptionsRequestTags() { + return requestOptionsRequestTags; + } + + /** Optional. The request tags for the request. */ + public List setRequestOptionsRequestTags(java.util.List requestOptionsRequestTags) { + this.requestOptionsRequestTags = requestOptionsRequestTags; + return this; + } + /** * If the list should show missing documents. A document is missing if it does not exist, * but there are sub-documents nested underneath it. When true, such missing documents @@ -5870,6 +5966,54 @@ public ListDocuments setReadTime(String readTime) { return this; } + /** + * Optional. If the list should recursively include all documents nested under the parent + * at any level. If the request specifies a `collection_id`, then the list will include + * all nested documents in the collection under the parent. This is optional, and when not + * provided, Firestore will only list documents nested immediately under the parent. + * Requests with `recursive` may not specify `show_missing`. + */ + @com.google.api.client.util.Key + private java.lang.Boolean recursive; + + /** Optional. If the list should recursively include all documents nested under the parent at any + level. If the request specifies a `collection_id`, then the list will include all nested documents + in the collection under the parent. This is optional, and when not provided, Firestore will only + list documents nested immediately under the parent. Requests with `recursive` may not specify + `show_missing`. + */ + public java.lang.Boolean getRecursive() { + return recursive; + } + + /** + * Optional. If the list should recursively include all documents nested under the parent + * at any level. If the request specifies a `collection_id`, then the list will include + * all nested documents in the collection under the parent. This is optional, and when not + * provided, Firestore will only list documents nested immediately under the parent. + * Requests with `recursive` may not specify `show_missing`. + */ + public ListDocuments setRecursive(java.lang.Boolean recursive) { + this.recursive = recursive; + return this; + } + + /** Optional. The request tags for the request. */ + @com.google.api.client.util.Key("requestOptions.requestTags") + private java.util.List requestOptionsRequestTags; + + /** Optional. The request tags for the request. + */ + public java.util.List getRequestOptionsRequestTags() { + return requestOptionsRequestTags; + } + + /** Optional. The request tags for the request. */ + public ListDocuments setRequestOptionsRequestTags(java.util.List requestOptionsRequestTags) { + this.requestOptionsRequestTags = requestOptionsRequestTags; + return this; + } + /** * If the list should show missing documents. A document is missing if it does not exist, * but there are sub-documents nested underneath it. When true, such missing documents @@ -6409,6 +6553,22 @@ public Patch setMaskFieldPaths(java.util.List maskFieldPaths) return this; } + /** Optional. The request tags for the request. */ + @com.google.api.client.util.Key("requestOptions.requestTags") + private java.util.List requestOptionsRequestTags; + + /** Optional. The request tags for the request. + */ + public java.util.List getRequestOptionsRequestTags() { + return requestOptionsRequestTags; + } + + /** Optional. The request tags for the request. */ + public Patch setRequestOptionsRequestTags(java.util.List requestOptionsRequestTags) { + this.requestOptionsRequestTags = requestOptionsRequestTags; + return this; + } + /** * The list of field paths in the mask. See Document.fields for a field path syntax * reference. diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/BatchGetDocumentsRequest.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/BatchGetDocumentsRequest.java index 582a6db14b4..79453ec953a 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/BatchGetDocumentsRequest.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/BatchGetDocumentsRequest.java @@ -64,6 +64,13 @@ public final class BatchGetDocumentsRequest extends com.google.api.client.json.G @com.google.api.client.util.Key private String readTime; + /** + * Optional. The request options for this request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * Reads documents in a transaction. * The value may be {@code null}. @@ -153,6 +160,23 @@ public BatchGetDocumentsRequest setReadTime(String readTime) { return this; } + /** + * Optional. The request options for this request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for this request. + * @param requestOptions requestOptions or {@code null} for none + */ + public BatchGetDocumentsRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * Reads documents in a transaction. * @see #decodeTransaction() diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/BatchWriteRequest.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/BatchWriteRequest.java index 50bfe2c6eb3..2432dd90cc7 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/BatchWriteRequest.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/BatchWriteRequest.java @@ -36,6 +36,13 @@ public final class BatchWriteRequest extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.util.Map labels; + /** + * Optional. The request options for this request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * The writes to apply. Method does not apply writes atomically and does not guarantee ordering. * Each write succeeds or fails independently. You cannot write to the same document more than @@ -62,6 +69,23 @@ public BatchWriteRequest setLabels(java.util.Map label return this; } + /** + * Optional. The request options for this request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for this request. + * @param requestOptions requestOptions or {@code null} for none + */ + public BatchWriteRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * The writes to apply. Method does not apply writes atomically and does not guarantee ordering. * Each write succeeds or fails independently. You cannot write to the same document more than diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/BeginTransactionRequest.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/BeginTransactionRequest.java index c4030073a13..9a2785b8b9c 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/BeginTransactionRequest.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/BeginTransactionRequest.java @@ -36,6 +36,13 @@ public final class BeginTransactionRequest extends com.google.api.client.json.Ge @com.google.api.client.util.Key private TransactionOptions options; + /** + * Optional. The request options for this request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * The options for the transaction. Defaults to a read-write transaction. * @return value or {@code null} for none @@ -53,6 +60,23 @@ public BeginTransactionRequest setOptions(TransactionOptions options) { return this; } + /** + * Optional. The request options for this request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for this request. + * @param requestOptions requestOptions or {@code null} for none + */ + public BeginTransactionRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + @Override public BeginTransactionRequest set(String fieldName, Object value) { return (BeginTransactionRequest) super.set(fieldName, value); diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/CommitRequest.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/CommitRequest.java index 629b6efb98e..67cbdf9e8aa 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/CommitRequest.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/CommitRequest.java @@ -29,6 +29,13 @@ @SuppressWarnings("javadoc") public final class CommitRequest extends com.google.api.client.json.GenericJson { + /** + * Optional. The request options for this request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * If set, applies all writes in this transaction, and commits it. * The value may be {@code null}. @@ -43,6 +50,23 @@ public final class CommitRequest extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.util.List writes; + /** + * Optional. The request options for this request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for this request. + * @param requestOptions requestOptions or {@code null} for none + */ + public CommitRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * If set, applies all writes in this transaction, and commits it. * @see #decodeTransaction() diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/ExecutePipelineRequest.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/ExecutePipelineRequest.java index c1d14abeaf6..21f100f0f29 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/ExecutePipelineRequest.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/ExecutePipelineRequest.java @@ -54,6 +54,13 @@ public final class ExecutePipelineRequest extends com.google.api.client.json.Gen @com.google.api.client.util.Key private String readTime; + /** + * Optional. The request options for this request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * A pipelined operation. * The value may be {@code null}. @@ -128,6 +135,23 @@ public ExecutePipelineRequest setReadTime(String readTime) { return this; } + /** + * Optional. The request options for this request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for this request. + * @param requestOptions requestOptions or {@code null} for none + */ + public ExecutePipelineRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * A pipelined operation. * @return value or {@code null} for none diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/ListCollectionIdsRequest.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/ListCollectionIdsRequest.java index 5e2f0eead27..92c4a9e2a74 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/ListCollectionIdsRequest.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/ListCollectionIdsRequest.java @@ -52,6 +52,13 @@ public final class ListCollectionIdsRequest extends com.google.api.client.json.G @com.google.api.client.util.Key private String readTime; + /** + * Optional. The request options for this request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * The maximum number of results to return. * @return value or {@code null} for none @@ -107,6 +114,23 @@ public ListCollectionIdsRequest setReadTime(String readTime) { return this; } + /** + * Optional. The request options for this request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for this request. + * @param requestOptions requestOptions or {@code null} for none + */ + public ListCollectionIdsRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + @Override public ListCollectionIdsRequest set(String fieldName, Object value) { return (ListCollectionIdsRequest) super.set(fieldName, value); diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/ListenRequest.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/ListenRequest.java index 5dba0feb64c..d6c5c9f6b1d 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/ListenRequest.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/ListenRequest.java @@ -50,6 +50,13 @@ public final class ListenRequest extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.Integer removeTarget; + /** + * Optional. The request options for the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * A target to add to this stream. * @return value or {@code null} for none @@ -101,6 +108,23 @@ public ListenRequest setRemoveTarget(java.lang.Integer removeTarget) { return this; } + /** + * Optional. The request options for the request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for the request. + * @param requestOptions requestOptions or {@code null} for none + */ + public ListenRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + @Override public ListenRequest set(String fieldName, Object value) { return (ListenRequest) super.set(fieldName, value); diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/PartitionQueryRequest.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/PartitionQueryRequest.java index d4370979929..773c7f5d816 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/PartitionQueryRequest.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/PartitionQueryRequest.java @@ -73,6 +73,13 @@ public final class PartitionQueryRequest extends com.google.api.client.json.Gene @com.google.api.client.util.Key private String readTime; + /** + * Optional. The request options for the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * A structured query. Query must specify collection with all descendants and be ordered by name * ascending. Other filters, order bys, limits, offsets, and start/end cursors are not supported. @@ -181,6 +188,23 @@ public PartitionQueryRequest setReadTime(String readTime) { return this; } + /** + * Optional. The request options for the request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for the request. + * @param requestOptions requestOptions or {@code null} for none + */ + public PartitionQueryRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * A structured query. Query must specify collection with all descendants and be ordered by name * ascending. Other filters, order bys, limits, offsets, and start/end cursors are not supported. diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/RequestOptions.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/RequestOptions.java new file mode 100644 index 00000000000..eae2061a35b --- /dev/null +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/RequestOptions.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.firestore.v1.model; + +/** + * Options for a server request. + * + *

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 Cloud Firestore 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 RequestOptions extends com.google.api.client.json.GenericJson { + + /** + * Optional. The request tags for the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List requestTags; + + /** + * Optional. The request tags for the request. + * @return value or {@code null} for none + */ + public java.util.List getRequestTags() { + return requestTags; + } + + /** + * Optional. The request tags for the request. + * @param requestTags requestTags or {@code null} for none + */ + public RequestOptions setRequestTags(java.util.List requestTags) { + this.requestTags = requestTags; + return this; + } + + @Override + public RequestOptions set(String fieldName, Object value) { + return (RequestOptions) super.set(fieldName, value); + } + + @Override + public RequestOptions clone() { + return (RequestOptions) super.clone(); + } + +} diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/RollbackRequest.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/RollbackRequest.java index 3fd828f8651..c0effea892d 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/RollbackRequest.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/RollbackRequest.java @@ -29,6 +29,13 @@ @SuppressWarnings("javadoc") public final class RollbackRequest extends com.google.api.client.json.GenericJson { + /** + * Optional. The request options for this request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * Required. The transaction to roll back. * The value may be {@code null}. @@ -36,6 +43,23 @@ public final class RollbackRequest extends com.google.api.client.json.GenericJso @com.google.api.client.util.Key private java.lang.String transaction; + /** + * Optional. The request options for this request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for this request. + * @param requestOptions requestOptions or {@code null} for none + */ + public RollbackRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * Required. The transaction to roll back. * @see #decodeTransaction() diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/RunAggregationQueryRequest.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/RunAggregationQueryRequest.java index 7fc60012b8a..70331d0711e 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/RunAggregationQueryRequest.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/RunAggregationQueryRequest.java @@ -54,6 +54,13 @@ public final class RunAggregationQueryRequest extends com.google.api.client.json @com.google.api.client.util.Key private String readTime; + /** + * Optional. The request options for the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * An aggregation query. * The value may be {@code null}. @@ -128,6 +135,23 @@ public RunAggregationQueryRequest setReadTime(String readTime) { return this; } + /** + * Optional. The request options for the request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for the request. + * @param requestOptions requestOptions or {@code null} for none + */ + public RunAggregationQueryRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * An aggregation query. * @return value or {@code null} for none diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/RunQueryRequest.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/RunQueryRequest.java index 957b8b4637a..e16b69b4649 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/RunQueryRequest.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/RunQueryRequest.java @@ -54,6 +54,13 @@ public final class RunQueryRequest extends com.google.api.client.json.GenericJso @com.google.api.client.util.Key private String readTime; + /** + * Optional. The request options for this request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * A structured query. * The value may be {@code null}. @@ -128,6 +135,23 @@ public RunQueryRequest setReadTime(String readTime) { return this; } + /** + * Optional. The request options for this request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for this request. + * @param requestOptions requestOptions or {@code null} for none + */ + public RunQueryRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * A structured query. * @return value or {@code null} for none diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/WriteRequest.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/WriteRequest.java index b023c5cf9c7..e2db937980d 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/WriteRequest.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/WriteRequest.java @@ -40,6 +40,13 @@ public final class WriteRequest extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.util.Map labels; + /** + * Optional. The request options for the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * The ID of the write stream to resume. This may only be set in the first message. When left * empty, a new write stream will be created. @@ -91,6 +98,23 @@ public WriteRequest setLabels(java.util.Map labels) { return this; } + /** + * Optional. The request options for the request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for the request. + * @param requestOptions requestOptions or {@code null} for none + */ + public WriteRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * The ID of the write stream to resume. This may only be set in the first message. When left * empty, a new write stream will be created. diff --git a/clients/google-api-services-firestore/v1/2.0.0/pom.xml b/clients/google-api-services-firestore/v1/2.0.0/pom.xml index 70c0a264681..a045d6c8673 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/pom.xml +++ b/clients/google-api-services-firestore/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-firestore - v1-rev20260608-2.0.0 - Cloud Firestore API v1-rev20260608-2.0.0 + v1-rev20260702-2.0.0 + Cloud Firestore API v1-rev20260702-2.0.0 jar 2011 diff --git a/clients/google-api-services-firestore/v1/README.md b/clients/google-api-services-firestore/v1/README.md index 70f53ee26ae..7833cabf345 100644 --- a/clients/google-api-services-firestore/v1/README.md +++ b/clients/google-api-services-firestore/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-firestore - v1-rev20260608-2.0.0 + v1-rev20260702-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-firestore:v1-rev20260608-2.0.0' + implementation 'com.google.apis:google-api-services-firestore:v1-rev20260702-2.0.0' } ``` diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/README.md b/clients/google-api-services-firestore/v1beta1/2.0.0/README.md index fb5d6f817fc..364b98aeebb 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/README.md +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-firestore - v1beta1-rev20260608-2.0.0 + v1beta1-rev20260702-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-firestore:v1beta1-rev20260608-2.0.0' + implementation 'com.google.apis:google-api-services-firestore:v1beta1-rev20260702-2.0.0' } ``` diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/Firestore.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/Firestore.java index c70850edb71..6dfbb0fff66 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/Firestore.java +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/Firestore.java @@ -1249,6 +1249,22 @@ public CreateDocument setMaskFieldPaths(java.util.List maskFie return this; } + /** Optional. The request tags for the request. */ + @com.google.api.client.util.Key("requestOptions.requestTags") + private java.util.List requestOptionsRequestTags; + + /** Optional. The request tags for the request. + */ + public java.util.List getRequestOptionsRequestTags() { + return requestOptionsRequestTags; + } + + /** Optional. The request tags for the request. */ + public CreateDocument setRequestOptionsRequestTags(java.util.List requestOptionsRequestTags) { + this.requestOptionsRequestTags = requestOptionsRequestTags; + return this; + } + @Override public CreateDocument set(String parameterName, Object value) { return (CreateDocument) super.set(parameterName, value); @@ -1433,6 +1449,22 @@ public Delete setCurrentDocumentUpdateTime(String currentDocumentUpdateTime) { return this; } + /** Optional. The request tags for the request. */ + @com.google.api.client.util.Key("requestOptions.requestTags") + private java.util.List requestOptionsRequestTags; + + /** Optional. The request tags for the request. + */ + public java.util.List getRequestOptionsRequestTags() { + return requestOptionsRequestTags; + } + + /** Optional. The request tags for the request. */ + public Delete setRequestOptionsRequestTags(java.util.List requestOptionsRequestTags) { + this.requestOptionsRequestTags = requestOptionsRequestTags; + return this; + } + @Override public Delete set(String parameterName, Object value) { return (Delete) super.set(parameterName, value); @@ -1763,6 +1795,22 @@ public Get setReadTime(String readTime) { return this; } + /** Optional. The request tags for the request. */ + @com.google.api.client.util.Key("requestOptions.requestTags") + private java.util.List requestOptionsRequestTags; + + /** Optional. The request tags for the request. + */ + public java.util.List getRequestOptionsRequestTags() { + return requestOptionsRequestTags; + } + + /** Optional. The request tags for the request. */ + public Get setRequestOptionsRequestTags(java.util.List requestOptionsRequestTags) { + this.requestOptionsRequestTags = requestOptionsRequestTags; + return this; + } + /** Reads the document in a transaction. */ @com.google.api.client.util.Key private java.lang.String transaction; @@ -2099,6 +2147,54 @@ public List setReadTime(String readTime) { return this; } + /** + * Optional. If the list should recursively include all documents nested under the parent + * at any level. If the request specifies a `collection_id`, then the list will include + * all nested documents in the collection under the parent. This is optional, and when not + * provided, Firestore will only list documents nested immediately under the parent. + * Requests with `recursive` may not specify `show_missing`. + */ + @com.google.api.client.util.Key + private java.lang.Boolean recursive; + + /** Optional. If the list should recursively include all documents nested under the parent at any + level. If the request specifies a `collection_id`, then the list will include all nested documents + in the collection under the parent. This is optional, and when not provided, Firestore will only + list documents nested immediately under the parent. Requests with `recursive` may not specify + `show_missing`. + */ + public java.lang.Boolean getRecursive() { + return recursive; + } + + /** + * Optional. If the list should recursively include all documents nested under the parent + * at any level. If the request specifies a `collection_id`, then the list will include + * all nested documents in the collection under the parent. This is optional, and when not + * provided, Firestore will only list documents nested immediately under the parent. + * Requests with `recursive` may not specify `show_missing`. + */ + public List setRecursive(java.lang.Boolean recursive) { + this.recursive = recursive; + return this; + } + + /** Optional. The request tags for the request. */ + @com.google.api.client.util.Key("requestOptions.requestTags") + private java.util.List requestOptionsRequestTags; + + /** Optional. The request tags for the request. + */ + public java.util.List getRequestOptionsRequestTags() { + return requestOptionsRequestTags; + } + + /** Optional. The request tags for the request. */ + public List setRequestOptionsRequestTags(java.util.List requestOptionsRequestTags) { + this.requestOptionsRequestTags = requestOptionsRequestTags; + return this; + } + /** * If the list should show missing documents. A document is missing if it does not exist, * but there are sub-documents nested underneath it. When true, such missing documents @@ -2617,6 +2713,54 @@ public ListDocuments setReadTime(String readTime) { return this; } + /** + * Optional. If the list should recursively include all documents nested under the parent + * at any level. If the request specifies a `collection_id`, then the list will include + * all nested documents in the collection under the parent. This is optional, and when not + * provided, Firestore will only list documents nested immediately under the parent. + * Requests with `recursive` may not specify `show_missing`. + */ + @com.google.api.client.util.Key + private java.lang.Boolean recursive; + + /** Optional. If the list should recursively include all documents nested under the parent at any + level. If the request specifies a `collection_id`, then the list will include all nested documents + in the collection under the parent. This is optional, and when not provided, Firestore will only + list documents nested immediately under the parent. Requests with `recursive` may not specify + `show_missing`. + */ + public java.lang.Boolean getRecursive() { + return recursive; + } + + /** + * Optional. If the list should recursively include all documents nested under the parent + * at any level. If the request specifies a `collection_id`, then the list will include + * all nested documents in the collection under the parent. This is optional, and when not + * provided, Firestore will only list documents nested immediately under the parent. + * Requests with `recursive` may not specify `show_missing`. + */ + public ListDocuments setRecursive(java.lang.Boolean recursive) { + this.recursive = recursive; + return this; + } + + /** Optional. The request tags for the request. */ + @com.google.api.client.util.Key("requestOptions.requestTags") + private java.util.List requestOptionsRequestTags; + + /** Optional. The request tags for the request. + */ + public java.util.List getRequestOptionsRequestTags() { + return requestOptionsRequestTags; + } + + /** Optional. The request tags for the request. */ + public ListDocuments setRequestOptionsRequestTags(java.util.List requestOptionsRequestTags) { + this.requestOptionsRequestTags = requestOptionsRequestTags; + return this; + } + /** * If the list should show missing documents. A document is missing if it does not exist, * but there are sub-documents nested underneath it. When true, such missing documents @@ -3156,6 +3300,22 @@ public Patch setMaskFieldPaths(java.util.List maskFieldPaths) return this; } + /** Optional. The request tags for the request. */ + @com.google.api.client.util.Key("requestOptions.requestTags") + private java.util.List requestOptionsRequestTags; + + /** Optional. The request tags for the request. + */ + public java.util.List getRequestOptionsRequestTags() { + return requestOptionsRequestTags; + } + + /** Optional. The request tags for the request. */ + public Patch setRequestOptionsRequestTags(java.util.List requestOptionsRequestTags) { + this.requestOptionsRequestTags = requestOptionsRequestTags; + return this; + } + /** * The list of field paths in the mask. See Document.fields for a field path syntax * reference. diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/BatchGetDocumentsRequest.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/BatchGetDocumentsRequest.java index d4d36fb5ef7..ff93c805c06 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/BatchGetDocumentsRequest.java +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/BatchGetDocumentsRequest.java @@ -64,6 +64,13 @@ public final class BatchGetDocumentsRequest extends com.google.api.client.json.G @com.google.api.client.util.Key private String readTime; + /** + * Optional. The request options for this request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * Reads documents in a transaction. * The value may be {@code null}. @@ -153,6 +160,23 @@ public BatchGetDocumentsRequest setReadTime(String readTime) { return this; } + /** + * Optional. The request options for this request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for this request. + * @param requestOptions requestOptions or {@code null} for none + */ + public BatchGetDocumentsRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * Reads documents in a transaction. * @see #decodeTransaction() diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/BatchWriteRequest.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/BatchWriteRequest.java index cff64bd1ed2..f3486adfceb 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/BatchWriteRequest.java +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/BatchWriteRequest.java @@ -36,6 +36,13 @@ public final class BatchWriteRequest extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.util.Map labels; + /** + * Optional. The request options for this request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * The writes to apply. Method does not apply writes atomically and does not guarantee ordering. * Each write succeeds or fails independently. You cannot write to the same document more than @@ -62,6 +69,23 @@ public BatchWriteRequest setLabels(java.util.Map label return this; } + /** + * Optional. The request options for this request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for this request. + * @param requestOptions requestOptions or {@code null} for none + */ + public BatchWriteRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * The writes to apply. Method does not apply writes atomically and does not guarantee ordering. * Each write succeeds or fails independently. You cannot write to the same document more than diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/BeginTransactionRequest.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/BeginTransactionRequest.java index 9613c1be4d3..5a04958b713 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/BeginTransactionRequest.java +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/BeginTransactionRequest.java @@ -36,6 +36,13 @@ public final class BeginTransactionRequest extends com.google.api.client.json.Ge @com.google.api.client.util.Key private TransactionOptions options; + /** + * Optional. The request options for this request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * The options for the transaction. Defaults to a read-write transaction. * @return value or {@code null} for none @@ -53,6 +60,23 @@ public BeginTransactionRequest setOptions(TransactionOptions options) { return this; } + /** + * Optional. The request options for this request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for this request. + * @param requestOptions requestOptions or {@code null} for none + */ + public BeginTransactionRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + @Override public BeginTransactionRequest set(String fieldName, Object value) { return (BeginTransactionRequest) super.set(fieldName, value); diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/CommitRequest.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/CommitRequest.java index 32d2a70c99f..f8ddb71ffce 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/CommitRequest.java +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/CommitRequest.java @@ -29,6 +29,13 @@ @SuppressWarnings("javadoc") public final class CommitRequest extends com.google.api.client.json.GenericJson { + /** + * Optional. The request options for this request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * If set, applies all writes in this transaction, and commits it. * The value may be {@code null}. @@ -43,6 +50,23 @@ public final class CommitRequest extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.util.List writes; + /** + * Optional. The request options for this request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for this request. + * @param requestOptions requestOptions or {@code null} for none + */ + public CommitRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * If set, applies all writes in this transaction, and commits it. * @see #decodeTransaction() diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/ExecutePipelineRequest.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/ExecutePipelineRequest.java index bb993e14e14..4799e6ee9f5 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/ExecutePipelineRequest.java +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/ExecutePipelineRequest.java @@ -54,6 +54,13 @@ public final class ExecutePipelineRequest extends com.google.api.client.json.Gen @com.google.api.client.util.Key private String readTime; + /** + * Optional. The request options for this request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * A pipelined operation. * The value may be {@code null}. @@ -128,6 +135,23 @@ public ExecutePipelineRequest setReadTime(String readTime) { return this; } + /** + * Optional. The request options for this request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for this request. + * @param requestOptions requestOptions or {@code null} for none + */ + public ExecutePipelineRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * A pipelined operation. * @return value or {@code null} for none diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/ListCollectionIdsRequest.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/ListCollectionIdsRequest.java index 3929a1650c5..2f4e2761941 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/ListCollectionIdsRequest.java +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/ListCollectionIdsRequest.java @@ -52,6 +52,13 @@ public final class ListCollectionIdsRequest extends com.google.api.client.json.G @com.google.api.client.util.Key private String readTime; + /** + * Optional. The request options for this request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * The maximum number of results to return. * @return value or {@code null} for none @@ -107,6 +114,23 @@ public ListCollectionIdsRequest setReadTime(String readTime) { return this; } + /** + * Optional. The request options for this request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for this request. + * @param requestOptions requestOptions or {@code null} for none + */ + public ListCollectionIdsRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + @Override public ListCollectionIdsRequest set(String fieldName, Object value) { return (ListCollectionIdsRequest) super.set(fieldName, value); diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/ListenRequest.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/ListenRequest.java index 9eae7c2ba29..2f0c8102ffc 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/ListenRequest.java +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/ListenRequest.java @@ -50,6 +50,13 @@ public final class ListenRequest extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.Integer removeTarget; + /** + * Optional. The request options for the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * A target to add to this stream. * @return value or {@code null} for none @@ -101,6 +108,23 @@ public ListenRequest setRemoveTarget(java.lang.Integer removeTarget) { return this; } + /** + * Optional. The request options for the request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for the request. + * @param requestOptions requestOptions or {@code null} for none + */ + public ListenRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + @Override public ListenRequest set(String fieldName, Object value) { return (ListenRequest) super.set(fieldName, value); diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/PartitionQueryRequest.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/PartitionQueryRequest.java index 97e8216953c..5c3792aec1f 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/PartitionQueryRequest.java +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/PartitionQueryRequest.java @@ -73,6 +73,13 @@ public final class PartitionQueryRequest extends com.google.api.client.json.Gene @com.google.api.client.util.Key private String readTime; + /** + * Optional. The request options for the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * A structured query. Query must specify collection with all descendants and be ordered by name * ascending. Other filters, order bys, limits, offsets, and start/end cursors are not supported. @@ -181,6 +188,23 @@ public PartitionQueryRequest setReadTime(String readTime) { return this; } + /** + * Optional. The request options for the request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for the request. + * @param requestOptions requestOptions or {@code null} for none + */ + public PartitionQueryRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * A structured query. Query must specify collection with all descendants and be ordered by name * ascending. Other filters, order bys, limits, offsets, and start/end cursors are not supported. diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/RequestOptions.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/RequestOptions.java new file mode 100644 index 00000000000..da229081b25 --- /dev/null +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/RequestOptions.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.firestore.v1beta1.model; + +/** + * Options for a server request. + * + *

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 Cloud Firestore 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 RequestOptions extends com.google.api.client.json.GenericJson { + + /** + * Optional. The request tags for the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List requestTags; + + /** + * Optional. The request tags for the request. + * @return value or {@code null} for none + */ + public java.util.List getRequestTags() { + return requestTags; + } + + /** + * Optional. The request tags for the request. + * @param requestTags requestTags or {@code null} for none + */ + public RequestOptions setRequestTags(java.util.List requestTags) { + this.requestTags = requestTags; + return this; + } + + @Override + public RequestOptions set(String fieldName, Object value) { + return (RequestOptions) super.set(fieldName, value); + } + + @Override + public RequestOptions clone() { + return (RequestOptions) super.clone(); + } + +} diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/RollbackRequest.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/RollbackRequest.java index 67744969789..2e0dde84dc7 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/RollbackRequest.java +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/RollbackRequest.java @@ -29,6 +29,13 @@ @SuppressWarnings("javadoc") public final class RollbackRequest extends com.google.api.client.json.GenericJson { + /** + * Optional. The request options for this request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * Required. The transaction to roll back. * The value may be {@code null}. @@ -36,6 +43,23 @@ public final class RollbackRequest extends com.google.api.client.json.GenericJso @com.google.api.client.util.Key private java.lang.String transaction; + /** + * Optional. The request options for this request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for this request. + * @param requestOptions requestOptions or {@code null} for none + */ + public RollbackRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * Required. The transaction to roll back. * @see #decodeTransaction() diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/RunAggregationQueryRequest.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/RunAggregationQueryRequest.java index 1e0302a81fb..3040b6f7b4e 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/RunAggregationQueryRequest.java +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/RunAggregationQueryRequest.java @@ -54,6 +54,13 @@ public final class RunAggregationQueryRequest extends com.google.api.client.json @com.google.api.client.util.Key private String readTime; + /** + * Optional. The request options for the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * An aggregation query. * The value may be {@code null}. @@ -128,6 +135,23 @@ public RunAggregationQueryRequest setReadTime(String readTime) { return this; } + /** + * Optional. The request options for the request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for the request. + * @param requestOptions requestOptions or {@code null} for none + */ + public RunAggregationQueryRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * An aggregation query. * @return value or {@code null} for none diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/RunQueryRequest.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/RunQueryRequest.java index 84951084c7f..fad5a56cfd7 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/RunQueryRequest.java +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/RunQueryRequest.java @@ -54,6 +54,13 @@ public final class RunQueryRequest extends com.google.api.client.json.GenericJso @com.google.api.client.util.Key private String readTime; + /** + * Optional. The request options for this request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * A structured query. * The value may be {@code null}. @@ -128,6 +135,23 @@ public RunQueryRequest setReadTime(String readTime) { return this; } + /** + * Optional. The request options for this request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for this request. + * @param requestOptions requestOptions or {@code null} for none + */ + public RunQueryRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * A structured query. * @return value or {@code null} for none diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/WriteRequest.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/WriteRequest.java index 0b16a3bf5f9..0a28da4254a 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/WriteRequest.java +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/WriteRequest.java @@ -40,6 +40,13 @@ public final class WriteRequest extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.util.Map labels; + /** + * Optional. The request options for the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private RequestOptions requestOptions; + /** * The ID of the write stream to resume. This may only be set in the first message. When left * empty, a new write stream will be created. @@ -91,6 +98,23 @@ public WriteRequest setLabels(java.util.Map labels) { return this; } + /** + * Optional. The request options for the request. + * @return value or {@code null} for none + */ + public RequestOptions getRequestOptions() { + return requestOptions; + } + + /** + * Optional. The request options for the request. + * @param requestOptions requestOptions or {@code null} for none + */ + public WriteRequest setRequestOptions(RequestOptions requestOptions) { + this.requestOptions = requestOptions; + return this; + } + /** * The ID of the write stream to resume. This may only be set in the first message. When left * empty, a new write stream will be created. diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/pom.xml b/clients/google-api-services-firestore/v1beta1/2.0.0/pom.xml index c087ca94a85..b08350fb1f2 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-firestore - v1beta1-rev20260608-2.0.0 - Cloud Firestore API v1beta1-rev20260608-2.0.0 + v1beta1-rev20260702-2.0.0 + Cloud Firestore API v1beta1-rev20260702-2.0.0 jar 2011 diff --git a/clients/google-api-services-firestore/v1beta1/README.md b/clients/google-api-services-firestore/v1beta1/README.md index fb5d6f817fc..364b98aeebb 100644 --- a/clients/google-api-services-firestore/v1beta1/README.md +++ b/clients/google-api-services-firestore/v1beta1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-firestore - v1beta1-rev20260608-2.0.0 + v1beta1-rev20260702-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-firestore:v1beta1-rev20260608-2.0.0' + implementation 'com.google.apis:google-api-services-firestore:v1beta1-rev20260702-2.0.0' } ```