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

Returns Time this patch job was created.

Returns:



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

Returns Description of the patch job. Length of the description is limited to 1024 characters.

Returns:

  • (::String)

    Description of the patch job. Length of the description is limited to 1024 characters.



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

Returns Display name for this patch job. This is not a unique identifier.

Returns:

  • (::String)

    Display name for this patch job. This is not a unique identifier.



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

Returns If this patch job is a dry run, the agent reports that it has finished without running any updates on the VM instance.

Returns:

  • (::Boolean)

    If this patch job is a dry run, the agent reports that it has finished without running any updates on the VM instance.



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

Returns Duration of the patch job. After the duration ends, the patch job times out.

Returns:



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

Returns If this patch job failed, this message provides information about the failure.

Returns:

  • (::String)

    If this patch job failed, this message provides information about the failure.



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

Returns Summary of instance details.

Returns:



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

Returns Instances to patch.

Returns:



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

Returns Unique identifier for this patch job in the form projects/*/patchJobs/*.

Returns:

  • (::String)

    Unique identifier for this patch job in the form projects/*/patchJobs/*



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

Returns Patch configuration being applied.

Returns:



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)

Returns Output only. Name of the patch deployment that created this patch job.

Returns:

  • (::String)

    Output only. Name of the patch deployment that created this patch job.



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

Returns Reflects the overall progress of the patch job in the range of 0.0 being no progress to 100.0 being complete.

Returns:

  • (::Float)

    Reflects the overall progress of the patch job in the range of 0.0 being no progress to 100.0 being complete.



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

Returns Rollout strategy being applied.

Returns:



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

Returns The current state of the PatchJob.

Returns:



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

Returns Last time this patch job was updated.

Returns:



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