google-apis-datastore_v1 0.33.0 → 0.35.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: 07063e5ba6a5c4331f9d395f89386b19495c68a32d5b74324f9414ee2f284e69
|
4
|
+
data.tar.gz: 2000b971db7bfc246b5d1655ca9387879ecafd5a2e31d626c6fa3a0a948235e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d81283c6cc78d1f63b8197bab8ea36cad7afb959cd68a2abc6b9ad93dd97c26ec790ec93f39734cc10a1ca632993d8ebe9f24ff0bc070a888e5c88b92b597f4
|
7
|
+
data.tar.gz: d6a8b4e37c8d1ea2fe8a7a4c331c902deb071d2e3bc94d8691390079548442574228f64c91e7a6509f245b29bdcf5f33df49217f5e6bd78357d3cca4c2284012
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-datastore_v1
|
2
2
|
|
3
|
+
### v0.35.0 (2024-02-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240208
|
6
|
+
|
7
|
+
### v0.34.0 (2024-02-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240131
|
10
|
+
* Regenerated using generator version 0.13.1
|
11
|
+
|
3
12
|
### v0.33.0 (2024-01-23)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240109
|
@@ -539,6 +539,29 @@ module Google
|
|
539
539
|
end
|
540
540
|
end
|
541
541
|
|
542
|
+
# Explain options for the query.
|
543
|
+
class ExplainOptions
|
544
|
+
include Google::Apis::Core::Hashable
|
545
|
+
|
546
|
+
# Optional. Whether to execute this query. When false (the default), the query
|
547
|
+
# will be planned, returning only metrics from the planning stages. When true,
|
548
|
+
# the query will be planned and executed, returning the full query results along
|
549
|
+
# with both planning and execution stage metrics.
|
550
|
+
# Corresponds to the JSON property `analyze`
|
551
|
+
# @return [Boolean]
|
552
|
+
attr_accessor :analyze
|
553
|
+
alias_method :analyze?, :analyze
|
554
|
+
|
555
|
+
def initialize(**args)
|
556
|
+
update!(**args)
|
557
|
+
end
|
558
|
+
|
559
|
+
# Update properties of this object
|
560
|
+
def update!(**args)
|
561
|
+
@analyze = args[:analyze] if args.key?(:analyze)
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
542
565
|
# A holder for any type of filter.
|
543
566
|
class Filter
|
544
567
|
include Google::Apis::Core::Hashable
|
@@ -2082,27 +2105,6 @@ module Google
|
|
2082
2105
|
end
|
2083
2106
|
end
|
2084
2107
|
|
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
2108
|
# A batch of results produced by a query.
|
2107
2109
|
class QueryResultBatch
|
2108
2110
|
include Google::Apis::Core::Hashable
|
@@ -2304,35 +2306,6 @@ module Google
|
|
2304
2306
|
end
|
2305
2307
|
end
|
2306
2308
|
|
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
2309
|
# The request for Datastore.Rollback.
|
2337
2310
|
class RollbackRequest
|
2338
2311
|
include Google::Apis::Core::Hashable
|
@@ -2389,18 +2362,16 @@ module Google
|
|
2389
2362
|
# @return [String]
|
2390
2363
|
attr_accessor :database_id
|
2391
2364
|
|
2365
|
+
# Explain options for the query.
|
2366
|
+
# Corresponds to the JSON property `explainOptions`
|
2367
|
+
# @return [Google::Apis::DatastoreV1::ExplainOptions]
|
2368
|
+
attr_accessor :explain_options
|
2369
|
+
|
2392
2370
|
# A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
|
2393
2371
|
# Corresponds to the JSON property `gqlQuery`
|
2394
2372
|
# @return [Google::Apis::DatastoreV1::GqlQuery]
|
2395
2373
|
attr_accessor :gql_query
|
2396
2374
|
|
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
2375
|
# A partition ID identifies a grouping of entities. The grouping is always by
|
2405
2376
|
# project and namespace, however the namespace ID may be empty. A partition ID
|
2406
2377
|
# contains several dimensions: project ID and namespace ID. Partition dimensions:
|
@@ -2428,8 +2399,8 @@ module Google
|
|
2428
2399
|
def update!(**args)
|
2429
2400
|
@aggregation_query = args[:aggregation_query] if args.key?(:aggregation_query)
|
2430
2401
|
@database_id = args[:database_id] if args.key?(:database_id)
|
2402
|
+
@explain_options = args[:explain_options] if args.key?(:explain_options)
|
2431
2403
|
@gql_query = args[:gql_query] if args.key?(:gql_query)
|
2432
|
-
@mode = args[:mode] if args.key?(:mode)
|
2433
2404
|
@partition_id = args[:partition_id] if args.key?(:partition_id)
|
2434
2405
|
@read_options = args[:read_options] if args.key?(:read_options)
|
2435
2406
|
end
|
@@ -2449,11 +2420,6 @@ module Google
|
|
2449
2420
|
# @return [Google::Apis::DatastoreV1::AggregationQuery]
|
2450
2421
|
attr_accessor :query
|
2451
2422
|
|
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
2423
|
# The identifier of the transaction that was started as part of this
|
2458
2424
|
# RunAggregationQuery request. Set only when ReadOptions.new_transaction was set
|
2459
2425
|
# in RunAggregationQueryRequest.read_options.
|
@@ -2470,7 +2436,6 @@ module Google
|
|
2470
2436
|
def update!(**args)
|
2471
2437
|
@batch = args[:batch] if args.key?(:batch)
|
2472
2438
|
@query = args[:query] if args.key?(:query)
|
2473
|
-
@stats = args[:stats] if args.key?(:stats)
|
2474
2439
|
@transaction = args[:transaction] if args.key?(:transaction)
|
2475
2440
|
end
|
2476
2441
|
end
|
@@ -2485,18 +2450,16 @@ module Google
|
|
2485
2450
|
# @return [String]
|
2486
2451
|
attr_accessor :database_id
|
2487
2452
|
|
2453
|
+
# Explain options for the query.
|
2454
|
+
# Corresponds to the JSON property `explainOptions`
|
2455
|
+
# @return [Google::Apis::DatastoreV1::ExplainOptions]
|
2456
|
+
attr_accessor :explain_options
|
2457
|
+
|
2488
2458
|
# A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
|
2489
2459
|
# Corresponds to the JSON property `gqlQuery`
|
2490
2460
|
# @return [Google::Apis::DatastoreV1::GqlQuery]
|
2491
2461
|
attr_accessor :gql_query
|
2492
2462
|
|
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
2463
|
# A partition ID identifies a grouping of entities. The grouping is always by
|
2501
2464
|
# project and namespace, however the namespace ID may be empty. A partition ID
|
2502
2465
|
# contains several dimensions: project ID and namespace ID. Partition dimensions:
|
@@ -2528,8 +2491,8 @@ module Google
|
|
2528
2491
|
# Update properties of this object
|
2529
2492
|
def update!(**args)
|
2530
2493
|
@database_id = args[:database_id] if args.key?(:database_id)
|
2494
|
+
@explain_options = args[:explain_options] if args.key?(:explain_options)
|
2531
2495
|
@gql_query = args[:gql_query] if args.key?(:gql_query)
|
2532
|
-
@mode = args[:mode] if args.key?(:mode)
|
2533
2496
|
@partition_id = args[:partition_id] if args.key?(:partition_id)
|
2534
2497
|
@query = args[:query] if args.key?(:query)
|
2535
2498
|
@read_options = args[:read_options] if args.key?(:read_options)
|
@@ -2550,11 +2513,6 @@ module Google
|
|
2550
2513
|
# @return [Google::Apis::DatastoreV1::Query]
|
2551
2514
|
attr_accessor :query
|
2552
2515
|
|
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
2516
|
# The identifier of the transaction that was started as part of this RunQuery
|
2559
2517
|
# request. Set only when ReadOptions.new_transaction was set in RunQueryRequest.
|
2560
2518
|
# read_options.
|
@@ -2571,7 +2529,6 @@ module Google
|
|
2571
2529
|
def update!(**args)
|
2572
2530
|
@batch = args[:batch] if args.key?(:batch)
|
2573
2531
|
@query = args[:query] if args.key?(:query)
|
2574
|
-
@stats = args[:stats] if args.key?(:stats)
|
2575
2532
|
@transaction = args[:transaction] if args.key?(:transaction)
|
2576
2533
|
end
|
2577
2534
|
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.35.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 = "20240208"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -124,6 +124,12 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
+
class ExplainOptions
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
127
133
|
class Filter
|
128
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
135
|
|
@@ -376,12 +382,6 @@ module Google
|
|
376
382
|
include Google::Apis::Core::JsonObjectSupport
|
377
383
|
end
|
378
384
|
|
379
|
-
class QueryPlan
|
380
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
-
|
382
|
-
include Google::Apis::Core::JsonObjectSupport
|
383
|
-
end
|
384
|
-
|
385
385
|
class QueryResultBatch
|
386
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
387
|
|
@@ -418,12 +418,6 @@ module Google
|
|
418
418
|
include Google::Apis::Core::JsonObjectSupport
|
419
419
|
end
|
420
420
|
|
421
|
-
class ResultSetStats
|
422
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
-
|
424
|
-
include Google::Apis::Core::JsonObjectSupport
|
425
|
-
end
|
426
|
-
|
427
421
|
class RollbackRequest
|
428
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
423
|
|
@@ -641,6 +635,13 @@ module Google
|
|
641
635
|
end
|
642
636
|
end
|
643
637
|
|
638
|
+
class ExplainOptions
|
639
|
+
# @private
|
640
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
641
|
+
property :analyze, as: 'analyze'
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
644
645
|
class Filter
|
645
646
|
# @private
|
646
647
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1073,13 +1074,6 @@ module Google
|
|
1073
1074
|
end
|
1074
1075
|
end
|
1075
1076
|
|
1076
|
-
class QueryPlan
|
1077
|
-
# @private
|
1078
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1079
|
-
hash :plan_info, as: 'planInfo'
|
1080
|
-
end
|
1081
|
-
end
|
1082
|
-
|
1083
1077
|
class QueryResultBatch
|
1084
1078
|
# @private
|
1085
1079
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1135,15 +1129,6 @@ module Google
|
|
1135
1129
|
end
|
1136
1130
|
end
|
1137
1131
|
|
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
1132
|
class RollbackRequest
|
1148
1133
|
# @private
|
1149
1134
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1164,9 +1149,10 @@ module Google
|
|
1164
1149
|
property :aggregation_query, as: 'aggregationQuery', class: Google::Apis::DatastoreV1::AggregationQuery, decorator: Google::Apis::DatastoreV1::AggregationQuery::Representation
|
1165
1150
|
|
1166
1151
|
property :database_id, as: 'databaseId'
|
1152
|
+
property :explain_options, as: 'explainOptions', class: Google::Apis::DatastoreV1::ExplainOptions, decorator: Google::Apis::DatastoreV1::ExplainOptions::Representation
|
1153
|
+
|
1167
1154
|
property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1::GqlQuery, decorator: Google::Apis::DatastoreV1::GqlQuery::Representation
|
1168
1155
|
|
1169
|
-
property :mode, as: 'mode'
|
1170
1156
|
property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1::PartitionId, decorator: Google::Apis::DatastoreV1::PartitionId::Representation
|
1171
1157
|
|
1172
1158
|
property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation
|
@@ -1181,8 +1167,6 @@ module Google
|
|
1181
1167
|
|
1182
1168
|
property :query, as: 'query', class: Google::Apis::DatastoreV1::AggregationQuery, decorator: Google::Apis::DatastoreV1::AggregationQuery::Representation
|
1183
1169
|
|
1184
|
-
property :stats, as: 'stats', class: Google::Apis::DatastoreV1::ResultSetStats, decorator: Google::Apis::DatastoreV1::ResultSetStats::Representation
|
1185
|
-
|
1186
1170
|
property :transaction, :base64 => true, as: 'transaction'
|
1187
1171
|
end
|
1188
1172
|
end
|
@@ -1191,9 +1175,10 @@ module Google
|
|
1191
1175
|
# @private
|
1192
1176
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1193
1177
|
property :database_id, as: 'databaseId'
|
1178
|
+
property :explain_options, as: 'explainOptions', class: Google::Apis::DatastoreV1::ExplainOptions, decorator: Google::Apis::DatastoreV1::ExplainOptions::Representation
|
1179
|
+
|
1194
1180
|
property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1::GqlQuery, decorator: Google::Apis::DatastoreV1::GqlQuery::Representation
|
1195
1181
|
|
1196
|
-
property :mode, as: 'mode'
|
1197
1182
|
property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1::PartitionId, decorator: Google::Apis::DatastoreV1::PartitionId::Representation
|
1198
1183
|
|
1199
1184
|
property :query, as: 'query', class: Google::Apis::DatastoreV1::Query, decorator: Google::Apis::DatastoreV1::Query::Representation
|
@@ -1210,8 +1195,6 @@ module Google
|
|
1210
1195
|
|
1211
1196
|
property :query, as: 'query', class: Google::Apis::DatastoreV1::Query, decorator: Google::Apis::DatastoreV1::Query::Representation
|
1212
1197
|
|
1213
|
-
property :stats, as: 'stats', class: Google::Apis::DatastoreV1::ResultSetStats, decorator: Google::Apis::DatastoreV1::ResultSetStats::Representation
|
1214
|
-
|
1215
1198
|
property :transaction, :base64 => true, as: 'transaction'
|
1216
1199
|
end
|
1217
1200
|
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.35.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-18 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.35.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: []
|