Reference documentation and code samples for the Google Cloud Datastream V1 Client class GcsDestinationConfig.
Google Cloud Storage destination configuration
Generated from protobuf message google.cloud.datastream.v1.GcsDestinationConfig
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ path
string
Path inside the Cloud Storage bucket to write data to.
↳ file_rotation_mb
int
The maximum file size to be saved in the bucket.
↳ file_rotation_interval
Google\Protobuf\Duration
The maximum duration for which new events are added before a file is closed and a new file is created.
↳ avro_file_format
↳ json_file_format
getPath
Path inside the Cloud Storage bucket to write data to.
string
setPath
Path inside the Cloud Storage bucket to write data to.
var
string
$this
getFileRotationMb
The maximum file size to be saved in the bucket.
int
setFileRotationMb
The maximum file size to be saved in the bucket.
var
int
$this
getFileRotationInterval
The maximum duration for which new events are added before a file is closed and a new file is created.
hasFileRotationInterval
clearFileRotationInterval
setFileRotationInterval
The maximum duration for which new events are added before a file is closed and a new file is created.
$this
getAvroFileFormat
AVRO file format configuration.
hasAvroFileFormat
setAvroFileFormat
AVRO file format configuration.
$this
getJsonFileFormat
JSON file format configuration.
hasJsonFileFormat
setJsonFileFormat
JSON file format configuration.
$this
getFileFormat
string