google-apis-firestore_v1 0.58.0 → 0.59.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: b0beae9ba07ac9d58436be97ef38c7b3a018ce45066c2092e6b55b0f2a03611e
4
- data.tar.gz: a986a656df5269e66f6cdedd427dbf43040720431ef1fc60a39f595a74a9f671
3
+ metadata.gz: fedadd7cdb074145da950c43314396e867330291a06dc596bcad1f45bb216489
4
+ data.tar.gz: 718975c306c05e45058dc74f6bac3761424ba7962c1e3da48ab67ed43a1682de
5
5
  SHA512:
6
- metadata.gz: a6b507be378adda4c22bc4f218ab1f37501e52ea67dac5552fe6182d3cebc097831d76b8a7170cdda67905a3dbfafc3e73b80ece90627e9b5d3e5e8104836e16
7
- data.tar.gz: fd838f5219c50c0dd0b36c1324f51147eb55eb9e35ac485da45f215739c2e6216bbf07414a71a4a1cc32b0860fc86107d0f1c8e6614f645c8d818d17749de2a3
6
+ metadata.gz: 6341d7d6960d2b058e95a12f058ed3f96cb662a08f7aa2d9d820c0127ea063c098fa55d883007fdf6ae3d6f1a03590af8cfd62aff13a129a26e3fa30dbc89499
7
+ data.tar.gz: 893d5843ecbcef7f59d97918ddfbcc087ccaab67573c47c434adb4ad64783b287bfae4279b694769ac95525206ea829d3e3ea5c53b830f8621966fa9c0ce0da4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.59.0 (2024-02-18)
4
+
5
+ * Regenerated from discovery document revision 20240208
6
+
3
7
  ### v0.58.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
@@ -1126,6 +1149,42 @@ module Google
1126
1149
  end
1127
1150
  end
1128
1151
 
1152
+ # The CMEK (Customer Managed Encryption Key) configuration for a Firestore
1153
+ # database. If not present, the database is secured by the default Google
1154
+ # encryption key.
1155
+ class GoogleFirestoreAdminV1CmekConfig
1156
+ include Google::Apis::Core::Hashable
1157
+
1158
+ # Output only. Currently in-use [KMS key versions](https://cloud.google.com/kms/
1159
+ # docs/resource-hierarchy#key_versions). During [key rotation](https://cloud.
1160
+ # google.com/kms/docs/key-rotation), there can be multiple in-use key versions.
1161
+ # The expected format is `projects/`project_id`/locations/`kms_location`/
1162
+ # keyRings/`key_ring`/cryptoKeys/`crypto_key`/cryptoKeyVersions/`key_version``.
1163
+ # Corresponds to the JSON property `activeKeyVersion`
1164
+ # @return [Array<String>]
1165
+ attr_accessor :active_key_version
1166
+
1167
+ # Required. Only keys in the same location as this database are allowed to be
1168
+ # used for encryption. For Firestore's nam5 multi-region, this corresponds to
1169
+ # Cloud KMS multi-region us. For Firestore's eur3 multi-region, this corresponds
1170
+ # to Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/
1171
+ # locations. The expected format is `projects/`project_id`/locations/`
1172
+ # kms_location`/keyRings/`key_ring`/cryptoKeys/`crypto_key``.
1173
+ # Corresponds to the JSON property `kmsKeyName`
1174
+ # @return [String]
1175
+ attr_accessor :kms_key_name
1176
+
1177
+ def initialize(**args)
1178
+ update!(**args)
1179
+ end
1180
+
1181
+ # Update properties of this object
1182
+ def update!(**args)
1183
+ @active_key_version = args[:active_key_version] if args.key?(:active_key_version)
1184
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
1185
+ end
1186
+ end
1187
+
1129
1188
  # Metadata related to the create database operation.
1130
1189
  class GoogleFirestoreAdminV1CreateDatabaseMetadata
1131
1190
  include Google::Apis::Core::Hashable
@@ -1162,6 +1221,13 @@ module Google
1162
1221
  # @return [String]
1163
1222
  attr_accessor :app_engine_integration_mode
1164
1223
 
1224
+ # The CMEK (Customer Managed Encryption Key) configuration for a Firestore
1225
+ # database. If not present, the database is secured by the default Google
1226
+ # encryption key.
1227
+ # Corresponds to the JSON property `cmekConfig`
1228
+ # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1CmekConfig]
1229
+ attr_accessor :cmek_config
1230
+
1165
1231
  # The concurrency control mode to use for this database.
1166
1232
  # Corresponds to the JSON property `concurrencyMode`
1167
1233
  # @return [String]
@@ -1255,6 +1321,7 @@ module Google
1255
1321
  # Update properties of this object
1256
1322
  def update!(**args)
1257
1323
  @app_engine_integration_mode = args[:app_engine_integration_mode] if args.key?(:app_engine_integration_mode)
1324
+ @cmek_config = args[:cmek_config] if args.key?(:cmek_config)
1258
1325
  @concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
1259
1326
  @create_time = args[:create_time] if args.key?(:create_time)
1260
1327
  @delete_protection_state = args[:delete_protection_state] if args.key?(:delete_protection_state)
@@ -2973,6 +3040,11 @@ module Google
2973
3040
  class RunAggregationQueryRequest
2974
3041
  include Google::Apis::Core::Hashable
2975
3042
 
3043
+ # Explain options for the query.
3044
+ # Corresponds to the JSON property `explainOptions`
3045
+ # @return [Google::Apis::FirestoreV1::ExplainOptions]
3046
+ attr_accessor :explain_options
3047
+
2976
3048
  # Options for creating a new transaction.
2977
3049
  # Corresponds to the JSON property `newTransaction`
2978
3050
  # @return [Google::Apis::FirestoreV1::TransactionOptions]
@@ -3003,6 +3075,7 @@ module Google
3003
3075
 
3004
3076
  # Update properties of this object
3005
3077
  def update!(**args)
3078
+ @explain_options = args[:explain_options] if args.key?(:explain_options)
3006
3079
  @new_transaction = args[:new_transaction] if args.key?(:new_transaction)
3007
3080
  @read_time = args[:read_time] if args.key?(:read_time)
3008
3081
  @structured_aggregation_query = args[:structured_aggregation_query] if args.key?(:structured_aggregation_query)
@@ -3053,6 +3126,11 @@ module Google
3053
3126
  class RunQueryRequest
3054
3127
  include Google::Apis::Core::Hashable
3055
3128
 
3129
+ # Explain options for the query.
3130
+ # Corresponds to the JSON property `explainOptions`
3131
+ # @return [Google::Apis::FirestoreV1::ExplainOptions]
3132
+ attr_accessor :explain_options
3133
+
3056
3134
  # Options for creating a new transaction.
3057
3135
  # Corresponds to the JSON property `newTransaction`
3058
3136
  # @return [Google::Apis::FirestoreV1::TransactionOptions]
@@ -3084,6 +3162,7 @@ module Google
3084
3162
 
3085
3163
  # Update properties of this object
3086
3164
  def update!(**args)
3165
+ @explain_options = args[:explain_options] if args.key?(:explain_options)
3087
3166
  @new_transaction = args[:new_transaction] if args.key?(:new_transaction)
3088
3167
  @read_time = args[:read_time] if args.key?(:read_time)
3089
3168
  @structured_query = args[:structured_query] if args.key?(:structured_query)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FirestoreV1
18
18
  # Version of the google-apis-firestore_v1 gem
19
- GEM_VERSION = "0.58.0"
19
+ GEM_VERSION = "0.59.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
 
@@ -220,6 +226,12 @@ module Google
220
226
  include Google::Apis::Core::JsonObjectSupport
221
227
  end
222
228
 
229
+ class GoogleFirestoreAdminV1CmekConfig
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
223
235
  class GoogleFirestoreAdminV1CreateDatabaseMetadata
224
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
237
 
@@ -887,6 +899,13 @@ module Google
887
899
  end
888
900
  end
889
901
 
902
+ class ExplainOptions
903
+ # @private
904
+ class Representation < Google::Apis::Core::JsonRepresentation
905
+ property :analyze, as: 'analyze'
906
+ end
907
+ end
908
+
890
909
  class FieldFilter
891
910
  # @private
892
911
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -963,6 +982,14 @@ module Google
963
982
  end
964
983
  end
965
984
 
985
+ class GoogleFirestoreAdminV1CmekConfig
986
+ # @private
987
+ class Representation < Google::Apis::Core::JsonRepresentation
988
+ collection :active_key_version, as: 'activeKeyVersion'
989
+ property :kms_key_name, as: 'kmsKeyName'
990
+ end
991
+ end
992
+
966
993
  class GoogleFirestoreAdminV1CreateDatabaseMetadata
967
994
  # @private
968
995
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -979,6 +1006,8 @@ module Google
979
1006
  # @private
980
1007
  class Representation < Google::Apis::Core::JsonRepresentation
981
1008
  property :app_engine_integration_mode, as: 'appEngineIntegrationMode'
1009
+ property :cmek_config, as: 'cmekConfig', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1CmekConfig, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1CmekConfig::Representation
1010
+
982
1011
  property :concurrency_mode, as: 'concurrencyMode'
983
1012
  property :create_time, as: 'createTime'
984
1013
  property :delete_protection_state, as: 'deleteProtectionState'
@@ -1480,6 +1509,8 @@ module Google
1480
1509
  class RunAggregationQueryRequest
1481
1510
  # @private
1482
1511
  class Representation < Google::Apis::Core::JsonRepresentation
1512
+ property :explain_options, as: 'explainOptions', class: Google::Apis::FirestoreV1::ExplainOptions, decorator: Google::Apis::FirestoreV1::ExplainOptions::Representation
1513
+
1483
1514
  property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1::TransactionOptions, decorator: Google::Apis::FirestoreV1::TransactionOptions::Representation
1484
1515
 
1485
1516
  property :read_time, as: 'readTime'
@@ -1502,6 +1533,8 @@ module Google
1502
1533
  class RunQueryRequest
1503
1534
  # @private
1504
1535
  class Representation < Google::Apis::Core::JsonRepresentation
1536
+ property :explain_options, as: 'explainOptions', class: Google::Apis::FirestoreV1::ExplainOptions, decorator: Google::Apis::FirestoreV1::ExplainOptions::Representation
1537
+
1505
1538
  property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1::TransactionOptions, decorator: Google::Apis::FirestoreV1::TransactionOptions::Representation
1506
1539
 
1507
1540
  property :read_time, as: 'readTime'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firestore_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.58.0
4
+ version: 0.59.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.58.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.59.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1
63
63
  post_install_message:
64
64
  rdoc_options: []