class Google::Apis::DeploymentmanagerAlpha::ResourceUpdate

Attributes

access_control[RW]

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

credential[RW]

The credential used by Deployment Manager and TypeProvider. Only one of the options is permitted. Corresponds to the JSON property `credential` @return [Google::Apis::DeploymentmanagerAlpha::Credential]

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::DeploymentmanagerAlpha::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]

runtime_policies[RW]

Output only. In case this is an action, it will show the runtimePolicies that this action will have after updating the deployment. Corresponds to the JSON property `runtimePolicies` @return [Array<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::DeploymentmanagerAlpha::ResourceUpdate::Warning>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/deploymentmanager_alpha/classes.rb, line 1907
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_alpha/classes.rb, line 1912
def update!(**args)
  @access_control = args[:access_control] if args.key?(:access_control)
  @credential = args[:credential] if args.key?(:credential)
  @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)
  @runtime_policies = args[:runtime_policies] if args.key?(:runtime_policies)
  @state = args[:state] if args.key?(:state)
  @warnings = args[:warnings] if args.key?(:warnings)
end