DataStream v1 API - Class GcsDestinationConfig (2.6.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
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. Values within the range of 15-60 seconds are allowed.

Property Value
TypeDescription
Duration

FileRotationMb

public int FileRotationMb { get; set; }

The maximum file size to be saved in the bucket.

Property Value
TypeDescription
int

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