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
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. Values within the range of 15-60 seconds are allowed.

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

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