google-apis-datastore_v1beta3 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: bc77149ed51abb412fd88a46e2e4efc87e50b8dfe9dd7632024d4c092dec0b43
4
- data.tar.gz: 3b86c2da72cb9f2756ebc506de1d94b399ccf96422bb804bd4a6bc044215457c
3
+ metadata.gz: 01fa4d810cec7dd68a718016c5afa1397e61773867c6b6a9f5462ccb8c9216bc
4
+ data.tar.gz: 24a5f3ea00e2f32d8fece60dc5f5aa42aa4b2a8ab5fa66a25697219aec93224b
5
5
  SHA512:
6
- metadata.gz: dd0716da282cf0b59ab0fa33035113f71855ad0f91477be8331c2a4fc835a8f4202aaa5c886608a21e90e3d628db6886f8e20d5fe9d044bf1e97ba563f77d633
7
- data.tar.gz: 97f4d53ca2efc233e5eb07ea3232c201142ca08086bebc5238aecff2c3fb69a0e9e1e6ce536c1722c48b6a315477334c06b4e8f8a985e527481efea5ed512537
6
+ metadata.gz: 291e3176a4054f738ecaddfa0c408345217a7b47c25395ee9430823605a723700f074ba6c3cd023799cd7d9096a3a8e56853cfe8f3104e38b5d82ef001cc9123
7
+ data.tar.gz: fa2976ad407b39df6cd9fa72e31cf033085568a6721afbef48768d3550ad5ec1d3f72d876b0c81f4368d12727a647e9be363a9e2d64e12c5758249e667dd8889
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-datastore_v1beta3
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
+
3
8
  ### v0.10.0 (2021-12-14)
4
9
 
5
10
  * Unspecified changes
@@ -357,7 +357,7 @@ module Google
357
357
  # DatastoreFirestoreMigration operation is not started by the end-user via an
358
358
  # explicit "creation" method. This is an intentional deviation from the LRO
359
359
  # design pattern. This singleton resource can be accessed at: "projects/`
360
- # project_id`/datastore-firestore-migration"
360
+ # project_id`/operations/datastore-firestore-migration"
361
361
  class GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata
362
362
  include Google::Apis::Core::Hashable
363
363
 
@@ -577,6 +577,81 @@ module Google
577
577
  end
578
578
  end
579
579
 
580
+ # An event signifying the start of a new step in a [migration from Cloud
581
+ # Datastore to Cloud Firestore in Datastore mode](https://cloud.google.com/
582
+ # datastore/docs/upgrade-to-firestore).
583
+ class GoogleDatastoreAdminV1MigrationProgressEvent
584
+ include Google::Apis::Core::Hashable
585
+
586
+ # Details for the `PREPARE` step.
587
+ # Corresponds to the JSON property `prepareStepDetails`
588
+ # @return [Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1PrepareStepDetails]
589
+ attr_accessor :prepare_step_details
590
+
591
+ # Details for the `REDIRECT_WRITES` step.
592
+ # Corresponds to the JSON property `redirectWritesStepDetails`
593
+ # @return [Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1RedirectWritesStepDetails]
594
+ attr_accessor :redirect_writes_step_details
595
+
596
+ # The step that is starting. An event with step set to `START` indicates that
597
+ # the migration has been reverted back to the initial pre-migration state.
598
+ # Corresponds to the JSON property `step`
599
+ # @return [String]
600
+ attr_accessor :step
601
+
602
+ def initialize(**args)
603
+ update!(**args)
604
+ end
605
+
606
+ # Update properties of this object
607
+ def update!(**args)
608
+ @prepare_step_details = args[:prepare_step_details] if args.key?(:prepare_step_details)
609
+ @redirect_writes_step_details = args[:redirect_writes_step_details] if args.key?(:redirect_writes_step_details)
610
+ @step = args[:step] if args.key?(:step)
611
+ end
612
+ end
613
+
614
+ # An event signifying a change in state of a [migration from Cloud Datastore to
615
+ # Cloud Firestore in Datastore mode](https://cloud.google.com/datastore/docs/
616
+ # upgrade-to-firestore).
617
+ class GoogleDatastoreAdminV1MigrationStateEvent
618
+ include Google::Apis::Core::Hashable
619
+
620
+ # The new state of the migration.
621
+ # Corresponds to the JSON property `state`
622
+ # @return [String]
623
+ attr_accessor :state
624
+
625
+ def initialize(**args)
626
+ update!(**args)
627
+ end
628
+
629
+ # Update properties of this object
630
+ def update!(**args)
631
+ @state = args[:state] if args.key?(:state)
632
+ end
633
+ end
634
+
635
+ # Details for the `PREPARE` step.
636
+ class GoogleDatastoreAdminV1PrepareStepDetails
637
+ include Google::Apis::Core::Hashable
638
+
639
+ # The concurrency mode this database will use when it reaches the `
640
+ # REDIRECT_WRITES` step.
641
+ # Corresponds to the JSON property `concurrencyMode`
642
+ # @return [String]
643
+ attr_accessor :concurrency_mode
644
+
645
+ def initialize(**args)
646
+ update!(**args)
647
+ end
648
+
649
+ # Update properties of this object
650
+ def update!(**args)
651
+ @concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
652
+ end
653
+ end
654
+
580
655
  # Measures the progress of a particular metric.
581
656
  class GoogleDatastoreAdminV1Progress
582
657
  include Google::Apis::Core::Hashable
@@ -604,6 +679,25 @@ module Google
604
679
  end
605
680
  end
606
681
 
682
+ # Details for the `REDIRECT_WRITES` step.
683
+ class GoogleDatastoreAdminV1RedirectWritesStepDetails
684
+ include Google::Apis::Core::Hashable
685
+
686
+ # Ths concurrency mode for this database.
687
+ # Corresponds to the JSON property `concurrencyMode`
688
+ # @return [String]
689
+ attr_accessor :concurrency_mode
690
+
691
+ def initialize(**args)
692
+ update!(**args)
693
+ end
694
+
695
+ # Update properties of this object
696
+ def update!(**args)
697
+ @concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
698
+ end
699
+ end
700
+
607
701
  # Metadata common to all Datastore Admin operations.
608
702
  class GoogleDatastoreAdminV1beta1CommonMetadata
609
703
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatastoreV1beta3
18
18
  # Version of the google-apis-datastore_v1beta3 gem
19
- GEM_VERSION = "0.10.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.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211029"
25
+ REVISION = "20220110"
26
26
  end
27
27
  end
28
28
  end
@@ -130,12 +130,36 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class GoogleDatastoreAdminV1MigrationProgressEvent
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleDatastoreAdminV1MigrationStateEvent
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleDatastoreAdminV1PrepareStepDetails
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
133
151
  class GoogleDatastoreAdminV1Progress
134
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
153
 
136
154
  include Google::Apis::Core::JsonObjectSupport
137
155
  end
138
156
 
157
+ class GoogleDatastoreAdminV1RedirectWritesStepDetails
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
139
163
  class GoogleDatastoreAdminV1beta1CommonMetadata
140
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
165
 
@@ -512,6 +536,31 @@ module Google
512
536
  end
513
537
  end
514
538
 
539
+ class GoogleDatastoreAdminV1MigrationProgressEvent
540
+ # @private
541
+ class Representation < Google::Apis::Core::JsonRepresentation
542
+ property :prepare_step_details, as: 'prepareStepDetails', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1PrepareStepDetails, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1PrepareStepDetails::Representation
543
+
544
+ property :redirect_writes_step_details, as: 'redirectWritesStepDetails', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1RedirectWritesStepDetails, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1RedirectWritesStepDetails::Representation
545
+
546
+ property :step, as: 'step'
547
+ end
548
+ end
549
+
550
+ class GoogleDatastoreAdminV1MigrationStateEvent
551
+ # @private
552
+ class Representation < Google::Apis::Core::JsonRepresentation
553
+ property :state, as: 'state'
554
+ end
555
+ end
556
+
557
+ class GoogleDatastoreAdminV1PrepareStepDetails
558
+ # @private
559
+ class Representation < Google::Apis::Core::JsonRepresentation
560
+ property :concurrency_mode, as: 'concurrencyMode'
561
+ end
562
+ end
563
+
515
564
  class GoogleDatastoreAdminV1Progress
516
565
  # @private
517
566
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -520,6 +569,13 @@ module Google
520
569
  end
521
570
  end
522
571
 
572
+ class GoogleDatastoreAdminV1RedirectWritesStepDetails
573
+ # @private
574
+ class Representation < Google::Apis::Core::JsonRepresentation
575
+ property :concurrency_mode, as: 'concurrencyMode'
576
+ end
577
+ end
578
+
523
579
  class GoogleDatastoreAdminV1beta1CommonMetadata
524
580
  # @private
525
581
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datastore_v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.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-10 00:00:00.000000000 Z
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_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1beta3/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1beta3/v0.11.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastore_v1beta3
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.4
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 V1beta3