Class WriteStream (2.16.0)

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_v1beta2.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, commit_time being empty means it is not committed.
table_schema google.cloud.bigquery_storage_v1beta2.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.

Inheritance

builtins.object > proto.message.Message > WriteStream

Classes

Type

Type(value)

Type enum of the stream.