google-apis-firestore_v1beta1 0.39.0 → 0.40.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: 12bdc0a4c14d231096efc1b0223236886c62a3e9975eeebfaa44413d4b45ec80
|
4
|
+
data.tar.gz: d9c94ea7478dfedbb3cb84c900827f97a36644db29d58e521bf0514481cf24d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99b1076cfd60cdc8cf69cfe3473151047514499bf12990066bb1c535d83bdba4c21e29bde47a43a6ef5169d4795ba991e4533c68f5a4ec91a8bb5133e7e34c04
|
7
|
+
data.tar.gz: c6d2ace28b969403c7217b74c1dd70726ad7bb4d03854156e40af7646135e9271111dbe67dc381dacf5f8d8787cf563c4ecfc1b9b5d21881f06899cb712fcb13
|
data/CHANGELOG.md
CHANGED
@@ -1097,6 +1097,44 @@ module Google
|
|
1097
1097
|
end
|
1098
1098
|
end
|
1099
1099
|
|
1100
|
+
# Nearest Neighbors search config.
|
1101
|
+
class FindNearest
|
1102
|
+
include Google::Apis::Core::Hashable
|
1103
|
+
|
1104
|
+
# Required. The Distance Measure to use, required.
|
1105
|
+
# Corresponds to the JSON property `distanceMeasure`
|
1106
|
+
# @return [String]
|
1107
|
+
attr_accessor :distance_measure
|
1108
|
+
|
1109
|
+
# Required. The number of nearest neighbors to return. Must be a positive
|
1110
|
+
# integer of no more than 1000.
|
1111
|
+
# Corresponds to the JSON property `limit`
|
1112
|
+
# @return [Fixnum]
|
1113
|
+
attr_accessor :limit
|
1114
|
+
|
1115
|
+
# A message that can hold any of the supported value types.
|
1116
|
+
# Corresponds to the JSON property `queryVector`
|
1117
|
+
# @return [Google::Apis::FirestoreV1beta1::Value]
|
1118
|
+
attr_accessor :query_vector
|
1119
|
+
|
1120
|
+
# A reference to a field in a document, ex: `stats.operations`.
|
1121
|
+
# Corresponds to the JSON property `vectorField`
|
1122
|
+
# @return [Google::Apis::FirestoreV1beta1::FieldReference]
|
1123
|
+
attr_accessor :vector_field
|
1124
|
+
|
1125
|
+
def initialize(**args)
|
1126
|
+
update!(**args)
|
1127
|
+
end
|
1128
|
+
|
1129
|
+
# Update properties of this object
|
1130
|
+
def update!(**args)
|
1131
|
+
@distance_measure = args[:distance_measure] if args.key?(:distance_measure)
|
1132
|
+
@limit = args[:limit] if args.key?(:limit)
|
1133
|
+
@query_vector = args[:query_vector] if args.key?(:query_vector)
|
1134
|
+
@vector_field = args[:vector_field] if args.key?(:vector_field)
|
1135
|
+
end
|
1136
|
+
end
|
1137
|
+
|
1100
1138
|
# Metadata related to the create database operation.
|
1101
1139
|
class GoogleFirestoreAdminV1CreateDatabaseMetadata
|
1102
1140
|
include Google::Apis::Core::Hashable
|
@@ -2431,6 +2469,11 @@ module Google
|
|
2431
2469
|
# @return [Google::Apis::FirestoreV1beta1::Cursor]
|
2432
2470
|
attr_accessor :end_at
|
2433
2471
|
|
2472
|
+
# Nearest Neighbors search config.
|
2473
|
+
# Corresponds to the JSON property `findNearest`
|
2474
|
+
# @return [Google::Apis::FirestoreV1beta1::FindNearest]
|
2475
|
+
attr_accessor :find_nearest
|
2476
|
+
|
2434
2477
|
# The collections to query.
|
2435
2478
|
# Corresponds to the JSON property `from`
|
2436
2479
|
# @return [Array<Google::Apis::FirestoreV1beta1::CollectionSelector>]
|
@@ -2489,6 +2532,7 @@ module Google
|
|
2489
2532
|
# Update properties of this object
|
2490
2533
|
def update!(**args)
|
2491
2534
|
@end_at = args[:end_at] if args.key?(:end_at)
|
2535
|
+
@find_nearest = args[:find_nearest] if args.key?(:find_nearest)
|
2492
2536
|
@from = args[:from] if args.key?(:from)
|
2493
2537
|
@limit = args[:limit] if args.key?(:limit)
|
2494
2538
|
@offset = args[:offset] if args.key?(:offset)
|
@@ -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.40.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 = "20240324"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -226,6 +226,12 @@ module Google
|
|
226
226
|
include Google::Apis::Core::JsonObjectSupport
|
227
227
|
end
|
228
228
|
|
229
|
+
class FindNearest
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
229
235
|
class GoogleFirestoreAdminV1CreateDatabaseMetadata
|
230
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
237
|
|
@@ -848,6 +854,18 @@ module Google
|
|
848
854
|
end
|
849
855
|
end
|
850
856
|
|
857
|
+
class FindNearest
|
858
|
+
# @private
|
859
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
860
|
+
property :distance_measure, as: 'distanceMeasure'
|
861
|
+
property :limit, as: 'limit'
|
862
|
+
property :query_vector, as: 'queryVector', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
|
863
|
+
|
864
|
+
property :vector_field, as: 'vectorField', class: Google::Apis::FirestoreV1beta1::FieldReference, decorator: Google::Apis::FirestoreV1beta1::FieldReference::Representation
|
865
|
+
|
866
|
+
end
|
867
|
+
end
|
868
|
+
|
851
869
|
class GoogleFirestoreAdminV1CreateDatabaseMetadata
|
852
870
|
# @private
|
853
871
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1236,6 +1254,8 @@ module Google
|
|
1236
1254
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1237
1255
|
property :end_at, as: 'endAt', class: Google::Apis::FirestoreV1beta1::Cursor, decorator: Google::Apis::FirestoreV1beta1::Cursor::Representation
|
1238
1256
|
|
1257
|
+
property :find_nearest, as: 'findNearest', class: Google::Apis::FirestoreV1beta1::FindNearest, decorator: Google::Apis::FirestoreV1beta1::FindNearest::Representation
|
1258
|
+
|
1239
1259
|
collection :from, as: 'from', class: Google::Apis::FirestoreV1beta1::CollectionSelector, decorator: Google::Apis::FirestoreV1beta1::CollectionSelector::Representation
|
1240
1260
|
|
1241
1261
|
property :limit, as: 'limit'
|
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.40.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-31 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.40.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: []
|