|
195 | 195 | "defaultKmsKeyName": { |
196 | 196 | "type": "string", |
197 | 197 | "description": "A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified." |
| 198 | + }, |
| 199 | + "googleManagedEncryptionEnforcementConfig": { |
| 200 | + "type": "object", |
| 201 | + "description": "If set, the new objects created in this bucket must comply with this enforcement config. Changing this has no effect on existing objects; it applies to new objects only. If omitted, the new objects are allowed to be encrypted with Google Managed Encryption type by default.", |
| 202 | + "properties": { |
| 203 | + "restrictionMode": { |
| 204 | + "type": "string", |
| 205 | + "description": "Restriction mode for Google-Managed Encryption Keys. Defaults to NotRestricted.", |
| 206 | + "enum": [ |
| 207 | + "NotRestricted", |
| 208 | + "FullyRestricted" |
| 209 | + ], |
| 210 | + "enumDescriptions": [ |
| 211 | + "Creation of new objects with Google Managed Encryption is not restricted.", |
| 212 | + "Creation of new objects with Google Managed Encryption is fully restricted." |
| 213 | + ] |
| 214 | + }, |
| 215 | + "effectiveTime": { |
| 216 | + "type": "string", |
| 217 | + "description": "Server-determined value indicating when this configuration became effective. In RFC 3339 format.", |
| 218 | + "format": "date-time", |
| 219 | + "readOnly": true |
| 220 | + } |
| 221 | + } |
| 222 | + }, |
| 223 | + "customerManagedEncryptionEnforcementConfig": { |
| 224 | + "type": "object", |
| 225 | + "description": "If set, the new objects created in this bucket must comply with this enforcement config. Changing this has no effect on existing objects; it applies to new objects only. If omitted, the new objects are allowed to be encrypted with Customer Managed Encryption type by default.", |
| 226 | + "properties": { |
| 227 | + "restrictionMode": { |
| 228 | + "type": "string", |
| 229 | + "description": "Restriction mode for Customer-Managed Encryption Keys. Defaults to NotRestricted.", |
| 230 | + "enum": [ |
| 231 | + "NotRestricted", |
| 232 | + "FullyRestricted" |
| 233 | + ], |
| 234 | + "enumDescriptions": [ |
| 235 | + "Creation of new objects with Customer-Managed Encryption is not restricted.", |
| 236 | + "Creation of new objects with Customer-Managed Encryption is fully restricted." |
| 237 | + ] |
| 238 | + }, |
| 239 | + "effectiveTime": { |
| 240 | + "type": "string", |
| 241 | + "description": "Server-determined value indicating when this configuration became effective. In RFC 3339 format.", |
| 242 | + "format": "date-time", |
| 243 | + "readOnly": true |
| 244 | + } |
| 245 | + } |
| 246 | + }, |
| 247 | + "customerSuppliedEncryptionEnforcementConfig": { |
| 248 | + "type": "object", |
| 249 | + "description": "If set, the new objects created in this bucket must comply with this enforcement config. Changing this has no effect on existing objects; it applies to new objects only. If omitted, the new objects are allowed to be encrypted with Customer Supplied Encryption type by default.", |
| 250 | + "properties": { |
| 251 | + "restrictionMode": { |
| 252 | + "type": "string", |
| 253 | + "description": "Restriction mode for Customer-Supplied Encryption Keys. Defaults to NotRestricted.", |
| 254 | + "enum": [ |
| 255 | + "NotRestricted", |
| 256 | + "FullyRestricted" |
| 257 | + ], |
| 258 | + "enumDescriptions": [ |
| 259 | + "Creation of new objects with Customer-Supplied Encryption is not restricted.", |
| 260 | + "Creation of new objects with Customer-Supplied Encryption is fully restricted." |
| 261 | + ] |
| 262 | + }, |
| 263 | + "effectiveTime": { |
| 264 | + "type": "string", |
| 265 | + "description": "Server-determined value indicating when this configuration became effective. In RFC 3339 format.", |
| 266 | + "format": "date-time", |
| 267 | + "readOnly": true |
| 268 | + } |
| 269 | + } |
198 | 270 | } |
199 | 271 | } |
200 | 272 | }, |
|
0 commit comments