Reference documentation and code samples for the Google Cloud Chronicle Client class Volume.
Information about a storage volume.
Generated from protobuf message google.backstory.Volume
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ file_system |
string
The name of the file system on the volume (e.g., "NTFS", "FAT32"). |
↳ mount_point |
string
The path where the volume is mounted (e.g., "C:", "/mnt/data"). |
↳ device_path |
string
The system path to the device (e.g., "\.\HarddiskVolume1", "/dev/sda1"). |
↳ is_mounted |
bool
Indicates whether the volume is currently mounted. |
↳ is_read_only |
bool
Indicates whether the volume is mounted as read-only. |
↳ name |
string
The user-assigned label or name for the volume. |
getFileSystem
The name of the file system on the volume (e.g., "NTFS", "FAT32").
| Returns | |
|---|---|
| Type | Description |
string |
|
setFileSystem
The name of the file system on the volume (e.g., "NTFS", "FAT32").
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMountPoint
The path where the volume is mounted (e.g., "C:", "/mnt/data").
| Returns | |
|---|---|
| Type | Description |
string |
|
setMountPoint
The path where the volume is mounted (e.g., "C:", "/mnt/data").
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDevicePath
The system path to the device (e.g., "\.\HarddiskVolume1", "/dev/sda1").
| Returns | |
|---|---|
| Type | Description |
string |
|
setDevicePath
The system path to the device (e.g., "\.\HarddiskVolume1", "/dev/sda1").
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIsMounted
Indicates whether the volume is currently mounted.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setIsMounted
Indicates whether the volume is currently mounted.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIsReadOnly
Indicates whether the volume is mounted as read-only.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setIsReadOnly
Indicates whether the volume is mounted as read-only.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getName
The user-assigned label or name for the volume.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
The user-assigned label or name for the volume.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|