Class: Google::Apis::DeploymentmanagerV2beta2::TargetConfiguration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TargetConfiguration

Returns a new instance of TargetConfiguration.



769
770
771
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 769

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

Instance Attribute Details

#configString

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

Returns:

  • (String)


760
761
762
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 760

def config
  @config
end

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



767
768
769
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 767

def imports
  @imports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



774
775
776
777
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 774

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