Class: Google::Apis::DeploymentmanagerAlpha::TargetConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerAlpha::TargetConfiguration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/deploymentmanager_alpha/classes.rb,
lib/google/apis/deploymentmanager_alpha/representations.rb,
lib/google/apis/deploymentmanager_alpha/representations.rb
Instance Attribute Summary collapse
-
#config ⇒ Google::Apis::DeploymentmanagerAlpha::ConfigFile
The configuration to use for this deployment.
-
#imports ⇒ Array<Google::Apis::DeploymentmanagerAlpha::ImportFile>
Specifies any files to import for this configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TargetConfiguration
constructor
A new instance of TargetConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TargetConfiguration
Returns a new instance of TargetConfiguration.
2673 2674 2675 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2673 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ Google::Apis::DeploymentmanagerAlpha::ConfigFile
The configuration to use for this deployment.
Corresponds to the JSON property config
2664 2665 2666 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2664 def config @config end |
#imports ⇒ Array<Google::Apis::DeploymentmanagerAlpha::ImportFile>
Specifies any files to import for this configuration. This can be used to
import templates or other files. For example, you might import a text file in
order to use the file in a template.
Corresponds to the JSON property imports
2671 2672 2673 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2671 def imports @imports end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2678 2679 2680 2681 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2678 def update!(**args) @config = args[:config] if args.key?(:config) @imports = args[:imports] if args.key?(:imports) end |