google-apis-datastore_v1beta3 0.11.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb7db745b5999a947137871d6ea355b023cf4c1e266be0be5735bf85d0ae5f73
|
4
|
+
data.tar.gz: 5e5d08bc65b4efc8e01f1d37ef84e7a1eadee82b1b05bacccb1303c59fac78ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4722368937885d703b43316d9f090cd3eaa2de4612a269b74020c9f6c0a173ad47ee0a60dd3d274ea8cb9a27fc695264fcc246f6426f778922976eb2628c89f
|
7
|
+
data.tar.gz: f41f22a52b5a648b85080d93b70cfc37816d0a1cc877796374a01ec78def46a231df47d65728ad1d8a00a85e230369900e3bbf884993604d4eb3b3cc2531fc43
|
data/CHANGELOG.md
CHANGED
@@ -165,6 +165,11 @@ module Google
|
|
165
165
|
class CommitResponse
|
166
166
|
include Google::Apis::Core::Hashable
|
167
167
|
|
168
|
+
# The transaction commit timestamp. Not set for non-transactional commits.
|
169
|
+
# Corresponds to the JSON property `commitTime`
|
170
|
+
# @return [String]
|
171
|
+
attr_accessor :commit_time
|
172
|
+
|
168
173
|
# The number of index entries updated during the commit, or zero if none were
|
169
174
|
# updated.
|
170
175
|
# Corresponds to the JSON property `indexUpdates`
|
@@ -183,6 +188,7 @@ module Google
|
|
183
188
|
|
184
189
|
# Update properties of this object
|
185
190
|
def update!(**args)
|
191
|
+
@commit_time = args[:commit_time] if args.key?(:commit_time)
|
186
192
|
@index_updates = args[:index_updates] if args.key?(:index_updates)
|
187
193
|
@mutation_results = args[:mutation_results] if args.key?(:mutation_results)
|
188
194
|
end
|
@@ -263,6 +269,12 @@ module Google
|
|
263
269
|
# @return [Google::Apis::DatastoreV1beta3::Entity]
|
264
270
|
attr_accessor :entity
|
265
271
|
|
272
|
+
# The time at which the entity was last changed. This field is set for `FULL`
|
273
|
+
# entity results. If this entity is missing, this field will not be set.
|
274
|
+
# Corresponds to the JSON property `updateTime`
|
275
|
+
# @return [String]
|
276
|
+
attr_accessor :update_time
|
277
|
+
|
266
278
|
# The version of the entity, a strictly positive number that monotonically
|
267
279
|
# increases with changes to the entity. This field is set for `FULL` entity
|
268
280
|
# results. For missing entities in `LookupResponse`, this is the version of the
|
@@ -280,6 +292,7 @@ module Google
|
|
280
292
|
def update!(**args)
|
281
293
|
@cursor = args[:cursor] if args.key?(:cursor)
|
282
294
|
@entity = args[:entity] if args.key?(:entity)
|
295
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
283
296
|
@version = args[:version] if args.key?(:version)
|
284
297
|
end
|
285
298
|
end
|
@@ -1147,6 +1160,11 @@ module Google
|
|
1147
1160
|
# @return [Array<Google::Apis::DatastoreV1beta3::EntityResult>]
|
1148
1161
|
attr_accessor :missing
|
1149
1162
|
|
1163
|
+
# The time at which these entities were read or found missing.
|
1164
|
+
# Corresponds to the JSON property `readTime`
|
1165
|
+
# @return [String]
|
1166
|
+
attr_accessor :read_time
|
1167
|
+
|
1150
1168
|
def initialize(**args)
|
1151
1169
|
update!(**args)
|
1152
1170
|
end
|
@@ -1156,6 +1174,7 @@ module Google
|
|
1156
1174
|
@deferred = args[:deferred] if args.key?(:deferred)
|
1157
1175
|
@found = args[:found] if args.key?(:found)
|
1158
1176
|
@missing = args[:missing] if args.key?(:missing)
|
1177
|
+
@read_time = args[:read_time] if args.key?(:read_time)
|
1159
1178
|
end
|
1160
1179
|
end
|
1161
1180
|
|
@@ -1190,6 +1209,12 @@ module Google
|
|
1190
1209
|
# @return [Google::Apis::DatastoreV1beta3::Entity]
|
1191
1210
|
attr_accessor :update
|
1192
1211
|
|
1212
|
+
# The update time of the entity that this mutation is being applied to. If this
|
1213
|
+
# does not match the current update time on the server, the mutation conflicts.
|
1214
|
+
# Corresponds to the JSON property `updateTime`
|
1215
|
+
# @return [String]
|
1216
|
+
attr_accessor :update_time
|
1217
|
+
|
1193
1218
|
# A Datastore data object. An entity is limited to 1 megabyte when stored. That
|
1194
1219
|
# _roughly_ corresponds to a limit of 1 megabyte for the serialized form of this
|
1195
1220
|
# message.
|
@@ -1207,6 +1232,7 @@ module Google
|
|
1207
1232
|
@delete = args[:delete] if args.key?(:delete)
|
1208
1233
|
@insert = args[:insert] if args.key?(:insert)
|
1209
1234
|
@update = args[:update] if args.key?(:update)
|
1235
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1210
1236
|
@upsert = args[:upsert] if args.key?(:upsert)
|
1211
1237
|
end
|
1212
1238
|
end
|
@@ -1229,6 +1255,14 @@ module Google
|
|
1229
1255
|
# @return [Google::Apis::DatastoreV1beta3::Key]
|
1230
1256
|
attr_accessor :key
|
1231
1257
|
|
1258
|
+
# The update time of the entity on the server after processing the mutation. If
|
1259
|
+
# the mutation doesn't change anything on the server, then the timestamp will be
|
1260
|
+
# the update timestamp of the current entity. This field will not be set after a
|
1261
|
+
# 'delete'.
|
1262
|
+
# Corresponds to the JSON property `updateTime`
|
1263
|
+
# @return [String]
|
1264
|
+
attr_accessor :update_time
|
1265
|
+
|
1232
1266
|
# The version of the entity on the server after processing the mutation. If the
|
1233
1267
|
# mutation doesn't change anything on the server, then the version will be the
|
1234
1268
|
# version of the current entity or, if no entity is present, a version that is
|
@@ -1246,6 +1280,7 @@ module Google
|
|
1246
1280
|
def update!(**args)
|
1247
1281
|
@conflict_detected = args[:conflict_detected] if args.key?(:conflict_detected)
|
1248
1282
|
@key = args[:key] if args.key?(:key)
|
1283
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1249
1284
|
@version = args[:version] if args.key?(:version)
|
1250
1285
|
end
|
1251
1286
|
end
|
@@ -1519,6 +1554,17 @@ module Google
|
|
1519
1554
|
# @return [String]
|
1520
1555
|
attr_accessor :more_results
|
1521
1556
|
|
1557
|
+
# Read timestamp this batch was returned from. This applies to the range of
|
1558
|
+
# results from the query's `start_cursor` (or the beginning of the query if no
|
1559
|
+
# cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`).
|
1560
|
+
# In a single transaction, subsequent query result batches for the same query
|
1561
|
+
# can have a greater timestamp. Each batch's read timestamp is valid for all
|
1562
|
+
# preceding batches. This value will not be set for eventually consistent
|
1563
|
+
# queries in Cloud Datastore.
|
1564
|
+
# Corresponds to the JSON property `readTime`
|
1565
|
+
# @return [String]
|
1566
|
+
attr_accessor :read_time
|
1567
|
+
|
1522
1568
|
# A cursor that points to the position after the last skipped result. Will be
|
1523
1569
|
# set when `skipped_results` != 0.
|
1524
1570
|
# Corresponds to the JSON property `skippedCursor`
|
@@ -1552,6 +1598,7 @@ module Google
|
|
1552
1598
|
@entity_result_type = args[:entity_result_type] if args.key?(:entity_result_type)
|
1553
1599
|
@entity_results = args[:entity_results] if args.key?(:entity_results)
|
1554
1600
|
@more_results = args[:more_results] if args.key?(:more_results)
|
1601
|
+
@read_time = args[:read_time] if args.key?(:read_time)
|
1555
1602
|
@skipped_cursor = args[:skipped_cursor] if args.key?(:skipped_cursor)
|
1556
1603
|
@skipped_results = args[:skipped_results] if args.key?(:skipped_results)
|
1557
1604
|
@snapshot_version = args[:snapshot_version] if args.key?(:snapshot_version)
|
@@ -1562,12 +1609,18 @@ module Google
|
|
1562
1609
|
class ReadOnly
|
1563
1610
|
include Google::Apis::Core::Hashable
|
1564
1611
|
|
1612
|
+
# Reads entities at the given time. This may not be older than 60 seconds.
|
1613
|
+
# Corresponds to the JSON property `readTime`
|
1614
|
+
# @return [String]
|
1615
|
+
attr_accessor :read_time
|
1616
|
+
|
1565
1617
|
def initialize(**args)
|
1566
1618
|
update!(**args)
|
1567
1619
|
end
|
1568
1620
|
|
1569
1621
|
# Update properties of this object
|
1570
1622
|
def update!(**args)
|
1623
|
+
@read_time = args[:read_time] if args.key?(:read_time)
|
1571
1624
|
end
|
1572
1625
|
end
|
1573
1626
|
|
@@ -1581,6 +1634,12 @@ module Google
|
|
1581
1634
|
# @return [String]
|
1582
1635
|
attr_accessor :read_consistency
|
1583
1636
|
|
1637
|
+
# Reads entities as they were at the given time. This may not be older than 270
|
1638
|
+
# seconds. This value is only supported for Cloud Firestore in Datastore mode.
|
1639
|
+
# Corresponds to the JSON property `readTime`
|
1640
|
+
# @return [String]
|
1641
|
+
attr_accessor :read_time
|
1642
|
+
|
1584
1643
|
# The identifier of the transaction in which to read. A transaction identifier
|
1585
1644
|
# is returned by a call to Datastore.BeginTransaction.
|
1586
1645
|
# Corresponds to the JSON property `transaction`
|
@@ -1595,6 +1654,7 @@ module Google
|
|
1595
1654
|
# Update properties of this object
|
1596
1655
|
def update!(**args)
|
1597
1656
|
@read_consistency = args[:read_consistency] if args.key?(:read_consistency)
|
1657
|
+
@read_time = args[:read_time] if args.key?(:read_time)
|
1598
1658
|
@transaction = args[:transaction] if args.key?(:transaction)
|
1599
1659
|
end
|
1600
1660
|
end
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220402"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -416,6 +416,7 @@ module Google
|
|
416
416
|
class CommitResponse
|
417
417
|
# @private
|
418
418
|
class Representation < Google::Apis::Core::JsonRepresentation
|
419
|
+
property :commit_time, as: 'commitTime'
|
419
420
|
property :index_updates, as: 'indexUpdates'
|
420
421
|
collection :mutation_results, as: 'mutationResults', class: Google::Apis::DatastoreV1beta3::MutationResult, decorator: Google::Apis::DatastoreV1beta3::MutationResult::Representation
|
421
422
|
|
@@ -447,6 +448,7 @@ module Google
|
|
447
448
|
property :cursor, :base64 => true, as: 'cursor'
|
448
449
|
property :entity, as: 'entity', class: Google::Apis::DatastoreV1beta3::Entity, decorator: Google::Apis::DatastoreV1beta3::Entity::Representation
|
449
450
|
|
451
|
+
property :update_time, as: 'updateTime'
|
450
452
|
property :version, :numeric_string => true, as: 'version'
|
451
453
|
end
|
452
454
|
end
|
@@ -705,6 +707,7 @@ module Google
|
|
705
707
|
|
706
708
|
collection :missing, as: 'missing', class: Google::Apis::DatastoreV1beta3::EntityResult, decorator: Google::Apis::DatastoreV1beta3::EntityResult::Representation
|
707
709
|
|
710
|
+
property :read_time, as: 'readTime'
|
708
711
|
end
|
709
712
|
end
|
710
713
|
|
@@ -718,6 +721,7 @@ module Google
|
|
718
721
|
|
719
722
|
property :update, as: 'update', class: Google::Apis::DatastoreV1beta3::Entity, decorator: Google::Apis::DatastoreV1beta3::Entity::Representation
|
720
723
|
|
724
|
+
property :update_time, as: 'updateTime'
|
721
725
|
property :upsert, as: 'upsert', class: Google::Apis::DatastoreV1beta3::Entity, decorator: Google::Apis::DatastoreV1beta3::Entity::Representation
|
722
726
|
|
723
727
|
end
|
@@ -729,6 +733,7 @@ module Google
|
|
729
733
|
property :conflict_detected, as: 'conflictDetected'
|
730
734
|
property :key, as: 'key', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
|
731
735
|
|
736
|
+
property :update_time, as: 'updateTime'
|
732
737
|
property :version, :numeric_string => true, as: 'version'
|
733
738
|
end
|
734
739
|
end
|
@@ -813,6 +818,7 @@ module Google
|
|
813
818
|
collection :entity_results, as: 'entityResults', class: Google::Apis::DatastoreV1beta3::EntityResult, decorator: Google::Apis::DatastoreV1beta3::EntityResult::Representation
|
814
819
|
|
815
820
|
property :more_results, as: 'moreResults'
|
821
|
+
property :read_time, as: 'readTime'
|
816
822
|
property :skipped_cursor, :base64 => true, as: 'skippedCursor'
|
817
823
|
property :skipped_results, as: 'skippedResults'
|
818
824
|
property :snapshot_version, :numeric_string => true, as: 'snapshotVersion'
|
@@ -822,6 +828,7 @@ module Google
|
|
822
828
|
class ReadOnly
|
823
829
|
# @private
|
824
830
|
class Representation < Google::Apis::Core::JsonRepresentation
|
831
|
+
property :read_time, as: 'readTime'
|
825
832
|
end
|
826
833
|
end
|
827
834
|
|
@@ -829,6 +836,7 @@ module Google
|
|
829
836
|
# @private
|
830
837
|
class Representation < Google::Apis::Core::JsonRepresentation
|
831
838
|
property :read_consistency, as: 'readConsistency'
|
839
|
+
property :read_time, as: 'readTime'
|
832
840
|
property :transaction, :base64 => true, as: 'transaction'
|
833
841
|
end
|
834
842
|
end
|
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.
|
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: 2022-
|
11
|
+
date: 2022-04-11 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1beta3/v0.12.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: []
|