Generated from protobuf messagegoogle.cloud.lifesciences.v2beta.PersistentDisk
Namespace
Google \ Cloud \ LifeSciences \ V2beta
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ size_gb
int
The size, in GB, of the disk to attach. If the size is not specified, a default is chosen to ensure reasonable I/O performance. If the disk type is specified aslocal-ssd, multiple local drives are automatically combined to provide the requested size. Note, however, that each physical SSD is 375GB in size, and no more than 8 drives can be attached to a single instance.
↳ type
string
The Compute Engine disk type. If unspecified,pd-standardis used.
↳ source_image
string
An image to put on the disk before attaching it to the VM.
getSizeGb
The size, in GB, of the disk to attach. If the size is not
specified, a default is chosen to ensure reasonable I/O performance.
If the disk type is specified aslocal-ssd, multiple local drives are
automatically combined to provide the requested size. Note, however, that
each physical SSD is 375GB in size, and no more than 8 drives can be
attached to a single instance.
Returns
Type
Description
int
setSizeGb
The size, in GB, of the disk to attach. If the size is not
specified, a default is chosen to ensure reasonable I/O performance.
If the disk type is specified aslocal-ssd, multiple local drives are
automatically combined to provide the requested size. Note, however, that
each physical SSD is 375GB in size, and no more than 8 drives can be
attached to a single instance.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getType
The Compute Engine disk type. If unspecified,pd-standardis used.
Returns
Type
Description
string
setType
The Compute Engine disk type. If unspecified,pd-standardis used.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getSourceImage
An image to put on the disk before attaching it to the VM.
Returns
Type
Description
string
setSourceImage
An image to put on the disk before attaching it to the VM.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Life Sciences V2beta Client - Class PersistentDisk (0.7.3)\n\nVersion latestkeyboard_arrow_down\n\n- [0.7.3 (latest)](/php/docs/reference/cloud-life-sciences/latest/V2beta.PersistentDisk)\n- [0.7.2](/php/docs/reference/cloud-life-sciences/0.7.2/V2beta.PersistentDisk)\n- [0.6.8](/php/docs/reference/cloud-life-sciences/0.6.8/V2beta.PersistentDisk)\n- [0.5.4](/php/docs/reference/cloud-life-sciences/0.5.4/V2beta.PersistentDisk)\n- [0.4.0](/php/docs/reference/cloud-life-sciences/0.4.0/V2beta.PersistentDisk)\n- [0.3.5](/php/docs/reference/cloud-life-sciences/0.3.5/V2beta.PersistentDisk) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Life Sciences V2beta Client class PersistentDisk.\n\nConfiguration for a persistent disk to be attached to the VM.\n\nSee \u003chttps://cloud.google.com/compute/docs/disks/performance\u003e for more\ninformation about disk type, size, and performance considerations.\n\nGenerated from protobuf message `google.cloud.lifesciences.v2beta.PersistentDisk`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ LifeSciences \\\\ V2beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSizeGb\n\nThe size, in GB, of the disk to attach. If the size is not\nspecified, a default is chosen to ensure reasonable I/O performance.\n\nIf the disk type is specified as `local-ssd`, multiple local drives are\nautomatically combined to provide the requested size. Note, however, that\neach physical SSD is 375GB in size, and no more than 8 drives can be\nattached to a single instance.\n\n### setSizeGb\n\nThe size, in GB, of the disk to attach. If the size is not\nspecified, a default is chosen to ensure reasonable I/O performance.\n\nIf the disk type is specified as `local-ssd`, multiple local drives are\nautomatically combined to provide the requested size. Note, however, that\neach physical SSD is 375GB in size, and no more than 8 drives can be\nattached to a single instance.\n\n### getType\n\nThe Compute Engine disk type. If unspecified, `pd-standard` is used.\n\n### setType\n\nThe Compute Engine disk type. If unspecified, `pd-standard` is used.\n\n### getSourceImage\n\nAn image to put on the disk before attaching it to the VM.\n\n### setSourceImage\n\nAn image to put on the disk before attaching it to the VM."]]