google-apis-firestore_v1 0.65.0 → 0.66.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: d7b832b4851d47d963cc19239084b1f456107a22c145d4aca569ff4a8eaee4e3
4
- data.tar.gz: eb82f21be31b9ac64975973b97de4aa1af9046971ee686a6c519d922a4a4fdc7
3
+ metadata.gz: aa1f7c6a3a2b2f17c46a9e589aa60c220bd138ecacceac5c4d7d33d3ea23071b
4
+ data.tar.gz: 6090d477238a30779205c4a5871ff87e59b6fdefd55857749fadab77f1b214ae
5
5
  SHA512:
6
- metadata.gz: 75a98dcb4fb777db56328a761ba12d0ea4ac8f48c292ab9a84bc628266f331360a9323369054099f468f2e7b7cf977096da0e81b2d86c8b1e32f62abf0074e1f
7
- data.tar.gz: b0909cf1b143399b1769361f250ed8c2915def7f1349e789ccf05adca647970db4d9c2f28ff178f72f59173aebafa56ccfc535f1f8a3a024934b67af8c55ae58
6
+ metadata.gz: 76832f251fa85d87844b7b91c9ee743b18ed20286aa722d6cbeb70c5549e3bd77ac0cd33fd4dcd566c75c12a13710801e5ebea56adb279885c9bf97362d02ad5
7
+ data.tar.gz: f48c2a21b484290c9352458b777b42e01e99245d21bf9a6763d532e08344f49a88db00a70a62947907058463a230c471f872d1883a8cefe12435c0da7e556d22
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.66.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240521
6
+ * Regenerated using generator version 0.15.0
7
+
3
8
  ### v0.65.0 (2024-04-28)
4
9
 
5
10
  * Regenerated from discovery document revision 20240420
@@ -1309,12 +1309,20 @@ module Google
1309
1309
  class GoogleFirestoreAdminV1DailyRecurrence
1310
1310
  include Google::Apis::Core::Hashable
1311
1311
 
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
+
1312
1319
  def initialize(**args)
1313
1320
  update!(**args)
1314
1321
  end
1315
1322
 
1316
1323
  # Update properties of this object
1317
1324
  def update!(**args)
1325
+ @time = args[:time] if args.key?(:time)
1318
1326
  end
1319
1327
  end
1320
1328
 
@@ -1350,6 +1358,12 @@ module Google
1350
1358
  # @return [String]
1351
1359
  attr_accessor :delete_protection_state
1352
1360
 
1361
+ # Output only. The timestamp at which this database was deleted. Only set if the
1362
+ # database has been deleted.
1363
+ # Corresponds to the JSON property `deleteTime`
1364
+ # @return [String]
1365
+ attr_accessor :delete_time
1366
+
1353
1367
  # Output only. The earliest timestamp at which older versions of the data can be
1354
1368
  # read from the database. See [version_retention_period] above; this field is
1355
1369
  # populated with `now - version_retention_period`. This value is continuously
@@ -1393,6 +1407,12 @@ module Google
1393
1407
  # @return [String]
1394
1408
  attr_accessor :point_in_time_recovery_enablement
1395
1409
 
1410
+ # Output only. The database resource's prior database ID. This field is only
1411
+ # populated for deleted databases.
1412
+ # Corresponds to the JSON property `previousId`
1413
+ # @return [String]
1414
+ attr_accessor :previous_id
1415
+
1396
1416
  # The type of the database. See https://cloud.google.com/datastore/docs/
1397
1417
  # firestore-or-datastore for information about how to choose.
1398
1418
  # Corresponds to the JSON property `type`
@@ -1431,12 +1451,14 @@ module Google
1431
1451
  @concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
1432
1452
  @create_time = args[:create_time] if args.key?(:create_time)
1433
1453
  @delete_protection_state = args[:delete_protection_state] if args.key?(:delete_protection_state)
1454
+ @delete_time = args[:delete_time] if args.key?(:delete_time)
1434
1455
  @earliest_version_time = args[:earliest_version_time] if args.key?(:earliest_version_time)
1435
1456
  @etag = args[:etag] if args.key?(:etag)
1436
1457
  @key_prefix = args[:key_prefix] if args.key?(:key_prefix)
1437
1458
  @location_id = args[:location_id] if args.key?(:location_id)
1438
1459
  @name = args[:name] if args.key?(:name)
1439
1460
  @point_in_time_recovery_enablement = args[:point_in_time_recovery_enablement] if args.key?(:point_in_time_recovery_enablement)
1461
+ @previous_id = args[:previous_id] if args.key?(:previous_id)
1440
1462
  @type = args[:type] if args.key?(:type)
1441
1463
  @uid = args[:uid] if args.key?(:uid)
1442
1464
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -1560,7 +1582,8 @@ module Google
1560
1582
  class GoogleFirestoreAdminV1ExportDocumentsRequest
1561
1583
  include Google::Apis::Core::Hashable
1562
1584
 
1563
- # Which collection ids to export. Unspecified means all collections.
1585
+ # Which collection ids to export. Unspecified means all collections. Each
1586
+ # collection id in this list must be unique.
1564
1587
  # Corresponds to the JSON property `collectionIds`
1565
1588
  # @return [Array<String>]
1566
1589
  attr_accessor :collection_ids
@@ -1833,7 +1856,7 @@ module Google
1833
1856
  include Google::Apis::Core::Hashable
1834
1857
 
1835
1858
  # Which collection ids to import. Unspecified means all collections included in
1836
- # the import.
1859
+ # the import. Each collection id in this list must be unique.
1837
1860
  # Corresponds to the JSON property `collectionIds`
1838
1861
  # @return [Array<String>]
1839
1862
  attr_accessor :collection_ids
@@ -2476,6 +2499,13 @@ module Google
2476
2499
  # @return [String]
2477
2500
  attr_accessor :day
2478
2501
 
2502
+ # Represents a time of day. The date and time zone are either not significant or
2503
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
2504
+ # types are google.type.Date and `google.protobuf.Timestamp`.
2505
+ # Corresponds to the JSON property `time`
2506
+ # @return [Google::Apis::FirestoreV1::TimeOfDay]
2507
+ attr_accessor :time
2508
+
2479
2509
  def initialize(**args)
2480
2510
  update!(**args)
2481
2511
  end
@@ -2483,6 +2513,7 @@ module Google
2483
2513
  # Update properties of this object
2484
2514
  def update!(**args)
2485
2515
  @day = args[:day] if args.key?(:day)
2516
+ @time = args[:time] if args.key?(:time)
2486
2517
  end
2487
2518
  end
2488
2519
 
@@ -3676,6 +3707,47 @@ module Google
3676
3707
  end
3677
3708
  end
3678
3709
 
3710
+ # Represents a time of day. The date and time zone are either not significant or
3711
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
3712
+ # types are google.type.Date and `google.protobuf.Timestamp`.
3713
+ class TimeOfDay
3714
+ include Google::Apis::Core::Hashable
3715
+
3716
+ # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
3717
+ # allow the value "24:00:00" for scenarios like business closing time.
3718
+ # Corresponds to the JSON property `hours`
3719
+ # @return [Fixnum]
3720
+ attr_accessor :hours
3721
+
3722
+ # Minutes of hour of day. Must be from 0 to 59.
3723
+ # Corresponds to the JSON property `minutes`
3724
+ # @return [Fixnum]
3725
+ attr_accessor :minutes
3726
+
3727
+ # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3728
+ # Corresponds to the JSON property `nanos`
3729
+ # @return [Fixnum]
3730
+ attr_accessor :nanos
3731
+
3732
+ # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
3733
+ # allow the value 60 if it allows leap-seconds.
3734
+ # Corresponds to the JSON property `seconds`
3735
+ # @return [Fixnum]
3736
+ attr_accessor :seconds
3737
+
3738
+ def initialize(**args)
3739
+ update!(**args)
3740
+ end
3741
+
3742
+ # Update properties of this object
3743
+ def update!(**args)
3744
+ @hours = args[:hours] if args.key?(:hours)
3745
+ @minutes = args[:minutes] if args.key?(:minutes)
3746
+ @nanos = args[:nanos] if args.key?(:nanos)
3747
+ @seconds = args[:seconds] if args.key?(:seconds)
3748
+ end
3749
+ end
3750
+
3679
3751
  # Options for creating a new transaction.
3680
3752
  class TransactionOptions
3681
3753
  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.65.0"
19
+ GEM_VERSION = "0.66.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240420"
25
+ REVISION = "20240521"
26
26
  end
27
27
  end
28
28
  end
@@ -640,6 +640,12 @@ module Google
640
640
  include Google::Apis::Core::JsonObjectSupport
641
641
  end
642
642
 
643
+ class TimeOfDay
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
643
649
  class TransactionOptions
644
650
  class Representation < Google::Apis::Core::JsonRepresentation; end
645
651
 
@@ -1055,6 +1061,8 @@ module Google
1055
1061
  class GoogleFirestoreAdminV1DailyRecurrence
1056
1062
  # @private
1057
1063
  class Representation < Google::Apis::Core::JsonRepresentation
1064
+ property :time, as: 'time', class: Google::Apis::FirestoreV1::TimeOfDay, decorator: Google::Apis::FirestoreV1::TimeOfDay::Representation
1065
+
1058
1066
  end
1059
1067
  end
1060
1068
 
@@ -1067,12 +1075,14 @@ module Google
1067
1075
  property :concurrency_mode, as: 'concurrencyMode'
1068
1076
  property :create_time, as: 'createTime'
1069
1077
  property :delete_protection_state, as: 'deleteProtectionState'
1078
+ property :delete_time, as: 'deleteTime'
1070
1079
  property :earliest_version_time, as: 'earliestVersionTime'
1071
1080
  property :etag, as: 'etag'
1072
1081
  property :key_prefix, as: 'keyPrefix'
1073
1082
  property :location_id, as: 'locationId'
1074
1083
  property :name, as: 'name'
1075
1084
  property :point_in_time_recovery_enablement, as: 'pointInTimeRecoveryEnablement'
1085
+ property :previous_id, as: 'previousId'
1076
1086
  property :type, as: 'type'
1077
1087
  property :uid, as: 'uid'
1078
1088
  property :update_time, as: 'updateTime'
@@ -1368,6 +1378,8 @@ module Google
1368
1378
  # @private
1369
1379
  class Representation < Google::Apis::Core::JsonRepresentation
1370
1380
  property :day, as: 'day'
1381
+ property :time, as: 'time', class: Google::Apis::FirestoreV1::TimeOfDay, decorator: Google::Apis::FirestoreV1::TimeOfDay::Representation
1382
+
1371
1383
  end
1372
1384
  end
1373
1385
 
@@ -1699,6 +1711,16 @@ module Google
1699
1711
  end
1700
1712
  end
1701
1713
 
1714
+ class TimeOfDay
1715
+ # @private
1716
+ class Representation < Google::Apis::Core::JsonRepresentation
1717
+ property :hours, as: 'hours'
1718
+ property :minutes, as: 'minutes'
1719
+ property :nanos, as: 'nanos'
1720
+ property :seconds, as: 'seconds'
1721
+ end
1722
+ end
1723
+
1702
1724
  class TransactionOptions
1703
1725
  # @private
1704
1726
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -240,6 +240,8 @@ module Google
240
240
  # List all the databases in the project.
241
241
  # @param [String] parent
242
242
  # Required. A parent name of the form `projects/`project_id``
243
+ # @param [Boolean] show_deleted
244
+ # If true, also returns deleted resources.
243
245
  # @param [String] fields
244
246
  # Selector specifying which fields to include in a partial response.
245
247
  # @param [String] quota_user
@@ -257,11 +259,12 @@ module Google
257
259
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
258
260
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
259
261
  # @raise [Google::Apis::AuthorizationError] Authorization is required
260
- def list_project_databases(parent, fields: nil, quota_user: nil, options: nil, &block)
262
+ def list_project_databases(parent, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
261
263
  command = make_simple_command(:get, 'v1/{+parent}/databases', options)
262
264
  command.response_representation = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ListDatabasesResponse::Representation
263
265
  command.response_class = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ListDatabasesResponse
264
266
  command.params['parent'] = parent unless parent.nil?
267
+ command.query['showDeleted'] = show_deleted unless show_deleted.nil?
265
268
  command.query['fields'] = fields unless fields.nil?
266
269
  command.query['quotaUser'] = quota_user unless quota_user.nil?
267
270
  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.65.0
4
+ version: 0.66.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-04-28 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.65.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.66.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: []