Class: Google::Apis::DlpV2::GooglePrivacyDlpV2Regex
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2Regex
 
- 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
Message defining a custom regular expression.
Instance Attribute Summary collapse
- 
  
    
      #pattern  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Pattern defining the regular expression. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2Regex 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GooglePrivacyDlpV2Regex. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2Regex
Returns a new instance of GooglePrivacyDlpV2Regex
| 3899 3900 3901 | # File 'generated/google/apis/dlp_v2/classes.rb', line 3899 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#pattern ⇒ String
Pattern defining the regular expression.
Corresponds to the JSON property pattern
| 3897 3898 3899 | # File 'generated/google/apis/dlp_v2/classes.rb', line 3897 def pattern @pattern end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3904 3905 3906 | # File 'generated/google/apis/dlp_v2/classes.rb', line 3904 def update!(**args) @pattern = args[:pattern] if args.key?(:pattern) end |