Class: Google::Cloud::OsConfig::V1::PatchJob

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/osconfig/v1/patch_jobs.rb

Overview

A high level representation of a patch job that is either in progress or has completed.

Instance details are not included in the job. To paginate through instance details, use ListPatchJobInstanceDetails.

For more information about patch jobs, see Creating patch jobs.

Defined Under Namespace

Modules: State Classes: InstanceDetailsSummary

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 221

class PatchJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] pending_instance_count
  #   @return [::Integer]
  #     Number of instances pending patch job.
  # @!attribute [rw] inactive_instance_count
  #   @return [::Integer]
  #     Number of instances that are inactive.
  # @!attribute [rw] notified_instance_count
  #   @return [::Integer]
  #     Number of instances notified about patch job.
  # @!attribute [rw] started_instance_count
  #   @return [::Integer]
  #     Number of instances that have started.
  # @!attribute [rw] downloading_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are downloading patches.
  # @!attribute [rw] applying_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are applying patches.
  # @!attribute [rw] rebooting_instance_count
  #   @return [::Integer]
  #     Number of instances rebooting.
  # @!attribute [rw] succeeded_instance_count
  #   @return [::Integer]
  #     Number of instances that have completed successfully.
  # @!attribute [rw] succeeded_reboot_required_instance_count
  #   @return [::Integer]
  #     Number of instances that require reboot.
  # @!attribute [rw] failed_instance_count
  #   @return [::Integer]
  #     Number of instances that failed.
  # @!attribute [rw] acked_instance_count
  #   @return [::Integer]
  #     Number of instances that have acked and will start shortly.
  # @!attribute [rw] timed_out_instance_count
  #   @return [::Integer]
  #     Number of instances that exceeded the time out while applying the patch.
  # @!attribute [rw] pre_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the pre-patch step.
  # @!attribute [rw] post_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the post-patch step.
  # @!attribute [rw] no_agent_detected_instance_count
  #   @return [::Integer]
  #     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.
  class InstanceDetailsSummary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Enumeration of the various states a patch job passes through as it
  # executes.
  module State
    # State must be specified.
    STATE_UNSPECIFIED = 0

    # The patch job was successfully initiated.
    STARTED = 1

    # The patch job is looking up instances to run the patch on.
    INSTANCE_LOOKUP = 2

    # Instances are being patched.
    PATCHING = 3

    # Patch job completed successfully.
    SUCCEEDED = 4

    # Patch job completed but there were errors.
    COMPLETED_WITH_ERRORS = 5

    # The patch job was canceled.
    CANCELED = 6

    # The patch job timed out.
    TIMED_OUT = 7
  end
end

#description::String



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 221

class PatchJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] pending_instance_count
  #   @return [::Integer]
  #     Number of instances pending patch job.
  # @!attribute [rw] inactive_instance_count
  #   @return [::Integer]
  #     Number of instances that are inactive.
  # @!attribute [rw] notified_instance_count
  #   @return [::Integer]
  #     Number of instances notified about patch job.
  # @!attribute [rw] started_instance_count
  #   @return [::Integer]
  #     Number of instances that have started.
  # @!attribute [rw] downloading_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are downloading patches.
  # @!attribute [rw] applying_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are applying patches.
  # @!attribute [rw] rebooting_instance_count
  #   @return [::Integer]
  #     Number of instances rebooting.
  # @!attribute [rw] succeeded_instance_count
  #   @return [::Integer]
  #     Number of instances that have completed successfully.
  # @!attribute [rw] succeeded_reboot_required_instance_count
  #   @return [::Integer]
  #     Number of instances that require reboot.
  # @!attribute [rw] failed_instance_count
  #   @return [::Integer]
  #     Number of instances that failed.
  # @!attribute [rw] acked_instance_count
  #   @return [::Integer]
  #     Number of instances that have acked and will start shortly.
  # @!attribute [rw] timed_out_instance_count
  #   @return [::Integer]
  #     Number of instances that exceeded the time out while applying the patch.
  # @!attribute [rw] pre_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the pre-patch step.
  # @!attribute [rw] post_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the post-patch step.
  # @!attribute [rw] no_agent_detected_instance_count
  #   @return [::Integer]
  #     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.
  class InstanceDetailsSummary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Enumeration of the various states a patch job passes through as it
  # executes.
  module State
    # State must be specified.
    STATE_UNSPECIFIED = 0

    # The patch job was successfully initiated.
    STARTED = 1

    # The patch job is looking up instances to run the patch on.
    INSTANCE_LOOKUP = 2

    # Instances are being patched.
    PATCHING = 3

    # Patch job completed successfully.
    SUCCEEDED = 4

    # Patch job completed but there were errors.
    COMPLETED_WITH_ERRORS = 5

    # The patch job was canceled.
    CANCELED = 6

    # The patch job timed out.
    TIMED_OUT = 7
  end
end

#display_name::String



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 221

class PatchJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] pending_instance_count
  #   @return [::Integer]
  #     Number of instances pending patch job.
  # @!attribute [rw] inactive_instance_count
  #   @return [::Integer]
  #     Number of instances that are inactive.
  # @!attribute [rw] notified_instance_count
  #   @return [::Integer]
  #     Number of instances notified about patch job.
  # @!attribute [rw] started_instance_count
  #   @return [::Integer]
  #     Number of instances that have started.
  # @!attribute [rw] downloading_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are downloading patches.
  # @!attribute [rw] applying_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are applying patches.
  # @!attribute [rw] rebooting_instance_count
  #   @return [::Integer]
  #     Number of instances rebooting.
  # @!attribute [rw] succeeded_instance_count
  #   @return [::Integer]
  #     Number of instances that have completed successfully.
  # @!attribute [rw] succeeded_reboot_required_instance_count
  #   @return [::Integer]
  #     Number of instances that require reboot.
  # @!attribute [rw] failed_instance_count
  #   @return [::Integer]
  #     Number of instances that failed.
  # @!attribute [rw] acked_instance_count
  #   @return [::Integer]
  #     Number of instances that have acked and will start shortly.
  # @!attribute [rw] timed_out_instance_count
  #   @return [::Integer]
  #     Number of instances that exceeded the time out while applying the patch.
  # @!attribute [rw] pre_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the pre-patch step.
  # @!attribute [rw] post_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the post-patch step.
  # @!attribute [rw] no_agent_detected_instance_count
  #   @return [::Integer]
  #     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.
  class InstanceDetailsSummary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Enumeration of the various states a patch job passes through as it
  # executes.
  module State
    # State must be specified.
    STATE_UNSPECIFIED = 0

    # The patch job was successfully initiated.
    STARTED = 1

    # The patch job is looking up instances to run the patch on.
    INSTANCE_LOOKUP = 2

    # Instances are being patched.
    PATCHING = 3

    # Patch job completed successfully.
    SUCCEEDED = 4

    # Patch job completed but there were errors.
    COMPLETED_WITH_ERRORS = 5

    # The patch job was canceled.
    CANCELED = 6

    # The patch job timed out.
    TIMED_OUT = 7
  end
end

#dry_run::Boolean



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 221

class PatchJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] pending_instance_count
  #   @return [::Integer]
  #     Number of instances pending patch job.
  # @!attribute [rw] inactive_instance_count
  #   @return [::Integer]
  #     Number of instances that are inactive.
  # @!attribute [rw] notified_instance_count
  #   @return [::Integer]
  #     Number of instances notified about patch job.
  # @!attribute [rw] started_instance_count
  #   @return [::Integer]
  #     Number of instances that have started.
  # @!attribute [rw] downloading_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are downloading patches.
  # @!attribute [rw] applying_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are applying patches.
  # @!attribute [rw] rebooting_instance_count
  #   @return [::Integer]
  #     Number of instances rebooting.
  # @!attribute [rw] succeeded_instance_count
  #   @return [::Integer]
  #     Number of instances that have completed successfully.
  # @!attribute [rw] succeeded_reboot_required_instance_count
  #   @return [::Integer]
  #     Number of instances that require reboot.
  # @!attribute [rw] failed_instance_count
  #   @return [::Integer]
  #     Number of instances that failed.
  # @!attribute [rw] acked_instance_count
  #   @return [::Integer]
  #     Number of instances that have acked and will start shortly.
  # @!attribute [rw] timed_out_instance_count
  #   @return [::Integer]
  #     Number of instances that exceeded the time out while applying the patch.
  # @!attribute [rw] pre_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the pre-patch step.
  # @!attribute [rw] post_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the post-patch step.
  # @!attribute [rw] no_agent_detected_instance_count
  #   @return [::Integer]
  #     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.
  class InstanceDetailsSummary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Enumeration of the various states a patch job passes through as it
  # executes.
  module State
    # State must be specified.
    STATE_UNSPECIFIED = 0

    # The patch job was successfully initiated.
    STARTED = 1

    # The patch job is looking up instances to run the patch on.
    INSTANCE_LOOKUP = 2

    # Instances are being patched.
    PATCHING = 3

    # Patch job completed successfully.
    SUCCEEDED = 4

    # Patch job completed but there were errors.
    COMPLETED_WITH_ERRORS = 5

    # The patch job was canceled.
    CANCELED = 6

    # The patch job timed out.
    TIMED_OUT = 7
  end
end

#duration::Google::Protobuf::Duration



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 221

class PatchJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] pending_instance_count
  #   @return [::Integer]
  #     Number of instances pending patch job.
  # @!attribute [rw] inactive_instance_count
  #   @return [::Integer]
  #     Number of instances that are inactive.
  # @!attribute [rw] notified_instance_count
  #   @return [::Integer]
  #     Number of instances notified about patch job.
  # @!attribute [rw] started_instance_count
  #   @return [::Integer]
  #     Number of instances that have started.
  # @!attribute [rw] downloading_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are downloading patches.
  # @!attribute [rw] applying_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are applying patches.
  # @!attribute [rw] rebooting_instance_count
  #   @return [::Integer]
  #     Number of instances rebooting.
  # @!attribute [rw] succeeded_instance_count
  #   @return [::Integer]
  #     Number of instances that have completed successfully.
  # @!attribute [rw] succeeded_reboot_required_instance_count
  #   @return [::Integer]
  #     Number of instances that require reboot.
  # @!attribute [rw] failed_instance_count
  #   @return [::Integer]
  #     Number of instances that failed.
  # @!attribute [rw] acked_instance_count
  #   @return [::Integer]
  #     Number of instances that have acked and will start shortly.
  # @!attribute [rw] timed_out_instance_count
  #   @return [::Integer]
  #     Number of instances that exceeded the time out while applying the patch.
  # @!attribute [rw] pre_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the pre-patch step.
  # @!attribute [rw] post_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the post-patch step.
  # @!attribute [rw] no_agent_detected_instance_count
  #   @return [::Integer]
  #     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.
  class InstanceDetailsSummary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Enumeration of the various states a patch job passes through as it
  # executes.
  module State
    # State must be specified.
    STATE_UNSPECIFIED = 0

    # The patch job was successfully initiated.
    STARTED = 1

    # The patch job is looking up instances to run the patch on.
    INSTANCE_LOOKUP = 2

    # Instances are being patched.
    PATCHING = 3

    # Patch job completed successfully.
    SUCCEEDED = 4

    # Patch job completed but there were errors.
    COMPLETED_WITH_ERRORS = 5

    # The patch job was canceled.
    CANCELED = 6

    # The patch job timed out.
    TIMED_OUT = 7
  end
end

#error_message::String



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 221

class PatchJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] pending_instance_count
  #   @return [::Integer]
  #     Number of instances pending patch job.
  # @!attribute [rw] inactive_instance_count
  #   @return [::Integer]
  #     Number of instances that are inactive.
  # @!attribute [rw] notified_instance_count
  #   @return [::Integer]
  #     Number of instances notified about patch job.
  # @!attribute [rw] started_instance_count
  #   @return [::Integer]
  #     Number of instances that have started.
  # @!attribute [rw] downloading_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are downloading patches.
  # @!attribute [rw] applying_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are applying patches.
  # @!attribute [rw] rebooting_instance_count
  #   @return [::Integer]
  #     Number of instances rebooting.
  # @!attribute [rw] succeeded_instance_count
  #   @return [::Integer]
  #     Number of instances that have completed successfully.
  # @!attribute [rw] succeeded_reboot_required_instance_count
  #   @return [::Integer]
  #     Number of instances that require reboot.
  # @!attribute [rw] failed_instance_count
  #   @return [::Integer]
  #     Number of instances that failed.
  # @!attribute [rw] acked_instance_count
  #   @return [::Integer]
  #     Number of instances that have acked and will start shortly.
  # @!attribute [rw] timed_out_instance_count
  #   @return [::Integer]
  #     Number of instances that exceeded the time out while applying the patch.
  # @!attribute [rw] pre_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the pre-patch step.
  # @!attribute [rw] post_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the post-patch step.
  # @!attribute [rw] no_agent_detected_instance_count
  #   @return [::Integer]
  #     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.
  class InstanceDetailsSummary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Enumeration of the various states a patch job passes through as it
  # executes.
  module State
    # State must be specified.
    STATE_UNSPECIFIED = 0

    # The patch job was successfully initiated.
    STARTED = 1

    # The patch job is looking up instances to run the patch on.
    INSTANCE_LOOKUP = 2

    # Instances are being patched.
    PATCHING = 3

    # Patch job completed successfully.
    SUCCEEDED = 4

    # Patch job completed but there were errors.
    COMPLETED_WITH_ERRORS = 5

    # The patch job was canceled.
    CANCELED = 6

    # The patch job timed out.
    TIMED_OUT = 7
  end
end

#instance_details_summary::Google::Cloud::OsConfig::V1::PatchJob::InstanceDetailsSummary



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 221

class PatchJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] pending_instance_count
  #   @return [::Integer]
  #     Number of instances pending patch job.
  # @!attribute [rw] inactive_instance_count
  #   @return [::Integer]
  #     Number of instances that are inactive.
  # @!attribute [rw] notified_instance_count
  #   @return [::Integer]
  #     Number of instances notified about patch job.
  # @!attribute [rw] started_instance_count
  #   @return [::Integer]
  #     Number of instances that have started.
  # @!attribute [rw] downloading_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are downloading patches.
  # @!attribute [rw] applying_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are applying patches.
  # @!attribute [rw] rebooting_instance_count
  #   @return [::Integer]
  #     Number of instances rebooting.
  # @!attribute [rw] succeeded_instance_count
  #   @return [::Integer]
  #     Number of instances that have completed successfully.
  # @!attribute [rw] succeeded_reboot_required_instance_count
  #   @return [::Integer]
  #     Number of instances that require reboot.
  # @!attribute [rw] failed_instance_count
  #   @return [::Integer]
  #     Number of instances that failed.
  # @!attribute [rw] acked_instance_count
  #   @return [::Integer]
  #     Number of instances that have acked and will start shortly.
  # @!attribute [rw] timed_out_instance_count
  #   @return [::Integer]
  #     Number of instances that exceeded the time out while applying the patch.
  # @!attribute [rw] pre_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the pre-patch step.
  # @!attribute [rw] post_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the post-patch step.
  # @!attribute [rw] no_agent_detected_instance_count
  #   @return [::Integer]
  #     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.
  class InstanceDetailsSummary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Enumeration of the various states a patch job passes through as it
  # executes.
  module State
    # State must be specified.
    STATE_UNSPECIFIED = 0

    # The patch job was successfully initiated.
    STARTED = 1

    # The patch job is looking up instances to run the patch on.
    INSTANCE_LOOKUP = 2

    # Instances are being patched.
    PATCHING = 3

    # Patch job completed successfully.
    SUCCEEDED = 4

    # Patch job completed but there were errors.
    COMPLETED_WITH_ERRORS = 5

    # The patch job was canceled.
    CANCELED = 6

    # The patch job timed out.
    TIMED_OUT = 7
  end
end

#instance_filter::Google::Cloud::OsConfig::V1::PatchInstanceFilter



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 221

class PatchJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] pending_instance_count
  #   @return [::Integer]
  #     Number of instances pending patch job.
  # @!attribute [rw] inactive_instance_count
  #   @return [::Integer]
  #     Number of instances that are inactive.
  # @!attribute [rw] notified_instance_count
  #   @return [::Integer]
  #     Number of instances notified about patch job.
  # @!attribute [rw] started_instance_count
  #   @return [::Integer]
  #     Number of instances that have started.
  # @!attribute [rw] downloading_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are downloading patches.
  # @!attribute [rw] applying_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are applying patches.
  # @!attribute [rw] rebooting_instance_count
  #   @return [::Integer]
  #     Number of instances rebooting.
  # @!attribute [rw] succeeded_instance_count
  #   @return [::Integer]
  #     Number of instances that have completed successfully.
  # @!attribute [rw] succeeded_reboot_required_instance_count
  #   @return [::Integer]
  #     Number of instances that require reboot.
  # @!attribute [rw] failed_instance_count
  #   @return [::Integer]
  #     Number of instances that failed.
  # @!attribute [rw] acked_instance_count
  #   @return [::Integer]
  #     Number of instances that have acked and will start shortly.
  # @!attribute [rw] timed_out_instance_count
  #   @return [::Integer]
  #     Number of instances that exceeded the time out while applying the patch.
  # @!attribute [rw] pre_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the pre-patch step.
  # @!attribute [rw] post_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the post-patch step.
  # @!attribute [rw] no_agent_detected_instance_count
  #   @return [::Integer]
  #     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.
  class InstanceDetailsSummary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Enumeration of the various states a patch job passes through as it
  # executes.
  module State
    # State must be specified.
    STATE_UNSPECIFIED = 0

    # The patch job was successfully initiated.
    STARTED = 1

    # The patch job is looking up instances to run the patch on.
    INSTANCE_LOOKUP = 2

    # Instances are being patched.
    PATCHING = 3

    # Patch job completed successfully.
    SUCCEEDED = 4

    # Patch job completed but there were errors.
    COMPLETED_WITH_ERRORS = 5

    # The patch job was canceled.
    CANCELED = 6

    # The patch job timed out.
    TIMED_OUT = 7
  end
end

#name::String



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 221

class PatchJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] pending_instance_count
  #   @return [::Integer]
  #     Number of instances pending patch job.
  # @!attribute [rw] inactive_instance_count
  #   @return [::Integer]
  #     Number of instances that are inactive.
  # @!attribute [rw] notified_instance_count
  #   @return [::Integer]
  #     Number of instances notified about patch job.
  # @!attribute [rw] started_instance_count
  #   @return [::Integer]
  #     Number of instances that have started.
  # @!attribute [rw] downloading_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are downloading patches.
  # @!attribute [rw] applying_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are applying patches.
  # @!attribute [rw] rebooting_instance_count
  #   @return [::Integer]
  #     Number of instances rebooting.
  # @!attribute [rw] succeeded_instance_count
  #   @return [::Integer]
  #     Number of instances that have completed successfully.
  # @!attribute [rw] succeeded_reboot_required_instance_count
  #   @return [::Integer]
  #     Number of instances that require reboot.
  # @!attribute [rw] failed_instance_count
  #   @return [::Integer]
  #     Number of instances that failed.
  # @!attribute [rw] acked_instance_count
  #   @return [::Integer]
  #     Number of instances that have acked and will start shortly.
  # @!attribute [rw] timed_out_instance_count
  #   @return [::Integer]
  #     Number of instances that exceeded the time out while applying the patch.
  # @!attribute [rw] pre_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the pre-patch step.
  # @!attribute [rw] post_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the post-patch step.
  # @!attribute [rw] no_agent_detected_instance_count
  #   @return [::Integer]
  #     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.
  class InstanceDetailsSummary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Enumeration of the various states a patch job passes through as it
  # executes.
  module State
    # State must be specified.
    STATE_UNSPECIFIED = 0

    # The patch job was successfully initiated.
    STARTED = 1

    # The patch job is looking up instances to run the patch on.
    INSTANCE_LOOKUP = 2

    # Instances are being patched.
    PATCHING = 3

    # Patch job completed successfully.
    SUCCEEDED = 4

    # Patch job completed but there were errors.
    COMPLETED_WITH_ERRORS = 5

    # The patch job was canceled.
    CANCELED = 6

    # The patch job timed out.
    TIMED_OUT = 7
  end
end

#patch_config::Google::Cloud::OsConfig::V1::PatchConfig



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 221

class PatchJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] pending_instance_count
  #   @return [::Integer]
  #     Number of instances pending patch job.
  # @!attribute [rw] inactive_instance_count
  #   @return [::Integer]
  #     Number of instances that are inactive.
  # @!attribute [rw] notified_instance_count
  #   @return [::Integer]
  #     Number of instances notified about patch job.
  # @!attribute [rw] started_instance_count
  #   @return [::Integer]
  #     Number of instances that have started.
  # @!attribute [rw] downloading_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are downloading patches.
  # @!attribute [rw] applying_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are applying patches.
  # @!attribute [rw] rebooting_instance_count
  #   @return [::Integer]
  #     Number of instances rebooting.
  # @!attribute [rw] succeeded_instance_count
  #   @return [::Integer]
  #     Number of instances that have completed successfully.
  # @!attribute [rw] succeeded_reboot_required_instance_count
  #   @return [::Integer]
  #     Number of instances that require reboot.
  # @!attribute [rw] failed_instance_count
  #   @return [::Integer]
  #     Number of instances that failed.
  # @!attribute [rw] acked_instance_count
  #   @return [::Integer]
  #     Number of instances that have acked and will start shortly.
  # @!attribute [rw] timed_out_instance_count
  #   @return [::Integer]
  #     Number of instances that exceeded the time out while applying the patch.
  # @!attribute [rw] pre_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the pre-patch step.
  # @!attribute [rw] post_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the post-patch step.
  # @!attribute [rw] no_agent_detected_instance_count
  #   @return [::Integer]
  #     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.
  class InstanceDetailsSummary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Enumeration of the various states a patch job passes through as it
  # executes.
  module State
    # State must be specified.
    STATE_UNSPECIFIED = 0

    # The patch job was successfully initiated.
    STARTED = 1

    # The patch job is looking up instances to run the patch on.
    INSTANCE_LOOKUP = 2

    # Instances are being patched.
    PATCHING = 3

    # Patch job completed successfully.
    SUCCEEDED = 4

    # Patch job completed but there were errors.
    COMPLETED_WITH_ERRORS = 5

    # The patch job was canceled.
    CANCELED = 6

    # The patch job timed out.
    TIMED_OUT = 7
  end
end

#patch_deployment::String (readonly)



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 221

class PatchJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] pending_instance_count
  #   @return [::Integer]
  #     Number of instances pending patch job.
  # @!attribute [rw] inactive_instance_count
  #   @return [::Integer]
  #     Number of instances that are inactive.
  # @!attribute [rw] notified_instance_count
  #   @return [::Integer]
  #     Number of instances notified about patch job.
  # @!attribute [rw] started_instance_count
  #   @return [::Integer]
  #     Number of instances that have started.
  # @!attribute [rw] downloading_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are downloading patches.
  # @!attribute [rw] applying_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are applying patches.
  # @!attribute [rw] rebooting_instance_count
  #   @return [::Integer]
  #     Number of instances rebooting.
  # @!attribute [rw] succeeded_instance_count
  #   @return [::Integer]
  #     Number of instances that have completed successfully.
  # @!attribute [rw] succeeded_reboot_required_instance_count
  #   @return [::Integer]
  #     Number of instances that require reboot.
  # @!attribute [rw] failed_instance_count
  #   @return [::Integer]
  #     Number of instances that failed.
  # @!attribute [rw] acked_instance_count
  #   @return [::Integer]
  #     Number of instances that have acked and will start shortly.
  # @!attribute [rw] timed_out_instance_count
  #   @return [::Integer]
  #     Number of instances that exceeded the time out while applying the patch.
  # @!attribute [rw] pre_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the pre-patch step.
  # @!attribute [rw] post_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the post-patch step.
  # @!attribute [rw] no_agent_detected_instance_count
  #   @return [::Integer]
  #     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.
  class InstanceDetailsSummary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Enumeration of the various states a patch job passes through as it
  # executes.
  module State
    # State must be specified.
    STATE_UNSPECIFIED = 0

    # The patch job was successfully initiated.
    STARTED = 1

    # The patch job is looking up instances to run the patch on.
    INSTANCE_LOOKUP = 2

    # Instances are being patched.
    PATCHING = 3

    # Patch job completed successfully.
    SUCCEEDED = 4

    # Patch job completed but there were errors.
    COMPLETED_WITH_ERRORS = 5

    # The patch job was canceled.
    CANCELED = 6

    # The patch job timed out.
    TIMED_OUT = 7
  end
end

#percent_complete::Float



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 221

class PatchJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] pending_instance_count
  #   @return [::Integer]
  #     Number of instances pending patch job.
  # @!attribute [rw] inactive_instance_count
  #   @return [::Integer]
  #     Number of instances that are inactive.
  # @!attribute [rw] notified_instance_count
  #   @return [::Integer]
  #     Number of instances notified about patch job.
  # @!attribute [rw] started_instance_count
  #   @return [::Integer]
  #     Number of instances that have started.
  # @!attribute [rw] downloading_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are downloading patches.
  # @!attribute [rw] applying_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are applying patches.
  # @!attribute [rw] rebooting_instance_count
  #   @return [::Integer]
  #     Number of instances rebooting.
  # @!attribute [rw] succeeded_instance_count
  #   @return [::Integer]
  #     Number of instances that have completed successfully.
  # @!attribute [rw] succeeded_reboot_required_instance_count
  #   @return [::Integer]
  #     Number of instances that require reboot.
  # @!attribute [rw] failed_instance_count
  #   @return [::Integer]
  #     Number of instances that failed.
  # @!attribute [rw] acked_instance_count
  #   @return [::Integer]
  #     Number of instances that have acked and will start shortly.
  # @!attribute [rw] timed_out_instance_count
  #   @return [::Integer]
  #     Number of instances that exceeded the time out while applying the patch.
  # @!attribute [rw] pre_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the pre-patch step.
  # @!attribute [rw] post_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the post-patch step.
  # @!attribute [rw] no_agent_detected_instance_count
  #   @return [::Integer]
  #     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.
  class InstanceDetailsSummary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Enumeration of the various states a patch job passes through as it
  # executes.
  module State
    # State must be specified.
    STATE_UNSPECIFIED = 0

    # The patch job was successfully initiated.
    STARTED = 1

    # The patch job is looking up instances to run the patch on.
    INSTANCE_LOOKUP = 2

    # Instances are being patched.
    PATCHING = 3

    # Patch job completed successfully.
    SUCCEEDED = 4

    # Patch job completed but there were errors.
    COMPLETED_WITH_ERRORS = 5

    # The patch job was canceled.
    CANCELED = 6

    # The patch job timed out.
    TIMED_OUT = 7
  end
end

#rollout::Google::Cloud::OsConfig::V1::PatchRollout



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 221

class PatchJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] pending_instance_count
  #   @return [::Integer]
  #     Number of instances pending patch job.
  # @!attribute [rw] inactive_instance_count
  #   @return [::Integer]
  #     Number of instances that are inactive.
  # @!attribute [rw] notified_instance_count
  #   @return [::Integer]
  #     Number of instances notified about patch job.
  # @!attribute [rw] started_instance_count
  #   @return [::Integer]
  #     Number of instances that have started.
  # @!attribute [rw] downloading_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are downloading patches.
  # @!attribute [rw] applying_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are applying patches.
  # @!attribute [rw] rebooting_instance_count
  #   @return [::Integer]
  #     Number of instances rebooting.
  # @!attribute [rw] succeeded_instance_count
  #   @return [::Integer]
  #     Number of instances that have completed successfully.
  # @!attribute [rw] succeeded_reboot_required_instance_count
  #   @return [::Integer]
  #     Number of instances that require reboot.
  # @!attribute [rw] failed_instance_count
  #   @return [::Integer]
  #     Number of instances that failed.
  # @!attribute [rw] acked_instance_count
  #   @return [::Integer]
  #     Number of instances that have acked and will start shortly.
  # @!attribute [rw] timed_out_instance_count
  #   @return [::Integer]
  #     Number of instances that exceeded the time out while applying the patch.
  # @!attribute [rw] pre_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the pre-patch step.
  # @!attribute [rw] post_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the post-patch step.
  # @!attribute [rw] no_agent_detected_instance_count
  #   @return [::Integer]
  #     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.
  class InstanceDetailsSummary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Enumeration of the various states a patch job passes through as it
  # executes.
  module State
    # State must be specified.
    STATE_UNSPECIFIED = 0

    # The patch job was successfully initiated.
    STARTED = 1

    # The patch job is looking up instances to run the patch on.
    INSTANCE_LOOKUP = 2

    # Instances are being patched.
    PATCHING = 3

    # Patch job completed successfully.
    SUCCEEDED = 4

    # Patch job completed but there were errors.
    COMPLETED_WITH_ERRORS = 5

    # The patch job was canceled.
    CANCELED = 6

    # The patch job timed out.
    TIMED_OUT = 7
  end
end

#state::Google::Cloud::OsConfig::V1::PatchJob::State



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 221

class PatchJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] pending_instance_count
  #   @return [::Integer]
  #     Number of instances pending patch job.
  # @!attribute [rw] inactive_instance_count
  #   @return [::Integer]
  #     Number of instances that are inactive.
  # @!attribute [rw] notified_instance_count
  #   @return [::Integer]
  #     Number of instances notified about patch job.
  # @!attribute [rw] started_instance_count
  #   @return [::Integer]
  #     Number of instances that have started.
  # @!attribute [rw] downloading_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are downloading patches.
  # @!attribute [rw] applying_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are applying patches.
  # @!attribute [rw] rebooting_instance_count
  #   @return [::Integer]
  #     Number of instances rebooting.
  # @!attribute [rw] succeeded_instance_count
  #   @return [::Integer]
  #     Number of instances that have completed successfully.
  # @!attribute [rw] succeeded_reboot_required_instance_count
  #   @return [::Integer]
  #     Number of instances that require reboot.
  # @!attribute [rw] failed_instance_count
  #   @return [::Integer]
  #     Number of instances that failed.
  # @!attribute [rw] acked_instance_count
  #   @return [::Integer]
  #     Number of instances that have acked and will start shortly.
  # @!attribute [rw] timed_out_instance_count
  #   @return [::Integer]
  #     Number of instances that exceeded the time out while applying the patch.
  # @!attribute [rw] pre_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the pre-patch step.
  # @!attribute [rw] post_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the post-patch step.
  # @!attribute [rw] no_agent_detected_instance_count
  #   @return [::Integer]
  #     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.
  class InstanceDetailsSummary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Enumeration of the various states a patch job passes through as it
  # executes.
  module State
    # State must be specified.
    STATE_UNSPECIFIED = 0

    # The patch job was successfully initiated.
    STARTED = 1

    # The patch job is looking up instances to run the patch on.
    INSTANCE_LOOKUP = 2

    # Instances are being patched.
    PATCHING = 3

    # Patch job completed successfully.
    SUCCEEDED = 4

    # Patch job completed but there were errors.
    COMPLETED_WITH_ERRORS = 5

    # The patch job was canceled.
    CANCELED = 6

    # The patch job timed out.
    TIMED_OUT = 7
  end
end

#update_time::Google::Protobuf::Timestamp



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 221

class PatchJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] pending_instance_count
  #   @return [::Integer]
  #     Number of instances pending patch job.
  # @!attribute [rw] inactive_instance_count
  #   @return [::Integer]
  #     Number of instances that are inactive.
  # @!attribute [rw] notified_instance_count
  #   @return [::Integer]
  #     Number of instances notified about patch job.
  # @!attribute [rw] started_instance_count
  #   @return [::Integer]
  #     Number of instances that have started.
  # @!attribute [rw] downloading_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are downloading patches.
  # @!attribute [rw] applying_patches_instance_count
  #   @return [::Integer]
  #     Number of instances that are applying patches.
  # @!attribute [rw] rebooting_instance_count
  #   @return [::Integer]
  #     Number of instances rebooting.
  # @!attribute [rw] succeeded_instance_count
  #   @return [::Integer]
  #     Number of instances that have completed successfully.
  # @!attribute [rw] succeeded_reboot_required_instance_count
  #   @return [::Integer]
  #     Number of instances that require reboot.
  # @!attribute [rw] failed_instance_count
  #   @return [::Integer]
  #     Number of instances that failed.
  # @!attribute [rw] acked_instance_count
  #   @return [::Integer]
  #     Number of instances that have acked and will start shortly.
  # @!attribute [rw] timed_out_instance_count
  #   @return [::Integer]
  #     Number of instances that exceeded the time out while applying the patch.
  # @!attribute [rw] pre_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the pre-patch step.
  # @!attribute [rw] post_patch_step_instance_count
  #   @return [::Integer]
  #     Number of instances that are running the post-patch step.
  # @!attribute [rw] no_agent_detected_instance_count
  #   @return [::Integer]
  #     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.
  class InstanceDetailsSummary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Enumeration of the various states a patch job passes through as it
  # executes.
  module State
    # State must be specified.
    STATE_UNSPECIFIED = 0

    # The patch job was successfully initiated.
    STARTED = 1

    # The patch job is looking up instances to run the patch on.
    INSTANCE_LOOKUP = 2

    # Instances are being patched.
    PATCHING = 3

    # Patch job completed successfully.
    SUCCEEDED = 4

    # Patch job completed but there were errors.
    COMPLETED_WITH_ERRORS = 5

    # The patch job was canceled.
    CANCELED = 6

    # The patch job timed out.
    TIMED_OUT = 7
  end
end