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.
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 |
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 | |
---|---|
Type | Description |
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 | |
---|---|
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 |