google-apis-firestore_v1 0.55.0 → 0.57.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: cf35ac5ab5216d3a9791cdee286cc9ba9827680bb17a65226ab8b87b9954ae9a
|
4
|
+
data.tar.gz: 04e49bd9e54449bb102f89ba88c361a5db38f2bb3462d1f8a1d2159cb91f6437
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b131fbd29589441e56abc870f53e84838a5e9a1baf999d55900db01d840c3ff68a97f656b73e92c8702aeafa46181fc5e6cf14e81e67fb851db0011ca8f766f8
|
7
|
+
data.tar.gz: 648f7ee4698de14c42b9d1fbd6dd62d8224b9a05f30a930dec2821bad0c9e9bff4a48d6b4c81931f04ccc18c746b215fe5a9d7aa06f52d806934ca379e3a9cad
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-firestore_v1
|
2
2
|
|
3
|
+
### v0.57.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240117
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
8
|
+
### v0.56.0 (2023-12-24)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20231214
|
11
|
+
|
3
12
|
### v0.55.0 (2023-11-12)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20231103
|
@@ -588,7 +588,21 @@ module Google
|
|
588
588
|
# @return [String]
|
589
589
|
attr_accessor :create_time
|
590
590
|
|
591
|
-
#
|
591
|
+
# The document's fields. The map keys represent field names. Field names
|
592
|
+
# matching the regular expression `__.*__` are reserved. Reserved field names
|
593
|
+
# are forbidden except in certain documented contexts. The field names,
|
594
|
+
# represented as UTF-8, must not exceed 1,500 bytes and cannot be empty. Field
|
595
|
+
# paths may be used in other contexts to refer to structured fields defined here.
|
596
|
+
# For `map_value`, the field path is represented by a dot-delimited (`.`)
|
597
|
+
# string of segments. Each segment is either a simple field name (defined below)
|
598
|
+
# or a quoted field name. For example, the structured field `"foo" : ` map_value:
|
599
|
+
# ` "x&y" : ` string_value: "hello" ```` would be represented by the field path
|
600
|
+
# `` foo.`x&y` ``. A simple field name contains only characters `a` to `z`, `A`
|
601
|
+
# to `Z`, `0` to `9`, or `_`, and must not start with `0` to `9`. For example, `
|
602
|
+
# foo_bar_17`. A quoted field name starts and ends with `` ` `` and may contain
|
603
|
+
# any character. Some characters, including `` ` ``, must be escaped using a `\`.
|
604
|
+
# For example, `` `x&y` `` represents `x&y` and `` `bak\`tik` `` represents ``
|
605
|
+
# bak`tik ``.
|
592
606
|
# Corresponds to the JSON property `fields`
|
593
607
|
# @return [Hash<String,Google::Apis::FirestoreV1::Value>]
|
594
608
|
attr_accessor :fields
|
@@ -1257,6 +1271,32 @@ module Google
|
|
1257
1271
|
end
|
1258
1272
|
end
|
1259
1273
|
|
1274
|
+
# A consistent snapshot of a database at a specific point in time.
|
1275
|
+
class GoogleFirestoreAdminV1DatabaseSnapshot
|
1276
|
+
include Google::Apis::Core::Hashable
|
1277
|
+
|
1278
|
+
# Required. A name of the form `projects/`project_id`/databases/`database_id``
|
1279
|
+
# Corresponds to the JSON property `database`
|
1280
|
+
# @return [String]
|
1281
|
+
attr_accessor :database
|
1282
|
+
|
1283
|
+
# Required. The timestamp at which the database snapshot is taken. The requested
|
1284
|
+
# timestamp must be a whole minute within the PITR window.
|
1285
|
+
# Corresponds to the JSON property `snapshotTime`
|
1286
|
+
# @return [String]
|
1287
|
+
attr_accessor :snapshot_time
|
1288
|
+
|
1289
|
+
def initialize(**args)
|
1290
|
+
update!(**args)
|
1291
|
+
end
|
1292
|
+
|
1293
|
+
# Update properties of this object
|
1294
|
+
def update!(**args)
|
1295
|
+
@database = args[:database] if args.key?(:database)
|
1296
|
+
@snapshot_time = args[:snapshot_time] if args.key?(:snapshot_time)
|
1297
|
+
end
|
1298
|
+
end
|
1299
|
+
|
1260
1300
|
# Metadata related to the delete database operation.
|
1261
1301
|
class GoogleFirestoreAdminV1DeleteDatabaseMetadata
|
1262
1302
|
include Google::Apis::Core::Hashable
|
@@ -2121,6 +2161,11 @@ module Google
|
|
2121
2161
|
# @return [String]
|
2122
2162
|
attr_accessor :database_id
|
2123
2163
|
|
2164
|
+
# A consistent snapshot of a database at a specific point in time.
|
2165
|
+
# Corresponds to the JSON property `databaseSnapshot`
|
2166
|
+
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1DatabaseSnapshot]
|
2167
|
+
attr_accessor :database_snapshot
|
2168
|
+
|
2124
2169
|
def initialize(**args)
|
2125
2170
|
update!(**args)
|
2126
2171
|
end
|
@@ -2129,6 +2174,7 @@ module Google
|
|
2129
2174
|
def update!(**args)
|
2130
2175
|
@backup = args[:backup] if args.key?(:backup)
|
2131
2176
|
@database_id = args[:database_id] if args.key?(:database_id)
|
2177
|
+
@database_snapshot = args[:database_snapshot] if args.key?(:database_snapshot)
|
2132
2178
|
end
|
2133
2179
|
end
|
2134
2180
|
|
@@ -2726,7 +2772,8 @@ module Google
|
|
2726
2772
|
# @return [String]
|
2727
2773
|
attr_accessor :read_time
|
2728
2774
|
|
2729
|
-
# A Firestore query.
|
2775
|
+
# A Firestore query. The query stages are executed in the following order: 1.
|
2776
|
+
# from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit
|
2730
2777
|
# Corresponds to the JSON property `structuredQuery`
|
2731
2778
|
# @return [Google::Apis::FirestoreV1::StructuredQuery]
|
2732
2779
|
attr_accessor :structured_query
|
@@ -2829,6 +2876,27 @@ module Google
|
|
2829
2876
|
end
|
2830
2877
|
end
|
2831
2878
|
|
2879
|
+
# Plan for the query.
|
2880
|
+
class QueryPlan
|
2881
|
+
include Google::Apis::Core::Hashable
|
2882
|
+
|
2883
|
+
# Planning phase information for the query. It will include: ` "indexes_used": [
|
2884
|
+
# `"query_scope": "Collection", "properties": "(foo ASC, __name__ ASC)"`, `"
|
2885
|
+
# query_scope": "Collection", "properties": "(bar ASC, __name__ ASC)"` ] `
|
2886
|
+
# Corresponds to the JSON property `planInfo`
|
2887
|
+
# @return [Hash<String,Object>]
|
2888
|
+
attr_accessor :plan_info
|
2889
|
+
|
2890
|
+
def initialize(**args)
|
2891
|
+
update!(**args)
|
2892
|
+
end
|
2893
|
+
|
2894
|
+
# Update properties of this object
|
2895
|
+
def update!(**args)
|
2896
|
+
@plan_info = args[:plan_info] if args.key?(:plan_info)
|
2897
|
+
end
|
2898
|
+
end
|
2899
|
+
|
2832
2900
|
# A target specified by a query.
|
2833
2901
|
class QueryTarget
|
2834
2902
|
include Google::Apis::Core::Hashable
|
@@ -2842,7 +2910,8 @@ module Google
|
|
2842
2910
|
# @return [String]
|
2843
2911
|
attr_accessor :parent
|
2844
2912
|
|
2845
|
-
# A Firestore query.
|
2913
|
+
# A Firestore query. The query stages are executed in the following order: 1.
|
2914
|
+
# from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit
|
2846
2915
|
# Corresponds to the JSON property `structuredQuery`
|
2847
2916
|
# @return [Google::Apis::FirestoreV1::StructuredQuery]
|
2848
2917
|
attr_accessor :structured_query
|
@@ -2901,6 +2970,35 @@ module Google
|
|
2901
2970
|
end
|
2902
2971
|
end
|
2903
2972
|
|
2973
|
+
# Planning and execution statistics for the query.
|
2974
|
+
class ResultSetStats
|
2975
|
+
include Google::Apis::Core::Hashable
|
2976
|
+
|
2977
|
+
# Plan for the query.
|
2978
|
+
# Corresponds to the JSON property `queryPlan`
|
2979
|
+
# @return [Google::Apis::FirestoreV1::QueryPlan]
|
2980
|
+
attr_accessor :query_plan
|
2981
|
+
|
2982
|
+
# Aggregated statistics from the execution of the query. This will only be
|
2983
|
+
# present when the request specifies `PROFILE` mode. For example, a query will
|
2984
|
+
# return the statistics including: ` "results_returned": "20", "
|
2985
|
+
# documents_scanned": "20", "indexes_entries_scanned": "10050", "
|
2986
|
+
# total_execution_time": "100.7 msecs" `
|
2987
|
+
# Corresponds to the JSON property `queryStats`
|
2988
|
+
# @return [Hash<String,Object>]
|
2989
|
+
attr_accessor :query_stats
|
2990
|
+
|
2991
|
+
def initialize(**args)
|
2992
|
+
update!(**args)
|
2993
|
+
end
|
2994
|
+
|
2995
|
+
# Update properties of this object
|
2996
|
+
def update!(**args)
|
2997
|
+
@query_plan = args[:query_plan] if args.key?(:query_plan)
|
2998
|
+
@query_stats = args[:query_stats] if args.key?(:query_stats)
|
2999
|
+
end
|
3000
|
+
end
|
3001
|
+
|
2904
3002
|
# The request for Firestore.Rollback.
|
2905
3003
|
class RollbackRequest
|
2906
3004
|
include Google::Apis::Core::Hashable
|
@@ -2925,6 +3023,13 @@ module Google
|
|
2925
3023
|
class RunAggregationQueryRequest
|
2926
3024
|
include Google::Apis::Core::Hashable
|
2927
3025
|
|
3026
|
+
# Optional. The mode in which the query request is processed. This field is
|
3027
|
+
# optional, and when not provided, it defaults to `NORMAL` mode where no
|
3028
|
+
# additional statistics will be returned with the query results.
|
3029
|
+
# Corresponds to the JSON property `mode`
|
3030
|
+
# @return [String]
|
3031
|
+
attr_accessor :mode
|
3032
|
+
|
2928
3033
|
# Options for creating a new transaction.
|
2929
3034
|
# Corresponds to the JSON property `newTransaction`
|
2930
3035
|
# @return [Google::Apis::FirestoreV1::TransactionOptions]
|
@@ -2955,6 +3060,7 @@ module Google
|
|
2955
3060
|
|
2956
3061
|
# Update properties of this object
|
2957
3062
|
def update!(**args)
|
3063
|
+
@mode = args[:mode] if args.key?(:mode)
|
2958
3064
|
@new_transaction = args[:new_transaction] if args.key?(:new_transaction)
|
2959
3065
|
@read_time = args[:read_time] if args.key?(:read_time)
|
2960
3066
|
@structured_aggregation_query = args[:structured_aggregation_query] if args.key?(:structured_aggregation_query)
|
@@ -2982,6 +3088,11 @@ module Google
|
|
2982
3088
|
# @return [Google::Apis::FirestoreV1::AggregationResult]
|
2983
3089
|
attr_accessor :result
|
2984
3090
|
|
3091
|
+
# Planning and execution statistics for the query.
|
3092
|
+
# Corresponds to the JSON property `stats`
|
3093
|
+
# @return [Google::Apis::FirestoreV1::ResultSetStats]
|
3094
|
+
attr_accessor :stats
|
3095
|
+
|
2985
3096
|
# The transaction that was started as part of this request. Only present on the
|
2986
3097
|
# first response when the request requested to start a new transaction.
|
2987
3098
|
# Corresponds to the JSON property `transaction`
|
@@ -2997,6 +3108,7 @@ module Google
|
|
2997
3108
|
def update!(**args)
|
2998
3109
|
@read_time = args[:read_time] if args.key?(:read_time)
|
2999
3110
|
@result = args[:result] if args.key?(:result)
|
3111
|
+
@stats = args[:stats] if args.key?(:stats)
|
3000
3112
|
@transaction = args[:transaction] if args.key?(:transaction)
|
3001
3113
|
end
|
3002
3114
|
end
|
@@ -3005,6 +3117,13 @@ module Google
|
|
3005
3117
|
class RunQueryRequest
|
3006
3118
|
include Google::Apis::Core::Hashable
|
3007
3119
|
|
3120
|
+
# Optional. The mode in which the query request is processed. This field is
|
3121
|
+
# optional, and when not provided, it defaults to `NORMAL` mode where no
|
3122
|
+
# additional statistics will be returned with the query results.
|
3123
|
+
# Corresponds to the JSON property `mode`
|
3124
|
+
# @return [String]
|
3125
|
+
attr_accessor :mode
|
3126
|
+
|
3008
3127
|
# Options for creating a new transaction.
|
3009
3128
|
# Corresponds to the JSON property `newTransaction`
|
3010
3129
|
# @return [Google::Apis::FirestoreV1::TransactionOptions]
|
@@ -3017,7 +3136,8 @@ module Google
|
|
3017
3136
|
# @return [String]
|
3018
3137
|
attr_accessor :read_time
|
3019
3138
|
|
3020
|
-
# A Firestore query.
|
3139
|
+
# A Firestore query. The query stages are executed in the following order: 1.
|
3140
|
+
# from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit
|
3021
3141
|
# Corresponds to the JSON property `structuredQuery`
|
3022
3142
|
# @return [Google::Apis::FirestoreV1::StructuredQuery]
|
3023
3143
|
attr_accessor :structured_query
|
@@ -3035,6 +3155,7 @@ module Google
|
|
3035
3155
|
|
3036
3156
|
# Update properties of this object
|
3037
3157
|
def update!(**args)
|
3158
|
+
@mode = args[:mode] if args.key?(:mode)
|
3038
3159
|
@new_transaction = args[:new_transaction] if args.key?(:new_transaction)
|
3039
3160
|
@read_time = args[:read_time] if args.key?(:read_time)
|
3040
3161
|
@structured_query = args[:structured_query] if args.key?(:structured_query)
|
@@ -3073,6 +3194,11 @@ module Google
|
|
3073
3194
|
# @return [Fixnum]
|
3074
3195
|
attr_accessor :skipped_results
|
3075
3196
|
|
3197
|
+
# Planning and execution statistics for the query.
|
3198
|
+
# Corresponds to the JSON property `stats`
|
3199
|
+
# @return [Google::Apis::FirestoreV1::ResultSetStats]
|
3200
|
+
attr_accessor :stats
|
3201
|
+
|
3076
3202
|
# The transaction that was started as part of this request. Can only be set in
|
3077
3203
|
# the first response, and only if RunQueryRequest.new_transaction was set in the
|
3078
3204
|
# request. If set, no other fields will be set in this response.
|
@@ -3091,6 +3217,7 @@ module Google
|
|
3091
3217
|
@done = args[:done] if args.key?(:done)
|
3092
3218
|
@read_time = args[:read_time] if args.key?(:read_time)
|
3093
3219
|
@skipped_results = args[:skipped_results] if args.key?(:skipped_results)
|
3220
|
+
@stats = args[:stats] if args.key?(:stats)
|
3094
3221
|
@transaction = args[:transaction] if args.key?(:transaction)
|
3095
3222
|
end
|
3096
3223
|
end
|
@@ -3145,7 +3272,8 @@ module Google
|
|
3145
3272
|
# @return [Array<Google::Apis::FirestoreV1::Aggregation>]
|
3146
3273
|
attr_accessor :aggregations
|
3147
3274
|
|
3148
|
-
# A Firestore query.
|
3275
|
+
# A Firestore query. The query stages are executed in the following order: 1.
|
3276
|
+
# from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit
|
3149
3277
|
# Corresponds to the JSON property `structuredQuery`
|
3150
3278
|
# @return [Google::Apis::FirestoreV1::StructuredQuery]
|
3151
3279
|
attr_accessor :structured_query
|
@@ -3161,7 +3289,8 @@ module Google
|
|
3161
3289
|
end
|
3162
3290
|
end
|
3163
3291
|
|
3164
|
-
# A Firestore query.
|
3292
|
+
# A Firestore query. The query stages are executed in the following order: 1.
|
3293
|
+
# from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit
|
3165
3294
|
class StructuredQuery
|
3166
3295
|
include Google::Apis::Core::Hashable
|
3167
3296
|
|
@@ -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.57.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240117"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -238,6 +238,12 @@ module Google
|
|
238
238
|
include Google::Apis::Core::JsonObjectSupport
|
239
239
|
end
|
240
240
|
|
241
|
+
class GoogleFirestoreAdminV1DatabaseSnapshot
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
241
247
|
class GoogleFirestoreAdminV1DeleteDatabaseMetadata
|
242
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
249
|
|
@@ -514,6 +520,12 @@ module Google
|
|
514
520
|
include Google::Apis::Core::JsonObjectSupport
|
515
521
|
end
|
516
522
|
|
523
|
+
class QueryPlan
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
|
+
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
527
|
+
end
|
528
|
+
|
517
529
|
class QueryTarget
|
518
530
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
531
|
|
@@ -532,6 +544,12 @@ module Google
|
|
532
544
|
include Google::Apis::Core::JsonObjectSupport
|
533
545
|
end
|
534
546
|
|
547
|
+
class ResultSetStats
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
|
+
|
550
|
+
include Google::Apis::Core::JsonObjectSupport
|
551
|
+
end
|
552
|
+
|
535
553
|
class RollbackRequest
|
536
554
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
555
|
|
@@ -989,6 +1007,14 @@ module Google
|
|
989
1007
|
end
|
990
1008
|
end
|
991
1009
|
|
1010
|
+
class GoogleFirestoreAdminV1DatabaseSnapshot
|
1011
|
+
# @private
|
1012
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1013
|
+
property :database, as: 'database'
|
1014
|
+
property :snapshot_time, as: 'snapshotTime'
|
1015
|
+
end
|
1016
|
+
end
|
1017
|
+
|
992
1018
|
class GoogleFirestoreAdminV1DeleteDatabaseMetadata
|
993
1019
|
# @private
|
994
1020
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1222,6 +1248,8 @@ module Google
|
|
1222
1248
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1223
1249
|
property :backup, as: 'backup'
|
1224
1250
|
property :database_id, as: 'databaseId'
|
1251
|
+
property :database_snapshot, as: 'databaseSnapshot', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1DatabaseSnapshot, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1DatabaseSnapshot::Representation
|
1252
|
+
|
1225
1253
|
end
|
1226
1254
|
end
|
1227
1255
|
|
@@ -1431,6 +1459,13 @@ module Google
|
|
1431
1459
|
end
|
1432
1460
|
end
|
1433
1461
|
|
1462
|
+
class QueryPlan
|
1463
|
+
# @private
|
1464
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1465
|
+
hash :plan_info, as: 'planInfo'
|
1466
|
+
end
|
1467
|
+
end
|
1468
|
+
|
1434
1469
|
class QueryTarget
|
1435
1470
|
# @private
|
1436
1471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1454,6 +1489,15 @@ module Google
|
|
1454
1489
|
end
|
1455
1490
|
end
|
1456
1491
|
|
1492
|
+
class ResultSetStats
|
1493
|
+
# @private
|
1494
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1495
|
+
property :query_plan, as: 'queryPlan', class: Google::Apis::FirestoreV1::QueryPlan, decorator: Google::Apis::FirestoreV1::QueryPlan::Representation
|
1496
|
+
|
1497
|
+
hash :query_stats, as: 'queryStats'
|
1498
|
+
end
|
1499
|
+
end
|
1500
|
+
|
1457
1501
|
class RollbackRequest
|
1458
1502
|
# @private
|
1459
1503
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1464,6 +1508,7 @@ module Google
|
|
1464
1508
|
class RunAggregationQueryRequest
|
1465
1509
|
# @private
|
1466
1510
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1511
|
+
property :mode, as: 'mode'
|
1467
1512
|
property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1::TransactionOptions, decorator: Google::Apis::FirestoreV1::TransactionOptions::Representation
|
1468
1513
|
|
1469
1514
|
property :read_time, as: 'readTime'
|
@@ -1479,6 +1524,8 @@ module Google
|
|
1479
1524
|
property :read_time, as: 'readTime'
|
1480
1525
|
property :result, as: 'result', class: Google::Apis::FirestoreV1::AggregationResult, decorator: Google::Apis::FirestoreV1::AggregationResult::Representation
|
1481
1526
|
|
1527
|
+
property :stats, as: 'stats', class: Google::Apis::FirestoreV1::ResultSetStats, decorator: Google::Apis::FirestoreV1::ResultSetStats::Representation
|
1528
|
+
|
1482
1529
|
property :transaction, :base64 => true, as: 'transaction'
|
1483
1530
|
end
|
1484
1531
|
end
|
@@ -1486,6 +1533,7 @@ module Google
|
|
1486
1533
|
class RunQueryRequest
|
1487
1534
|
# @private
|
1488
1535
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1536
|
+
property :mode, as: 'mode'
|
1489
1537
|
property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1::TransactionOptions, decorator: Google::Apis::FirestoreV1::TransactionOptions::Representation
|
1490
1538
|
|
1491
1539
|
property :read_time, as: 'readTime'
|
@@ -1503,6 +1551,8 @@ module Google
|
|
1503
1551
|
property :done, as: 'done'
|
1504
1552
|
property :read_time, as: 'readTime'
|
1505
1553
|
property :skipped_results, as: 'skippedResults'
|
1554
|
+
property :stats, as: 'stats', class: Google::Apis::FirestoreV1::ResultSetStats, decorator: Google::Apis::FirestoreV1::ResultSetStats::Representation
|
1555
|
+
|
1506
1556
|
property :transaction, :base64 => true, as: 'transaction'
|
1507
1557
|
end
|
1508
1558
|
end
|
@@ -33,6 +33,8 @@ module Google
|
|
33
33
|
#
|
34
34
|
# @see https://cloud.google.com/firestore
|
35
35
|
class FirestoreService < Google::Apis::Core::BaseService
|
36
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://firestore.$UNIVERSE_DOMAIN$/"
|
37
|
+
|
36
38
|
# @return [String]
|
37
39
|
# API key. Your API key identifies your project and provides you with API access,
|
38
40
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -44,7 +46,7 @@ module Google
|
|
44
46
|
attr_accessor :quota_user
|
45
47
|
|
46
48
|
def initialize
|
47
|
-
super(
|
49
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
48
50
|
client_name: 'google-apis-firestore_v1',
|
49
51
|
client_version: Google::Apis::FirestoreV1::GEM_VERSION)
|
50
52
|
@batch_path = 'batch'
|
@@ -544,7 +546,7 @@ module Google
|
|
544
546
|
# Lists the field configuration and metadata for this database. Currently,
|
545
547
|
# FirestoreAdmin.ListFields only supports listing fields that have been
|
546
548
|
# explicitly overridden. To issue this query, call FirestoreAdmin.ListFields
|
547
|
-
# with the filter set to `indexConfig.usesAncestorConfig:false or `ttlConfig:*`.
|
549
|
+
# with the filter set to `indexConfig.usesAncestorConfig:false` or `ttlConfig:*`.
|
548
550
|
# @param [String] parent
|
549
551
|
# Required. A parent name of the form `projects/`project_id`/databases/`
|
550
552
|
# database_id`/collectionGroups/`collection_id``
|
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.57.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:
|
11
|
+
date: 2024-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.12.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.12.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.57.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Firestore API V1
|