Cloud Run Admin v2 API - Class VolumeMount (2.6.0)

public sealed class VolumeMount : IMessage<VolumeMount>, IEquatable<VolumeMount>, IDeepCloneable<VolumeMount>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Run Admin v2 API class VolumeMount.

VolumeMount describes a mounting of a Volume within a container.

Inheritance

object > VolumeMount

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

VolumeMount()

public VolumeMount()

VolumeMount(VolumeMount)

public VolumeMount(VolumeMount other)
Parameter
NameDescription
otherVolumeMount

Properties

MountPath

public string MountPath { get; set; }

Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run

Property Value
TypeDescription
string

Name

public string Name { get; set; }

Required. This must match the Name of a Volume.

Property Value
TypeDescription
string