readTensorboardBlobData method
Stream<ReadTensorboardBlobDataResponse>
readTensorboardBlobData(
- ReadTensorboardBlobDataRequest request
Gets bytes of TensorboardBlobs. This is to allow reading blob data stored in consumer project's Cloud Storage bucket without users having to obtain Cloud Storage access permission.
Throws a http.ClientException if there were problems communicating with
the API service. Throws a StatusException if the API failed with a
Status message. Throws a ServiceException for any other failure.
Implementation
Stream<ReadTensorboardBlobDataResponse> readTensorboardBlobData(
ReadTensorboardBlobDataRequest request,
) {
final url = Uri.https(
_host,
'/v1beta1/${request.timeSeries}:readBlobData',
{if (request.blobIds.isNotDefault) 'blobIds': request.blobIds},
);
return _client
.getStreaming(url)
.map(ReadTensorboardBlobDataResponse.fromJson);
}