Class: Google::Apis::DeploymentmanagerV2::TargetConfiguration

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TargetConfiguration

Returns a new instance of TargetConfiguration.



1510
1511
1512
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1510

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

Instance Attribute Details

#configGoogle::Apis::DeploymentmanagerV2::ConfigFile

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



1501
1502
1503
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1501

def config
  @config
end

#importsArray<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



1508
1509
1510
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1508

def imports
  @imports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1515
1516
1517
1518
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1515

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