DataStream v1 API - Class Stream (2.6.0)

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

Reference documentation and code samples for the DataStream v1 API class Stream.

A resource representing streaming data from a source to a destination.

Inheritance

object > Stream

Namespace

Google.Cloud.Datastream.V1

Assembly

Google.Cloud.Datastream.V1.dll

Constructors

Stream()

public Stream()

Stream(Stream)

public Stream(Stream other)
Parameter
NameDescription
otherStream

Properties

BackfillAll

public Stream.Types.BackfillAllStrategy BackfillAll { get; set; }

Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.

Property Value
TypeDescription
StreamTypesBackfillAllStrategy

BackfillNone

public Stream.Types.BackfillNoneStrategy BackfillNone { get; set; }

Do not automatically backfill any objects.

Property Value
TypeDescription
StreamTypesBackfillNoneStrategy

BackfillStrategyCase

public Stream.BackfillStrategyOneofCase BackfillStrategyCase { get; }
Property Value
TypeDescription
StreamBackfillStrategyOneofCase

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation time of the stream.

Property Value
TypeDescription
Timestamp

CustomerManagedEncryptionKey

public string CustomerManagedEncryptionKey { get; set; }

Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS.

Property Value
TypeDescription
string

DestinationConfig

public DestinationConfig DestinationConfig { get; set; }

Required. Destination connection profile configuration.

Property Value
TypeDescription
DestinationConfig

DisplayName

public string DisplayName { get; set; }

Required. Display name.

Property Value
TypeDescription
string

Errors

public RepeatedField<Error> Errors { get; }

Output only. Errors on the Stream.

Property Value
TypeDescription
RepeatedFieldError

HasCustomerManagedEncryptionKey

public bool HasCustomerManagedEncryptionKey { get; }

Gets whether the "customer_managed_encryption_key" field is set

Property Value
TypeDescription
bool

Labels

public MapField<string, string> Labels { get; }

Labels.

Property Value
TypeDescription
MapFieldstringstring

Name

public string Name { get; set; }

Output only. The stream's name.

Property Value
TypeDescription
string

SourceConfig

public SourceConfig SourceConfig { get; set; }

Required. Source connection profile configuration.

Property Value
TypeDescription
SourceConfig

State

public Stream.Types.State State { get; set; }

The state of the stream.

Property Value
TypeDescription
StreamTypesState

StreamName

public StreamName StreamName { get; set; }

StreamName-typed view over the Name resource name property.

Property Value
TypeDescription
StreamName

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The last update time of the stream.

Property Value
TypeDescription
Timestamp