Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem
 
- 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
Container for bytes to inspect or redact.
Instance Attribute Summary collapse
- 
  
    
      #data  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Content data to inspect or redact. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of data stored in the bytes string. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2ByteContentItem 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GooglePrivacyDlpV2ByteContentItem. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2ByteContentItem
Returns a new instance of GooglePrivacyDlpV2ByteContentItem
| 392 393 394 | # File 'generated/google/apis/dlp_v2/classes.rb', line 392 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#data ⇒ String
Content data to inspect or redact.
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
| 385 386 387 | # File 'generated/google/apis/dlp_v2/classes.rb', line 385 def data @data end | 
#type ⇒ String
The type of data stored in the bytes string. Default will be TEXT_UTF8.
Corresponds to the JSON property type
| 390 391 392 | # File 'generated/google/apis/dlp_v2/classes.rb', line 390 def type @type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 397 398 399 400 | # File 'generated/google/apis/dlp_v2/classes.rb', line 397 def update!(**args) @data = args[:data] if args.key?(:data) @type = args[:type] if args.key?(:type) end |