@google-cloud/firestore-api 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -109,3 +109,10 @@ message TransactionOptions {
109
109
  ReadWrite read_write = 3;
110
110
  }
111
111
  }
112
+
113
+ // Options for a server request.
114
+ message RequestOptions {
115
+ // The request tags for the request.
116
+ repeated string request_tags = 1 [(google.api.field_behavior) = OPTIONAL];
117
+ }
118
+
@@ -285,6 +285,9 @@ message GetDocumentRequest {
285
285
  // minute timestamp within the past 7 days.
286
286
  google.protobuf.Timestamp read_time = 5;
287
287
  }
288
+
289
+ // Optional. Any additional options for the request.
290
+ RequestOptions request_options = 10 [(google.api.field_behavior) = OPTIONAL];
288
291
  }
289
292
 
290
293
  // The request for
@@ -358,6 +361,9 @@ message ListDocumentsRequest {
358
361
  //
359
362
  // Requests with `show_missing` may not specify `where` or `order_by`.
360
363
  bool show_missing = 12;
364
+
365
+ // Optional. Any additional options for the request.
366
+ RequestOptions request_options = 13 [(google.api.field_behavior) = OPTIONAL];
361
367
  }
362
368
 
363
369
  // The response for
@@ -397,6 +403,9 @@ message CreateDocumentRequest {
397
403
  // If the document has a field that is not present in this mask, that field
398
404
  // will not be returned in the response.
399
405
  DocumentMask mask = 5;
406
+
407
+ // Optional. Any additional options for the request.
408
+ RequestOptions request_options = 6 [(google.api.field_behavior) = OPTIONAL];
400
409
  }
401
410
 
402
411
  // The request for
@@ -424,6 +433,9 @@ message UpdateDocumentRequest {
424
433
  // An optional precondition on the document.
425
434
  // The request will fail if this is set and not met by the target document.
426
435
  Precondition current_document = 4;
436
+
437
+ // Optional. Any additional options for the request.
438
+ RequestOptions request_options = 5 [(google.api.field_behavior) = OPTIONAL];
427
439
  }
428
440
 
429
441
  // The request for
@@ -436,6 +448,9 @@ message DeleteDocumentRequest {
436
448
  // An optional precondition on the document.
437
449
  // The request will fail if this is set and not met by the target document.
438
450
  Precondition current_document = 2;
451
+
452
+ // Optional. Any additional options for the request.
453
+ RequestOptions request_options = 3 [(google.api.field_behavior) = OPTIONAL];
439
454
  }
440
455
 
441
456
  // The request for
@@ -476,6 +491,9 @@ message BatchGetDocumentsRequest {
476
491
  // minute timestamp within the past 7 days.
477
492
  google.protobuf.Timestamp read_time = 7;
478
493
  }
494
+
495
+ // Optional. Any additional options for the request.
496
+ RequestOptions request_options = 8 [(google.api.field_behavior) = OPTIONAL];
479
497
  }
480
498
 
481
499
  // The streamed response for
@@ -515,6 +533,9 @@ message BeginTransactionRequest {
515
533
  // The options for the transaction.
516
534
  // Defaults to a read-write transaction.
517
535
  TransactionOptions options = 2;
536
+
537
+ // Optional. Any additional options for the request.
538
+ RequestOptions request_options = 3 [(google.api.field_behavior) = OPTIONAL];
518
539
  }
519
540
 
520
541
  // The response for
@@ -537,6 +558,9 @@ message CommitRequest {
537
558
 
538
559
  // If set, applies all writes in this transaction, and commits it.
539
560
  bytes transaction = 3;
561
+
562
+ // Optional. Any additional options for the request.
563
+ RequestOptions request_options = 4 [(google.api.field_behavior) = OPTIONAL];
540
564
  }
541
565
 
542
566
  // The response for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
@@ -560,6 +584,9 @@ message RollbackRequest {
560
584
 
561
585
  // Required. The transaction to roll back.
562
586
  bytes transaction = 2 [(google.api.field_behavior) = REQUIRED];
587
+
588
+ // Optional. Any additional options for the request.
589
+ RequestOptions request_options = 3 [(google.api.field_behavior) = OPTIONAL];
563
590
  }
564
591
 
565
592
  // The request for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
@@ -603,6 +630,9 @@ message RunQueryRequest {
603
630
  // Optional. Explain options for the query. If set, additional query
604
631
  // statistics will be returned. If not, only query results will be returned.
605
632
  ExplainOptions explain_options = 10 [(google.api.field_behavior) = OPTIONAL];
633
+
634
+ // Optional. Any additional options for the request.
635
+ RequestOptions request_options = 11 [(google.api.field_behavior) = OPTIONAL];
606
636
  }
607
637
 
608
638
  // The response for
@@ -683,6 +713,9 @@ message ExecutePipelineRequest {
683
713
  // executed. Only permitted in combination with `transaction` or
684
714
  // `new_transaction`.
685
715
  bool auto_commit_transaction = 9 [(google.api.field_behavior) = OPTIONAL];
716
+
717
+ // Optional. Any additional options for the request.
718
+ RequestOptions request_options = 10 [(google.api.field_behavior) = OPTIONAL];
686
719
  }
687
720
 
688
721
  // The response for [Firestore.Execute][].
@@ -771,6 +804,9 @@ message RunAggregationQueryRequest {
771
804
  // Optional. Explain options for the query. If set, additional query
772
805
  // statistics will be returned. If not, only query results will be returned.
773
806
  ExplainOptions explain_options = 8 [(google.api.field_behavior) = OPTIONAL];
807
+
808
+ // Optional. Any additional options for the request.
809
+ RequestOptions request_options = 9 [(google.api.field_behavior) = OPTIONAL];
774
810
  }
775
811
 
776
812
  // The response for
@@ -865,6 +901,9 @@ message PartitionQueryRequest {
865
901
  // minute timestamp within the past 7 days.
866
902
  google.protobuf.Timestamp read_time = 6;
867
903
  }
904
+
905
+ // Optional. Any additional options for the request.
906
+ RequestOptions request_options = 7 [(google.api.field_behavior) = OPTIONAL];
868
907
  }
869
908
 
870
909
  // The response for
@@ -942,6 +981,9 @@ message WriteRequest {
942
981
 
943
982
  // Labels associated with this write request.
944
983
  map<string, string> labels = 5;
984
+
985
+ // Optional. Any additional options for the request.
986
+ RequestOptions request_options = 6 [(google.api.field_behavior) = OPTIONAL];
945
987
  }
946
988
 
947
989
  // The response for [Firestore.Write][google.firestore.v1.Firestore.Write].
@@ -984,6 +1026,9 @@ message ListenRequest {
984
1026
 
985
1027
  // Labels associated with this target change.
986
1028
  map<string, string> labels = 4;
1029
+
1030
+ // Optional. Any additional options for the request.
1031
+ RequestOptions request_options = 5 [(google.api.field_behavior) = OPTIONAL];
987
1032
  }
988
1033
 
989
1034
  // The response for [Firestore.Listen][google.firestore.v1.Firestore.Listen].
@@ -1190,6 +1235,9 @@ message ListCollectionIdsRequest {
1190
1235
  // minute timestamp within the past 7 days.
1191
1236
  google.protobuf.Timestamp read_time = 4;
1192
1237
  }
1238
+
1239
+ // Optional. Any additional options for the request.
1240
+ RequestOptions request_options = 5 [(google.api.field_behavior) = OPTIONAL];
1193
1241
  }
1194
1242
 
1195
1243
  // The response from
@@ -1218,6 +1266,9 @@ message BatchWriteRequest {
1218
1266
 
1219
1267
  // Labels associated with this batch write.
1220
1268
  map<string, string> labels = 3;
1269
+
1270
+ // Optional. Any additional options for the request.
1271
+ RequestOptions request_options = 4 [(google.api.field_behavior) = OPTIONAL];
1221
1272
  }
1222
1273
 
1223
1274
  // The response from
@@ -11421,6 +11421,103 @@ export namespace google {
11421
11421
  }
11422
11422
  }
11423
11423
 
11424
+ /** Properties of a RequestOptions. */
11425
+ interface IRequestOptions {
11426
+
11427
+ /** RequestOptions requestTags */
11428
+ requestTags?: (string[]|null);
11429
+ }
11430
+
11431
+ /** Represents a RequestOptions. */
11432
+ class RequestOptions implements IRequestOptions {
11433
+
11434
+ /**
11435
+ * Constructs a new RequestOptions.
11436
+ * @param [properties] Properties to set
11437
+ */
11438
+ constructor(properties?: google.firestore.v1.IRequestOptions);
11439
+
11440
+ /** RequestOptions requestTags. */
11441
+ public requestTags: string[];
11442
+
11443
+ /**
11444
+ * Creates a new RequestOptions instance using the specified properties.
11445
+ * @param [properties] Properties to set
11446
+ * @returns RequestOptions instance
11447
+ */
11448
+ public static create(properties?: google.firestore.v1.IRequestOptions): google.firestore.v1.RequestOptions;
11449
+
11450
+ /**
11451
+ * Encodes the specified RequestOptions message. Does not implicitly {@link google.firestore.v1.RequestOptions.verify|verify} messages.
11452
+ * @param message RequestOptions message or plain object to encode
11453
+ * @param [writer] Writer to encode to
11454
+ * @returns Writer
11455
+ */
11456
+ public static encode(message: google.firestore.v1.IRequestOptions, writer?: $protobuf.Writer): $protobuf.Writer;
11457
+
11458
+ /**
11459
+ * Encodes the specified RequestOptions message, length delimited. Does not implicitly {@link google.firestore.v1.RequestOptions.verify|verify} messages.
11460
+ * @param message RequestOptions message or plain object to encode
11461
+ * @param [writer] Writer to encode to
11462
+ * @returns Writer
11463
+ */
11464
+ public static encodeDelimited(message: google.firestore.v1.IRequestOptions, writer?: $protobuf.Writer): $protobuf.Writer;
11465
+
11466
+ /**
11467
+ * Decodes a RequestOptions message from the specified reader or buffer.
11468
+ * @param reader Reader or buffer to decode from
11469
+ * @param [length] Message length if known beforehand
11470
+ * @returns RequestOptions
11471
+ * @throws {Error} If the payload is not a reader or valid buffer
11472
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11473
+ */
11474
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.firestore.v1.RequestOptions;
11475
+
11476
+ /**
11477
+ * Decodes a RequestOptions message from the specified reader or buffer, length delimited.
11478
+ * @param reader Reader or buffer to decode from
11479
+ * @returns RequestOptions
11480
+ * @throws {Error} If the payload is not a reader or valid buffer
11481
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11482
+ */
11483
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.firestore.v1.RequestOptions;
11484
+
11485
+ /**
11486
+ * Verifies a RequestOptions message.
11487
+ * @param message Plain object to verify
11488
+ * @returns `null` if valid, otherwise the reason why it is not
11489
+ */
11490
+ public static verify(message: { [k: string]: any }): (string|null);
11491
+
11492
+ /**
11493
+ * Creates a RequestOptions message from a plain object. Also converts values to their respective internal types.
11494
+ * @param object Plain object
11495
+ * @returns RequestOptions
11496
+ */
11497
+ public static fromObject(object: { [k: string]: any }): google.firestore.v1.RequestOptions;
11498
+
11499
+ /**
11500
+ * Creates a plain object from a RequestOptions message. Also converts values to other types if specified.
11501
+ * @param message RequestOptions
11502
+ * @param [options] Conversion options
11503
+ * @returns Plain object
11504
+ */
11505
+ public static toObject(message: google.firestore.v1.RequestOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
11506
+
11507
+ /**
11508
+ * Converts this RequestOptions to JSON.
11509
+ * @returns JSON object
11510
+ */
11511
+ public toJSON(): { [k: string]: any };
11512
+
11513
+ /**
11514
+ * Gets the default type url for RequestOptions
11515
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11516
+ * @returns The default type url
11517
+ */
11518
+ public static getTypeUrl(typeUrlPrefix?: string): string;
11519
+ }
11520
+
11424
11521
  /** Properties of an ExplainStats. */
11425
11522
  interface IExplainStats {
11426
11523
 
@@ -11913,6 +12010,9 @@ export namespace google {
11913
12010
 
11914
12011
  /** GetDocumentRequest readTime */
11915
12012
  readTime?: (google.protobuf.ITimestamp|null);
12013
+
12014
+ /** GetDocumentRequest requestOptions */
12015
+ requestOptions?: (google.firestore.v1.IRequestOptions|null);
11916
12016
  }
11917
12017
 
11918
12018
  /** Represents a GetDocumentRequest. */
@@ -11936,6 +12036,9 @@ export namespace google {
11936
12036
  /** GetDocumentRequest readTime. */
11937
12037
  public readTime?: (google.protobuf.ITimestamp|null);
11938
12038
 
12039
+ /** GetDocumentRequest requestOptions. */
12040
+ public requestOptions?: (google.firestore.v1.IRequestOptions|null);
12041
+
11939
12042
  /** GetDocumentRequest consistencySelector. */
11940
12043
  public consistencySelector?: ("transaction"|"readTime");
11941
12044
 
@@ -12046,6 +12149,9 @@ export namespace google {
12046
12149
 
12047
12150
  /** ListDocumentsRequest showMissing */
12048
12151
  showMissing?: (boolean|null);
12152
+
12153
+ /** ListDocumentsRequest requestOptions */
12154
+ requestOptions?: (google.firestore.v1.IRequestOptions|null);
12049
12155
  }
12050
12156
 
12051
12157
  /** Represents a ListDocumentsRequest. */
@@ -12084,6 +12190,9 @@ export namespace google {
12084
12190
  /** ListDocumentsRequest showMissing. */
12085
12191
  public showMissing: boolean;
12086
12192
 
12193
+ /** ListDocumentsRequest requestOptions. */
12194
+ public requestOptions?: (google.firestore.v1.IRequestOptions|null);
12195
+
12087
12196
  /** ListDocumentsRequest consistencySelector. */
12088
12197
  public consistencySelector?: ("transaction"|"readTime");
12089
12198
 
@@ -12285,6 +12394,9 @@ export namespace google {
12285
12394
 
12286
12395
  /** CreateDocumentRequest mask */
12287
12396
  mask?: (google.firestore.v1.IDocumentMask|null);
12397
+
12398
+ /** CreateDocumentRequest requestOptions */
12399
+ requestOptions?: (google.firestore.v1.IRequestOptions|null);
12288
12400
  }
12289
12401
 
12290
12402
  /** Represents a CreateDocumentRequest. */
@@ -12311,6 +12423,9 @@ export namespace google {
12311
12423
  /** CreateDocumentRequest mask. */
12312
12424
  public mask?: (google.firestore.v1.IDocumentMask|null);
12313
12425
 
12426
+ /** CreateDocumentRequest requestOptions. */
12427
+ public requestOptions?: (google.firestore.v1.IRequestOptions|null);
12428
+
12314
12429
  /**
12315
12430
  * Creates a new CreateDocumentRequest instance using the specified properties.
12316
12431
  * @param [properties] Properties to set
@@ -12403,6 +12518,9 @@ export namespace google {
12403
12518
 
12404
12519
  /** UpdateDocumentRequest currentDocument */
12405
12520
  currentDocument?: (google.firestore.v1.IPrecondition|null);
12521
+
12522
+ /** UpdateDocumentRequest requestOptions */
12523
+ requestOptions?: (google.firestore.v1.IRequestOptions|null);
12406
12524
  }
12407
12525
 
12408
12526
  /** Represents an UpdateDocumentRequest. */
@@ -12426,6 +12544,9 @@ export namespace google {
12426
12544
  /** UpdateDocumentRequest currentDocument. */
12427
12545
  public currentDocument?: (google.firestore.v1.IPrecondition|null);
12428
12546
 
12547
+ /** UpdateDocumentRequest requestOptions. */
12548
+ public requestOptions?: (google.firestore.v1.IRequestOptions|null);
12549
+
12429
12550
  /**
12430
12551
  * Creates a new UpdateDocumentRequest instance using the specified properties.
12431
12552
  * @param [properties] Properties to set
@@ -12512,6 +12633,9 @@ export namespace google {
12512
12633
 
12513
12634
  /** DeleteDocumentRequest currentDocument */
12514
12635
  currentDocument?: (google.firestore.v1.IPrecondition|null);
12636
+
12637
+ /** DeleteDocumentRequest requestOptions */
12638
+ requestOptions?: (google.firestore.v1.IRequestOptions|null);
12515
12639
  }
12516
12640
 
12517
12641
  /** Represents a DeleteDocumentRequest. */
@@ -12529,6 +12653,9 @@ export namespace google {
12529
12653
  /** DeleteDocumentRequest currentDocument. */
12530
12654
  public currentDocument?: (google.firestore.v1.IPrecondition|null);
12531
12655
 
12656
+ /** DeleteDocumentRequest requestOptions. */
12657
+ public requestOptions?: (google.firestore.v1.IRequestOptions|null);
12658
+
12532
12659
  /**
12533
12660
  * Creates a new DeleteDocumentRequest instance using the specified properties.
12534
12661
  * @param [properties] Properties to set
@@ -12627,6 +12754,9 @@ export namespace google {
12627
12754
 
12628
12755
  /** BatchGetDocumentsRequest readTime */
12629
12756
  readTime?: (google.protobuf.ITimestamp|null);
12757
+
12758
+ /** BatchGetDocumentsRequest requestOptions */
12759
+ requestOptions?: (google.firestore.v1.IRequestOptions|null);
12630
12760
  }
12631
12761
 
12632
12762
  /** Represents a BatchGetDocumentsRequest. */
@@ -12656,6 +12786,9 @@ export namespace google {
12656
12786
  /** BatchGetDocumentsRequest readTime. */
12657
12787
  public readTime?: (google.protobuf.ITimestamp|null);
12658
12788
 
12789
+ /** BatchGetDocumentsRequest requestOptions. */
12790
+ public requestOptions?: (google.firestore.v1.IRequestOptions|null);
12791
+
12659
12792
  /** BatchGetDocumentsRequest consistencySelector. */
12660
12793
  public consistencySelector?: ("transaction"|"newTransaction"|"readTime");
12661
12794
 
@@ -12863,6 +12996,9 @@ export namespace google {
12863
12996
 
12864
12997
  /** BeginTransactionRequest options */
12865
12998
  options?: (google.firestore.v1.ITransactionOptions|null);
12999
+
13000
+ /** BeginTransactionRequest requestOptions */
13001
+ requestOptions?: (google.firestore.v1.IRequestOptions|null);
12866
13002
  }
12867
13003
 
12868
13004
  /** Represents a BeginTransactionRequest. */
@@ -12880,6 +13016,9 @@ export namespace google {
12880
13016
  /** BeginTransactionRequest options. */
12881
13017
  public options?: (google.firestore.v1.ITransactionOptions|null);
12882
13018
 
13019
+ /** BeginTransactionRequest requestOptions. */
13020
+ public requestOptions?: (google.firestore.v1.IRequestOptions|null);
13021
+
12883
13022
  /**
12884
13023
  * Creates a new BeginTransactionRequest instance using the specified properties.
12885
13024
  * @param [properties] Properties to set
@@ -13066,6 +13205,9 @@ export namespace google {
13066
13205
 
13067
13206
  /** CommitRequest transaction */
13068
13207
  transaction?: (Uint8Array|Buffer|string|null);
13208
+
13209
+ /** CommitRequest requestOptions */
13210
+ requestOptions?: (google.firestore.v1.IRequestOptions|null);
13069
13211
  }
13070
13212
 
13071
13213
  /** Represents a CommitRequest. */
@@ -13086,6 +13228,9 @@ export namespace google {
13086
13228
  /** CommitRequest transaction. */
13087
13229
  public transaction: (Uint8Array|Buffer|string);
13088
13230
 
13231
+ /** CommitRequest requestOptions. */
13232
+ public requestOptions?: (google.firestore.v1.IRequestOptions|null);
13233
+
13089
13234
  /**
13090
13235
  * Creates a new CommitRequest instance using the specified properties.
13091
13236
  * @param [properties] Properties to set
@@ -13275,6 +13420,9 @@ export namespace google {
13275
13420
 
13276
13421
  /** RollbackRequest transaction */
13277
13422
  transaction?: (Uint8Array|Buffer|string|null);
13423
+
13424
+ /** RollbackRequest requestOptions */
13425
+ requestOptions?: (google.firestore.v1.IRequestOptions|null);
13278
13426
  }
13279
13427
 
13280
13428
  /** Represents a RollbackRequest. */
@@ -13292,6 +13440,9 @@ export namespace google {
13292
13440
  /** RollbackRequest transaction. */
13293
13441
  public transaction: (Uint8Array|Buffer|string);
13294
13442
 
13443
+ /** RollbackRequest requestOptions. */
13444
+ public requestOptions?: (google.firestore.v1.IRequestOptions|null);
13445
+
13295
13446
  /**
13296
13447
  * Creates a new RollbackRequest instance using the specified properties.
13297
13448
  * @param [properties] Properties to set
@@ -13390,6 +13541,9 @@ export namespace google {
13390
13541
 
13391
13542
  /** RunQueryRequest explainOptions */
13392
13543
  explainOptions?: (google.firestore.v1.IExplainOptions|null);
13544
+
13545
+ /** RunQueryRequest requestOptions */
13546
+ requestOptions?: (google.firestore.v1.IRequestOptions|null);
13393
13547
  }
13394
13548
 
13395
13549
  /** Represents a RunQueryRequest. */
@@ -13419,6 +13573,9 @@ export namespace google {
13419
13573
  /** RunQueryRequest explainOptions. */
13420
13574
  public explainOptions?: (google.firestore.v1.IExplainOptions|null);
13421
13575
 
13576
+ /** RunQueryRequest requestOptions. */
13577
+ public requestOptions?: (google.firestore.v1.IRequestOptions|null);
13578
+
13422
13579
  /** RunQueryRequest queryType. */
13423
13580
  public queryType?: "structuredQuery";
13424
13581
 
@@ -13653,6 +13810,9 @@ export namespace google {
13653
13810
 
13654
13811
  /** ExecutePipelineRequest autoCommitTransaction */
13655
13812
  autoCommitTransaction?: (boolean|null);
13813
+
13814
+ /** ExecutePipelineRequest requestOptions */
13815
+ requestOptions?: (google.firestore.v1.IRequestOptions|null);
13656
13816
  }
13657
13817
 
13658
13818
  /** Represents an ExecutePipelineRequest. */
@@ -13682,6 +13842,9 @@ export namespace google {
13682
13842
  /** ExecutePipelineRequest autoCommitTransaction. */
13683
13843
  public autoCommitTransaction: boolean;
13684
13844
 
13845
+ /** ExecutePipelineRequest requestOptions. */
13846
+ public requestOptions?: (google.firestore.v1.IRequestOptions|null);
13847
+
13685
13848
  /** ExecutePipelineRequest pipelineType. */
13686
13849
  public pipelineType?: "structuredPipeline";
13687
13850
 
@@ -13901,6 +14064,9 @@ export namespace google {
13901
14064
 
13902
14065
  /** RunAggregationQueryRequest explainOptions */
13903
14066
  explainOptions?: (google.firestore.v1.IExplainOptions|null);
14067
+
14068
+ /** RunAggregationQueryRequest requestOptions */
14069
+ requestOptions?: (google.firestore.v1.IRequestOptions|null);
13904
14070
  }
13905
14071
 
13906
14072
  /** Represents a RunAggregationQueryRequest. */
@@ -13930,6 +14096,9 @@ export namespace google {
13930
14096
  /** RunAggregationQueryRequest explainOptions. */
13931
14097
  public explainOptions?: (google.firestore.v1.IExplainOptions|null);
13932
14098
 
14099
+ /** RunAggregationQueryRequest requestOptions. */
14100
+ public requestOptions?: (google.firestore.v1.IRequestOptions|null);
14101
+
13933
14102
  /** RunAggregationQueryRequest queryType. */
13934
14103
  public queryType?: "structuredAggregationQuery";
13935
14104
 
@@ -14149,6 +14318,9 @@ export namespace google {
14149
14318
 
14150
14319
  /** PartitionQueryRequest readTime */
14151
14320
  readTime?: (google.protobuf.ITimestamp|null);
14321
+
14322
+ /** PartitionQueryRequest requestOptions */
14323
+ requestOptions?: (google.firestore.v1.IRequestOptions|null);
14152
14324
  }
14153
14325
 
14154
14326
  /** Represents a PartitionQueryRequest. */
@@ -14178,6 +14350,9 @@ export namespace google {
14178
14350
  /** PartitionQueryRequest readTime. */
14179
14351
  public readTime?: (google.protobuf.ITimestamp|null);
14180
14352
 
14353
+ /** PartitionQueryRequest requestOptions. */
14354
+ public requestOptions?: (google.firestore.v1.IRequestOptions|null);
14355
+
14181
14356
  /** PartitionQueryRequest queryType. */
14182
14357
  public queryType?: "structuredQuery";
14183
14358
 
@@ -14382,6 +14557,9 @@ export namespace google {
14382
14557
 
14383
14558
  /** WriteRequest labels */
14384
14559
  labels?: ({ [k: string]: string }|null);
14560
+
14561
+ /** WriteRequest requestOptions */
14562
+ requestOptions?: (google.firestore.v1.IRequestOptions|null);
14385
14563
  }
14386
14564
 
14387
14565
  /** Represents a WriteRequest. */
@@ -14408,6 +14586,9 @@ export namespace google {
14408
14586
  /** WriteRequest labels. */
14409
14587
  public labels: { [k: string]: string };
14410
14588
 
14589
+ /** WriteRequest requestOptions. */
14590
+ public requestOptions?: (google.firestore.v1.IRequestOptions|null);
14591
+
14411
14592
  /**
14412
14593
  * Creates a new WriteRequest instance using the specified properties.
14413
14594
  * @param [properties] Properties to set
@@ -14615,6 +14796,9 @@ export namespace google {
14615
14796
 
14616
14797
  /** ListenRequest labels */
14617
14798
  labels?: ({ [k: string]: string }|null);
14799
+
14800
+ /** ListenRequest requestOptions */
14801
+ requestOptions?: (google.firestore.v1.IRequestOptions|null);
14618
14802
  }
14619
14803
 
14620
14804
  /** Represents a ListenRequest. */
@@ -14638,6 +14822,9 @@ export namespace google {
14638
14822
  /** ListenRequest labels. */
14639
14823
  public labels: { [k: string]: string };
14640
14824
 
14825
+ /** ListenRequest requestOptions. */
14826
+ public requestOptions?: (google.firestore.v1.IRequestOptions|null);
14827
+
14641
14828
  /** ListenRequest targetChange. */
14642
14829
  public targetChange?: ("addTarget"|"removeTarget");
14643
14830
 
@@ -15335,6 +15522,9 @@ export namespace google {
15335
15522
 
15336
15523
  /** ListCollectionIdsRequest readTime */
15337
15524
  readTime?: (google.protobuf.ITimestamp|null);
15525
+
15526
+ /** ListCollectionIdsRequest requestOptions */
15527
+ requestOptions?: (google.firestore.v1.IRequestOptions|null);
15338
15528
  }
15339
15529
 
15340
15530
  /** Represents a ListCollectionIdsRequest. */
@@ -15358,6 +15548,9 @@ export namespace google {
15358
15548
  /** ListCollectionIdsRequest readTime. */
15359
15549
  public readTime?: (google.protobuf.ITimestamp|null);
15360
15550
 
15551
+ /** ListCollectionIdsRequest requestOptions. */
15552
+ public requestOptions?: (google.firestore.v1.IRequestOptions|null);
15553
+
15361
15554
  /** ListCollectionIdsRequest consistencySelector. */
15362
15555
  public consistencySelector?: "readTime";
15363
15556
 
@@ -15553,6 +15746,9 @@ export namespace google {
15553
15746
 
15554
15747
  /** BatchWriteRequest labels */
15555
15748
  labels?: ({ [k: string]: string }|null);
15749
+
15750
+ /** BatchWriteRequest requestOptions */
15751
+ requestOptions?: (google.firestore.v1.IRequestOptions|null);
15556
15752
  }
15557
15753
 
15558
15754
  /** Represents a BatchWriteRequest. */
@@ -15573,6 +15769,9 @@ export namespace google {
15573
15769
  /** BatchWriteRequest labels. */
15574
15770
  public labels: { [k: string]: string };
15575
15771
 
15772
+ /** BatchWriteRequest requestOptions. */
15773
+ public requestOptions?: (google.firestore.v1.IRequestOptions|null);
15774
+
15576
15775
  /**
15577
15776
  * Creates a new BatchWriteRequest instance using the specified properties.
15578
15777
  * @param [properties] Properties to set