DataStream v1 API - Class GcsDestinationConfig (2.2.0)

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

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

Google Cloud Storage destination configuration

Inheritance

Object > GcsDestinationConfig

Namespace

Google.Cloud.Datastream.V1

Assembly

Google.Cloud.Datastream.V1.dll

Constructors

GcsDestinationConfig()

public GcsDestinationConfig()

GcsDestinationConfig(GcsDestinationConfig)

public GcsDestinationConfig(GcsDestinationConfig other)
Parameter
NameDescription
otherGcsDestinationConfig

Properties

AvroFileFormat

public AvroFileFormat AvroFileFormat { get; set; }

AVRO file format configuration.

Property Value
TypeDescription
AvroFileFormat

FileFormatCase

public GcsDestinationConfig.FileFormatOneofCase FileFormatCase { get; }
Property Value
TypeDescription
GcsDestinationConfig.FileFormatOneofCase

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
TypeDescription
Duration

FileRotationMb

public int FileRotationMb { get; set; }

The maximum file size to be saved in the bucket.

Property Value
TypeDescription
Int32

JsonFileFormat

public JsonFileFormat JsonFileFormat { get; set; }

JSON file format configuration.

Property Value
TypeDescription
JsonFileFormat

Path

public string Path { get; set; }

Path inside the Cloud Storage bucket to write data to.

Property Value
TypeDescription
String