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
Represents a piece of potentially sensitive content.
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 the finding.
-
#quote ⇒ String
The content that was found.
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
1376 1377 1378 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1376 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Timestamp when finding was detected.
Corresponds to the JSON property createTime
1350 1351 1352 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1350 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
1355 1356 1357 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1355 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
1360 1361 1362 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1360 def likelihood @likelihood end |
#location ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Location
Specifies the location of the finding.
Corresponds to the JSON property location
1365 1366 1367 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1365 def location @location end |
#quote ⇒ String
The content that was found. Even if the content is not textual, it
may be converted to a textual representation here.
Provided if requested by the InspectConfig
and the finding is
less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
in length, the quote may be omitted.
Corresponds to the JSON property quote
1374 1375 1376 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1374 def quote @quote end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1381 1382 1383 1384 1385 1386 1387 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1381 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 |