class Google::Apis::DatastreamV1::GcsDestinationConfig
Google
Cloud Storage destination configuration
Attributes
avro_file_format[RW]
AVRO file format configuration. Corresponds to the JSON property ‘avroFileFormat` @return [Google::Apis::DatastreamV1::AvroFileFormat]
file_rotation_interval[RW]
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]
file_rotation_mb[RW]
The maximum file size to be saved in the bucket. Corresponds to the JSON property ‘fileRotationMb` @return [Fixnum]
json_file_format[RW]
JSON file format configuration. Corresponds to the JSON property ‘jsonFileFormat` @return [Google::Apis::DatastreamV1::JsonFileFormat]
path[RW]
Path inside the Cloud Storage bucket to write data to. Corresponds to the JSON property ‘path` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datastream_v1/classes.rb, line 488 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/datastream_v1/classes.rb, line 493 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) @json_file_format = args[:json_file_format] if args.key?(:json_file_format) @path = args[:path] if args.key?(:path) end