google-apis-datastore_v1 0.46.0 → 0.47.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dd7402901a187381cceed8f4c6e97e787e4772369afb757d1f4ae9eb5619ddfe
|
|
4
|
+
data.tar.gz: 5c7b02632849f9ac07b5935789ae44b3f8e82672dfafd1645782fef279645a4b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 503c9632fc18d0c8ad402a1422b8fac16da4db8af73527063dda20e3d734bc3c80c2936fe353989ec86a6302208ff2369503882fd3a89f33a50b57903f483dc0
|
|
7
|
+
data.tar.gz: 15d2bd105f914a3eae04eac884a67c69c364542c86d68afba1ef2fc5471b40ae9c9f8ed37836b9e4a43e391d3d046bd1f4a006abb47f4fe890deb3662259691b
|
data/CHANGELOG.md
CHANGED
|
@@ -186,6 +186,11 @@ module Google
|
|
|
186
186
|
# @return [Array<Google::Apis::DatastoreV1::Key>]
|
|
187
187
|
attr_accessor :keys
|
|
188
188
|
|
|
189
|
+
# Options for a request.
|
|
190
|
+
# Corresponds to the JSON property `requestOptions`
|
|
191
|
+
# @return [Google::Apis::DatastoreV1::RequestOptions]
|
|
192
|
+
attr_accessor :request_options
|
|
193
|
+
|
|
189
194
|
def initialize(**args)
|
|
190
195
|
update!(**args)
|
|
191
196
|
end
|
|
@@ -194,6 +199,7 @@ module Google
|
|
|
194
199
|
def update!(**args)
|
|
195
200
|
@database_id = args[:database_id] if args.key?(:database_id)
|
|
196
201
|
@keys = args[:keys] if args.key?(:keys)
|
|
202
|
+
@request_options = args[:request_options] if args.key?(:request_options)
|
|
197
203
|
end
|
|
198
204
|
end
|
|
199
205
|
|
|
@@ -270,6 +276,11 @@ module Google
|
|
|
270
276
|
# @return [String]
|
|
271
277
|
attr_accessor :database_id
|
|
272
278
|
|
|
279
|
+
# Options for a request.
|
|
280
|
+
# Corresponds to the JSON property `requestOptions`
|
|
281
|
+
# @return [Google::Apis::DatastoreV1::RequestOptions]
|
|
282
|
+
attr_accessor :request_options
|
|
283
|
+
|
|
273
284
|
# Options for beginning a new transaction. Transactions can be created
|
|
274
285
|
# explicitly with calls to Datastore.BeginTransaction or implicitly by setting
|
|
275
286
|
# ReadOptions.new_transaction in read requests.
|
|
@@ -284,6 +295,7 @@ module Google
|
|
|
284
295
|
# Update properties of this object
|
|
285
296
|
def update!(**args)
|
|
286
297
|
@database_id = args[:database_id] if args.key?(:database_id)
|
|
298
|
+
@request_options = args[:request_options] if args.key?(:request_options)
|
|
287
299
|
@transaction_options = args[:transaction_options] if args.key?(:transaction_options)
|
|
288
300
|
end
|
|
289
301
|
end
|
|
@@ -333,6 +345,11 @@ module Google
|
|
|
333
345
|
# @return [Array<Google::Apis::DatastoreV1::Mutation>]
|
|
334
346
|
attr_accessor :mutations
|
|
335
347
|
|
|
348
|
+
# Options for a request.
|
|
349
|
+
# Corresponds to the JSON property `requestOptions`
|
|
350
|
+
# @return [Google::Apis::DatastoreV1::RequestOptions]
|
|
351
|
+
attr_accessor :request_options
|
|
352
|
+
|
|
336
353
|
# Options for beginning a new transaction. Transactions can be created
|
|
337
354
|
# explicitly with calls to Datastore.BeginTransaction or implicitly by setting
|
|
338
355
|
# ReadOptions.new_transaction in read requests.
|
|
@@ -356,6 +373,7 @@ module Google
|
|
|
356
373
|
@database_id = args[:database_id] if args.key?(:database_id)
|
|
357
374
|
@mode = args[:mode] if args.key?(:mode)
|
|
358
375
|
@mutations = args[:mutations] if args.key?(:mutations)
|
|
376
|
+
@request_options = args[:request_options] if args.key?(:request_options)
|
|
359
377
|
@single_use_transaction = args[:single_use_transaction] if args.key?(:single_use_transaction)
|
|
360
378
|
@transaction = args[:transaction] if args.key?(:transaction)
|
|
361
379
|
end
|
|
@@ -1824,6 +1842,11 @@ module Google
|
|
|
1824
1842
|
# @return [Google::Apis::DatastoreV1::ReadOptions]
|
|
1825
1843
|
attr_accessor :read_options
|
|
1826
1844
|
|
|
1845
|
+
# Options for a request.
|
|
1846
|
+
# Corresponds to the JSON property `requestOptions`
|
|
1847
|
+
# @return [Google::Apis::DatastoreV1::RequestOptions]
|
|
1848
|
+
attr_accessor :request_options
|
|
1849
|
+
|
|
1827
1850
|
def initialize(**args)
|
|
1828
1851
|
update!(**args)
|
|
1829
1852
|
end
|
|
@@ -1834,6 +1857,7 @@ module Google
|
|
|
1834
1857
|
@keys = args[:keys] if args.key?(:keys)
|
|
1835
1858
|
@property_mask = args[:property_mask] if args.key?(:property_mask)
|
|
1836
1859
|
@read_options = args[:read_options] if args.key?(:read_options)
|
|
1860
|
+
@request_options = args[:request_options] if args.key?(:request_options)
|
|
1837
1861
|
end
|
|
1838
1862
|
end
|
|
1839
1863
|
|
|
@@ -2560,6 +2584,27 @@ module Google
|
|
|
2560
2584
|
end
|
|
2561
2585
|
end
|
|
2562
2586
|
|
|
2587
|
+
# Options for a request.
|
|
2588
|
+
class RequestOptions
|
|
2589
|
+
include Google::Apis::Core::Hashable
|
|
2590
|
+
|
|
2591
|
+
# Optional. The request tags for the request. The tags are processed as follows:
|
|
2592
|
+
# - Truncated to 510 characters. - Filtered out if empty. - Deduplicated. -
|
|
2593
|
+
# Limited to 50 tags.
|
|
2594
|
+
# Corresponds to the JSON property `requestTags`
|
|
2595
|
+
# @return [Array<String>]
|
|
2596
|
+
attr_accessor :request_tags
|
|
2597
|
+
|
|
2598
|
+
def initialize(**args)
|
|
2599
|
+
update!(**args)
|
|
2600
|
+
end
|
|
2601
|
+
|
|
2602
|
+
# Update properties of this object
|
|
2603
|
+
def update!(**args)
|
|
2604
|
+
@request_tags = args[:request_tags] if args.key?(:request_tags)
|
|
2605
|
+
end
|
|
2606
|
+
end
|
|
2607
|
+
|
|
2563
2608
|
# The request for Datastore.ReserveIds.
|
|
2564
2609
|
class ReserveIdsRequest
|
|
2565
2610
|
include Google::Apis::Core::Hashable
|
|
@@ -2576,6 +2621,11 @@ module Google
|
|
|
2576
2621
|
# @return [Array<Google::Apis::DatastoreV1::Key>]
|
|
2577
2622
|
attr_accessor :keys
|
|
2578
2623
|
|
|
2624
|
+
# Options for a request.
|
|
2625
|
+
# Corresponds to the JSON property `requestOptions`
|
|
2626
|
+
# @return [Google::Apis::DatastoreV1::RequestOptions]
|
|
2627
|
+
attr_accessor :request_options
|
|
2628
|
+
|
|
2579
2629
|
def initialize(**args)
|
|
2580
2630
|
update!(**args)
|
|
2581
2631
|
end
|
|
@@ -2584,6 +2634,7 @@ module Google
|
|
|
2584
2634
|
def update!(**args)
|
|
2585
2635
|
@database_id = args[:database_id] if args.key?(:database_id)
|
|
2586
2636
|
@keys = args[:keys] if args.key?(:keys)
|
|
2637
|
+
@request_options = args[:request_options] if args.key?(:request_options)
|
|
2587
2638
|
end
|
|
2588
2639
|
end
|
|
2589
2640
|
|
|
@@ -2610,6 +2661,11 @@ module Google
|
|
|
2610
2661
|
# @return [String]
|
|
2611
2662
|
attr_accessor :database_id
|
|
2612
2663
|
|
|
2664
|
+
# Options for a request.
|
|
2665
|
+
# Corresponds to the JSON property `requestOptions`
|
|
2666
|
+
# @return [Google::Apis::DatastoreV1::RequestOptions]
|
|
2667
|
+
attr_accessor :request_options
|
|
2668
|
+
|
|
2613
2669
|
# Required. The transaction identifier, returned by a call to Datastore.
|
|
2614
2670
|
# BeginTransaction.
|
|
2615
2671
|
# Corresponds to the JSON property `transaction`
|
|
@@ -2624,6 +2680,7 @@ module Google
|
|
|
2624
2680
|
# Update properties of this object
|
|
2625
2681
|
def update!(**args)
|
|
2626
2682
|
@database_id = args[:database_id] if args.key?(:database_id)
|
|
2683
|
+
@request_options = args[:request_options] if args.key?(:request_options)
|
|
2627
2684
|
@transaction = args[:transaction] if args.key?(:transaction)
|
|
2628
2685
|
end
|
|
2629
2686
|
end
|
|
@@ -2685,6 +2742,11 @@ module Google
|
|
|
2685
2742
|
# @return [Google::Apis::DatastoreV1::ReadOptions]
|
|
2686
2743
|
attr_accessor :read_options
|
|
2687
2744
|
|
|
2745
|
+
# Options for a request.
|
|
2746
|
+
# Corresponds to the JSON property `requestOptions`
|
|
2747
|
+
# @return [Google::Apis::DatastoreV1::RequestOptions]
|
|
2748
|
+
attr_accessor :request_options
|
|
2749
|
+
|
|
2688
2750
|
def initialize(**args)
|
|
2689
2751
|
update!(**args)
|
|
2690
2752
|
end
|
|
@@ -2697,6 +2759,7 @@ module Google
|
|
|
2697
2759
|
@gql_query = args[:gql_query] if args.key?(:gql_query)
|
|
2698
2760
|
@partition_id = args[:partition_id] if args.key?(:partition_id)
|
|
2699
2761
|
@read_options = args[:read_options] if args.key?(:read_options)
|
|
2762
|
+
@request_options = args[:request_options] if args.key?(:request_options)
|
|
2700
2763
|
end
|
|
2701
2764
|
end
|
|
2702
2765
|
|
|
@@ -2792,6 +2855,11 @@ module Google
|
|
|
2792
2855
|
# @return [Google::Apis::DatastoreV1::ReadOptions]
|
|
2793
2856
|
attr_accessor :read_options
|
|
2794
2857
|
|
|
2858
|
+
# Options for a request.
|
|
2859
|
+
# Corresponds to the JSON property `requestOptions`
|
|
2860
|
+
# @return [Google::Apis::DatastoreV1::RequestOptions]
|
|
2861
|
+
attr_accessor :request_options
|
|
2862
|
+
|
|
2795
2863
|
def initialize(**args)
|
|
2796
2864
|
update!(**args)
|
|
2797
2865
|
end
|
|
@@ -2805,6 +2873,7 @@ module Google
|
|
|
2805
2873
|
@property_mask = args[:property_mask] if args.key?(:property_mask)
|
|
2806
2874
|
@query = args[:query] if args.key?(:query)
|
|
2807
2875
|
@read_options = args[:read_options] if args.key?(:read_options)
|
|
2876
|
+
@request_options = args[:request_options] if args.key?(:request_options)
|
|
2808
2877
|
end
|
|
2809
2878
|
end
|
|
2810
2879
|
|
|
@@ -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.47.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260702"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -442,6 +442,12 @@ module Google
|
|
|
442
442
|
include Google::Apis::Core::JsonObjectSupport
|
|
443
443
|
end
|
|
444
444
|
|
|
445
|
+
class RequestOptions
|
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
|
+
|
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
449
|
+
end
|
|
450
|
+
|
|
445
451
|
class ReserveIdsRequest
|
|
446
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
453
|
|
|
@@ -561,6 +567,8 @@ module Google
|
|
|
561
567
|
property :database_id, as: 'databaseId'
|
|
562
568
|
collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
|
|
563
569
|
|
|
570
|
+
property :request_options, as: 'requestOptions', class: Google::Apis::DatastoreV1::RequestOptions, decorator: Google::Apis::DatastoreV1::RequestOptions::Representation
|
|
571
|
+
|
|
564
572
|
end
|
|
565
573
|
end
|
|
566
574
|
|
|
@@ -592,6 +600,8 @@ module Google
|
|
|
592
600
|
# @private
|
|
593
601
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
594
602
|
property :database_id, as: 'databaseId'
|
|
603
|
+
property :request_options, as: 'requestOptions', class: Google::Apis::DatastoreV1::RequestOptions, decorator: Google::Apis::DatastoreV1::RequestOptions::Representation
|
|
604
|
+
|
|
595
605
|
property :transaction_options, as: 'transactionOptions', class: Google::Apis::DatastoreV1::TransactionOptions, decorator: Google::Apis::DatastoreV1::TransactionOptions::Representation
|
|
596
606
|
|
|
597
607
|
end
|
|
@@ -611,6 +621,8 @@ module Google
|
|
|
611
621
|
property :mode, as: 'mode'
|
|
612
622
|
collection :mutations, as: 'mutations', class: Google::Apis::DatastoreV1::Mutation, decorator: Google::Apis::DatastoreV1::Mutation::Representation
|
|
613
623
|
|
|
624
|
+
property :request_options, as: 'requestOptions', class: Google::Apis::DatastoreV1::RequestOptions, decorator: Google::Apis::DatastoreV1::RequestOptions::Representation
|
|
625
|
+
|
|
614
626
|
property :single_use_transaction, as: 'singleUseTransaction', class: Google::Apis::DatastoreV1::TransactionOptions, decorator: Google::Apis::DatastoreV1::TransactionOptions::Representation
|
|
615
627
|
|
|
616
628
|
property :transaction, :base64 => true, as: 'transaction'
|
|
@@ -1029,6 +1041,8 @@ module Google
|
|
|
1029
1041
|
|
|
1030
1042
|
property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation
|
|
1031
1043
|
|
|
1044
|
+
property :request_options, as: 'requestOptions', class: Google::Apis::DatastoreV1::RequestOptions, decorator: Google::Apis::DatastoreV1::RequestOptions::Representation
|
|
1045
|
+
|
|
1032
1046
|
end
|
|
1033
1047
|
end
|
|
1034
1048
|
|
|
@@ -1228,12 +1242,21 @@ module Google
|
|
|
1228
1242
|
end
|
|
1229
1243
|
end
|
|
1230
1244
|
|
|
1245
|
+
class RequestOptions
|
|
1246
|
+
# @private
|
|
1247
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1248
|
+
collection :request_tags, as: 'requestTags'
|
|
1249
|
+
end
|
|
1250
|
+
end
|
|
1251
|
+
|
|
1231
1252
|
class ReserveIdsRequest
|
|
1232
1253
|
# @private
|
|
1233
1254
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1234
1255
|
property :database_id, as: 'databaseId'
|
|
1235
1256
|
collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
|
|
1236
1257
|
|
|
1258
|
+
property :request_options, as: 'requestOptions', class: Google::Apis::DatastoreV1::RequestOptions, decorator: Google::Apis::DatastoreV1::RequestOptions::Representation
|
|
1259
|
+
|
|
1237
1260
|
end
|
|
1238
1261
|
end
|
|
1239
1262
|
|
|
@@ -1247,6 +1270,8 @@ module Google
|
|
|
1247
1270
|
# @private
|
|
1248
1271
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1249
1272
|
property :database_id, as: 'databaseId'
|
|
1273
|
+
property :request_options, as: 'requestOptions', class: Google::Apis::DatastoreV1::RequestOptions, decorator: Google::Apis::DatastoreV1::RequestOptions::Representation
|
|
1274
|
+
|
|
1250
1275
|
property :transaction, :base64 => true, as: 'transaction'
|
|
1251
1276
|
end
|
|
1252
1277
|
end
|
|
@@ -1271,6 +1296,8 @@ module Google
|
|
|
1271
1296
|
|
|
1272
1297
|
property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation
|
|
1273
1298
|
|
|
1299
|
+
property :request_options, as: 'requestOptions', class: Google::Apis::DatastoreV1::RequestOptions, decorator: Google::Apis::DatastoreV1::RequestOptions::Representation
|
|
1300
|
+
|
|
1274
1301
|
end
|
|
1275
1302
|
end
|
|
1276
1303
|
|
|
@@ -1303,6 +1330,8 @@ module Google
|
|
|
1303
1330
|
|
|
1304
1331
|
property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation
|
|
1305
1332
|
|
|
1333
|
+
property :request_options, as: 'requestOptions', class: Google::Apis::DatastoreV1::RequestOptions, decorator: Google::Apis::DatastoreV1::RequestOptions::Representation
|
|
1334
|
+
|
|
1306
1335
|
end
|
|
1307
1336
|
end
|
|
1308
1337
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.47.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastore_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1/v0.47.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastore_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|