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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TargetConfiguration

Returns a new instance of TargetConfiguration



2168
2169
2170
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2168

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

Instance Attribute Details

#configGoogle::Apis::DeploymentmanagerV2beta::ConfigFile

Corresponds to the JSON property config



2159
2160
2161
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2159

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



2166
2167
2168
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2166

def imports
  @imports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2173
2174
2175
2176
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2173

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