class Google::Apis::CloudbuildV1::BuildStep
BuildStep describes a step to perform in the build pipeline.
Attributes
args[RW]
Command-line arguments to use when running this step's container. Corresponds to the JSON property `args` @return [Array<String>]
dir[RW]
Working directory (relative to project source root) to use when running this operation's container. Corresponds to the JSON property `dir` @return [String]
env[RW]
Additional environment variables to set for this step's container. Corresponds to the JSON property `env` @return [Array<String>]
name[RW]
Name of the container image to use for creating this stage in the pipeline, as presented to `docker pull`. Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/cloudbuild_v1/classes.rb, line 489 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/cloudbuild_v1/classes.rb, line 494 def update!(**args) @args = args[:args] if args.key?(:args) @dir = args[:dir] if args.key?(:dir) @env = args[:env] if args.key?(:env) @name = args[:name] if args.key?(:name) end