createTensorboardRun method

  1. @override
Future<TensorboardRun> createTensorboardRun(
  1. CreateTensorboardRunRequest request
)
override

Creates a TensorboardRun.

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<TensorboardRun> createTensorboardRun(
  CreateTensorboardRunRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_createTensorboardRun case final createTensorboardRun?) {
    return createTensorboardRun(request);
  }
  throw UnsupportedError('createTensorboardRun');
}