Data Loss Prevention V2 Client - Class CloudStoragePath (1.10.2)

Reference documentation and code samples for the Data Loss Prevention V2 Client class CloudStoragePath.

Message representing a single file or path in Cloud Storage.

Generated from protobuf message google.privacy.dlp.v2.CloudStoragePath

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ path string

A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt

getPath

A url representing a file or path (no wildcards) in Cloud Storage.

Example: gs://[BUCKET_NAME]/dictionary.txt

Returns
TypeDescription
string

setPath

A url representing a file or path (no wildcards) in Cloud Storage.

Example: gs://[BUCKET_NAME]/dictionary.txt

Parameter
NameDescription
var string
Returns
TypeDescription
$this