google-apis-firestore_v1 0.67.0 → 0.69.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d16f471b3b40e5ab66b70ad798c3c7d85b1ec87a8da42b04069323a8c66df9e
|
4
|
+
data.tar.gz: 3e88e8f1dad470cda3250815b666ec872fb53aa456fc98c6f32cdac014526e7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7003b7135a8b834a42c37715dc0cb9dfe010d51576cb489a7584f05f861106f691ee464d8e9a3fc5b0ab54faef4dd290fafdefc775d044f369b2742359e9832
|
7
|
+
data.tar.gz: fec0d84aae9cf40d6989162a13e0209c5cd2e2aa73b9bbaab5b2202ce0f513d672c13cd66631395e98397405c33fa2c97353eaf47cc62b8a9ad248322c384404
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-firestore_v1
|
2
2
|
|
3
|
+
### v0.69.0 (2024-07-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240713
|
6
|
+
|
7
|
+
### v0.68.0 (2024-06-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240617
|
10
|
+
|
3
11
|
### v0.67.0 (2024-06-16)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240610
|
@@ -1100,7 +1100,10 @@ module Google
|
|
1100
1100
|
end
|
1101
1101
|
end
|
1102
1102
|
|
1103
|
-
# Nearest Neighbors search config.
|
1103
|
+
# Nearest Neighbors search config. The ordering provided by FindNearest
|
1104
|
+
# supersedes the order_by stage. If multiple documents have the same vector
|
1105
|
+
# distance, the returned document order is not guaranteed to be stable between
|
1106
|
+
# queries.
|
1104
1107
|
class FindNearest
|
1105
1108
|
include Google::Apis::Core::Hashable
|
1106
1109
|
|
@@ -1223,7 +1226,8 @@ module Google
|
|
1223
1226
|
attr_accessor :name
|
1224
1227
|
|
1225
1228
|
# At what relative time in the future, compared to its creation time, the backup
|
1226
|
-
# should be deleted, e.g. keep backups for 7 days.
|
1229
|
+
# should be deleted, e.g. keep backups for 7 days. The maximum supported
|
1230
|
+
# retention period is 14 weeks.
|
1227
1231
|
# Corresponds to the JSON property `retention`
|
1228
1232
|
# @return [String]
|
1229
1233
|
attr_accessor :retention
|
@@ -1256,6 +1260,106 @@ module Google
|
|
1256
1260
|
end
|
1257
1261
|
end
|
1258
1262
|
|
1263
|
+
# Metadata for google.longrunning.Operation results from FirestoreAdmin.
|
1264
|
+
# BulkDeleteDocuments.
|
1265
|
+
class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata
|
1266
|
+
include Google::Apis::Core::Hashable
|
1267
|
+
|
1268
|
+
# The ids of the collection groups that are being deleted.
|
1269
|
+
# Corresponds to the JSON property `collectionIds`
|
1270
|
+
# @return [Array<String>]
|
1271
|
+
attr_accessor :collection_ids
|
1272
|
+
|
1273
|
+
# The time this operation completed. Will be unset if operation still in
|
1274
|
+
# progress.
|
1275
|
+
# Corresponds to the JSON property `endTime`
|
1276
|
+
# @return [String]
|
1277
|
+
attr_accessor :end_time
|
1278
|
+
|
1279
|
+
# Which namespace ids are being deleted.
|
1280
|
+
# Corresponds to the JSON property `namespaceIds`
|
1281
|
+
# @return [Array<String>]
|
1282
|
+
attr_accessor :namespace_ids
|
1283
|
+
|
1284
|
+
# The state of the operation.
|
1285
|
+
# Corresponds to the JSON property `operationState`
|
1286
|
+
# @return [String]
|
1287
|
+
attr_accessor :operation_state
|
1288
|
+
|
1289
|
+
# Describes the progress of the operation. Unit of work is generic and must be
|
1290
|
+
# interpreted based on where Progress is used.
|
1291
|
+
# Corresponds to the JSON property `progressBytes`
|
1292
|
+
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
1293
|
+
attr_accessor :progress_bytes
|
1294
|
+
|
1295
|
+
# Describes the progress of the operation. Unit of work is generic and must be
|
1296
|
+
# interpreted based on where Progress is used.
|
1297
|
+
# Corresponds to the JSON property `progressDocuments`
|
1298
|
+
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
1299
|
+
attr_accessor :progress_documents
|
1300
|
+
|
1301
|
+
# The timestamp that corresponds to the version of the database that is being
|
1302
|
+
# read to get the list of documents to delete. This time can also be used as the
|
1303
|
+
# timestamp of PITR in case of disaster recovery (subject to PITR window limit).
|
1304
|
+
# Corresponds to the JSON property `snapshotTime`
|
1305
|
+
# @return [String]
|
1306
|
+
attr_accessor :snapshot_time
|
1307
|
+
|
1308
|
+
# The time this operation started.
|
1309
|
+
# Corresponds to the JSON property `startTime`
|
1310
|
+
# @return [String]
|
1311
|
+
attr_accessor :start_time
|
1312
|
+
|
1313
|
+
def initialize(**args)
|
1314
|
+
update!(**args)
|
1315
|
+
end
|
1316
|
+
|
1317
|
+
# Update properties of this object
|
1318
|
+
def update!(**args)
|
1319
|
+
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
|
1320
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1321
|
+
@namespace_ids = args[:namespace_ids] if args.key?(:namespace_ids)
|
1322
|
+
@operation_state = args[:operation_state] if args.key?(:operation_state)
|
1323
|
+
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
|
1324
|
+
@progress_documents = args[:progress_documents] if args.key?(:progress_documents)
|
1325
|
+
@snapshot_time = args[:snapshot_time] if args.key?(:snapshot_time)
|
1326
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
1327
|
+
end
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
# The request for FirestoreAdmin.BulkDeleteDocuments. When both collection_ids
|
1331
|
+
# and namespace_ids are set, only documents satisfying both conditions will be
|
1332
|
+
# deleted. Requests with namespace_ids and collection_ids both empty will be
|
1333
|
+
# rejected. Please use FirestoreAdmin.DeleteDatabase instead.
|
1334
|
+
class GoogleFirestoreAdminV1BulkDeleteDocumentsRequest
|
1335
|
+
include Google::Apis::Core::Hashable
|
1336
|
+
|
1337
|
+
# Optional. IDs of the collection groups to delete. Unspecified means all
|
1338
|
+
# collection groups. Each collection group in this list must be unique.
|
1339
|
+
# Corresponds to the JSON property `collectionIds`
|
1340
|
+
# @return [Array<String>]
|
1341
|
+
attr_accessor :collection_ids
|
1342
|
+
|
1343
|
+
# Optional. Namespaces to delete. An empty list means all namespaces. This is
|
1344
|
+
# the recommended usage for databases that don't use namespaces. An empty string
|
1345
|
+
# element represents the default namespace. This should be used if the database
|
1346
|
+
# has data in non-default namespaces, but doesn't want to delete from them. Each
|
1347
|
+
# namespace in this list must be unique.
|
1348
|
+
# Corresponds to the JSON property `namespaceIds`
|
1349
|
+
# @return [Array<String>]
|
1350
|
+
attr_accessor :namespace_ids
|
1351
|
+
|
1352
|
+
def initialize(**args)
|
1353
|
+
update!(**args)
|
1354
|
+
end
|
1355
|
+
|
1356
|
+
# Update properties of this object
|
1357
|
+
def update!(**args)
|
1358
|
+
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
|
1359
|
+
@namespace_ids = args[:namespace_ids] if args.key?(:namespace_ids)
|
1360
|
+
end
|
1361
|
+
end
|
1362
|
+
|
1259
1363
|
# The CMEK (Customer Managed Encryption Key) configuration for a Firestore
|
1260
1364
|
# database. If not present, the database is secured by the default Google
|
1261
1365
|
# encryption key.
|
@@ -1309,20 +1413,12 @@ module Google
|
|
1309
1413
|
class GoogleFirestoreAdminV1DailyRecurrence
|
1310
1414
|
include Google::Apis::Core::Hashable
|
1311
1415
|
|
1312
|
-
# Represents a time of day. The date and time zone are either not significant or
|
1313
|
-
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
1314
|
-
# types are google.type.Date and `google.protobuf.Timestamp`.
|
1315
|
-
# Corresponds to the JSON property `time`
|
1316
|
-
# @return [Google::Apis::FirestoreV1::TimeOfDay]
|
1317
|
-
attr_accessor :time
|
1318
|
-
|
1319
1416
|
def initialize(**args)
|
1320
1417
|
update!(**args)
|
1321
1418
|
end
|
1322
1419
|
|
1323
1420
|
# Update properties of this object
|
1324
1421
|
def update!(**args)
|
1325
|
-
@time = args[:time] if args.key?(:time)
|
1326
1422
|
end
|
1327
1423
|
end
|
1328
1424
|
|
@@ -1466,32 +1562,6 @@ module Google
|
|
1466
1562
|
end
|
1467
1563
|
end
|
1468
1564
|
|
1469
|
-
# A consistent snapshot of a database at a specific point in time.
|
1470
|
-
class GoogleFirestoreAdminV1DatabaseSnapshot
|
1471
|
-
include Google::Apis::Core::Hashable
|
1472
|
-
|
1473
|
-
# Required. A name of the form `projects/`project_id`/databases/`database_id``
|
1474
|
-
# Corresponds to the JSON property `database`
|
1475
|
-
# @return [String]
|
1476
|
-
attr_accessor :database
|
1477
|
-
|
1478
|
-
# Required. The timestamp at which the database snapshot is taken. The requested
|
1479
|
-
# timestamp must be a whole minute within the PITR window.
|
1480
|
-
# Corresponds to the JSON property `snapshotTime`
|
1481
|
-
# @return [String]
|
1482
|
-
attr_accessor :snapshot_time
|
1483
|
-
|
1484
|
-
def initialize(**args)
|
1485
|
-
update!(**args)
|
1486
|
-
end
|
1487
|
-
|
1488
|
-
# Update properties of this object
|
1489
|
-
def update!(**args)
|
1490
|
-
@database = args[:database] if args.key?(:database)
|
1491
|
-
@snapshot_time = args[:snapshot_time] if args.key?(:snapshot_time)
|
1492
|
-
end
|
1493
|
-
end
|
1494
|
-
|
1495
1565
|
# Metadata related to the delete database operation.
|
1496
1566
|
class GoogleFirestoreAdminV1DeleteDatabaseMetadata
|
1497
1567
|
include Google::Apis::Core::Hashable
|
@@ -2338,8 +2408,9 @@ module Google
|
|
2338
2408
|
class GoogleFirestoreAdminV1RestoreDatabaseRequest
|
2339
2409
|
include Google::Apis::Core::Hashable
|
2340
2410
|
|
2341
|
-
# Backup to restore from. Must be from the same project as the parent.
|
2342
|
-
#
|
2411
|
+
# Backup to restore from. Must be from the same project as the parent. The
|
2412
|
+
# restored database will be created in the same location as the source backup.
|
2413
|
+
# Format is: `projects/`project_id`/locations/`location`/backups/`backup``
|
2343
2414
|
# Corresponds to the JSON property `backup`
|
2344
2415
|
# @return [String]
|
2345
2416
|
attr_accessor :backup
|
@@ -2354,17 +2425,12 @@ module Google
|
|
2354
2425
|
# @return [String]
|
2355
2426
|
attr_accessor :database_id
|
2356
2427
|
|
2357
|
-
# A consistent snapshot of a database at a specific point in time.
|
2358
|
-
# Corresponds to the JSON property `databaseSnapshot`
|
2359
|
-
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1DatabaseSnapshot]
|
2360
|
-
attr_accessor :database_snapshot
|
2361
|
-
|
2362
2428
|
# Use Customer Managed Encryption Keys (CMEK) for encryption. Only keys in the
|
2363
|
-
# same location as
|
2364
|
-
# Firestore's nam5 multi-region, this corresponds to Cloud KMS multi-region
|
2365
|
-
# For Firestore's eur3 multi-region, this corresponds to Cloud KMS multi-
|
2366
|
-
# europe. See https://cloud.google.com/kms/docs/locations. The expected
|
2367
|
-
# is `projects/`project_id`/locations/`kms_location`/keyRings/`key_ring`/
|
2429
|
+
# same location as the restored database are allowed to be used for encryption.
|
2430
|
+
# For Firestore's nam5 multi-region, this corresponds to Cloud KMS multi-region
|
2431
|
+
# us. For Firestore's eur3 multi-region, this corresponds to Cloud KMS multi-
|
2432
|
+
# region europe. See https://cloud.google.com/kms/docs/locations. The expected
|
2433
|
+
# format is `projects/`project_id`/locations/`kms_location`/keyRings/`key_ring`/
|
2368
2434
|
# cryptoKeys/`crypto_key``.
|
2369
2435
|
# Corresponds to the JSON property `kmsKeyName`
|
2370
2436
|
# @return [String]
|
@@ -2394,7 +2460,6 @@ module Google
|
|
2394
2460
|
def update!(**args)
|
2395
2461
|
@backup = args[:backup] if args.key?(:backup)
|
2396
2462
|
@database_id = args[:database_id] if args.key?(:database_id)
|
2397
|
-
@database_snapshot = args[:database_snapshot] if args.key?(:database_snapshot)
|
2398
2463
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
2399
2464
|
@use_backup_encryption = args[:use_backup_encryption] if args.key?(:use_backup_encryption)
|
2400
2465
|
@use_google_default_encryption = args[:use_google_default_encryption] if args.key?(:use_google_default_encryption)
|
@@ -2527,13 +2592,6 @@ module Google
|
|
2527
2592
|
# @return [String]
|
2528
2593
|
attr_accessor :day
|
2529
2594
|
|
2530
|
-
# Represents a time of day. The date and time zone are either not significant or
|
2531
|
-
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
2532
|
-
# types are google.type.Date and `google.protobuf.Timestamp`.
|
2533
|
-
# Corresponds to the JSON property `time`
|
2534
|
-
# @return [Google::Apis::FirestoreV1::TimeOfDay]
|
2535
|
-
attr_accessor :time
|
2536
|
-
|
2537
2595
|
def initialize(**args)
|
2538
2596
|
update!(**args)
|
2539
2597
|
end
|
@@ -2541,7 +2599,6 @@ module Google
|
|
2541
2599
|
# Update properties of this object
|
2542
2600
|
def update!(**args)
|
2543
2601
|
@day = args[:day] if args.key?(:day)
|
2544
|
-
@time = args[:time] if args.key?(:time)
|
2545
2602
|
end
|
2546
2603
|
end
|
2547
2604
|
|
@@ -3500,7 +3557,10 @@ module Google
|
|
3500
3557
|
# @return [Google::Apis::FirestoreV1::Cursor]
|
3501
3558
|
attr_accessor :end_at
|
3502
3559
|
|
3503
|
-
# Nearest Neighbors search config.
|
3560
|
+
# Nearest Neighbors search config. The ordering provided by FindNearest
|
3561
|
+
# supersedes the order_by stage. If multiple documents have the same vector
|
3562
|
+
# distance, the returned document order is not guaranteed to be stable between
|
3563
|
+
# queries.
|
3504
3564
|
# Corresponds to the JSON property `findNearest`
|
3505
3565
|
# @return [Google::Apis::FirestoreV1::FindNearest]
|
3506
3566
|
attr_accessor :find_nearest
|
@@ -3735,47 +3795,6 @@ module Google
|
|
3735
3795
|
end
|
3736
3796
|
end
|
3737
3797
|
|
3738
|
-
# Represents a time of day. The date and time zone are either not significant or
|
3739
|
-
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
3740
|
-
# types are google.type.Date and `google.protobuf.Timestamp`.
|
3741
|
-
class TimeOfDay
|
3742
|
-
include Google::Apis::Core::Hashable
|
3743
|
-
|
3744
|
-
# Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
|
3745
|
-
# allow the value "24:00:00" for scenarios like business closing time.
|
3746
|
-
# Corresponds to the JSON property `hours`
|
3747
|
-
# @return [Fixnum]
|
3748
|
-
attr_accessor :hours
|
3749
|
-
|
3750
|
-
# Minutes of hour of day. Must be from 0 to 59.
|
3751
|
-
# Corresponds to the JSON property `minutes`
|
3752
|
-
# @return [Fixnum]
|
3753
|
-
attr_accessor :minutes
|
3754
|
-
|
3755
|
-
# Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
|
3756
|
-
# Corresponds to the JSON property `nanos`
|
3757
|
-
# @return [Fixnum]
|
3758
|
-
attr_accessor :nanos
|
3759
|
-
|
3760
|
-
# Seconds of minutes of the time. Must normally be from 0 to 59. An API may
|
3761
|
-
# allow the value 60 if it allows leap-seconds.
|
3762
|
-
# Corresponds to the JSON property `seconds`
|
3763
|
-
# @return [Fixnum]
|
3764
|
-
attr_accessor :seconds
|
3765
|
-
|
3766
|
-
def initialize(**args)
|
3767
|
-
update!(**args)
|
3768
|
-
end
|
3769
|
-
|
3770
|
-
# Update properties of this object
|
3771
|
-
def update!(**args)
|
3772
|
-
@hours = args[:hours] if args.key?(:hours)
|
3773
|
-
@minutes = args[:minutes] if args.key?(:minutes)
|
3774
|
-
@nanos = args[:nanos] if args.key?(:nanos)
|
3775
|
-
@seconds = args[:seconds] if args.key?(:seconds)
|
3776
|
-
end
|
3777
|
-
end
|
3778
|
-
|
3779
3798
|
# Options for creating a new transaction.
|
3780
3799
|
class TransactionOptions
|
3781
3800
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.69.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240713"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -244,31 +244,37 @@ module Google
|
|
244
244
|
include Google::Apis::Core::JsonObjectSupport
|
245
245
|
end
|
246
246
|
|
247
|
-
class
|
247
|
+
class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata
|
248
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
249
|
|
250
250
|
include Google::Apis::Core::JsonObjectSupport
|
251
251
|
end
|
252
252
|
|
253
|
-
class
|
253
|
+
class GoogleFirestoreAdminV1BulkDeleteDocumentsRequest
|
254
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
255
|
|
256
256
|
include Google::Apis::Core::JsonObjectSupport
|
257
257
|
end
|
258
258
|
|
259
|
-
class
|
259
|
+
class GoogleFirestoreAdminV1CmekConfig
|
260
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
261
|
|
262
262
|
include Google::Apis::Core::JsonObjectSupport
|
263
263
|
end
|
264
264
|
|
265
|
-
class
|
265
|
+
class GoogleFirestoreAdminV1CreateDatabaseMetadata
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class GoogleFirestoreAdminV1DailyRecurrence
|
266
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
273
|
|
268
274
|
include Google::Apis::Core::JsonObjectSupport
|
269
275
|
end
|
270
276
|
|
271
|
-
class
|
277
|
+
class GoogleFirestoreAdminV1Database
|
272
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
279
|
|
274
280
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -640,12 +646,6 @@ module Google
|
|
640
646
|
include Google::Apis::Core::JsonObjectSupport
|
641
647
|
end
|
642
648
|
|
643
|
-
class TimeOfDay
|
644
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
|
-
|
646
|
-
include Google::Apis::Core::JsonObjectSupport
|
647
|
-
end
|
648
|
-
|
649
649
|
class TransactionOptions
|
650
650
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
651
|
|
@@ -1044,6 +1044,30 @@ module Google
|
|
1044
1044
|
end
|
1045
1045
|
end
|
1046
1046
|
|
1047
|
+
class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata
|
1048
|
+
# @private
|
1049
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1050
|
+
collection :collection_ids, as: 'collectionIds'
|
1051
|
+
property :end_time, as: 'endTime'
|
1052
|
+
collection :namespace_ids, as: 'namespaceIds'
|
1053
|
+
property :operation_state, as: 'operationState'
|
1054
|
+
property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
1055
|
+
|
1056
|
+
property :progress_documents, as: 'progressDocuments', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
1057
|
+
|
1058
|
+
property :snapshot_time, as: 'snapshotTime'
|
1059
|
+
property :start_time, as: 'startTime'
|
1060
|
+
end
|
1061
|
+
end
|
1062
|
+
|
1063
|
+
class GoogleFirestoreAdminV1BulkDeleteDocumentsRequest
|
1064
|
+
# @private
|
1065
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1066
|
+
collection :collection_ids, as: 'collectionIds'
|
1067
|
+
collection :namespace_ids, as: 'namespaceIds'
|
1068
|
+
end
|
1069
|
+
end
|
1070
|
+
|
1047
1071
|
class GoogleFirestoreAdminV1CmekConfig
|
1048
1072
|
# @private
|
1049
1073
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1061,8 +1085,6 @@ module Google
|
|
1061
1085
|
class GoogleFirestoreAdminV1DailyRecurrence
|
1062
1086
|
# @private
|
1063
1087
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1064
|
-
property :time, as: 'time', class: Google::Apis::FirestoreV1::TimeOfDay, decorator: Google::Apis::FirestoreV1::TimeOfDay::Representation
|
1065
|
-
|
1066
1088
|
end
|
1067
1089
|
end
|
1068
1090
|
|
@@ -1090,14 +1112,6 @@ module Google
|
|
1090
1112
|
end
|
1091
1113
|
end
|
1092
1114
|
|
1093
|
-
class GoogleFirestoreAdminV1DatabaseSnapshot
|
1094
|
-
# @private
|
1095
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1096
|
-
property :database, as: 'database'
|
1097
|
-
property :snapshot_time, as: 'snapshotTime'
|
1098
|
-
end
|
1099
|
-
end
|
1100
|
-
|
1101
1115
|
class GoogleFirestoreAdminV1DeleteDatabaseMetadata
|
1102
1116
|
# @private
|
1103
1117
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1331,8 +1345,6 @@ module Google
|
|
1331
1345
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1332
1346
|
property :backup, as: 'backup'
|
1333
1347
|
property :database_id, as: 'databaseId'
|
1334
|
-
property :database_snapshot, as: 'databaseSnapshot', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1DatabaseSnapshot, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1DatabaseSnapshot::Representation
|
1335
|
-
|
1336
1348
|
property :kms_key_name, as: 'kmsKeyName'
|
1337
1349
|
property :use_backup_encryption, as: 'useBackupEncryption', class: Google::Apis::FirestoreV1::Empty, decorator: Google::Apis::FirestoreV1::Empty::Representation
|
1338
1350
|
|
@@ -1383,8 +1395,6 @@ module Google
|
|
1383
1395
|
# @private
|
1384
1396
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1385
1397
|
property :day, as: 'day'
|
1386
|
-
property :time, as: 'time', class: Google::Apis::FirestoreV1::TimeOfDay, decorator: Google::Apis::FirestoreV1::TimeOfDay::Representation
|
1387
|
-
|
1388
1398
|
end
|
1389
1399
|
end
|
1390
1400
|
|
@@ -1716,16 +1726,6 @@ module Google
|
|
1716
1726
|
end
|
1717
1727
|
end
|
1718
1728
|
|
1719
|
-
class TimeOfDay
|
1720
|
-
# @private
|
1721
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1722
|
-
property :hours, as: 'hours'
|
1723
|
-
property :minutes, as: 'minutes'
|
1724
|
-
property :nanos, as: 'nanos'
|
1725
|
-
property :seconds, as: 'seconds'
|
1726
|
-
end
|
1727
|
-
end
|
1728
|
-
|
1729
1729
|
class TransactionOptions
|
1730
1730
|
# @private
|
1731
1731
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -52,6 +52,45 @@ module Google
|
|
52
52
|
@batch_path = 'batch'
|
53
53
|
end
|
54
54
|
|
55
|
+
# Bulk deletes a subset of documents from Google Cloud Firestore. Documents
|
56
|
+
# created or updated after the underlying system starts to process the request
|
57
|
+
# will not be deleted. The bulk delete occurs in the background and its progress
|
58
|
+
# can be monitored and managed via the Operation resource that is created. For
|
59
|
+
# more details on bulk delete behavior, refer to: https://cloud.google.com/
|
60
|
+
# firestore/docs/manage-data/bulk-delete
|
61
|
+
# @param [String] name
|
62
|
+
# Required. Database to operate. Should be of the form: `projects/`project_id`/
|
63
|
+
# databases/`database_id``.
|
64
|
+
# @param [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1BulkDeleteDocumentsRequest] google_firestore_admin_v1_bulk_delete_documents_request_object
|
65
|
+
# @param [String] fields
|
66
|
+
# Selector specifying which fields to include in a partial response.
|
67
|
+
# @param [String] quota_user
|
68
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
69
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
70
|
+
# @param [Google::Apis::RequestOptions] options
|
71
|
+
# Request-specific options
|
72
|
+
#
|
73
|
+
# @yield [result, err] Result & error if block supplied
|
74
|
+
# @yieldparam result [Google::Apis::FirestoreV1::GoogleLongrunningOperation] parsed result object
|
75
|
+
# @yieldparam err [StandardError] error object if request failed
|
76
|
+
#
|
77
|
+
# @return [Google::Apis::FirestoreV1::GoogleLongrunningOperation]
|
78
|
+
#
|
79
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
80
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
81
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
82
|
+
def bulk_project_database_delete_documents(name, google_firestore_admin_v1_bulk_delete_documents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
83
|
+
command = make_simple_command(:post, 'v1/{+name}:bulkDeleteDocuments', options)
|
84
|
+
command.request_representation = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1BulkDeleteDocumentsRequest::Representation
|
85
|
+
command.request_object = google_firestore_admin_v1_bulk_delete_documents_request_object
|
86
|
+
command.response_representation = Google::Apis::FirestoreV1::GoogleLongrunningOperation::Representation
|
87
|
+
command.response_class = Google::Apis::FirestoreV1::GoogleLongrunningOperation
|
88
|
+
command.params['name'] = name unless name.nil?
|
89
|
+
command.query['fields'] = fields unless fields.nil?
|
90
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
91
|
+
execute_or_queue_command(command, &block)
|
92
|
+
end
|
93
|
+
|
55
94
|
# Create a database.
|
56
95
|
# @param [String] parent
|
57
96
|
# Required. A parent name of the form `projects/`project_id``
|
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.
|
4
|
+
version: 0.69.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-
|
11
|
+
date: 2024-07-25 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.69.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: []
|