Class: Google::Apis::DlpV2::GooglePrivacyDlpV2Finding
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DlpV2::GooglePrivacyDlpV2Finding
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/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::DlpV2::GooglePrivacyDlpV2InfoType 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Type of information detected by the API.
 - 
  
    
      #likelihood  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Confidence of how likely it is that the
info_typeis correct. - 
  
    
      #location  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Location 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Specifies the location of the finding.
 - 
  
    
      #quote  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The content that was found.
 - 
  
    
      #quote_info  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2QuoteInfo 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Message for infoType-dependent details parsed from quote.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2Finding 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GooglePrivacyDlpV2Finding.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2Finding
Returns a new instance of GooglePrivacyDlpV2Finding
      2246 2247 2248  | 
    
      # File 'generated/google/apis/dlp_v2/classes.rb', line 2246 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#create_time ⇒ String
Timestamp when finding was detected.
Corresponds to the JSON property createTime
      2215 2216 2217  | 
    
      # File 'generated/google/apis/dlp_v2/classes.rb', line 2215 def create_time @create_time end  | 
  
#info_type ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType
Type of information detected by the API.
Corresponds to the JSON property infoType
      2220 2221 2222  | 
    
      # File 'generated/google/apis/dlp_v2/classes.rb', line 2220 def info_type @info_type end  | 
  
#likelihood ⇒ String
Confidence of how likely it is that the info_type is correct.
Corresponds to the JSON property likelihood
      2225 2226 2227  | 
    
      # File 'generated/google/apis/dlp_v2/classes.rb', line 2225 def likelihood @likelihood end  | 
  
#location ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Location
Specifies the location of the finding.
Corresponds to the JSON property location
      2230 2231 2232  | 
    
      # File 'generated/google/apis/dlp_v2/classes.rb', line 2230 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 include_quote is true 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
      2239 2240 2241  | 
    
      # File 'generated/google/apis/dlp_v2/classes.rb', line 2239 def quote @quote end  | 
  
#quote_info ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2QuoteInfo
Message for infoType-dependent details parsed from quote.
Corresponds to the JSON property quoteInfo
      2244 2245 2246  | 
    
      # File 'generated/google/apis/dlp_v2/classes.rb', line 2244 def quote_info @quote_info end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2251 2252 2253 2254 2255 2256 2257 2258  | 
    
      # File 'generated/google/apis/dlp_v2/classes.rb', line 2251 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) @quote_info = args[:quote_info] if args.key?(:quote_info) end  |