google-apis-firestore_v1 0.52.0 → 0.54.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: 5eb703907af527899c31246a450cda9e3e0cf900b088bf40b54d75846afb3419
4
+ data.tar.gz: 818875935ec9d3af61f0713c673e24205d49e5a57017526eac94deb9d3afbdb9
5
5
  SHA512:
6
- metadata.gz: 3a8c516a8011ded00d96102ef617d1d6151872e8db461c9ece67defbd2aff489282733c543ec228891d9b2c79a9057cbd43b6ecfc5d216029df73b587394e0ce
7
- data.tar.gz: 96e73c1480a8083c83559178550166b9483541ba6f59e02065e72dc822fde20d96dae51ab26498b7aa689bbddf2a4f976772161be0850cd950cc8739897e1490
6
+ metadata.gz: 3f592ac9775ab80463f12f618b41e7673d4b0cf0a0b56ab3116f95c5657e2981ab092aa9298dc4230339c2a764e075e58c25e257f1b64495decd95cd02169bbc
7
+ data.tar.gz: 98759c185fbc48add1eef68bff840caca7bba69ab7afe9265f75b4bd73afd02b1f7eb5419e2ff36bc888e5d4aff374f995006fa8075162d096b8d6ab7cdbc6c0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.54.0 (2023-11-05)
4
+
5
+ * Regenerated from discovery document revision 20231031
6
+
7
+ ### v0.53.0 (2023-10-08)
8
+
9
+ * Regenerated from discovery document revision 20231002
10
+
3
11
  ### v0.52.0 (2023-09-24)
4
12
 
5
13
  * 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
 
@@ -1918,6 +1940,17 @@ module Google
1918
1940
  # @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Database>]
1919
1941
  attr_accessor :databases
1920
1942
 
1943
+ # In the event that data about individual databases cannot be listed they will
1944
+ # be recorded here. An example entry might be: projects/some_project/locations/
1945
+ # some_location This can happen if the Cloud Region that the Database resides in
1946
+ # is currently unavailable. In this case we can't fetch all the details about
1947
+ # the database. You may be able to get a more detailed error message (or
1948
+ # possibly fetch the resource) by sending a 'Get' request for the resource or a '
1949
+ # List' request for the specific location.
1950
+ # Corresponds to the JSON property `unreachable`
1951
+ # @return [Array<String>]
1952
+ attr_accessor :unreachable
1953
+
1921
1954
  def initialize(**args)
1922
1955
  update!(**args)
1923
1956
  end
@@ -1925,6 +1958,7 @@ module Google
1925
1958
  # Update properties of this object
1926
1959
  def update!(**args)
1927
1960
  @databases = args[:databases] if args.key?(:databases)
1961
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1928
1962
  end
1929
1963
  end
1930
1964
 
@@ -2073,8 +2107,8 @@ module Google
2073
2107
  class GoogleFirestoreAdminV1RestoreDatabaseRequest
2074
2108
  include Google::Apis::Core::Hashable
2075
2109
 
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``
2110
+ # Backup to restore from. Must be from the same project as the parent. Format is:
2111
+ # `projects/`project_id`/locations/`location`/backups/`backup``
2078
2112
  # Corresponds to the JSON property `backup`
2079
2113
  # @return [String]
2080
2114
  attr_accessor :backup
@@ -2188,6 +2222,34 @@ module Google
2188
2222
  end
2189
2223
  end
2190
2224
 
2225
+ # The index configuration to support vector search operations
2226
+ class GoogleFirestoreAdminV1VectorConfig
2227
+ include Google::Apis::Core::Hashable
2228
+
2229
+ # Required. The vector dimension this configuration applies to. The resulting
2230
+ # index will only include vectors of this dimension, and can be used for vector
2231
+ # search with the same dimension.
2232
+ # Corresponds to the JSON property `dimension`
2233
+ # @return [Fixnum]
2234
+ attr_accessor :dimension
2235
+
2236
+ # An index that stores vectors in a flat data structure, and supports exhaustive
2237
+ # search.
2238
+ # Corresponds to the JSON property `flat`
2239
+ # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1FlatIndex]
2240
+ attr_accessor :flat
2241
+
2242
+ def initialize(**args)
2243
+ update!(**args)
2244
+ end
2245
+
2246
+ # Update properties of this object
2247
+ def update!(**args)
2248
+ @dimension = args[:dimension] if args.key?(:dimension)
2249
+ @flat = args[:flat] if args.key?(:flat)
2250
+ end
2251
+ end
2252
+
2191
2253
  # Represents a recurring schedule that runs on a specified day of the week. The
2192
2254
  # time zone is UTC.
2193
2255
  class GoogleFirestoreAdminV1WeeklyRecurrence
@@ -2704,7 +2766,8 @@ module Google
2704
2766
  # PartitionQuery request returns partition cursors A and B, running the
2705
2767
  # following three queries will return the entire result set of the original
2706
2768
  # 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.
2769
+ # empty result may indicate that the query has too few results to be partitioned,
2770
+ # or that the query is not yet supported for partitioning.
2708
2771
  # Corresponds to the JSON property `partitions`
2709
2772
  # @return [Array<Google::Apis::FirestoreV1::Cursor>]
2710
2773
  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.54.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 = "20231031"
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
 
@@ -1148,6 +1168,7 @@ module Google
1148
1168
  class Representation < Google::Apis::Core::JsonRepresentation
1149
1169
  collection :databases, as: 'databases', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Database, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Database::Representation
1150
1170
 
1171
+ collection :unreachable, as: 'unreachable'
1151
1172
  end
1152
1173
  end
1153
1174
 
@@ -1233,6 +1254,15 @@ module Google
1233
1254
  end
1234
1255
  end
1235
1256
 
1257
+ class GoogleFirestoreAdminV1VectorConfig
1258
+ # @private
1259
+ class Representation < Google::Apis::Core::JsonRepresentation
1260
+ property :dimension, as: 'dimension'
1261
+ property :flat, as: 'flat', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1FlatIndex, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1FlatIndex::Representation
1262
+
1263
+ end
1264
+ end
1265
+
1236
1266
  class GoogleFirestoreAdminV1WeeklyRecurrence
1237
1267
  # @private
1238
1268
  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.54.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-11-05 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.54.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: []