google-apis-datastore_v1beta1 0.10.0 → 0.11.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f19d0918b1bd4ca554abb879705677308a956016fc3aa256d07a7b45a9f9064
|
4
|
+
data.tar.gz: e33302d28231997c272efd3bc22b6145eb713d3a131f1b66dae3e531bfb3ccfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cc9c0590db7a3e69319c896b6708580da224f195cb8c1a9dac4eec535a8524a7192d118e3763f1dda9292ef8b8475410bf7737735d2754f73a16cbcecec8e68
|
7
|
+
data.tar.gz: 3ef44ff360ead33e31a1a9256a6d1bd6a2d5bb9c10213a7e6a23be4f6396f13afe76cd4f929f571dfd336057c27d27491459c7d7302f2edf2886c921f09e7ae0
|
data/CHANGELOG.md
CHANGED
@@ -70,7 +70,7 @@ module Google
|
|
70
70
|
# DatastoreFirestoreMigration operation is not started by the end-user via an
|
71
71
|
# explicit "creation" method. This is an intentional deviation from the LRO
|
72
72
|
# design pattern. This singleton resource can be accessed at: "projects/`
|
73
|
-
# project_id`/datastore-firestore-migration"
|
73
|
+
# project_id`/operations/datastore-firestore-migration"
|
74
74
|
class GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata
|
75
75
|
include Google::Apis::Core::Hashable
|
76
76
|
|
@@ -290,6 +290,81 @@ module Google
|
|
290
290
|
end
|
291
291
|
end
|
292
292
|
|
293
|
+
# An event signifying the start of a new step in a [migration from Cloud
|
294
|
+
# Datastore to Cloud Firestore in Datastore mode](https://cloud.google.com/
|
295
|
+
# datastore/docs/upgrade-to-firestore).
|
296
|
+
class GoogleDatastoreAdminV1MigrationProgressEvent
|
297
|
+
include Google::Apis::Core::Hashable
|
298
|
+
|
299
|
+
# Details for the `PREPARE` step.
|
300
|
+
# Corresponds to the JSON property `prepareStepDetails`
|
301
|
+
# @return [Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1PrepareStepDetails]
|
302
|
+
attr_accessor :prepare_step_details
|
303
|
+
|
304
|
+
# Details for the `REDIRECT_WRITES` step.
|
305
|
+
# Corresponds to the JSON property `redirectWritesStepDetails`
|
306
|
+
# @return [Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1RedirectWritesStepDetails]
|
307
|
+
attr_accessor :redirect_writes_step_details
|
308
|
+
|
309
|
+
# The step that is starting. An event with step set to `START` indicates that
|
310
|
+
# the migration has been reverted back to the initial pre-migration state.
|
311
|
+
# Corresponds to the JSON property `step`
|
312
|
+
# @return [String]
|
313
|
+
attr_accessor :step
|
314
|
+
|
315
|
+
def initialize(**args)
|
316
|
+
update!(**args)
|
317
|
+
end
|
318
|
+
|
319
|
+
# Update properties of this object
|
320
|
+
def update!(**args)
|
321
|
+
@prepare_step_details = args[:prepare_step_details] if args.key?(:prepare_step_details)
|
322
|
+
@redirect_writes_step_details = args[:redirect_writes_step_details] if args.key?(:redirect_writes_step_details)
|
323
|
+
@step = args[:step] if args.key?(:step)
|
324
|
+
end
|
325
|
+
end
|
326
|
+
|
327
|
+
# An event signifying a change in state of a [migration from Cloud Datastore to
|
328
|
+
# Cloud Firestore in Datastore mode](https://cloud.google.com/datastore/docs/
|
329
|
+
# upgrade-to-firestore).
|
330
|
+
class GoogleDatastoreAdminV1MigrationStateEvent
|
331
|
+
include Google::Apis::Core::Hashable
|
332
|
+
|
333
|
+
# The new state of the migration.
|
334
|
+
# Corresponds to the JSON property `state`
|
335
|
+
# @return [String]
|
336
|
+
attr_accessor :state
|
337
|
+
|
338
|
+
def initialize(**args)
|
339
|
+
update!(**args)
|
340
|
+
end
|
341
|
+
|
342
|
+
# Update properties of this object
|
343
|
+
def update!(**args)
|
344
|
+
@state = args[:state] if args.key?(:state)
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
# Details for the `PREPARE` step.
|
349
|
+
class GoogleDatastoreAdminV1PrepareStepDetails
|
350
|
+
include Google::Apis::Core::Hashable
|
351
|
+
|
352
|
+
# The concurrency mode this database will use when it reaches the `
|
353
|
+
# REDIRECT_WRITES` step.
|
354
|
+
# Corresponds to the JSON property `concurrencyMode`
|
355
|
+
# @return [String]
|
356
|
+
attr_accessor :concurrency_mode
|
357
|
+
|
358
|
+
def initialize(**args)
|
359
|
+
update!(**args)
|
360
|
+
end
|
361
|
+
|
362
|
+
# Update properties of this object
|
363
|
+
def update!(**args)
|
364
|
+
@concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
293
368
|
# Measures the progress of a particular metric.
|
294
369
|
class GoogleDatastoreAdminV1Progress
|
295
370
|
include Google::Apis::Core::Hashable
|
@@ -317,6 +392,25 @@ module Google
|
|
317
392
|
end
|
318
393
|
end
|
319
394
|
|
395
|
+
# Details for the `REDIRECT_WRITES` step.
|
396
|
+
class GoogleDatastoreAdminV1RedirectWritesStepDetails
|
397
|
+
include Google::Apis::Core::Hashable
|
398
|
+
|
399
|
+
# Ths concurrency mode for this database.
|
400
|
+
# Corresponds to the JSON property `concurrencyMode`
|
401
|
+
# @return [String]
|
402
|
+
attr_accessor :concurrency_mode
|
403
|
+
|
404
|
+
def initialize(**args)
|
405
|
+
update!(**args)
|
406
|
+
end
|
407
|
+
|
408
|
+
# Update properties of this object
|
409
|
+
def update!(**args)
|
410
|
+
@concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
320
414
|
# Metadata common to all Datastore Admin operations.
|
321
415
|
class GoogleDatastoreAdminV1beta1CommonMetadata
|
322
416
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DatastoreV1beta1
|
18
18
|
# Version of the google-apis-datastore_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220110"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,12 +64,36 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class GoogleDatastoreAdminV1MigrationProgressEvent
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class GoogleDatastoreAdminV1MigrationStateEvent
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class GoogleDatastoreAdminV1PrepareStepDetails
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
67
85
|
class GoogleDatastoreAdminV1Progress
|
68
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
87
|
|
70
88
|
include Google::Apis::Core::JsonObjectSupport
|
71
89
|
end
|
72
90
|
|
91
|
+
class GoogleDatastoreAdminV1RedirectWritesStepDetails
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
73
97
|
class GoogleDatastoreAdminV1beta1CommonMetadata
|
74
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
99
|
|
@@ -205,6 +229,31 @@ module Google
|
|
205
229
|
end
|
206
230
|
end
|
207
231
|
|
232
|
+
class GoogleDatastoreAdminV1MigrationProgressEvent
|
233
|
+
# @private
|
234
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
235
|
+
property :prepare_step_details, as: 'prepareStepDetails', class: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1PrepareStepDetails, decorator: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1PrepareStepDetails::Representation
|
236
|
+
|
237
|
+
property :redirect_writes_step_details, as: 'redirectWritesStepDetails', class: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1RedirectWritesStepDetails, decorator: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1RedirectWritesStepDetails::Representation
|
238
|
+
|
239
|
+
property :step, as: 'step'
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
class GoogleDatastoreAdminV1MigrationStateEvent
|
244
|
+
# @private
|
245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
246
|
+
property :state, as: 'state'
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
250
|
+
class GoogleDatastoreAdminV1PrepareStepDetails
|
251
|
+
# @private
|
252
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
253
|
+
property :concurrency_mode, as: 'concurrencyMode'
|
254
|
+
end
|
255
|
+
end
|
256
|
+
|
208
257
|
class GoogleDatastoreAdminV1Progress
|
209
258
|
# @private
|
210
259
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -213,6 +262,13 @@ module Google
|
|
213
262
|
end
|
214
263
|
end
|
215
264
|
|
265
|
+
class GoogleDatastoreAdminV1RedirectWritesStepDetails
|
266
|
+
# @private
|
267
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
268
|
+
property :concurrency_mode, as: 'concurrencyMode'
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
216
272
|
class GoogleDatastoreAdminV1beta1CommonMetadata
|
217
273
|
# @private
|
218
274
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-datastore_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.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: 2022-01-
|
11
|
+
date: 2022-01-24 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-datastore_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1beta1/v0.11.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastore_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Datastore API V1beta1
|