Class: Google::Apis::DeploymentmanagerAlpha::ValidationOptions
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DeploymentmanagerAlpha::ValidationOptions
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/deploymentmanager_alpha/classes.rb,
 generated/google/apis/deploymentmanager_alpha/representations.rb,
 generated/google/apis/deploymentmanager_alpha/representations.rb
Overview
Options for how to validate and process properties on a resource.
Instance Attribute Summary collapse
- 
  
    
      #schema_validation  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Customize how deployment manager will validate the resource against schema errors. 
- 
  
    
      #undeclared_properties  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Specify what to do with extra properties when executing a request. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ValidationOptions 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ValidationOptions. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ValidationOptions
Returns a new instance of ValidationOptions
| 2764 2765 2766 | # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2764 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#schema_validation ⇒ String
Customize how deployment manager will validate the resource against schema
errors.
Corresponds to the JSON property schemaValidation
| 2757 2758 2759 | # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2757 def schema_validation @schema_validation end | 
#undeclared_properties ⇒ String
Specify what to do with extra properties when executing a request.
Corresponds to the JSON property undeclaredProperties
| 2762 2763 2764 | # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2762 def undeclared_properties @undeclared_properties end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2769 2770 2771 2772 | # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2769 def update!(**args) @schema_validation = args[:schema_validation] if args.key?(:schema_validation) @undeclared_properties = args[:undeclared_properties] if args.key?(:undeclared_properties) end |