google-apis-firestore_v1 0.61.0 → 0.62.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: 625f2448fafee1a983eb4672b2fc604fe3f84a6f136ce8bf42fc44a065cf2535
4
- data.tar.gz: b0f5f888b239d7f128809c1cd10bd1ef7a47be5cb9bf9b35c26a62ad047c992f
3
+ metadata.gz: b576326435612aed0848a1d3eadab517c30e04173bc1d6811057ec75401e2e85
4
+ data.tar.gz: a8876f209fff58c2d85bfec74978693c7a7b6324adaf1f8b8fe0f6629071dfcd
5
5
  SHA512:
6
- metadata.gz: 3fe19eb50de5b2b7ec8abb67d13e60295a573cf254c1f29d37959ae0f91d497ae138a912634a8c54c5c1e200cdd47dfe9ecf28a805c5d90b4967ca3cdecf1234
7
- data.tar.gz: 7976c3701aaafddcdee8eeec5aa8d0fe385e44a866d039a62f8960888568656ff5eea69a082e7d07a750f90d7ba12bf6bf46c964f1e0e162e89c9e9b28bfbeb8
6
+ metadata.gz: a2ed773c6078cab1cfb82fbc020b9d08528d1ad28fa4ce4851f8d6f79bf3e383dcd6c7e2d595548630a2c2f764d6c100aa68a6b60fcf9a6c2be09c282ebc1be6
7
+ data.tar.gz: 516944531f1b9e707b74251b1a1f67bde4d4fd1dc7f66bc6c62eaf83cc635073888ad62c0251d47ed71a11b62eb1a7793ad03a48af64064f962a633b9a78e313
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.62.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240307
6
+
3
7
  ### v0.61.0 (2024-03-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20240226
@@ -1126,6 +1126,42 @@ module Google
1126
1126
  end
1127
1127
  end
1128
1128
 
1129
+ # The CMEK (Customer Managed Encryption Key) configuration for a Firestore
1130
+ # database. If not present, the database is secured by the default Google
1131
+ # encryption key.
1132
+ class GoogleFirestoreAdminV1CmekConfig
1133
+ include Google::Apis::Core::Hashable
1134
+
1135
+ # Output only. Currently in-use [KMS key versions](https://cloud.google.com/kms/
1136
+ # docs/resource-hierarchy#key_versions). During [key rotation](https://cloud.
1137
+ # google.com/kms/docs/key-rotation), there can be multiple in-use key versions.
1138
+ # The expected format is `projects/`project_id`/locations/`kms_location`/
1139
+ # keyRings/`key_ring`/cryptoKeys/`crypto_key`/cryptoKeyVersions/`key_version``.
1140
+ # Corresponds to the JSON property `activeKeyVersion`
1141
+ # @return [Array<String>]
1142
+ attr_accessor :active_key_version
1143
+
1144
+ # Required. Only keys in the same location as this database are allowed to be
1145
+ # used for encryption. For Firestore's nam5 multi-region, this corresponds to
1146
+ # Cloud KMS multi-region us. For Firestore's eur3 multi-region, this corresponds
1147
+ # to Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/
1148
+ # locations. The expected format is `projects/`project_id`/locations/`
1149
+ # kms_location`/keyRings/`key_ring`/cryptoKeys/`crypto_key``.
1150
+ # Corresponds to the JSON property `kmsKeyName`
1151
+ # @return [String]
1152
+ attr_accessor :kms_key_name
1153
+
1154
+ def initialize(**args)
1155
+ update!(**args)
1156
+ end
1157
+
1158
+ # Update properties of this object
1159
+ def update!(**args)
1160
+ @active_key_version = args[:active_key_version] if args.key?(:active_key_version)
1161
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
1162
+ end
1163
+ end
1164
+
1129
1165
  # Metadata related to the create database operation.
1130
1166
  class GoogleFirestoreAdminV1CreateDatabaseMetadata
1131
1167
  include Google::Apis::Core::Hashable
@@ -1162,6 +1198,13 @@ module Google
1162
1198
  # @return [String]
1163
1199
  attr_accessor :app_engine_integration_mode
1164
1200
 
1201
+ # The CMEK (Customer Managed Encryption Key) configuration for a Firestore
1202
+ # database. If not present, the database is secured by the default Google
1203
+ # encryption key.
1204
+ # Corresponds to the JSON property `cmekConfig`
1205
+ # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1CmekConfig]
1206
+ attr_accessor :cmek_config
1207
+
1165
1208
  # The concurrency control mode to use for this database.
1166
1209
  # Corresponds to the JSON property `concurrencyMode`
1167
1210
  # @return [String]
@@ -1255,6 +1298,7 @@ module Google
1255
1298
  # Update properties of this object
1256
1299
  def update!(**args)
1257
1300
  @app_engine_integration_mode = args[:app_engine_integration_mode] if args.key?(:app_engine_integration_mode)
1301
+ @cmek_config = args[:cmek_config] if args.key?(:cmek_config)
1258
1302
  @concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
1259
1303
  @create_time = args[:create_time] if args.key?(:create_time)
1260
1304
  @delete_protection_state = args[:delete_protection_state] if args.key?(:delete_protection_state)
@@ -1943,8 +1987,7 @@ module Google
1943
1987
  class GoogleFirestoreAdminV1ListBackupsResponse
1944
1988
  include Google::Apis::Core::Hashable
1945
1989
 
1946
- # List of all backups for the project. Ordered by `location ASC, create_time
1947
- # DESC, name ASC`.
1990
+ # List of all backups for the project.
1948
1991
  # Corresponds to the JSON property `backups`
1949
1992
  # @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Backup>]
1950
1993
  attr_accessor :backups
@@ -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.61.0"
19
+ GEM_VERSION = "0.62.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240226"
25
+ REVISION = "20240307"
26
26
  end
27
27
  end
28
28
  end
@@ -220,6 +220,12 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class GoogleFirestoreAdminV1CmekConfig
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
223
229
  class GoogleFirestoreAdminV1CreateDatabaseMetadata
224
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
231
 
@@ -963,6 +969,14 @@ module Google
963
969
  end
964
970
  end
965
971
 
972
+ class GoogleFirestoreAdminV1CmekConfig
973
+ # @private
974
+ class Representation < Google::Apis::Core::JsonRepresentation
975
+ collection :active_key_version, as: 'activeKeyVersion'
976
+ property :kms_key_name, as: 'kmsKeyName'
977
+ end
978
+ end
979
+
966
980
  class GoogleFirestoreAdminV1CreateDatabaseMetadata
967
981
  # @private
968
982
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -979,6 +993,8 @@ module Google
979
993
  # @private
980
994
  class Representation < Google::Apis::Core::JsonRepresentation
981
995
  property :app_engine_integration_mode, as: 'appEngineIntegrationMode'
996
+ property :cmek_config, as: 'cmekConfig', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1CmekConfig, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1CmekConfig::Representation
997
+
982
998
  property :concurrency_mode, as: 'concurrencyMode'
983
999
  property :create_time, as: 'createTime'
984
1000
  property :delete_protection_state, as: 'deleteProtectionState'
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.61.0
4
+ version: 0.62.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-03-03 00:00:00.000000000 Z
11
+ date: 2024-03-17 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.61.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.62.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: []