google-apis-datastore_v1 0.20.0 → 0.22.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: 0d7eda263b317c40cc63b55248b2953f4990631c712550c33f9dec75ade7fc09
|
4
|
+
data.tar.gz: 10392abea71c7af796b4fa46e1a00e5b233fe75097792ad0c92aa58c9a8de5ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 481dfaf73cff773abe91a9bbec90afd7c5912934dd23d512809ac6ab5af79d1b28c967a9d8313aae9ec827cfada454d23830983c9c142ed697543ea5082436d4
|
7
|
+
data.tar.gz: 5937be70372812f0951e55112fb284d9abc4fc1699a761900dacd3305f73b493fb64d98de9fdab7664a4054f684c18ce4b336d514115928a69801f16d09cac34
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-datastore_v1
|
2
2
|
|
3
|
+
### v0.22.0 (2023-01-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230118
|
6
|
+
|
7
|
+
### v0.21.0 (2023-01-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230110
|
10
|
+
* Regenerated using generator version 0.11.1
|
11
|
+
|
3
12
|
### v0.20.0 (2022-10-30)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20221018
|
@@ -280,6 +280,13 @@ module Google
|
|
280
280
|
# @return [Array<Google::Apis::DatastoreV1::Mutation>]
|
281
281
|
attr_accessor :mutations
|
282
282
|
|
283
|
+
# Options for beginning a new transaction. Transactions can be created
|
284
|
+
# explicitly with calls to Datastore.BeginTransaction or implicitly by setting
|
285
|
+
# ReadOptions.new_transaction in read requests.
|
286
|
+
# Corresponds to the JSON property `singleUseTransaction`
|
287
|
+
# @return [Google::Apis::DatastoreV1::TransactionOptions]
|
288
|
+
attr_accessor :single_use_transaction
|
289
|
+
|
283
290
|
# The identifier of the transaction associated with the commit. A transaction
|
284
291
|
# identifier is returned by a call to Datastore.BeginTransaction.
|
285
292
|
# Corresponds to the JSON property `transaction`
|
@@ -296,6 +303,7 @@ module Google
|
|
296
303
|
@database_id = args[:database_id] if args.key?(:database_id)
|
297
304
|
@mode = args[:mode] if args.key?(:mode)
|
298
305
|
@mutations = args[:mutations] if args.key?(:mutations)
|
306
|
+
@single_use_transaction = args[:single_use_transaction] if args.key?(:single_use_transaction)
|
299
307
|
@transaction = args[:transaction] if args.key?(:transaction)
|
300
308
|
end
|
301
309
|
end
|
@@ -435,6 +443,12 @@ module Google
|
|
435
443
|
class EntityResult
|
436
444
|
include Google::Apis::Core::Hashable
|
437
445
|
|
446
|
+
# The time at which the entity was created. This field is set for `FULL` entity
|
447
|
+
# results. If this entity is missing, this field will not be set.
|
448
|
+
# Corresponds to the JSON property `createTime`
|
449
|
+
# @return [String]
|
450
|
+
attr_accessor :create_time
|
451
|
+
|
438
452
|
# A cursor that points to the position after the result entity. Set only when
|
439
453
|
# the `EntityResult` is part of a `QueryResultBatch` message.
|
440
454
|
# Corresponds to the JSON property `cursor`
|
@@ -470,6 +484,7 @@ module Google
|
|
470
484
|
|
471
485
|
# Update properties of this object
|
472
486
|
def update!(**args)
|
487
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
473
488
|
@cursor = args[:cursor] if args.key?(:cursor)
|
474
489
|
@entity = args[:entity] if args.key?(:entity)
|
475
490
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -1636,6 +1651,14 @@ module Google
|
|
1636
1651
|
# @return [String]
|
1637
1652
|
attr_accessor :read_time
|
1638
1653
|
|
1654
|
+
# The identifier of the transaction that was started as part of this Lookup
|
1655
|
+
# request. Set only when ReadOptions.begin_transaction was set in LookupRequest.
|
1656
|
+
# read_options.
|
1657
|
+
# Corresponds to the JSON property `transaction`
|
1658
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1659
|
+
# @return [String]
|
1660
|
+
attr_accessor :transaction
|
1661
|
+
|
1639
1662
|
def initialize(**args)
|
1640
1663
|
update!(**args)
|
1641
1664
|
end
|
@@ -1646,6 +1669,7 @@ module Google
|
|
1646
1669
|
@found = args[:found] if args.key?(:found)
|
1647
1670
|
@missing = args[:missing] if args.key?(:missing)
|
1648
1671
|
@read_time = args[:read_time] if args.key?(:read_time)
|
1672
|
+
@transaction = args[:transaction] if args.key?(:transaction)
|
1649
1673
|
end
|
1650
1674
|
end
|
1651
1675
|
|
@@ -1719,6 +1743,11 @@ module Google
|
|
1719
1743
|
attr_accessor :conflict_detected
|
1720
1744
|
alias_method :conflict_detected?, :conflict_detected
|
1721
1745
|
|
1746
|
+
# The create time of the entity. This field will not be set after a 'delete'.
|
1747
|
+
# Corresponds to the JSON property `createTime`
|
1748
|
+
# @return [String]
|
1749
|
+
attr_accessor :create_time
|
1750
|
+
|
1722
1751
|
# A unique identifier for an entity. If a key's partition ID or any of its path
|
1723
1752
|
# kinds or names are reserved/read-only, the key is reserved/read-only. A
|
1724
1753
|
# reserved/read-only key is forbidden in certain documented contexts.
|
@@ -1750,6 +1779,7 @@ module Google
|
|
1750
1779
|
# Update properties of this object
|
1751
1780
|
def update!(**args)
|
1752
1781
|
@conflict_detected = args[:conflict_detected] if args.key?(:conflict_detected)
|
1782
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1753
1783
|
@key = args[:key] if args.key?(:key)
|
1754
1784
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1755
1785
|
@version = args[:version] if args.key?(:version)
|
@@ -2108,6 +2138,13 @@ module Google
|
|
2108
2138
|
class ReadOptions
|
2109
2139
|
include Google::Apis::Core::Hashable
|
2110
2140
|
|
2141
|
+
# Options for beginning a new transaction. Transactions can be created
|
2142
|
+
# explicitly with calls to Datastore.BeginTransaction or implicitly by setting
|
2143
|
+
# ReadOptions.new_transaction in read requests.
|
2144
|
+
# Corresponds to the JSON property `newTransaction`
|
2145
|
+
# @return [Google::Apis::DatastoreV1::TransactionOptions]
|
2146
|
+
attr_accessor :new_transaction
|
2147
|
+
|
2111
2148
|
# The non-transactional read consistency to use.
|
2112
2149
|
# Corresponds to the JSON property `readConsistency`
|
2113
2150
|
# @return [String]
|
@@ -2132,6 +2169,7 @@ module Google
|
|
2132
2169
|
|
2133
2170
|
# Update properties of this object
|
2134
2171
|
def update!(**args)
|
2172
|
+
@new_transaction = args[:new_transaction] if args.key?(:new_transaction)
|
2135
2173
|
@read_consistency = args[:read_consistency] if args.key?(:read_consistency)
|
2136
2174
|
@read_time = args[:read_time] if args.key?(:read_time)
|
2137
2175
|
@transaction = args[:transaction] if args.key?(:transaction)
|
@@ -2306,6 +2344,14 @@ module Google
|
|
2306
2344
|
# @return [Google::Apis::DatastoreV1::AggregationQuery]
|
2307
2345
|
attr_accessor :query
|
2308
2346
|
|
2347
|
+
# The identifier of the transaction that was started as part of this
|
2348
|
+
# RunAggregationQuery request. Set only when ReadOptions.begin_transaction was
|
2349
|
+
# set in RunAggregationQueryRequest.read_options.
|
2350
|
+
# Corresponds to the JSON property `transaction`
|
2351
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2352
|
+
# @return [String]
|
2353
|
+
attr_accessor :transaction
|
2354
|
+
|
2309
2355
|
def initialize(**args)
|
2310
2356
|
update!(**args)
|
2311
2357
|
end
|
@@ -2314,6 +2360,7 @@ module Google
|
|
2314
2360
|
def update!(**args)
|
2315
2361
|
@batch = args[:batch] if args.key?(:batch)
|
2316
2362
|
@query = args[:query] if args.key?(:query)
|
2363
|
+
@transaction = args[:transaction] if args.key?(:transaction)
|
2317
2364
|
end
|
2318
2365
|
end
|
2319
2366
|
|
@@ -2384,6 +2431,14 @@ module Google
|
|
2384
2431
|
# @return [Google::Apis::DatastoreV1::Query]
|
2385
2432
|
attr_accessor :query
|
2386
2433
|
|
2434
|
+
# The identifier of the transaction that was started as part of this RunQuery
|
2435
|
+
# request. Set only when ReadOptions.begin_transaction was set in
|
2436
|
+
# RunQueryRequest.read_options.
|
2437
|
+
# Corresponds to the JSON property `transaction`
|
2438
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2439
|
+
# @return [String]
|
2440
|
+
attr_accessor :transaction
|
2441
|
+
|
2387
2442
|
def initialize(**args)
|
2388
2443
|
update!(**args)
|
2389
2444
|
end
|
@@ -2392,6 +2447,7 @@ module Google
|
|
2392
2447
|
def update!(**args)
|
2393
2448
|
@batch = args[:batch] if args.key?(:batch)
|
2394
2449
|
@query = args[:query] if args.key?(:query)
|
2450
|
+
@transaction = args[:transaction] if args.key?(:transaction)
|
2395
2451
|
end
|
2396
2452
|
end
|
2397
2453
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.22.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230118"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -545,6 +545,8 @@ module Google
|
|
545
545
|
property :mode, as: 'mode'
|
546
546
|
collection :mutations, as: 'mutations', class: Google::Apis::DatastoreV1::Mutation, decorator: Google::Apis::DatastoreV1::Mutation::Representation
|
547
547
|
|
548
|
+
property :single_use_transaction, as: 'singleUseTransaction', class: Google::Apis::DatastoreV1::TransactionOptions, decorator: Google::Apis::DatastoreV1::TransactionOptions::Representation
|
549
|
+
|
548
550
|
property :transaction, :base64 => true, as: 'transaction'
|
549
551
|
end
|
550
552
|
end
|
@@ -594,6 +596,7 @@ module Google
|
|
594
596
|
class EntityResult
|
595
597
|
# @private
|
596
598
|
class Representation < Google::Apis::Core::JsonRepresentation
|
599
|
+
property :create_time, as: 'createTime'
|
597
600
|
property :cursor, :base64 => true, as: 'cursor'
|
598
601
|
property :entity, as: 'entity', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation
|
599
602
|
|
@@ -929,6 +932,7 @@ module Google
|
|
929
932
|
collection :missing, as: 'missing', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation
|
930
933
|
|
931
934
|
property :read_time, as: 'readTime'
|
935
|
+
property :transaction, :base64 => true, as: 'transaction'
|
932
936
|
end
|
933
937
|
end
|
934
938
|
|
@@ -952,6 +956,7 @@ module Google
|
|
952
956
|
# @private
|
953
957
|
class Representation < Google::Apis::Core::JsonRepresentation
|
954
958
|
property :conflict_detected, as: 'conflictDetected'
|
959
|
+
property :create_time, as: 'createTime'
|
955
960
|
property :key, as: 'key', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
|
956
961
|
|
957
962
|
property :update_time, as: 'updateTime'
|
@@ -1057,6 +1062,8 @@ module Google
|
|
1057
1062
|
class ReadOptions
|
1058
1063
|
# @private
|
1059
1064
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1065
|
+
property :new_transaction, as: 'newTransaction', class: Google::Apis::DatastoreV1::TransactionOptions, decorator: Google::Apis::DatastoreV1::TransactionOptions::Representation
|
1066
|
+
|
1060
1067
|
property :read_consistency, as: 'readConsistency'
|
1061
1068
|
property :read_time, as: 'readTime'
|
1062
1069
|
property :transaction, :base64 => true, as: 'transaction'
|
@@ -1121,6 +1128,7 @@ module Google
|
|
1121
1128
|
|
1122
1129
|
property :query, as: 'query', class: Google::Apis::DatastoreV1::AggregationQuery, decorator: Google::Apis::DatastoreV1::AggregationQuery::Representation
|
1123
1130
|
|
1131
|
+
property :transaction, :base64 => true, as: 'transaction'
|
1124
1132
|
end
|
1125
1133
|
end
|
1126
1134
|
|
@@ -1146,6 +1154,7 @@ module Google
|
|
1146
1154
|
|
1147
1155
|
property :query, as: 'query', class: Google::Apis::DatastoreV1::Query, decorator: Google::Apis::DatastoreV1::Query::Representation
|
1148
1156
|
|
1157
|
+
property :transaction, :base64 => true, as: 'transaction'
|
1149
1158
|
end
|
1150
1159
|
end
|
1151
1160
|
|
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.
|
4
|
+
version: 0.22.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:
|
11
|
+
date: 2023-01-22 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1/v0.22.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.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Datastore API V1
|