class Google::Apis::DeploymentmanagerV2::ResourceUpdate

Attributes

access_control[RW]

The access controls set on the resource. Corresponds to the JSON property `accessControl` @return [Google::Apis::DeploymentmanagerV2::ResourceAccessControl]

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 lib/google/apis/deploymentmanager_v2/classes.rb, line 1354
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/deploymentmanager_v2/classes.rb, line 1359
def update!(**args)
  @access_control = args[:access_control] if args.key?(:access_control)
  @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