google-apis-firestore_v1beta2 0.27.0 → 0.28.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: bab485291a3695c9061d37e222aff499d7c1814e6c9b6d34fa4d6ec6c4a0cb71
4
- data.tar.gz: fca40e61b7dbd78d0f253293a7cc08aacf2e856412448fcbdf0947691992b4ae
3
+ metadata.gz: 5c3cb3fc1e7c47c3ad9e4880b00776d87c418dc1325292943ca6455736e5b4c6
4
+ data.tar.gz: 7871569326183724195c9f829c9b1cb2e62bfbb0161314aad401eb74060b4d08
5
5
  SHA512:
6
- metadata.gz: 8bf79a098c93957837dd9fa8adebf3380ec4865551859f721751667875ea099b97b23d12c6b525b12b236fd8bc6a9528ffe9cee3a0576b8cfb697e51873b5bc9
7
- data.tar.gz: 0e7137244fa821be274a18d5d634c57137f52ef657714ada592d0acaf9e71ae30259491a8bee80111e31794da9e51d90998f47390d8ef77986a01480371b1fb8
6
+ metadata.gz: 5080738891385902875ec9003f90ba1dbf8ad3fbdc0e46f41ecf82717e1485bea10859a30438a7c3a39a14ab21e387b187bdf5d40bdd405e845762a37d04f1fd
7
+ data.tar.gz: 3098aa8a0d0f08f2f9c6dc228273bd713e571ebbf4e82fc789dd1dea56c37b37b3358664eaa62e30909f14ef2a64c420dbcd7e372b412fd408aab285b857f162
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-firestore_v1beta2
2
2
 
3
+ ### v0.28.0 (2025-06-29)
4
+
5
+ * Regenerated from discovery document revision 20250618
6
+ * Regenerated using generator version 0.18.0
7
+
3
8
  ### v0.27.0 (2025-05-04)
4
9
 
5
10
  * Regenerated using generator version 0.17.0
@@ -105,6 +105,60 @@ module Google
105
105
  end
106
106
  end
107
107
 
108
+ # Metadata for the long-running operation from the CloneDatabase request.
109
+ class GoogleFirestoreAdminV1CloneDatabaseMetadata
110
+ include Google::Apis::Core::Hashable
111
+
112
+ # The name of the database being cloned to.
113
+ # Corresponds to the JSON property `database`
114
+ # @return [String]
115
+ attr_accessor :database
116
+
117
+ # The time the clone finished, unset for ongoing clones.
118
+ # Corresponds to the JSON property `endTime`
119
+ # @return [String]
120
+ attr_accessor :end_time
121
+
122
+ # The operation state of the clone.
123
+ # Corresponds to the JSON property `operationState`
124
+ # @return [String]
125
+ attr_accessor :operation_state
126
+
127
+ # A consistent snapshot of a database at a specific point in time. A PITR (Point-
128
+ # in-time recovery) snapshot with previous versions of a database's data is
129
+ # available for every minute up to the associated database's data retention
130
+ # period. If the PITR feature is enabled, the retention period is 7 days;
131
+ # otherwise, it is one hour.
132
+ # Corresponds to the JSON property `pitrSnapshot`
133
+ # @return [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1PitrSnapshot]
134
+ attr_accessor :pitr_snapshot
135
+
136
+ # Describes the progress of the operation. Unit of work is generic and must be
137
+ # interpreted based on where Progress is used.
138
+ # Corresponds to the JSON property `progressPercentage`
139
+ # @return [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1Progress]
140
+ attr_accessor :progress_percentage
141
+
142
+ # The time the clone was started.
143
+ # Corresponds to the JSON property `startTime`
144
+ # @return [String]
145
+ attr_accessor :start_time
146
+
147
+ def initialize(**args)
148
+ update!(**args)
149
+ end
150
+
151
+ # Update properties of this object
152
+ def update!(**args)
153
+ @database = args[:database] if args.key?(:database)
154
+ @end_time = args[:end_time] if args.key?(:end_time)
155
+ @operation_state = args[:operation_state] if args.key?(:operation_state)
156
+ @pitr_snapshot = args[:pitr_snapshot] if args.key?(:pitr_snapshot)
157
+ @progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage)
158
+ @start_time = args[:start_time] if args.key?(:start_time)
159
+ end
160
+ end
161
+
108
162
  # Metadata related to the create database operation.
109
163
  class GoogleFirestoreAdminV1CreateDatabaseMetadata
110
164
  include Google::Apis::Core::Hashable
@@ -131,6 +185,43 @@ module Google
131
185
  end
132
186
  end
133
187
 
188
+ # A consistent snapshot of a database at a specific point in time. A PITR (Point-
189
+ # in-time recovery) snapshot with previous versions of a database's data is
190
+ # available for every minute up to the associated database's data retention
191
+ # period. If the PITR feature is enabled, the retention period is 7 days;
192
+ # otherwise, it is one hour.
193
+ class GoogleFirestoreAdminV1PitrSnapshot
194
+ include Google::Apis::Core::Hashable
195
+
196
+ # Required. The name of the database that this was a snapshot of. Format: `
197
+ # projects/`project`/databases/`database``.
198
+ # Corresponds to the JSON property `database`
199
+ # @return [String]
200
+ attr_accessor :database
201
+
202
+ # Output only. Public UUID of the database the snapshot was associated with.
203
+ # Corresponds to the JSON property `databaseUid`
204
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
205
+ # @return [String]
206
+ attr_accessor :database_uid
207
+
208
+ # Required. Snapshot time of the database.
209
+ # Corresponds to the JSON property `snapshotTime`
210
+ # @return [String]
211
+ attr_accessor :snapshot_time
212
+
213
+ def initialize(**args)
214
+ update!(**args)
215
+ end
216
+
217
+ # Update properties of this object
218
+ def update!(**args)
219
+ @database = args[:database] if args.key?(:database)
220
+ @database_uid = args[:database_uid] if args.key?(:database_uid)
221
+ @snapshot_time = args[:snapshot_time] if args.key?(:snapshot_time)
222
+ end
223
+ end
224
+
134
225
  # Describes the progress of the operation. Unit of work is generic and must be
135
226
  # interpreted based on where Progress is used.
136
227
  class GoogleFirestoreAdminV1Progress
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FirestoreV1beta2
18
18
  # Version of the google-apis-firestore_v1beta2 gem
19
- GEM_VERSION = "0.27.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240822"
25
+ REVISION = "20250618"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class GoogleFirestoreAdminV1CloneDatabaseMetadata
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class GoogleFirestoreAdminV1CreateDatabaseMetadata
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -46,6 +52,12 @@ module Google
46
52
  include Google::Apis::Core::JsonObjectSupport
47
53
  end
48
54
 
55
+ class GoogleFirestoreAdminV1PitrSnapshot
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
49
61
  class GoogleFirestoreAdminV1Progress
50
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
63
 
@@ -188,6 +200,20 @@ module Google
188
200
  end
189
201
  end
190
202
 
203
+ class GoogleFirestoreAdminV1CloneDatabaseMetadata
204
+ # @private
205
+ class Representation < Google::Apis::Core::JsonRepresentation
206
+ property :database, as: 'database'
207
+ property :end_time, as: 'endTime'
208
+ property :operation_state, as: 'operationState'
209
+ property :pitr_snapshot, as: 'pitrSnapshot', class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1PitrSnapshot, decorator: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1PitrSnapshot::Representation
210
+
211
+ property :progress_percentage, as: 'progressPercentage', class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1Progress::Representation
212
+
213
+ property :start_time, as: 'startTime'
214
+ end
215
+ end
216
+
191
217
  class GoogleFirestoreAdminV1CreateDatabaseMetadata
192
218
  # @private
193
219
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -200,6 +226,15 @@ module Google
200
226
  end
201
227
  end
202
228
 
229
+ class GoogleFirestoreAdminV1PitrSnapshot
230
+ # @private
231
+ class Representation < Google::Apis::Core::JsonRepresentation
232
+ property :database, as: 'database'
233
+ property :database_uid, :base64 => true, as: 'databaseUid'
234
+ property :snapshot_time, as: 'snapshotTime'
235
+ end
236
+ end
237
+
203
238
  class GoogleFirestoreAdminV1Progress
204
239
  # @private
205
240
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firestore_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1beta2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta2/v0.27.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta2/v0.28.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1beta2
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud Firestore API V1beta2
79
79
  test_files: []