google-apis-firestore_v1 0.66.0 → 0.68.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: 55fa77a9da6977af6f6a8093919887293a4a8c885cbd70de201de28ef8aea920
|
4
|
+
data.tar.gz: 7c67acb04c961d86ef12c68eff94e931f21f76eba2e279bb144029dcd6b10dc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 207058b7e8d61b18a027ceee70e57a7d6d6216d1c225a5c02f2c1745d3e04b606d9d2b5e3a9e901fbea607787bf21a3a3603e93dd58ebe6e40e4bd5d881665c3
|
7
|
+
data.tar.gz: efe4f6bc674ceae19ad6e246b5c4d18fd4973129dc330595c22ac304aa7db9d88bed272ab0000bfc277f121a16bde98104f08746e49c0d8938b7500d7de8a898
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-firestore_v1
|
2
2
|
|
3
|
+
### v0.68.0 (2024-06-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240617
|
6
|
+
|
7
|
+
### v0.67.0 (2024-06-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240610
|
10
|
+
|
3
11
|
### v0.66.0 (2024-05-26)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240521
|
@@ -1256,6 +1256,106 @@ module Google
|
|
1256
1256
|
end
|
1257
1257
|
end
|
1258
1258
|
|
1259
|
+
# Metadata for google.longrunning.Operation results from FirestoreAdmin.
|
1260
|
+
# BulkDeleteDocuments.
|
1261
|
+
class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata
|
1262
|
+
include Google::Apis::Core::Hashable
|
1263
|
+
|
1264
|
+
# The ids of the collection groups that are being deleted.
|
1265
|
+
# Corresponds to the JSON property `collectionIds`
|
1266
|
+
# @return [Array<String>]
|
1267
|
+
attr_accessor :collection_ids
|
1268
|
+
|
1269
|
+
# The time this operation completed. Will be unset if operation still in
|
1270
|
+
# progress.
|
1271
|
+
# Corresponds to the JSON property `endTime`
|
1272
|
+
# @return [String]
|
1273
|
+
attr_accessor :end_time
|
1274
|
+
|
1275
|
+
# Which namespace ids are being deleted.
|
1276
|
+
# Corresponds to the JSON property `namespaceIds`
|
1277
|
+
# @return [Array<String>]
|
1278
|
+
attr_accessor :namespace_ids
|
1279
|
+
|
1280
|
+
# The state of the operation.
|
1281
|
+
# Corresponds to the JSON property `operationState`
|
1282
|
+
# @return [String]
|
1283
|
+
attr_accessor :operation_state
|
1284
|
+
|
1285
|
+
# Describes the progress of the operation. Unit of work is generic and must be
|
1286
|
+
# interpreted based on where Progress is used.
|
1287
|
+
# Corresponds to the JSON property `progressBytes`
|
1288
|
+
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
1289
|
+
attr_accessor :progress_bytes
|
1290
|
+
|
1291
|
+
# Describes the progress of the operation. Unit of work is generic and must be
|
1292
|
+
# interpreted based on where Progress is used.
|
1293
|
+
# Corresponds to the JSON property `progressDocuments`
|
1294
|
+
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
1295
|
+
attr_accessor :progress_documents
|
1296
|
+
|
1297
|
+
# The timestamp that corresponds to the version of the database that is being
|
1298
|
+
# read to get the list of documents to delete. This time can also be used as the
|
1299
|
+
# timestamp of PITR in case of disaster recovery (subject to PITR window limit).
|
1300
|
+
# Corresponds to the JSON property `snapshotTime`
|
1301
|
+
# @return [String]
|
1302
|
+
attr_accessor :snapshot_time
|
1303
|
+
|
1304
|
+
# The time this operation started.
|
1305
|
+
# Corresponds to the JSON property `startTime`
|
1306
|
+
# @return [String]
|
1307
|
+
attr_accessor :start_time
|
1308
|
+
|
1309
|
+
def initialize(**args)
|
1310
|
+
update!(**args)
|
1311
|
+
end
|
1312
|
+
|
1313
|
+
# Update properties of this object
|
1314
|
+
def update!(**args)
|
1315
|
+
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
|
1316
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1317
|
+
@namespace_ids = args[:namespace_ids] if args.key?(:namespace_ids)
|
1318
|
+
@operation_state = args[:operation_state] if args.key?(:operation_state)
|
1319
|
+
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
|
1320
|
+
@progress_documents = args[:progress_documents] if args.key?(:progress_documents)
|
1321
|
+
@snapshot_time = args[:snapshot_time] if args.key?(:snapshot_time)
|
1322
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
1323
|
+
end
|
1324
|
+
end
|
1325
|
+
|
1326
|
+
# The request for FirestoreAdmin.BulkDeleteDocuments. When both collection_ids
|
1327
|
+
# and namespace_ids are set, only documents satisfying both conditions will be
|
1328
|
+
# deleted. Requests with namespace_ids and collection_ids both empty will be
|
1329
|
+
# rejected. Please use FirestoreAdmin.DeleteDatabase instead.
|
1330
|
+
class GoogleFirestoreAdminV1BulkDeleteDocumentsRequest
|
1331
|
+
include Google::Apis::Core::Hashable
|
1332
|
+
|
1333
|
+
# Optional. IDs of the collection groups to delete. Unspecified means all
|
1334
|
+
# collection groups. Each collection group in this list must be unique.
|
1335
|
+
# Corresponds to the JSON property `collectionIds`
|
1336
|
+
# @return [Array<String>]
|
1337
|
+
attr_accessor :collection_ids
|
1338
|
+
|
1339
|
+
# Optional. Namespaces to delete. An empty list means all namespaces. This is
|
1340
|
+
# the recommended usage for databases that don't use namespaces. An empty string
|
1341
|
+
# element represents the default namespace. This should be used if the database
|
1342
|
+
# has data in non-default namespaces, but doesn't want to delete from them. Each
|
1343
|
+
# namespace in this list must be unique.
|
1344
|
+
# Corresponds to the JSON property `namespaceIds`
|
1345
|
+
# @return [Array<String>]
|
1346
|
+
attr_accessor :namespace_ids
|
1347
|
+
|
1348
|
+
def initialize(**args)
|
1349
|
+
update!(**args)
|
1350
|
+
end
|
1351
|
+
|
1352
|
+
# Update properties of this object
|
1353
|
+
def update!(**args)
|
1354
|
+
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
|
1355
|
+
@namespace_ids = args[:namespace_ids] if args.key?(:namespace_ids)
|
1356
|
+
end
|
1357
|
+
end
|
1358
|
+
|
1259
1359
|
# The CMEK (Customer Managed Encryption Key) configuration for a Firestore
|
1260
1360
|
# database. If not present, the database is secured by the default Google
|
1261
1361
|
# encryption key.
|
@@ -1466,32 +1566,6 @@ module Google
|
|
1466
1566
|
end
|
1467
1567
|
end
|
1468
1568
|
|
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
1569
|
# Metadata related to the delete database operation.
|
1496
1570
|
class GoogleFirestoreAdminV1DeleteDatabaseMetadata
|
1497
1571
|
include Google::Apis::Core::Hashable
|
@@ -1662,23 +1736,21 @@ module Google
|
|
1662
1736
|
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfig]
|
1663
1737
|
attr_accessor :index_config
|
1664
1738
|
|
1665
|
-
# Required. A field name of the form `projects/`project_id`/databases/`
|
1739
|
+
# Required. A field name of the form: `projects/`project_id`/databases/`
|
1666
1740
|
# database_id`/collectionGroups/`collection_id`/fields/`field_path`` A field
|
1667
|
-
# path
|
1668
|
-
# map_value , e.g. `address.city`, or a special field path. The only valid
|
1669
|
-
# special field is `*`, which represents any field. Field paths
|
1670
|
-
# using ` (backtick). The only character that
|
1741
|
+
# path can be a simple field name, e.g. `address` or a path to fields within `
|
1742
|
+
# map_value` , e.g. `address.city`, or a special field path. The only valid
|
1743
|
+
# special field is `*`, which represents any field. Field paths can be quoted
|
1744
|
+
# using `` ` `` (backtick). The only character that must be escaped within a
|
1671
1745
|
# quoted field path is the backtick character itself, escaped using a backslash.
|
1672
|
-
# Special characters in field paths that must be quoted include: `*`, `.`,
|
1673
|
-
# backtick), `[`, `]`, as well as any ascii symbolic characters. Examples:
|
1674
|
-
#
|
1675
|
-
#
|
1676
|
-
#
|
1677
|
-
#
|
1678
|
-
#
|
1679
|
-
#
|
1680
|
-
# fields/*` Indexes defined on this `Field` will be applied to all fields which
|
1681
|
-
# do not have their own `Field` index configuration.
|
1746
|
+
# Special characters in field paths that must be quoted include: `*`, `.`, `` ` `
|
1747
|
+
# ` (backtick), `[`, `]`, as well as any ascii symbolic characters. Examples: ``
|
1748
|
+
# `address.city` `` represents a field named `address.city`, not the map key `
|
1749
|
+
# city` in the field `address`. `` `*` `` represents a field named `*`, not any
|
1750
|
+
# field. A special `Field` contains the default indexing settings for all fields.
|
1751
|
+
# This field's resource name is: `projects/`project_id`/databases/`database_id`/
|
1752
|
+
# collectionGroups/__default__/fields/*` Indexes defined on this `Field` will be
|
1753
|
+
# applied to all fields which do not have their own `Field` index configuration.
|
1682
1754
|
# Corresponds to the JSON property `name`
|
1683
1755
|
# @return [String]
|
1684
1756
|
attr_accessor :name
|
@@ -2356,10 +2428,32 @@ module Google
|
|
2356
2428
|
# @return [String]
|
2357
2429
|
attr_accessor :database_id
|
2358
2430
|
|
2359
|
-
#
|
2360
|
-
#
|
2361
|
-
#
|
2362
|
-
|
2431
|
+
# Use Customer Managed Encryption Keys (CMEK) for encryption. Only keys in the
|
2432
|
+
# same location as this database are allowed to be used for encryption. For
|
2433
|
+
# Firestore's nam5 multi-region, this corresponds to Cloud KMS multi-region us.
|
2434
|
+
# For Firestore's eur3 multi-region, this corresponds to Cloud KMS multi-region
|
2435
|
+
# europe. See https://cloud.google.com/kms/docs/locations. The expected format
|
2436
|
+
# is `projects/`project_id`/locations/`kms_location`/keyRings/`key_ring`/
|
2437
|
+
# cryptoKeys/`crypto_key``.
|
2438
|
+
# Corresponds to the JSON property `kmsKeyName`
|
2439
|
+
# @return [String]
|
2440
|
+
attr_accessor :kms_key_name
|
2441
|
+
|
2442
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
2443
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
2444
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
2445
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
2446
|
+
# Corresponds to the JSON property `useBackupEncryption`
|
2447
|
+
# @return [Google::Apis::FirestoreV1::Empty]
|
2448
|
+
attr_accessor :use_backup_encryption
|
2449
|
+
|
2450
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
2451
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
2452
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
2453
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
2454
|
+
# Corresponds to the JSON property `useGoogleDefaultEncryption`
|
2455
|
+
# @return [Google::Apis::FirestoreV1::Empty]
|
2456
|
+
attr_accessor :use_google_default_encryption
|
2363
2457
|
|
2364
2458
|
def initialize(**args)
|
2365
2459
|
update!(**args)
|
@@ -2369,7 +2463,9 @@ module Google
|
|
2369
2463
|
def update!(**args)
|
2370
2464
|
@backup = args[:backup] if args.key?(:backup)
|
2371
2465
|
@database_id = args[:database_id] if args.key?(:database_id)
|
2372
|
-
@
|
2466
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
2467
|
+
@use_backup_encryption = args[:use_backup_encryption] if args.key?(:use_backup_encryption)
|
2468
|
+
@use_google_default_encryption = args[:use_google_default_encryption] if args.key?(:use_google_default_encryption)
|
2373
2469
|
end
|
2374
2470
|
end
|
2375
2471
|
|
@@ -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.68.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 = "20240617"
|
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
|
@@ -1044,6 +1050,30 @@ module Google
|
|
1044
1050
|
end
|
1045
1051
|
end
|
1046
1052
|
|
1053
|
+
class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata
|
1054
|
+
# @private
|
1055
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1056
|
+
collection :collection_ids, as: 'collectionIds'
|
1057
|
+
property :end_time, as: 'endTime'
|
1058
|
+
collection :namespace_ids, as: 'namespaceIds'
|
1059
|
+
property :operation_state, as: 'operationState'
|
1060
|
+
property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
1061
|
+
|
1062
|
+
property :progress_documents, as: 'progressDocuments', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
1063
|
+
|
1064
|
+
property :snapshot_time, as: 'snapshotTime'
|
1065
|
+
property :start_time, as: 'startTime'
|
1066
|
+
end
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
class GoogleFirestoreAdminV1BulkDeleteDocumentsRequest
|
1070
|
+
# @private
|
1071
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1072
|
+
collection :collection_ids, as: 'collectionIds'
|
1073
|
+
collection :namespace_ids, as: 'namespaceIds'
|
1074
|
+
end
|
1075
|
+
end
|
1076
|
+
|
1047
1077
|
class GoogleFirestoreAdminV1CmekConfig
|
1048
1078
|
# @private
|
1049
1079
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1090,14 +1120,6 @@ module Google
|
|
1090
1120
|
end
|
1091
1121
|
end
|
1092
1122
|
|
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
1123
|
class GoogleFirestoreAdminV1DeleteDatabaseMetadata
|
1102
1124
|
# @private
|
1103
1125
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1331,7 +1353,10 @@ module Google
|
|
1331
1353
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1332
1354
|
property :backup, as: 'backup'
|
1333
1355
|
property :database_id, as: 'databaseId'
|
1334
|
-
property :
|
1356
|
+
property :kms_key_name, as: 'kmsKeyName'
|
1357
|
+
property :use_backup_encryption, as: 'useBackupEncryption', class: Google::Apis::FirestoreV1::Empty, decorator: Google::Apis::FirestoreV1::Empty::Representation
|
1358
|
+
|
1359
|
+
property :use_google_default_encryption, as: 'useGoogleDefaultEncryption', class: Google::Apis::FirestoreV1::Empty, decorator: Google::Apis::FirestoreV1::Empty::Representation
|
1335
1360
|
|
1336
1361
|
end
|
1337
1362
|
end
|
@@ -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``
|
@@ -603,23 +642,21 @@ module Google
|
|
603
642
|
# database, use the special `Field` with resource name: `projects/`project_id`/
|
604
643
|
# databases/`database_id`/collectionGroups/__default__/fields/*`.
|
605
644
|
# @param [String] name
|
606
|
-
# Required. A field name of the form `projects/`project_id`/databases/`
|
645
|
+
# Required. A field name of the form: `projects/`project_id`/databases/`
|
607
646
|
# database_id`/collectionGroups/`collection_id`/fields/`field_path`` A field
|
608
|
-
# path
|
609
|
-
# map_value , e.g. `address.city`, or a special field path. The only valid
|
610
|
-
# special field is `*`, which represents any field. Field paths
|
611
|
-
# using ` (backtick). The only character that
|
647
|
+
# path can be a simple field name, e.g. `address` or a path to fields within `
|
648
|
+
# map_value` , e.g. `address.city`, or a special field path. The only valid
|
649
|
+
# special field is `*`, which represents any field. Field paths can be quoted
|
650
|
+
# using `` ` `` (backtick). The only character that must be escaped within a
|
612
651
|
# quoted field path is the backtick character itself, escaped using a backslash.
|
613
|
-
# Special characters in field paths that must be quoted include: `*`, `.`,
|
614
|
-
# backtick), `[`, `]`, as well as any ascii symbolic characters. Examples:
|
615
|
-
#
|
616
|
-
#
|
617
|
-
#
|
618
|
-
#
|
619
|
-
#
|
620
|
-
#
|
621
|
-
# fields/*` Indexes defined on this `Field` will be applied to all fields which
|
622
|
-
# do not have their own `Field` index configuration.
|
652
|
+
# Special characters in field paths that must be quoted include: `*`, `.`, `` ` `
|
653
|
+
# ` (backtick), `[`, `]`, as well as any ascii symbolic characters. Examples: ``
|
654
|
+
# `address.city` `` represents a field named `address.city`, not the map key `
|
655
|
+
# city` in the field `address`. `` `*` `` represents a field named `*`, not any
|
656
|
+
# field. A special `Field` contains the default indexing settings for all fields.
|
657
|
+
# This field's resource name is: `projects/`project_id`/databases/`database_id`/
|
658
|
+
# collectionGroups/__default__/fields/*` Indexes defined on this `Field` will be
|
659
|
+
# applied to all fields which do not have their own `Field` index configuration.
|
623
660
|
# @param [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Field] google_firestore_admin_v1_field_object
|
624
661
|
# @param [String] update_mask
|
625
662
|
# A mask, relative to the field. If specified, only configuration specified by
|
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.68.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-06-23 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.68.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: []
|