DiskResponse

data class DiskResponse(val autoDelete: Boolean, val mountPoint: String, val name: String, val readOnly: Boolean, val sizeGb: Int, val source: String, val type: String)

A Google Compute Engine disk resource specification.

Constructors

Link copied to clipboard
fun DiskResponse(autoDelete: Boolean, mountPoint: String, name: String, readOnly: Boolean, sizeGb: Int, source: String, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Deprecated. Disks created by the Pipelines API will be deleted at the end of the pipeline run, regardless of what this field is set to.

Link copied to clipboard

Required at create time and cannot be overridden at run time. Specifies the path in the docker container where files on this disk should be located. For example, if mountPoint is /mnt/disk, and the parameter has localPath inputs/file.txt, the docker container can access the data at /mnt/disk/inputs/file.txt.

Link copied to clipboard

The name of the disk that can be used in the pipeline parameters. Must be 1 - 63 characters. The name "boot" is reserved for system use.

Link copied to clipboard

Specifies how a sourced-base persistent disk will be mounted. See https://cloud.google.com/compute/docs/disks/persistent-disks#use_multi_instances for more details. Can only be set at create time.

Link copied to clipboard
val sizeGb: Int

The size of the disk. Defaults to 500 (GB). This field is not applicable for local SSD.

Link copied to clipboard

The full or partial URL of the persistent disk to attach. See https://cloud.google.com/compute/docs/reference/latest/instances#resource and https://cloud.google.com/compute/docs/disks/persistent-disks#snapshots for more details.

Link copied to clipboard

The type of the disk to create.