# Class GcsDestinationConfig (1.19.0)

1.19.0 (latest) 1.18.0 1.17.0 1.16.0 1.15.0 1.14.1 1.13.2 1.12.0 1.11.0 1.10.1 1.9.5 1.8.0 1.7.0 1.6.1 1.5.1 1.4.1 1.3.0 1.2.2 1.1.1 1.0.2 0.4.3 0.3.1 0.2.0 0.1.3

    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 ||
|---|---|
| **Name** | **Description** |
| `path` | `str` Path inside the Cloud Storage bucket to write data to. |
| `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. Values within the range of 15-60 seconds are allowed. |
| `avro_file_format` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.AvroFileFormat` AVRO file format configuration. This field is a member of `oneof`_ `file_format`. |
| `json_file_format` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.JsonFileFormat` JSON file format configuration. This field is a member of `oneof`_ `file_format`. |