DataStream v1alpha1 API - Class GcsDestinationConfig (2.0.0-alpha04)

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

Reference documentation and code samples for the DataStream v1alpha1 API class GcsDestinationConfig.

Google Cloud Storage destination configuration

Inheritance

object > GcsDestinationConfig

Namespace

Google.Cloud.Datastream.V1Alpha1

Assembly

Google.Cloud.Datastream.V1Alpha1.dll

Constructors

GcsDestinationConfig()

public GcsDestinationConfig()

GcsDestinationConfig(GcsDestinationConfig)

public GcsDestinationConfig(GcsDestinationConfig other)
Parameter
Name Description
other GcsDestinationConfig

Properties

AvroFileFormat

public AvroFileFormat AvroFileFormat { get; set; }

AVRO file format configuration.

Property Value
Type Description
AvroFileFormat

FileFormatCase

public GcsDestinationConfig.FileFormatOneofCase FileFormatCase { get; }
Property Value
Type Description
GcsDestinationConfigFileFormatOneofCase

FileRotationInterval

public Duration FileRotationInterval { get; set; }

The maximum duration for which new events are added before a file is closed and a new file is created.

Property Value
Type Description
Duration

FileRotationMb

public int FileRotationMb { get; set; }

The maximum file size to be saved in the bucket.

Property Value
Type Description
int

GcsFileFormat

[Obsolete]
public GcsFileFormat GcsFileFormat { get; set; }

File format that data should be written in. Deprecated field - use file_format instead.

Property Value
Type Description
GcsFileFormat

JsonFileFormat

public JsonFileFormat JsonFileFormat { get; set; }

JSON file format configuration.

Property Value
Type Description
JsonFileFormat

Path

public string Path { get; set; }

Path inside the Cloud Storage bucket to write data to.

Property Value
Type Description
string