Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::GcsDestinationConfig.
Google Cloud Storage destination configuration
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#avro_file_format
def avro_file_format() -> ::Google::Cloud::Datastream::V1::AvroFileFormat
Returns
- (::Google::Cloud::Datastream::V1::AvroFileFormat) — AVRO file format configuration.
#avro_file_format=
def avro_file_format=(value) -> ::Google::Cloud::Datastream::V1::AvroFileFormat
Parameter
- value (::Google::Cloud::Datastream::V1::AvroFileFormat) — AVRO file format configuration.
Returns
- (::Google::Cloud::Datastream::V1::AvroFileFormat) — AVRO file format configuration.
#file_rotation_interval
def file_rotation_interval() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — The maximum duration for which new events are added before a file is closed and a new file is created.
#file_rotation_interval=
def file_rotation_interval=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — The maximum duration for which new events are added before a file is closed and a new file is created.
Returns
- (::Google::Protobuf::Duration) — The maximum duration for which new events are added before a file is closed and a new file is created.
#file_rotation_mb
def file_rotation_mb() -> ::Integer
Returns
- (::Integer) — The maximum file size to be saved in the bucket.
#file_rotation_mb=
def file_rotation_mb=(value) -> ::Integer
Parameter
- value (::Integer) — The maximum file size to be saved in the bucket.
Returns
- (::Integer) — The maximum file size to be saved in the bucket.
#json_file_format
def json_file_format() -> ::Google::Cloud::Datastream::V1::JsonFileFormat
Returns
- (::Google::Cloud::Datastream::V1::JsonFileFormat) — JSON file format configuration.
#json_file_format=
def json_file_format=(value) -> ::Google::Cloud::Datastream::V1::JsonFileFormat
Parameter
- value (::Google::Cloud::Datastream::V1::JsonFileFormat) — JSON file format configuration.
Returns
- (::Google::Cloud::Datastream::V1::JsonFileFormat) — JSON file format configuration.
#path
def path() -> ::String
Returns
- (::String) — Path inside the Cloud Storage bucket to write data to.
#path=
def path=(value) -> ::String
Parameter
- value (::String) — Path inside the Cloud Storage bucket to write data to.
Returns
- (::String) — Path inside the Cloud Storage bucket to write data to.