google-apis-datastore_v1 0.33.0 → 0.34.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: 7092e34e05182e8a2a6183dd4649e1c3a2adaf316a4e7ff22c3e63f5867d811c
|
4
|
+
data.tar.gz: 785be88d42890c4594056842ad109547cbf008bc5fd6e493ce5d62bedbe1eda8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d7cb9db7f74e80bd7b739607a894fb76ca7d8414fb0bf9a58c43ccb213cf245cba4dea24f802f1797e8c7e8796764836192fe14f4e84c4a51cd3564b8e1d3f8
|
7
|
+
data.tar.gz: '08f943698b60a05a9c2be8349130b7eb1843e7bbecdd04613c4b70f8f6ca1671f4027b0351dfd19f91a6b4f518ef2505196b6a56c299db30c2b965b3bc49adcc'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-datastore_v1
|
2
2
|
|
3
|
+
### v0.34.0 (2024-02-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240131
|
6
|
+
* Regenerated using generator version 0.13.1
|
7
|
+
|
3
8
|
### v0.33.0 (2024-01-23)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240109
|
@@ -2082,27 +2082,6 @@ module Google
|
|
2082
2082
|
end
|
2083
2083
|
end
|
2084
2084
|
|
2085
|
-
# Plan for the query.
|
2086
|
-
class QueryPlan
|
2087
|
-
include Google::Apis::Core::Hashable
|
2088
|
-
|
2089
|
-
# Planning phase information for the query. It will include: ` "indexes_used": [
|
2090
|
-
# `"query_scope": "Collection", "properties": "(foo ASC, __name__ ASC)"`, `"
|
2091
|
-
# query_scope": "Collection", "properties": "(bar ASC, __name__ ASC)"` ] `
|
2092
|
-
# Corresponds to the JSON property `planInfo`
|
2093
|
-
# @return [Hash<String,Object>]
|
2094
|
-
attr_accessor :plan_info
|
2095
|
-
|
2096
|
-
def initialize(**args)
|
2097
|
-
update!(**args)
|
2098
|
-
end
|
2099
|
-
|
2100
|
-
# Update properties of this object
|
2101
|
-
def update!(**args)
|
2102
|
-
@plan_info = args[:plan_info] if args.key?(:plan_info)
|
2103
|
-
end
|
2104
|
-
end
|
2105
|
-
|
2106
2085
|
# A batch of results produced by a query.
|
2107
2086
|
class QueryResultBatch
|
2108
2087
|
include Google::Apis::Core::Hashable
|
@@ -2304,35 +2283,6 @@ module Google
|
|
2304
2283
|
end
|
2305
2284
|
end
|
2306
2285
|
|
2307
|
-
# Planning and execution statistics for the query.
|
2308
|
-
class ResultSetStats
|
2309
|
-
include Google::Apis::Core::Hashable
|
2310
|
-
|
2311
|
-
# Plan for the query.
|
2312
|
-
# Corresponds to the JSON property `queryPlan`
|
2313
|
-
# @return [Google::Apis::DatastoreV1::QueryPlan]
|
2314
|
-
attr_accessor :query_plan
|
2315
|
-
|
2316
|
-
# Aggregated statistics from the execution of the query. This will only be
|
2317
|
-
# present when the request specifies `PROFILE` mode. For example, a query will
|
2318
|
-
# return the statistics including: ` "results_returned": "20", "
|
2319
|
-
# documents_scanned": "20", "indexes_entries_scanned": "10050", "
|
2320
|
-
# total_execution_time": "100.7 msecs" `
|
2321
|
-
# Corresponds to the JSON property `queryStats`
|
2322
|
-
# @return [Hash<String,Object>]
|
2323
|
-
attr_accessor :query_stats
|
2324
|
-
|
2325
|
-
def initialize(**args)
|
2326
|
-
update!(**args)
|
2327
|
-
end
|
2328
|
-
|
2329
|
-
# Update properties of this object
|
2330
|
-
def update!(**args)
|
2331
|
-
@query_plan = args[:query_plan] if args.key?(:query_plan)
|
2332
|
-
@query_stats = args[:query_stats] if args.key?(:query_stats)
|
2333
|
-
end
|
2334
|
-
end
|
2335
|
-
|
2336
2286
|
# The request for Datastore.Rollback.
|
2337
2287
|
class RollbackRequest
|
2338
2288
|
include Google::Apis::Core::Hashable
|
@@ -2394,13 +2344,6 @@ module Google
|
|
2394
2344
|
# @return [Google::Apis::DatastoreV1::GqlQuery]
|
2395
2345
|
attr_accessor :gql_query
|
2396
2346
|
|
2397
|
-
# Optional. The mode in which the query request is processed. This field is
|
2398
|
-
# optional, and when not provided, it defaults to `NORMAL` mode where no
|
2399
|
-
# additional statistics will be returned with the query results.
|
2400
|
-
# Corresponds to the JSON property `mode`
|
2401
|
-
# @return [String]
|
2402
|
-
attr_accessor :mode
|
2403
|
-
|
2404
2347
|
# A partition ID identifies a grouping of entities. The grouping is always by
|
2405
2348
|
# project and namespace, however the namespace ID may be empty. A partition ID
|
2406
2349
|
# contains several dimensions: project ID and namespace ID. Partition dimensions:
|
@@ -2429,7 +2372,6 @@ module Google
|
|
2429
2372
|
@aggregation_query = args[:aggregation_query] if args.key?(:aggregation_query)
|
2430
2373
|
@database_id = args[:database_id] if args.key?(:database_id)
|
2431
2374
|
@gql_query = args[:gql_query] if args.key?(:gql_query)
|
2432
|
-
@mode = args[:mode] if args.key?(:mode)
|
2433
2375
|
@partition_id = args[:partition_id] if args.key?(:partition_id)
|
2434
2376
|
@read_options = args[:read_options] if args.key?(:read_options)
|
2435
2377
|
end
|
@@ -2449,11 +2391,6 @@ module Google
|
|
2449
2391
|
# @return [Google::Apis::DatastoreV1::AggregationQuery]
|
2450
2392
|
attr_accessor :query
|
2451
2393
|
|
2452
|
-
# Planning and execution statistics for the query.
|
2453
|
-
# Corresponds to the JSON property `stats`
|
2454
|
-
# @return [Google::Apis::DatastoreV1::ResultSetStats]
|
2455
|
-
attr_accessor :stats
|
2456
|
-
|
2457
2394
|
# The identifier of the transaction that was started as part of this
|
2458
2395
|
# RunAggregationQuery request. Set only when ReadOptions.new_transaction was set
|
2459
2396
|
# in RunAggregationQueryRequest.read_options.
|
@@ -2470,7 +2407,6 @@ module Google
|
|
2470
2407
|
def update!(**args)
|
2471
2408
|
@batch = args[:batch] if args.key?(:batch)
|
2472
2409
|
@query = args[:query] if args.key?(:query)
|
2473
|
-
@stats = args[:stats] if args.key?(:stats)
|
2474
2410
|
@transaction = args[:transaction] if args.key?(:transaction)
|
2475
2411
|
end
|
2476
2412
|
end
|
@@ -2490,13 +2426,6 @@ module Google
|
|
2490
2426
|
# @return [Google::Apis::DatastoreV1::GqlQuery]
|
2491
2427
|
attr_accessor :gql_query
|
2492
2428
|
|
2493
|
-
# Optional. The mode in which the query request is processed. This field is
|
2494
|
-
# optional, and when not provided, it defaults to `NORMAL` mode where no
|
2495
|
-
# additional statistics will be returned with the query results.
|
2496
|
-
# Corresponds to the JSON property `mode`
|
2497
|
-
# @return [String]
|
2498
|
-
attr_accessor :mode
|
2499
|
-
|
2500
2429
|
# A partition ID identifies a grouping of entities. The grouping is always by
|
2501
2430
|
# project and namespace, however the namespace ID may be empty. A partition ID
|
2502
2431
|
# contains several dimensions: project ID and namespace ID. Partition dimensions:
|
@@ -2529,7 +2458,6 @@ module Google
|
|
2529
2458
|
def update!(**args)
|
2530
2459
|
@database_id = args[:database_id] if args.key?(:database_id)
|
2531
2460
|
@gql_query = args[:gql_query] if args.key?(:gql_query)
|
2532
|
-
@mode = args[:mode] if args.key?(:mode)
|
2533
2461
|
@partition_id = args[:partition_id] if args.key?(:partition_id)
|
2534
2462
|
@query = args[:query] if args.key?(:query)
|
2535
2463
|
@read_options = args[:read_options] if args.key?(:read_options)
|
@@ -2550,11 +2478,6 @@ module Google
|
|
2550
2478
|
# @return [Google::Apis::DatastoreV1::Query]
|
2551
2479
|
attr_accessor :query
|
2552
2480
|
|
2553
|
-
# Planning and execution statistics for the query.
|
2554
|
-
# Corresponds to the JSON property `stats`
|
2555
|
-
# @return [Google::Apis::DatastoreV1::ResultSetStats]
|
2556
|
-
attr_accessor :stats
|
2557
|
-
|
2558
2481
|
# The identifier of the transaction that was started as part of this RunQuery
|
2559
2482
|
# request. Set only when ReadOptions.new_transaction was set in RunQueryRequest.
|
2560
2483
|
# read_options.
|
@@ -2571,7 +2494,6 @@ module Google
|
|
2571
2494
|
def update!(**args)
|
2572
2495
|
@batch = args[:batch] if args.key?(:batch)
|
2573
2496
|
@query = args[:query] if args.key?(:query)
|
2574
|
-
@stats = args[:stats] if args.key?(:stats)
|
2575
2497
|
@transaction = args[:transaction] if args.key?(:transaction)
|
2576
2498
|
end
|
2577
2499
|
end
|
@@ -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.34.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.13.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240131"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -376,12 +376,6 @@ module Google
|
|
376
376
|
include Google::Apis::Core::JsonObjectSupport
|
377
377
|
end
|
378
378
|
|
379
|
-
class QueryPlan
|
380
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
-
|
382
|
-
include Google::Apis::Core::JsonObjectSupport
|
383
|
-
end
|
384
|
-
|
385
379
|
class QueryResultBatch
|
386
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
381
|
|
@@ -418,12 +412,6 @@ module Google
|
|
418
412
|
include Google::Apis::Core::JsonObjectSupport
|
419
413
|
end
|
420
414
|
|
421
|
-
class ResultSetStats
|
422
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
-
|
424
|
-
include Google::Apis::Core::JsonObjectSupport
|
425
|
-
end
|
426
|
-
|
427
415
|
class RollbackRequest
|
428
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
417
|
|
@@ -1073,13 +1061,6 @@ module Google
|
|
1073
1061
|
end
|
1074
1062
|
end
|
1075
1063
|
|
1076
|
-
class QueryPlan
|
1077
|
-
# @private
|
1078
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1079
|
-
hash :plan_info, as: 'planInfo'
|
1080
|
-
end
|
1081
|
-
end
|
1082
|
-
|
1083
1064
|
class QueryResultBatch
|
1084
1065
|
# @private
|
1085
1066
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1135,15 +1116,6 @@ module Google
|
|
1135
1116
|
end
|
1136
1117
|
end
|
1137
1118
|
|
1138
|
-
class ResultSetStats
|
1139
|
-
# @private
|
1140
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1141
|
-
property :query_plan, as: 'queryPlan', class: Google::Apis::DatastoreV1::QueryPlan, decorator: Google::Apis::DatastoreV1::QueryPlan::Representation
|
1142
|
-
|
1143
|
-
hash :query_stats, as: 'queryStats'
|
1144
|
-
end
|
1145
|
-
end
|
1146
|
-
|
1147
1119
|
class RollbackRequest
|
1148
1120
|
# @private
|
1149
1121
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1166,7 +1138,6 @@ module Google
|
|
1166
1138
|
property :database_id, as: 'databaseId'
|
1167
1139
|
property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1::GqlQuery, decorator: Google::Apis::DatastoreV1::GqlQuery::Representation
|
1168
1140
|
|
1169
|
-
property :mode, as: 'mode'
|
1170
1141
|
property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1::PartitionId, decorator: Google::Apis::DatastoreV1::PartitionId::Representation
|
1171
1142
|
|
1172
1143
|
property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation
|
@@ -1181,8 +1152,6 @@ module Google
|
|
1181
1152
|
|
1182
1153
|
property :query, as: 'query', class: Google::Apis::DatastoreV1::AggregationQuery, decorator: Google::Apis::DatastoreV1::AggregationQuery::Representation
|
1183
1154
|
|
1184
|
-
property :stats, as: 'stats', class: Google::Apis::DatastoreV1::ResultSetStats, decorator: Google::Apis::DatastoreV1::ResultSetStats::Representation
|
1185
|
-
|
1186
1155
|
property :transaction, :base64 => true, as: 'transaction'
|
1187
1156
|
end
|
1188
1157
|
end
|
@@ -1193,7 +1162,6 @@ module Google
|
|
1193
1162
|
property :database_id, as: 'databaseId'
|
1194
1163
|
property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1::GqlQuery, decorator: Google::Apis::DatastoreV1::GqlQuery::Representation
|
1195
1164
|
|
1196
|
-
property :mode, as: 'mode'
|
1197
1165
|
property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1::PartitionId, decorator: Google::Apis::DatastoreV1::PartitionId::Representation
|
1198
1166
|
|
1199
1167
|
property :query, as: 'query', class: Google::Apis::DatastoreV1::Query, decorator: Google::Apis::DatastoreV1::Query::Representation
|
@@ -1210,8 +1178,6 @@ module Google
|
|
1210
1178
|
|
1211
1179
|
property :query, as: 'query', class: Google::Apis::DatastoreV1::Query, decorator: Google::Apis::DatastoreV1::Query::Representation
|
1212
1180
|
|
1213
|
-
property :stats, as: 'stats', class: Google::Apis::DatastoreV1::ResultSetStats, decorator: Google::Apis::DatastoreV1::ResultSetStats::Representation
|
1214
|
-
|
1215
1181
|
property :transaction, :base64 => true, as: 'transaction'
|
1216
1182
|
end
|
1217
1183
|
end
|
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.34.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: 2024-
|
11
|
+
date: 2024-02-11 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.34.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: []
|