class Google::Apis::OsconfigV1beta::PatchJobInstanceDetails

Patch details for a VM instance. For more information about reviewing VM instance details, see [Listing all VM instance details for a specific patch job](cloud.google.com/compute/docs/os-patch-management/manage-patch- jobs#list-instance-details).

Attributes

attempt_count[RW]

The number of times the agent that the agent attempts to apply the patch. Corresponds to the JSON property `attemptCount` @return [Fixnum]

failure_reason[RW]

If the patch fails, this field provides the reason. Corresponds to the JSON property `failureReason` @return [String]

instance_system_id[RW]

The unique identifier for the instance. This identifier is defined by the server. Corresponds to the JSON property `instanceSystemId` @return [String]

name[RW]

The instance name in the form `projects//zones//instances/*` Corresponds to the JSON property `name` @return [String]

state[RW]

Current state of instance patch. Corresponds to the JSON property `state` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/osconfig_v1beta/classes.rb, line 1393
def update!(**args)
  @attempt_count = args[:attempt_count] if args.key?(:attempt_count)
  @failure_reason = args[:failure_reason] if args.key?(:failure_reason)
  @instance_system_id = args[:instance_system_id] if args.key?(:instance_system_id)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
end