google-apis-firestore_v1 0.44.0 → 0.45.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: c7643903f5afae3b1852ae1e87ce6765aacffb431660eb93c001174debcbcc8e
4
- data.tar.gz: 5e787db1095eb8b58bd78c6c69ddf8cee3328c6f87f1ab025905c214b7ba2a73
3
+ metadata.gz: b2f113fdc45e3f5370fe06755e05996e3a907f3315dc9eff63c27aaa6c96349e
4
+ data.tar.gz: aff468cb3e86bc9c231ebc1320842cc7dd98711dbf3552d607eafb547fc1cf4d
5
5
  SHA512:
6
- metadata.gz: 47207d6f0ec793ae280b3a833bf070f644f0431901091c3d859448fd4ea79afd6628ec16f6e479935b855ea94d2487aeb6088cf18b599d570082e8c7c8895602
7
- data.tar.gz: e023b30bd88909a9f5833dc78cb1014bd80b7b808d9d921a4ee36f74ee8b2a8f308782e7cb47aa8d571d12ba70cd7c68ac12ff16c67d51283ddf0afbea5d6665
6
+ metadata.gz: 763798a94cdbc2cca7c2b21d65e1065fbc936e206c4f7dc938be905b29b2d8517358f7a88541454ba811ae7a60ee05e58486bff148a3df34de188182906559bb
7
+ data.tar.gz: 2f44acc83d2b0835ab6ee70f72e195679794a88d9fc6fe77563718adeaa7885c9f0b92fb88d53cef6ff19975a82c3e4fffdc7b3466873b87077a80b30760aafb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.45.0 (2023-07-02)
4
+
5
+ * Regenerated from discovery document revision 20230621
6
+
3
7
  ### v0.44.0 (2023-06-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20230611
@@ -1944,6 +1944,49 @@ module Google
1944
1944
  end
1945
1945
  end
1946
1946
 
1947
+ # Metadata for the long-running operation from the RestoreDatabase request.
1948
+ class GoogleFirestoreAdminV1RestoreDatabaseMetadata
1949
+ include Google::Apis::Core::Hashable
1950
+
1951
+ # The name of the backup restoring from.
1952
+ # Corresponds to the JSON property `backup`
1953
+ # @return [String]
1954
+ attr_accessor :backup
1955
+
1956
+ # The name of the database being restored to.
1957
+ # Corresponds to the JSON property `database`
1958
+ # @return [String]
1959
+ attr_accessor :database
1960
+
1961
+ # The time the restore finished, unset for ongoing restores.
1962
+ # Corresponds to the JSON property `endTime`
1963
+ # @return [String]
1964
+ attr_accessor :end_time
1965
+
1966
+ # The operation state of the restore.
1967
+ # Corresponds to the JSON property `operationState`
1968
+ # @return [String]
1969
+ attr_accessor :operation_state
1970
+
1971
+ # The time the restore was started.
1972
+ # Corresponds to the JSON property `startTime`
1973
+ # @return [String]
1974
+ attr_accessor :start_time
1975
+
1976
+ def initialize(**args)
1977
+ update!(**args)
1978
+ end
1979
+
1980
+ # Update properties of this object
1981
+ def update!(**args)
1982
+ @backup = args[:backup] if args.key?(:backup)
1983
+ @database = args[:database] if args.key?(:database)
1984
+ @end_time = args[:end_time] if args.key?(:end_time)
1985
+ @operation_state = args[:operation_state] if args.key?(:operation_state)
1986
+ @start_time = args[:start_time] if args.key?(:start_time)
1987
+ end
1988
+ end
1989
+
1947
1990
  # The request message for FirestoreAdmin.RestoreDatabase.
1948
1991
  class GoogleFirestoreAdminV1RestoreDatabaseRequest
1949
1992
  include Google::Apis::Core::Hashable
@@ -2690,6 +2733,8 @@ module Google
2690
2733
  end
2691
2734
 
2692
2735
  # Options for a transaction that can be used to read and write documents.
2736
+ # Firestore does not allow 3rd party auth requests to create read-write.
2737
+ # transactions.
2693
2738
  class ReadWrite
2694
2739
  include Google::Apis::Core::Hashable
2695
2740
 
@@ -3174,6 +3219,8 @@ module Google
3174
3219
  attr_accessor :read_only
3175
3220
 
3176
3221
  # Options for a transaction that can be used to read and write documents.
3222
+ # Firestore does not allow 3rd party auth requests to create read-write.
3223
+ # transactions.
3177
3224
  # Corresponds to the JSON property `readWrite`
3178
3225
  # @return [Google::Apis::FirestoreV1::ReadWrite]
3179
3226
  attr_accessor :read_write
@@ -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.44.0"
19
+ GEM_VERSION = "0.45.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 = "20230621"
26
26
  end
27
27
  end
28
28
  end
@@ -340,6 +340,12 @@ module Google
340
340
  include Google::Apis::Core::JsonObjectSupport
341
341
  end
342
342
 
343
+ class GoogleFirestoreAdminV1RestoreDatabaseMetadata
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
343
349
  class GoogleFirestoreAdminV1RestoreDatabaseRequest
344
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
351
 
@@ -1128,6 +1134,17 @@ module Google
1128
1134
  end
1129
1135
  end
1130
1136
 
1137
+ class GoogleFirestoreAdminV1RestoreDatabaseMetadata
1138
+ # @private
1139
+ class Representation < Google::Apis::Core::JsonRepresentation
1140
+ property :backup, as: 'backup'
1141
+ property :database, as: 'database'
1142
+ property :end_time, as: 'endTime'
1143
+ property :operation_state, as: 'operationState'
1144
+ property :start_time, as: 'startTime'
1145
+ end
1146
+ end
1147
+
1131
1148
  class GoogleFirestoreAdminV1RestoreDatabaseRequest
1132
1149
  # @private
1133
1150
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -552,7 +552,7 @@ module Google
552
552
  # Lists the field configuration and metadata for this database. Currently,
553
553
  # FirestoreAdmin.ListFields only supports listing fields that have been
554
554
  # explicitly overridden. To issue this query, call FirestoreAdmin.ListFields
555
- # with the filter set to `indexConfig.usesAncestorConfig:false` .
555
+ # with the filter set to `indexConfig.usesAncestorConfig:false or `ttlConfig:*`.
556
556
  # @param [String] parent
557
557
  # Required. A parent name of the form `projects/`project_id`/databases/`
558
558
  # database_id`/collectionGroups/`collection_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.44.0
4
+ version: 0.45.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-02 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.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.45.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: []