google-apis-firestore_v1beta1 0.44.0 → 0.46.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: b21b9b6d3afa2d888d660b8caedde9f1d57bdc0a926582d2c38ce88d981c2a49
4
- data.tar.gz: b333300e82a43e45f627570cdfcdacd594d1dc6b15f5ae55a99f0288cffbc832
3
+ metadata.gz: 25286cd93e2e6291fc10c6d7dc4e892a371c5121b6517897de80291c0f0da3e3
4
+ data.tar.gz: a889beda0ab1fdeae4397315e48c4c1b933bdda72c2215fde81f0887fb5006bf
5
5
  SHA512:
6
- metadata.gz: e62864548dcfe178f39544e392eaa5c1430a0d52f756027ccf4f56604319c9904bdabfb52c477ad5cc2b3caa11ee733661dbc552bc040055e5405ad41b6f6663
7
- data.tar.gz: d7801241a73f0bfaf59c83d14e146cb1aff85abfc4b0bd4df43c0953a4440037966dd7d2844bc01cbff81c270438fa47f2d16a505e27101fc71eceb691ffbc71
6
+ metadata.gz: 69b81c435cf34c5f4c0fc82e4d020a1c3fef50522342b5178db063de5c5b41805ce6fa6a145fbadc6a44db6417467fd0c028353cdf8067978944b6ce2a8bfd37
7
+ data.tar.gz: 65ab2c6c9e245dc580462d205dbb03fffe536721d91285e56e0f112026bac4dd506c3d9a6fb4b10316a7424541e41a9509ceaa264c3ec4aaab41d3ff55362b82
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-firestore_v1beta1
2
2
 
3
+ ### v0.46.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250307
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.45.0 (2024-12-02)
9
+
10
+ * Regenerated from discovery document revision 20241018
11
+ * Regenerated using generator version 0.15.1
12
+
3
13
  ### v0.44.0 (2024-07-25)
4
14
 
5
15
  * 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
 
@@ -2702,7 +2719,7 @@ module Google
2702
2719
  # the server after a target with `target_id=0` is added, the server will
2703
2720
  # immediately send a response with a `TargetChange::Remove` event. Note that if
2704
2721
  # the client sends multiple `AddTarget` requests without an ID, the order of IDs
2705
- # returned in `TargetChage.target_ids` are undefined. Therefore, clients should
2722
+ # returned in `TargetChange.target_ids` are undefined. Therefore, clients should
2706
2723
  # provide a target ID instead of relying on the server to assign one. If `
2707
2724
  # target_id` is non-zero, there must not be an existing active target on this
2708
2725
  # stream with the same ID.
@@ -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.46.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.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240713"
25
+ REVISION = "20250307"
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,13 @@
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.46.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-07-25 00:00:00.000000000 Z
10
+ date: 2025-03-16 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  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
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta1/v0.46.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1beta1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.6
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Firestore API V1beta1
82
79
  test_files: []