# Google Cloud Life Sciences V2beta Client - Class Mount (0.9.0)

0.9.0 (latest) 0.8.1 0.7.3 0.6.8 0.5.4 0.4.0 0.3.5

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Life Sciences V2beta Client class Mount.

Carries information about a particular disk mount inside a container.

Generated from protobuf message `google.cloud.lifesciences.v2beta.Mount`

## Namespace

Google \\ Cloud \\ LifeSciences \\ V2beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ disk` | `string` The name of the disk to mount, as specified in the resources section. |
| `↳ path` | `string` The path to mount the disk inside the container. |
| `↳ read_only` | `bool` If true, the disk is mounted read-only inside the container. |

### getDisk

The name of the disk to mount, as specified in the resources section.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDisk

The name of the disk to mount, as specified in the resources section.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPath

The path to mount the disk inside the container.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPath

The path to mount the disk inside the container.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getReadOnly

If true, the disk is mounted read-only inside the container.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setReadOnly

If true, the disk is mounted read-only inside the container.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |