google-apis-datastore_v1beta1 0.7.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
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-datastore_v1beta1
|
2
2
|
|
3
|
+
### v0.11.0 (2022-01-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220110
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.10.0 (2021-12-14)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.9.0 (2021-11-11)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211029
|
15
|
+
|
16
|
+
### v0.8.0 (2021-10-20)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210901
|
19
|
+
|
3
20
|
### v0.7.0 (2021-08-26)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210816
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/datastore_v1beta1"
|
|
51
51
|
client = Google::Apis::DatastoreV1beta1::DatastoreService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Datastore service in particular.)
|
67
67
|
|
@@ -66,6 +66,37 @@ module Google
|
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
+
# Metadata for Datastore to Firestore migration operations. The
|
70
|
+
# DatastoreFirestoreMigration operation is not started by the end-user via an
|
71
|
+
# explicit "creation" method. This is an intentional deviation from the LRO
|
72
|
+
# design pattern. This singleton resource can be accessed at: "projects/`
|
73
|
+
# project_id`/operations/datastore-firestore-migration"
|
74
|
+
class GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata
|
75
|
+
include Google::Apis::Core::Hashable
|
76
|
+
|
77
|
+
# The current state of migration from Cloud Datastore to Cloud Firestore in
|
78
|
+
# Datastore mode.
|
79
|
+
# Corresponds to the JSON property `migrationState`
|
80
|
+
# @return [String]
|
81
|
+
attr_accessor :migration_state
|
82
|
+
|
83
|
+
# The current step of migration from Cloud Datastore to Cloud Firestore in
|
84
|
+
# Datastore mode.
|
85
|
+
# Corresponds to the JSON property `migrationStep`
|
86
|
+
# @return [String]
|
87
|
+
attr_accessor :migration_step
|
88
|
+
|
89
|
+
def initialize(**args)
|
90
|
+
update!(**args)
|
91
|
+
end
|
92
|
+
|
93
|
+
# Update properties of this object
|
94
|
+
def update!(**args)
|
95
|
+
@migration_state = args[:migration_state] if args.key?(:migration_state)
|
96
|
+
@migration_step = args[:migration_step] if args.key?(:migration_step)
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
69
100
|
# Identifies a subset of entities in a project. This is specified as
|
70
101
|
# combinations of kinds and namespaces (either or both of which may be all, as
|
71
102
|
# described in the following examples). Example usage: Entire project: kinds=[],
|
@@ -259,6 +290,81 @@ module Google
|
|
259
290
|
end
|
260
291
|
end
|
261
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
|
+
|
262
368
|
# Measures the progress of a particular metric.
|
263
369
|
class GoogleDatastoreAdminV1Progress
|
264
370
|
include Google::Apis::Core::Hashable
|
@@ -286,6 +392,25 @@ module Google
|
|
286
392
|
end
|
287
393
|
end
|
288
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
|
+
|
289
414
|
# Metadata common to all Datastore Admin operations.
|
290
415
|
class GoogleDatastoreAdminV1beta1CommonMetadata
|
291
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
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class GoogleDatastoreAdminV1EntityFilter
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -58,12 +64,36 @@ module Google
|
|
58
64
|
include Google::Apis::Core::JsonObjectSupport
|
59
65
|
end
|
60
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
|
+
|
61
85
|
class GoogleDatastoreAdminV1Progress
|
62
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
87
|
|
64
88
|
include Google::Apis::Core::JsonObjectSupport
|
65
89
|
end
|
66
90
|
|
91
|
+
class GoogleDatastoreAdminV1RedirectWritesStepDetails
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
67
97
|
class GoogleDatastoreAdminV1beta1CommonMetadata
|
68
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
99
|
|
@@ -135,6 +165,14 @@ module Google
|
|
135
165
|
end
|
136
166
|
end
|
137
167
|
|
168
|
+
class GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata
|
169
|
+
# @private
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
171
|
+
property :migration_state, as: 'migrationState'
|
172
|
+
property :migration_step, as: 'migrationStep'
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
138
176
|
class GoogleDatastoreAdminV1EntityFilter
|
139
177
|
# @private
|
140
178
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -191,6 +229,31 @@ module Google
|
|
191
229
|
end
|
192
230
|
end
|
193
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
|
+
|
194
257
|
class GoogleDatastoreAdminV1Progress
|
195
258
|
# @private
|
196
259
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -199,6 +262,13 @@ module Google
|
|
199
262
|
end
|
200
263
|
end
|
201
264
|
|
265
|
+
class GoogleDatastoreAdminV1RedirectWritesStepDetails
|
266
|
+
# @private
|
267
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
268
|
+
property :concurrency_mode, as: 'concurrencyMode'
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
202
272
|
class GoogleDatastoreAdminV1beta1CommonMetadata
|
203
273
|
# @private
|
204
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:
|
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
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1beta1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.11.0
|
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: []
|
65
65
|
require_paths:
|
@@ -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.
|
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
|