Google Cloud Security Command Center V1 Client - Class DiskPath (1.29.0)

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 \ File

Methods

__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

Returns
Type Description
string

setPartitionUuid

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