updateCmekSettings method
ResponseFuture<CmekSettings>
updateCmekSettings(
- UpdateCmekSettingsRequest request, {
- CallOptions? options,
Updates the Log Router CMEK settings for the given resource.
Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.
google.logging.v2.ConfigServiceV2.UpdateCmekSettings
will fail if 1) kms_key_name is invalid, or 2) the associated service
account does not have the required
roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or
3) access to the key is disabled.
See Enabling CMEK for Log Router for more information.
Implementation
$grpc.ResponseFuture<$0.CmekSettings> updateCmekSettings(
$0.UpdateCmekSettingsRequest request, {
$grpc.CallOptions? options,
}) {
return $createUnaryCall(_$updateCmekSettings, request, options: options);
}