Generated from protobuf messagegoogle.cloud.lifesciences.v2beta.Volume
Namespace
Google \ Cloud \ LifeSciences \ V2beta
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ volume
string
A user-supplied name for the volume. Used when mounting the volume intoActions. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.
A user-supplied name for the volume. Used when mounting the volume intoActions. The name must contain
only upper and lowercase alphanumeric characters and hyphens and cannot
start with a hyphen.
Returns
Type
Description
string
setVolume
A user-supplied name for the volume. Used when mounting the volume intoActions. The name must contain
only upper and lowercase alphanumeric characters and hyphens and cannot
start with a hyphen.
[[["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-09 UTC."],[],[],null,["# Google Cloud Life Sciences V2beta Client - Class Volume (0.7.3)\n\nVersion latestkeyboard_arrow_down\n\n- [0.7.3 (latest)](/php/docs/reference/cloud-life-sciences/latest/V2beta.Volume)\n- [0.7.2](/php/docs/reference/cloud-life-sciences/0.7.2/V2beta.Volume)\n- [0.6.8](/php/docs/reference/cloud-life-sciences/0.6.8/V2beta.Volume)\n- [0.5.4](/php/docs/reference/cloud-life-sciences/0.5.4/V2beta.Volume)\n- [0.4.0](/php/docs/reference/cloud-life-sciences/0.4.0/V2beta.Volume)\n- [0.3.5](/php/docs/reference/cloud-life-sciences/0.3.5/V2beta.Volume) \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 Volume.\n\nCarries information about storage that can be attached to a VM.\n\nSpecify either [`Volume`](/php/docs/reference/cloud-life-sciences/latest/V2beta.Volume) or\n[`Disk`](/php/docs/reference/cloud-life-sciences/latest/V2beta.Disk), but not both.\n\nGenerated from protobuf message `google.cloud.lifesciences.v2beta.Volume`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ LifeSciences \\\\ V2beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getVolume\n\nA user-supplied name for the volume. Used when mounting the volume into\n[`Actions`](/php/docs/reference/cloud-life-sciences/latest/V2beta.Action). The name must contain\nonly upper and lowercase alphanumeric characters and hyphens and cannot\nstart with a hyphen.\n\n### setVolume\n\nA user-supplied name for the volume. Used when mounting the volume into\n[`Actions`](/php/docs/reference/cloud-life-sciences/latest/V2beta.Action). The name must contain\nonly upper and lowercase alphanumeric characters and hyphens and cannot\nstart with a hyphen.\n\n### getPersistentDisk\n\nConfiguration for a persistent disk.\n\n### hasPersistentDisk\n\n### setPersistentDisk\n\nConfiguration for a persistent disk.\n\n### getExistingDisk\n\nConfiguration for a existing disk.\n\n### hasExistingDisk\n\n### setExistingDisk\n\nConfiguration for a existing disk.\n\n### getNfsMount\n\nConfiguration for an NFS mount.\n\n### hasNfsMount\n\n### setNfsMount\n\nConfiguration for an NFS mount.\n\n### getStorage"]]