google-apis-firestore_v1beta1 0.36.0 → 0.37.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: f8714797673984203dd879ad580f89d538479a73bc9e4bf9799f59ceb5ca681c
4
- data.tar.gz: 28940a8aff529abfc45e27e53128ca2c8e8875feaf626785e4f96d1969859a6a
3
+ metadata.gz: 76ecc92adc540edf809c95cb52b8fa816e7eba966b6c2ae2a6a493dadee1028a
4
+ data.tar.gz: 6d6fd2dc62af611b3c479f4da47eb3a69d89b45a0b7a34b4d8da1c5a594439c6
5
5
  SHA512:
6
- metadata.gz: f4dd6130365e23d40287c191723eeab0b5e2dda9c25055512bfd0dfec0df3fbe350aa322823f82334e73cefe041046114d2319b4c87ebe03e987f86b018179ed
7
- data.tar.gz: e3c9609411aac601506cde4ec3700907ea6a2043ed7b072f75f2413d70156e494b6cc4b36c84fa275f9eb3f67642e1f6cd4f4690e596ba56087902c1261fc81e
6
+ metadata.gz: 530fe9413e19bf5c4c0240da5a0162da199d5a01adcf1f11329d82b64af10b6ddf599e40fe5a3e6af4aa64529e986406b53deab720a777abe722974c044e2b83
7
+ data.tar.gz: 586eb2f58c592f8ddc60ce32ca98c2fb1760801743c9eb80b9f18e40c92a4f73054eb1ff1f637e4e5e9c2d47a477e8253a612f9c9a2d636cdc3d730e5e4dced3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firestore_v1beta1
2
2
 
3
+ ### v0.37.0 (2024-02-18)
4
+
5
+ * Regenerated from discovery document revision 20240208
6
+
3
7
  ### v0.36.0 (2024-02-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20240131
@@ -869,6 +869,29 @@ module Google
869
869
  end
870
870
  end
871
871
 
872
+ # Explain options for the query.
873
+ class ExplainOptions
874
+ include Google::Apis::Core::Hashable
875
+
876
+ # Optional. Whether to execute this query. When false (the default), the query
877
+ # will be planned, returning only metrics from the planning stages. When true,
878
+ # the query will be planned and executed, returning the full query results along
879
+ # with both planning and execution stage metrics.
880
+ # Corresponds to the JSON property `analyze`
881
+ # @return [Boolean]
882
+ attr_accessor :analyze
883
+ alias_method :analyze?, :analyze
884
+
885
+ def initialize(**args)
886
+ update!(**args)
887
+ end
888
+
889
+ # Update properties of this object
890
+ def update!(**args)
891
+ @analyze = args[:analyze] if args.key?(:analyze)
892
+ end
893
+ end
894
+
872
895
  # A filter on a specific field.
873
896
  class FieldFilter
874
897
  include Google::Apis::Core::Hashable
@@ -2048,6 +2071,11 @@ module Google
2048
2071
  class RunAggregationQueryRequest
2049
2072
  include Google::Apis::Core::Hashable
2050
2073
 
2074
+ # Explain options for the query.
2075
+ # Corresponds to the JSON property `explainOptions`
2076
+ # @return [Google::Apis::FirestoreV1beta1::ExplainOptions]
2077
+ attr_accessor :explain_options
2078
+
2051
2079
  # Options for creating a new transaction.
2052
2080
  # Corresponds to the JSON property `newTransaction`
2053
2081
  # @return [Google::Apis::FirestoreV1beta1::TransactionOptions]
@@ -2078,6 +2106,7 @@ module Google
2078
2106
 
2079
2107
  # Update properties of this object
2080
2108
  def update!(**args)
2109
+ @explain_options = args[:explain_options] if args.key?(:explain_options)
2081
2110
  @new_transaction = args[:new_transaction] if args.key?(:new_transaction)
2082
2111
  @read_time = args[:read_time] if args.key?(:read_time)
2083
2112
  @structured_aggregation_query = args[:structured_aggregation_query] if args.key?(:structured_aggregation_query)
@@ -2128,6 +2157,11 @@ module Google
2128
2157
  class RunQueryRequest
2129
2158
  include Google::Apis::Core::Hashable
2130
2159
 
2160
+ # Explain options for the query.
2161
+ # Corresponds to the JSON property `explainOptions`
2162
+ # @return [Google::Apis::FirestoreV1beta1::ExplainOptions]
2163
+ attr_accessor :explain_options
2164
+
2131
2165
  # Options for creating a new transaction.
2132
2166
  # Corresponds to the JSON property `newTransaction`
2133
2167
  # @return [Google::Apis::FirestoreV1beta1::TransactionOptions]
@@ -2159,6 +2193,7 @@ module Google
2159
2193
 
2160
2194
  # Update properties of this object
2161
2195
  def update!(**args)
2196
+ @explain_options = args[:explain_options] if args.key?(:explain_options)
2162
2197
  @new_transaction = args[:new_transaction] if args.key?(:new_transaction)
2163
2198
  @read_time = args[:read_time] if args.key?(:read_time)
2164
2199
  @structured_query = args[:structured_query] if args.key?(:structured_query)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FirestoreV1beta1
18
18
  # Version of the google-apis-firestore_v1beta1 gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.37.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
@@ -184,6 +184,12 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class ExplainOptions
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class FieldFilter
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -749,6 +755,13 @@ module Google
749
755
  end
750
756
  end
751
757
 
758
+ class ExplainOptions
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ property :analyze, as: 'analyze'
762
+ end
763
+ end
764
+
752
765
  class FieldFilter
753
766
  # @private
754
767
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1103,6 +1116,8 @@ module Google
1103
1116
  class RunAggregationQueryRequest
1104
1117
  # @private
1105
1118
  class Representation < Google::Apis::Core::JsonRepresentation
1119
+ property :explain_options, as: 'explainOptions', class: Google::Apis::FirestoreV1beta1::ExplainOptions, decorator: Google::Apis::FirestoreV1beta1::ExplainOptions::Representation
1120
+
1106
1121
  property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1beta1::TransactionOptions, decorator: Google::Apis::FirestoreV1beta1::TransactionOptions::Representation
1107
1122
 
1108
1123
  property :read_time, as: 'readTime'
@@ -1125,6 +1140,8 @@ module Google
1125
1140
  class RunQueryRequest
1126
1141
  # @private
1127
1142
  class Representation < Google::Apis::Core::JsonRepresentation
1143
+ property :explain_options, as: 'explainOptions', class: Google::Apis::FirestoreV1beta1::ExplainOptions, decorator: Google::Apis::FirestoreV1beta1::ExplainOptions::Representation
1144
+
1128
1145
  property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1beta1::TransactionOptions, decorator: Google::Apis::FirestoreV1beta1::TransactionOptions::Representation
1129
1146
 
1130
1147
  property :read_time, as: 'readTime'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firestore_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.37.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-firestore_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta1/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta1/v0.37.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []