Data Loss Prevention V2 Client - Class CloudStoragePath (2.2.0)

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
Name Description
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
Type Description
string

setPath

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

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

Parameter
Name Description
var string
Returns
Type Description
$this