Class WorkspaceDeclaration
WorkspaceDeclaration is a declaration of a volume that a Task requires.
Implements
Inherited Members
Namespace: Google.Apis.CloudBuild.v2.Data
Assembly: Google.Apis.CloudBuild.v2.dll
Syntax
public class WorkspaceDeclaration : IDirectResponseSchema
Properties
Description
Description is a human readable description of this volume.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MountPath
MountPath overrides the directory that the volume will be made available at.
Declaration
[JsonProperty("mountPath")]
public virtual string MountPath { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Name is the name by which you can bind the volume at runtime.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Optional
Optional. Optional marks a Workspace as not being required in TaskRuns. By default this field is false and so declared workspaces are required.
Declaration
[JsonProperty("optional")]
public virtual bool? Optional { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ReadOnly__
ReadOnly dictates whether a mounted volume is writable.
Declaration
[JsonProperty("readOnly")]
public virtual bool? ReadOnly__ { get; set; }
Property Value
Type | Description |
---|---|
bool? |