updateShieldedInstanceConfig method
Updates the Shielded Instance config for an instance. You can only use this method on a stopped instance. This method supportsPATCH semantics and uses theJSON merge patch format and processing rules.
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> updateShieldedInstanceConfig(
UpdateShieldedInstanceConfigInstanceRequest request,
) async {
if (isClosed) throw StateError('Service is closed');
if (_updateShieldedInstanceConfig
case final updateShieldedInstanceConfig?) {
return updateShieldedInstanceConfig(request);
}
throw UnsupportedError('updateShieldedInstanceConfig');
}