Class WriteStream (2.11.0)

WriteStream(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Information about a single stream that gets data inside the storage system.


name str
Output only. Name of the stream, in the form projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}.
Immutable. Type of the stream.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Create time of the stream. For the \_default stream, this is the creation_time of the table.
commit_time google.protobuf.timestamp_pb2.Timestamp
Output only. Commit time of the stream. If a stream is of COMMITTED type, then it will have a commit_time same as create_time. If the stream is of PENDING type, commit_time being empty means it is not committed.
Output only. The schema of the destination table. It is only returned in CreateWriteStream response. Caller should generate data that's compatible with this schema to send in initial AppendRowsRequest. The table schema could go out of date during the life time of the stream.




Type enum of the stream.