google-apis-firestore_v1 0.70.0 → 0.71.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: cd9814c9ea47ad8137d7cb51d9e958f6353147866479f43c8a39ae4303c3ceed
4
- data.tar.gz: 8fbd0f080975a9f6c9f1c521e655881de21ee98ccbe5c4e9fbc73e13a7212c34
3
+ metadata.gz: 170a49679c2ec0bc8d7584f22718d69d1df15bc6a2391c02d9fe836e6ab3e762
4
+ data.tar.gz: 3067869daf8155df44a8469baf3f8d5d85b9d1743261130debbd78fa8f201203
5
5
  SHA512:
6
- metadata.gz: df4834a5c9031374ef3d6189444136d69211904d361059c0141358c96ec6d4fcaeb550642ee3c92e1118aa5c4dbabf9750a34e3d9cbac3778831fe49ed43499d
7
- data.tar.gz: 964f83ec219d45851c43a0a80ee1995784fc2727f2dc6887ee268d554af4bf0ef2caef7dc3a40636406d684cccd5e6c1a6844fd47e0c70f34cb0a8b090a26d82
6
+ metadata.gz: 0de30fa1441322ab8419c735dab23b8700074a183b58d3720d208ccd9b83023f717358bacb4e7a708db6c123e30a5152f26112df9102e97bccc9c25209df0187
7
+ data.tar.gz: ba8ee9c7733dee6709860412f287f737433e21de786e037f64f33dc7509f498f99eb5d951999bf008734e82ce1ba79cfa853a784ed2a81fc82f65223d6209dc4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.71.0 (2024-09-01)
4
+
5
+ * Regenerated from discovery document revision 20240822
6
+
3
7
  ### v0.70.0 (2024-08-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20240804
@@ -1109,6 +1109,22 @@ module Google
1109
1109
  # @return [String]
1110
1110
  attr_accessor :distance_measure
1111
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 distance >=
1123
+ # distance_threshold
1124
+ # Corresponds to the JSON property `distanceThreshold`
1125
+ # @return [Float]
1126
+ attr_accessor :distance_threshold
1127
+
1112
1128
  # Required. The number of nearest neighbors to return. Must be a positive
1113
1129
  # integer of no more than 1000.
1114
1130
  # Corresponds to the JSON property `limit`
@@ -1132,6 +1148,8 @@ module Google
1132
1148
  # Update properties of this object
1133
1149
  def update!(**args)
1134
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)
1135
1153
  @limit = args[:limit] if args.key?(:limit)
1136
1154
  @query_vector = args[:query_vector] if args.key?(:query_vector)
1137
1155
  @vector_field = args[:vector_field] if args.key?(:vector_field)
@@ -1262,7 +1280,7 @@ module Google
1262
1280
  class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata
1263
1281
  include Google::Apis::Core::Hashable
1264
1282
 
1265
- # The ids of the collection groups that are being deleted.
1283
+ # The IDs of the collection groups that are being deleted.
1266
1284
  # Corresponds to the JSON property `collectionIds`
1267
1285
  # @return [Array<String>]
1268
1286
  attr_accessor :collection_ids
@@ -1273,7 +1291,7 @@ module Google
1273
1291
  # @return [String]
1274
1292
  attr_accessor :end_time
1275
1293
 
1276
- # Which namespace ids are being deleted.
1294
+ # Which namespace IDs are being deleted.
1277
1295
  # Corresponds to the JSON property `namespaceIds`
1278
1296
  # @return [Array<String>]
1279
1297
  attr_accessor :namespace_ids
@@ -1500,7 +1518,7 @@ module Google
1500
1518
  attr_accessor :etag
1501
1519
 
1502
1520
  # Output only. The key_prefix for this database. This key_prefix is used, in
1503
- # combination with the project id ("~") to construct the application id that is
1521
+ # combination with the project ID ("~") to construct the application ID that is
1504
1522
  # returned from the Cloud Datastore APIs in Google App Engine first generation
1505
1523
  # runtimes. This value may be empty in which case the appid to use for URL-
1506
1524
  # encoded keys is the project_id (eg: foo instead of v~foo).
@@ -1598,7 +1616,7 @@ module Google
1598
1616
  end
1599
1617
 
1600
1618
  # Encryption configuration for a new database being created from another source.
1601
- # The source could be a Backup or a DatabaseSnapshot.
1619
+ # The source could be a Backup .
1602
1620
  class GoogleFirestoreAdminV1EncryptionConfig
1603
1621
  include Google::Apis::Core::Hashable
1604
1622
 
@@ -1635,7 +1653,7 @@ module Google
1635
1653
  class GoogleFirestoreAdminV1ExportDocumentsMetadata
1636
1654
  include Google::Apis::Core::Hashable
1637
1655
 
1638
- # Which collection ids are being exported.
1656
+ # Which collection IDs are being exported.
1639
1657
  # Corresponds to the JSON property `collectionIds`
1640
1658
  # @return [Array<String>]
1641
1659
  attr_accessor :collection_ids
@@ -1646,7 +1664,7 @@ module Google
1646
1664
  # @return [String]
1647
1665
  attr_accessor :end_time
1648
1666
 
1649
- # Which namespace ids are being exported.
1667
+ # Which namespace IDs are being exported.
1650
1668
  # Corresponds to the JSON property `namespaceIds`
1651
1669
  # @return [Array<String>]
1652
1670
  attr_accessor :namespace_ids
@@ -1707,8 +1725,8 @@ module Google
1707
1725
  class GoogleFirestoreAdminV1ExportDocumentsRequest
1708
1726
  include Google::Apis::Core::Hashable
1709
1727
 
1710
- # Which collection ids to export. Unspecified means all collections. Each
1711
- # collection id in this list must be unique.
1728
+ # Which collection IDs to export. Unspecified means all collections. Each
1729
+ # collection ID in this list must be unique.
1712
1730
  # Corresponds to the JSON property `collectionIds`
1713
1731
  # @return [Array<String>]
1714
1732
  attr_accessor :collection_ids
@@ -1778,7 +1796,7 @@ module Google
1778
1796
 
1779
1797
  # Represents a single field in the database. Fields are grouped by their "
1780
1798
  # Collection Group", which represent all collections in the database with the
1781
- # same id.
1799
+ # same ID.
1782
1800
  class GoogleFirestoreAdminV1Field
1783
1801
  include Google::Apis::Core::Hashable
1784
1802
 
@@ -1927,7 +1945,7 @@ module Google
1927
1945
  class GoogleFirestoreAdminV1ImportDocumentsMetadata
1928
1946
  include Google::Apis::Core::Hashable
1929
1947
 
1930
- # Which collection ids are being imported.
1948
+ # Which collection IDs are being imported.
1931
1949
  # Corresponds to the JSON property `collectionIds`
1932
1950
  # @return [Array<String>]
1933
1951
  attr_accessor :collection_ids
@@ -1943,7 +1961,7 @@ module Google
1943
1961
  # @return [String]
1944
1962
  attr_accessor :input_uri_prefix
1945
1963
 
1946
- # Which namespace ids are being imported.
1964
+ # Which namespace IDs are being imported.
1947
1965
  # Corresponds to the JSON property `namespaceIds`
1948
1966
  # @return [Array<String>]
1949
1967
  attr_accessor :namespace_ids
@@ -1991,8 +2009,8 @@ module Google
1991
2009
  class GoogleFirestoreAdminV1ImportDocumentsRequest
1992
2010
  include Google::Apis::Core::Hashable
1993
2011
 
1994
- # Which collection ids to import. Unspecified means all collections included in
1995
- # the import. Each collection id in this list must be unique.
2012
+ # Which collection IDs to import. Unspecified means all collections included in
2013
+ # the import. Each collection ID in this list must be unique.
1996
2014
  # Corresponds to the JSON property `collectionIds`
1997
2015
  # @return [Array<String>]
1998
2016
  attr_accessor :collection_ids
@@ -2057,10 +2075,10 @@ module Google
2057
2075
 
2058
2076
  # Indexes with a collection query scope specified allow queries against a
2059
2077
  # collection that is the child of a specific document, specified at query time,
2060
- # and that has the same collection id. Indexes with a collection group query
2078
+ # and that has the same collection ID. Indexes with a collection group query
2061
2079
  # scope specified allow queries against all collections descended from a
2062
2080
  # specific document, specified at query time, and that have the same collection
2063
- # id as this index.
2081
+ # ID as this index.
2064
2082
  # Corresponds to the JSON property `queryScope`
2065
2083
  # @return [String]
2066
2084
  attr_accessor :query_scope
@@ -2476,25 +2494,26 @@ module Google
2476
2494
  class GoogleFirestoreAdminV1RestoreDatabaseRequest
2477
2495
  include Google::Apis::Core::Hashable
2478
2496
 
2479
- # Backup to restore from. Must be from the same project as the parent. The
2480
- # restored database will be created in the same location as the source backup.
2481
- # Format is: `projects/`project_id`/locations/`location`/backups/`backup``
2497
+ # Required. Backup to restore from. Must be from the same project as the parent.
2498
+ # The restored database will be created in the same location as the source
2499
+ # backup. Format is: `projects/`project_id`/locations/`location`/backups/`backup`
2500
+ # `
2482
2501
  # Corresponds to the JSON property `backup`
2483
2502
  # @return [String]
2484
2503
  attr_accessor :backup
2485
2504
 
2486
2505
  # Required. The ID to use for the database, which will become the final
2487
- # component of the database's resource name. This database id must not be
2506
+ # component of the database's resource name. This database ID must not be
2488
2507
  # associated with an existing database. This value should be 4-63 characters.
2489
2508
  # Valid characters are /a-z-/ with first character a letter and the last a
2490
2509
  # letter or a number. Must not be UUID-like /[0-9a-f]`8`(-[0-9a-f]`4`)`3`-[0-9a-
2491
- # f]`12`/. "(default)" database id is also valid.
2510
+ # f]`12`/. "(default)" database ID is also valid.
2492
2511
  # Corresponds to the JSON property `databaseId`
2493
2512
  # @return [String]
2494
2513
  attr_accessor :database_id
2495
2514
 
2496
2515
  # Encryption configuration for a new database being created from another source.
2497
- # The source could be a Backup or a DatabaseSnapshot.
2516
+ # The source could be a Backup .
2498
2517
  # Corresponds to the JSON property `encryptionConfig`
2499
2518
  # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1EncryptionConfig]
2500
2519
  attr_accessor :encryption_config
@@ -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.70.0"
19
+ GEM_VERSION = "0.71.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240804"
25
+ REVISION = "20240822"
26
26
  end
27
27
  end
28
28
  end
@@ -1032,6 +1032,8 @@ module Google
1032
1032
  # @private
1033
1033
  class Representation < Google::Apis::Core::JsonRepresentation
1034
1034
  property :distance_measure, as: 'distanceMeasure'
1035
+ property :distance_result_field, as: 'distanceResultField'
1036
+ property :distance_threshold, as: 'distanceThreshold'
1035
1037
  property :limit, as: 'limit'
1036
1038
  property :query_vector, as: 'queryVector', class: Google::Apis::FirestoreV1::Value, decorator: Google::Apis::FirestoreV1::Value::Representation
1037
1039
 
@@ -100,7 +100,7 @@ module Google
100
100
  # component of the database's resource name. This value should be 4-63
101
101
  # characters. Valid characters are /a-z-/ with first character a letter and the
102
102
  # last a letter or a number. Must not be UUID-like /[0-9a-f]`8`(-[0-9a-f]`4`)`3`-
103
- # [0-9a-f]`12`/. "(default)" database id is also valid.
103
+ # [0-9a-f]`12`/. "(default)" database ID is also valid.
104
104
  # @param [String] fields
105
105
  # Selector specifying which fields to include in a partial response.
106
106
  # @param [String] quota_user
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.70.0
4
+ version: 0.71.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-08-11 00:00:00.000000000 Z
11
+ date: 2024-09-01 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.70.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.71.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: []