DataStream v1 API - Class Stream (2.2.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
Stream.Types.BackfillAllStrategy

BackfillNone

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

Do not automatically backfill any objects.

Property Value
TypeDescription
Stream.Types.BackfillNoneStrategy

BackfillStrategyCase

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

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
RepeatedField<Error>

HasCustomerManagedEncryptionKey

public bool HasCustomerManagedEncryptionKey { get; }

Gets whether the "customer_managed_encryption_key" field is set

Property Value
TypeDescription
Boolean

Labels

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

Labels.

Property Value
TypeDescription
MapField<String, String>

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
Stream.Types.State

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