Class: Google::Cloud::Build::V1::Volume
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V1::Volume
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb
Overview
Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.
Instance Attribute Summary collapse
-
#name ⇒ ::String
Name of the volume to mount.
-
#path ⇒ ::String
Path at which to mount the volume.
Instance Attribute Details
#name ⇒ ::String
Returns 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.
448 449 450 451 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 448 class Volume include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#path ⇒ ::String
Returns 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.
448 449 450 451 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 448 class Volume include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |