Reference documentation and code samples for the Google Cloud Tpu V2 Client class AttachedDisk.
A node-attached disk resource.
Next ID: 8;
Generated from protobuf message google.cloud.tpu.v2.AttachedDisk
Namespace
Google \ Cloud \ Tpu \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ source_disk
string
Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
↳ mode
int
The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
getSourceDisk
Specifies the full path to an existing disk.
For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
string
setSourceDisk
Specifies the full path to an existing disk.
For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
var
string
$this
getMode
The mode in which to attach this disk.
If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
int
setMode
The mode in which to attach this disk.
If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
var
int
$this