google-apis-firestore_v1 0.62.0 → 0.63.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: c6974b6fe903f1d7ee1557c20778bf8c5c41e2cca3d48aad1a2becd6f9e8d14b
|
4
|
+
data.tar.gz: 11dca6f1ef3fbc3b58229f4bd4164f6db06d0e71a0da8dd43cf3a6e5c3dcc497
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4871a8b91bd894379a92743002fa145a1df7e22cb95ad160e047aab88fcb6d2f925b173915cc12001aeccfab1b627cf9630fddb30e8a8c730c4f38076afaf46a
|
7
|
+
data.tar.gz: 5816f5db16f720a6868e31cfa7c0c15e6b1f1f3b8862de2f9facbb3f84dde666a7f01a8428f772a2b935aec9e02576e15a6071ceac6fd2daf9435282d51842b6
|
data/CHANGELOG.md
CHANGED
@@ -826,6 +826,48 @@ module Google
|
|
826
826
|
end
|
827
827
|
end
|
828
828
|
|
829
|
+
# Execution statistics for the query.
|
830
|
+
class ExecutionStats
|
831
|
+
include Google::Apis::Core::Hashable
|
832
|
+
|
833
|
+
# Debugging statistics from the execution of the query. Note that the debugging
|
834
|
+
# stats are subject to change as Firestore evolves. It could include: ` "
|
835
|
+
# indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details"
|
836
|
+
# : ` "documents_billable": "20", "index_entries_billable": "1000", "
|
837
|
+
# min_query_cost": "0" ` `
|
838
|
+
# Corresponds to the JSON property `debugStats`
|
839
|
+
# @return [Hash<String,Object>]
|
840
|
+
attr_accessor :debug_stats
|
841
|
+
|
842
|
+
# Total time to execute the query in the backend.
|
843
|
+
# Corresponds to the JSON property `executionDuration`
|
844
|
+
# @return [String]
|
845
|
+
attr_accessor :execution_duration
|
846
|
+
|
847
|
+
# Total billable read operations.
|
848
|
+
# Corresponds to the JSON property `readOperations`
|
849
|
+
# @return [Fixnum]
|
850
|
+
attr_accessor :read_operations
|
851
|
+
|
852
|
+
# Total number of results returned, including documents, projections,
|
853
|
+
# aggregation results, keys.
|
854
|
+
# Corresponds to the JSON property `resultsReturned`
|
855
|
+
# @return [Fixnum]
|
856
|
+
attr_accessor :results_returned
|
857
|
+
|
858
|
+
def initialize(**args)
|
859
|
+
update!(**args)
|
860
|
+
end
|
861
|
+
|
862
|
+
# Update properties of this object
|
863
|
+
def update!(**args)
|
864
|
+
@debug_stats = args[:debug_stats] if args.key?(:debug_stats)
|
865
|
+
@execution_duration = args[:execution_duration] if args.key?(:execution_duration)
|
866
|
+
@read_operations = args[:read_operations] if args.key?(:read_operations)
|
867
|
+
@results_returned = args[:results_returned] if args.key?(:results_returned)
|
868
|
+
end
|
869
|
+
end
|
870
|
+
|
829
871
|
# A digest of all the documents that match a given target.
|
830
872
|
class ExistenceFilter
|
831
873
|
include Google::Apis::Core::Hashable
|
@@ -869,6 +911,54 @@ module Google
|
|
869
911
|
end
|
870
912
|
end
|
871
913
|
|
914
|
+
# Explain metrics for the query.
|
915
|
+
class ExplainMetrics
|
916
|
+
include Google::Apis::Core::Hashable
|
917
|
+
|
918
|
+
# Execution statistics for the query.
|
919
|
+
# Corresponds to the JSON property `executionStats`
|
920
|
+
# @return [Google::Apis::FirestoreV1::ExecutionStats]
|
921
|
+
attr_accessor :execution_stats
|
922
|
+
|
923
|
+
# Planning phase information for the query.
|
924
|
+
# Corresponds to the JSON property `planSummary`
|
925
|
+
# @return [Google::Apis::FirestoreV1::PlanSummary]
|
926
|
+
attr_accessor :plan_summary
|
927
|
+
|
928
|
+
def initialize(**args)
|
929
|
+
update!(**args)
|
930
|
+
end
|
931
|
+
|
932
|
+
# Update properties of this object
|
933
|
+
def update!(**args)
|
934
|
+
@execution_stats = args[:execution_stats] if args.key?(:execution_stats)
|
935
|
+
@plan_summary = args[:plan_summary] if args.key?(:plan_summary)
|
936
|
+
end
|
937
|
+
end
|
938
|
+
|
939
|
+
# Explain options for the query.
|
940
|
+
class ExplainOptions
|
941
|
+
include Google::Apis::Core::Hashable
|
942
|
+
|
943
|
+
# Optional. Whether to execute this query. When false (the default), the query
|
944
|
+
# will be planned, returning only metrics from the planning stages. When true,
|
945
|
+
# the query will be planned and executed, returning the full query results along
|
946
|
+
# with both planning and execution stage metrics.
|
947
|
+
# Corresponds to the JSON property `analyze`
|
948
|
+
# @return [Boolean]
|
949
|
+
attr_accessor :analyze
|
950
|
+
alias_method :analyze?, :analyze
|
951
|
+
|
952
|
+
def initialize(**args)
|
953
|
+
update!(**args)
|
954
|
+
end
|
955
|
+
|
956
|
+
# Update properties of this object
|
957
|
+
def update!(**args)
|
958
|
+
@analyze = args[:analyze] if args.key?(:analyze)
|
959
|
+
end
|
960
|
+
end
|
961
|
+
|
872
962
|
# A filter on a specific field.
|
873
963
|
class FieldFilter
|
874
964
|
include Google::Apis::Core::Hashable
|
@@ -1079,7 +1169,7 @@ module Google
|
|
1079
1169
|
# @return [String]
|
1080
1170
|
attr_accessor :create_time
|
1081
1171
|
|
1082
|
-
#
|
1172
|
+
# Represents a recurring schedule that runs at a specific time every day. The
|
1083
1173
|
# time zone is UTC.
|
1084
1174
|
# Corresponds to the JSON property `dailyRecurrence`
|
1085
1175
|
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1DailyRecurrence]
|
@@ -1175,7 +1265,7 @@ module Google
|
|
1175
1265
|
end
|
1176
1266
|
end
|
1177
1267
|
|
1178
|
-
#
|
1268
|
+
# Represents a recurring schedule that runs at a specific time every day. The
|
1179
1269
|
# time zone is UTC.
|
1180
1270
|
class GoogleFirestoreAdminV1DailyRecurrence
|
1181
1271
|
include Google::Apis::Core::Hashable
|
@@ -2871,6 +2961,27 @@ module Google
|
|
2871
2961
|
end
|
2872
2962
|
end
|
2873
2963
|
|
2964
|
+
# Planning phase information for the query.
|
2965
|
+
class PlanSummary
|
2966
|
+
include Google::Apis::Core::Hashable
|
2967
|
+
|
2968
|
+
# The indexes selected for the query. For example: [ `"query_scope": "Collection"
|
2969
|
+
# , "properties": "(foo ASC, __name__ ASC)"`, `"query_scope": "Collection", "
|
2970
|
+
# properties": "(bar ASC, __name__ ASC)"` ]
|
2971
|
+
# Corresponds to the JSON property `indexesUsed`
|
2972
|
+
# @return [Array<Hash<String,Object>>]
|
2973
|
+
attr_accessor :indexes_used
|
2974
|
+
|
2975
|
+
def initialize(**args)
|
2976
|
+
update!(**args)
|
2977
|
+
end
|
2978
|
+
|
2979
|
+
# Update properties of this object
|
2980
|
+
def update!(**args)
|
2981
|
+
@indexes_used = args[:indexes_used] if args.key?(:indexes_used)
|
2982
|
+
end
|
2983
|
+
end
|
2984
|
+
|
2874
2985
|
# A precondition on a document, used for conditional operations.
|
2875
2986
|
class Precondition
|
2876
2987
|
include Google::Apis::Core::Hashable
|
@@ -3016,6 +3127,11 @@ module Google
|
|
3016
3127
|
class RunAggregationQueryRequest
|
3017
3128
|
include Google::Apis::Core::Hashable
|
3018
3129
|
|
3130
|
+
# Explain options for the query.
|
3131
|
+
# Corresponds to the JSON property `explainOptions`
|
3132
|
+
# @return [Google::Apis::FirestoreV1::ExplainOptions]
|
3133
|
+
attr_accessor :explain_options
|
3134
|
+
|
3019
3135
|
# Options for creating a new transaction.
|
3020
3136
|
# Corresponds to the JSON property `newTransaction`
|
3021
3137
|
# @return [Google::Apis::FirestoreV1::TransactionOptions]
|
@@ -3046,6 +3162,7 @@ module Google
|
|
3046
3162
|
|
3047
3163
|
# Update properties of this object
|
3048
3164
|
def update!(**args)
|
3165
|
+
@explain_options = args[:explain_options] if args.key?(:explain_options)
|
3049
3166
|
@new_transaction = args[:new_transaction] if args.key?(:new_transaction)
|
3050
3167
|
@read_time = args[:read_time] if args.key?(:read_time)
|
3051
3168
|
@structured_aggregation_query = args[:structured_aggregation_query] if args.key?(:structured_aggregation_query)
|
@@ -3057,6 +3174,11 @@ module Google
|
|
3057
3174
|
class RunAggregationQueryResponse
|
3058
3175
|
include Google::Apis::Core::Hashable
|
3059
3176
|
|
3177
|
+
# Explain metrics for the query.
|
3178
|
+
# Corresponds to the JSON property `explainMetrics`
|
3179
|
+
# @return [Google::Apis::FirestoreV1::ExplainMetrics]
|
3180
|
+
attr_accessor :explain_metrics
|
3181
|
+
|
3060
3182
|
# The time at which the aggregate result was computed. This is always
|
3061
3183
|
# monotonically increasing; in this case, the previous AggregationResult in the
|
3062
3184
|
# result stream are guaranteed not to have changed between their `read_time` and
|
@@ -3086,6 +3208,7 @@ module Google
|
|
3086
3208
|
|
3087
3209
|
# Update properties of this object
|
3088
3210
|
def update!(**args)
|
3211
|
+
@explain_metrics = args[:explain_metrics] if args.key?(:explain_metrics)
|
3089
3212
|
@read_time = args[:read_time] if args.key?(:read_time)
|
3090
3213
|
@result = args[:result] if args.key?(:result)
|
3091
3214
|
@transaction = args[:transaction] if args.key?(:transaction)
|
@@ -3096,6 +3219,11 @@ module Google
|
|
3096
3219
|
class RunQueryRequest
|
3097
3220
|
include Google::Apis::Core::Hashable
|
3098
3221
|
|
3222
|
+
# Explain options for the query.
|
3223
|
+
# Corresponds to the JSON property `explainOptions`
|
3224
|
+
# @return [Google::Apis::FirestoreV1::ExplainOptions]
|
3225
|
+
attr_accessor :explain_options
|
3226
|
+
|
3099
3227
|
# Options for creating a new transaction.
|
3100
3228
|
# Corresponds to the JSON property `newTransaction`
|
3101
3229
|
# @return [Google::Apis::FirestoreV1::TransactionOptions]
|
@@ -3127,6 +3255,7 @@ module Google
|
|
3127
3255
|
|
3128
3256
|
# Update properties of this object
|
3129
3257
|
def update!(**args)
|
3258
|
+
@explain_options = args[:explain_options] if args.key?(:explain_options)
|
3130
3259
|
@new_transaction = args[:new_transaction] if args.key?(:new_transaction)
|
3131
3260
|
@read_time = args[:read_time] if args.key?(:read_time)
|
3132
3261
|
@structured_query = args[:structured_query] if args.key?(:structured_query)
|
@@ -3150,6 +3279,11 @@ module Google
|
|
3150
3279
|
attr_accessor :done
|
3151
3280
|
alias_method :done?, :done
|
3152
3281
|
|
3282
|
+
# Explain metrics for the query.
|
3283
|
+
# Corresponds to the JSON property `explainMetrics`
|
3284
|
+
# @return [Google::Apis::FirestoreV1::ExplainMetrics]
|
3285
|
+
attr_accessor :explain_metrics
|
3286
|
+
|
3153
3287
|
# The time at which the document was read. This may be monotonically increasing;
|
3154
3288
|
# in this case, the previous documents in the result stream are guaranteed not
|
3155
3289
|
# to have changed between their `read_time` and this one. If the query returns
|
@@ -3181,6 +3315,7 @@ module Google
|
|
3181
3315
|
def update!(**args)
|
3182
3316
|
@document = args[:document] if args.key?(:document)
|
3183
3317
|
@done = args[:done] if args.key?(:done)
|
3318
|
+
@explain_metrics = args[:explain_metrics] if args.key?(:explain_metrics)
|
3184
3319
|
@read_time = args[:read_time] if args.key?(:read_time)
|
3185
3320
|
@skipped_results = args[:skipped_results] if args.key?(:skipped_results)
|
3186
3321
|
@transaction = args[:transaction] if args.key?(:transaction)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module FirestoreV1
|
18
18
|
# Version of the google-apis-firestore_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.63.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240317"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -178,12 +178,30 @@ module Google
|
|
178
178
|
include Google::Apis::Core::JsonObjectSupport
|
179
179
|
end
|
180
180
|
|
181
|
+
class ExecutionStats
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
181
187
|
class ExistenceFilter
|
182
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
189
|
|
184
190
|
include Google::Apis::Core::JsonObjectSupport
|
185
191
|
end
|
186
192
|
|
193
|
+
class ExplainMetrics
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class ExplainOptions
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
187
205
|
class FieldFilter
|
188
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
207
|
|
@@ -514,6 +532,12 @@ module Google
|
|
514
532
|
include Google::Apis::Core::JsonObjectSupport
|
515
533
|
end
|
516
534
|
|
535
|
+
class PlanSummary
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
517
541
|
class Precondition
|
518
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
543
|
|
@@ -883,6 +907,16 @@ module Google
|
|
883
907
|
end
|
884
908
|
end
|
885
909
|
|
910
|
+
class ExecutionStats
|
911
|
+
# @private
|
912
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
913
|
+
hash :debug_stats, as: 'debugStats'
|
914
|
+
property :execution_duration, as: 'executionDuration'
|
915
|
+
property :read_operations, :numeric_string => true, as: 'readOperations'
|
916
|
+
property :results_returned, :numeric_string => true, as: 'resultsReturned'
|
917
|
+
end
|
918
|
+
end
|
919
|
+
|
886
920
|
class ExistenceFilter
|
887
921
|
# @private
|
888
922
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -893,6 +927,23 @@ module Google
|
|
893
927
|
end
|
894
928
|
end
|
895
929
|
|
930
|
+
class ExplainMetrics
|
931
|
+
# @private
|
932
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
933
|
+
property :execution_stats, as: 'executionStats', class: Google::Apis::FirestoreV1::ExecutionStats, decorator: Google::Apis::FirestoreV1::ExecutionStats::Representation
|
934
|
+
|
935
|
+
property :plan_summary, as: 'planSummary', class: Google::Apis::FirestoreV1::PlanSummary, decorator: Google::Apis::FirestoreV1::PlanSummary::Representation
|
936
|
+
|
937
|
+
end
|
938
|
+
end
|
939
|
+
|
940
|
+
class ExplainOptions
|
941
|
+
# @private
|
942
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
943
|
+
property :analyze, as: 'analyze'
|
944
|
+
end
|
945
|
+
end
|
946
|
+
|
896
947
|
class FieldFilter
|
897
948
|
# @private
|
898
949
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1447,6 +1498,13 @@ module Google
|
|
1447
1498
|
end
|
1448
1499
|
end
|
1449
1500
|
|
1501
|
+
class PlanSummary
|
1502
|
+
# @private
|
1503
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1504
|
+
collection :indexes_used, as: 'indexesUsed'
|
1505
|
+
end
|
1506
|
+
end
|
1507
|
+
|
1450
1508
|
class Precondition
|
1451
1509
|
# @private
|
1452
1510
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1496,6 +1554,8 @@ module Google
|
|
1496
1554
|
class RunAggregationQueryRequest
|
1497
1555
|
# @private
|
1498
1556
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1557
|
+
property :explain_options, as: 'explainOptions', class: Google::Apis::FirestoreV1::ExplainOptions, decorator: Google::Apis::FirestoreV1::ExplainOptions::Representation
|
1558
|
+
|
1499
1559
|
property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1::TransactionOptions, decorator: Google::Apis::FirestoreV1::TransactionOptions::Representation
|
1500
1560
|
|
1501
1561
|
property :read_time, as: 'readTime'
|
@@ -1508,6 +1568,8 @@ module Google
|
|
1508
1568
|
class RunAggregationQueryResponse
|
1509
1569
|
# @private
|
1510
1570
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1571
|
+
property :explain_metrics, as: 'explainMetrics', class: Google::Apis::FirestoreV1::ExplainMetrics, decorator: Google::Apis::FirestoreV1::ExplainMetrics::Representation
|
1572
|
+
|
1511
1573
|
property :read_time, as: 'readTime'
|
1512
1574
|
property :result, as: 'result', class: Google::Apis::FirestoreV1::AggregationResult, decorator: Google::Apis::FirestoreV1::AggregationResult::Representation
|
1513
1575
|
|
@@ -1518,6 +1580,8 @@ module Google
|
|
1518
1580
|
class RunQueryRequest
|
1519
1581
|
# @private
|
1520
1582
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1583
|
+
property :explain_options, as: 'explainOptions', class: Google::Apis::FirestoreV1::ExplainOptions, decorator: Google::Apis::FirestoreV1::ExplainOptions::Representation
|
1584
|
+
|
1521
1585
|
property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1::TransactionOptions, decorator: Google::Apis::FirestoreV1::TransactionOptions::Representation
|
1522
1586
|
|
1523
1587
|
property :read_time, as: 'readTime'
|
@@ -1533,6 +1597,8 @@ module Google
|
|
1533
1597
|
property :document, as: 'document', class: Google::Apis::FirestoreV1::Document, decorator: Google::Apis::FirestoreV1::Document::Representation
|
1534
1598
|
|
1535
1599
|
property :done, as: 'done'
|
1600
|
+
property :explain_metrics, as: 'explainMetrics', class: Google::Apis::FirestoreV1::ExplainMetrics, decorator: Google::Apis::FirestoreV1::ExplainMetrics::Representation
|
1601
|
+
|
1536
1602
|
property :read_time, as: 'readTime'
|
1537
1603
|
property :skipped_results, as: 'skippedResults'
|
1538
1604
|
property :transaction, :base64 => true, as: 'transaction'
|
@@ -383,8 +383,8 @@ module Google
|
|
383
383
|
|
384
384
|
# Deletes a backup schedule.
|
385
385
|
# @param [String] name
|
386
|
-
# Required. The name of backup schedule. Format `projects/`project`/
|
387
|
-
# database`/backupSchedules/`backup_schedule``
|
386
|
+
# Required. The name of the backup schedule. Format `projects/`project`/
|
387
|
+
# databases/`database`/backupSchedules/`backup_schedule``
|
388
388
|
# @param [String] fields
|
389
389
|
# Selector specifying which fields to include in a partial response.
|
390
390
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-firestore_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.63.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.63.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|