class Google::Apis::DatastreamV1alpha1::GcsDestinationConfig
Google
Cloud Storage destination configuration
Attributes
AVRO file format configuration. Corresponds to the JSON property ‘avroFileFormat` @return [Google::Apis::DatastreamV1alpha1::AvroFileFormat]
The maximum duration for which new events are added before a file is closed and a new file is created. Corresponds to the JSON property ‘fileRotationInterval` @return [String]
The maximum file size to be saved in the bucket. Corresponds to the JSON property ‘fileRotationMb` @return [Fixnum]
File format that data should be written in. Deprecated field (b/169501737) - use file_format instead. Corresponds to the JSON property ‘gcsFileFormat` @return [String]
JSON file format configuration. Corresponds to the JSON property ‘jsonFileFormat` @return [Google::Apis::DatastreamV1alpha1::JsonFileFormat]
Path inside the Cloud Storage bucket to write data to. Corresponds to the JSON property ‘path` @return [String]
Public Class Methods
# File lib/google/apis/datastream_v1alpha1/classes.rb, line 529 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datastream_v1alpha1/classes.rb, line 534 def update!(**args) @avro_file_format = args[:avro_file_format] if args.key?(:avro_file_format) @file_rotation_interval = args[:file_rotation_interval] if args.key?(:file_rotation_interval) @file_rotation_mb = args[:file_rotation_mb] if args.key?(:file_rotation_mb) @gcs_file_format = args[:gcs_file_format] if args.key?(:gcs_file_format) @json_file_format = args[:json_file_format] if args.key?(:json_file_format) @path = args[:path] if args.key?(:path) end