Cloud Run Admin v2 API - Class Volume (2.16.0)

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

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

Volume represents a named volume in a container.

Inheritance

object > Volume

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

Volume()

 public Volume() 

Volume(Volume)

 public Volume(Volume other) 
Parameter
Name
Description
other

Properties

CloudSqlInstance

 public CloudSqlInstance CloudSqlInstance { get; set; } 

For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.

Property Value
Type
Description

EmptyDir

 public EmptyDirVolumeSource EmptyDir { get; set; } 

Ephemeral storage used as a shared volume.

Property Value
Type
Description

Gcs

 public GCSVolumeSource Gcs { get; set; } 

Persistent storage backed by a Google Cloud Storage bucket.

Property Value
Type
Description

Name

 public string Name { get; set; } 

Required. Volume's name.

Property Value
Type
Description

Nfs

 public NFSVolumeSource Nfs { get; set; } 

For NFS Voumes, contains the path to the nfs Volume

Property Value
Type
Description

Secret

 public SecretVolumeSource Secret { get; set; } 

Secret represents a secret that should populate this volume.

Property Value
Type
Description

VolumeTypeCase

 public Volume.VolumeTypeOneofCase VolumeTypeCase { get; } 
Property Value
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: