Class: Google::Apis::DeploymentmanagerAlpha::Options
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerAlpha::Options
- 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 allows customized resource handling by Deployment Manager.
Instance Attribute Summary collapse
-
#input_mappings ⇒ Array<Google::Apis::DeploymentmanagerAlpha::InputMapping>
The mappings that apply for requests.
-
#name_property ⇒ String
The json path to the field in the resource JSON body into which the resource name should be mapped.
-
#validation_options ⇒ Google::Apis::DeploymentmanagerAlpha::ValidationOptions
Options for how to validate and process properties on a resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Options
constructor
A new instance of Options.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Options
Returns a new instance of Options
1444 1445 1446 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1444 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input_mappings ⇒ Array<Google::Apis::DeploymentmanagerAlpha::InputMapping>
The mappings that apply for requests.
Corresponds to the JSON property inputMappings
1430 1431 1432 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1430 def input_mappings @input_mappings end |
#name_property ⇒ String
The json path to the field in the resource JSON body into which the resource
name should be mapped. Leaving this empty indicates that there should be no
mapping performed.
Corresponds to the JSON property nameProperty
1437 1438 1439 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1437 def name_property @name_property end |
#validation_options ⇒ Google::Apis::DeploymentmanagerAlpha::ValidationOptions
Options for how to validate and process properties on a resource.
Corresponds to the JSON property validationOptions
1442 1443 1444 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1442 def @validation_options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1449 1450 1451 1452 1453 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1449 def update!(**args) @input_mappings = args[:input_mappings] if args.key?(:input_mappings) @name_property = args[:name_property] if args.key?(:name_property) @validation_options = args[:validation_options] if args.key?(:validation_options) end |