updateKmsKey method
Rotates the customer-managed encryption key to the latest version for the specified snapshot.
Throws a http.ClientException if there were problems communicating with
the API service. Throws a ServiceException if the API method failed for
any reason.
Implementation
@override
Future<Operation> updateKmsKey(UpdateKmsKeySnapshotRequest request) async {
if (isClosed) throw StateError('Service is closed');
if (_updateKmsKey case final updateKmsKey?) {
return updateKmsKey(request);
}
throw UnsupportedError('updateKmsKey');
}