google-apis-firestore_v1 0.55.0 → 0.56.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: 784c539c473c22ba5771407e3a1caaf711cd17434a33fb033da735bf3e63adc0
4
- data.tar.gz: 8d9f54c89d3903708dbef86f50af59739f7002453cdc0b25f2d3305c3196c6e1
3
+ metadata.gz: b7b964752b52059e66f4e588e533818d10fe5530cc48d55a79980539d29e20da
4
+ data.tar.gz: 0e79fc8682b7c4a908d9593c045c61fb592223f999b6a53da17ec1861422c836
5
5
  SHA512:
6
- metadata.gz: 18ab894b649db8b612a58adb4225c3ee14fbca97ee343a3f2547c4f396d0c4acdb7a3856f8287dfd4948542805978490bacd5ed790e48714e4404f1640920d65
7
- data.tar.gz: 1258dac021ee14377a082ae51286dcf7e1f3f24437d3acea014d298c8af384a5cec72d029e89deb1e68390307647c8dd6e46cb76aee418bcc0543ee84754e6d9
6
+ metadata.gz: e369f48af82fba29085b5fcc05c8cf5e142096f64005248bc103f76c8ffc4050cbcc795680dd813a795007f49ca5ec2212ce694598c4d0fdae102da363eec2d7
7
+ data.tar.gz: 75b8e6dde795acc0f3ccfb74ad27196cb5e40918c3857fd8c990c882ce5ed2eaa47afbb83f4a262205911c44e1ad3ed13daa4dbe2e00b244f7bbfc0f3bdbd185
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.55.0 (2023-11-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20231103
@@ -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
@@ -2121,6 +2147,11 @@ module Google
2121
2147
  # @return [String]
2122
2148
  attr_accessor :database_id
2123
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
+
2124
2155
  def initialize(**args)
2125
2156
  update!(**args)
2126
2157
  end
@@ -2129,6 +2160,7 @@ module Google
2129
2160
  def update!(**args)
2130
2161
  @backup = args[:backup] if args.key?(:backup)
2131
2162
  @database_id = args[:database_id] if args.key?(:database_id)
2163
+ @database_snapshot = args[:database_snapshot] if args.key?(:database_snapshot)
2132
2164
  end
2133
2165
  end
2134
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.55.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 = "20231103"
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.55.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-12 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.55.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: []