Class: Google::Apis::OsconfigV1beta::PatchJobInstanceDetailsSummary

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/osconfig_v1beta/classes.rb,
generated/google/apis/osconfig_v1beta/representations.rb,
generated/google/apis/osconfig_v1beta/representations.rb

Overview

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PatchJobInstanceDetailsSummary

Returns a new instance of PatchJobInstanceDetailsSummary.



1859
1860
1861
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1859

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#acked_instance_countFixnum

Number of instances that have acked and will start shortly. Corresponds to the JSON property ackedInstanceCount

Returns:

  • (Fixnum)


1785
1786
1787
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1785

def acked_instance_count
  @acked_instance_count
end

#applying_patches_instance_countFixnum

Number of instances that are applying patches. Corresponds to the JSON property applyingPatchesInstanceCount

Returns:

  • (Fixnum)


1790
1791
1792
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1790

def applying_patches_instance_count
  @applying_patches_instance_count
end

#downloading_patches_instance_countFixnum

Number of instances that are downloading patches. Corresponds to the JSON property downloadingPatchesInstanceCount

Returns:

  • (Fixnum)


1795
1796
1797
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1795

def downloading_patches_instance_count
  @downloading_patches_instance_count
end

#failed_instance_countFixnum

Number of instances that failed. Corresponds to the JSON property failedInstanceCount

Returns:

  • (Fixnum)


1800
1801
1802
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1800

def failed_instance_count
  @failed_instance_count
end

#inactive_instance_countFixnum

Number of instances that are inactive. Corresponds to the JSON property inactiveInstanceCount

Returns:

  • (Fixnum)


1805
1806
1807
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1805

def inactive_instance_count
  @inactive_instance_count
end

#no_agent_detected_instance_countFixnum

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

Returns:

  • (Fixnum)


1812
1813
1814
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1812

def no_agent_detected_instance_count
  @no_agent_detected_instance_count
end

#notified_instance_countFixnum

Number of instances notified about patch job. Corresponds to the JSON property notifiedInstanceCount

Returns:

  • (Fixnum)


1817
1818
1819
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1817

def notified_instance_count
  @notified_instance_count
end

#pending_instance_countFixnum

Number of instances pending patch job. Corresponds to the JSON property pendingInstanceCount

Returns:

  • (Fixnum)


1822
1823
1824
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1822

def pending_instance_count
  @pending_instance_count
end

#post_patch_step_instance_countFixnum

Number of instances that are running the post-patch step. Corresponds to the JSON property postPatchStepInstanceCount

Returns:

  • (Fixnum)


1827
1828
1829
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1827

def post_patch_step_instance_count
  @post_patch_step_instance_count
end

#pre_patch_step_instance_countFixnum

Number of instances that are running the pre-patch step. Corresponds to the JSON property prePatchStepInstanceCount

Returns:

  • (Fixnum)


1832
1833
1834
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1832

def pre_patch_step_instance_count
  @pre_patch_step_instance_count
end

#rebooting_instance_countFixnum

Number of instances rebooting. Corresponds to the JSON property rebootingInstanceCount

Returns:

  • (Fixnum)


1837
1838
1839
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1837

def rebooting_instance_count
  @rebooting_instance_count
end

#started_instance_countFixnum

Number of instances that have started. Corresponds to the JSON property startedInstanceCount

Returns:

  • (Fixnum)


1842
1843
1844
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1842

def started_instance_count
  @started_instance_count
end

#succeeded_instance_countFixnum

Number of instances that have completed successfully. Corresponds to the JSON property succeededInstanceCount

Returns:

  • (Fixnum)


1847
1848
1849
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1847

def succeeded_instance_count
  @succeeded_instance_count
end

#succeeded_reboot_required_instance_countFixnum

Number of instances that require reboot. Corresponds to the JSON property succeededRebootRequiredInstanceCount

Returns:

  • (Fixnum)


1852
1853
1854
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1852

def succeeded_reboot_required_instance_count
  @succeeded_reboot_required_instance_count
end

#timed_out_instance_countFixnum

Number of instances that exceeded the time out while applying the patch. Corresponds to the JSON property timedOutInstanceCount

Returns:

  • (Fixnum)


1857
1858
1859
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1857

def timed_out_instance_count
  @timed_out_instance_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1864

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