Class VolumeMount
Pod volumes to mount into the container's filesystem.
Implements
Inherited Members
Namespace: Google.Apis.CloudBuild.v2.Data
Assembly: Google.Apis.CloudBuild.v2.dll
Syntax
public class VolumeMount : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MountPath
Path within the container at which the volume should be mounted. Must not contain ':'.
Declaration
[JsonProperty("mountPath")]
public virtual string MountPath { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Name of the volume.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ReadOnly__
Mounted read-only if true, read-write otherwise (false or unspecified).
Declaration
[JsonProperty("readOnly")]
public virtual bool? ReadOnly__ { get; set; }
Property Value
Type | Description |
---|---|
bool? |
SubPath
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
Declaration
[JsonProperty("subPath")]
public virtual string SubPath { get; set; }
Property Value
Type | Description |
---|---|
string |
SubPathExpr
Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root).
Declaration
[JsonProperty("subPathExpr")]
public virtual string SubPathExpr { get; set; }
Property Value
Type | Description |
---|---|
string |