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
-
(::Google::Cloud::Datastream::V1::AvroFileFormat) — AVRO file format configuration.
Note: The following fields are mutually exclusive:
avro_file_format
,json_file_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#avro_file_format=
def avro_file_format=(value) -> ::Google::Cloud::Datastream::V1::AvroFileFormat
-
value (::Google::Cloud::Datastream::V1::AvroFileFormat) — AVRO file format configuration.
Note: The following fields are mutually exclusive:
avro_file_format
,json_file_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Datastream::V1::AvroFileFormat) — AVRO file format configuration.
Note: The following fields are mutually exclusive:
avro_file_format
,json_file_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#file_rotation_interval
def file_rotation_interval() -> ::Google::Protobuf::Duration
- (::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.
#file_rotation_interval=
def file_rotation_interval=(value) -> ::Google::Protobuf::Duration
- value (::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.
- (::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.
#file_rotation_mb
def file_rotation_mb() -> ::Integer
- (::Integer) — The maximum file size to be saved in the bucket.
#file_rotation_mb=
def file_rotation_mb=(value) -> ::Integer
- value (::Integer) — The maximum file size to be saved in the bucket.
- (::Integer) — The maximum file size to be saved in the bucket.
#json_file_format
def json_file_format() -> ::Google::Cloud::Datastream::V1::JsonFileFormat
-
(::Google::Cloud::Datastream::V1::JsonFileFormat) — JSON file format configuration.
Note: The following fields are mutually exclusive:
json_file_format
,avro_file_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#json_file_format=
def json_file_format=(value) -> ::Google::Cloud::Datastream::V1::JsonFileFormat
-
value (::Google::Cloud::Datastream::V1::JsonFileFormat) — JSON file format configuration.
Note: The following fields are mutually exclusive:
json_file_format
,avro_file_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Datastream::V1::JsonFileFormat) — JSON file format configuration.
Note: The following fields are mutually exclusive:
json_file_format
,avro_file_format
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#path
def path() -> ::String
- (::String) — Path inside the Cloud Storage bucket to write data to.
#path=
def path=(value) -> ::String
- value (::String) — Path inside the Cloud Storage bucket to write data to.
- (::String) — Path inside the Cloud Storage bucket to write data to.