google-apis-firestore_v1beta1 0.44.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: b21b9b6d3afa2d888d660b8caedde9f1d57bdc0a926582d2c38ce88d981c2a49
4
- data.tar.gz: b333300e82a43e45f627570cdfcdacd594d1dc6b15f5ae55a99f0288cffbc832
3
+ metadata.gz: e5c046f95213758ffb4a778fca0c3bf90b2ff783296262c10168271a79f9bf40
4
+ data.tar.gz: 2d1763d9e8b347595b6ff318183cd15dfbf54a704b3f61a7dfbd0b14c12c050f
5
5
  SHA512:
6
- metadata.gz: e62864548dcfe178f39544e392eaa5c1430a0d52f756027ccf4f56604319c9904bdabfb52c477ad5cc2b3caa11ee733661dbc552bc040055e5405ad41b6f6663
7
- data.tar.gz: d7801241a73f0bfaf59c83d14e146cb1aff85abfc4b0bd4df43c0953a4440037966dd7d2844bc01cbff81c270438fa47f2d16a505e27101fc71eceb691ffbc71
6
+ metadata.gz: a7a3841819c0ec32b8e3ff3999394d2e8ec7eba1fc5aa52c8a5f697ceaf7b84597eaebe124b1b5cc344e19333930a4fd6875b00c0cc322cefda5c5291b71e3d4
7
+ data.tar.gz: 23cc2fb3a6f914948b0993cc25d1f13259da4a36644105de523a234e35f5f7e3d7a06f5f6950f4605116c03d9ee5f6b0387a94cad8c3b00456ad3691cd593a45
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.44.0 (2024-07-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20240713
@@ -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. For PipelineQueryTargets, `document` will be in
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
 
@@ -1112,6 +1109,22 @@ module Google
1112
1109
  # @return [String]
1113
1110
  attr_accessor :distance_measure
1114
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
+
1115
1128
  # Required. The number of nearest neighbors to return. Must be a positive
1116
1129
  # integer of no more than 1000.
1117
1130
  # Corresponds to the JSON property `limit`
@@ -1135,6 +1148,8 @@ module Google
1135
1148
  # Update properties of this object
1136
1149
  def update!(**args)
1137
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)
1138
1153
  @limit = args[:limit] if args.key?(:limit)
1139
1154
  @query_vector = args[:query_vector] if args.key?(:query_vector)
1140
1155
  @vector_field = args[:vector_field] if args.key?(:vector_field)
@@ -1146,7 +1161,7 @@ module Google
1146
1161
  class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata
1147
1162
  include Google::Apis::Core::Hashable
1148
1163
 
1149
- # The ids of the collection groups that are being deleted.
1164
+ # The IDs of the collection groups that are being deleted.
1150
1165
  # Corresponds to the JSON property `collectionIds`
1151
1166
  # @return [Array<String>]
1152
1167
  attr_accessor :collection_ids
@@ -1157,7 +1172,7 @@ module Google
1157
1172
  # @return [String]
1158
1173
  attr_accessor :end_time
1159
1174
 
1160
- # Which namespace ids are being deleted.
1175
+ # Which namespace IDs are being deleted.
1161
1176
  # Corresponds to the JSON property `namespaceIds`
1162
1177
  # @return [Array<String>]
1163
1178
  attr_accessor :namespace_ids
@@ -1912,10 +1927,7 @@ module Google
1912
1927
  # A Document has changed. May be the result of multiple writes, including
1913
1928
  # deletes, that ultimately resulted in a new value for the Document. Multiple
1914
1929
  # DocumentChange messages may be returned for the same logical change, if
1915
- # multiple targets are affected. For PipelineQueryTargets, `document` will be in
1916
- # the new pipeline format, For a Listen stream with both QueryTargets and
1917
- # PipelineQueryTargets present, if a document matches both types of queries,
1918
- # then a separate DocumentChange messages will be sent out one for each set.
1930
+ # multiple targets are affected.
1919
1931
  # Corresponds to the JSON property `documentChange`
1920
1932
  # @return [Google::Apis::FirestoreV1beta1::DocumentChange]
1921
1933
  attr_accessor :document_change
@@ -2052,7 +2064,8 @@ module Google
2052
2064
  attr_accessor :read_time
2053
2065
 
2054
2066
  # A Firestore query. The query stages are executed in the following order: 1.
2055
- # 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
2056
2069
  # Corresponds to the JSON property `structuredQuery`
2057
2070
  # @return [Google::Apis::FirestoreV1beta1::StructuredQuery]
2058
2071
  attr_accessor :structured_query
@@ -2190,7 +2203,8 @@ module Google
2190
2203
  attr_accessor :parent
2191
2204
 
2192
2205
  # A Firestore query. The query stages are executed in the following order: 1.
2193
- # 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
2194
2208
  # Corresponds to the JSON property `structuredQuery`
2195
2209
  # @return [Google::Apis::FirestoreV1beta1::StructuredQuery]
2196
2210
  attr_accessor :structured_query
@@ -2383,7 +2397,8 @@ module Google
2383
2397
  attr_accessor :read_time
2384
2398
 
2385
2399
  # A Firestore query. The query stages are executed in the following order: 1.
2386
- # 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
2387
2402
  # Corresponds to the JSON property `structuredQuery`
2388
2403
  # @return [Google::Apis::FirestoreV1beta1::StructuredQuery]
2389
2404
  attr_accessor :structured_query
@@ -2519,7 +2534,8 @@ module Google
2519
2534
  attr_accessor :aggregations
2520
2535
 
2521
2536
  # A Firestore query. The query stages are executed in the following order: 1.
2522
- # 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
2523
2539
  # Corresponds to the JSON property `structuredQuery`
2524
2540
  # @return [Google::Apis::FirestoreV1beta1::StructuredQuery]
2525
2541
  attr_accessor :structured_query
@@ -2536,7 +2552,8 @@ module Google
2536
2552
  end
2537
2553
 
2538
2554
  # A Firestore query. The query stages are executed in the following order: 1.
2539
- # 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
2540
2557
  class StructuredQuery
2541
2558
  include Google::Apis::Core::Hashable
2542
2559
 
@@ -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.44.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.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240713"
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.44.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-07-25 00:00:00.000000000 Z
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.44.0
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.6
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