google-apis-firestore_v1beta1 0.53.0 → 0.54.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 555e8a4a8fb4ff8efcc9420646f4aa93cad25a5392a857d6c2e104f2c669f0cd
|
|
4
|
+
data.tar.gz: 1c67d79fb89424cfd528091a3ff1ce59da25f02d1331e955c262ae3b33a280b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c360598486059444ac6812ddb448c579adbe164c2f2370f2763de72411fd5facc1c0ced6466fa1d2825c37bbdb2057a5955526db2bc157c5589d6e4b9230e49f
|
|
7
|
+
data.tar.gz: 76ba6654116ef1e3cf4cfad510b174876bcbea7092afa203522180a5ee7bdba584ed35002f21efbfa639f4a2af572ad68db3cdd87a437de6db52fb4dc81a2534
|
data/CHANGELOG.md
CHANGED
|
@@ -180,11 +180,6 @@ module Google
|
|
|
180
180
|
# @return [String]
|
|
181
181
|
attr_accessor :read_time
|
|
182
182
|
|
|
183
|
-
# Options for a server request.
|
|
184
|
-
# Corresponds to the JSON property `requestOptions`
|
|
185
|
-
# @return [Google::Apis::FirestoreV1beta1::RequestOptions]
|
|
186
|
-
attr_accessor :request_options
|
|
187
|
-
|
|
188
183
|
# Reads documents in a transaction.
|
|
189
184
|
# Corresponds to the JSON property `transaction`
|
|
190
185
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
@@ -201,7 +196,6 @@ module Google
|
|
|
201
196
|
@mask = args[:mask] if args.key?(:mask)
|
|
202
197
|
@new_transaction = args[:new_transaction] if args.key?(:new_transaction)
|
|
203
198
|
@read_time = args[:read_time] if args.key?(:read_time)
|
|
204
|
-
@request_options = args[:request_options] if args.key?(:request_options)
|
|
205
199
|
@transaction = args[:transaction] if args.key?(:transaction)
|
|
206
200
|
end
|
|
207
201
|
end
|
|
@@ -258,11 +252,6 @@ module Google
|
|
|
258
252
|
# @return [Hash<String,String>]
|
|
259
253
|
attr_accessor :labels
|
|
260
254
|
|
|
261
|
-
# Options for a server request.
|
|
262
|
-
# Corresponds to the JSON property `requestOptions`
|
|
263
|
-
# @return [Google::Apis::FirestoreV1beta1::RequestOptions]
|
|
264
|
-
attr_accessor :request_options
|
|
265
|
-
|
|
266
255
|
# The writes to apply. Method does not apply writes atomically and does not
|
|
267
256
|
# guarantee ordering. Each write succeeds or fails independently. You cannot
|
|
268
257
|
# write to the same document more than once per request.
|
|
@@ -277,7 +266,6 @@ module Google
|
|
|
277
266
|
# Update properties of this object
|
|
278
267
|
def update!(**args)
|
|
279
268
|
@labels = args[:labels] if args.key?(:labels)
|
|
280
|
-
@request_options = args[:request_options] if args.key?(:request_options)
|
|
281
269
|
@writes = args[:writes] if args.key?(:writes)
|
|
282
270
|
end
|
|
283
271
|
end
|
|
@@ -318,11 +306,6 @@ module Google
|
|
|
318
306
|
# @return [Google::Apis::FirestoreV1beta1::TransactionOptions]
|
|
319
307
|
attr_accessor :options
|
|
320
308
|
|
|
321
|
-
# Options for a server request.
|
|
322
|
-
# Corresponds to the JSON property `requestOptions`
|
|
323
|
-
# @return [Google::Apis::FirestoreV1beta1::RequestOptions]
|
|
324
|
-
attr_accessor :request_options
|
|
325
|
-
|
|
326
309
|
def initialize(**args)
|
|
327
310
|
update!(**args)
|
|
328
311
|
end
|
|
@@ -330,7 +313,6 @@ module Google
|
|
|
330
313
|
# Update properties of this object
|
|
331
314
|
def update!(**args)
|
|
332
315
|
@options = args[:options] if args.key?(:options)
|
|
333
|
-
@request_options = args[:request_options] if args.key?(:request_options)
|
|
334
316
|
end
|
|
335
317
|
end
|
|
336
318
|
|
|
@@ -468,11 +450,6 @@ module Google
|
|
|
468
450
|
class CommitRequest
|
|
469
451
|
include Google::Apis::Core::Hashable
|
|
470
452
|
|
|
471
|
-
# Options for a server request.
|
|
472
|
-
# Corresponds to the JSON property `requestOptions`
|
|
473
|
-
# @return [Google::Apis::FirestoreV1beta1::RequestOptions]
|
|
474
|
-
attr_accessor :request_options
|
|
475
|
-
|
|
476
453
|
# If set, applies all writes in this transaction, and commits it.
|
|
477
454
|
# Corresponds to the JSON property `transaction`
|
|
478
455
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
@@ -490,7 +467,6 @@ module Google
|
|
|
490
467
|
|
|
491
468
|
# Update properties of this object
|
|
492
469
|
def update!(**args)
|
|
493
|
-
@request_options = args[:request_options] if args.key?(:request_options)
|
|
494
470
|
@transaction = args[:transaction] if args.key?(:transaction)
|
|
495
471
|
@writes = args[:writes] if args.key?(:writes)
|
|
496
472
|
end
|
|
@@ -875,11 +851,6 @@ module Google
|
|
|
875
851
|
# @return [String]
|
|
876
852
|
attr_accessor :read_time
|
|
877
853
|
|
|
878
|
-
# Options for a server request.
|
|
879
|
-
# Corresponds to the JSON property `requestOptions`
|
|
880
|
-
# @return [Google::Apis::FirestoreV1beta1::RequestOptions]
|
|
881
|
-
attr_accessor :request_options
|
|
882
|
-
|
|
883
854
|
# A Firestore query represented as an ordered list of operations / stages. This
|
|
884
855
|
# is considered the top-level function which plans and executes a query. It is
|
|
885
856
|
# logically equivalent to `query(stages, options)`, but prevents the client from
|
|
@@ -904,7 +875,6 @@ module Google
|
|
|
904
875
|
@auto_commit_transaction = args[:auto_commit_transaction] if args.key?(:auto_commit_transaction)
|
|
905
876
|
@new_transaction = args[:new_transaction] if args.key?(:new_transaction)
|
|
906
877
|
@read_time = args[:read_time] if args.key?(:read_time)
|
|
907
|
-
@request_options = args[:request_options] if args.key?(:request_options)
|
|
908
878
|
@structured_pipeline = args[:structured_pipeline] if args.key?(:structured_pipeline)
|
|
909
879
|
@transaction = args[:transaction] if args.key?(:transaction)
|
|
910
880
|
end
|
|
@@ -2110,11 +2080,6 @@ module Google
|
|
|
2110
2080
|
# @return [String]
|
|
2111
2081
|
attr_accessor :read_time
|
|
2112
2082
|
|
|
2113
|
-
# Options for a server request.
|
|
2114
|
-
# Corresponds to the JSON property `requestOptions`
|
|
2115
|
-
# @return [Google::Apis::FirestoreV1beta1::RequestOptions]
|
|
2116
|
-
attr_accessor :request_options
|
|
2117
|
-
|
|
2118
2083
|
def initialize(**args)
|
|
2119
2084
|
update!(**args)
|
|
2120
2085
|
end
|
|
@@ -2124,7 +2089,6 @@ module Google
|
|
|
2124
2089
|
@page_size = args[:page_size] if args.key?(:page_size)
|
|
2125
2090
|
@page_token = args[:page_token] if args.key?(:page_token)
|
|
2126
2091
|
@read_time = args[:read_time] if args.key?(:read_time)
|
|
2127
|
-
@request_options = args[:request_options] if args.key?(:request_options)
|
|
2128
2092
|
end
|
|
2129
2093
|
end
|
|
2130
2094
|
|
|
@@ -2198,11 +2162,6 @@ module Google
|
|
|
2198
2162
|
# @return [Fixnum]
|
|
2199
2163
|
attr_accessor :remove_target
|
|
2200
2164
|
|
|
2201
|
-
# Options for a server request.
|
|
2202
|
-
# Corresponds to the JSON property `requestOptions`
|
|
2203
|
-
# @return [Google::Apis::FirestoreV1beta1::RequestOptions]
|
|
2204
|
-
attr_accessor :request_options
|
|
2205
|
-
|
|
2206
2165
|
def initialize(**args)
|
|
2207
2166
|
update!(**args)
|
|
2208
2167
|
end
|
|
@@ -2212,7 +2171,6 @@ module Google
|
|
|
2212
2171
|
@add_target = args[:add_target] if args.key?(:add_target)
|
|
2213
2172
|
@labels = args[:labels] if args.key?(:labels)
|
|
2214
2173
|
@remove_target = args[:remove_target] if args.key?(:remove_target)
|
|
2215
|
-
@request_options = args[:request_options] if args.key?(:request_options)
|
|
2216
2174
|
end
|
|
2217
2175
|
end
|
|
2218
2176
|
|
|
@@ -2359,11 +2317,6 @@ module Google
|
|
|
2359
2317
|
# @return [String]
|
|
2360
2318
|
attr_accessor :read_time
|
|
2361
2319
|
|
|
2362
|
-
# Options for a server request.
|
|
2363
|
-
# Corresponds to the JSON property `requestOptions`
|
|
2364
|
-
# @return [Google::Apis::FirestoreV1beta1::RequestOptions]
|
|
2365
|
-
attr_accessor :request_options
|
|
2366
|
-
|
|
2367
2320
|
# A Firestore query. The query stages are executed in the following order: 1.
|
|
2368
2321
|
# from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit 7.
|
|
2369
2322
|
# find_nearest
|
|
@@ -2381,7 +2334,6 @@ module Google
|
|
|
2381
2334
|
@page_token = args[:page_token] if args.key?(:page_token)
|
|
2382
2335
|
@partition_count = args[:partition_count] if args.key?(:partition_count)
|
|
2383
2336
|
@read_time = args[:read_time] if args.key?(:read_time)
|
|
2384
|
-
@request_options = args[:request_options] if args.key?(:request_options)
|
|
2385
2337
|
@structured_query = args[:structured_query] if args.key?(:structured_query)
|
|
2386
2338
|
end
|
|
2387
2339
|
end
|
|
@@ -2592,34 +2544,10 @@ module Google
|
|
|
2592
2544
|
end
|
|
2593
2545
|
end
|
|
2594
2546
|
|
|
2595
|
-
# Options for a server request.
|
|
2596
|
-
class RequestOptions
|
|
2597
|
-
include Google::Apis::Core::Hashable
|
|
2598
|
-
|
|
2599
|
-
# Optional. The request tags for the request.
|
|
2600
|
-
# Corresponds to the JSON property `requestTags`
|
|
2601
|
-
# @return [Array<String>]
|
|
2602
|
-
attr_accessor :request_tags
|
|
2603
|
-
|
|
2604
|
-
def initialize(**args)
|
|
2605
|
-
update!(**args)
|
|
2606
|
-
end
|
|
2607
|
-
|
|
2608
|
-
# Update properties of this object
|
|
2609
|
-
def update!(**args)
|
|
2610
|
-
@request_tags = args[:request_tags] if args.key?(:request_tags)
|
|
2611
|
-
end
|
|
2612
|
-
end
|
|
2613
|
-
|
|
2614
2547
|
# The request for Firestore.Rollback.
|
|
2615
2548
|
class RollbackRequest
|
|
2616
2549
|
include Google::Apis::Core::Hashable
|
|
2617
2550
|
|
|
2618
|
-
# Options for a server request.
|
|
2619
|
-
# Corresponds to the JSON property `requestOptions`
|
|
2620
|
-
# @return [Google::Apis::FirestoreV1beta1::RequestOptions]
|
|
2621
|
-
attr_accessor :request_options
|
|
2622
|
-
|
|
2623
2551
|
# Required. The transaction to roll back.
|
|
2624
2552
|
# Corresponds to the JSON property `transaction`
|
|
2625
2553
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
@@ -2632,7 +2560,6 @@ module Google
|
|
|
2632
2560
|
|
|
2633
2561
|
# Update properties of this object
|
|
2634
2562
|
def update!(**args)
|
|
2635
|
-
@request_options = args[:request_options] if args.key?(:request_options)
|
|
2636
2563
|
@transaction = args[:transaction] if args.key?(:transaction)
|
|
2637
2564
|
end
|
|
2638
2565
|
end
|
|
@@ -2658,11 +2585,6 @@ module Google
|
|
|
2658
2585
|
# @return [String]
|
|
2659
2586
|
attr_accessor :read_time
|
|
2660
2587
|
|
|
2661
|
-
# Options for a server request.
|
|
2662
|
-
# Corresponds to the JSON property `requestOptions`
|
|
2663
|
-
# @return [Google::Apis::FirestoreV1beta1::RequestOptions]
|
|
2664
|
-
attr_accessor :request_options
|
|
2665
|
-
|
|
2666
2588
|
# Firestore query for running an aggregation over a StructuredQuery.
|
|
2667
2589
|
# Corresponds to the JSON property `structuredAggregationQuery`
|
|
2668
2590
|
# @return [Google::Apis::FirestoreV1beta1::StructuredAggregationQuery]
|
|
@@ -2684,7 +2606,6 @@ module Google
|
|
|
2684
2606
|
@explain_options = args[:explain_options] if args.key?(:explain_options)
|
|
2685
2607
|
@new_transaction = args[:new_transaction] if args.key?(:new_transaction)
|
|
2686
2608
|
@read_time = args[:read_time] if args.key?(:read_time)
|
|
2687
|
-
@request_options = args[:request_options] if args.key?(:request_options)
|
|
2688
2609
|
@structured_aggregation_query = args[:structured_aggregation_query] if args.key?(:structured_aggregation_query)
|
|
2689
2610
|
@transaction = args[:transaction] if args.key?(:transaction)
|
|
2690
2611
|
end
|
|
@@ -2756,11 +2677,6 @@ module Google
|
|
|
2756
2677
|
# @return [String]
|
|
2757
2678
|
attr_accessor :read_time
|
|
2758
2679
|
|
|
2759
|
-
# Options for a server request.
|
|
2760
|
-
# Corresponds to the JSON property `requestOptions`
|
|
2761
|
-
# @return [Google::Apis::FirestoreV1beta1::RequestOptions]
|
|
2762
|
-
attr_accessor :request_options
|
|
2763
|
-
|
|
2764
2680
|
# A Firestore query. The query stages are executed in the following order: 1.
|
|
2765
2681
|
# from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit 7.
|
|
2766
2682
|
# find_nearest
|
|
@@ -2784,7 +2700,6 @@ module Google
|
|
|
2784
2700
|
@explain_options = args[:explain_options] if args.key?(:explain_options)
|
|
2785
2701
|
@new_transaction = args[:new_transaction] if args.key?(:new_transaction)
|
|
2786
2702
|
@read_time = args[:read_time] if args.key?(:read_time)
|
|
2787
|
-
@request_options = args[:request_options] if args.key?(:request_options)
|
|
2788
2703
|
@structured_query = args[:structured_query] if args.key?(:structured_query)
|
|
2789
2704
|
@transaction = args[:transaction] if args.key?(:transaction)
|
|
2790
2705
|
end
|
|
@@ -3476,11 +3391,6 @@ module Google
|
|
|
3476
3391
|
# @return [Hash<String,String>]
|
|
3477
3392
|
attr_accessor :labels
|
|
3478
3393
|
|
|
3479
|
-
# Options for a server request.
|
|
3480
|
-
# Corresponds to the JSON property `requestOptions`
|
|
3481
|
-
# @return [Google::Apis::FirestoreV1beta1::RequestOptions]
|
|
3482
|
-
attr_accessor :request_options
|
|
3483
|
-
|
|
3484
3394
|
# The ID of the write stream to resume. This may only be set in the first
|
|
3485
3395
|
# message. When left empty, a new write stream will be created.
|
|
3486
3396
|
# Corresponds to the JSON property `streamId`
|
|
@@ -3514,7 +3424,6 @@ module Google
|
|
|
3514
3424
|
# Update properties of this object
|
|
3515
3425
|
def update!(**args)
|
|
3516
3426
|
@labels = args[:labels] if args.key?(:labels)
|
|
3517
|
-
@request_options = args[:request_options] if args.key?(:request_options)
|
|
3518
3427
|
@stream_id = args[:stream_id] if args.key?(:stream_id)
|
|
3519
3428
|
@stream_token = args[:stream_token] if args.key?(:stream_token)
|
|
3520
3429
|
@writes = args[:writes] if args.key?(:writes)
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module FirestoreV1beta1
|
|
18
18
|
# Version of the google-apis-firestore_v1beta1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.54.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260706"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -478,12 +478,6 @@ module Google
|
|
|
478
478
|
include Google::Apis::Core::JsonObjectSupport
|
|
479
479
|
end
|
|
480
480
|
|
|
481
|
-
class RequestOptions
|
|
482
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
483
|
-
|
|
484
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
485
|
-
end
|
|
486
|
-
|
|
487
481
|
class RollbackRequest
|
|
488
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
489
483
|
|
|
@@ -650,8 +644,6 @@ module Google
|
|
|
650
644
|
property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1beta1::TransactionOptions, decorator: Google::Apis::FirestoreV1beta1::TransactionOptions::Representation
|
|
651
645
|
|
|
652
646
|
property :read_time, as: 'readTime'
|
|
653
|
-
property :request_options, as: 'requestOptions', class: Google::Apis::FirestoreV1beta1::RequestOptions, decorator: Google::Apis::FirestoreV1beta1::RequestOptions::Representation
|
|
654
|
-
|
|
655
647
|
property :transaction, :base64 => true, as: 'transaction'
|
|
656
648
|
end
|
|
657
649
|
end
|
|
@@ -671,8 +663,6 @@ module Google
|
|
|
671
663
|
# @private
|
|
672
664
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
673
665
|
hash :labels, as: 'labels'
|
|
674
|
-
property :request_options, as: 'requestOptions', class: Google::Apis::FirestoreV1beta1::RequestOptions, decorator: Google::Apis::FirestoreV1beta1::RequestOptions::Representation
|
|
675
|
-
|
|
676
666
|
collection :writes, as: 'writes', class: Google::Apis::FirestoreV1beta1::Write, decorator: Google::Apis::FirestoreV1beta1::Write::Representation
|
|
677
667
|
|
|
678
668
|
end
|
|
@@ -693,8 +683,6 @@ module Google
|
|
|
693
683
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
694
684
|
property :options, as: 'options', class: Google::Apis::FirestoreV1beta1::TransactionOptions, decorator: Google::Apis::FirestoreV1beta1::TransactionOptions::Representation
|
|
695
685
|
|
|
696
|
-
property :request_options, as: 'requestOptions', class: Google::Apis::FirestoreV1beta1::RequestOptions, decorator: Google::Apis::FirestoreV1beta1::RequestOptions::Representation
|
|
697
|
-
|
|
698
686
|
end
|
|
699
687
|
end
|
|
700
688
|
|
|
@@ -733,8 +721,6 @@ module Google
|
|
|
733
721
|
class CommitRequest
|
|
734
722
|
# @private
|
|
735
723
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
736
|
-
property :request_options, as: 'requestOptions', class: Google::Apis::FirestoreV1beta1::RequestOptions, decorator: Google::Apis::FirestoreV1beta1::RequestOptions::Representation
|
|
737
|
-
|
|
738
724
|
property :transaction, :base64 => true, as: 'transaction'
|
|
739
725
|
collection :writes, as: 'writes', class: Google::Apis::FirestoreV1beta1::Write, decorator: Google::Apis::FirestoreV1beta1::Write::Representation
|
|
740
726
|
|
|
@@ -850,8 +836,6 @@ module Google
|
|
|
850
836
|
property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1beta1::TransactionOptions, decorator: Google::Apis::FirestoreV1beta1::TransactionOptions::Representation
|
|
851
837
|
|
|
852
838
|
property :read_time, as: 'readTime'
|
|
853
|
-
property :request_options, as: 'requestOptions', class: Google::Apis::FirestoreV1beta1::RequestOptions, decorator: Google::Apis::FirestoreV1beta1::RequestOptions::Representation
|
|
854
|
-
|
|
855
839
|
property :structured_pipeline, as: 'structuredPipeline', class: Google::Apis::FirestoreV1beta1::StructuredPipeline, decorator: Google::Apis::FirestoreV1beta1::StructuredPipeline::Representation
|
|
856
840
|
|
|
857
841
|
property :transaction, :base64 => true, as: 'transaction'
|
|
@@ -1199,8 +1183,6 @@ module Google
|
|
|
1199
1183
|
property :page_size, as: 'pageSize'
|
|
1200
1184
|
property :page_token, as: 'pageToken'
|
|
1201
1185
|
property :read_time, as: 'readTime'
|
|
1202
|
-
property :request_options, as: 'requestOptions', class: Google::Apis::FirestoreV1beta1::RequestOptions, decorator: Google::Apis::FirestoreV1beta1::RequestOptions::Representation
|
|
1203
|
-
|
|
1204
1186
|
end
|
|
1205
1187
|
end
|
|
1206
1188
|
|
|
@@ -1228,8 +1210,6 @@ module Google
|
|
|
1228
1210
|
|
|
1229
1211
|
hash :labels, as: 'labels'
|
|
1230
1212
|
property :remove_target, as: 'removeTarget'
|
|
1231
|
-
property :request_options, as: 'requestOptions', class: Google::Apis::FirestoreV1beta1::RequestOptions, decorator: Google::Apis::FirestoreV1beta1::RequestOptions::Representation
|
|
1232
|
-
|
|
1233
1213
|
end
|
|
1234
1214
|
end
|
|
1235
1215
|
|
|
@@ -1273,8 +1253,6 @@ module Google
|
|
|
1273
1253
|
property :page_token, as: 'pageToken'
|
|
1274
1254
|
property :partition_count, :numeric_string => true, as: 'partitionCount'
|
|
1275
1255
|
property :read_time, as: 'readTime'
|
|
1276
|
-
property :request_options, as: 'requestOptions', class: Google::Apis::FirestoreV1beta1::RequestOptions, decorator: Google::Apis::FirestoreV1beta1::RequestOptions::Representation
|
|
1277
|
-
|
|
1278
1256
|
property :structured_query, as: 'structuredQuery', class: Google::Apis::FirestoreV1beta1::StructuredQuery, decorator: Google::Apis::FirestoreV1beta1::StructuredQuery::Representation
|
|
1279
1257
|
|
|
1280
1258
|
end
|
|
@@ -1344,18 +1322,9 @@ module Google
|
|
|
1344
1322
|
end
|
|
1345
1323
|
end
|
|
1346
1324
|
|
|
1347
|
-
class RequestOptions
|
|
1348
|
-
# @private
|
|
1349
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1350
|
-
collection :request_tags, as: 'requestTags'
|
|
1351
|
-
end
|
|
1352
|
-
end
|
|
1353
|
-
|
|
1354
1325
|
class RollbackRequest
|
|
1355
1326
|
# @private
|
|
1356
1327
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1357
|
-
property :request_options, as: 'requestOptions', class: Google::Apis::FirestoreV1beta1::RequestOptions, decorator: Google::Apis::FirestoreV1beta1::RequestOptions::Representation
|
|
1358
|
-
|
|
1359
1328
|
property :transaction, :base64 => true, as: 'transaction'
|
|
1360
1329
|
end
|
|
1361
1330
|
end
|
|
@@ -1368,8 +1337,6 @@ module Google
|
|
|
1368
1337
|
property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1beta1::TransactionOptions, decorator: Google::Apis::FirestoreV1beta1::TransactionOptions::Representation
|
|
1369
1338
|
|
|
1370
1339
|
property :read_time, as: 'readTime'
|
|
1371
|
-
property :request_options, as: 'requestOptions', class: Google::Apis::FirestoreV1beta1::RequestOptions, decorator: Google::Apis::FirestoreV1beta1::RequestOptions::Representation
|
|
1372
|
-
|
|
1373
1340
|
property :structured_aggregation_query, as: 'structuredAggregationQuery', class: Google::Apis::FirestoreV1beta1::StructuredAggregationQuery, decorator: Google::Apis::FirestoreV1beta1::StructuredAggregationQuery::Representation
|
|
1374
1341
|
|
|
1375
1342
|
property :transaction, :base64 => true, as: 'transaction'
|
|
@@ -1396,8 +1363,6 @@ module Google
|
|
|
1396
1363
|
property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1beta1::TransactionOptions, decorator: Google::Apis::FirestoreV1beta1::TransactionOptions::Representation
|
|
1397
1364
|
|
|
1398
1365
|
property :read_time, as: 'readTime'
|
|
1399
|
-
property :request_options, as: 'requestOptions', class: Google::Apis::FirestoreV1beta1::RequestOptions, decorator: Google::Apis::FirestoreV1beta1::RequestOptions::Representation
|
|
1400
|
-
|
|
1401
1366
|
property :structured_query, as: 'structuredQuery', class: Google::Apis::FirestoreV1beta1::StructuredQuery, decorator: Google::Apis::FirestoreV1beta1::StructuredQuery::Representation
|
|
1402
1367
|
|
|
1403
1368
|
property :transaction, :base64 => true, as: 'transaction'
|
|
@@ -1581,8 +1546,6 @@ module Google
|
|
|
1581
1546
|
# @private
|
|
1582
1547
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1583
1548
|
hash :labels, as: 'labels'
|
|
1584
|
-
property :request_options, as: 'requestOptions', class: Google::Apis::FirestoreV1beta1::RequestOptions, decorator: Google::Apis::FirestoreV1beta1::RequestOptions::Representation
|
|
1585
|
-
|
|
1586
1549
|
property :stream_id, as: 'streamId'
|
|
1587
1550
|
property :stream_token, :base64 => true, as: 'streamToken'
|
|
1588
1551
|
collection :writes, as: 'writes', class: Google::Apis::FirestoreV1beta1::Write, decorator: Google::Apis::FirestoreV1beta1::Write::Representation
|
|
@@ -286,8 +286,6 @@ module Google
|
|
|
286
286
|
# @param [Array<String>, String] mask_field_paths
|
|
287
287
|
# The list of field paths in the mask. See Document.fields for a field path
|
|
288
288
|
# syntax reference.
|
|
289
|
-
# @param [Array<String>, String] request_options_request_tags
|
|
290
|
-
# Optional. The request tags for the request.
|
|
291
289
|
# @param [String] fields
|
|
292
290
|
# Selector specifying which fields to include in a partial response.
|
|
293
291
|
# @param [String] quota_user
|
|
@@ -305,7 +303,7 @@ module Google
|
|
|
305
303
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
306
304
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
307
305
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
308
|
-
def create_project_database_document_document(parent, collection_id, document_object = nil, document_id: nil, mask_field_paths: nil,
|
|
306
|
+
def create_project_database_document_document(parent, collection_id, document_object = nil, document_id: nil, mask_field_paths: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
309
307
|
command = make_simple_command(:post, 'v1beta1/{+parent}/{collectionId}', options)
|
|
310
308
|
command.request_representation = Google::Apis::FirestoreV1beta1::Document::Representation
|
|
311
309
|
command.request_object = document_object
|
|
@@ -315,7 +313,6 @@ module Google
|
|
|
315
313
|
command.params['collectionId'] = collection_id unless collection_id.nil?
|
|
316
314
|
command.query['documentId'] = document_id unless document_id.nil?
|
|
317
315
|
command.query['mask.fieldPaths'] = mask_field_paths unless mask_field_paths.nil?
|
|
318
|
-
command.query['requestOptions.requestTags'] = request_options_request_tags unless request_options_request_tags.nil?
|
|
319
316
|
command.query['fields'] = fields unless fields.nil?
|
|
320
317
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
321
318
|
execute_or_queue_command(command, &block)
|
|
@@ -331,8 +328,6 @@ module Google
|
|
|
331
328
|
# @param [String] current_document_update_time
|
|
332
329
|
# When set, the target document must exist and have been last updated at that
|
|
333
330
|
# time. Timestamp must be microsecond aligned.
|
|
334
|
-
# @param [Array<String>, String] request_options_request_tags
|
|
335
|
-
# Optional. The request tags for the request.
|
|
336
331
|
# @param [String] fields
|
|
337
332
|
# Selector specifying which fields to include in a partial response.
|
|
338
333
|
# @param [String] quota_user
|
|
@@ -350,14 +345,13 @@ module Google
|
|
|
350
345
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
351
346
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
352
347
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
353
|
-
def delete_project_database_document(name, current_document_exists: nil, current_document_update_time: nil,
|
|
348
|
+
def delete_project_database_document(name, current_document_exists: nil, current_document_update_time: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
354
349
|
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
355
350
|
command.response_representation = Google::Apis::FirestoreV1beta1::Empty::Representation
|
|
356
351
|
command.response_class = Google::Apis::FirestoreV1beta1::Empty
|
|
357
352
|
command.params['name'] = name unless name.nil?
|
|
358
353
|
command.query['currentDocument.exists'] = current_document_exists unless current_document_exists.nil?
|
|
359
354
|
command.query['currentDocument.updateTime'] = current_document_update_time unless current_document_update_time.nil?
|
|
360
|
-
command.query['requestOptions.requestTags'] = request_options_request_tags unless request_options_request_tags.nil?
|
|
361
355
|
command.query['fields'] = fields unless fields.nil?
|
|
362
356
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
363
357
|
execute_or_queue_command(command, &block)
|
|
@@ -409,8 +403,6 @@ module Google
|
|
|
409
403
|
# microsecond precision timestamp within the past one hour, or if Point-in-Time
|
|
410
404
|
# Recovery is enabled, can additionally be a whole minute timestamp within the
|
|
411
405
|
# past 7 days.
|
|
412
|
-
# @param [Array<String>, String] request_options_request_tags
|
|
413
|
-
# Optional. The request tags for the request.
|
|
414
406
|
# @param [String] transaction
|
|
415
407
|
# Reads the document in a transaction.
|
|
416
408
|
# @param [String] fields
|
|
@@ -430,14 +422,13 @@ module Google
|
|
|
430
422
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
431
423
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
432
424
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
433
|
-
def get_project_database_document(name, mask_field_paths: nil, read_time: nil,
|
|
425
|
+
def get_project_database_document(name, mask_field_paths: nil, read_time: nil, transaction: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
434
426
|
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
435
427
|
command.response_representation = Google::Apis::FirestoreV1beta1::Document::Representation
|
|
436
428
|
command.response_class = Google::Apis::FirestoreV1beta1::Document
|
|
437
429
|
command.params['name'] = name unless name.nil?
|
|
438
430
|
command.query['mask.fieldPaths'] = mask_field_paths unless mask_field_paths.nil?
|
|
439
431
|
command.query['readTime'] = read_time unless read_time.nil?
|
|
440
|
-
command.query['requestOptions.requestTags'] = request_options_request_tags unless request_options_request_tags.nil?
|
|
441
432
|
command.query['transaction'] = transaction unless transaction.nil?
|
|
442
433
|
command.query['fields'] = fields unless fields.nil?
|
|
443
434
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -482,8 +473,6 @@ module Google
|
|
|
482
473
|
# This is optional, and when not provided, Firestore will only list documents
|
|
483
474
|
# nested immediately under the parent. Requests with `recursive` may not specify
|
|
484
475
|
# `show_missing`.
|
|
485
|
-
# @param [Array<String>, String] request_options_request_tags
|
|
486
|
-
# Optional. The request tags for the request.
|
|
487
476
|
# @param [Boolean] show_missing
|
|
488
477
|
# If the list should show missing documents. A document is missing if it does
|
|
489
478
|
# not exist, but there are sub-documents nested underneath it. When true, such
|
|
@@ -509,7 +498,7 @@ module Google
|
|
|
509
498
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
510
499
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
511
500
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
512
|
-
def list_project_database_documents(parent, collection_id, mask_field_paths: nil, order_by: nil, page_size: nil, page_token: nil, read_time: nil, recursive: nil,
|
|
501
|
+
def list_project_database_documents(parent, collection_id, mask_field_paths: nil, order_by: nil, page_size: nil, page_token: nil, read_time: nil, recursive: nil, show_missing: nil, transaction: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
513
502
|
command = make_simple_command(:get, 'v1beta1/{+parent}/{collectionId}', options)
|
|
514
503
|
command.response_representation = Google::Apis::FirestoreV1beta1::ListDocumentsResponse::Representation
|
|
515
504
|
command.response_class = Google::Apis::FirestoreV1beta1::ListDocumentsResponse
|
|
@@ -521,7 +510,6 @@ module Google
|
|
|
521
510
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
522
511
|
command.query['readTime'] = read_time unless read_time.nil?
|
|
523
512
|
command.query['recursive'] = recursive unless recursive.nil?
|
|
524
|
-
command.query['requestOptions.requestTags'] = request_options_request_tags unless request_options_request_tags.nil?
|
|
525
513
|
command.query['showMissing'] = show_missing unless show_missing.nil?
|
|
526
514
|
command.query['transaction'] = transaction unless transaction.nil?
|
|
527
515
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -603,8 +591,6 @@ module Google
|
|
|
603
591
|
# This is optional, and when not provided, Firestore will only list documents
|
|
604
592
|
# nested immediately under the parent. Requests with `recursive` may not specify
|
|
605
593
|
# `show_missing`.
|
|
606
|
-
# @param [Array<String>, String] request_options_request_tags
|
|
607
|
-
# Optional. The request tags for the request.
|
|
608
594
|
# @param [Boolean] show_missing
|
|
609
595
|
# If the list should show missing documents. A document is missing if it does
|
|
610
596
|
# not exist, but there are sub-documents nested underneath it. When true, such
|
|
@@ -630,7 +616,7 @@ module Google
|
|
|
630
616
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
631
617
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
632
618
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
633
|
-
def list_project_database_document_documents(parent, collection_id, mask_field_paths: nil, order_by: nil, page_size: nil, page_token: nil, read_time: nil, recursive: nil,
|
|
619
|
+
def list_project_database_document_documents(parent, collection_id, mask_field_paths: nil, order_by: nil, page_size: nil, page_token: nil, read_time: nil, recursive: nil, show_missing: nil, transaction: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
634
620
|
command = make_simple_command(:get, 'v1beta1/{+parent}/{collectionId}', options)
|
|
635
621
|
command.response_representation = Google::Apis::FirestoreV1beta1::ListDocumentsResponse::Representation
|
|
636
622
|
command.response_class = Google::Apis::FirestoreV1beta1::ListDocumentsResponse
|
|
@@ -642,7 +628,6 @@ module Google
|
|
|
642
628
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
643
629
|
command.query['readTime'] = read_time unless read_time.nil?
|
|
644
630
|
command.query['recursive'] = recursive unless recursive.nil?
|
|
645
|
-
command.query['requestOptions.requestTags'] = request_options_request_tags unless request_options_request_tags.nil?
|
|
646
631
|
command.query['showMissing'] = show_missing unless show_missing.nil?
|
|
647
632
|
command.query['transaction'] = transaction unless transaction.nil?
|
|
648
633
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -736,8 +721,6 @@ module Google
|
|
|
736
721
|
# @param [Array<String>, String] mask_field_paths
|
|
737
722
|
# The list of field paths in the mask. See Document.fields for a field path
|
|
738
723
|
# syntax reference.
|
|
739
|
-
# @param [Array<String>, String] request_options_request_tags
|
|
740
|
-
# Optional. The request tags for the request.
|
|
741
724
|
# @param [Array<String>, String] update_mask_field_paths
|
|
742
725
|
# The list of field paths in the mask. See Document.fields for a field path
|
|
743
726
|
# syntax reference.
|
|
@@ -758,7 +741,7 @@ module Google
|
|
|
758
741
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
759
742
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
760
743
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
761
|
-
def patch_project_database_document(name, document_object = nil, current_document_exists: nil, current_document_update_time: nil, mask_field_paths: nil,
|
|
744
|
+
def patch_project_database_document(name, document_object = nil, current_document_exists: nil, current_document_update_time: nil, mask_field_paths: nil, update_mask_field_paths: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
762
745
|
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
|
763
746
|
command.request_representation = Google::Apis::FirestoreV1beta1::Document::Representation
|
|
764
747
|
command.request_object = document_object
|
|
@@ -768,7 +751,6 @@ module Google
|
|
|
768
751
|
command.query['currentDocument.exists'] = current_document_exists unless current_document_exists.nil?
|
|
769
752
|
command.query['currentDocument.updateTime'] = current_document_update_time unless current_document_update_time.nil?
|
|
770
753
|
command.query['mask.fieldPaths'] = mask_field_paths unless mask_field_paths.nil?
|
|
771
|
-
command.query['requestOptions.requestTags'] = request_options_request_tags unless request_options_request_tags.nil?
|
|
772
754
|
command.query['updateMask.fieldPaths'] = update_mask_field_paths unless update_mask_field_paths.nil?
|
|
773
755
|
command.query['fields'] = fields unless fields.nil?
|
|
774
756
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-firestore_v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.54.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1beta1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta1/v0.54.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1beta1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|