class Google::Apis::DeploymentmanagerV2::ResourceUpdate

Attributes

error[RW]
Output Only

If errors are generated during update of the resource, this

field will be populated. Corresponds to the JSON property `error` @return [Google::Apis::DeploymentmanagerV2::ResourceUpdate::Error]

final_properties[RW]
Output Only

The expanded properties of the resource with reference values

expanded. Returned as serialized YAML. Corresponds to the JSON property `finalProperties` @return [String]

intent[RW]
Output Only

The intent of the resource: PREVIEW, UPDATE, or CANCEL.

Corresponds to the JSON property `intent` @return [String]

manifest[RW]
Output Only

URL of the manifest representing the update configuration of

this resource. Corresponds to the JSON property `manifest` @return [String]

properties[RW]
Output Only

The set of updated properties for this resource, before

references are expanded. Returned as serialized YAML. Corresponds to the JSON property `properties` @return [String]

state[RW]
Output Only

The state of the resource.

Corresponds to the JSON property `state` @return [String]

warnings[RW]
Output Only

If warning messages are generated during processing of this

resource, this field will be populated. Corresponds to the JSON property `warnings` @return [Array<Google::Apis::DeploymentmanagerV2::ResourceUpdate::Warning>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/deploymentmanager_v2/classes.rb, line 920
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/deploymentmanager_v2/classes.rb, line 925
def update!(**args)
  @error = args[:error] if args.key?(:error)
  @final_properties = args[:final_properties] if args.key?(:final_properties)
  @intent = args[:intent] if args.key?(:intent)
  @manifest = args[:manifest] if args.key?(:manifest)
  @properties = args[:properties] if args.key?(:properties)
  @state = args[:state] if args.key?(:state)
  @warnings = args[:warnings] if args.key?(:warnings)
end