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 case final $1 when $1.isNotDefault) 'blobIds': $1},
);
return _client
.getStreaming(url)
.map(ReadTensorboardBlobDataResponse.fromJson);
}