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\u003eThis document provides reference documentation for the \u003ccode\u003eGcsDestinationConfig\u003c/code\u003e class within the DataStream v1 API, specifically version 2.6.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGcsDestinationConfig\u003c/code\u003e is a class that handles configuration for Google Cloud Storage as a destination, allowing control over file formats, rotation, and path.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, as well as inheriting from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eGcsDestinationConfig\u003c/code\u003e class include \u003ccode\u003eAvroFileFormat\u003c/code\u003e, \u003ccode\u003eJsonFileFormat\u003c/code\u003e, \u003ccode\u003eFileRotationInterval\u003c/code\u003e, \u003ccode\u003eFileRotationMb\u003c/code\u003e, and \u003ccode\u003ePath\u003c/code\u003e, allowing configuration for AVRO and JSON file formats, maximum file size and rotation duration, and destination path.\u003c/p\u003e\n"],["\u003cp\u003eThis document also provides links to other available versions of the documentation for this class, ranging from 1.0.0 to 2.9.0, including the most recent release.\u003c/p\u003e\n"]]],[],null,[]]