google-apis-datastore_v1beta3 0.29.0 → 0.30.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: bcdf057df2d7e9f85339941939a5a7eaf9350d258de4332effb522489c07e03e
4
- data.tar.gz: c0506f61acca753da40112afb532b8c0014e8dc13fa5d2fb8ff345542c2ee0c2
3
+ metadata.gz: 17ba7afb2969373f122cf332d363e07470de955c1be0596a4f39c0a0bb67493d
4
+ data.tar.gz: 4fa9a4af70b5e18abaa9f810fc11243eadb1646a74501a5935387a36eeb99b16
5
5
  SHA512:
6
- metadata.gz: 83dd79d7ce1819cc9f8e8ae71bdc946745c8a55e032bd251b93de57ae05042526236edcf295e03b8fd90460dcef7fabe7c3c42eb728908608e54fc8e70c56106
7
- data.tar.gz: 0e5348048c9abf859161addc6c749832bc515319332bf18965f0a58fe72a934603762bb6a05720dbd734095ce69f89776f5f3699e34e20c27355a9dadfb574d0
6
+ metadata.gz: 829becab9fce85cebb5b3b787db21a8287bb6b17efd293325be208b47737a78d6f6e38d825b751d41040a758ef24162292d5a9148b414832f96de9322a4907bd
7
+ data.tar.gz: 5b8f2c8b0097c55bc8b6eee0426bd204e574f3587bfcae5df253501fe49c6fc7f57b98491c6968df2a56130a921d15452992056668adc4906fc8654d77d2e24e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.29.0 (2024-02-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20240131
@@ -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
@@ -1967,6 +1990,11 @@ module Google
1967
1990
  # @return [Google::Apis::DatastoreV1beta3::AggregationQuery]
1968
1991
  attr_accessor :aggregation_query
1969
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
+
1970
1998
  # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
1971
1999
  # Corresponds to the JSON property `gqlQuery`
1972
2000
  # @return [Google::Apis::DatastoreV1beta3::GqlQuery]
@@ -1998,6 +2026,7 @@ module Google
1998
2026
  # Update properties of this object
1999
2027
  def update!(**args)
2000
2028
  @aggregation_query = args[:aggregation_query] if args.key?(:aggregation_query)
2029
+ @explain_options = args[:explain_options] if args.key?(:explain_options)
2001
2030
  @gql_query = args[:gql_query] if args.key?(:gql_query)
2002
2031
  @partition_id = args[:partition_id] if args.key?(:partition_id)
2003
2032
  @read_options = args[:read_options] if args.key?(:read_options)
@@ -2033,6 +2062,11 @@ module Google
2033
2062
  class RunQueryRequest
2034
2063
  include Google::Apis::Core::Hashable
2035
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
+
2036
2070
  # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
2037
2071
  # Corresponds to the JSON property `gqlQuery`
2038
2072
  # @return [Google::Apis::DatastoreV1beta3::GqlQuery]
@@ -2068,6 +2102,7 @@ module Google
2068
2102
 
2069
2103
  # Update properties of this object
2070
2104
  def update!(**args)
2105
+ @explain_options = args[:explain_options] if args.key?(:explain_options)
2071
2106
  @gql_query = args[:gql_query] if args.key?(:gql_query)
2072
2107
  @partition_id = args[:partition_id] if args.key?(:partition_id)
2073
2108
  @query = args[:query] if args.key?(:query)
@@ -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.29.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240131"
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
 
@@ -564,6 +570,13 @@ module Google
564
570
  end
565
571
  end
566
572
 
573
+ class ExplainOptions
574
+ # @private
575
+ class Representation < Google::Apis::Core::JsonRepresentation
576
+ property :analyze, as: 'analyze'
577
+ end
578
+ end
579
+
567
580
  class Filter
568
581
  # @private
569
582
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -993,6 +1006,8 @@ module Google
993
1006
  class Representation < Google::Apis::Core::JsonRepresentation
994
1007
  property :aggregation_query, as: 'aggregationQuery', class: Google::Apis::DatastoreV1beta3::AggregationQuery, decorator: Google::Apis::DatastoreV1beta3::AggregationQuery::Representation
995
1008
 
1009
+ property :explain_options, as: 'explainOptions', class: Google::Apis::DatastoreV1beta3::ExplainOptions, decorator: Google::Apis::DatastoreV1beta3::ExplainOptions::Representation
1010
+
996
1011
  property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1beta3::GqlQuery, decorator: Google::Apis::DatastoreV1beta3::GqlQuery::Representation
997
1012
 
998
1013
  property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1beta3::PartitionId, decorator: Google::Apis::DatastoreV1beta3::PartitionId::Representation
@@ -1015,6 +1030,8 @@ module Google
1015
1030
  class RunQueryRequest
1016
1031
  # @private
1017
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
+
1018
1035
  property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1beta3::GqlQuery, decorator: Google::Apis::DatastoreV1beta3::GqlQuery::Representation
1019
1036
 
1020
1037
  property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1beta3::PartitionId, decorator: Google::Apis::DatastoreV1beta3::PartitionId::Representation
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.29.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-02-11 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.29.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: []