google-apis-datastore_v1 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: 900cdfaa7bf97438bcd3b27e45d5b53fc09d91419ab8d0463f8d15dad661c362
4
- data.tar.gz: 586028bdc69c6ecb8fb7f3438b6de10bd62c37f9c192141666e14b0965a10f7e
3
+ metadata.gz: cb6df27ac81fdd757bdc6f4358184392f2373a8dd8bf5808df4b935df167dd28
4
+ data.tar.gz: cc388be896c2234b538412d94a47d1f8f400c5239318bfd1b862865190c73ad6
5
5
  SHA512:
6
- metadata.gz: 69f6185c7c2abf662cd8b31ba4f645c4af3665f29c5ec84c96b79a734f669ad64f0b3a11a0c9997dd3eadc1601cbcb62b15b954f2dadcb072cb7184aab6ac8e6
7
- data.tar.gz: ea722562c6144b5c4f9f253d847ce5343737817a94ae5537df32c676537d93e13c417aa0c161fb0bb008386d5f353f6feb76625df6e61a2c522c918e033fe22f
6
+ metadata.gz: '0802febe9d1937db247299d78906f2d02c5c909398705d816578074ad9815044718ed3efa777527710b5922fa835909325a9954a877bc7994e1d9b1e7a8accfd'
7
+ data.tar.gz: 6aeeff5d29660cbdb03d24730aa33302fae4a7b99a6cc8e10d5f4731cb2228233a04542cfec757406e81aac8cdebaaa2bebb5663be62a154716032acb5e1deb8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-datastore_v1
2
2
 
3
+ ### v0.12.0 (2022-03-30)
4
+
5
+ * Regenerated from discovery document revision 20220319
6
+
7
+ ### v0.11.0 (2022-01-21)
8
+
9
+ * Regenerated from discovery document revision 20220110
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.10.0 (2021-12-14)
13
+
14
+ * Unspecified changes
15
+
3
16
  ### v0.9.0 (2021-11-11)
4
17
 
5
18
  * Regenerated from discovery document revision 20211029
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/datastore_v1"
51
51
  client = Google::Apis::DatastoreV1::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.
@@ -216,8 +216,7 @@ module Google
216
216
  # A generic empty message that you can re-use to avoid defining duplicated empty
217
217
  # messages in your APIs. A typical example is to use it as the request or the
218
218
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
219
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
220
- # `Empty` is empty JSON object ````.
219
+ # protobuf.Empty) returns (google.protobuf.Empty); `
221
220
  class Empty
222
221
  include Google::Apis::Core::Hashable
223
222
 
@@ -374,7 +373,7 @@ module Google
374
373
  # DatastoreFirestoreMigration operation is not started by the end-user via an
375
374
  # explicit "creation" method. This is an intentional deviation from the LRO
376
375
  # design pattern. This singleton resource can be accessed at: "projects/`
377
- # project_id`/datastore-firestore-migration"
376
+ # project_id`/operations/datastore-firestore-migration"
378
377
  class GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata
379
378
  include Google::Apis::Core::Hashable
380
379
 
@@ -790,6 +789,81 @@ module Google
790
789
  end
791
790
  end
792
791
 
792
+ # An event signifying the start of a new step in a [migration from Cloud
793
+ # Datastore to Cloud Firestore in Datastore mode](https://cloud.google.com/
794
+ # datastore/docs/upgrade-to-firestore).
795
+ class GoogleDatastoreAdminV1MigrationProgressEvent
796
+ include Google::Apis::Core::Hashable
797
+
798
+ # Details for the `PREPARE` step.
799
+ # Corresponds to the JSON property `prepareStepDetails`
800
+ # @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1PrepareStepDetails]
801
+ attr_accessor :prepare_step_details
802
+
803
+ # Details for the `REDIRECT_WRITES` step.
804
+ # Corresponds to the JSON property `redirectWritesStepDetails`
805
+ # @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1RedirectWritesStepDetails]
806
+ attr_accessor :redirect_writes_step_details
807
+
808
+ # The step that is starting. An event with step set to `START` indicates that
809
+ # the migration has been reverted back to the initial pre-migration state.
810
+ # Corresponds to the JSON property `step`
811
+ # @return [String]
812
+ attr_accessor :step
813
+
814
+ def initialize(**args)
815
+ update!(**args)
816
+ end
817
+
818
+ # Update properties of this object
819
+ def update!(**args)
820
+ @prepare_step_details = args[:prepare_step_details] if args.key?(:prepare_step_details)
821
+ @redirect_writes_step_details = args[:redirect_writes_step_details] if args.key?(:redirect_writes_step_details)
822
+ @step = args[:step] if args.key?(:step)
823
+ end
824
+ end
825
+
826
+ # An event signifying a change in state of a [migration from Cloud Datastore to
827
+ # Cloud Firestore in Datastore mode](https://cloud.google.com/datastore/docs/
828
+ # upgrade-to-firestore).
829
+ class GoogleDatastoreAdminV1MigrationStateEvent
830
+ include Google::Apis::Core::Hashable
831
+
832
+ # The new state of the migration.
833
+ # Corresponds to the JSON property `state`
834
+ # @return [String]
835
+ attr_accessor :state
836
+
837
+ def initialize(**args)
838
+ update!(**args)
839
+ end
840
+
841
+ # Update properties of this object
842
+ def update!(**args)
843
+ @state = args[:state] if args.key?(:state)
844
+ end
845
+ end
846
+
847
+ # Details for the `PREPARE` step.
848
+ class GoogleDatastoreAdminV1PrepareStepDetails
849
+ include Google::Apis::Core::Hashable
850
+
851
+ # The concurrency mode this database will use when it reaches the `
852
+ # REDIRECT_WRITES` step.
853
+ # Corresponds to the JSON property `concurrencyMode`
854
+ # @return [String]
855
+ attr_accessor :concurrency_mode
856
+
857
+ def initialize(**args)
858
+ update!(**args)
859
+ end
860
+
861
+ # Update properties of this object
862
+ def update!(**args)
863
+ @concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
864
+ end
865
+ end
866
+
793
867
  # Measures the progress of a particular metric.
794
868
  class GoogleDatastoreAdminV1Progress
795
869
  include Google::Apis::Core::Hashable
@@ -817,6 +891,25 @@ module Google
817
891
  end
818
892
  end
819
893
 
894
+ # Details for the `REDIRECT_WRITES` step.
895
+ class GoogleDatastoreAdminV1RedirectWritesStepDetails
896
+ include Google::Apis::Core::Hashable
897
+
898
+ # Ths concurrency mode for this database.
899
+ # Corresponds to the JSON property `concurrencyMode`
900
+ # @return [String]
901
+ attr_accessor :concurrency_mode
902
+
903
+ def initialize(**args)
904
+ update!(**args)
905
+ end
906
+
907
+ # Update properties of this object
908
+ def update!(**args)
909
+ @concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
910
+ end
911
+ end
912
+
820
913
  # Metadata common to all Datastore Admin operations.
821
914
  class GoogleDatastoreAdminV1beta1CommonMetadata
822
915
  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.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.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211029"
25
+ REVISION = "20220319"
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.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-04-04 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.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1/v0.12.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.2.17
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