getShieldedInstanceIdentity method
Returns the Shielded Instance Identity of an instance
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<ShieldedInstanceIdentity> getShieldedInstanceIdentity(
GetShieldedInstanceIdentityInstanceRequest request,
) async {
if (isClosed) throw StateError('Service is closed');
if (_getShieldedInstanceIdentity case final getShieldedInstanceIdentity?) {
return getShieldedInstanceIdentity(request);
}
throw UnsupportedError('getShieldedInstanceIdentity');
}