google-apis-datastore_v1 0.10.0 → 0.11.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: 9ed315bcc5ddfe8f213b42c76fde69705a1b63da4d017c9af987797ef2d6ddd5
4
- data.tar.gz: 179ffc7e73c3829c4030da3340089c310b11a634f65dc16215607c2becf26982
3
+ metadata.gz: 6292f4e8adb28d7753b2772082c3ac278035d72e90384aa391829a471d015a41
4
+ data.tar.gz: 1d276b701ee28bed4009a7417c31f09cf549227299ca552c859cedf847fa0d3d
5
5
  SHA512:
6
- metadata.gz: '070874639d3adfbabd9325431a54d9a78a1474ce01b790dabb79563bd2b0a06f63752e38f85860ac6be81867d15677a6ba383bff9f15ea082b1b1c550a11982a'
7
- data.tar.gz: 954ff714b3591f00c6238df97e2cb6cb65d5a5e47405a26f336d75886a608d7be964705f7fc53449f89676145796003f0f129c2f5c70fc9cec84a8a2e459a3d2
6
+ metadata.gz: 1382065d102e107b48253203395eeece7689a4e918119a2c709d54e48972851d8adb2ef82308994c75e7760e9a11a1405d01730c85f0b2ca97b79c5ca1260065
7
+ data.tar.gz: 2a93ad9265e384ce4e8dc72908a78b4bf1ba39394d08b66fd3e74e6739e8b38a276b89516449fbe9d062e6679ffce2c35527d268532150e20ad40894a6961a9c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-datastore_v1
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
@@ -374,7 +374,7 @@ module Google
374
374
  # DatastoreFirestoreMigration operation is not started by the end-user via an
375
375
  # explicit "creation" method. This is an intentional deviation from the LRO
376
376
  # design pattern. This singleton resource can be accessed at: "projects/`
377
- # project_id`/datastore-firestore-migration"
377
+ # project_id`/operations/datastore-firestore-migration"
378
378
  class GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata
379
379
  include Google::Apis::Core::Hashable
380
380
 
@@ -790,6 +790,81 @@ module Google
790
790
  end
791
791
  end
792
792
 
793
+ # An event signifying the start of a new step in a [migration from Cloud
794
+ # Datastore to Cloud Firestore in Datastore mode](https://cloud.google.com/
795
+ # datastore/docs/upgrade-to-firestore).
796
+ class GoogleDatastoreAdminV1MigrationProgressEvent
797
+ include Google::Apis::Core::Hashable
798
+
799
+ # Details for the `PREPARE` step.
800
+ # Corresponds to the JSON property `prepareStepDetails`
801
+ # @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1PrepareStepDetails]
802
+ attr_accessor :prepare_step_details
803
+
804
+ # Details for the `REDIRECT_WRITES` step.
805
+ # Corresponds to the JSON property `redirectWritesStepDetails`
806
+ # @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1RedirectWritesStepDetails]
807
+ attr_accessor :redirect_writes_step_details
808
+
809
+ # The step that is starting. An event with step set to `START` indicates that
810
+ # the migration has been reverted back to the initial pre-migration state.
811
+ # Corresponds to the JSON property `step`
812
+ # @return [String]
813
+ attr_accessor :step
814
+
815
+ def initialize(**args)
816
+ update!(**args)
817
+ end
818
+
819
+ # Update properties of this object
820
+ def update!(**args)
821
+ @prepare_step_details = args[:prepare_step_details] if args.key?(:prepare_step_details)
822
+ @redirect_writes_step_details = args[:redirect_writes_step_details] if args.key?(:redirect_writes_step_details)
823
+ @step = args[:step] if args.key?(:step)
824
+ end
825
+ end
826
+
827
+ # An event signifying a change in state of a [migration from Cloud Datastore to
828
+ # Cloud Firestore in Datastore mode](https://cloud.google.com/datastore/docs/
829
+ # upgrade-to-firestore).
830
+ class GoogleDatastoreAdminV1MigrationStateEvent
831
+ include Google::Apis::Core::Hashable
832
+
833
+ # The new state of the migration.
834
+ # Corresponds to the JSON property `state`
835
+ # @return [String]
836
+ attr_accessor :state
837
+
838
+ def initialize(**args)
839
+ update!(**args)
840
+ end
841
+
842
+ # Update properties of this object
843
+ def update!(**args)
844
+ @state = args[:state] if args.key?(:state)
845
+ end
846
+ end
847
+
848
+ # Details for the `PREPARE` step.
849
+ class GoogleDatastoreAdminV1PrepareStepDetails
850
+ include Google::Apis::Core::Hashable
851
+
852
+ # The concurrency mode this database will use when it reaches the `
853
+ # REDIRECT_WRITES` step.
854
+ # Corresponds to the JSON property `concurrencyMode`
855
+ # @return [String]
856
+ attr_accessor :concurrency_mode
857
+
858
+ def initialize(**args)
859
+ update!(**args)
860
+ end
861
+
862
+ # Update properties of this object
863
+ def update!(**args)
864
+ @concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
865
+ end
866
+ end
867
+
793
868
  # Measures the progress of a particular metric.
794
869
  class GoogleDatastoreAdminV1Progress
795
870
  include Google::Apis::Core::Hashable
@@ -817,6 +892,25 @@ module Google
817
892
  end
818
893
  end
819
894
 
895
+ # Details for the `REDIRECT_WRITES` step.
896
+ class GoogleDatastoreAdminV1RedirectWritesStepDetails
897
+ include Google::Apis::Core::Hashable
898
+
899
+ # Ths concurrency mode for this database.
900
+ # Corresponds to the JSON property `concurrencyMode`
901
+ # @return [String]
902
+ attr_accessor :concurrency_mode
903
+
904
+ def initialize(**args)
905
+ update!(**args)
906
+ end
907
+
908
+ # Update properties of this object
909
+ def update!(**args)
910
+ @concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
911
+ end
912
+ end
913
+
820
914
  # Metadata common to all Datastore Admin operations.
821
915
  class GoogleDatastoreAdminV1beta1CommonMetadata
822
916
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatastoreV1
18
18
  # Version of the google-apis-datastore_v1 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
@@ -166,12 +166,36 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class GoogleDatastoreAdminV1MigrationProgressEvent
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleDatastoreAdminV1MigrationStateEvent
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleDatastoreAdminV1PrepareStepDetails
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
169
187
  class GoogleDatastoreAdminV1Progress
170
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
189
 
172
190
  include Google::Apis::Core::JsonObjectSupport
173
191
  end
174
192
 
193
+ class GoogleDatastoreAdminV1RedirectWritesStepDetails
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
175
199
  class GoogleDatastoreAdminV1beta1CommonMetadata
176
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
201
 
@@ -622,6 +646,31 @@ module Google
622
646
  end
623
647
  end
624
648
 
649
+ class GoogleDatastoreAdminV1MigrationProgressEvent
650
+ # @private
651
+ class Representation < Google::Apis::Core::JsonRepresentation
652
+ property :prepare_step_details, as: 'prepareStepDetails', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1PrepareStepDetails, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1PrepareStepDetails::Representation
653
+
654
+ property :redirect_writes_step_details, as: 'redirectWritesStepDetails', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1RedirectWritesStepDetails, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1RedirectWritesStepDetails::Representation
655
+
656
+ property :step, as: 'step'
657
+ end
658
+ end
659
+
660
+ class GoogleDatastoreAdminV1MigrationStateEvent
661
+ # @private
662
+ class Representation < Google::Apis::Core::JsonRepresentation
663
+ property :state, as: 'state'
664
+ end
665
+ end
666
+
667
+ class GoogleDatastoreAdminV1PrepareStepDetails
668
+ # @private
669
+ class Representation < Google::Apis::Core::JsonRepresentation
670
+ property :concurrency_mode, as: 'concurrencyMode'
671
+ end
672
+ end
673
+
625
674
  class GoogleDatastoreAdminV1Progress
626
675
  # @private
627
676
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -630,6 +679,13 @@ module Google
630
679
  end
631
680
  end
632
681
 
682
+ class GoogleDatastoreAdminV1RedirectWritesStepDetails
683
+ # @private
684
+ class Representation < Google::Apis::Core::JsonRepresentation
685
+ property :concurrency_mode, as: 'concurrencyMode'
686
+ end
687
+ end
688
+
633
689
  class GoogleDatastoreAdminV1beta1CommonMetadata
634
690
  # @private
635
691
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datastore_v1
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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1/v0.11.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastore_v1
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 V1