Class: Google::Apis::DeploymentmanagerV2::TargetConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2::TargetConfiguration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/deploymentmanager_v2/classes.rb,
generated/google/apis/deploymentmanager_v2/representations.rb,
generated/google/apis/deploymentmanager_v2/representations.rb
Instance Attribute Summary collapse
-
#config ⇒ Google::Apis::DeploymentmanagerV2::ConfigFile
Corresponds to the JSON property
config
. -
#imports ⇒ Array<Google::Apis::DeploymentmanagerV2::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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TargetConfiguration
Returns a new instance of TargetConfiguration
1721 1722 1723 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1721 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ Google::Apis::DeploymentmanagerV2::ConfigFile
Corresponds to the JSON property config
1712 1713 1714 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1712 def config @config end |
#imports ⇒ Array<Google::Apis::DeploymentmanagerV2::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
1719 1720 1721 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1719 def imports @imports end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1726 1727 1728 1729 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1726 def update!(**args) @config = args[:config] if args.key?(:config) @imports = args[:imports] if args.key?(:imports) end |