Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Finding
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Finding
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/representations.rb
Overview
Container structure describing a single finding within a string or image.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Timestamp when finding was detected.
-
#info_type ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType
Type of information detected by the API.
-
#likelihood ⇒ String
Estimate of how likely it is that the info_type is correct.
-
#location ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Location
Specifies the location of a finding within its source item.
-
#quote ⇒ String
The specific string that may be potentially sensitive info.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1Finding
constructor
A new instance of GooglePrivacyDlpV2beta1Finding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1Finding
Returns a new instance of GooglePrivacyDlpV2beta1Finding
1301 1302 1303 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1301 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Timestamp when finding was detected.
Corresponds to the JSON property createTime
1279 1280 1281 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1279 def create_time @create_time end |
#info_type ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType
Type of information detected by the API.
Corresponds to the JSON property infoType
1284 1285 1286 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1284 def info_type @info_type end |
#likelihood ⇒ String
Estimate of how likely it is that the info_type is correct.
Corresponds to the JSON property likelihood
1289 1290 1291 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1289 def likelihood @likelihood end |
#location ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Location
Specifies the location of a finding within its source item.
Corresponds to the JSON property location
1294 1295 1296 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1294 def location @location end |
#quote ⇒ String
The specific string that may be potentially sensitive info.
Corresponds to the JSON property quote
1299 1300 1301 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1299 def quote @quote end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1306 1307 1308 1309 1310 1311 1312 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1306 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @info_type = args[:info_type] if args.key?(:info_type) @likelihood = args[:likelihood] if args.key?(:likelihood) @location = args[:location] if args.key?(:location) @quote = args[:quote] if args.key?(:quote) end |