public sealed class GcsDestinationConfig : IMessage<GcsDestinationConfig>, IEquatable<GcsDestinationConfig>, IDeepCloneable<GcsDestinationConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the DataStream v1 API class GcsDestinationConfig.
public Duration FileRotationInterval { get; set; }
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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eGcsDestinationConfig\u003c/code\u003e class for the DataStream v1 API is 2.9.0, and documentation is available for versions ranging from 1.0.0 to 2.9.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGcsDestinationConfig\u003c/code\u003e is a class used for configuring Google Cloud Storage as a destination for data streams, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class allows for configuration of AVRO or JSON file formats via the \u003ccode\u003eAvroFileFormat\u003c/code\u003e and \u003ccode\u003eJsonFileFormat\u003c/code\u003e properties, respectively, and it also features \u003ccode\u003eFileFormatCase\u003c/code\u003e to identify which format is in use.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties to manage file rotation based on time (\u003ccode\u003eFileRotationInterval\u003c/code\u003e) and size (\u003ccode\u003eFileRotationMb\u003c/code\u003e), as well as a \u003ccode\u003ePath\u003c/code\u003e property to specify the storage location within the Cloud Storage bucket.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available: one default and another that accepts another GcsDestinationConfig object for its parameters.\u003c/p\u003e\n"]]],[],null,[]]