google-apis-datastore_v1beta3 0.17.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/datastore_v1beta3/classes.rb +214 -0
- data/lib/google/apis/datastore_v1beta3/gem_version.rb +3 -3
- data/lib/google/apis/datastore_v1beta3/representations.rb +110 -0
- data/lib/google/apis/datastore_v1beta3/service.rb +33 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 465d6cbf6ad4ba2c986b5061f97c991fcb70f5446a57dfd470d5bb6d0e6a7383
|
4
|
+
data.tar.gz: ca162872975b428ff2117d276ba732b19fe3bf33868c92f3400ef3cab7a17edf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee3a4489f964e9458285f0427d62baadb901181414fed19d30f55c051783a2cc45aee70f861dbf13d13b607bd36f7c499dc65a6f53063149e9a9672b9e133412
|
7
|
+
data.tar.gz: 0be09401590209d6be3bbc67a85c8addc44bd98aa91a7494f129a2275dd936057b60adb38405c4900c970659a708a9446c798ec1257b294a1909de4749428ae2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-datastore_v1beta3
|
2
2
|
|
3
|
+
### v0.19.0 (2022-10-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20221018
|
6
|
+
* Regenerated using generator version 0.11.0
|
7
|
+
|
8
|
+
### v0.18.0 (2022-09-22)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.10.0
|
11
|
+
|
3
12
|
### v0.17.0 (2022-09-18)
|
4
13
|
|
5
14
|
* Unspecified changes
|
@@ -22,6 +22,124 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DatastoreV1beta3
|
24
24
|
|
25
|
+
# Defines a aggregation that produces a single result.
|
26
|
+
class Aggregation
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Optional. Optional name of the property to store the result of the aggregation.
|
30
|
+
# If not provided, Datastore will pick a default name following the format `
|
31
|
+
# property_`. For example: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1,
|
32
|
+
# COUNT_UP_TO(2), COUNT_UP_TO(3) AS count_up_to_3, COUNT_UP_TO(4) OVER ( ... ); `
|
33
|
+
# `` becomes: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2) AS
|
34
|
+
# property_1, COUNT_UP_TO(3) AS count_up_to_3, COUNT_UP_TO(4) AS property_2 OVER
|
35
|
+
# ( ... ); ``` Requires: * Must be unique across all aggregation aliases. *
|
36
|
+
# Conform to entity property name limitations.
|
37
|
+
# Corresponds to the JSON property `alias`
|
38
|
+
# @return [String]
|
39
|
+
attr_accessor :alias
|
40
|
+
|
41
|
+
# Count of entities that match the query. The `COUNT(*)` aggregation function
|
42
|
+
# operates on the entire entity so it does not require a field reference.
|
43
|
+
# Corresponds to the JSON property `count`
|
44
|
+
# @return [Google::Apis::DatastoreV1beta3::Count]
|
45
|
+
attr_accessor :count
|
46
|
+
|
47
|
+
def initialize(**args)
|
48
|
+
update!(**args)
|
49
|
+
end
|
50
|
+
|
51
|
+
# Update properties of this object
|
52
|
+
def update!(**args)
|
53
|
+
@alias = args[:alias] if args.key?(:alias)
|
54
|
+
@count = args[:count] if args.key?(:count)
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
# Datastore query for running an aggregation over a Query.
|
59
|
+
class AggregationQuery
|
60
|
+
include Google::Apis::Core::Hashable
|
61
|
+
|
62
|
+
# Optional. Series of aggregations to apply over the results of the `
|
63
|
+
# nested_query`. Requires: * A minimum of one and maximum of five aggregations
|
64
|
+
# per query.
|
65
|
+
# Corresponds to the JSON property `aggregations`
|
66
|
+
# @return [Array<Google::Apis::DatastoreV1beta3::Aggregation>]
|
67
|
+
attr_accessor :aggregations
|
68
|
+
|
69
|
+
# A query for entities.
|
70
|
+
# Corresponds to the JSON property `nestedQuery`
|
71
|
+
# @return [Google::Apis::DatastoreV1beta3::Query]
|
72
|
+
attr_accessor :nested_query
|
73
|
+
|
74
|
+
def initialize(**args)
|
75
|
+
update!(**args)
|
76
|
+
end
|
77
|
+
|
78
|
+
# Update properties of this object
|
79
|
+
def update!(**args)
|
80
|
+
@aggregations = args[:aggregations] if args.key?(:aggregations)
|
81
|
+
@nested_query = args[:nested_query] if args.key?(:nested_query)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
# The result of a single bucket from a Datastore aggregation query. The keys of `
|
86
|
+
# aggregate_properties` are the same for all results in an aggregation query,
|
87
|
+
# unlike entity queries which can have different fields present for each result.
|
88
|
+
class AggregationResult
|
89
|
+
include Google::Apis::Core::Hashable
|
90
|
+
|
91
|
+
# The result of the aggregation functions, ex: `COUNT(*) AS total_entities`. The
|
92
|
+
# key is the alias assigned to the aggregation function on input and the size of
|
93
|
+
# this map equals the number of aggregation functions in the query.
|
94
|
+
# Corresponds to the JSON property `aggregateProperties`
|
95
|
+
# @return [Hash<String,Google::Apis::DatastoreV1beta3::Value>]
|
96
|
+
attr_accessor :aggregate_properties
|
97
|
+
|
98
|
+
def initialize(**args)
|
99
|
+
update!(**args)
|
100
|
+
end
|
101
|
+
|
102
|
+
# Update properties of this object
|
103
|
+
def update!(**args)
|
104
|
+
@aggregate_properties = args[:aggregate_properties] if args.key?(:aggregate_properties)
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
# A batch of aggregation results produced by an aggregation query.
|
109
|
+
class AggregationResultBatch
|
110
|
+
include Google::Apis::Core::Hashable
|
111
|
+
|
112
|
+
# The aggregation results for this batch.
|
113
|
+
# Corresponds to the JSON property `aggregationResults`
|
114
|
+
# @return [Array<Google::Apis::DatastoreV1beta3::AggregationResult>]
|
115
|
+
attr_accessor :aggregation_results
|
116
|
+
|
117
|
+
# The state of the query after the current batch. Only COUNT(*) aggregations are
|
118
|
+
# supported in the initial launch. Therefore, expected result type is limited to
|
119
|
+
# `NO_MORE_RESULTS`.
|
120
|
+
# Corresponds to the JSON property `moreResults`
|
121
|
+
# @return [String]
|
122
|
+
attr_accessor :more_results
|
123
|
+
|
124
|
+
# Read timestamp this batch was returned from. In a single transaction,
|
125
|
+
# subsequent query result batches for the same query can have a greater
|
126
|
+
# timestamp. Each batch's read timestamp is valid for all preceding batches.
|
127
|
+
# Corresponds to the JSON property `readTime`
|
128
|
+
# @return [String]
|
129
|
+
attr_accessor :read_time
|
130
|
+
|
131
|
+
def initialize(**args)
|
132
|
+
update!(**args)
|
133
|
+
end
|
134
|
+
|
135
|
+
# Update properties of this object
|
136
|
+
def update!(**args)
|
137
|
+
@aggregation_results = args[:aggregation_results] if args.key?(:aggregation_results)
|
138
|
+
@more_results = args[:more_results] if args.key?(:more_results)
|
139
|
+
@read_time = args[:read_time] if args.key?(:read_time)
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
25
143
|
# The request for Datastore.AllocateIds.
|
26
144
|
class AllocateIdsRequest
|
27
145
|
include Google::Apis::Core::Hashable
|
@@ -219,6 +337,31 @@ module Google
|
|
219
337
|
end
|
220
338
|
end
|
221
339
|
|
340
|
+
# Count of entities that match the query. The `COUNT(*)` aggregation function
|
341
|
+
# operates on the entire entity so it does not require a field reference.
|
342
|
+
class Count
|
343
|
+
include Google::Apis::Core::Hashable
|
344
|
+
|
345
|
+
# Optional. Optional constraint on the maximum number of entities to count. This
|
346
|
+
# provides a way to set an upper bound on the number of entities to scan,
|
347
|
+
# limiting latency and cost. Unspecified is interpreted as no bound. If a zero
|
348
|
+
# value is provided, a count result of zero should always be expected. High-
|
349
|
+
# Level Example: ``` AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k ); ```
|
350
|
+
# Requires: * Must be non-negative when present.
|
351
|
+
# Corresponds to the JSON property `upTo`
|
352
|
+
# @return [Fixnum]
|
353
|
+
attr_accessor :up_to
|
354
|
+
|
355
|
+
def initialize(**args)
|
356
|
+
update!(**args)
|
357
|
+
end
|
358
|
+
|
359
|
+
# Update properties of this object
|
360
|
+
def update!(**args)
|
361
|
+
@up_to = args[:up_to] if args.key?(:up_to)
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
222
365
|
# A Datastore data object. An entity is limited to 1 megabyte when stored. That
|
223
366
|
# _roughly_ corresponds to a limit of 1 megabyte for the serialized form of this
|
224
367
|
# message.
|
@@ -1755,6 +1898,77 @@ module Google
|
|
1755
1898
|
end
|
1756
1899
|
end
|
1757
1900
|
|
1901
|
+
# The request for Datastore.RunAggregationQuery.
|
1902
|
+
class RunAggregationQueryRequest
|
1903
|
+
include Google::Apis::Core::Hashable
|
1904
|
+
|
1905
|
+
# Datastore query for running an aggregation over a Query.
|
1906
|
+
# Corresponds to the JSON property `aggregationQuery`
|
1907
|
+
# @return [Google::Apis::DatastoreV1beta3::AggregationQuery]
|
1908
|
+
attr_accessor :aggregation_query
|
1909
|
+
|
1910
|
+
# A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
|
1911
|
+
# Corresponds to the JSON property `gqlQuery`
|
1912
|
+
# @return [Google::Apis::DatastoreV1beta3::GqlQuery]
|
1913
|
+
attr_accessor :gql_query
|
1914
|
+
|
1915
|
+
# A partition ID identifies a grouping of entities. The grouping is always by
|
1916
|
+
# project and namespace, however the namespace ID may be empty. A partition ID
|
1917
|
+
# contains several dimensions: project ID and namespace ID. Partition dimensions:
|
1918
|
+
# - May be `""`. - Must be valid UTF-8 bytes. - Must have values that match
|
1919
|
+
# regex `[A-Za-z\d\.\-_]`1,100`` If the value of any dimension matches regex `__.
|
1920
|
+
# *__`, the partition is reserved/read-only. A reserved/read-only partition ID
|
1921
|
+
# is forbidden in certain documented contexts. Foreign partition IDs (in which
|
1922
|
+
# the project ID does not match the context project ID ) are discouraged. Reads
|
1923
|
+
# and writes of foreign partition IDs may fail if the project is not in an
|
1924
|
+
# active state.
|
1925
|
+
# Corresponds to the JSON property `partitionId`
|
1926
|
+
# @return [Google::Apis::DatastoreV1beta3::PartitionId]
|
1927
|
+
attr_accessor :partition_id
|
1928
|
+
|
1929
|
+
# The options shared by read requests.
|
1930
|
+
# Corresponds to the JSON property `readOptions`
|
1931
|
+
# @return [Google::Apis::DatastoreV1beta3::ReadOptions]
|
1932
|
+
attr_accessor :read_options
|
1933
|
+
|
1934
|
+
def initialize(**args)
|
1935
|
+
update!(**args)
|
1936
|
+
end
|
1937
|
+
|
1938
|
+
# Update properties of this object
|
1939
|
+
def update!(**args)
|
1940
|
+
@aggregation_query = args[:aggregation_query] if args.key?(:aggregation_query)
|
1941
|
+
@gql_query = args[:gql_query] if args.key?(:gql_query)
|
1942
|
+
@partition_id = args[:partition_id] if args.key?(:partition_id)
|
1943
|
+
@read_options = args[:read_options] if args.key?(:read_options)
|
1944
|
+
end
|
1945
|
+
end
|
1946
|
+
|
1947
|
+
# The response for Datastore.RunAggregationQuery.
|
1948
|
+
class RunAggregationQueryResponse
|
1949
|
+
include Google::Apis::Core::Hashable
|
1950
|
+
|
1951
|
+
# A batch of aggregation results produced by an aggregation query.
|
1952
|
+
# Corresponds to the JSON property `batch`
|
1953
|
+
# @return [Google::Apis::DatastoreV1beta3::AggregationResultBatch]
|
1954
|
+
attr_accessor :batch
|
1955
|
+
|
1956
|
+
# Datastore query for running an aggregation over a Query.
|
1957
|
+
# Corresponds to the JSON property `query`
|
1958
|
+
# @return [Google::Apis::DatastoreV1beta3::AggregationQuery]
|
1959
|
+
attr_accessor :query
|
1960
|
+
|
1961
|
+
def initialize(**args)
|
1962
|
+
update!(**args)
|
1963
|
+
end
|
1964
|
+
|
1965
|
+
# Update properties of this object
|
1966
|
+
def update!(**args)
|
1967
|
+
@batch = args[:batch] if args.key?(:batch)
|
1968
|
+
@query = args[:query] if args.key?(:query)
|
1969
|
+
end
|
1970
|
+
end
|
1971
|
+
|
1758
1972
|
# The request for Datastore.RunQuery.
|
1759
1973
|
class RunQueryRequest
|
1760
1974
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DatastoreV1beta3
|
18
18
|
# Version of the google-apis-datastore_v1beta3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221018"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,30 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DatastoreV1beta3
|
24
24
|
|
25
|
+
class Aggregation
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AggregationQuery
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class AggregationResult
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class AggregationResultBatch
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
25
49
|
class AllocateIdsRequest
|
26
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
51
|
|
@@ -70,6 +94,12 @@ module Google
|
|
70
94
|
include Google::Apis::Core::JsonObjectSupport
|
71
95
|
end
|
72
96
|
|
97
|
+
class Count
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
73
103
|
class Entity
|
74
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
105
|
|
@@ -340,6 +370,18 @@ module Google
|
|
340
370
|
include Google::Apis::Core::JsonObjectSupport
|
341
371
|
end
|
342
372
|
|
373
|
+
class RunAggregationQueryRequest
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
379
|
+
class RunAggregationQueryResponse
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
343
385
|
class RunQueryRequest
|
344
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
387
|
|
@@ -364,6 +406,43 @@ module Google
|
|
364
406
|
include Google::Apis::Core::JsonObjectSupport
|
365
407
|
end
|
366
408
|
|
409
|
+
class Aggregation
|
410
|
+
# @private
|
411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
412
|
+
property :alias, as: 'alias'
|
413
|
+
property :count, as: 'count', class: Google::Apis::DatastoreV1beta3::Count, decorator: Google::Apis::DatastoreV1beta3::Count::Representation
|
414
|
+
|
415
|
+
end
|
416
|
+
end
|
417
|
+
|
418
|
+
class AggregationQuery
|
419
|
+
# @private
|
420
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
421
|
+
collection :aggregations, as: 'aggregations', class: Google::Apis::DatastoreV1beta3::Aggregation, decorator: Google::Apis::DatastoreV1beta3::Aggregation::Representation
|
422
|
+
|
423
|
+
property :nested_query, as: 'nestedQuery', class: Google::Apis::DatastoreV1beta3::Query, decorator: Google::Apis::DatastoreV1beta3::Query::Representation
|
424
|
+
|
425
|
+
end
|
426
|
+
end
|
427
|
+
|
428
|
+
class AggregationResult
|
429
|
+
# @private
|
430
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
431
|
+
hash :aggregate_properties, as: 'aggregateProperties', class: Google::Apis::DatastoreV1beta3::Value, decorator: Google::Apis::DatastoreV1beta3::Value::Representation
|
432
|
+
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
class AggregationResultBatch
|
437
|
+
# @private
|
438
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
439
|
+
collection :aggregation_results, as: 'aggregationResults', class: Google::Apis::DatastoreV1beta3::AggregationResult, decorator: Google::Apis::DatastoreV1beta3::AggregationResult::Representation
|
440
|
+
|
441
|
+
property :more_results, as: 'moreResults'
|
442
|
+
property :read_time, as: 'readTime'
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
367
446
|
class AllocateIdsRequest
|
368
447
|
# @private
|
369
448
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -432,6 +511,13 @@ module Google
|
|
432
511
|
end
|
433
512
|
end
|
434
513
|
|
514
|
+
class Count
|
515
|
+
# @private
|
516
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
517
|
+
property :up_to, :numeric_string => true, as: 'upTo'
|
518
|
+
end
|
519
|
+
end
|
520
|
+
|
435
521
|
class Entity
|
436
522
|
# @private
|
437
523
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -876,6 +962,30 @@ module Google
|
|
876
962
|
end
|
877
963
|
end
|
878
964
|
|
965
|
+
class RunAggregationQueryRequest
|
966
|
+
# @private
|
967
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
968
|
+
property :aggregation_query, as: 'aggregationQuery', class: Google::Apis::DatastoreV1beta3::AggregationQuery, decorator: Google::Apis::DatastoreV1beta3::AggregationQuery::Representation
|
969
|
+
|
970
|
+
property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1beta3::GqlQuery, decorator: Google::Apis::DatastoreV1beta3::GqlQuery::Representation
|
971
|
+
|
972
|
+
property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1beta3::PartitionId, decorator: Google::Apis::DatastoreV1beta3::PartitionId::Representation
|
973
|
+
|
974
|
+
property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1beta3::ReadOptions, decorator: Google::Apis::DatastoreV1beta3::ReadOptions::Representation
|
975
|
+
|
976
|
+
end
|
977
|
+
end
|
978
|
+
|
979
|
+
class RunAggregationQueryResponse
|
980
|
+
# @private
|
981
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
982
|
+
property :batch, as: 'batch', class: Google::Apis::DatastoreV1beta3::AggregationResultBatch, decorator: Google::Apis::DatastoreV1beta3::AggregationResultBatch::Representation
|
983
|
+
|
984
|
+
property :query, as: 'query', class: Google::Apis::DatastoreV1beta3::AggregationQuery, decorator: Google::Apis::DatastoreV1beta3::AggregationQuery::Representation
|
985
|
+
|
986
|
+
end
|
987
|
+
end
|
988
|
+
|
879
989
|
class RunQueryRequest
|
880
990
|
# @private
|
881
991
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -250,6 +250,39 @@ module Google
|
|
250
250
|
execute_or_queue_command(command, &block)
|
251
251
|
end
|
252
252
|
|
253
|
+
# Runs an aggregation query.
|
254
|
+
# @param [String] project_id
|
255
|
+
# Required. The ID of the project against which to make the request.
|
256
|
+
# @param [Google::Apis::DatastoreV1beta3::RunAggregationQueryRequest] run_aggregation_query_request_object
|
257
|
+
# @param [String] fields
|
258
|
+
# Selector specifying which fields to include in a partial response.
|
259
|
+
# @param [String] quota_user
|
260
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
261
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
262
|
+
# @param [Google::Apis::RequestOptions] options
|
263
|
+
# Request-specific options
|
264
|
+
#
|
265
|
+
# @yield [result, err] Result & error if block supplied
|
266
|
+
# @yieldparam result [Google::Apis::DatastoreV1beta3::RunAggregationQueryResponse] parsed result object
|
267
|
+
# @yieldparam err [StandardError] error object if request failed
|
268
|
+
#
|
269
|
+
# @return [Google::Apis::DatastoreV1beta3::RunAggregationQueryResponse]
|
270
|
+
#
|
271
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
272
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
273
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
274
|
+
def run_project_aggregation_query(project_id, run_aggregation_query_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
275
|
+
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:runAggregationQuery', options)
|
276
|
+
command.request_representation = Google::Apis::DatastoreV1beta3::RunAggregationQueryRequest::Representation
|
277
|
+
command.request_object = run_aggregation_query_request_object
|
278
|
+
command.response_representation = Google::Apis::DatastoreV1beta3::RunAggregationQueryResponse::Representation
|
279
|
+
command.response_class = Google::Apis::DatastoreV1beta3::RunAggregationQueryResponse
|
280
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
281
|
+
command.query['fields'] = fields unless fields.nil?
|
282
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
283
|
+
execute_or_queue_command(command, &block)
|
284
|
+
end
|
285
|
+
|
253
286
|
# Queries for entities.
|
254
287
|
# @param [String] project_id
|
255
288
|
# Required. The ID of the project against which to make the request.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-datastore_v1beta3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.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: 2022-
|
11
|
+
date: 2022-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.9.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.9.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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_v1beta3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1beta3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1beta3/v0.19.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastore_v1beta3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|