google-apis-datastore_v1beta1 0.9.0 → 0.12.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: 4ccbbe03da064731b08cfcf07d770327d323fb4fad21ef6659676dc0c7b5f123
4
- data.tar.gz: 9c7e97759687d5e364e79a464ecb5476aa3f2c6150202acb4175ebc7019e49bb
3
+ metadata.gz: 500e03501240c0d325e10c4667af881be9468a8d51de49f809820d6001a5f3e1
4
+ data.tar.gz: 8649c1351ff04a6aa37671637fa54fb4f9aa756c235aab4625463e88afa32f5c
5
5
  SHA512:
6
- metadata.gz: 2d7de2e05e83f7da66ce5a8f57222f19c09f14396e2abc7f67b7f9b40078e42753cd28fe71b8b4ff2d161733f6430a6b233a971a3119ee2e8182fd6abe383e4e
7
- data.tar.gz: c44bfc0a9351874472ae456ba8a3b21545dbdea9a62c48f6eeeb08c54c07d9c53ef0ac41198377261289295ffdac2537aedaeb98d99802fefd00477483fb3df0
6
+ metadata.gz: f7122e1f48ef0a05f43c73a6acbf9bc138fafbb9dd88cc02d38e8cc717e1ab1d672e664e21f5a64a25c32e638b65adac5ab09b27a3689db131a6eec2c016895b
7
+ data.tar.gz: 3a405106bc381eb059b2aea8c54787418ea6ef0fe8bf405845cd0c2e2197ec39773494a388ff423e87d9622bd3233634073f9c4ecc5aca0185c0decd749c8431
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-datastore_v1beta1
2
2
 
3
+ ### v0.12.0 (2022-06-06)
4
+
5
+ * Regenerated from discovery document revision 20220207
6
+ * Regenerated using generator version 0.5.0
7
+
8
+ ### v0.11.0 (2022-01-21)
9
+
10
+ * Regenerated from discovery document revision 20220110
11
+ * Regenerated using generator version 0.4.1
12
+
13
+ ### v0.10.0 (2021-12-14)
14
+
15
+ * Unspecified changes
16
+
3
17
  ### v0.9.0 (2021-11-11)
4
18
 
5
19
  * Regenerated from discovery document revision 20211029
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.authentication = # ... use the googleauth gem to create credentials
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.
@@ -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.9.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211029"
25
+ REVISION = "20220207"
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.9.0
4
+ version: 0.12.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: 2021-11-15 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1beta1/v0.12.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.2.17
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Datastore API V1beta1