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.
Path inside the Cloud Storage bucket to write data to.
Returns
Type
Description
string
setPath
Path inside the Cloud Storage bucket to write data to.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFileRotationMb
The maximum file size to be saved in the bucket.
Returns
Type
Description
int
setFileRotationMb
The maximum file size to be saved in the bucket.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getFileRotationInterval
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Datastream V1 Client - Class GcsDestinationConfig (2.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.4.0 (latest)](/php/docs/reference/cloud-datastream/latest/V1.GcsDestinationConfig)\n- [2.3.1](/php/docs/reference/cloud-datastream/2.3.1/V1.GcsDestinationConfig)\n- [2.2.0](/php/docs/reference/cloud-datastream/2.2.0/V1.GcsDestinationConfig)\n- [2.1.1](/php/docs/reference/cloud-datastream/2.1.1/V1.GcsDestinationConfig)\n- [2.0.1](/php/docs/reference/cloud-datastream/2.0.1/V1.GcsDestinationConfig)\n- [1.5.5](/php/docs/reference/cloud-datastream/1.5.5/V1.GcsDestinationConfig)\n- [1.4.2](/php/docs/reference/cloud-datastream/1.4.2/V1.GcsDestinationConfig)\n- [1.3.0](/php/docs/reference/cloud-datastream/1.3.0/V1.GcsDestinationConfig)\n- [1.2.1](/php/docs/reference/cloud-datastream/1.2.1/V1.GcsDestinationConfig)\n- [1.1.0](/php/docs/reference/cloud-datastream/1.1.0/V1.GcsDestinationConfig)\n- [1.0.5](/php/docs/reference/cloud-datastream/1.0.5/V1.GcsDestinationConfig) \nReference documentation and code samples for the Google Cloud Datastream V1 Client class GcsDestinationConfig.\n\nGoogle Cloud Storage destination configuration\n\nGenerated from protobuf message `google.cloud.datastream.v1.GcsDestinationConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Datastream \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPath\n\nPath inside the Cloud Storage bucket to write data to.\n\n### setPath\n\nPath inside the Cloud Storage bucket to write data to.\n\n### getFileRotationMb\n\nThe maximum file size to be saved in the bucket.\n\n### setFileRotationMb\n\nThe maximum file size to be saved in the bucket.\n\n### getFileRotationInterval\n\nThe maximum duration for which new events are added before a file is\nclosed and a new file is created. Values within the range of 15-60 seconds\nare allowed.\n\n### hasFileRotationInterval\n\n### clearFileRotationInterval\n\n### setFileRotationInterval\n\nThe maximum duration for which new events are added before a file is\nclosed and a new file is created. Values within the range of 15-60 seconds\nare allowed.\n\n### getAvroFileFormat\n\nAVRO file format configuration.\n\n### hasAvroFileFormat\n\n### setAvroFileFormat\n\nAVRO file format configuration.\n\n### getJsonFileFormat\n\nJSON file format configuration.\n\n### hasJsonFileFormat\n\n### setJsonFileFormat\n\nJSON file format configuration.\n\n### getFileFormat"]]