google-apis-firestore_v1beta1 0.43.0 → 0.45.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5c046f95213758ffb4a778fca0c3bf90b2ff783296262c10168271a79f9bf40
|
4
|
+
data.tar.gz: 2d1763d9e8b347595b6ff318183cd15dfbf54a704b3f61a7dfbd0b14c12c050f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7a3841819c0ec32b8e3ff3999394d2e8ec7eba1fc5aa52c8a5f697ceaf7b84597eaebe124b1b5cc344e19333930a4fd6875b00c0cc322cefda5c5291b71e3d4
|
7
|
+
data.tar.gz: 23cc2fb3a6f914948b0993cc25d1f13259da4a36644105de523a234e35f5f7e3d7a06f5f6950f4605116c03d9ee5f6b0387a94cad8c3b00456ad3691cd593a45
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-firestore_v1beta1
|
2
2
|
|
3
|
+
### v0.45.0 (2024-12-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241018
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.44.0 (2024-07-25)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240713
|
11
|
+
|
3
12
|
### v0.43.0 (2024-06-23)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240617
|
@@ -637,10 +637,7 @@ module Google
|
|
637
637
|
# A Document has changed. May be the result of multiple writes, including
|
638
638
|
# deletes, that ultimately resulted in a new value for the Document. Multiple
|
639
639
|
# DocumentChange messages may be returned for the same logical change, if
|
640
|
-
# multiple targets are affected.
|
641
|
-
# the new pipeline format, For a Listen stream with both QueryTargets and
|
642
|
-
# PipelineQueryTargets present, if a document matches both types of queries,
|
643
|
-
# then a separate DocumentChange messages will be sent out one for each set.
|
640
|
+
# multiple targets are affected.
|
644
641
|
class DocumentChange
|
645
642
|
include Google::Apis::Core::Hashable
|
646
643
|
|
@@ -1100,7 +1097,10 @@ module Google
|
|
1100
1097
|
end
|
1101
1098
|
end
|
1102
1099
|
|
1103
|
-
# Nearest Neighbors search config.
|
1100
|
+
# Nearest Neighbors search config. The ordering provided by FindNearest
|
1101
|
+
# supersedes the order_by stage. If multiple documents have the same vector
|
1102
|
+
# distance, the returned document order is not guaranteed to be stable between
|
1103
|
+
# queries.
|
1104
1104
|
class FindNearest
|
1105
1105
|
include Google::Apis::Core::Hashable
|
1106
1106
|
|
@@ -1109,6 +1109,22 @@ module Google
|
|
1109
1109
|
# @return [String]
|
1110
1110
|
attr_accessor :distance_measure
|
1111
1111
|
|
1112
|
+
# Optional. Optional name of the field to output the result of the vector
|
1113
|
+
# distance calculation. Must conform to document field name limitations.
|
1114
|
+
# Corresponds to the JSON property `distanceResultField`
|
1115
|
+
# @return [String]
|
1116
|
+
attr_accessor :distance_result_field
|
1117
|
+
|
1118
|
+
# Optional. Option to specify a threshold for which no less similar documents
|
1119
|
+
# will be returned. The behavior of the specified `distance_measure` will affect
|
1120
|
+
# the meaning of the distance threshold. Since DOT_PRODUCT distances increase
|
1121
|
+
# when the vectors are more similar, the comparison is inverted. * For EUCLIDEAN,
|
1122
|
+
# COSINE: WHERE distance <= distance_threshold * For DOT_PRODUCT: WHERE
|
1123
|
+
# distance >= distance_threshold
|
1124
|
+
# Corresponds to the JSON property `distanceThreshold`
|
1125
|
+
# @return [Float]
|
1126
|
+
attr_accessor :distance_threshold
|
1127
|
+
|
1112
1128
|
# Required. The number of nearest neighbors to return. Must be a positive
|
1113
1129
|
# integer of no more than 1000.
|
1114
1130
|
# Corresponds to the JSON property `limit`
|
@@ -1132,6 +1148,8 @@ module Google
|
|
1132
1148
|
# Update properties of this object
|
1133
1149
|
def update!(**args)
|
1134
1150
|
@distance_measure = args[:distance_measure] if args.key?(:distance_measure)
|
1151
|
+
@distance_result_field = args[:distance_result_field] if args.key?(:distance_result_field)
|
1152
|
+
@distance_threshold = args[:distance_threshold] if args.key?(:distance_threshold)
|
1135
1153
|
@limit = args[:limit] if args.key?(:limit)
|
1136
1154
|
@query_vector = args[:query_vector] if args.key?(:query_vector)
|
1137
1155
|
@vector_field = args[:vector_field] if args.key?(:vector_field)
|
@@ -1143,7 +1161,7 @@ module Google
|
|
1143
1161
|
class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata
|
1144
1162
|
include Google::Apis::Core::Hashable
|
1145
1163
|
|
1146
|
-
# The
|
1164
|
+
# The IDs of the collection groups that are being deleted.
|
1147
1165
|
# Corresponds to the JSON property `collectionIds`
|
1148
1166
|
# @return [Array<String>]
|
1149
1167
|
attr_accessor :collection_ids
|
@@ -1154,7 +1172,7 @@ module Google
|
|
1154
1172
|
# @return [String]
|
1155
1173
|
attr_accessor :end_time
|
1156
1174
|
|
1157
|
-
# Which namespace
|
1175
|
+
# Which namespace IDs are being deleted.
|
1158
1176
|
# Corresponds to the JSON property `namespaceIds`
|
1159
1177
|
# @return [Array<String>]
|
1160
1178
|
attr_accessor :namespace_ids
|
@@ -1909,10 +1927,7 @@ module Google
|
|
1909
1927
|
# A Document has changed. May be the result of multiple writes, including
|
1910
1928
|
# deletes, that ultimately resulted in a new value for the Document. Multiple
|
1911
1929
|
# DocumentChange messages may be returned for the same logical change, if
|
1912
|
-
# multiple targets are affected.
|
1913
|
-
# the new pipeline format, For a Listen stream with both QueryTargets and
|
1914
|
-
# PipelineQueryTargets present, if a document matches both types of queries,
|
1915
|
-
# then a separate DocumentChange messages will be sent out one for each set.
|
1930
|
+
# multiple targets are affected.
|
1916
1931
|
# Corresponds to the JSON property `documentChange`
|
1917
1932
|
# @return [Google::Apis::FirestoreV1beta1::DocumentChange]
|
1918
1933
|
attr_accessor :document_change
|
@@ -2049,7 +2064,8 @@ module Google
|
|
2049
2064
|
attr_accessor :read_time
|
2050
2065
|
|
2051
2066
|
# A Firestore query. The query stages are executed in the following order: 1.
|
2052
|
-
# from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit
|
2067
|
+
# from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit 7.
|
2068
|
+
# find_nearest
|
2053
2069
|
# Corresponds to the JSON property `structuredQuery`
|
2054
2070
|
# @return [Google::Apis::FirestoreV1beta1::StructuredQuery]
|
2055
2071
|
attr_accessor :structured_query
|
@@ -2187,7 +2203,8 @@ module Google
|
|
2187
2203
|
attr_accessor :parent
|
2188
2204
|
|
2189
2205
|
# A Firestore query. The query stages are executed in the following order: 1.
|
2190
|
-
# from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit
|
2206
|
+
# from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit 7.
|
2207
|
+
# find_nearest
|
2191
2208
|
# Corresponds to the JSON property `structuredQuery`
|
2192
2209
|
# @return [Google::Apis::FirestoreV1beta1::StructuredQuery]
|
2193
2210
|
attr_accessor :structured_query
|
@@ -2380,7 +2397,8 @@ module Google
|
|
2380
2397
|
attr_accessor :read_time
|
2381
2398
|
|
2382
2399
|
# A Firestore query. The query stages are executed in the following order: 1.
|
2383
|
-
# from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit
|
2400
|
+
# from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit 7.
|
2401
|
+
# find_nearest
|
2384
2402
|
# Corresponds to the JSON property `structuredQuery`
|
2385
2403
|
# @return [Google::Apis::FirestoreV1beta1::StructuredQuery]
|
2386
2404
|
attr_accessor :structured_query
|
@@ -2516,7 +2534,8 @@ module Google
|
|
2516
2534
|
attr_accessor :aggregations
|
2517
2535
|
|
2518
2536
|
# A Firestore query. The query stages are executed in the following order: 1.
|
2519
|
-
# from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit
|
2537
|
+
# from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit 7.
|
2538
|
+
# find_nearest
|
2520
2539
|
# Corresponds to the JSON property `structuredQuery`
|
2521
2540
|
# @return [Google::Apis::FirestoreV1beta1::StructuredQuery]
|
2522
2541
|
attr_accessor :structured_query
|
@@ -2533,7 +2552,8 @@ module Google
|
|
2533
2552
|
end
|
2534
2553
|
|
2535
2554
|
# A Firestore query. The query stages are executed in the following order: 1.
|
2536
|
-
# from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit
|
2555
|
+
# from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit 7.
|
2556
|
+
# find_nearest
|
2537
2557
|
class StructuredQuery
|
2538
2558
|
include Google::Apis::Core::Hashable
|
2539
2559
|
|
@@ -2542,7 +2562,10 @@ module Google
|
|
2542
2562
|
# @return [Google::Apis::FirestoreV1beta1::Cursor]
|
2543
2563
|
attr_accessor :end_at
|
2544
2564
|
|
2545
|
-
# Nearest Neighbors search config.
|
2565
|
+
# Nearest Neighbors search config. The ordering provided by FindNearest
|
2566
|
+
# supersedes the order_by stage. If multiple documents have the same vector
|
2567
|
+
# distance, the returned document order is not guaranteed to be stable between
|
2568
|
+
# queries.
|
2546
2569
|
# Corresponds to the JSON property `findNearest`
|
2547
2570
|
# @return [Google::Apis::FirestoreV1beta1::FindNearest]
|
2548
2571
|
attr_accessor :find_nearest
|
@@ -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.45.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241018"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -864,6 +864,8 @@ module Google
|
|
864
864
|
# @private
|
865
865
|
class Representation < Google::Apis::Core::JsonRepresentation
|
866
866
|
property :distance_measure, as: 'distanceMeasure'
|
867
|
+
property :distance_result_field, as: 'distanceResultField'
|
868
|
+
property :distance_threshold, as: 'distanceThreshold'
|
867
869
|
property :limit, as: 'limit'
|
868
870
|
property :query_vector, as: 'queryVector', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
|
869
871
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.45.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-
|
11
|
+
date: 2024-12-04 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_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta1/v0.45.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1beta1
|
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.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Firestore API V1beta1
|