Data Loss Prevention V2 Client - Class CloudStoragePath (2.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-30 UTC."],[],[]]