class Google::Apis::OsconfigV1beta::PatchJobInstanceDetailsSummary

A summary of the current patch state across all instances that this patch job affects. Contains counts of instances in different states. These states map to `InstancePatchState`. List patch job instance details to see the specific states of each instance.

Attributes

acked_instance_count[RW]

Number of instances that have acked and will start shortly. Corresponds to the JSON property `ackedInstanceCount` @return [Fixnum]

applying_patches_instance_count[RW]

Number of instances that are applying patches. Corresponds to the JSON property `applyingPatchesInstanceCount` @return [Fixnum]

downloading_patches_instance_count[RW]

Number of instances that are downloading patches. Corresponds to the JSON property `downloadingPatchesInstanceCount` @return [Fixnum]

failed_instance_count[RW]

Number of instances that failed. Corresponds to the JSON property `failedInstanceCount` @return [Fixnum]

inactive_instance_count[RW]

Number of instances that are inactive. Corresponds to the JSON property `inactiveInstanceCount` @return [Fixnum]

no_agent_detected_instance_count[RW]

Number of instances that do not appear to be running the agent. Check to ensure that the agent is installed, running, and able to communicate with the service. Corresponds to the JSON property `noAgentDetectedInstanceCount` @return [Fixnum]

notified_instance_count[RW]

Number of instances notified about patch job. Corresponds to the JSON property `notifiedInstanceCount` @return [Fixnum]

pending_instance_count[RW]

Number of instances pending patch job. Corresponds to the JSON property `pendingInstanceCount` @return [Fixnum]

post_patch_step_instance_count[RW]

Number of instances that are running the post-patch step. Corresponds to the JSON property `postPatchStepInstanceCount` @return [Fixnum]

pre_patch_step_instance_count[RW]

Number of instances that are running the pre-patch step. Corresponds to the JSON property `prePatchStepInstanceCount` @return [Fixnum]

rebooting_instance_count[RW]

Number of instances rebooting. Corresponds to the JSON property `rebootingInstanceCount` @return [Fixnum]

started_instance_count[RW]

Number of instances that have started. Corresponds to the JSON property `startedInstanceCount` @return [Fixnum]

succeeded_instance_count[RW]

Number of instances that have completed successfully. Corresponds to the JSON property `succeededInstanceCount` @return [Fixnum]

succeeded_reboot_required_instance_count[RW]

Number of instances that require reboot. Corresponds to the JSON property `succeededRebootRequiredInstanceCount` @return [Fixnum]

timed_out_instance_count[RW]

Number of instances that exceeded the time out while applying the patch. Corresponds to the JSON property `timedOutInstanceCount` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/osconfig_v1beta/classes.rb, line 1486
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 1491
def update!(**args)
  @acked_instance_count = args[:acked_instance_count] if args.key?(:acked_instance_count)
  @applying_patches_instance_count = args[:applying_patches_instance_count] if args.key?(:applying_patches_instance_count)
  @downloading_patches_instance_count = args[:downloading_patches_instance_count] if args.key?(:downloading_patches_instance_count)
  @failed_instance_count = args[:failed_instance_count] if args.key?(:failed_instance_count)
  @inactive_instance_count = args[:inactive_instance_count] if args.key?(:inactive_instance_count)
  @no_agent_detected_instance_count = args[:no_agent_detected_instance_count] if args.key?(:no_agent_detected_instance_count)
  @notified_instance_count = args[:notified_instance_count] if args.key?(:notified_instance_count)
  @pending_instance_count = args[:pending_instance_count] if args.key?(:pending_instance_count)
  @post_patch_step_instance_count = args[:post_patch_step_instance_count] if args.key?(:post_patch_step_instance_count)
  @pre_patch_step_instance_count = args[:pre_patch_step_instance_count] if args.key?(:pre_patch_step_instance_count)
  @rebooting_instance_count = args[:rebooting_instance_count] if args.key?(:rebooting_instance_count)
  @started_instance_count = args[:started_instance_count] if args.key?(:started_instance_count)
  @succeeded_instance_count = args[:succeeded_instance_count] if args.key?(:succeeded_instance_count)
  @succeeded_reboot_required_instance_count = args[:succeeded_reboot_required_instance_count] if args.key?(:succeeded_reboot_required_instance_count)
  @timed_out_instance_count = args[:timed_out_instance_count] if args.key?(:timed_out_instance_count)
end