Class WriteStream (2.13.2)

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

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

Attributes

NameDescription
name str
Output only. Name of the stream, in the form projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}.
type_ google.cloud.bigquery_storage_v1.types.WriteStream.Type
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, empty commit_time means it is not committed.
table_schema google.cloud.bigquery_storage_v1.types.TableSchema
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.
write_mode google.cloud.bigquery_storage_v1.types.WriteStream.WriteMode
Immutable. Mode of the stream.

Classes

Type

Type(value)

Type enum of the stream.

WriteMode

WriteMode(value)

Mode enum of the stream.