google-apis-firestore_v1 0.58.0 → 0.60.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: b0beae9ba07ac9d58436be97ef38c7b3a018ce45066c2092e6b55b0f2a03611e
4
- data.tar.gz: a986a656df5269e66f6cdedd427dbf43040720431ef1fc60a39f595a74a9f671
3
+ metadata.gz: 7a6c845ba4f8587ac523ba8413efcb0409e4de9963a89c81bf2f5270ac835cab
4
+ data.tar.gz: 6b070b74940909c7d3e8366428e98cb791e38f7ed2a53312d06319396e1704bf
5
5
  SHA512:
6
- metadata.gz: a6b507be378adda4c22bc4f218ab1f37501e52ea67dac5552fe6182d3cebc097831d76b8a7170cdda67905a3dbfafc3e73b80ece90627e9b5d3e5e8104836e16
7
- data.tar.gz: fd838f5219c50c0dd0b36c1324f51147eb55eb9e35ac485da45f215739c2e6216bbf07414a71a4a1cc32b0860fc86107d0f1c8e6614f645c8d818d17749de2a3
6
+ metadata.gz: e1bccb83b7bab52893070cdfb351cd93ba04e1236fbed148fd84fafe74204c4722b237368f392044e9c1f0bcaa6096f0195321f88262b97f978c0a90c305c0e1
7
+ data.tar.gz: 61ebfd55343db1f73fc16fa47c8e80c83ada7c131d539991a78129b230735d0cdbf122601e72e53438a7660e43f56e1bf40d4b7c4fc1538a96b481f774ff7cfa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.60.0 (2024-02-24)
4
+
5
+ * Regenerated from discovery document revision 20240215
6
+ * Regenerated using generator version 0.14.0
7
+
8
+ ### v0.59.0 (2024-02-18)
9
+
10
+ * Regenerated from discovery document revision 20240208
11
+
3
12
  ### v0.58.0 (2024-02-11)
4
13
 
5
14
  * Regenerated from discovery document revision 20240131
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/firestore) may provide guid
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -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)
@@ -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.60.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240131"
25
+ REVISION = "20240215"
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.58.0
4
+ version: 0.60.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-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.0
29
+ version: 0.14.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.60.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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Firestore API V1