Google Cloud Security Command Center V2 Client - Class DiskPath (2.0.3)

Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class DiskPath.

Path of the file in terms of underlying disk/partition identifiers.

Generated from protobuf message google.cloud.securitycenter.v2.File.DiskPath

Namespace

Google \ Cloud \ SecurityCenter \ V2 \ 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