google-apis-firestore_v1 0.52.0 → 0.53.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: f4595534d9b057a111472539c43e497349a2bd45f59acfb00870d4f684b9555e
4
- data.tar.gz: 5e644c045f4d2a0ee67882bc9fc4456041659a00b193dc5d1e9a346671248d93
3
+ metadata.gz: c4c59d1e8883540010cc5bbbe3d80399217cc83c83c3f16383d5c6c6b483e728
4
+ data.tar.gz: fd341709559138f4b01ab8294e2e4fe071c434d25b013b92d1f50fee2998838d
5
5
  SHA512:
6
- metadata.gz: 3a8c516a8011ded00d96102ef617d1d6151872e8db461c9ece67defbd2aff489282733c543ec228891d9b2c79a9057cbd43b6ecfc5d216029df73b587394e0ce
7
- data.tar.gz: 96e73c1480a8083c83559178550166b9483541ba6f59e02065e72dc822fde20d96dae51ab26498b7aa689bbddf2a4f976772161be0850cd950cc8739897e1490
6
+ metadata.gz: 81bac3426310f7878dfac7b2a66d3b25067cff5512b9ee50061767b4ac5a4e370e89d13b2cf1d9194d45c7676cfe20269a9300232e1269dddd4405aa3ce7a329
7
+ data.tar.gz: 72bf206869ff5a4dd1834b1d343c848255397a6e1009e95ee8f5cb867959cbf6fd124ea4884748255555bffce798feba3cb47695189a0ea98167730cde252ed1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.53.0 (2023-10-08)
4
+
5
+ * Regenerated from discovery document revision 20231002
6
+
3
7
  ### v0.52.0 (2023-09-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20230918
@@ -1373,8 +1373,10 @@ module Google
1373
1373
  attr_accessor :output_uri_prefix
1374
1374
 
1375
1375
  # The timestamp that corresponds to the version of the database to be exported.
1376
- # The timestamp must be rounded to the minute, in the past, and not older than 1
1377
- # hour. If specified, then the exported documents will represent a consistent
1376
+ # The timestamp must be rounded to the minute, in the past, and not older than 5
1377
+ # days. Please choose a reasonable timestamp based on prior knowledge on how
1378
+ # long exports take as data at provided snapshot timestamp can expire during
1379
+ # export. If specified, then the exported documents will represent a consistent
1378
1380
  # view of the database at the provided time. Otherwise, there are no guarantees
1379
1381
  # about the consistency of the exported documents.
1380
1382
  # Corresponds to the JSON property `snapshotTime`
@@ -1536,6 +1538,20 @@ module Google
1536
1538
  end
1537
1539
  end
1538
1540
 
1541
+ # An index that stores vectors in a flat data structure, and supports exhaustive
1542
+ # search.
1543
+ class GoogleFirestoreAdminV1FlatIndex
1544
+ include Google::Apis::Core::Hashable
1545
+
1546
+ def initialize(**args)
1547
+ update!(**args)
1548
+ end
1549
+
1550
+ # Update properties of this object
1551
+ def update!(**args)
1552
+ end
1553
+ end
1554
+
1539
1555
  # Metadata for google.longrunning.Operation results from FirestoreAdmin.
1540
1556
  # ImportDocuments.
1541
1557
  class GoogleFirestoreAdminV1ImportDocumentsMetadata
@@ -1793,6 +1809,11 @@ module Google
1793
1809
  # @return [String]
1794
1810
  attr_accessor :order
1795
1811
 
1812
+ # The index configuration to support vector search operations
1813
+ # Corresponds to the JSON property `vectorConfig`
1814
+ # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1VectorConfig]
1815
+ attr_accessor :vector_config
1816
+
1796
1817
  def initialize(**args)
1797
1818
  update!(**args)
1798
1819
  end
@@ -1802,6 +1823,7 @@ module Google
1802
1823
  @array_config = args[:array_config] if args.key?(:array_config)
1803
1824
  @field_path = args[:field_path] if args.key?(:field_path)
1804
1825
  @order = args[:order] if args.key?(:order)
1826
+ @vector_config = args[:vector_config] if args.key?(:vector_config)
1805
1827
  end
1806
1828
  end
1807
1829
 
@@ -2073,8 +2095,8 @@ module Google
2073
2095
  class GoogleFirestoreAdminV1RestoreDatabaseRequest
2074
2096
  include Google::Apis::Core::Hashable
2075
2097
 
2076
- # Required. Backup to restore from. Must be from the same project as the parent.
2077
- # Format is: `projects/`project_id`/locations/`location`/backups/`backup``
2098
+ # Backup to restore from. Must be from the same project as the parent. Format is:
2099
+ # `projects/`project_id`/locations/`location`/backups/`backup``
2078
2100
  # Corresponds to the JSON property `backup`
2079
2101
  # @return [String]
2080
2102
  attr_accessor :backup
@@ -2188,6 +2210,34 @@ module Google
2188
2210
  end
2189
2211
  end
2190
2212
 
2213
+ # The index configuration to support vector search operations
2214
+ class GoogleFirestoreAdminV1VectorConfig
2215
+ include Google::Apis::Core::Hashable
2216
+
2217
+ # Required. The vector dimension this configuration applies to. The resulting
2218
+ # index will only include vectors of this dimension, and can be used for vector
2219
+ # search with the same dimension.
2220
+ # Corresponds to the JSON property `dimension`
2221
+ # @return [Fixnum]
2222
+ attr_accessor :dimension
2223
+
2224
+ # An index that stores vectors in a flat data structure, and supports exhaustive
2225
+ # search.
2226
+ # Corresponds to the JSON property `flat`
2227
+ # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1FlatIndex]
2228
+ attr_accessor :flat
2229
+
2230
+ def initialize(**args)
2231
+ update!(**args)
2232
+ end
2233
+
2234
+ # Update properties of this object
2235
+ def update!(**args)
2236
+ @dimension = args[:dimension] if args.key?(:dimension)
2237
+ @flat = args[:flat] if args.key?(:flat)
2238
+ end
2239
+ end
2240
+
2191
2241
  # Represents a recurring schedule that runs on a specified day of the week. The
2192
2242
  # time zone is UTC.
2193
2243
  class GoogleFirestoreAdminV1WeeklyRecurrence
@@ -2704,7 +2754,8 @@ module Google
2704
2754
  # PartitionQuery request returns partition cursors A and B, running the
2705
2755
  # following three queries will return the entire result set of the original
2706
2756
  # query: * query, end_at A * query, start_at A, end_at B * query, start_at B An
2707
- # empty result may indicate that the query has too few results to be partitioned.
2757
+ # empty result may indicate that the query has too few results to be partitioned,
2758
+ # or that the query is not yet supported for partitioning.
2708
2759
  # Corresponds to the JSON property `partitions`
2709
2760
  # @return [Array<Google::Apis::FirestoreV1::Cursor>]
2710
2761
  attr_accessor :partitions
@@ -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.52.0"
19
+ GEM_VERSION = "0.53.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230918"
25
+ REVISION = "20231002"
26
26
  end
27
27
  end
28
28
  end
@@ -274,6 +274,12 @@ module Google
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
+ class GoogleFirestoreAdminV1FlatIndex
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
277
283
  class GoogleFirestoreAdminV1ImportDocumentsMetadata
278
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
285
 
@@ -394,6 +400,12 @@ module Google
394
400
  include Google::Apis::Core::JsonObjectSupport
395
401
  end
396
402
 
403
+ class GoogleFirestoreAdminV1VectorConfig
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
397
409
  class GoogleFirestoreAdminV1WeeklyRecurrence
398
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
411
 
@@ -1046,6 +1058,12 @@ module Google
1046
1058
  end
1047
1059
  end
1048
1060
 
1061
+ class GoogleFirestoreAdminV1FlatIndex
1062
+ # @private
1063
+ class Representation < Google::Apis::Core::JsonRepresentation
1064
+ end
1065
+ end
1066
+
1049
1067
  class GoogleFirestoreAdminV1ImportDocumentsMetadata
1050
1068
  # @private
1051
1069
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1109,6 +1127,8 @@ module Google
1109
1127
  property :array_config, as: 'arrayConfig'
1110
1128
  property :field_path, as: 'fieldPath'
1111
1129
  property :order, as: 'order'
1130
+ property :vector_config, as: 'vectorConfig', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1VectorConfig, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1VectorConfig::Representation
1131
+
1112
1132
  end
1113
1133
  end
1114
1134
 
@@ -1233,6 +1253,15 @@ module Google
1233
1253
  end
1234
1254
  end
1235
1255
 
1256
+ class GoogleFirestoreAdminV1VectorConfig
1257
+ # @private
1258
+ class Representation < Google::Apis::Core::JsonRepresentation
1259
+ property :dimension, as: 'dimension'
1260
+ property :flat, as: 'flat', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1FlatIndex, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1FlatIndex::Representation
1261
+
1262
+ end
1263
+ end
1264
+
1236
1265
  class GoogleFirestoreAdminV1WeeklyRecurrence
1237
1266
  # @private
1238
1267
  class Representation < Google::Apis::Core::JsonRepresentation
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.52.0
4
+ version: 0.53.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: 2023-09-24 00:00:00.000000000 Z
11
+ date: 2023-10-08 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.52.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.53.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: []