google-apis-firestore_v1 0.71.0 → 0.72.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: 170a49679c2ec0bc8d7584f22718d69d1df15bc6a2391c02d9fe836e6ab3e762
4
- data.tar.gz: 3067869daf8155df44a8469baf3f8d5d85b9d1743261130debbd78fa8f201203
3
+ metadata.gz: '099ab181e600f641d7a370fb79701d48c058a38d5fa73b2f90d9bd0692b8fce7'
4
+ data.tar.gz: 1710b7d9541668b11632a793744e08191a1ec16c1c6af224e8de9bf76540497b
5
5
  SHA512:
6
- metadata.gz: 0de30fa1441322ab8419c735dab23b8700074a183b58d3720d208ccd9b83023f717358bacb4e7a708db6c123e30a5152f26112df9102e97bccc9c25209df0187
7
- data.tar.gz: ba8ee9c7733dee6709860412f287f737433e21de786e037f64f33dc7509f498f99eb5d951999bf008734e82ce1ba79cfa853a784ed2a81fc82f65223d6209dc4
6
+ metadata.gz: dcc2475bda177a7c443b6fa4648db385237a5780fa9dc0940922c12b01bd017d85829b81f5b6724bf16b2a9affa00921b23e241468f8a86dc872a1247c73dc27
7
+ data.tar.gz: 30c3be690a5703c397e972cc80f1044350db698cf7c4c7a61bd09be7fd2a67ed907eefba1776a9bac0f2c41ff562367a7ba6770d6aebb5ee4e2133b7ca05a264
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.72.0 (2024-09-15)
4
+
5
+ * Regenerated from discovery document revision 20240904
6
+
3
7
  ### v0.71.0 (2024-09-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20240822
@@ -1275,6 +1275,26 @@ module Google
1275
1275
  end
1276
1276
  end
1277
1277
 
1278
+ # Information about a backup that was used to restore a database.
1279
+ class GoogleFirestoreAdminV1BackupSource
1280
+ include Google::Apis::Core::Hashable
1281
+
1282
+ # The resource name of the backup that was used to restore this database. Format:
1283
+ # `projects/`project`/locations/`location`/backups/`backup``.
1284
+ # Corresponds to the JSON property `backup`
1285
+ # @return [String]
1286
+ attr_accessor :backup
1287
+
1288
+ def initialize(**args)
1289
+ update!(**args)
1290
+ end
1291
+
1292
+ # Update properties of this object
1293
+ def update!(**args)
1294
+ @backup = args[:backup] if args.key?(:backup)
1295
+ end
1296
+ end
1297
+
1278
1298
  # Metadata for google.longrunning.Operation results from FirestoreAdmin.
1279
1299
  # BulkDeleteDocuments.
1280
1300
  class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata
@@ -1549,6 +1569,11 @@ module Google
1549
1569
  # @return [String]
1550
1570
  attr_accessor :previous_id
1551
1571
 
1572
+ # Information about the provenance of this database.
1573
+ # Corresponds to the JSON property `sourceInfo`
1574
+ # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1SourceInfo]
1575
+ attr_accessor :source_info
1576
+
1552
1577
  # The type of the database. See https://cloud.google.com/datastore/docs/
1553
1578
  # firestore-or-datastore for information about how to choose.
1554
1579
  # Corresponds to the JSON property `type`
@@ -1595,6 +1620,7 @@ module Google
1595
1620
  @name = args[:name] if args.key?(:name)
1596
1621
  @point_in_time_recovery_enablement = args[:point_in_time_recovery_enablement] if args.key?(:point_in_time_recovery_enablement)
1597
1622
  @previous_id = args[:previous_id] if args.key?(:previous_id)
1623
+ @source_info = args[:source_info] if args.key?(:source_info)
1598
1624
  @type = args[:type] if args.key?(:type)
1599
1625
  @uid = args[:uid] if args.key?(:uid)
1600
1626
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -2543,6 +2569,33 @@ module Google
2543
2569
  end
2544
2570
  end
2545
2571
 
2572
+ # Information about the provenance of this database.
2573
+ class GoogleFirestoreAdminV1SourceInfo
2574
+ include Google::Apis::Core::Hashable
2575
+
2576
+ # Information about a backup that was used to restore a database.
2577
+ # Corresponds to the JSON property `backup`
2578
+ # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1BackupSource]
2579
+ attr_accessor :backup
2580
+
2581
+ # The associated long-running operation. This field may not be set after the
2582
+ # operation has completed. Format: `projects/`project`/databases/`database`/
2583
+ # operations/`operation``.
2584
+ # Corresponds to the JSON property `operation`
2585
+ # @return [String]
2586
+ attr_accessor :operation
2587
+
2588
+ def initialize(**args)
2589
+ update!(**args)
2590
+ end
2591
+
2592
+ # Update properties of this object
2593
+ def update!(**args)
2594
+ @backup = args[:backup] if args.key?(:backup)
2595
+ @operation = args[:operation] if args.key?(:operation)
2596
+ end
2597
+ end
2598
+
2546
2599
  # Backup specific statistics.
2547
2600
  class GoogleFirestoreAdminV1Stats
2548
2601
  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.71.0"
19
+ GEM_VERSION = "0.72.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240822"
25
+ REVISION = "20240904"
26
26
  end
27
27
  end
28
28
  end
@@ -244,6 +244,12 @@ module Google
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
+ class GoogleFirestoreAdminV1BackupSource
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
247
253
  class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata
248
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
255
 
@@ -442,6 +448,12 @@ module Google
442
448
  include Google::Apis::Core::JsonObjectSupport
443
449
  end
444
450
 
451
+ class GoogleFirestoreAdminV1SourceInfo
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
445
457
  class GoogleFirestoreAdminV1Stats
446
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
459
 
@@ -1070,6 +1082,13 @@ module Google
1070
1082
  end
1071
1083
  end
1072
1084
 
1085
+ class GoogleFirestoreAdminV1BackupSource
1086
+ # @private
1087
+ class Representation < Google::Apis::Core::JsonRepresentation
1088
+ property :backup, as: 'backup'
1089
+ end
1090
+ end
1091
+
1073
1092
  class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata
1074
1093
  # @private
1075
1094
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1138,6 +1157,8 @@ module Google
1138
1157
  property :name, as: 'name'
1139
1158
  property :point_in_time_recovery_enablement, as: 'pointInTimeRecoveryEnablement'
1140
1159
  property :previous_id, as: 'previousId'
1160
+ property :source_info, as: 'sourceInfo', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1SourceInfo, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1SourceInfo::Representation
1161
+
1141
1162
  property :type, as: 'type'
1142
1163
  property :uid, as: 'uid'
1143
1164
  property :update_time, as: 'updateTime'
@@ -1407,6 +1428,15 @@ module Google
1407
1428
  end
1408
1429
  end
1409
1430
 
1431
+ class GoogleFirestoreAdminV1SourceInfo
1432
+ # @private
1433
+ class Representation < Google::Apis::Core::JsonRepresentation
1434
+ property :backup, as: 'backup', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1BackupSource, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1BackupSource::Representation
1435
+
1436
+ property :operation, as: 'operation'
1437
+ end
1438
+ end
1439
+
1410
1440
  class GoogleFirestoreAdminV1Stats
1411
1441
  # @private
1412
1442
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1838,6 +1838,13 @@ module Google
1838
1838
  # locations/`location``. Use ``location` = '-'` to list backups from all
1839
1839
  # locations for the given project. This allows listing backups from a single
1840
1840
  # location or from all locations.
1841
+ # @param [String] filter
1842
+ # An expression that filters the list of returned backups. A filter expression
1843
+ # consists of a field name, a comparison operator, and a value for filtering.
1844
+ # The value must be a string, a number, or a boolean. The comparison operator
1845
+ # must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. Colon `:` is the
1846
+ # contains operator. Filter rules are not case sensitive. The following fields
1847
+ # in the Backup are eligible for filtering: * `database_uid` (supports `=` only)
1841
1848
  # @param [String] fields
1842
1849
  # Selector specifying which fields to include in a partial response.
1843
1850
  # @param [String] quota_user
@@ -1855,11 +1862,12 @@ module Google
1855
1862
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1856
1863
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1857
1864
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1858
- def list_project_location_backups(parent, fields: nil, quota_user: nil, options: nil, &block)
1865
+ def list_project_location_backups(parent, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
1859
1866
  command = make_simple_command(:get, 'v1/{+parent}/backups', options)
1860
1867
  command.response_representation = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ListBackupsResponse::Representation
1861
1868
  command.response_class = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ListBackupsResponse
1862
1869
  command.params['parent'] = parent unless parent.nil?
1870
+ command.query['filter'] = filter unless filter.nil?
1863
1871
  command.query['fields'] = fields unless fields.nil?
1864
1872
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1865
1873
  execute_or_queue_command(command, &block)
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.71.0
4
+ version: 0.72.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-09-01 00:00:00.000000000 Z
11
+ date: 2024-09-15 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.71.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.72.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: []