class Google::Apis::DatastreamV1alpha1::GcsDestinationConfig

Google Cloud Storage destination configuration

Attributes

avro_file_format[RW]

AVRO file format configuration. Corresponds to the JSON property ‘avroFileFormat` @return [Google::Apis::DatastreamV1alpha1::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]

gcs_file_format[RW]

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[RW]

JSON file format configuration. Corresponds to the JSON property ‘jsonFileFormat` @return [Google::Apis::DatastreamV1alpha1::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_v1alpha1/classes.rb, line 529
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_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