class Google::Apis::CloudbuildV1beta1::Volume
Volume
describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.
Attributes
name[RW]
Name of the volume to mount. Volume
names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps. Corresponds to the JSON property `name` @return [String]
path[RW]
Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths. Corresponds to the JSON property `path` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudbuild_v1beta1/classes.rb, line 2084 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudbuild_v1beta1/classes.rb, line 2089 def update!(**args) @name = args[:name] if args.key?(:name) @path = args[:path] if args.key?(:path) end