Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class DiskPath.
Path of the file in terms of underlying disk/partition identifiers.
Generated from protobuf message google.cloud.securitycenter.v1.File.DiskPath
Namespace
Google \ Cloud \ SecurityCenter \ V1 \ FileMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ partition_uuid |
string
UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid) |
↳ relative_path |
string
Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh |
getPartitionUuid
UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
| Returns | |
|---|---|
| Type | Description |
string |
|
setPartitionUuid
UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRelativePath
Relative path of the file in the partition as a JSON encoded string.
Example: /home/user1/executable_file.sh
| Returns | |
|---|---|
| Type | Description |
string |
|
setRelativePath
Relative path of the file in the partition as a JSON encoded string.
Example: /home/user1/executable_file.sh
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|