google-apis-firestore_v1beta1 0.28.0 → 0.30.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: 9d46a7ee90a7847f2c5f32271c67028abf2ca9eac626d807140ac952bbdd791c
4
- data.tar.gz: a9fc91505b6a9513ea973db0be965a5342f70826a6d22d7824043c89f87e13ca
3
+ metadata.gz: 40d2c244899625804a7518d0f9450d6dd206ff9440a674e3ca23cd50a66059cc
4
+ data.tar.gz: 561c0b71e8b1ab00fd7f560f7585c71ed5a5b2b382df9af5591cbdf4608d2d11
5
5
  SHA512:
6
- metadata.gz: 70302a932a6e774894087a779cae938bee94be6e2c4a4ecf8ac0a581d31189d5ca8b47575e7baac407eb4fc6bcb1ef48ba88f4d11986df5de35c764b2d6c1112
7
- data.tar.gz: d374c6bbe836a0f4df9b50a551cf14e737e8bdb6b81962a047925598ea54b5c3d377bf08cceacb98a97c8ce1af1a2e4f3803cc284a604c5153427c19127548f6
6
+ metadata.gz: 1a2b3ed19c928bdbd4b9d8ce99d5c00423892f699aab91ff8f2f96980b52060121b4177ac3701db910888cd3433032a0f3f87d28ce0902258ae59c37c1480089
7
+ data.tar.gz: c130f7221c7f3d451ae663eabd5f82ac949758d1d05e0acbaac09c9519aa79a1273a339c6be6b20457772e1d61fd9ef10b75932c8a89e42e2f3fb4fa428db9a0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firestore_v1beta1
2
2
 
3
+ ### v0.30.0 (2023-07-23)
4
+
5
+ * Regenerated from discovery document revision 20230716
6
+
7
+ ### v0.29.0 (2023-07-02)
8
+
9
+ * Regenerated from discovery document revision 20230621
10
+
3
11
  ### v0.28.0 (2023-06-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20230611
@@ -122,8 +122,9 @@ module Google
122
122
  # @return [Google::Apis::FirestoreV1beta1::TransactionOptions]
123
123
  attr_accessor :new_transaction
124
124
 
125
- # Reads documents as they were at the given time. This may not be older than 270
126
- # seconds.
125
+ # Reads documents as they were at the given time. This must be a microsecond
126
+ # precision timestamp within the past one hour, or if Point-in-Time Recovery is
127
+ # enabled, can additionally be a whole minute timestamp within the past 7 days.
127
128
  # Corresponds to the JSON property `readTime`
128
129
  # @return [String]
129
130
  attr_accessor :read_time
@@ -951,6 +952,49 @@ module Google
951
952
  end
952
953
  end
953
954
 
955
+ # Metadata for the long-running operation from the RestoreDatabase request.
956
+ class GoogleFirestoreAdminV1RestoreDatabaseMetadata
957
+ include Google::Apis::Core::Hashable
958
+
959
+ # The name of the backup restoring from.
960
+ # Corresponds to the JSON property `backup`
961
+ # @return [String]
962
+ attr_accessor :backup
963
+
964
+ # The name of the database being restored to.
965
+ # Corresponds to the JSON property `database`
966
+ # @return [String]
967
+ attr_accessor :database
968
+
969
+ # The time the restore finished, unset for ongoing restores.
970
+ # Corresponds to the JSON property `endTime`
971
+ # @return [String]
972
+ attr_accessor :end_time
973
+
974
+ # The operation state of the restore.
975
+ # Corresponds to the JSON property `operationState`
976
+ # @return [String]
977
+ attr_accessor :operation_state
978
+
979
+ # The time the restore was started.
980
+ # Corresponds to the JSON property `startTime`
981
+ # @return [String]
982
+ attr_accessor :start_time
983
+
984
+ def initialize(**args)
985
+ update!(**args)
986
+ end
987
+
988
+ # Update properties of this object
989
+ def update!(**args)
990
+ @backup = args[:backup] if args.key?(:backup)
991
+ @database = args[:database] if args.key?(:database)
992
+ @end_time = args[:end_time] if args.key?(:end_time)
993
+ @operation_state = args[:operation_state] if args.key?(:operation_state)
994
+ @start_time = args[:start_time] if args.key?(:start_time)
995
+ end
996
+ end
997
+
954
998
  # Metadata related to the update database operation.
955
999
  class GoogleFirestoreAdminV1UpdateDatabaseMetadata
956
1000
  include Google::Apis::Core::Hashable
@@ -1445,8 +1489,9 @@ module Google
1445
1489
  # @return [String]
1446
1490
  attr_accessor :page_token
1447
1491
 
1448
- # Reads documents as they were at the given time. This may not be older than 270
1449
- # seconds.
1492
+ # Reads documents as they were at the given time. This must be a microsecond
1493
+ # precision timestamp within the past one hour, or if Point-in-Time Recovery is
1494
+ # enabled, can additionally be a whole minute timestamp within the past 7 days.
1450
1495
  # Corresponds to the JSON property `readTime`
1451
1496
  # @return [String]
1452
1497
  attr_accessor :read_time
@@ -1681,8 +1726,9 @@ module Google
1681
1726
  # @return [Fixnum]
1682
1727
  attr_accessor :partition_count
1683
1728
 
1684
- # Reads documents as they were at the given time. This may not be older than 270
1685
- # seconds.
1729
+ # Reads documents as they were at the given time. This must be a microsecond
1730
+ # precision timestamp within the past one hour, or if Point-in-Time Recovery is
1731
+ # enabled, can additionally be a whole minute timestamp within the past 7 days.
1686
1732
  # Corresponds to the JSON property `readTime`
1687
1733
  # @return [String]
1688
1734
  attr_accessor :read_time
@@ -1822,7 +1868,9 @@ module Google
1822
1868
  class ReadOnly
1823
1869
  include Google::Apis::Core::Hashable
1824
1870
 
1825
- # Reads documents at the given time. This may not be older than 60 seconds.
1871
+ # Reads documents at the given time. This must be a microsecond precision
1872
+ # timestamp within the past one hour, or if Point-in-Time Recovery is enabled,
1873
+ # can additionally be a whole minute timestamp within the past 7 days.
1826
1874
  # Corresponds to the JSON property `readTime`
1827
1875
  # @return [String]
1828
1876
  attr_accessor :read_time
@@ -1838,6 +1886,8 @@ module Google
1838
1886
  end
1839
1887
 
1840
1888
  # Options for a transaction that can be used to read and write documents.
1889
+ # Firestore does not allow 3rd party auth requests to create read-write.
1890
+ # transactions.
1841
1891
  class ReadWrite
1842
1892
  include Google::Apis::Core::Hashable
1843
1893
 
@@ -1886,8 +1936,9 @@ module Google
1886
1936
  # @return [Google::Apis::FirestoreV1beta1::TransactionOptions]
1887
1937
  attr_accessor :new_transaction
1888
1938
 
1889
- # Executes the query at the given timestamp. Requires: * Cannot be more than 270
1890
- # seconds in the past.
1939
+ # Executes the query at the given timestamp. This must be a microsecond
1940
+ # precision timestamp within the past one hour, or if Point-in-Time Recovery is
1941
+ # enabled, can additionally be a whole minute timestamp within the past 7 days.
1891
1942
  # Corresponds to the JSON property `readTime`
1892
1943
  # @return [String]
1893
1944
  attr_accessor :read_time
@@ -1965,8 +2016,9 @@ module Google
1965
2016
  # @return [Google::Apis::FirestoreV1beta1::TransactionOptions]
1966
2017
  attr_accessor :new_transaction
1967
2018
 
1968
- # Reads documents as they were at the given time. This may not be older than 270
1969
- # seconds.
2019
+ # Reads documents as they were at the given time. This must be a microsecond
2020
+ # precision timestamp within the past one hour, or if Point-in-Time Recovery is
2021
+ # enabled, can additionally be a whole minute timestamp within the past 7 days.
1970
2022
  # Corresponds to the JSON property `readTime`
1971
2023
  # @return [String]
1972
2024
  attr_accessor :read_time
@@ -2322,6 +2374,8 @@ module Google
2322
2374
  attr_accessor :read_only
2323
2375
 
2324
2376
  # Options for a transaction that can be used to read and write documents.
2377
+ # Firestore does not allow 3rd party auth requests to create read-write.
2378
+ # transactions.
2325
2379
  # Corresponds to the JSON property `readWrite`
2326
2380
  # @return [Google::Apis::FirestoreV1beta1::ReadWrite]
2327
2381
  attr_accessor :read_write
@@ -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.28.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230611"
25
+ REVISION = "20230716"
26
26
  end
27
27
  end
28
28
  end
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class GoogleFirestoreAdminV1RestoreDatabaseMetadata
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class GoogleFirestoreAdminV1UpdateDatabaseMetadata
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -749,6 +755,17 @@ module Google
749
755
  end
750
756
  end
751
757
 
758
+ class GoogleFirestoreAdminV1RestoreDatabaseMetadata
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ property :backup, as: 'backup'
762
+ property :database, as: 'database'
763
+ property :end_time, as: 'endTime'
764
+ property :operation_state, as: 'operationState'
765
+ property :start_time, as: 'startTime'
766
+ end
767
+ end
768
+
752
769
  class GoogleFirestoreAdminV1UpdateDatabaseMetadata
753
770
  # @private
754
771
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -363,8 +363,10 @@ module Google
363
363
  # The list of field paths in the mask. See Document.fields for a field path
364
364
  # syntax reference.
365
365
  # @param [String] read_time
366
- # Reads the version of the document at the given time. This may not be older
367
- # than 270 seconds.
366
+ # Reads the version of the document at the given time. This must be a
367
+ # microsecond precision timestamp within the past one hour, or if Point-in-Time
368
+ # Recovery is enabled, can additionally be a whole minute timestamp within the
369
+ # past 7 days.
368
370
  # @param [String] transaction
369
371
  # Reads the document in a transaction.
370
372
  # @param [String] fields
@@ -425,7 +427,9 @@ module Google
425
427
  # parameters (with the exception of `page_size`) must match the values set in
426
428
  # the request that generated the page token.
427
429
  # @param [String] read_time
428
- # Perform the read at the provided time. This may not be older than 270 seconds.
430
+ # Perform the read at the provided time. This must be a microsecond precision
431
+ # timestamp within the past one hour, or if Point-in-Time Recovery is enabled,
432
+ # can additionally be a whole minute timestamp within the past 7 days.
429
433
  # @param [Boolean] show_missing
430
434
  # If the list should show missing documents. A document is missing if it does
431
435
  # not exist, but there are sub-documents nested underneath it. When true, such
@@ -532,7 +536,9 @@ module Google
532
536
  # parameters (with the exception of `page_size`) must match the values set in
533
537
  # the request that generated the page token.
534
538
  # @param [String] read_time
535
- # Perform the read at the provided time. This may not be older than 270 seconds.
539
+ # Perform the read at the provided time. This must be a microsecond precision
540
+ # timestamp within the past one hour, or if Point-in-Time Recovery is enabled,
541
+ # can additionally be a whole minute timestamp within the past 7 days.
536
542
  # @param [Boolean] show_missing
537
543
  # If the list should show missing documents. A document is missing if it does
538
544
  # not exist, but there are sub-documents nested underneath it. When true, such
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firestore_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.30.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: 2023-06-18 00:00:00.000000000 Z
11
+ date: 2023-07-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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta1/v0.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta1/v0.30.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []