Class: Google::Cloud::Datastream::V1::GcsDestinationConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/datastream/v1/datastream_resources.rb

Overview

Google Cloud Storage destination configuration

Instance Attribute Summary collapse

Instance Attribute Details

#avro_file_format::Google::Cloud::Datastream::V1::AvroFileFormat

Returns AVRO file format configuration.

Returns:



718
719
720
721
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 718

class GcsDestinationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#file_rotation_interval::Google::Protobuf::Duration

Returns 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.

Returns:

  • (::Google::Protobuf::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.



718
719
720
721
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 718

class GcsDestinationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#file_rotation_mb::Integer

Returns The maximum file size to be saved in the bucket.

Returns:

  • (::Integer)

    The maximum file size to be saved in the bucket.



718
719
720
721
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 718

class GcsDestinationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#json_file_format::Google::Cloud::Datastream::V1::JsonFileFormat

Returns JSON file format configuration.

Returns:



718
719
720
721
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 718

class GcsDestinationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#path::String

Returns Path inside the Cloud Storage bucket to write data to.

Returns:

  • (::String)

    Path inside the Cloud Storage bucket to write data to.



718
719
720
721
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 718

class GcsDestinationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end