google-apis-firestore_v1beta1 0.47.0 → 0.48.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: 46c2f7b74e285854d355c81b957ffa412b96a55d79dc5af5cf09fe9eeb4b3dac
4
- data.tar.gz: 21c71004115fb4ecce768d5a1eaa93ebe8c86c41be45bc891d77624ffb319554
3
+ metadata.gz: 7c94cdb59befa00642139ccf1c0408a51c3cc2b6c777444192b7b6e8e5f1add4
4
+ data.tar.gz: 302742df24159c4b71ef8921ff74d82ecd3d413bc75675c3c661b170d30a7548
5
5
  SHA512:
6
- metadata.gz: a1139a874349029c37efc120997d1e788703c49cc31ff6edeea90a2437b916371f8ce29fe8044ae815e5e01ab0b96e3d77bcc7bfc3bacb16bef882005b3aa8d9
7
- data.tar.gz: 95c873b54a69fea6c48fca75eb7c812f1b737a3b392f3a13440b40fe6c952ea2569596d599b672a0d01943f4ccbdd3ab5e191240320a07028f40d60b13147efc
6
+ metadata.gz: 5d8bbe62d9d59d7f523da1c68dc562231eb79cd0c0be0bad1daabda89c28aec323b84e2a3314dd2246fe3d4246bc6da76b7cb004397b893bb7f203382bcaf74b
7
+ data.tar.gz: 07fe5981a7a56242fbf694cab686904a39232d01f05aa436735bc1f64c721136e5ccae7bf92c4f5ce89812a13a5181dddb52648ac3e6578d75f7b54b1e71bbf9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-firestore_v1beta1
2
2
 
3
+ ### v0.48.0 (2025-06-29)
4
+
5
+ * Regenerated from discovery document revision 20250618
6
+ * Regenerated using generator version 0.18.0
7
+
3
8
  ### v0.47.0 (2025-05-04)
4
9
 
5
10
  * Regenerated using generator version 0.17.0
@@ -1223,6 +1223,60 @@ module Google
1223
1223
  end
1224
1224
  end
1225
1225
 
1226
+ # Metadata for the long-running operation from the CloneDatabase request.
1227
+ class GoogleFirestoreAdminV1CloneDatabaseMetadata
1228
+ include Google::Apis::Core::Hashable
1229
+
1230
+ # The name of the database being cloned to.
1231
+ # Corresponds to the JSON property `database`
1232
+ # @return [String]
1233
+ attr_accessor :database
1234
+
1235
+ # The time the clone finished, unset for ongoing clones.
1236
+ # Corresponds to the JSON property `endTime`
1237
+ # @return [String]
1238
+ attr_accessor :end_time
1239
+
1240
+ # The operation state of the clone.
1241
+ # Corresponds to the JSON property `operationState`
1242
+ # @return [String]
1243
+ attr_accessor :operation_state
1244
+
1245
+ # A consistent snapshot of a database at a specific point in time. A PITR (Point-
1246
+ # in-time recovery) snapshot with previous versions of a database's data is
1247
+ # available for every minute up to the associated database's data retention
1248
+ # period. If the PITR feature is enabled, the retention period is 7 days;
1249
+ # otherwise, it is one hour.
1250
+ # Corresponds to the JSON property `pitrSnapshot`
1251
+ # @return [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1PitrSnapshot]
1252
+ attr_accessor :pitr_snapshot
1253
+
1254
+ # Describes the progress of the operation. Unit of work is generic and must be
1255
+ # interpreted based on where Progress is used.
1256
+ # Corresponds to the JSON property `progressPercentage`
1257
+ # @return [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1Progress]
1258
+ attr_accessor :progress_percentage
1259
+
1260
+ # The time the clone was started.
1261
+ # Corresponds to the JSON property `startTime`
1262
+ # @return [String]
1263
+ attr_accessor :start_time
1264
+
1265
+ def initialize(**args)
1266
+ update!(**args)
1267
+ end
1268
+
1269
+ # Update properties of this object
1270
+ def update!(**args)
1271
+ @database = args[:database] if args.key?(:database)
1272
+ @end_time = args[:end_time] if args.key?(:end_time)
1273
+ @operation_state = args[:operation_state] if args.key?(:operation_state)
1274
+ @pitr_snapshot = args[:pitr_snapshot] if args.key?(:pitr_snapshot)
1275
+ @progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage)
1276
+ @start_time = args[:start_time] if args.key?(:start_time)
1277
+ end
1278
+ end
1279
+
1226
1280
  # Metadata related to the create database operation.
1227
1281
  class GoogleFirestoreAdminV1CreateDatabaseMetadata
1228
1282
  include Google::Apis::Core::Hashable
@@ -1249,6 +1303,43 @@ module Google
1249
1303
  end
1250
1304
  end
1251
1305
 
1306
+ # A consistent snapshot of a database at a specific point in time. A PITR (Point-
1307
+ # in-time recovery) snapshot with previous versions of a database's data is
1308
+ # available for every minute up to the associated database's data retention
1309
+ # period. If the PITR feature is enabled, the retention period is 7 days;
1310
+ # otherwise, it is one hour.
1311
+ class GoogleFirestoreAdminV1PitrSnapshot
1312
+ include Google::Apis::Core::Hashable
1313
+
1314
+ # Required. The name of the database that this was a snapshot of. Format: `
1315
+ # projects/`project`/databases/`database``.
1316
+ # Corresponds to the JSON property `database`
1317
+ # @return [String]
1318
+ attr_accessor :database
1319
+
1320
+ # Output only. Public UUID of the database the snapshot was associated with.
1321
+ # Corresponds to the JSON property `databaseUid`
1322
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1323
+ # @return [String]
1324
+ attr_accessor :database_uid
1325
+
1326
+ # Required. Snapshot time of the database.
1327
+ # Corresponds to the JSON property `snapshotTime`
1328
+ # @return [String]
1329
+ attr_accessor :snapshot_time
1330
+
1331
+ def initialize(**args)
1332
+ update!(**args)
1333
+ end
1334
+
1335
+ # Update properties of this object
1336
+ def update!(**args)
1337
+ @database = args[:database] if args.key?(:database)
1338
+ @database_uid = args[:database_uid] if args.key?(:database_uid)
1339
+ @snapshot_time = args[:snapshot_time] if args.key?(:snapshot_time)
1340
+ end
1341
+ end
1342
+
1252
1343
  # Describes the progress of the operation. Unit of work is generic and must be
1253
1344
  # interpreted based on where Progress is used.
1254
1345
  class GoogleFirestoreAdminV1Progress
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FirestoreV1beta1
18
18
  # Version of the google-apis-firestore_v1beta1 gem
19
- GEM_VERSION = "0.47.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250307"
25
+ REVISION = "20250618"
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 GoogleFirestoreAdminV1CloneDatabaseMetadata
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
241
247
  class GoogleFirestoreAdminV1CreateDatabaseMetadata
242
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
249
 
@@ -250,6 +256,12 @@ module Google
250
256
  include Google::Apis::Core::JsonObjectSupport
251
257
  end
252
258
 
259
+ class GoogleFirestoreAdminV1PitrSnapshot
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
253
265
  class GoogleFirestoreAdminV1Progress
254
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
267
 
@@ -890,6 +902,20 @@ module Google
890
902
  end
891
903
  end
892
904
 
905
+ class GoogleFirestoreAdminV1CloneDatabaseMetadata
906
+ # @private
907
+ class Representation < Google::Apis::Core::JsonRepresentation
908
+ property :database, as: 'database'
909
+ property :end_time, as: 'endTime'
910
+ property :operation_state, as: 'operationState'
911
+ property :pitr_snapshot, as: 'pitrSnapshot', class: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1PitrSnapshot, decorator: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1PitrSnapshot::Representation
912
+
913
+ property :progress_percentage, as: 'progressPercentage', class: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1Progress::Representation
914
+
915
+ property :start_time, as: 'startTime'
916
+ end
917
+ end
918
+
893
919
  class GoogleFirestoreAdminV1CreateDatabaseMetadata
894
920
  # @private
895
921
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -902,6 +928,15 @@ module Google
902
928
  end
903
929
  end
904
930
 
931
+ class GoogleFirestoreAdminV1PitrSnapshot
932
+ # @private
933
+ class Representation < Google::Apis::Core::JsonRepresentation
934
+ property :database, as: 'database'
935
+ property :database_uid, :base64 => true, as: 'databaseUid'
936
+ property :snapshot_time, as: 'snapshotTime'
937
+ end
938
+ end
939
+
905
940
  class GoogleFirestoreAdminV1Progress
906
941
  # @private
907
942
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firestore_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.47.0
4
+ version: 0.48.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta1/v0.47.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta1/v0.48.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud Firestore API V1beta1
79
79
  test_files: []