public sealed class EmptyDirVolumeSource : IMessage<EmptyDirVolumeSource>, IEquatable<EmptyDirVolumeSource>, IDeepCloneable<EmptyDirVolumeSource>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Run Admin v2 API class EmptyDirVolumeSource.
In memory (tmpfs) ephemeral storage.
It is ephemeral in the sense that when the sandbox is taken down, the data is
destroyed with it (it does not persist across sandbox runs).
public EmptyDirVolumeSource.Types.Medium Medium { get; set; }
The medium on which the data is stored. Acceptable values today is only
MEMORY or none. When none, the default will currently be backed by memory
but could change over time. +optional
[[["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 \u003ccode\u003eEmptyDirVolumeSource\u003c/code\u003e class in the Google Cloud Run Admin v2 API provides in-memory (tmpfs) ephemeral storage for containerized applications, meaning data is lost when the sandbox is shut down.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eEmptyDirVolumeSource\u003c/code\u003e, implements several interfaces including \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 \u003ccode\u003eMedium\u003c/code\u003e property of \u003ccode\u003eEmptyDirVolumeSource\u003c/code\u003e dictates where data is stored, with acceptable values currently being \u003ccode\u003eMEMORY\u003c/code\u003e or \u003ccode\u003enone\u003c/code\u003e, defaulting to memory, but subject to change.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSizeLimit\u003c/code\u003e property of \u003ccode\u003eEmptyDirVolumeSource\u003c/code\u003e sets a constraint on the amount of storage that this EmptyDir volume can utilize, with the maximum usage on memory being the lower value of the \u003ccode\u003eSizeLimit\u003c/code\u003e specified or the sum of memory limits for all containers.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the documentation are available for \u003ccode\u003eEmptyDirVolumeSource\u003c/code\u003e, ranging from version 2.0.0 to 2.13.0, the latest version.\u003c/p\u003e\n"]]],[],null,[]]