Class: Google::Apis::DeploymentmanagerV2beta::TargetConfiguration

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/deploymentmanager_v2beta/classes.rb,
lib/google/apis/deploymentmanager_v2beta/representations.rb,
lib/google/apis/deploymentmanager_v2beta/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TargetConfiguration

Returns a new instance of TargetConfiguration.



2194
2195
2196
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2194

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#configGoogle::Apis::DeploymentmanagerV2beta::ConfigFile

The configuration to use for this deployment. Corresponds to the JSON property config



2185
2186
2187
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2185

def config
  @config
end

#importsArray<Google::Apis::DeploymentmanagerV2beta::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



2192
2193
2194
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2192

def imports
  @imports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2199
2200
2201
2202
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2199

def update!(**args)
  @config = args[:config] if args.key?(:config)
  @imports = args[:imports] if args.key?(:imports)
end