Class: Google::Cloud::Build::V1::Volume

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::String)

    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.



418
419
420
421
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 418

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.

Returns:

  • (::String)

    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.



418
419
420
421
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 418

class Volume
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end