google-apis-datastore_v1beta3 0.11.0 → 0.14.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: 01fa4d810cec7dd68a718016c5afa1397e61773867c6b6a9f5462ccb8c9216bc
4
- data.tar.gz: 24a5f3ea00e2f32d8fece60dc5f5aa42aa4b2a8ab5fa66a25697219aec93224b
3
+ metadata.gz: e7700435c4337ffb28666a293845f95f4b0bdfd99a31e0aed9405d787550b739
4
+ data.tar.gz: 20c1a4bf3ef2ee30f1cf56af9882300791532f363ac248459645de2500219de5
5
5
  SHA512:
6
- metadata.gz: 291e3176a4054f738ecaddfa0c408345217a7b47c25395ee9430823605a723700f074ba6c3cd023799cd7d9096a3a8e56853cfe8f3104e38b5d82ef001cc9123
7
- data.tar.gz: fa2976ad407b39df6cd9fa72e31cf033085568a6721afbef48768d3550ad5ec1d3f72d876b0c81f4368d12727a647e9be363a9e2d64e12c5758249e667dd8889
6
+ metadata.gz: 44415fbba23b68a027f8b928274847cfed4cebc288b4480dfdf15b37ba26260ffdc6d32caf4da0159f0def57d676c51fda9b2153ed295d3c810ba536dc89fc92
7
+ data.tar.gz: b02f7167b55629b7d27c27a62489da3a2a6e1b8de4c741724f673d637e3cdc6b166af7000a9954f1598b42445092fa39500ddbe01a324d6e8f1e58c227274f2f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-datastore_v1beta3
2
2
 
3
+ ### v0.14.0 (2022-06-20)
4
+
5
+ * Regenerated from discovery document revision 20220604
6
+ * Regenerated using generator version 0.7.0
7
+
8
+ ### v0.13.0 (2022-06-05)
9
+
10
+ * Regenerated from discovery document revision 20220524
11
+ * Regenerated using generator version 0.5.0
12
+
13
+ ### v0.12.0 (2022-04-09)
14
+
15
+ * Regenerated from discovery document revision 20220402
16
+
3
17
  ### v0.11.0 (2022-01-21)
4
18
 
5
19
  * Regenerated from discovery document revision 20220110
@@ -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
@@ -192,7 +198,7 @@ module Google
192
198
  class CompositeFilter
193
199
  include Google::Apis::Core::Hashable
194
200
 
195
- # The list of filters to combine. Must contain at least one filter.
201
+ # The list of filters to combine. Requires: * At least one filter is present.
196
202
  # Corresponds to the JSON property `filters`
197
203
  # @return [Array<Google::Apis::DatastoreV1beta3::Filter>]
198
204
  attr_accessor :filters
@@ -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
@@ -1297,13 +1332,16 @@ module Google
1297
1332
 
1298
1333
  # The kind of the entity. A kind matching regex `__.*__` is reserved/read-only.
1299
1334
  # A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be `""`
1300
- # .
1335
+ # . Must be valid UTF-8 bytes. Legacy values that are not valid UTF-8 are
1336
+ # encoded as `__bytes__` where `` is the base-64 encoding of the bytes.
1301
1337
  # Corresponds to the JSON property `kind`
1302
1338
  # @return [String]
1303
1339
  attr_accessor :kind
1304
1340
 
1305
1341
  # The name of the entity. A name matching regex `__.*__` is reserved/read-only.
1306
1342
  # A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be `""`.
1343
+ # Must be valid UTF-8 bytes. Legacy values that are not valid UTF-8 are encoded
1344
+ # as `__bytes__` where `` is the base-64 encoding of the bytes.
1307
1345
  # Corresponds to the JSON property `name`
1308
1346
  # @return [String]
1309
1347
  attr_accessor :name
@@ -1519,6 +1557,17 @@ module Google
1519
1557
  # @return [String]
1520
1558
  attr_accessor :more_results
1521
1559
 
1560
+ # Read timestamp this batch was returned from. This applies to the range of
1561
+ # results from the query's `start_cursor` (or the beginning of the query if no
1562
+ # cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`).
1563
+ # In a single transaction, subsequent query result batches for the same query
1564
+ # can have a greater timestamp. Each batch's read timestamp is valid for all
1565
+ # preceding batches. This value will not be set for eventually consistent
1566
+ # queries in Cloud Datastore.
1567
+ # Corresponds to the JSON property `readTime`
1568
+ # @return [String]
1569
+ attr_accessor :read_time
1570
+
1522
1571
  # A cursor that points to the position after the last skipped result. Will be
1523
1572
  # set when `skipped_results` != 0.
1524
1573
  # Corresponds to the JSON property `skippedCursor`
@@ -1552,6 +1601,7 @@ module Google
1552
1601
  @entity_result_type = args[:entity_result_type] if args.key?(:entity_result_type)
1553
1602
  @entity_results = args[:entity_results] if args.key?(:entity_results)
1554
1603
  @more_results = args[:more_results] if args.key?(:more_results)
1604
+ @read_time = args[:read_time] if args.key?(:read_time)
1555
1605
  @skipped_cursor = args[:skipped_cursor] if args.key?(:skipped_cursor)
1556
1606
  @skipped_results = args[:skipped_results] if args.key?(:skipped_results)
1557
1607
  @snapshot_version = args[:snapshot_version] if args.key?(:snapshot_version)
@@ -1562,12 +1612,18 @@ module Google
1562
1612
  class ReadOnly
1563
1613
  include Google::Apis::Core::Hashable
1564
1614
 
1615
+ # Reads entities at the given time. This may not be older than 60 seconds.
1616
+ # Corresponds to the JSON property `readTime`
1617
+ # @return [String]
1618
+ attr_accessor :read_time
1619
+
1565
1620
  def initialize(**args)
1566
1621
  update!(**args)
1567
1622
  end
1568
1623
 
1569
1624
  # Update properties of this object
1570
1625
  def update!(**args)
1626
+ @read_time = args[:read_time] if args.key?(:read_time)
1571
1627
  end
1572
1628
  end
1573
1629
 
@@ -1581,6 +1637,12 @@ module Google
1581
1637
  # @return [String]
1582
1638
  attr_accessor :read_consistency
1583
1639
 
1640
+ # Reads entities as they were at the given time. This may not be older than 270
1641
+ # seconds. This value is only supported for Cloud Firestore in Datastore mode.
1642
+ # Corresponds to the JSON property `readTime`
1643
+ # @return [String]
1644
+ attr_accessor :read_time
1645
+
1584
1646
  # The identifier of the transaction in which to read. A transaction identifier
1585
1647
  # is returned by a call to Datastore.BeginTransaction.
1586
1648
  # Corresponds to the JSON property `transaction`
@@ -1595,6 +1657,7 @@ module Google
1595
1657
  # Update properties of this object
1596
1658
  def update!(**args)
1597
1659
  @read_consistency = args[:read_consistency] if args.key?(:read_consistency)
1660
+ @read_time = args[:read_time] if args.key?(:read_time)
1598
1661
  @transaction = args[:transaction] if args.key?(:transaction)
1599
1662
  end
1600
1663
  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.11.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220110"
25
+ REVISION = "20220604"
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.11.0
4
+ version: 0.14.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-24 00:00:00.000000000 Z
11
+ date: 2022-06-27 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.6'
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.6'
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_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1beta3/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1beta3/v0.14.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.5
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 V1beta3