Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Finding
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Finding
- 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
Represents a piece of potentially sensitive content.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Timestamp when finding was detected.
-
#info_type ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType
Type of information detected by the API.
-
#likelihood ⇒ String
Estimate of how likely it is that the
info_typeis correct. -
#location ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Location
Specifies the location of the finding.
-
#quote ⇒ String
The content that was found.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2Finding
constructor
A new instance of GooglePrivacyDlpV2beta2Finding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2Finding
Returns a new instance of GooglePrivacyDlpV2beta2Finding
2920 2921 2922 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2920 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Timestamp when finding was detected.
Corresponds to the JSON property createTime
2896 2897 2898 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2896 def create_time @create_time end |
#info_type ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType
Type of information detected by the API.
Corresponds to the JSON property infoType
2901 2902 2903 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2901 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
2906 2907 2908 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2906 def likelihood @likelihood end |
#location ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Location
Specifies the location of the finding.
Corresponds to the JSON property location
2911 2912 2913 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2911 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.
Corresponds to the JSON property quote
2918 2919 2920 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2918 def quote @quote end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2925 2926 2927 2928 2929 2930 2931 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2925 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 |