Cloud Build V1 API - Class Google::Cloud::Build::V1::Volume (v0.20.0)

Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::Volume.

Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
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.

#name=

def name=(value) -> ::String
Parameter
  • value (::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.

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.

#path

def path() -> ::String
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.

#path=

def path=(value) -> ::String
Parameter
  • value (::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.

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.