google-apis-datastore_v1 0.12.0 → 0.15.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: cb6df27ac81fdd757bdc6f4358184392f2373a8dd8bf5808df4b935df167dd28
4
- data.tar.gz: cc388be896c2234b538412d94a47d1f8f400c5239318bfd1b862865190c73ad6
3
+ metadata.gz: 86b5a9e56c9fa3be38fb78e3e67a037f7a0e05719d303278017ae312318f00b3
4
+ data.tar.gz: 3e3a1247c10064d9175dbcabeb2195ec634b0e15bc86f8b51d30894485aa33f4
5
5
  SHA512:
6
- metadata.gz: '0802febe9d1937db247299d78906f2d02c5c909398705d816578074ad9815044718ed3efa777527710b5922fa835909325a9954a877bc7994e1d9b1e7a8accfd'
7
- data.tar.gz: 6aeeff5d29660cbdb03d24730aa33302fae4a7b99a6cc8e10d5f4731cb2228233a04542cfec757406e81aac8cdebaaa2bebb5663be62a154716032acb5e1deb8
6
+ metadata.gz: dd70503c00917430c9939e933cda1e92876006c1f5b99b4be0d43d8b8de84a05f172428f2426e2d919584c1e5eb16fe4388b132d7541a258895064f901fbeda3
7
+ data.tar.gz: 278767ada55d5790e03f3f9aa55d5311fad24f9b963386745c44250870f5675a80967845f13426d0ac53010cf456e20a8b65a21a5cc7ad31944ebac6c7e7b994
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-datastore_v1
2
2
 
3
+ ### v0.15.0 (2022-06-18)
4
+
5
+ * Regenerated from discovery document revision 20220604
6
+ * Regenerated using generator version 0.7.0
7
+
8
+ ### v0.14.0 (2022-06-06)
9
+
10
+ * Regenerated from discovery document revision 20220524
11
+ * Regenerated using generator version 0.5.0
12
+
13
+ ### v0.13.0 (2022-04-09)
14
+
15
+ * Regenerated from discovery document revision 20220402
16
+
3
17
  ### v0.12.0 (2022-03-30)
4
18
 
5
19
  * Regenerated from discovery document revision 20220319
@@ -26,6 +26,11 @@ module Google
26
26
  class AllocateIdsRequest
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
+ # If not empty, the ID of the database against which to make the request.
30
+ # Corresponds to the JSON property `databaseId`
31
+ # @return [String]
32
+ attr_accessor :database_id
33
+
29
34
  # Required. A list of keys with incomplete key paths for which to allocate IDs.
30
35
  # No key may be reserved/read-only.
31
36
  # Corresponds to the JSON property `keys`
@@ -38,6 +43,7 @@ module Google
38
43
 
39
44
  # Update properties of this object
40
45
  def update!(**args)
46
+ @database_id = args[:database_id] if args.key?(:database_id)
41
47
  @keys = args[:keys] if args.key?(:keys)
42
48
  end
43
49
  end
@@ -86,6 +92,11 @@ module Google
86
92
  class BeginTransactionRequest
87
93
  include Google::Apis::Core::Hashable
88
94
 
95
+ # If not empty, the ID of the database against which to make the request.
96
+ # Corresponds to the JSON property `databaseId`
97
+ # @return [String]
98
+ attr_accessor :database_id
99
+
89
100
  # Options for beginning a new transaction. Transactions can be created
90
101
  # explicitly with calls to Datastore.BeginTransaction or implicitly by setting
91
102
  # ReadOptions.new_transaction in read requests.
@@ -99,6 +110,7 @@ module Google
99
110
 
100
111
  # Update properties of this object
101
112
  def update!(**args)
113
+ @database_id = args[:database_id] if args.key?(:database_id)
102
114
  @transaction_options = args[:transaction_options] if args.key?(:transaction_options)
103
115
  end
104
116
  end
@@ -127,6 +139,11 @@ module Google
127
139
  class CommitRequest
128
140
  include Google::Apis::Core::Hashable
129
141
 
142
+ # If not empty, the ID of the database against which to make the request.
143
+ # Corresponds to the JSON property `databaseId`
144
+ # @return [String]
145
+ attr_accessor :database_id
146
+
130
147
  # The type of commit to perform. Defaults to `TRANSACTIONAL`.
131
148
  # Corresponds to the JSON property `mode`
132
149
  # @return [String]
@@ -155,6 +172,7 @@ module Google
155
172
 
156
173
  # Update properties of this object
157
174
  def update!(**args)
175
+ @database_id = args[:database_id] if args.key?(:database_id)
158
176
  @mode = args[:mode] if args.key?(:mode)
159
177
  @mutations = args[:mutations] if args.key?(:mutations)
160
178
  @transaction = args[:transaction] if args.key?(:transaction)
@@ -165,6 +183,11 @@ module Google
165
183
  class CommitResponse
166
184
  include Google::Apis::Core::Hashable
167
185
 
186
+ # The transaction commit timestamp. Not set for non-transactional commits.
187
+ # Corresponds to the JSON property `commitTime`
188
+ # @return [String]
189
+ attr_accessor :commit_time
190
+
168
191
  # The number of index entries updated during the commit, or zero if none were
169
192
  # updated.
170
193
  # Corresponds to the JSON property `indexUpdates`
@@ -183,6 +206,7 @@ module Google
183
206
 
184
207
  # Update properties of this object
185
208
  def update!(**args)
209
+ @commit_time = args[:commit_time] if args.key?(:commit_time)
186
210
  @index_updates = args[:index_updates] if args.key?(:index_updates)
187
211
  @mutation_results = args[:mutation_results] if args.key?(:mutation_results)
188
212
  end
@@ -192,7 +216,7 @@ module Google
192
216
  class CompositeFilter
193
217
  include Google::Apis::Core::Hashable
194
218
 
195
- # The list of filters to combine. Must contain at least one filter.
219
+ # The list of filters to combine. Requires: * At least one filter is present.
196
220
  # Corresponds to the JSON property `filters`
197
221
  # @return [Array<Google::Apis::DatastoreV1::Filter>]
198
222
  attr_accessor :filters
@@ -279,6 +303,12 @@ module Google
279
303
  # @return [Google::Apis::DatastoreV1::Entity]
280
304
  attr_accessor :entity
281
305
 
306
+ # The time at which the entity was last changed. This field is set for `FULL`
307
+ # entity results. If this entity is missing, this field will not be set.
308
+ # Corresponds to the JSON property `updateTime`
309
+ # @return [String]
310
+ attr_accessor :update_time
311
+
282
312
  # The version of the entity, a strictly positive number that monotonically
283
313
  # increases with changes to the entity. This field is set for `FULL` entity
284
314
  # results. For missing entities in `LookupResponse`, this is the version of the
@@ -296,6 +326,7 @@ module Google
296
326
  def update!(**args)
297
327
  @cursor = args[:cursor] if args.key?(:cursor)
298
328
  @entity = args[:entity] if args.key?(:entity)
329
+ @update_time = args[:update_time] if args.key?(:update_time)
299
330
  @version = args[:version] if args.key?(:version)
300
331
  end
301
332
  end
@@ -1401,6 +1432,11 @@ module Google
1401
1432
  class LookupRequest
1402
1433
  include Google::Apis::Core::Hashable
1403
1434
 
1435
+ # If not empty, the ID of the database against which to make the request.
1436
+ # Corresponds to the JSON property `databaseId`
1437
+ # @return [String]
1438
+ attr_accessor :database_id
1439
+
1404
1440
  # Required. Keys of entities to look up.
1405
1441
  # Corresponds to the JSON property `keys`
1406
1442
  # @return [Array<Google::Apis::DatastoreV1::Key>]
@@ -1417,6 +1453,7 @@ module Google
1417
1453
 
1418
1454
  # Update properties of this object
1419
1455
  def update!(**args)
1456
+ @database_id = args[:database_id] if args.key?(:database_id)
1420
1457
  @keys = args[:keys] if args.key?(:keys)
1421
1458
  @read_options = args[:read_options] if args.key?(:read_options)
1422
1459
  end
@@ -1446,6 +1483,11 @@ module Google
1446
1483
  # @return [Array<Google::Apis::DatastoreV1::EntityResult>]
1447
1484
  attr_accessor :missing
1448
1485
 
1486
+ # The time at which these entities were read or found missing.
1487
+ # Corresponds to the JSON property `readTime`
1488
+ # @return [String]
1489
+ attr_accessor :read_time
1490
+
1449
1491
  def initialize(**args)
1450
1492
  update!(**args)
1451
1493
  end
@@ -1455,6 +1497,7 @@ module Google
1455
1497
  @deferred = args[:deferred] if args.key?(:deferred)
1456
1498
  @found = args[:found] if args.key?(:found)
1457
1499
  @missing = args[:missing] if args.key?(:missing)
1500
+ @read_time = args[:read_time] if args.key?(:read_time)
1458
1501
  end
1459
1502
  end
1460
1503
 
@@ -1489,6 +1532,12 @@ module Google
1489
1532
  # @return [Google::Apis::DatastoreV1::Entity]
1490
1533
  attr_accessor :update
1491
1534
 
1535
+ # The update time of the entity that this mutation is being applied to. If this
1536
+ # does not match the current update time on the server, the mutation conflicts.
1537
+ # Corresponds to the JSON property `updateTime`
1538
+ # @return [String]
1539
+ attr_accessor :update_time
1540
+
1492
1541
  # A Datastore data object. An entity is limited to 1 megabyte when stored. That
1493
1542
  # _roughly_ corresponds to a limit of 1 megabyte for the serialized form of this
1494
1543
  # message.
@@ -1506,6 +1555,7 @@ module Google
1506
1555
  @delete = args[:delete] if args.key?(:delete)
1507
1556
  @insert = args[:insert] if args.key?(:insert)
1508
1557
  @update = args[:update] if args.key?(:update)
1558
+ @update_time = args[:update_time] if args.key?(:update_time)
1509
1559
  @upsert = args[:upsert] if args.key?(:upsert)
1510
1560
  end
1511
1561
  end
@@ -1528,6 +1578,14 @@ module Google
1528
1578
  # @return [Google::Apis::DatastoreV1::Key]
1529
1579
  attr_accessor :key
1530
1580
 
1581
+ # The update time of the entity on the server after processing the mutation. If
1582
+ # the mutation doesn't change anything on the server, then the timestamp will be
1583
+ # the update timestamp of the current entity. This field will not be set after a
1584
+ # 'delete'.
1585
+ # Corresponds to the JSON property `updateTime`
1586
+ # @return [String]
1587
+ attr_accessor :update_time
1588
+
1531
1589
  # The version of the entity on the server after processing the mutation. If the
1532
1590
  # mutation doesn't change anything on the server, then the version will be the
1533
1591
  # version of the current entity or, if no entity is present, a version that is
@@ -1545,6 +1603,7 @@ module Google
1545
1603
  def update!(**args)
1546
1604
  @conflict_detected = args[:conflict_detected] if args.key?(:conflict_detected)
1547
1605
  @key = args[:key] if args.key?(:key)
1606
+ @update_time = args[:update_time] if args.key?(:update_time)
1548
1607
  @version = args[:version] if args.key?(:version)
1549
1608
  end
1550
1609
  end
@@ -1562,6 +1621,11 @@ module Google
1562
1621
  class PartitionId
1563
1622
  include Google::Apis::Core::Hashable
1564
1623
 
1624
+ # If not empty, the ID of the database to which the entities belong.
1625
+ # Corresponds to the JSON property `databaseId`
1626
+ # @return [String]
1627
+ attr_accessor :database_id
1628
+
1565
1629
  # If not empty, the ID of the namespace to which the entities belong.
1566
1630
  # Corresponds to the JSON property `namespaceId`
1567
1631
  # @return [String]
@@ -1578,6 +1642,7 @@ module Google
1578
1642
 
1579
1643
  # Update properties of this object
1580
1644
  def update!(**args)
1645
+ @database_id = args[:database_id] if args.key?(:database_id)
1581
1646
  @namespace_id = args[:namespace_id] if args.key?(:namespace_id)
1582
1647
  @project_id = args[:project_id] if args.key?(:project_id)
1583
1648
  end
@@ -1596,13 +1661,16 @@ module Google
1596
1661
 
1597
1662
  # The kind of the entity. A kind matching regex `__.*__` is reserved/read-only.
1598
1663
  # A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be `""`
1599
- # .
1664
+ # . Must be valid UTF-8 bytes. Legacy values that are not valid UTF-8 are
1665
+ # encoded as `__bytes__` where `` is the base-64 encoding of the bytes.
1600
1666
  # Corresponds to the JSON property `kind`
1601
1667
  # @return [String]
1602
1668
  attr_accessor :kind
1603
1669
 
1604
1670
  # The name of the entity. A name matching regex `__.*__` is reserved/read-only.
1605
1671
  # A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be `""`.
1672
+ # Must be valid UTF-8 bytes. Legacy values that are not valid UTF-8 are encoded
1673
+ # as `__bytes__` where `` is the base-64 encoding of the bytes.
1606
1674
  # Corresponds to the JSON property `name`
1607
1675
  # @return [String]
1608
1676
  attr_accessor :name
@@ -1818,6 +1886,17 @@ module Google
1818
1886
  # @return [String]
1819
1887
  attr_accessor :more_results
1820
1888
 
1889
+ # Read timestamp this batch was returned from. This applies to the range of
1890
+ # results from the query's `start_cursor` (or the beginning of the query if no
1891
+ # cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`).
1892
+ # In a single transaction, subsequent query result batches for the same query
1893
+ # can have a greater timestamp. Each batch's read timestamp is valid for all
1894
+ # preceding batches. This value will not be set for eventually consistent
1895
+ # queries in Cloud Datastore.
1896
+ # Corresponds to the JSON property `readTime`
1897
+ # @return [String]
1898
+ attr_accessor :read_time
1899
+
1821
1900
  # A cursor that points to the position after the last skipped result. Will be
1822
1901
  # set when `skipped_results` != 0.
1823
1902
  # Corresponds to the JSON property `skippedCursor`
@@ -1851,6 +1930,7 @@ module Google
1851
1930
  @entity_result_type = args[:entity_result_type] if args.key?(:entity_result_type)
1852
1931
  @entity_results = args[:entity_results] if args.key?(:entity_results)
1853
1932
  @more_results = args[:more_results] if args.key?(:more_results)
1933
+ @read_time = args[:read_time] if args.key?(:read_time)
1854
1934
  @skipped_cursor = args[:skipped_cursor] if args.key?(:skipped_cursor)
1855
1935
  @skipped_results = args[:skipped_results] if args.key?(:skipped_results)
1856
1936
  @snapshot_version = args[:snapshot_version] if args.key?(:snapshot_version)
@@ -1861,12 +1941,18 @@ module Google
1861
1941
  class ReadOnly
1862
1942
  include Google::Apis::Core::Hashable
1863
1943
 
1944
+ # Reads entities at the given time. This may not be older than 60 seconds.
1945
+ # Corresponds to the JSON property `readTime`
1946
+ # @return [String]
1947
+ attr_accessor :read_time
1948
+
1864
1949
  def initialize(**args)
1865
1950
  update!(**args)
1866
1951
  end
1867
1952
 
1868
1953
  # Update properties of this object
1869
1954
  def update!(**args)
1955
+ @read_time = args[:read_time] if args.key?(:read_time)
1870
1956
  end
1871
1957
  end
1872
1958
 
@@ -1880,6 +1966,12 @@ module Google
1880
1966
  # @return [String]
1881
1967
  attr_accessor :read_consistency
1882
1968
 
1969
+ # Reads entities as they were at the given time. This may not be older than 270
1970
+ # seconds. This value is only supported for Cloud Firestore in Datastore mode.
1971
+ # Corresponds to the JSON property `readTime`
1972
+ # @return [String]
1973
+ attr_accessor :read_time
1974
+
1883
1975
  # The identifier of the transaction in which to read. A transaction identifier
1884
1976
  # is returned by a call to Datastore.BeginTransaction.
1885
1977
  # Corresponds to the JSON property `transaction`
@@ -1894,6 +1986,7 @@ module Google
1894
1986
  # Update properties of this object
1895
1987
  def update!(**args)
1896
1988
  @read_consistency = args[:read_consistency] if args.key?(:read_consistency)
1989
+ @read_time = args[:read_time] if args.key?(:read_time)
1897
1990
  @transaction = args[:transaction] if args.key?(:transaction)
1898
1991
  end
1899
1992
  end
@@ -1961,6 +2054,11 @@ module Google
1961
2054
  class RollbackRequest
1962
2055
  include Google::Apis::Core::Hashable
1963
2056
 
2057
+ # If not empty, the ID of the database against which to make the request.
2058
+ # Corresponds to the JSON property `databaseId`
2059
+ # @return [String]
2060
+ attr_accessor :database_id
2061
+
1964
2062
  # Required. The transaction identifier, returned by a call to Datastore.
1965
2063
  # BeginTransaction.
1966
2064
  # Corresponds to the JSON property `transaction`
@@ -1974,6 +2072,7 @@ module Google
1974
2072
 
1975
2073
  # Update properties of this object
1976
2074
  def update!(**args)
2075
+ @database_id = args[:database_id] if args.key?(:database_id)
1977
2076
  @transaction = args[:transaction] if args.key?(:transaction)
1978
2077
  end
1979
2078
  end
@@ -1995,6 +2094,11 @@ module Google
1995
2094
  class RunQueryRequest
1996
2095
  include Google::Apis::Core::Hashable
1997
2096
 
2097
+ # If not empty, the ID of the database against which to make the request.
2098
+ # Corresponds to the JSON property `databaseId`
2099
+ # @return [String]
2100
+ attr_accessor :database_id
2101
+
1998
2102
  # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
1999
2103
  # Corresponds to the JSON property `gqlQuery`
2000
2104
  # @return [Google::Apis::DatastoreV1::GqlQuery]
@@ -2030,6 +2134,7 @@ module Google
2030
2134
 
2031
2135
  # Update properties of this object
2032
2136
  def update!(**args)
2137
+ @database_id = args[:database_id] if args.key?(:database_id)
2033
2138
  @gql_query = args[:gql_query] if args.key?(:gql_query)
2034
2139
  @partition_id = args[:partition_id] if args.key?(:partition_id)
2035
2140
  @query = args[:query] if args.key?(:query)
@@ -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.12.0"
19
+ GEM_VERSION = "0.15.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 = "20220319"
25
+ REVISION = "20220604"
26
26
  end
27
27
  end
28
28
  end
@@ -421,6 +421,7 @@ module Google
421
421
  class AllocateIdsRequest
422
422
  # @private
423
423
  class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :database_id, as: 'databaseId'
424
425
  collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
425
426
 
426
427
  end
@@ -445,6 +446,7 @@ module Google
445
446
  class BeginTransactionRequest
446
447
  # @private
447
448
  class Representation < Google::Apis::Core::JsonRepresentation
449
+ property :database_id, as: 'databaseId'
448
450
  property :transaction_options, as: 'transactionOptions', class: Google::Apis::DatastoreV1::TransactionOptions, decorator: Google::Apis::DatastoreV1::TransactionOptions::Representation
449
451
 
450
452
  end
@@ -460,6 +462,7 @@ module Google
460
462
  class CommitRequest
461
463
  # @private
462
464
  class Representation < Google::Apis::Core::JsonRepresentation
465
+ property :database_id, as: 'databaseId'
463
466
  property :mode, as: 'mode'
464
467
  collection :mutations, as: 'mutations', class: Google::Apis::DatastoreV1::Mutation, decorator: Google::Apis::DatastoreV1::Mutation::Representation
465
468
 
@@ -470,6 +473,7 @@ module Google
470
473
  class CommitResponse
471
474
  # @private
472
475
  class Representation < Google::Apis::Core::JsonRepresentation
476
+ property :commit_time, as: 'commitTime'
473
477
  property :index_updates, as: 'indexUpdates'
474
478
  collection :mutation_results, as: 'mutationResults', class: Google::Apis::DatastoreV1::MutationResult, decorator: Google::Apis::DatastoreV1::MutationResult::Representation
475
479
 
@@ -507,6 +511,7 @@ module Google
507
511
  property :cursor, :base64 => true, as: 'cursor'
508
512
  property :entity, as: 'entity', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation
509
513
 
514
+ property :update_time, as: 'updateTime'
510
515
  property :version, :numeric_string => true, as: 'version'
511
516
  end
512
517
  end
@@ -820,6 +825,7 @@ module Google
820
825
  class LookupRequest
821
826
  # @private
822
827
  class Representation < Google::Apis::Core::JsonRepresentation
828
+ property :database_id, as: 'databaseId'
823
829
  collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
824
830
 
825
831
  property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation
@@ -836,6 +842,7 @@ module Google
836
842
 
837
843
  collection :missing, as: 'missing', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation
838
844
 
845
+ property :read_time, as: 'readTime'
839
846
  end
840
847
  end
841
848
 
@@ -849,6 +856,7 @@ module Google
849
856
 
850
857
  property :update, as: 'update', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation
851
858
 
859
+ property :update_time, as: 'updateTime'
852
860
  property :upsert, as: 'upsert', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation
853
861
 
854
862
  end
@@ -860,6 +868,7 @@ module Google
860
868
  property :conflict_detected, as: 'conflictDetected'
861
869
  property :key, as: 'key', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
862
870
 
871
+ property :update_time, as: 'updateTime'
863
872
  property :version, :numeric_string => true, as: 'version'
864
873
  end
865
874
  end
@@ -867,6 +876,7 @@ module Google
867
876
  class PartitionId
868
877
  # @private
869
878
  class Representation < Google::Apis::Core::JsonRepresentation
879
+ property :database_id, as: 'databaseId'
870
880
  property :namespace_id, as: 'namespaceId'
871
881
  property :project_id, as: 'projectId'
872
882
  end
@@ -944,6 +954,7 @@ module Google
944
954
  collection :entity_results, as: 'entityResults', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation
945
955
 
946
956
  property :more_results, as: 'moreResults'
957
+ property :read_time, as: 'readTime'
947
958
  property :skipped_cursor, :base64 => true, as: 'skippedCursor'
948
959
  property :skipped_results, as: 'skippedResults'
949
960
  property :snapshot_version, :numeric_string => true, as: 'snapshotVersion'
@@ -953,6 +964,7 @@ module Google
953
964
  class ReadOnly
954
965
  # @private
955
966
  class Representation < Google::Apis::Core::JsonRepresentation
967
+ property :read_time, as: 'readTime'
956
968
  end
957
969
  end
958
970
 
@@ -960,6 +972,7 @@ module Google
960
972
  # @private
961
973
  class Representation < Google::Apis::Core::JsonRepresentation
962
974
  property :read_consistency, as: 'readConsistency'
975
+ property :read_time, as: 'readTime'
963
976
  property :transaction, :base64 => true, as: 'transaction'
964
977
  end
965
978
  end
@@ -989,6 +1002,7 @@ module Google
989
1002
  class RollbackRequest
990
1003
  # @private
991
1004
  class Representation < Google::Apis::Core::JsonRepresentation
1005
+ property :database_id, as: 'databaseId'
992
1006
  property :transaction, :base64 => true, as: 'transaction'
993
1007
  end
994
1008
  end
@@ -1002,6 +1016,7 @@ module Google
1002
1016
  class RunQueryRequest
1003
1017
  # @private
1004
1018
  class Representation < Google::Apis::Core::JsonRepresentation
1019
+ property :database_id, as: 'databaseId'
1005
1020
  property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1::GqlQuery, decorator: Google::Apis::DatastoreV1::GqlQuery::Representation
1006
1021
 
1007
1022
  property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1::PartitionId, decorator: Google::Apis::DatastoreV1::PartitionId::Representation
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.12.0
4
+ version: 0.15.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-04-04 00:00:00.000000000 Z
11
+ date: 2022-06-20 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1/v0.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1/v0.15.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.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 V1