Class: Google::Apis::DeploymentmanagerV2beta2::DeploymentUpdate

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) ⇒ DeploymentUpdate

Returns a new instance of DeploymentUpdate



150
151
152
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 150

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

Instance Attribute Details

#errorsArray<String>

[Output Only] List of all errors encountered while trying to enact the update. Corresponds to the JSON property errors

Returns:

  • (Array<String>)


142
143
144
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 142

def errors
  @errors
end

#manifestString

[Output Only] URL of the manifest representing the update configuration of this deployment. Corresponds to the JSON property manifest

Returns:

  • (String)


148
149
150
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 148

def manifest
  @manifest
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



155
156
157
158
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 155

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