google-apis-firestore_v1 0.63.0 → 0.65.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: d7b832b4851d47d963cc19239084b1f456107a22c145d4aca569ff4a8eaee4e3
4
+ data.tar.gz: eb82f21be31b9ac64975973b97de4aa1af9046971ee686a6c519d922a4a4fdc7
5
5
  SHA512:
6
- metadata.gz: 4871a8b91bd894379a92743002fa145a1df7e22cb95ad160e047aab88fcb6d2f925b173915cc12001aeccfab1b627cf9630fddb30e8a8c730c4f38076afaf46a
7
- data.tar.gz: 5816f5db16f720a6868e31cfa7c0c15e6b1f1f3b8862de2f9facbb3f84dde666a7f01a8428f772a2b935aec9e02576e15a6071ceac6fd2daf9435282d51842b6
6
+ metadata.gz: 75a98dcb4fb777db56328a761ba12d0ea4ac8f48c292ab9a84bc628266f331360a9323369054099f468f2e7b7cf977096da0e81b2d86c8b1e32f62abf0074e1f
7
+ data.tar.gz: b0909cf1b143399b1769361f250ed8c2915def7f1349e789ccf05adca647970db4d9c2f28ff178f72f59173aebafa56ccfc535f1f8a3a024934b67af8c55ae58
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.65.0 (2024-04-28)
4
+
5
+ * Regenerated from discovery document revision 20240420
6
+
7
+ ### v0.64.0 (2024-03-31)
8
+
9
+ * Regenerated from discovery document revision 20240324
10
+
3
11
  ### v0.63.0 (2024-03-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20240317
@@ -637,7 +637,10 @@ 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.
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.
641
644
  class DocumentChange
642
645
  include Google::Apis::Core::Hashable
643
646
 
@@ -1097,6 +1100,44 @@ module Google
1097
1100
  end
1098
1101
  end
1099
1102
 
1103
+ # Nearest Neighbors search config.
1104
+ class FindNearest
1105
+ include Google::Apis::Core::Hashable
1106
+
1107
+ # Required. The distance measure to use, required.
1108
+ # Corresponds to the JSON property `distanceMeasure`
1109
+ # @return [String]
1110
+ attr_accessor :distance_measure
1111
+
1112
+ # Required. The number of nearest neighbors to return. Must be a positive
1113
+ # integer of no more than 1000.
1114
+ # Corresponds to the JSON property `limit`
1115
+ # @return [Fixnum]
1116
+ attr_accessor :limit
1117
+
1118
+ # A message that can hold any of the supported value types.
1119
+ # Corresponds to the JSON property `queryVector`
1120
+ # @return [Google::Apis::FirestoreV1::Value]
1121
+ attr_accessor :query_vector
1122
+
1123
+ # A reference to a field in a document, ex: `stats.operations`.
1124
+ # Corresponds to the JSON property `vectorField`
1125
+ # @return [Google::Apis::FirestoreV1::FieldReference]
1126
+ attr_accessor :vector_field
1127
+
1128
+ def initialize(**args)
1129
+ update!(**args)
1130
+ end
1131
+
1132
+ # Update properties of this object
1133
+ def update!(**args)
1134
+ @distance_measure = args[:distance_measure] if args.key?(:distance_measure)
1135
+ @limit = args[:limit] if args.key?(:limit)
1136
+ @query_vector = args[:query_vector] if args.key?(:query_vector)
1137
+ @vector_field = args[:vector_field] if args.key?(:vector_field)
1138
+ end
1139
+ end
1140
+
1100
1141
  # A Backup of a Cloud Firestore Database. The backup contains all documents and
1101
1142
  # index configurations for the given database at a specific point in time.
1102
1143
  class GoogleFirestoreAdminV1Backup
@@ -1169,8 +1210,7 @@ module Google
1169
1210
  # @return [String]
1170
1211
  attr_accessor :create_time
1171
1212
 
1172
- # Represents a recurring schedule that runs at a specific time every day. The
1173
- # time zone is UTC.
1213
+ # Represents a recurring schedule that runs every day. The time zone is UTC.
1174
1214
  # Corresponds to the JSON property `dailyRecurrence`
1175
1215
  # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1DailyRecurrence]
1176
1216
  attr_accessor :daily_recurrence
@@ -1265,8 +1305,7 @@ module Google
1265
1305
  end
1266
1306
  end
1267
1307
 
1268
- # Represents a recurring schedule that runs at a specific time every day. The
1269
- # time zone is UTC.
1308
+ # Represents a recurring schedule that runs every day. The time zone is UTC.
1270
1309
  class GoogleFirestoreAdminV1DailyRecurrence
1271
1310
  include Google::Apis::Core::Hashable
1272
1311
 
@@ -2722,7 +2761,10 @@ module Google
2722
2761
  # A Document has changed. May be the result of multiple writes, including
2723
2762
  # deletes, that ultimately resulted in a new value for the Document. Multiple
2724
2763
  # DocumentChange messages may be returned for the same logical change, if
2725
- # multiple targets are affected.
2764
+ # multiple targets are affected. For PipelineQueryTargets, `document` will be in
2765
+ # the new pipeline format, For a Listen stream with both QueryTargets and
2766
+ # PipelineQueryTargets present, if a document matches both types of queries,
2767
+ # then a separate DocumentChange messages will be sent out one for each set.
2726
2768
  # Corresponds to the JSON property `documentChange`
2727
2769
  # @return [Google::Apis::FirestoreV1::DocumentChange]
2728
2770
  attr_accessor :document_change
@@ -3399,6 +3441,11 @@ module Google
3399
3441
  # @return [Google::Apis::FirestoreV1::Cursor]
3400
3442
  attr_accessor :end_at
3401
3443
 
3444
+ # Nearest Neighbors search config.
3445
+ # Corresponds to the JSON property `findNearest`
3446
+ # @return [Google::Apis::FirestoreV1::FindNearest]
3447
+ attr_accessor :find_nearest
3448
+
3402
3449
  # The collections to query.
3403
3450
  # Corresponds to the JSON property `from`
3404
3451
  # @return [Array<Google::Apis::FirestoreV1::CollectionSelector>]
@@ -3457,6 +3504,7 @@ module Google
3457
3504
  # Update properties of this object
3458
3505
  def update!(**args)
3459
3506
  @end_at = args[:end_at] if args.key?(:end_at)
3507
+ @find_nearest = args[:find_nearest] if args.key?(:find_nearest)
3460
3508
  @from = args[:from] if args.key?(:from)
3461
3509
  @limit = args[:limit] if args.key?(:limit)
3462
3510
  @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.65.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 = "20240420"
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'
@@ -347,8 +347,8 @@ module Google
347
347
  end
348
348
 
349
349
  # Creates a backup schedule on a database. At most two backup schedules can be
350
- # configured on a database, one daily backup schedule with retention up to 7
351
- # days and one weekly backup schedule with retention up to 14 weeks.
350
+ # configured on a database, one daily backup schedule and one weekly backup
351
+ # schedule.
352
352
  # @param [String] parent
353
353
  # Required. The parent database. Format `projects/`project`/databases/`database``
354
354
  # @param [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1BackupSchedule] google_firestore_admin_v1_backup_schedule_object
@@ -554,7 +554,7 @@ module Google
554
554
  # The filter to apply to list results. Currently, FirestoreAdmin.ListFields only
555
555
  # supports listing fields that have been explicitly overridden. To issue this
556
556
  # query, call FirestoreAdmin.ListFields with a filter that includes `indexConfig.
557
- # usesAncestorConfig:false` .
557
+ # usesAncestorConfig:false` or `ttlConfig:*`.
558
558
  # @param [Fixnum] page_size
559
559
  # The number of results to return.
560
560
  # @param [String] page_token
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.65.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-04-28 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.65.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: []