Class: Google::Apis::OsconfigV1beta::PatchJobInstanceDetailsSummary
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1beta::PatchJobInstanceDetailsSummary
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/osconfig_v1beta/classes.rb,
lib/google/apis/osconfig_v1beta/representations.rb,
lib/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
-
#acked_instance_count ⇒ Fixnum
Number of instances that have acked and will start shortly.
-
#applying_patches_instance_count ⇒ Fixnum
Number of instances that are applying patches.
-
#downloading_patches_instance_count ⇒ Fixnum
Number of instances that are downloading patches.
-
#failed_instance_count ⇒ Fixnum
Number of instances that failed.
-
#inactive_instance_count ⇒ Fixnum
Number of instances that are inactive.
-
#no_agent_detected_instance_count ⇒ Fixnum
Number of instances that do not appear to be running the agent.
-
#notified_instance_count ⇒ Fixnum
Number of instances notified about patch job.
-
#pending_instance_count ⇒ Fixnum
Number of instances pending patch job.
-
#post_patch_step_instance_count ⇒ Fixnum
Number of instances that are running the post-patch step.
-
#pre_patch_step_instance_count ⇒ Fixnum
Number of instances that are running the pre-patch step.
-
#rebooting_instance_count ⇒ Fixnum
Number of instances rebooting.
-
#started_instance_count ⇒ Fixnum
Number of instances that have started.
-
#succeeded_instance_count ⇒ Fixnum
Number of instances that have completed successfully.
-
#succeeded_reboot_required_instance_count ⇒ Fixnum
Number of instances that require reboot.
-
#timed_out_instance_count ⇒ Fixnum
Number of instances that exceeded the time out while applying the patch.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PatchJobInstanceDetailsSummary
constructor
A new instance of PatchJobInstanceDetailsSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PatchJobInstanceDetailsSummary
Returns a new instance of PatchJobInstanceDetailsSummary.
1544 1545 1546 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1544 def initialize(**args) update!(**args) end |
Instance Attribute Details
#acked_instance_count ⇒ Fixnum
Number of instances that have acked and will start shortly.
Corresponds to the JSON property ackedInstanceCount
1470 1471 1472 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1470 def acked_instance_count @acked_instance_count end |
#applying_patches_instance_count ⇒ Fixnum
Number of instances that are applying patches.
Corresponds to the JSON property applyingPatchesInstanceCount
1475 1476 1477 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1475 def @applying_patches_instance_count end |
#downloading_patches_instance_count ⇒ Fixnum
Number of instances that are downloading patches.
Corresponds to the JSON property downloadingPatchesInstanceCount
1480 1481 1482 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1480 def downloading_patches_instance_count @downloading_patches_instance_count end |
#failed_instance_count ⇒ Fixnum
Number of instances that failed.
Corresponds to the JSON property failedInstanceCount
1485 1486 1487 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1485 def failed_instance_count @failed_instance_count end |
#inactive_instance_count ⇒ Fixnum
Number of instances that are inactive.
Corresponds to the JSON property inactiveInstanceCount
1490 1491 1492 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1490 def inactive_instance_count @inactive_instance_count end |
#no_agent_detected_instance_count ⇒ Fixnum
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
1497 1498 1499 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1497 def no_agent_detected_instance_count @no_agent_detected_instance_count end |
#notified_instance_count ⇒ Fixnum
Number of instances notified about patch job.
Corresponds to the JSON property notifiedInstanceCount
1502 1503 1504 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1502 def notified_instance_count @notified_instance_count end |
#pending_instance_count ⇒ Fixnum
Number of instances pending patch job.
Corresponds to the JSON property pendingInstanceCount
1507 1508 1509 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1507 def pending_instance_count @pending_instance_count end |
#post_patch_step_instance_count ⇒ Fixnum
Number of instances that are running the post-patch step.
Corresponds to the JSON property postPatchStepInstanceCount
1512 1513 1514 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1512 def post_patch_step_instance_count @post_patch_step_instance_count end |
#pre_patch_step_instance_count ⇒ Fixnum
Number of instances that are running the pre-patch step.
Corresponds to the JSON property prePatchStepInstanceCount
1517 1518 1519 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1517 def pre_patch_step_instance_count @pre_patch_step_instance_count end |
#rebooting_instance_count ⇒ Fixnum
Number of instances rebooting.
Corresponds to the JSON property rebootingInstanceCount
1522 1523 1524 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1522 def rebooting_instance_count @rebooting_instance_count end |
#started_instance_count ⇒ Fixnum
Number of instances that have started.
Corresponds to the JSON property startedInstanceCount
1527 1528 1529 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1527 def started_instance_count @started_instance_count end |
#succeeded_instance_count ⇒ Fixnum
Number of instances that have completed successfully.
Corresponds to the JSON property succeededInstanceCount
1532 1533 1534 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1532 def succeeded_instance_count @succeeded_instance_count end |
#succeeded_reboot_required_instance_count ⇒ Fixnum
Number of instances that require reboot.
Corresponds to the JSON property succeededRebootRequiredInstanceCount
1537 1538 1539 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1537 def succeeded_reboot_required_instance_count @succeeded_reboot_required_instance_count end |
#timed_out_instance_count ⇒ Fixnum
Number of instances that exceeded the time out while applying the patch.
Corresponds to the JSON property timedOutInstanceCount
1542 1543 1544 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1542 def timed_out_instance_count @timed_out_instance_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1549 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 |