google-apis-firestore_v1 0.48.0 → 0.50.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: b37a10ee299661cbbee1cf06fadee7bab8bf3c1d1c06178900d53d1564645a2b
|
4
|
+
data.tar.gz: 9f02c0bf41a288b648d6a7a58611cef44f99c24a45caaabd47adb306c2c99452
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6841cd2089ab4dfdf891dda95e78307909b8593011e50b6b8e0c588b8b7b7947a40142240666bb6ea64688abe7465fd1f4c3d2ce87e5695e8a8809e891731346
|
7
|
+
data.tar.gz: 731c7183e71ec2396ef5c5816b60f74b62fc02ddad0a2aa5c1ccd9a96f2fbbd351c8ca467862cc784f6ceea402a4db682474fd36d0d6f1ef76fcc03826b3e1f8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-firestore_v1
|
2
2
|
|
3
|
+
### v0.50.0 (2023-08-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230806
|
6
|
+
|
7
|
+
### v0.49.0 (2023-08-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230729
|
10
|
+
|
3
11
|
### v0.48.0 (2023-07-23)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230716
|
@@ -38,12 +38,38 @@ module Google
|
|
38
38
|
# @return [String]
|
39
39
|
attr_accessor :alias
|
40
40
|
|
41
|
+
# Average of the values of the requested field. * Only numeric values will be
|
42
|
+
# aggregated. All non-numeric values including `NULL` are skipped. * If the
|
43
|
+
# aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754
|
44
|
+
# standards. * If the aggregated value set is empty, returns `NULL`. * Always
|
45
|
+
# returns the result as a double.
|
46
|
+
# Corresponds to the JSON property `avg`
|
47
|
+
# @return [Google::Apis::FirestoreV1::Avg]
|
48
|
+
attr_accessor :avg
|
49
|
+
|
41
50
|
# Count of documents that match the query. The `COUNT(*)` aggregation function
|
42
51
|
# operates on the entire document so it does not require a field reference.
|
43
52
|
# Corresponds to the JSON property `count`
|
44
53
|
# @return [Google::Apis::FirestoreV1::Count]
|
45
54
|
attr_accessor :count
|
46
55
|
|
56
|
+
# Sum of the values of the requested field. * Only numeric values will be
|
57
|
+
# aggregated. All non-numeric values including `NULL` are skipped. * If the
|
58
|
+
# aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754
|
59
|
+
# standards. * If the aggregated value set is empty, returns 0. * Returns a 64-
|
60
|
+
# bit integer if all aggregated numbers are integers and the sum result does not
|
61
|
+
# overflow. Otherwise, the result is returned as a double. Note that even if all
|
62
|
+
# the aggregated values are integers, the result is returned as a double if it
|
63
|
+
# cannot fit within a 64-bit signed integer. When this occurs, the returned
|
64
|
+
# value will lose precision. * When underflow occurs, floating-point aggregation
|
65
|
+
# is non-deterministic. This means that running the same query repeatedly
|
66
|
+
# without any changes to the underlying values could produce slightly different
|
67
|
+
# results each time. In those cases, values should be stored as integers over
|
68
|
+
# floating-point numbers.
|
69
|
+
# Corresponds to the JSON property `sum`
|
70
|
+
# @return [Google::Apis::FirestoreV1::Sum]
|
71
|
+
attr_accessor :sum
|
72
|
+
|
47
73
|
def initialize(**args)
|
48
74
|
update!(**args)
|
49
75
|
end
|
@@ -51,7 +77,9 @@ module Google
|
|
51
77
|
# Update properties of this object
|
52
78
|
def update!(**args)
|
53
79
|
@alias = args[:alias] if args.key?(:alias)
|
80
|
+
@avg = args[:avg] if args.key?(:avg)
|
54
81
|
@count = args[:count] if args.key?(:count)
|
82
|
+
@sum = args[:sum] if args.key?(:sum)
|
55
83
|
end
|
56
84
|
end
|
57
85
|
|
@@ -97,6 +125,29 @@ module Google
|
|
97
125
|
end
|
98
126
|
end
|
99
127
|
|
128
|
+
# Average of the values of the requested field. * Only numeric values will be
|
129
|
+
# aggregated. All non-numeric values including `NULL` are skipped. * If the
|
130
|
+
# aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754
|
131
|
+
# standards. * If the aggregated value set is empty, returns `NULL`. * Always
|
132
|
+
# returns the result as a double.
|
133
|
+
class Avg
|
134
|
+
include Google::Apis::Core::Hashable
|
135
|
+
|
136
|
+
# A reference to a field in a document, ex: `stats.operations`.
|
137
|
+
# Corresponds to the JSON property `field`
|
138
|
+
# @return [Google::Apis::FirestoreV1::FieldReference]
|
139
|
+
attr_accessor :field
|
140
|
+
|
141
|
+
def initialize(**args)
|
142
|
+
update!(**args)
|
143
|
+
end
|
144
|
+
|
145
|
+
# Update properties of this object
|
146
|
+
def update!(**args)
|
147
|
+
@field = args[:field] if args.key?(:field)
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
100
151
|
# The request for Firestore.BatchGetDocuments.
|
101
152
|
class BatchGetDocumentsRequest
|
102
153
|
include Google::Apis::Core::Hashable
|
@@ -781,7 +832,9 @@ module Google
|
|
781
832
|
# The total count of documents that match target_id. If different from the count
|
782
833
|
# of documents in the client that match, the client must manually determine
|
783
834
|
# which documents no longer match the target. The client can use the `
|
784
|
-
# unchanged_names` bloom filter to assist with this determination
|
835
|
+
# unchanged_names` bloom filter to assist with this determination by testing ALL
|
836
|
+
# the document names against the filter; if the document name is NOT in the
|
837
|
+
# filter, it means the document no longer matches the target.
|
785
838
|
# Corresponds to the JSON property `count`
|
786
839
|
# @return [Fixnum]
|
787
840
|
attr_accessor :count
|
@@ -1037,8 +1090,8 @@ module Google
|
|
1037
1090
|
# @return [String]
|
1038
1091
|
attr_accessor :name
|
1039
1092
|
|
1040
|
-
# At what relative time in the future, compared to
|
1041
|
-
#
|
1093
|
+
# At what relative time in the future, compared to its creation time, the backup
|
1094
|
+
# should be deleted, e.g. keep backups for 7 days.
|
1042
1095
|
# Corresponds to the JSON property `retention`
|
1043
1096
|
# @return [String]
|
1044
1097
|
attr_accessor :retention
|
@@ -1977,6 +2030,12 @@ module Google
|
|
1977
2030
|
# @return [String]
|
1978
2031
|
attr_accessor :operation_state
|
1979
2032
|
|
2033
|
+
# Describes the progress of the operation. Unit of work is generic and must be
|
2034
|
+
# interpreted based on where Progress is used.
|
2035
|
+
# Corresponds to the JSON property `progressPercentage`
|
2036
|
+
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
2037
|
+
attr_accessor :progress_percentage
|
2038
|
+
|
1980
2039
|
# The time the restore was started.
|
1981
2040
|
# Corresponds to the JSON property `startTime`
|
1982
2041
|
# @return [String]
|
@@ -1992,6 +2051,7 @@ module Google
|
|
1992
2051
|
@database = args[:database] if args.key?(:database)
|
1993
2052
|
@end_time = args[:end_time] if args.key?(:end_time)
|
1994
2053
|
@operation_state = args[:operation_state] if args.key?(:operation_state)
|
2054
|
+
@progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage)
|
1995
2055
|
@start_time = args[:start_time] if args.key?(:start_time)
|
1996
2056
|
end
|
1997
2057
|
end
|
@@ -2210,13 +2270,13 @@ module Google
|
|
2210
2270
|
# @return [String]
|
2211
2271
|
attr_accessor :name
|
2212
2272
|
|
2213
|
-
# The normal response of the operation
|
2214
|
-
#
|
2215
|
-
#
|
2216
|
-
#
|
2217
|
-
#
|
2218
|
-
#
|
2219
|
-
#
|
2273
|
+
# The normal, successful response of the operation. If the original method
|
2274
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
2275
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
2276
|
+
# response should be the resource. For other methods, the response should have
|
2277
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
2278
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
2279
|
+
# `TakeSnapshotResponse`.
|
2220
2280
|
# Corresponds to the JSON property `response`
|
2221
2281
|
# @return [Hash<String,Object>]
|
2222
2282
|
attr_accessor :response
|
@@ -3104,6 +3164,37 @@ module Google
|
|
3104
3164
|
end
|
3105
3165
|
end
|
3106
3166
|
|
3167
|
+
# Sum of the values of the requested field. * Only numeric values will be
|
3168
|
+
# aggregated. All non-numeric values including `NULL` are skipped. * If the
|
3169
|
+
# aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754
|
3170
|
+
# standards. * If the aggregated value set is empty, returns 0. * Returns a 64-
|
3171
|
+
# bit integer if all aggregated numbers are integers and the sum result does not
|
3172
|
+
# overflow. Otherwise, the result is returned as a double. Note that even if all
|
3173
|
+
# the aggregated values are integers, the result is returned as a double if it
|
3174
|
+
# cannot fit within a 64-bit signed integer. When this occurs, the returned
|
3175
|
+
# value will lose precision. * When underflow occurs, floating-point aggregation
|
3176
|
+
# is non-deterministic. This means that running the same query repeatedly
|
3177
|
+
# without any changes to the underlying values could produce slightly different
|
3178
|
+
# results each time. In those cases, values should be stored as integers over
|
3179
|
+
# floating-point numbers.
|
3180
|
+
class Sum
|
3181
|
+
include Google::Apis::Core::Hashable
|
3182
|
+
|
3183
|
+
# A reference to a field in a document, ex: `stats.operations`.
|
3184
|
+
# Corresponds to the JSON property `field`
|
3185
|
+
# @return [Google::Apis::FirestoreV1::FieldReference]
|
3186
|
+
attr_accessor :field
|
3187
|
+
|
3188
|
+
def initialize(**args)
|
3189
|
+
update!(**args)
|
3190
|
+
end
|
3191
|
+
|
3192
|
+
# Update properties of this object
|
3193
|
+
def update!(**args)
|
3194
|
+
@field = args[:field] if args.key?(:field)
|
3195
|
+
end
|
3196
|
+
end
|
3197
|
+
|
3107
3198
|
# A specification of a set of documents to listen to.
|
3108
3199
|
class Target
|
3109
3200
|
include Google::Apis::Core::Hashable
|
@@ -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.50.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230806"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class Avg
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class BatchGetDocumentsRequest
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -550,6 +556,12 @@ module Google
|
|
550
556
|
include Google::Apis::Core::JsonObjectSupport
|
551
557
|
end
|
552
558
|
|
559
|
+
class Sum
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
561
|
+
|
562
|
+
include Google::Apis::Core::JsonObjectSupport
|
563
|
+
end
|
564
|
+
|
553
565
|
class Target
|
554
566
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
567
|
|
@@ -608,8 +620,12 @@ module Google
|
|
608
620
|
# @private
|
609
621
|
class Representation < Google::Apis::Core::JsonRepresentation
|
610
622
|
property :alias, as: 'alias'
|
623
|
+
property :avg, as: 'avg', class: Google::Apis::FirestoreV1::Avg, decorator: Google::Apis::FirestoreV1::Avg::Representation
|
624
|
+
|
611
625
|
property :count, as: 'count', class: Google::Apis::FirestoreV1::Count, decorator: Google::Apis::FirestoreV1::Count::Representation
|
612
626
|
|
627
|
+
property :sum, as: 'sum', class: Google::Apis::FirestoreV1::Sum, decorator: Google::Apis::FirestoreV1::Sum::Representation
|
628
|
+
|
613
629
|
end
|
614
630
|
end
|
615
631
|
|
@@ -629,6 +645,14 @@ module Google
|
|
629
645
|
end
|
630
646
|
end
|
631
647
|
|
648
|
+
class Avg
|
649
|
+
# @private
|
650
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
651
|
+
property :field, as: 'field', class: Google::Apis::FirestoreV1::FieldReference, decorator: Google::Apis::FirestoreV1::FieldReference::Representation
|
652
|
+
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
632
656
|
class BatchGetDocumentsRequest
|
633
657
|
# @private
|
634
658
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1142,6 +1166,8 @@ module Google
|
|
1142
1166
|
property :database, as: 'database'
|
1143
1167
|
property :end_time, as: 'endTime'
|
1144
1168
|
property :operation_state, as: 'operationState'
|
1169
|
+
property :progress_percentage, as: 'progressPercentage', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
1170
|
+
|
1145
1171
|
property :start_time, as: 'startTime'
|
1146
1172
|
end
|
1147
1173
|
end
|
@@ -1466,6 +1492,14 @@ module Google
|
|
1466
1492
|
end
|
1467
1493
|
end
|
1468
1494
|
|
1495
|
+
class Sum
|
1496
|
+
# @private
|
1497
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1498
|
+
property :field, as: 'field', class: Google::Apis::FirestoreV1::FieldReference, decorator: Google::Apis::FirestoreV1::FieldReference::Representation
|
1499
|
+
|
1500
|
+
end
|
1501
|
+
end
|
1502
|
+
|
1469
1503
|
class Target
|
1470
1504
|
# @private
|
1471
1505
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.50.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: 2023-
|
11
|
+
date: 2023-08-20 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.50.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: []
|