google-apis-datastore_v1beta3 0.27.0 → 0.28.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff9188e98ce0cd4e66d383d012f29c447c073d76f7b9de9c9f3d62295f16d608
|
4
|
+
data.tar.gz: '09744d92ff64bf59c7fc2f9f5124cf0ac58f6be10594b49ad127aebe876ae69a'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da521150bcedcba2f03d8dca5d0ba71537d5a61068e399bfd9d35a51893a3375357121dc97628878683d0667e33746839c3eebfb0a6e56580f6dc8667d95df44
|
7
|
+
data.tar.gz: cd9d05ffd53aaad123ddd610be746ed3853ad27b5f4dbaaaa5a231aa651434493d487cb8806887be50d2f836cedfeeabd614485f120d19b8d6b0d12a35298f72
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-datastore_v1beta3
|
2
2
|
|
3
|
+
### v0.28.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240109
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
3
8
|
### v0.27.0 (2023-09-10)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20230905
|
@@ -1731,6 +1731,27 @@ module Google
|
|
1731
1731
|
end
|
1732
1732
|
end
|
1733
1733
|
|
1734
|
+
# Plan for the query.
|
1735
|
+
class QueryPlan
|
1736
|
+
include Google::Apis::Core::Hashable
|
1737
|
+
|
1738
|
+
# Planning phase information for the query. It will include: ` "indexes_used": [
|
1739
|
+
# `"query_scope": "Collection", "properties": "(foo ASC, __name__ ASC)"`, `"
|
1740
|
+
# query_scope": "Collection", "properties": "(bar ASC, __name__ ASC)"` ] `
|
1741
|
+
# Corresponds to the JSON property `planInfo`
|
1742
|
+
# @return [Hash<String,Object>]
|
1743
|
+
attr_accessor :plan_info
|
1744
|
+
|
1745
|
+
def initialize(**args)
|
1746
|
+
update!(**args)
|
1747
|
+
end
|
1748
|
+
|
1749
|
+
# Update properties of this object
|
1750
|
+
def update!(**args)
|
1751
|
+
@plan_info = args[:plan_info] if args.key?(:plan_info)
|
1752
|
+
end
|
1753
|
+
end
|
1754
|
+
|
1734
1755
|
# A batch of results produced by a query.
|
1735
1756
|
class QueryResultBatch
|
1736
1757
|
include Google::Apis::Core::Hashable
|
@@ -1924,6 +1945,35 @@ module Google
|
|
1924
1945
|
end
|
1925
1946
|
end
|
1926
1947
|
|
1948
|
+
# Planning and execution statistics for the query.
|
1949
|
+
class ResultSetStats
|
1950
|
+
include Google::Apis::Core::Hashable
|
1951
|
+
|
1952
|
+
# Plan for the query.
|
1953
|
+
# Corresponds to the JSON property `queryPlan`
|
1954
|
+
# @return [Google::Apis::DatastoreV1beta3::QueryPlan]
|
1955
|
+
attr_accessor :query_plan
|
1956
|
+
|
1957
|
+
# Aggregated statistics from the execution of the query. This will only be
|
1958
|
+
# present when the request specifies `PROFILE` mode. For example, a query will
|
1959
|
+
# return the statistics including: ` "results_returned": "20", "
|
1960
|
+
# documents_scanned": "20", "indexes_entries_scanned": "10050", "
|
1961
|
+
# total_execution_time": "100.7 msecs" `
|
1962
|
+
# Corresponds to the JSON property `queryStats`
|
1963
|
+
# @return [Hash<String,Object>]
|
1964
|
+
attr_accessor :query_stats
|
1965
|
+
|
1966
|
+
def initialize(**args)
|
1967
|
+
update!(**args)
|
1968
|
+
end
|
1969
|
+
|
1970
|
+
# Update properties of this object
|
1971
|
+
def update!(**args)
|
1972
|
+
@query_plan = args[:query_plan] if args.key?(:query_plan)
|
1973
|
+
@query_stats = args[:query_stats] if args.key?(:query_stats)
|
1974
|
+
end
|
1975
|
+
end
|
1976
|
+
|
1927
1977
|
# The request for Datastore.Rollback.
|
1928
1978
|
class RollbackRequest
|
1929
1979
|
include Google::Apis::Core::Hashable
|
@@ -1972,6 +2022,13 @@ module Google
|
|
1972
2022
|
# @return [Google::Apis::DatastoreV1beta3::GqlQuery]
|
1973
2023
|
attr_accessor :gql_query
|
1974
2024
|
|
2025
|
+
# Optional. The mode in which the query request is processed. This field is
|
2026
|
+
# optional, and when not provided, it defaults to `NORMAL` mode where no
|
2027
|
+
# additional statistics will be returned with the query results.
|
2028
|
+
# Corresponds to the JSON property `mode`
|
2029
|
+
# @return [String]
|
2030
|
+
attr_accessor :mode
|
2031
|
+
|
1975
2032
|
# A partition ID identifies a grouping of entities. The grouping is always by
|
1976
2033
|
# project and namespace, however the namespace ID may be empty. A partition ID
|
1977
2034
|
# contains several dimensions: project ID and namespace ID. Partition dimensions:
|
@@ -1999,6 +2056,7 @@ module Google
|
|
1999
2056
|
def update!(**args)
|
2000
2057
|
@aggregation_query = args[:aggregation_query] if args.key?(:aggregation_query)
|
2001
2058
|
@gql_query = args[:gql_query] if args.key?(:gql_query)
|
2059
|
+
@mode = args[:mode] if args.key?(:mode)
|
2002
2060
|
@partition_id = args[:partition_id] if args.key?(:partition_id)
|
2003
2061
|
@read_options = args[:read_options] if args.key?(:read_options)
|
2004
2062
|
end
|
@@ -2018,6 +2076,11 @@ module Google
|
|
2018
2076
|
# @return [Google::Apis::DatastoreV1beta3::AggregationQuery]
|
2019
2077
|
attr_accessor :query
|
2020
2078
|
|
2079
|
+
# Planning and execution statistics for the query.
|
2080
|
+
# Corresponds to the JSON property `stats`
|
2081
|
+
# @return [Google::Apis::DatastoreV1beta3::ResultSetStats]
|
2082
|
+
attr_accessor :stats
|
2083
|
+
|
2021
2084
|
def initialize(**args)
|
2022
2085
|
update!(**args)
|
2023
2086
|
end
|
@@ -2026,6 +2089,7 @@ module Google
|
|
2026
2089
|
def update!(**args)
|
2027
2090
|
@batch = args[:batch] if args.key?(:batch)
|
2028
2091
|
@query = args[:query] if args.key?(:query)
|
2092
|
+
@stats = args[:stats] if args.key?(:stats)
|
2029
2093
|
end
|
2030
2094
|
end
|
2031
2095
|
|
@@ -2038,6 +2102,13 @@ module Google
|
|
2038
2102
|
# @return [Google::Apis::DatastoreV1beta3::GqlQuery]
|
2039
2103
|
attr_accessor :gql_query
|
2040
2104
|
|
2105
|
+
# Optional. The mode in which the query request is processed. This field is
|
2106
|
+
# optional, and when not provided, it defaults to `NORMAL` mode where no
|
2107
|
+
# additional statistics will be returned with the query results.
|
2108
|
+
# Corresponds to the JSON property `mode`
|
2109
|
+
# @return [String]
|
2110
|
+
attr_accessor :mode
|
2111
|
+
|
2041
2112
|
# A partition ID identifies a grouping of entities. The grouping is always by
|
2042
2113
|
# project and namespace, however the namespace ID may be empty. A partition ID
|
2043
2114
|
# contains several dimensions: project ID and namespace ID. Partition dimensions:
|
@@ -2069,6 +2140,7 @@ module Google
|
|
2069
2140
|
# Update properties of this object
|
2070
2141
|
def update!(**args)
|
2071
2142
|
@gql_query = args[:gql_query] if args.key?(:gql_query)
|
2143
|
+
@mode = args[:mode] if args.key?(:mode)
|
2072
2144
|
@partition_id = args[:partition_id] if args.key?(:partition_id)
|
2073
2145
|
@query = args[:query] if args.key?(:query)
|
2074
2146
|
@read_options = args[:read_options] if args.key?(:read_options)
|
@@ -2089,6 +2161,11 @@ module Google
|
|
2089
2161
|
# @return [Google::Apis::DatastoreV1beta3::Query]
|
2090
2162
|
attr_accessor :query
|
2091
2163
|
|
2164
|
+
# Planning and execution statistics for the query.
|
2165
|
+
# Corresponds to the JSON property `stats`
|
2166
|
+
# @return [Google::Apis::DatastoreV1beta3::ResultSetStats]
|
2167
|
+
attr_accessor :stats
|
2168
|
+
|
2092
2169
|
def initialize(**args)
|
2093
2170
|
update!(**args)
|
2094
2171
|
end
|
@@ -2097,6 +2174,7 @@ module Google
|
|
2097
2174
|
def update!(**args)
|
2098
2175
|
@batch = args[:batch] if args.key?(:batch)
|
2099
2176
|
@query = args[:query] if args.key?(:query)
|
2177
|
+
@stats = args[:stats] if args.key?(:stats)
|
2100
2178
|
end
|
2101
2179
|
end
|
2102
2180
|
|
@@ -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.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240109"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -328,6 +328,12 @@ module Google
|
|
328
328
|
include Google::Apis::Core::JsonObjectSupport
|
329
329
|
end
|
330
330
|
|
331
|
+
class QueryPlan
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
331
337
|
class QueryResultBatch
|
332
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
339
|
|
@@ -364,6 +370,12 @@ module Google
|
|
364
370
|
include Google::Apis::Core::JsonObjectSupport
|
365
371
|
end
|
366
372
|
|
373
|
+
class ResultSetStats
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
367
379
|
class RollbackRequest
|
368
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
381
|
|
@@ -922,6 +934,13 @@ module Google
|
|
922
934
|
end
|
923
935
|
end
|
924
936
|
|
937
|
+
class QueryPlan
|
938
|
+
# @private
|
939
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
940
|
+
hash :plan_info, as: 'planInfo'
|
941
|
+
end
|
942
|
+
end
|
943
|
+
|
925
944
|
class QueryResultBatch
|
926
945
|
# @private
|
927
946
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -975,6 +994,15 @@ module Google
|
|
975
994
|
end
|
976
995
|
end
|
977
996
|
|
997
|
+
class ResultSetStats
|
998
|
+
# @private
|
999
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1000
|
+
property :query_plan, as: 'queryPlan', class: Google::Apis::DatastoreV1beta3::QueryPlan, decorator: Google::Apis::DatastoreV1beta3::QueryPlan::Representation
|
1001
|
+
|
1002
|
+
hash :query_stats, as: 'queryStats'
|
1003
|
+
end
|
1004
|
+
end
|
1005
|
+
|
978
1006
|
class RollbackRequest
|
979
1007
|
# @private
|
980
1008
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -995,6 +1023,7 @@ module Google
|
|
995
1023
|
|
996
1024
|
property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1beta3::GqlQuery, decorator: Google::Apis::DatastoreV1beta3::GqlQuery::Representation
|
997
1025
|
|
1026
|
+
property :mode, as: 'mode'
|
998
1027
|
property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1beta3::PartitionId, decorator: Google::Apis::DatastoreV1beta3::PartitionId::Representation
|
999
1028
|
|
1000
1029
|
property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1beta3::ReadOptions, decorator: Google::Apis::DatastoreV1beta3::ReadOptions::Representation
|
@@ -1009,6 +1038,8 @@ module Google
|
|
1009
1038
|
|
1010
1039
|
property :query, as: 'query', class: Google::Apis::DatastoreV1beta3::AggregationQuery, decorator: Google::Apis::DatastoreV1beta3::AggregationQuery::Representation
|
1011
1040
|
|
1041
|
+
property :stats, as: 'stats', class: Google::Apis::DatastoreV1beta3::ResultSetStats, decorator: Google::Apis::DatastoreV1beta3::ResultSetStats::Representation
|
1042
|
+
|
1012
1043
|
end
|
1013
1044
|
end
|
1014
1045
|
|
@@ -1017,6 +1048,7 @@ module Google
|
|
1017
1048
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1018
1049
|
property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1beta3::GqlQuery, decorator: Google::Apis::DatastoreV1beta3::GqlQuery::Representation
|
1019
1050
|
|
1051
|
+
property :mode, as: 'mode'
|
1020
1052
|
property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1beta3::PartitionId, decorator: Google::Apis::DatastoreV1beta3::PartitionId::Representation
|
1021
1053
|
|
1022
1054
|
property :query, as: 'query', class: Google::Apis::DatastoreV1beta3::Query, decorator: Google::Apis::DatastoreV1beta3::Query::Representation
|
@@ -1033,6 +1065,8 @@ module Google
|
|
1033
1065
|
|
1034
1066
|
property :query, as: 'query', class: Google::Apis::DatastoreV1beta3::Query, decorator: Google::Apis::DatastoreV1beta3::Query::Representation
|
1035
1067
|
|
1068
|
+
property :stats, as: 'stats', class: Google::Apis::DatastoreV1beta3::ResultSetStats, decorator: Google::Apis::DatastoreV1beta3::ResultSetStats::Representation
|
1069
|
+
|
1036
1070
|
end
|
1037
1071
|
end
|
1038
1072
|
|
@@ -33,6 +33,8 @@ module Google
|
|
33
33
|
#
|
34
34
|
# @see https://cloud.google.com/datastore/
|
35
35
|
class DatastoreService < Google::Apis::Core::BaseService
|
36
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://datastore.$UNIVERSE_DOMAIN$/"
|
37
|
+
|
36
38
|
# @return [String]
|
37
39
|
# API key. Your API key identifies your project and provides you with API access,
|
38
40
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -44,7 +46,7 @@ module Google
|
|
44
46
|
attr_accessor :quota_user
|
45
47
|
|
46
48
|
def initialize
|
47
|
-
super(
|
49
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
48
50
|
client_name: 'google-apis-datastore_v1beta3',
|
49
51
|
client_version: Google::Apis::DatastoreV1beta3::GEM_VERSION)
|
50
52
|
@batch_path = 'batch'
|
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.28.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:
|
11
|
+
date: 2024-01-23 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.12.0
|
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.12.0
|
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.28.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Datastore API V1beta3
|