google-apis-firestore_v1 0.54.0 → 0.56.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: 5eb703907af527899c31246a450cda9e3e0cf900b088bf40b54d75846afb3419
4
- data.tar.gz: 818875935ec9d3af61f0713c673e24205d49e5a57017526eac94deb9d3afbdb9
3
+ metadata.gz: b7b964752b52059e66f4e588e533818d10fe5530cc48d55a79980539d29e20da
4
+ data.tar.gz: 0e79fc8682b7c4a908d9593c045c61fb592223f999b6a53da17ec1861422c836
5
5
  SHA512:
6
- metadata.gz: 3f592ac9775ab80463f12f618b41e7673d4b0cf0a0b56ab3116f95c5657e2981ab092aa9298dc4230339c2a764e075e58c25e257f1b64495decd95cd02169bbc
7
- data.tar.gz: 98759c185fbc48add1eef68bff840caca7bba69ab7afe9265f75b4bd73afd02b1f7eb5419e2ff36bc888e5d4aff374f995006fa8075162d096b8d6ab7cdbc6c0
6
+ metadata.gz: e369f48af82fba29085b5fcc05c8cf5e142096f64005248bc103f76c8ffc4050cbcc795680dd813a795007f49ca5ec2212ce694598c4d0fdae102da363eec2d7
7
+ data.tar.gz: 75b8e6dde795acc0f3ccfb74ad27196cb5e40918c3857fd8c990c882ce5ed2eaa47afbb83f4a262205911c44e1ad3ed13daa4dbe2e00b244f7bbfc0f3bdbd185
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.56.0 (2023-12-24)
4
+
5
+ * Regenerated from discovery document revision 20231214
6
+
7
+ ### v0.55.0 (2023-11-12)
8
+
9
+ * Regenerated from discovery document revision 20231103
10
+
3
11
  ### v0.54.0 (2023-11-05)
4
12
 
5
13
  * Regenerated from discovery document revision 20231031
@@ -1257,6 +1257,32 @@ module Google
1257
1257
  end
1258
1258
  end
1259
1259
 
1260
+ # A consistent snapshot of a database at a specific point in time.
1261
+ class GoogleFirestoreAdminV1DatabaseSnapshot
1262
+ include Google::Apis::Core::Hashable
1263
+
1264
+ # Required. A name of the form `projects/`project_id`/databases/`database_id``
1265
+ # Corresponds to the JSON property `database`
1266
+ # @return [String]
1267
+ attr_accessor :database
1268
+
1269
+ # Required. The timestamp at which the database snapshot is taken. The requested
1270
+ # timestamp must be a whole minute within the PITR window.
1271
+ # Corresponds to the JSON property `snapshotTime`
1272
+ # @return [String]
1273
+ attr_accessor :snapshot_time
1274
+
1275
+ def initialize(**args)
1276
+ update!(**args)
1277
+ end
1278
+
1279
+ # Update properties of this object
1280
+ def update!(**args)
1281
+ @database = args[:database] if args.key?(:database)
1282
+ @snapshot_time = args[:snapshot_time] if args.key?(:snapshot_time)
1283
+ end
1284
+ end
1285
+
1260
1286
  # Metadata related to the delete database operation.
1261
1287
  class GoogleFirestoreAdminV1DeleteDatabaseMetadata
1262
1288
  include Google::Apis::Core::Hashable
@@ -1373,12 +1399,10 @@ module Google
1373
1399
  attr_accessor :output_uri_prefix
1374
1400
 
1375
1401
  # 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 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
1380
- # view of the database at the provided time. Otherwise, there are no guarantees
1381
- # about the consistency of the exported documents.
1402
+ # The timestamp must be in the past, rounded to the minute and not older than
1403
+ # earliestVersionTime. If specified, then the exported documents will represent
1404
+ # a consistent view of the database at the provided time. Otherwise, there are
1405
+ # no guarantees about the consistency of the exported documents.
1382
1406
  # Corresponds to the JSON property `snapshotTime`
1383
1407
  # @return [String]
1384
1408
  attr_accessor :snapshot_time
@@ -2123,6 +2147,11 @@ module Google
2123
2147
  # @return [String]
2124
2148
  attr_accessor :database_id
2125
2149
 
2150
+ # A consistent snapshot of a database at a specific point in time.
2151
+ # Corresponds to the JSON property `databaseSnapshot`
2152
+ # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1DatabaseSnapshot]
2153
+ attr_accessor :database_snapshot
2154
+
2126
2155
  def initialize(**args)
2127
2156
  update!(**args)
2128
2157
  end
@@ -2131,6 +2160,7 @@ module Google
2131
2160
  def update!(**args)
2132
2161
  @backup = args[:backup] if args.key?(:backup)
2133
2162
  @database_id = args[:database_id] if args.key?(:database_id)
2163
+ @database_snapshot = args[:database_snapshot] if args.key?(:database_snapshot)
2134
2164
  end
2135
2165
  end
2136
2166
 
@@ -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.54.0"
19
+ GEM_VERSION = "0.56.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 = "20231031"
25
+ REVISION = "20231214"
26
26
  end
27
27
  end
28
28
  end
@@ -238,6 +238,12 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
+ class GoogleFirestoreAdminV1DatabaseSnapshot
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
241
247
  class GoogleFirestoreAdminV1DeleteDatabaseMetadata
242
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
249
 
@@ -989,6 +995,14 @@ module Google
989
995
  end
990
996
  end
991
997
 
998
+ class GoogleFirestoreAdminV1DatabaseSnapshot
999
+ # @private
1000
+ class Representation < Google::Apis::Core::JsonRepresentation
1001
+ property :database, as: 'database'
1002
+ property :snapshot_time, as: 'snapshotTime'
1003
+ end
1004
+ end
1005
+
992
1006
  class GoogleFirestoreAdminV1DeleteDatabaseMetadata
993
1007
  # @private
994
1008
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1222,6 +1236,8 @@ module Google
1222
1236
  class Representation < Google::Apis::Core::JsonRepresentation
1223
1237
  property :backup, as: 'backup'
1224
1238
  property :database_id, as: 'databaseId'
1239
+ property :database_snapshot, as: 'databaseSnapshot', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1DatabaseSnapshot, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1DatabaseSnapshot::Representation
1240
+
1225
1241
  end
1226
1242
  end
1227
1243
 
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.54.0
4
+ version: 0.56.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-11-05 00:00:00.000000000 Z
11
+ date: 2023-12-24 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.54.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.56.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: []