Google BigQuery Storage v1 API - Class WriteStream (3.4.0)

public sealed class WriteStream : IMessage<WriteStream>, IEquatable<WriteStream>, IDeepCloneable<WriteStream>, IBufferMessage, IMessage

Reference documentation and code samples for the Google BigQuery Storage v1 API class WriteStream.

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

Inheritance

Object > WriteStream

Namespace

Google.Cloud.BigQuery.Storage.V1

Assembly

Google.Cloud.BigQuery.Storage.V1.dll

Constructors

WriteStream()

public WriteStream()

WriteStream(WriteStream)

public WriteStream(WriteStream other)
Parameter
NameDescription
otherWriteStream

Properties

CommitTime

public Timestamp CommitTime { get; set; }

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.

Property Value
TypeDescription
Timestamp

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Create time of the stream. For the _default stream, this is the creation_time of the table.

Property Value
TypeDescription
Timestamp

Location

public string Location { get; set; }

Immutable. The geographic location where the stream's dataset resides. See https://cloud.google.com/bigquery/docs/locations for supported locations.

Property Value
TypeDescription
String

Name

public string Name { get; set; }

Output only. Name of the stream, in the form projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}.

Property Value
TypeDescription
String

TableSchema

public TableSchema TableSchema { get; set; }

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.

Property Value
TypeDescription
TableSchema

Type

public WriteStream.Types.Type Type { get; set; }

Immutable. Type of the stream.

Property Value
TypeDescription
WriteStream.Types.Type

WriteMode

public WriteStream.Types.WriteMode WriteMode { get; set; }

Immutable. Mode of the stream.

Property Value
TypeDescription
WriteStream.Types.WriteMode

WriteStreamName

public WriteStreamName WriteStreamName { get; set; }

WriteStreamName-typed view over the Name resource name property.

Property Value
TypeDescription
WriteStreamName