Class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStoragePath
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStoragePath
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
Message representing a single file or path in Cloud Storage.
Instance Attribute Summary collapse
-
#path ⇒ String
A URL representing a file or path (no wildcards) in Cloud Storage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2CloudStoragePath
constructor
A new instance of GooglePrivacyDlpV2CloudStoragePath.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2CloudStoragePath
Returns a new instance of GooglePrivacyDlpV2CloudStoragePath.
1343 1344 1345 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 1343 def initialize(**args) update!(**args) end |
Instance Attribute Details
#path ⇒ String
A URL representing a file or path (no wildcards) in Cloud Storage. Example:
gs://[BUCKET_NAME]/dictionary.txt
Corresponds to the JSON property path
1341 1342 1343 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 1341 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1348 1349 1350 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 1348 def update!(**args) @path = args[:path] if args.key?(:path) end |