Class GcsDestinationConfig (1.6.1)

GcsDestinationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Google Cloud Storage destination configuration

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
path str
Path inside the Cloud Storage bucket to write data to.
gcs_file_format google.cloud.datastream_v1alpha1.types.GcsFileFormat
File format that data should be written in. Deprecated field - use file_format instead.
file_rotation_mb int
The maximum file size to be saved in the bucket.
file_rotation_interval google.protobuf.duration_pb2.Duration
The maximum duration for which new events are added before a file is closed and a new file is created.
avro_file_format google.cloud.datastream_v1alpha1.types.AvroFileFormat
AVRO file format configuration. This field is a member of oneof_ file_format.
json_file_format google.cloud.datastream_v1alpha1.types.JsonFileFormat
JSON file format configuration. This field is a member of oneof_ file_format.