Cloud Run Admin v2 API - Class EmptyDirVolumeSource (2.21.0)

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.

Represents in-memory (tmpfs) or disk-backed 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).

Inheritance

object > EmptyDirVolumeSource

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

EmptyDirVolumeSource()

public EmptyDirVolumeSource()

EmptyDirVolumeSource(EmptyDirVolumeSource)

public EmptyDirVolumeSource(EmptyDirVolumeSource other)
Parameter
Name Description
other EmptyDirVolumeSource

Properties

Medium

public EmptyDirVolumeSource.Types.Medium Medium { get; set; }

The medium on which the data is stored. Acceptable values are MEMORY, DISK, or unset (MEDIUM_UNSPECIFIED). When unset, the default is currently memory-backed but could change over time.

Property Value
Type Description
EmptyDirVolumeSourceTypesMedium

SizeLimit

public string SizeLimit { get; set; }

Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. For more information, see Configure in-memory volume mounts and the Kubernetes emptyDir volume documentation.

Property Value
Type Description
string