class Google::Apis::DeploymentmanagerAlpha::ValidationOptions
Options
for how to validate and process properties on a resource.
Attributes
schema_validation[RW]
Customize how deployment manager will validate the resource against schema errors. Corresponds to the JSON property `schemaValidation` @return [String]
undeclared_properties[RW]
Specify what to do with extra properties when executing a request. Corresponds to the JSON property `undeclaredProperties` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/deploymentmanager_alpha/classes.rb, line 2609 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/deploymentmanager_alpha/classes.rb, line 2614 def update!(**args) @schema_validation = args[:schema_validation] if args.key?(:schema_validation) @undeclared_properties = args[:undeclared_properties] if args.key?(:undeclared_properties) end