google-apis-datastore_v1beta3 0.28.0 → 0.30.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: ff9188e98ce0cd4e66d383d012f29c447c073d76f7b9de9c9f3d62295f16d608
4
- data.tar.gz: '09744d92ff64bf59c7fc2f9f5124cf0ac58f6be10594b49ad127aebe876ae69a'
3
+ metadata.gz: 17ba7afb2969373f122cf332d363e07470de955c1be0596a4f39c0a0bb67493d
4
+ data.tar.gz: 4fa9a4af70b5e18abaa9f810fc11243eadb1646a74501a5935387a36eeb99b16
5
5
  SHA512:
6
- metadata.gz: da521150bcedcba2f03d8dca5d0ba71537d5a61068e399bfd9d35a51893a3375357121dc97628878683d0667e33746839c3eebfb0a6e56580f6dc8667d95df44
7
- data.tar.gz: cd9d05ffd53aaad123ddd610be746ed3853ad27b5f4dbaaaa5a231aa651434493d487cb8806887be50d2f836cedfeeabd614485f120d19b8d6b0d12a35298f72
6
+ metadata.gz: 829becab9fce85cebb5b3b787db21a8287bb6b17efd293325be208b47737a78d6f6e38d825b751d41040a758ef24162292d5a9148b414832f96de9322a4907bd
7
+ data.tar.gz: 5b8f2c8b0097c55bc8b6eee0426bd204e574f3587bfcae5df253501fe49c6fc7f57b98491c6968df2a56130a921d15452992056668adc4906fc8654d77d2e24e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-datastore_v1beta3
2
2
 
3
+ ### v0.30.0 (2024-02-18)
4
+
5
+ * Regenerated from discovery document revision 20240208
6
+
7
+ ### v0.29.0 (2024-02-11)
8
+
9
+ * Regenerated from discovery document revision 20240131
10
+ * Regenerated using generator version 0.13.1
11
+
3
12
  ### v0.28.0 (2024-01-23)
4
13
 
5
14
  * Regenerated from discovery document revision 20240109
@@ -494,6 +494,29 @@ module Google
494
494
  end
495
495
  end
496
496
 
497
+ # Explain options for the query.
498
+ class ExplainOptions
499
+ include Google::Apis::Core::Hashable
500
+
501
+ # Optional. Whether to execute this query. When false (the default), the query
502
+ # will be planned, returning only metrics from the planning stages. When true,
503
+ # the query will be planned and executed, returning the full query results along
504
+ # with both planning and execution stage metrics.
505
+ # Corresponds to the JSON property `analyze`
506
+ # @return [Boolean]
507
+ attr_accessor :analyze
508
+ alias_method :analyze?, :analyze
509
+
510
+ def initialize(**args)
511
+ update!(**args)
512
+ end
513
+
514
+ # Update properties of this object
515
+ def update!(**args)
516
+ @analyze = args[:analyze] if args.key?(:analyze)
517
+ end
518
+ end
519
+
497
520
  # A holder for any type of filter.
498
521
  class Filter
499
522
  include Google::Apis::Core::Hashable
@@ -1731,27 +1754,6 @@ module Google
1731
1754
  end
1732
1755
  end
1733
1756
 
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
-
1755
1757
  # A batch of results produced by a query.
1756
1758
  class QueryResultBatch
1757
1759
  include Google::Apis::Core::Hashable
@@ -1945,35 +1947,6 @@ module Google
1945
1947
  end
1946
1948
  end
1947
1949
 
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
-
1977
1950
  # The request for Datastore.Rollback.
1978
1951
  class RollbackRequest
1979
1952
  include Google::Apis::Core::Hashable
@@ -2017,18 +1990,16 @@ module Google
2017
1990
  # @return [Google::Apis::DatastoreV1beta3::AggregationQuery]
2018
1991
  attr_accessor :aggregation_query
2019
1992
 
1993
+ # Explain options for the query.
1994
+ # Corresponds to the JSON property `explainOptions`
1995
+ # @return [Google::Apis::DatastoreV1beta3::ExplainOptions]
1996
+ attr_accessor :explain_options
1997
+
2020
1998
  # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
2021
1999
  # Corresponds to the JSON property `gqlQuery`
2022
2000
  # @return [Google::Apis::DatastoreV1beta3::GqlQuery]
2023
2001
  attr_accessor :gql_query
2024
2002
 
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
-
2032
2003
  # A partition ID identifies a grouping of entities. The grouping is always by
2033
2004
  # project and namespace, however the namespace ID may be empty. A partition ID
2034
2005
  # contains several dimensions: project ID and namespace ID. Partition dimensions:
@@ -2055,8 +2026,8 @@ module Google
2055
2026
  # Update properties of this object
2056
2027
  def update!(**args)
2057
2028
  @aggregation_query = args[:aggregation_query] if args.key?(:aggregation_query)
2029
+ @explain_options = args[:explain_options] if args.key?(:explain_options)
2058
2030
  @gql_query = args[:gql_query] if args.key?(:gql_query)
2059
- @mode = args[:mode] if args.key?(:mode)
2060
2031
  @partition_id = args[:partition_id] if args.key?(:partition_id)
2061
2032
  @read_options = args[:read_options] if args.key?(:read_options)
2062
2033
  end
@@ -2076,11 +2047,6 @@ module Google
2076
2047
  # @return [Google::Apis::DatastoreV1beta3::AggregationQuery]
2077
2048
  attr_accessor :query
2078
2049
 
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
-
2084
2050
  def initialize(**args)
2085
2051
  update!(**args)
2086
2052
  end
@@ -2089,7 +2055,6 @@ module Google
2089
2055
  def update!(**args)
2090
2056
  @batch = args[:batch] if args.key?(:batch)
2091
2057
  @query = args[:query] if args.key?(:query)
2092
- @stats = args[:stats] if args.key?(:stats)
2093
2058
  end
2094
2059
  end
2095
2060
 
@@ -2097,18 +2062,16 @@ module Google
2097
2062
  class RunQueryRequest
2098
2063
  include Google::Apis::Core::Hashable
2099
2064
 
2065
+ # Explain options for the query.
2066
+ # Corresponds to the JSON property `explainOptions`
2067
+ # @return [Google::Apis::DatastoreV1beta3::ExplainOptions]
2068
+ attr_accessor :explain_options
2069
+
2100
2070
  # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
2101
2071
  # Corresponds to the JSON property `gqlQuery`
2102
2072
  # @return [Google::Apis::DatastoreV1beta3::GqlQuery]
2103
2073
  attr_accessor :gql_query
2104
2074
 
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
-
2112
2075
  # A partition ID identifies a grouping of entities. The grouping is always by
2113
2076
  # project and namespace, however the namespace ID may be empty. A partition ID
2114
2077
  # contains several dimensions: project ID and namespace ID. Partition dimensions:
@@ -2139,8 +2102,8 @@ module Google
2139
2102
 
2140
2103
  # Update properties of this object
2141
2104
  def update!(**args)
2105
+ @explain_options = args[:explain_options] if args.key?(:explain_options)
2142
2106
  @gql_query = args[:gql_query] if args.key?(:gql_query)
2143
- @mode = args[:mode] if args.key?(:mode)
2144
2107
  @partition_id = args[:partition_id] if args.key?(:partition_id)
2145
2108
  @query = args[:query] if args.key?(:query)
2146
2109
  @read_options = args[:read_options] if args.key?(:read_options)
@@ -2161,11 +2124,6 @@ module Google
2161
2124
  # @return [Google::Apis::DatastoreV1beta3::Query]
2162
2125
  attr_accessor :query
2163
2126
 
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
-
2169
2127
  def initialize(**args)
2170
2128
  update!(**args)
2171
2129
  end
@@ -2174,7 +2132,6 @@ module Google
2174
2132
  def update!(**args)
2175
2133
  @batch = args[:batch] if args.key?(:batch)
2176
2134
  @query = args[:query] if args.key?(:query)
2177
- @stats = args[:stats] if args.key?(:stats)
2178
2135
  end
2179
2136
  end
2180
2137
 
@@ -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.28.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240109"
25
+ REVISION = "20240208"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class ExplainOptions
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class Filter
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -328,12 +334,6 @@ module Google
328
334
  include Google::Apis::Core::JsonObjectSupport
329
335
  end
330
336
 
331
- class QueryPlan
332
- class Representation < Google::Apis::Core::JsonRepresentation; end
333
-
334
- include Google::Apis::Core::JsonObjectSupport
335
- end
336
-
337
337
  class QueryResultBatch
338
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
339
 
@@ -370,12 +370,6 @@ module Google
370
370
  include Google::Apis::Core::JsonObjectSupport
371
371
  end
372
372
 
373
- class ResultSetStats
374
- class Representation < Google::Apis::Core::JsonRepresentation; end
375
-
376
- include Google::Apis::Core::JsonObjectSupport
377
- end
378
-
379
373
  class RollbackRequest
380
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
375
 
@@ -576,6 +570,13 @@ module Google
576
570
  end
577
571
  end
578
572
 
573
+ class ExplainOptions
574
+ # @private
575
+ class Representation < Google::Apis::Core::JsonRepresentation
576
+ property :analyze, as: 'analyze'
577
+ end
578
+ end
579
+
579
580
  class Filter
580
581
  # @private
581
582
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -934,13 +935,6 @@ module Google
934
935
  end
935
936
  end
936
937
 
937
- class QueryPlan
938
- # @private
939
- class Representation < Google::Apis::Core::JsonRepresentation
940
- hash :plan_info, as: 'planInfo'
941
- end
942
- end
943
-
944
938
  class QueryResultBatch
945
939
  # @private
946
940
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -994,15 +988,6 @@ module Google
994
988
  end
995
989
  end
996
990
 
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
-
1006
991
  class RollbackRequest
1007
992
  # @private
1008
993
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1021,9 +1006,10 @@ module Google
1021
1006
  class Representation < Google::Apis::Core::JsonRepresentation
1022
1007
  property :aggregation_query, as: 'aggregationQuery', class: Google::Apis::DatastoreV1beta3::AggregationQuery, decorator: Google::Apis::DatastoreV1beta3::AggregationQuery::Representation
1023
1008
 
1009
+ property :explain_options, as: 'explainOptions', class: Google::Apis::DatastoreV1beta3::ExplainOptions, decorator: Google::Apis::DatastoreV1beta3::ExplainOptions::Representation
1010
+
1024
1011
  property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1beta3::GqlQuery, decorator: Google::Apis::DatastoreV1beta3::GqlQuery::Representation
1025
1012
 
1026
- property :mode, as: 'mode'
1027
1013
  property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1beta3::PartitionId, decorator: Google::Apis::DatastoreV1beta3::PartitionId::Representation
1028
1014
 
1029
1015
  property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1beta3::ReadOptions, decorator: Google::Apis::DatastoreV1beta3::ReadOptions::Representation
@@ -1038,17 +1024,16 @@ module Google
1038
1024
 
1039
1025
  property :query, as: 'query', class: Google::Apis::DatastoreV1beta3::AggregationQuery, decorator: Google::Apis::DatastoreV1beta3::AggregationQuery::Representation
1040
1026
 
1041
- property :stats, as: 'stats', class: Google::Apis::DatastoreV1beta3::ResultSetStats, decorator: Google::Apis::DatastoreV1beta3::ResultSetStats::Representation
1042
-
1043
1027
  end
1044
1028
  end
1045
1029
 
1046
1030
  class RunQueryRequest
1047
1031
  # @private
1048
1032
  class Representation < Google::Apis::Core::JsonRepresentation
1033
+ property :explain_options, as: 'explainOptions', class: Google::Apis::DatastoreV1beta3::ExplainOptions, decorator: Google::Apis::DatastoreV1beta3::ExplainOptions::Representation
1034
+
1049
1035
  property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1beta3::GqlQuery, decorator: Google::Apis::DatastoreV1beta3::GqlQuery::Representation
1050
1036
 
1051
- property :mode, as: 'mode'
1052
1037
  property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1beta3::PartitionId, decorator: Google::Apis::DatastoreV1beta3::PartitionId::Representation
1053
1038
 
1054
1039
  property :query, as: 'query', class: Google::Apis::DatastoreV1beta3::Query, decorator: Google::Apis::DatastoreV1beta3::Query::Representation
@@ -1065,8 +1050,6 @@ module Google
1065
1050
 
1066
1051
  property :query, as: 'query', class: Google::Apis::DatastoreV1beta3::Query, decorator: Google::Apis::DatastoreV1beta3::Query::Representation
1067
1052
 
1068
- property :stats, as: 'stats', class: Google::Apis::DatastoreV1beta3::ResultSetStats, decorator: Google::Apis::DatastoreV1beta3::ResultSetStats::Representation
1069
-
1070
1053
  end
1071
1054
  end
1072
1055
 
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.28.0
4
+ version: 0.30.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-01-23 00:00:00.000000000 Z
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_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1beta3/v0.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1beta3/v0.30.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: []