Class: Google::Apis::DeploymentmanagerAlpha::TargetConfiguration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TargetConfiguration

Returns a new instance of TargetConfiguration.



2085
2086
2087
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2085

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

Instance Attribute Details

#configGoogle::Apis::DeploymentmanagerAlpha::ConfigFile

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



2076
2077
2078
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2076

def config
  @config
end

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



2083
2084
2085
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2083

def imports
  @imports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2090
2091
2092
2093
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2090

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