Show / Hide Table of Contents

Class Step

Step embeds the Container type, which allows it to include fields not provided by Container.

Inheritance
object
Step
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudBuild.v2.Data
Assembly: Google.Apis.CloudBuild.v2.dll
Syntax
public class Step : IDirectResponseSchema

Properties

Args

Arguments to the entrypoint.

Declaration
[JsonProperty("args")]
public virtual IList<string> Args { get; set; }
Property Value
Type Description
IList<string>

Command

Entrypoint array.

Declaration
[JsonProperty("command")]
public virtual IList<string> Command { get; set; }
Property Value
Type Description
IList<string>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Env

List of environment variables to set in the container.

Declaration
[JsonProperty("env")]
public virtual IList<EnvVar> Env { get; set; }
Property Value
Type Description
IList<EnvVar>

Image

Docker image name.

Declaration
[JsonProperty("image")]
public virtual string Image { get; set; }
Property Value
Type Description
string

Name

Name of the container specified as a DNS_LABEL.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

OnError

Optional. OnError defines the exiting behavior on error can be set to [ continue | stopAndFail ]

Declaration
[JsonProperty("onError")]
public virtual string OnError { get; set; }
Property Value
Type Description
string

Params__

Optional. Optional parameters passed to the StepAction.

Declaration
[JsonProperty("params")]
public virtual IList<Param> Params__ { get; set; }
Property Value
Type Description
IList<Param>

Ref__

Optional. Optional reference to a remote StepAction.

Declaration
[JsonProperty("ref")]
public virtual StepRef Ref__ { get; set; }
Property Value
Type Description
StepRef

Script

The contents of an executable file to execute.

Declaration
[JsonProperty("script")]
public virtual string Script { get; set; }
Property Value
Type Description
string

SecurityContext

Optional. SecurityContext defines the security options the Step should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional

Declaration
[JsonProperty("securityContext")]
public virtual SecurityContext SecurityContext { get; set; }
Property Value
Type Description
SecurityContext

Timeout

Time after which the Step times out. Defaults to never.

Declaration
[JsonProperty("timeout")]
public virtual object Timeout { get; set; }
Property Value
Type Description
object

VolumeMounts

Pod volumes to mount into the container's filesystem.

Declaration
[JsonProperty("volumeMounts")]
public virtual IList<VolumeMount> VolumeMounts { get; set; }
Property Value
Type Description
IList<VolumeMount>

WorkingDir

Container's working directory.

Declaration
[JsonProperty("workingDir")]
public virtual string WorkingDir { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX