Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-firestore/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-firestore</artifactId>
<version>v1-rev20260608-2.0.0</version>
<version>v1-rev20260702-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4502,6 +4502,22 @@ public CreateDocument setMaskFieldPaths(java.util.List<java.lang.String> maskFie
return this;
}

/** Optional. The request tags for the request. */
@com.google.api.client.util.Key("requestOptions.requestTags")
private java.util.List<java.lang.String> requestOptionsRequestTags;

/** Optional. The request tags for the request.
*/
public java.util.List<java.lang.String> getRequestOptionsRequestTags() {
return requestOptionsRequestTags;
}

/** Optional. The request tags for the request. */
public CreateDocument setRequestOptionsRequestTags(java.util.List<java.lang.String> requestOptionsRequestTags) {
this.requestOptionsRequestTags = requestOptionsRequestTags;
return this;
}

@Override
public CreateDocument set(String parameterName, Object value) {
return (CreateDocument) super.set(parameterName, value);
Expand Down Expand Up @@ -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<java.lang.String> requestOptionsRequestTags;

/** Optional. The request tags for the request.
*/
public java.util.List<java.lang.String> getRequestOptionsRequestTags() {
return requestOptionsRequestTags;
}

/** Optional. The request tags for the request. */
public Delete setRequestOptionsRequestTags(java.util.List<java.lang.String> requestOptionsRequestTags) {
this.requestOptionsRequestTags = requestOptionsRequestTags;
return this;
}

@Override
public Delete set(String parameterName, Object value) {
return (Delete) super.set(parameterName, value);
Expand Down Expand Up @@ -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<java.lang.String> requestOptionsRequestTags;

/** Optional. The request tags for the request.
*/
public java.util.List<java.lang.String> getRequestOptionsRequestTags() {
return requestOptionsRequestTags;
}

/** Optional. The request tags for the request. */
public Get setRequestOptionsRequestTags(java.util.List<java.lang.String> requestOptionsRequestTags) {
this.requestOptionsRequestTags = requestOptionsRequestTags;
return this;
}

/** Reads the document in a transaction. */
@com.google.api.client.util.Key
private java.lang.String transaction;
Expand Down Expand Up @@ -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<java.lang.String> requestOptionsRequestTags;

/** Optional. The request tags for the request.
*/
public java.util.List<java.lang.String> getRequestOptionsRequestTags() {
return requestOptionsRequestTags;
}

/** Optional. The request tags for the request. */
public List setRequestOptionsRequestTags(java.util.List<java.lang.String> 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
Expand Down Expand Up @@ -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<java.lang.String> requestOptionsRequestTags;

/** Optional. The request tags for the request.
*/
public java.util.List<java.lang.String> getRequestOptionsRequestTags() {
return requestOptionsRequestTags;
}

/** Optional. The request tags for the request. */
public ListDocuments setRequestOptionsRequestTags(java.util.List<java.lang.String> 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
Expand Down Expand Up @@ -6409,6 +6553,22 @@ public Patch setMaskFieldPaths(java.util.List<java.lang.String> maskFieldPaths)
return this;
}

/** Optional. The request tags for the request. */
@com.google.api.client.util.Key("requestOptions.requestTags")
private java.util.List<java.lang.String> requestOptionsRequestTags;

/** Optional. The request tags for the request.
*/
public java.util.List<java.lang.String> getRequestOptionsRequestTags() {
return requestOptionsRequestTags;
}

/** Optional. The request tags for the request. */
public Patch setRequestOptionsRequestTags(java.util.List<java.lang.String> requestOptionsRequestTags) {
this.requestOptionsRequestTags = requestOptionsRequestTags;
return this;
}

/**
* The list of field paths in the mask. See Document.fields for a field path syntax
* reference.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, java.lang.String> 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
Expand All @@ -62,6 +69,23 @@ public BatchWriteRequest setLabels(java.util.Map<String, java.lang.String> 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand All @@ -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<Write> 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()
Expand Down
Loading
Loading