public sealed class WriteStream : IMessage<WriteStream>, IEquatable<WriteStream>, IDeepCloneable<WriteStream>, IBufferMessage, IMessage
Information about a single stream that gets data inside the storage system.
Implements
IMessage<WriteStream>, IEquatable<WriteStream>, IDeepCloneable<WriteStream>, IBufferMessage, IMessageNamespace
Google.Cloud.BigQuery.Storage.V1Assembly
Google.Cloud.BigQuery.Storage.V1.dll
Constructors
WriteStream()
public WriteStream()
WriteStream(WriteStream)
public WriteStream(WriteStream other)
Parameter | |
---|---|
Name | Description |
other | WriteStream |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Timestamp |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
TableSchema |
Type
public WriteStream.Types.Type Type { get; set; }
Immutable. Type of the stream.
Property Value | |
---|---|
Type | Description |
WriteStream.Types.Type |
WriteMode
public WriteStream.Types.WriteMode WriteMode { get; set; }
Immutable. Mode of the stream.
Property Value | |
---|---|
Type | Description |
WriteStream.Types.WriteMode |
WriteStreamName
public WriteStreamName WriteStreamName { get; set; }
WriteStreamName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
WriteStreamName |