Class: Google::Privacy::Dlp::V2::ByteContentItem
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Privacy::Dlp::V2::ByteContentItem
 
 
- Defined in:
 - lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb
 
Overview
Container for bytes to inspect or redact.
Defined Under Namespace
Modules: BytesType
Instance Attribute Summary collapse
- 
  
    
      #data  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Content data to inspect or redact.
 - 
  
    
      #type  ⇒ Google::Privacy::Dlp::V2::ByteContentItem::BytesType 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The type of data stored in the bytes string.
 
Instance Attribute Details
#data ⇒ String
Returns Content data to inspect or redact.
      96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112  | 
    
      # File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 96 class ByteContentItem module BytesType BYTES_TYPE_UNSPECIFIED = 0 IMAGE = 6 IMAGE_JPEG = 1 IMAGE_BMP = 2 IMAGE_PNG = 3 IMAGE_SVG = 4 TEXT_UTF8 = 5 end end  | 
  
#type ⇒ Google::Privacy::Dlp::V2::ByteContentItem::BytesType
Returns The type of data stored in the bytes string. Default will be TEXT_UTF8.
      96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112  | 
    
      # File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 96 class ByteContentItem module BytesType BYTES_TYPE_UNSPECIFIED = 0 IMAGE = 6 IMAGE_JPEG = 1 IMAGE_BMP = 2 IMAGE_PNG = 3 IMAGE_SVG = 4 TEXT_UTF8 = 5 end end  |