google-apis-firestore_v1 0.63.0 → 0.64.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: c6974b6fe903f1d7ee1557c20778bf8c5c41e2cca3d48aad1a2becd6f9e8d14b
4
- data.tar.gz: 11dca6f1ef3fbc3b58229f4bd4164f6db06d0e71a0da8dd43cf3a6e5c3dcc497
3
+ metadata.gz: 28a6c296849b8cb47ea74c00ea548841d79a639b0b86318252e2df480b1e7ea3
4
+ data.tar.gz: 9f229c8da59eb9e1fcaff2c221019516c6d94bd8b65a76ff7a325862cd82c954
5
5
  SHA512:
6
- metadata.gz: 4871a8b91bd894379a92743002fa145a1df7e22cb95ad160e047aab88fcb6d2f925b173915cc12001aeccfab1b627cf9630fddb30e8a8c730c4f38076afaf46a
7
- data.tar.gz: 5816f5db16f720a6868e31cfa7c0c15e6b1f1f3b8862de2f9facbb3f84dde666a7f01a8428f772a2b935aec9e02576e15a6071ceac6fd2daf9435282d51842b6
6
+ metadata.gz: ffaf940574d370de8039581022087fd0201416fb1ec4236f71405322a7755c87496bb9fbc0e665818edc9666e97d2e4a57842b86ef806f50201a5bea99c04b93
7
+ data.tar.gz: f5e4554d41e0acfbe5ebda0305ffa9831708b2ff0d13f5b1c59caa4460684e587637438356f2e03f265d5e2254554d8a00011064da9882b1f48e65e31bf52d7d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.64.0 (2024-03-31)
4
+
5
+ * Regenerated from discovery document revision 20240324
6
+
3
7
  ### v0.63.0 (2024-03-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20240317
@@ -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::FirestoreV1::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::FirestoreV1::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
  # A Backup of a Cloud Firestore Database. The backup contains all documents and
1101
1139
  # index configurations for the given database at a specific point in time.
1102
1140
  class GoogleFirestoreAdminV1Backup
@@ -3399,6 +3437,11 @@ module Google
3399
3437
  # @return [Google::Apis::FirestoreV1::Cursor]
3400
3438
  attr_accessor :end_at
3401
3439
 
3440
+ # Nearest Neighbors search config.
3441
+ # Corresponds to the JSON property `findNearest`
3442
+ # @return [Google::Apis::FirestoreV1::FindNearest]
3443
+ attr_accessor :find_nearest
3444
+
3402
3445
  # The collections to query.
3403
3446
  # Corresponds to the JSON property `from`
3404
3447
  # @return [Array<Google::Apis::FirestoreV1::CollectionSelector>]
@@ -3457,6 +3500,7 @@ module Google
3457
3500
  # Update properties of this object
3458
3501
  def update!(**args)
3459
3502
  @end_at = args[:end_at] if args.key?(:end_at)
3503
+ @find_nearest = args[:find_nearest] if args.key?(:find_nearest)
3460
3504
  @from = args[:from] if args.key?(:from)
3461
3505
  @limit = args[:limit] if args.key?(:limit)
3462
3506
  @offset = args[:offset] if args.key?(:offset)
@@ -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.63.0"
19
+ GEM_VERSION = "0.64.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 = "20240317"
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 GoogleFirestoreAdminV1Backup
230
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
237
 
@@ -992,6 +998,18 @@ module Google
992
998
  end
993
999
  end
994
1000
 
1001
+ class FindNearest
1002
+ # @private
1003
+ class Representation < Google::Apis::Core::JsonRepresentation
1004
+ property :distance_measure, as: 'distanceMeasure'
1005
+ property :limit, as: 'limit'
1006
+ property :query_vector, as: 'queryVector', class: Google::Apis::FirestoreV1::Value, decorator: Google::Apis::FirestoreV1::Value::Representation
1007
+
1008
+ property :vector_field, as: 'vectorField', class: Google::Apis::FirestoreV1::FieldReference, decorator: Google::Apis::FirestoreV1::FieldReference::Representation
1009
+
1010
+ end
1011
+ end
1012
+
995
1013
  class GoogleFirestoreAdminV1Backup
996
1014
  # @private
997
1015
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1629,6 +1647,8 @@ module Google
1629
1647
  class Representation < Google::Apis::Core::JsonRepresentation
1630
1648
  property :end_at, as: 'endAt', class: Google::Apis::FirestoreV1::Cursor, decorator: Google::Apis::FirestoreV1::Cursor::Representation
1631
1649
 
1650
+ property :find_nearest, as: 'findNearest', class: Google::Apis::FirestoreV1::FindNearest, decorator: Google::Apis::FirestoreV1::FindNearest::Representation
1651
+
1632
1652
  collection :from, as: 'from', class: Google::Apis::FirestoreV1::CollectionSelector, decorator: Google::Apis::FirestoreV1::CollectionSelector::Representation
1633
1653
 
1634
1654
  property :limit, as: 'limit'
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.63.0
4
+ version: 0.64.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-24 00:00:00.000000000 Z
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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.63.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.64.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: []