GetProjectCmekSettingsResult class
Result data returned by getProjectCmekSettings.
Constructors
- GetProjectCmekSettingsResult({String? id, String? kmsKeyName, String? kmsKeyVersionName, String? name, String? project, String? serviceAccountId})
-
Creates a new GetProjectCmekSettingsResult.
idThe provider-assigned unique ID for this managed resource.kmsKeyNameThe resource name for the configured Cloud KMS key.kmsKeyVersionNameThe CryptoKeyVersion resource name for the configured Cloud KMS key.nameThe resource name of the CMEK settings.projectOptional.serviceAccountIdThe service account associated with a project for which CMEK will apply.const -
GetProjectCmekSettingsResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The provider-assigned unique ID for this managed resource.
final
- kmsKeyName → String?
-
The resource name for the configured Cloud KMS key.
KMS key name format:
'projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]'To enable CMEK for the bucket, set this field to a valid kmsKeyName for which the associated service account has the required cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key. The Cloud KMS key used by the bucket can be updated by changing the kmsKeyName to a new valid key name. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked. See Enabling CMEK for Logging Buckets for more information.final - kmsKeyVersionName → String?
-
The CryptoKeyVersion resource name for the configured Cloud KMS key.
KMS key name format:
'projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]'For example: "projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1" This is a read-only field used to convey the specific configured CryptoKeyVersion of kmsKey that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.final - name → String?
-
The resource name of the CMEK settings.
final
- project → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceAccountId → String?
-
The service account associated with a project for which CMEK will apply.
Before enabling CMEK for a logging bucket, you must first assign the cloudkms.cryptoKeyEncrypterDecrypter role to the service account associated with the project for which CMEK will apply. Use v2.getCmekSettings to obtain the service account ID.
See Enabling CMEK for Logging Buckets for more information.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited