| Package | Description | 
|---|---|
| com.google.api.services.cloudbuild.v2.model | 
| Modifier and Type | Method and Description | 
|---|---|
| Step | Step. clone() | 
| Step | Step. set(String fieldName,
   Object value) | 
| Step | Step. setArgs(List<String> args)Arguments to the entrypoint. | 
| Step | Step. setCommand(List<String> command)Entrypoint array. | 
| Step | Step. setEnv(List<EnvVar> env)List of environment variables to set in the container. | 
| Step | Step. setImage(String image)Docker image name. | 
| Step | Step. setName(String name)Name of the container specified as a DNS_LABEL. | 
| Step | Step. setOnError(String onError)Optional. | 
| Step | Step. setParams(List<Param> params)Optional. | 
| Step | Step. setRef(StepRef ref)Optional. | 
| Step | Step. setScript(String script)The contents of an executable file to execute. | 
| Step | Step. setSecurityContext(SecurityContext securityContext)Optional. | 
| Step | Step. setTimeout(String timeout)Time after which the Step times out. | 
| Step | Step. setVolumeMounts(List<VolumeMount> volumeMounts)Pod volumes to mount into the container's filesystem. | 
| Step | Step. setWorkingDir(String workingDir)Container's working directory. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Step> | TaskSpec. getSteps()Steps of the task. | 
| Modifier and Type | Method and Description | 
|---|---|
| TaskSpec | TaskSpec. setSteps(List<Step> steps)Steps of the task. | 
Copyright © 2011–2025 Google. All rights reserved.