Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CloudStorageKey
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CloudStorageKey
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb
Overview
Record key for a finding in a Cloud Storage file.
Instance Attribute Summary collapse
-
#file_path ⇒ String
Path to the file.
-
#start_offset ⇒ Fixnum
Byte offset of the referenced data in the file.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2CloudStorageKey
constructor
A new instance of GooglePrivacyDlpV2beta2CloudStorageKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2CloudStorageKey
Returns a new instance of GooglePrivacyDlpV2beta2CloudStorageKey
2099 2100 2101 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2099 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_path ⇒ String
Path to the file.
Corresponds to the JSON property filePath
2092 2093 2094 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2092 def file_path @file_path end |
#start_offset ⇒ Fixnum
Byte offset of the referenced data in the file.
Corresponds to the JSON property startOffset
2097 2098 2099 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2097 def start_offset @start_offset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2104 2105 2106 2107 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2104 def update!(**args) @file_path = args[:file_path] if args.key?(:file_path) @start_offset = args[:start_offset] if args.key?(:start_offset) end |