public sealed class Volume : IMessage<Volume>, IEquatable<Volume>, IDeepCloneable<Volume>, IBufferMessage, IMessage
Volume represents a named volume in a container.
Namespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Constructors
Volume()
public Volume()
Volume(Volume)
public Volume(Volume other)
Parameter | |
---|---|
Name | Description |
other | Volume |
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 |
CloudSqlInstance |
Name
public string Name { get; set; }
Required. Volume's name.
Property Value | |
---|---|
Type | Description |
String |
Secret
public SecretVolumeSource Secret { get; set; }
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
Property Value | |
---|---|
Type | Description |
SecretVolumeSource |
VolumeTypeCase
public Volume.VolumeTypeOneofCase VolumeTypeCase { get; }
Property Value | |
---|---|
Type | Description |
Volume.VolumeTypeOneofCase |