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.
Namespace
Google.Cloud.Datastream.V1Assembly
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 |
StreamTypesBackfillAllStrategy |
BackfillNone
public Stream.Types.BackfillNoneStrategy BackfillNone { get; set; }
Do not automatically backfill any objects.
Property Value | |
---|---|
Type | Description |
StreamTypesBackfillNoneStrategy |
BackfillStrategyCase
public Stream.BackfillStrategyOneofCase BackfillStrategyCase { get; }
Property Value | |
---|---|
Type | Description |
StreamBackfillStrategyOneofCase |
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 |
RepeatedFieldError |
HasCustomerManagedEncryptionKey
public bool HasCustomerManagedEncryptionKey { get; }
Gets whether the "customer_managed_encryption_key" field is set
Property Value | |
---|---|
Type | Description |
bool |
Labels
public MapField<string, string> Labels { get; }
Labels.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Name
public string Name { get; set; }
Output only. The stream's name.
Property Value | |
---|---|
Type | Description |
string |
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 |
StreamTypesState |
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 |