google-apis-datastore_v1 0.34.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: 7092e34e05182e8a2a6183dd4649e1c3a2adaf316a4e7ff22c3e63f5867d811c
4
- data.tar.gz: 785be88d42890c4594056842ad109547cbf008bc5fd6e493ce5d62bedbe1eda8
3
+ metadata.gz: 07063e5ba6a5c4331f9d395f89386b19495c68a32d5b74324f9414ee2f284e69
4
+ data.tar.gz: 2000b971db7bfc246b5d1655ca9387879ecafd5a2e31d626c6fa3a0a948235e6
5
5
  SHA512:
6
- metadata.gz: 8d7cb9db7f74e80bd7b739607a894fb76ca7d8414fb0bf9a58c43ccb213cf245cba4dea24f802f1797e8c7e8796764836192fe14f4e84c4a51cd3564b8e1d3f8
7
- data.tar.gz: '08f943698b60a05a9c2be8349130b7eb1843e7bbecdd04613c4b70f8f6ca1671f4027b0351dfd19f91a6b4f518ef2505196b6a56c299db30c2b965b3bc49adcc'
6
+ metadata.gz: 7d81283c6cc78d1f63b8197bab8ea36cad7afb959cd68a2abc6b9ad93dd97c26ec790ec93f39734cc10a1ca632993d8ebe9f24ff0bc070a888e5c88b92b597f4
7
+ data.tar.gz: d6a8b4e37c8d1ea2fe8a7a4c331c902deb071d2e3bc94d8691390079548442574228f64c91e7a6509f245b29bdcf5f33df49217f5e6bd78357d3cca4c2284012
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.34.0 (2024-02-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20240131
@@ -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
@@ -2339,6 +2362,11 @@ module Google
2339
2362
  # @return [String]
2340
2363
  attr_accessor :database_id
2341
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
+
2342
2370
  # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
2343
2371
  # Corresponds to the JSON property `gqlQuery`
2344
2372
  # @return [Google::Apis::DatastoreV1::GqlQuery]
@@ -2371,6 +2399,7 @@ module Google
2371
2399
  def update!(**args)
2372
2400
  @aggregation_query = args[:aggregation_query] if args.key?(:aggregation_query)
2373
2401
  @database_id = args[:database_id] if args.key?(:database_id)
2402
+ @explain_options = args[:explain_options] if args.key?(:explain_options)
2374
2403
  @gql_query = args[:gql_query] if args.key?(:gql_query)
2375
2404
  @partition_id = args[:partition_id] if args.key?(:partition_id)
2376
2405
  @read_options = args[:read_options] if args.key?(:read_options)
@@ -2421,6 +2450,11 @@ module Google
2421
2450
  # @return [String]
2422
2451
  attr_accessor :database_id
2423
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
+
2424
2458
  # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
2425
2459
  # Corresponds to the JSON property `gqlQuery`
2426
2460
  # @return [Google::Apis::DatastoreV1::GqlQuery]
@@ -2457,6 +2491,7 @@ module Google
2457
2491
  # Update properties of this object
2458
2492
  def update!(**args)
2459
2493
  @database_id = args[:database_id] if args.key?(:database_id)
2494
+ @explain_options = args[:explain_options] if args.key?(:explain_options)
2460
2495
  @gql_query = args[:gql_query] if args.key?(:gql_query)
2461
2496
  @partition_id = args[:partition_id] if args.key?(:partition_id)
2462
2497
  @query = args[:query] if args.key?(:query)
@@ -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.34.0"
19
+ GEM_VERSION = "0.35.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
@@ -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
 
@@ -629,6 +635,13 @@ module Google
629
635
  end
630
636
  end
631
637
 
638
+ class ExplainOptions
639
+ # @private
640
+ class Representation < Google::Apis::Core::JsonRepresentation
641
+ property :analyze, as: 'analyze'
642
+ end
643
+ end
644
+
632
645
  class Filter
633
646
  # @private
634
647
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1136,6 +1149,8 @@ module Google
1136
1149
  property :aggregation_query, as: 'aggregationQuery', class: Google::Apis::DatastoreV1::AggregationQuery, decorator: Google::Apis::DatastoreV1::AggregationQuery::Representation
1137
1150
 
1138
1151
  property :database_id, as: 'databaseId'
1152
+ property :explain_options, as: 'explainOptions', class: Google::Apis::DatastoreV1::ExplainOptions, decorator: Google::Apis::DatastoreV1::ExplainOptions::Representation
1153
+
1139
1154
  property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1::GqlQuery, decorator: Google::Apis::DatastoreV1::GqlQuery::Representation
1140
1155
 
1141
1156
  property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1::PartitionId, decorator: Google::Apis::DatastoreV1::PartitionId::Representation
@@ -1160,6 +1175,8 @@ module Google
1160
1175
  # @private
1161
1176
  class Representation < Google::Apis::Core::JsonRepresentation
1162
1177
  property :database_id, as: 'databaseId'
1178
+ property :explain_options, as: 'explainOptions', class: Google::Apis::DatastoreV1::ExplainOptions, decorator: Google::Apis::DatastoreV1::ExplainOptions::Representation
1179
+
1163
1180
  property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1::GqlQuery, decorator: Google::Apis::DatastoreV1::GqlQuery::Representation
1164
1181
 
1165
1182
  property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1::PartitionId, decorator: Google::Apis::DatastoreV1::PartitionId::Representation
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.34.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-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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1/v0.34.0
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: []