diff --git a/api_names_out.yaml b/api_names_out.yaml index 9432dbc325b..797b5b137f6 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -317848,6 +317848,7 @@ "/osconfig:v1/PatchConfig/postStep": post_step "/osconfig:v1/PatchConfig/preStep": pre_step "/osconfig:v1/PatchConfig/rebootConfig": reboot_config +"/osconfig:v1/PatchConfig/skipUnpatchableVms": skip_unpatchable_vms "/osconfig:v1/PatchConfig/windowsUpdate": windows_update "/osconfig:v1/PatchConfig/yum": yum "/osconfig:v1/PatchConfig/zypper": zypper @@ -317911,6 +317912,7 @@ "/osconfig:v1/PatchJobInstanceDetailsSummary/postPatchStepInstanceCount": post_patch_step_instance_count "/osconfig:v1/PatchJobInstanceDetailsSummary/prePatchStepInstanceCount": pre_patch_step_instance_count "/osconfig:v1/PatchJobInstanceDetailsSummary/rebootingInstanceCount": rebooting_instance_count +"/osconfig:v1/PatchJobInstanceDetailsSummary/skippedInstanceCount": skipped_instance_count "/osconfig:v1/PatchJobInstanceDetailsSummary/startedInstanceCount": started_instance_count "/osconfig:v1/PatchJobInstanceDetailsSummary/succeededInstanceCount": succeeded_instance_count "/osconfig:v1/PatchJobInstanceDetailsSummary/succeededRebootRequiredInstanceCount": succeeded_reboot_required_instance_count diff --git a/generated/google-apis-osconfig_v1/CHANGELOG.md b/generated/google-apis-osconfig_v1/CHANGELOG.md index d9e022040cf..2d67bd3dfd6 100644 --- a/generated/google-apis-osconfig_v1/CHANGELOG.md +++ b/generated/google-apis-osconfig_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-osconfig_v1 +### v0.50.0 (2025-11-09) + +* Regenerated from discovery document revision 20251030 + ### v0.49.0 (2025-08-03) * Regenerated from discovery document revision 20250727 diff --git a/generated/google-apis-osconfig_v1/lib/google/apis/osconfig_v1/classes.rb b/generated/google-apis-osconfig_v1/lib/google/apis/osconfig_v1/classes.rb index a5680ce6a28..8c04c7a4b4e 100644 --- a/generated/google-apis-osconfig_v1/lib/google/apis/osconfig_v1/classes.rb +++ b/generated/google-apis-osconfig_v1/lib/google/apis/osconfig_v1/classes.rb @@ -2809,6 +2809,21 @@ class PatchConfig # @return [String] attr_accessor :reboot_config + # Optional. Enables enhanced reporting for the patch job: 1. Allows the patch + # job to skip unpatchable instances, reporting them as SKIPPED. An instance can + # be unpatchable for two reasons: a. The instance runs Container-Optimized OS ( + # COS), which cannot be patched. b. The patch job's configuration prohibits + # patching on Managed Instance Groups (MIGs) through the PatchConfig. + # migInstancesAllowed field, and the instance is part of one. 2. The system + # reports the patch job as SUCCEEDED if it completes without errors, regardless + # of whether any instances were SKIPPED. 3. The system reports the patch job as + # COMPLETED_WITH_INACTIVE_VMS if it completes without errors, but some instances + # were INACTIVE and therefore not patched. + # Corresponds to the JSON property `skipUnpatchableVms` + # @return [Boolean] + attr_accessor :skip_unpatchable_vms + alias_method :skip_unpatchable_vms?, :skip_unpatchable_vms + # Windows patching is performed using the Windows Update Agent. # Corresponds to the JSON property `windowsUpdate` # @return [Google::Apis::OsconfigV1::WindowsUpdateSettings] @@ -2839,6 +2854,7 @@ def update!(**args) @post_step = args[:post_step] if args.key?(:post_step) @pre_step = args[:pre_step] if args.key?(:pre_step) @reboot_config = args[:reboot_config] if args.key?(:reboot_config) + @skip_unpatchable_vms = args[:skip_unpatchable_vms] if args.key?(:skip_unpatchable_vms) @windows_update = args[:windows_update] if args.key?(:windows_update) @yum = args[:yum] if args.key?(:yum) @zypper = args[:zypper] if args.key?(:zypper) @@ -3255,6 +3271,11 @@ class PatchJobInstanceDetailsSummary # @return [Fixnum] attr_accessor :rebooting_instance_count + # Number of instances that were skipped during patching. + # Corresponds to the JSON property `skippedInstanceCount` + # @return [Fixnum] + attr_accessor :skipped_instance_count + # Number of instances that have started. # Corresponds to the JSON property `startedInstanceCount` # @return [Fixnum] @@ -3292,6 +3313,7 @@ def update!(**args) @post_patch_step_instance_count = args[:post_patch_step_instance_count] if args.key?(:post_patch_step_instance_count) @pre_patch_step_instance_count = args[:pre_patch_step_instance_count] if args.key?(:pre_patch_step_instance_count) @rebooting_instance_count = args[:rebooting_instance_count] if args.key?(:rebooting_instance_count) + @skipped_instance_count = args[:skipped_instance_count] if args.key?(:skipped_instance_count) @started_instance_count = args[:started_instance_count] if args.key?(:started_instance_count) @succeeded_instance_count = args[:succeeded_instance_count] if args.key?(:succeeded_instance_count) @succeeded_reboot_required_instance_count = args[:succeeded_reboot_required_instance_count] if args.key?(:succeeded_reboot_required_instance_count) diff --git a/generated/google-apis-osconfig_v1/lib/google/apis/osconfig_v1/gem_version.rb b/generated/google-apis-osconfig_v1/lib/google/apis/osconfig_v1/gem_version.rb index 68cf2835368..39488809a5f 100644 --- a/generated/google-apis-osconfig_v1/lib/google/apis/osconfig_v1/gem_version.rb +++ b/generated/google-apis-osconfig_v1/lib/google/apis/osconfig_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module OsconfigV1 # Version of the google-apis-osconfig_v1 gem - GEM_VERSION = "0.49.0" + GEM_VERSION = "0.50.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250727" + REVISION = "20251030" end end end diff --git a/generated/google-apis-osconfig_v1/lib/google/apis/osconfig_v1/representations.rb b/generated/google-apis-osconfig_v1/lib/google/apis/osconfig_v1/representations.rb index 7d157d7e926..7ea8fd5290e 100644 --- a/generated/google-apis-osconfig_v1/lib/google/apis/osconfig_v1/representations.rb +++ b/generated/google-apis-osconfig_v1/lib/google/apis/osconfig_v1/representations.rb @@ -1362,6 +1362,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :pre_step, as: 'preStep', class: Google::Apis::OsconfigV1::ExecStep, decorator: Google::Apis::OsconfigV1::ExecStep::Representation property :reboot_config, as: 'rebootConfig' + property :skip_unpatchable_vms, as: 'skipUnpatchableVms' property :windows_update, as: 'windowsUpdate', class: Google::Apis::OsconfigV1::WindowsUpdateSettings, decorator: Google::Apis::OsconfigV1::WindowsUpdateSettings::Representation property :yum, as: 'yum', class: Google::Apis::OsconfigV1::YumSettings, decorator: Google::Apis::OsconfigV1::YumSettings::Representation @@ -1463,6 +1464,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :post_patch_step_instance_count, :numeric_string => true, as: 'postPatchStepInstanceCount' property :pre_patch_step_instance_count, :numeric_string => true, as: 'prePatchStepInstanceCount' property :rebooting_instance_count, :numeric_string => true, as: 'rebootingInstanceCount' + property :skipped_instance_count, :numeric_string => true, as: 'skippedInstanceCount' property :started_instance_count, :numeric_string => true, as: 'startedInstanceCount' property :succeeded_instance_count, :numeric_string => true, as: 'succeededInstanceCount' property :succeeded_reboot_required_instance_count, :numeric_string => true, as: 'succeededRebootRequiredInstanceCount'