DataStream v1 API - Class Stream (2.12.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
Name Description
other Stream

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
Type Description
Stream Types BackfillAllStrategy

BackfillNone

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

Do not automatically backfill any objects.

Property Value
Type Description
Stream Types BackfillNoneStrategy

BackfillStrategyCase

public Stream.BackfillStrategyOneofCase BackfillStrategyCase { get; }
Property Value
Type Description
Stream BackfillStrategyOneofCase

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation time of the stream.

Property Value
Type Description
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
Type Description
string

DestinationConfig

public DestinationConfig DestinationConfig { get; set; }

Required. Destination connection profile configuration.

Property Value
Type Description
DestinationConfig

DisplayName

public string DisplayName { get; set; }

Required. Display name.

Property Value
Type Description
string

Errors

public RepeatedField<Error> Errors { get; }

Output only. Errors on the Stream.

Property Value
Type Description
RepeatedField Error

HasCustomerManagedEncryptionKey

public bool HasCustomerManagedEncryptionKey { get; }

Gets whether the "customer_managed_encryption_key" field is set

Property Value
Type Description
bool

HasSatisfiesPzi

public bool HasSatisfiesPzi { get; }

Gets whether the "satisfies_pzi" field is set

Property Value
Type Description
bool

HasSatisfiesPzs

public bool HasSatisfiesPzs { get; }

Gets whether the "satisfies_pzs" field is set

Property Value
Type Description
bool

Labels

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

Labels.

Property Value
Type Description
MapField string string

LastRecoveryTime

public Timestamp LastRecoveryTime { get; set; }

Output only. If the stream was recovered, the time of the last recovery. Note: This field is currently experimental.

Property Value
Type Description
Timestamp

Name

public string Name { get; set; }

Output only. Identifier. The stream's name.

Property Value
Type Description
string

SatisfiesPzi

public bool SatisfiesPzi { get; set; }

Output only. Reserved for future use.

Property Value
Type Description
bool

SatisfiesPzs

public bool SatisfiesPzs { get; set; }

Output only. Reserved for future use.

Property Value
Type Description
bool

SourceConfig

public SourceConfig SourceConfig { get; set; }

Required. Source connection profile configuration.

Property Value
Type Description
SourceConfig

State

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

The state of the stream.

Property Value
Type Description
Stream Types State

StreamName

public StreamName StreamName { get; set; }

StreamName-typed view over the Name resource name property.

Property Value
Type Description
StreamName

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The last update time of the stream.

Property Value
Type Description
Timestamp

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月05日 UTC.