google-apis-datastore_v1 0.46.0 → 0.48.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: 03ad705e66b54972e9409176ca23c5db96db4769c1af191453f6b918186bdea5
|
|
4
|
+
data.tar.gz: 7d2201455210494e0c985514cb5d56618351542f8dceb8d3f0cc176347e96283
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 26156a7c4e97343b2b712a23e711c9992ccbecf331d8c94ba555871dee20c6e13c7f5a103bbb3ce86a3592b9e2cf81d689b42a3a919577a5effa6a944b20083a
|
|
7
|
+
data.tar.gz: cb07fc8be577e2ed0c66513b78b36ddfd68bcd3ec15e6395b1cda52aec157bead175be3351d2bc585382e0a96377d925acbc919a594e338b014447284c683609
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-datastore_v1
|
|
2
2
|
|
|
3
|
+
### v0.48.0 (2026-08-30)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260818
|
|
6
|
+
|
|
7
|
+
### v0.47.0 (2026-07-12)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260702
|
|
10
|
+
|
|
3
11
|
### v0.46.0 (2026-06-14)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260323
|
|
@@ -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,45 @@ 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. Request tags are user-provided
|
|
2592
|
+
# strings used for usage monitoring, cost management, and observability. Callers
|
|
2593
|
+
# can associate custom application context (such as component, microservice,
|
|
2594
|
+
# feature name, or operation type) with database requests. These tags are
|
|
2595
|
+
# collected and aggregated in usage and monitoring reports, allowing billable
|
|
2596
|
+
# operations and usage metrics to be sliced and analyzed by tag. These tags *
|
|
2597
|
+
# only* show up in monitoring and are visible in administrative operations (such
|
|
2598
|
+
# as usage reports). They do not affect data storage, query semantics, or
|
|
2599
|
+
# request execution. Cardinality and Best Practices: - Request tags are most
|
|
2600
|
+
# effective when using a bounded set of distinct values (e.g., fewer than 100
|
|
2601
|
+
# distinct tags across an entire database). Using a large number of distinct
|
|
2602
|
+
# tags may result in tags being omitted from top usage dashboards. - Use
|
|
2603
|
+
# structured identifiers (for example: `app=cart`, `env=prod`, `service=checkout`
|
|
2604
|
+
# ) and avoid high-cardinality values such as UUIDs, request IDs, timestamps,
|
|
2605
|
+
# user IDs, or document keys. - Do not include sensitive data or personally
|
|
2606
|
+
# identifiable information (PII) in request tags, as they show up in
|
|
2607
|
+
# administrative monitoring. The tags are processed as follows: - Leading and
|
|
2608
|
+
# trailing whitespace is trimmed. - Empty tags (after trimming) are filtered out.
|
|
2609
|
+
# - Truncated to a maximum of 510 characters. - Deduplicated within the same
|
|
2610
|
+
# request. - Limited to a maximum of 50 tags per request (excess tags are
|
|
2611
|
+
# silently discarded).
|
|
2612
|
+
# Corresponds to the JSON property `requestTags`
|
|
2613
|
+
# @return [Array<String>]
|
|
2614
|
+
attr_accessor :request_tags
|
|
2615
|
+
|
|
2616
|
+
def initialize(**args)
|
|
2617
|
+
update!(**args)
|
|
2618
|
+
end
|
|
2619
|
+
|
|
2620
|
+
# Update properties of this object
|
|
2621
|
+
def update!(**args)
|
|
2622
|
+
@request_tags = args[:request_tags] if args.key?(:request_tags)
|
|
2623
|
+
end
|
|
2624
|
+
end
|
|
2625
|
+
|
|
2563
2626
|
# The request for Datastore.ReserveIds.
|
|
2564
2627
|
class ReserveIdsRequest
|
|
2565
2628
|
include Google::Apis::Core::Hashable
|
|
@@ -2576,6 +2639,11 @@ module Google
|
|
|
2576
2639
|
# @return [Array<Google::Apis::DatastoreV1::Key>]
|
|
2577
2640
|
attr_accessor :keys
|
|
2578
2641
|
|
|
2642
|
+
# Options for a request.
|
|
2643
|
+
# Corresponds to the JSON property `requestOptions`
|
|
2644
|
+
# @return [Google::Apis::DatastoreV1::RequestOptions]
|
|
2645
|
+
attr_accessor :request_options
|
|
2646
|
+
|
|
2579
2647
|
def initialize(**args)
|
|
2580
2648
|
update!(**args)
|
|
2581
2649
|
end
|
|
@@ -2584,6 +2652,7 @@ module Google
|
|
|
2584
2652
|
def update!(**args)
|
|
2585
2653
|
@database_id = args[:database_id] if args.key?(:database_id)
|
|
2586
2654
|
@keys = args[:keys] if args.key?(:keys)
|
|
2655
|
+
@request_options = args[:request_options] if args.key?(:request_options)
|
|
2587
2656
|
end
|
|
2588
2657
|
end
|
|
2589
2658
|
|
|
@@ -2610,6 +2679,11 @@ module Google
|
|
|
2610
2679
|
# @return [String]
|
|
2611
2680
|
attr_accessor :database_id
|
|
2612
2681
|
|
|
2682
|
+
# Options for a request.
|
|
2683
|
+
# Corresponds to the JSON property `requestOptions`
|
|
2684
|
+
# @return [Google::Apis::DatastoreV1::RequestOptions]
|
|
2685
|
+
attr_accessor :request_options
|
|
2686
|
+
|
|
2613
2687
|
# Required. The transaction identifier, returned by a call to Datastore.
|
|
2614
2688
|
# BeginTransaction.
|
|
2615
2689
|
# Corresponds to the JSON property `transaction`
|
|
@@ -2624,6 +2698,7 @@ module Google
|
|
|
2624
2698
|
# Update properties of this object
|
|
2625
2699
|
def update!(**args)
|
|
2626
2700
|
@database_id = args[:database_id] if args.key?(:database_id)
|
|
2701
|
+
@request_options = args[:request_options] if args.key?(:request_options)
|
|
2627
2702
|
@transaction = args[:transaction] if args.key?(:transaction)
|
|
2628
2703
|
end
|
|
2629
2704
|
end
|
|
@@ -2685,6 +2760,11 @@ module Google
|
|
|
2685
2760
|
# @return [Google::Apis::DatastoreV1::ReadOptions]
|
|
2686
2761
|
attr_accessor :read_options
|
|
2687
2762
|
|
|
2763
|
+
# Options for a request.
|
|
2764
|
+
# Corresponds to the JSON property `requestOptions`
|
|
2765
|
+
# @return [Google::Apis::DatastoreV1::RequestOptions]
|
|
2766
|
+
attr_accessor :request_options
|
|
2767
|
+
|
|
2688
2768
|
def initialize(**args)
|
|
2689
2769
|
update!(**args)
|
|
2690
2770
|
end
|
|
@@ -2697,6 +2777,7 @@ module Google
|
|
|
2697
2777
|
@gql_query = args[:gql_query] if args.key?(:gql_query)
|
|
2698
2778
|
@partition_id = args[:partition_id] if args.key?(:partition_id)
|
|
2699
2779
|
@read_options = args[:read_options] if args.key?(:read_options)
|
|
2780
|
+
@request_options = args[:request_options] if args.key?(:request_options)
|
|
2700
2781
|
end
|
|
2701
2782
|
end
|
|
2702
2783
|
|
|
@@ -2792,6 +2873,11 @@ module Google
|
|
|
2792
2873
|
# @return [Google::Apis::DatastoreV1::ReadOptions]
|
|
2793
2874
|
attr_accessor :read_options
|
|
2794
2875
|
|
|
2876
|
+
# Options for a request.
|
|
2877
|
+
# Corresponds to the JSON property `requestOptions`
|
|
2878
|
+
# @return [Google::Apis::DatastoreV1::RequestOptions]
|
|
2879
|
+
attr_accessor :request_options
|
|
2880
|
+
|
|
2795
2881
|
def initialize(**args)
|
|
2796
2882
|
update!(**args)
|
|
2797
2883
|
end
|
|
@@ -2805,6 +2891,7 @@ module Google
|
|
|
2805
2891
|
@property_mask = args[:property_mask] if args.key?(:property_mask)
|
|
2806
2892
|
@query = args[:query] if args.key?(:query)
|
|
2807
2893
|
@read_options = args[:read_options] if args.key?(:read_options)
|
|
2894
|
+
@request_options = args[:request_options] if args.key?(:request_options)
|
|
2808
2895
|
end
|
|
2809
2896
|
end
|
|
2810
2897
|
|
|
@@ -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.48.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 = "20260818"
|
|
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.48.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.48.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:
|