Skip to content

Commit 093b997

Browse files
feat: Automated regeneration of osconfig v1 client (#24906)
Auto-created at 2025-11-09 09:52:19 +0000 using the toys pull request generator.
1 parent b05257c commit 093b997

File tree

5 files changed

+32
-2
lines changed

5 files changed

+32
-2
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318120,6 +318120,7 @@
318120318120
"/osconfig:v1/PatchConfig/postStep": post_step
318121318121
"/osconfig:v1/PatchConfig/preStep": pre_step
318122318122
"/osconfig:v1/PatchConfig/rebootConfig": reboot_config
318123+
"/osconfig:v1/PatchConfig/skipUnpatchableVms": skip_unpatchable_vms
318123318124
"/osconfig:v1/PatchConfig/windowsUpdate": windows_update
318124318125
"/osconfig:v1/PatchConfig/yum": yum
318125318126
"/osconfig:v1/PatchConfig/zypper": zypper
@@ -318183,6 +318184,7 @@
318183318184
"/osconfig:v1/PatchJobInstanceDetailsSummary/postPatchStepInstanceCount": post_patch_step_instance_count
318184318185
"/osconfig:v1/PatchJobInstanceDetailsSummary/prePatchStepInstanceCount": pre_patch_step_instance_count
318185318186
"/osconfig:v1/PatchJobInstanceDetailsSummary/rebootingInstanceCount": rebooting_instance_count
318187+
"/osconfig:v1/PatchJobInstanceDetailsSummary/skippedInstanceCount": skipped_instance_count
318186318188
"/osconfig:v1/PatchJobInstanceDetailsSummary/startedInstanceCount": started_instance_count
318187318189
"/osconfig:v1/PatchJobInstanceDetailsSummary/succeededInstanceCount": succeeded_instance_count
318188318190
"/osconfig:v1/PatchJobInstanceDetailsSummary/succeededRebootRequiredInstanceCount": succeeded_reboot_required_instance_count

generated/google-apis-osconfig_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-osconfig_v1
22

3+
### v0.50.0 (2025-11-09)
4+
5+
* Regenerated from discovery document revision 20251030
6+
37
### v0.49.0 (2025-08-03)
48

59
* Regenerated from discovery document revision 20250727

generated/google-apis-osconfig_v1/lib/google/apis/osconfig_v1/classes.rb

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2809,6 +2809,21 @@ class PatchConfig
28092809
# @return [String]
28102810
attr_accessor :reboot_config
28112811

2812+
# Optional. Enables enhanced reporting for the patch job: 1. Allows the patch
2813+
# job to skip unpatchable instances, reporting them as SKIPPED. An instance can
2814+
# be unpatchable for two reasons: a. The instance runs Container-Optimized OS (
2815+
# COS), which cannot be patched. b. The patch job's configuration prohibits
2816+
# patching on Managed Instance Groups (MIGs) through the PatchConfig.
2817+
# migInstancesAllowed field, and the instance is part of one. 2. The system
2818+
# reports the patch job as SUCCEEDED if it completes without errors, regardless
2819+
# of whether any instances were SKIPPED. 3. The system reports the patch job as
2820+
# COMPLETED_WITH_INACTIVE_VMS if it completes without errors, but some instances
2821+
# were INACTIVE and therefore not patched.
2822+
# Corresponds to the JSON property `skipUnpatchableVms`
2823+
# @return [Boolean]
2824+
attr_accessor :skip_unpatchable_vms
2825+
alias_method :skip_unpatchable_vms?, :skip_unpatchable_vms
2826+
28122827
# Windows patching is performed using the Windows Update Agent.
28132828
# Corresponds to the JSON property `windowsUpdate`
28142829
# @return [Google::Apis::OsconfigV1::WindowsUpdateSettings]
@@ -2839,6 +2854,7 @@ def update!(**args)
28392854
@post_step = args[:post_step] if args.key?(:post_step)
28402855
@pre_step = args[:pre_step] if args.key?(:pre_step)
28412856
@reboot_config = args[:reboot_config] if args.key?(:reboot_config)
2857+
@skip_unpatchable_vms = args[:skip_unpatchable_vms] if args.key?(:skip_unpatchable_vms)
28422858
@windows_update = args[:windows_update] if args.key?(:windows_update)
28432859
@yum = args[:yum] if args.key?(:yum)
28442860
@zypper = args[:zypper] if args.key?(:zypper)
@@ -3255,6 +3271,11 @@ class PatchJobInstanceDetailsSummary
32553271
# @return [Fixnum]
32563272
attr_accessor :rebooting_instance_count
32573273

3274+
# Number of instances that were skipped during patching.
3275+
# Corresponds to the JSON property `skippedInstanceCount`
3276+
# @return [Fixnum]
3277+
attr_accessor :skipped_instance_count
3278+
32583279
# Number of instances that have started.
32593280
# Corresponds to the JSON property `startedInstanceCount`
32603281
# @return [Fixnum]
@@ -3292,6 +3313,7 @@ def update!(**args)
32923313
@post_patch_step_instance_count = args[:post_patch_step_instance_count] if args.key?(:post_patch_step_instance_count)
32933314
@pre_patch_step_instance_count = args[:pre_patch_step_instance_count] if args.key?(:pre_patch_step_instance_count)
32943315
@rebooting_instance_count = args[:rebooting_instance_count] if args.key?(:rebooting_instance_count)
3316+
@skipped_instance_count = args[:skipped_instance_count] if args.key?(:skipped_instance_count)
32953317
@started_instance_count = args[:started_instance_count] if args.key?(:started_instance_count)
32963318
@succeeded_instance_count = args[:succeeded_instance_count] if args.key?(:succeeded_instance_count)
32973319
@succeeded_reboot_required_instance_count = args[:succeeded_reboot_required_instance_count] if args.key?(:succeeded_reboot_required_instance_count)

generated/google-apis-osconfig_v1/lib/google/apis/osconfig_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module OsconfigV1
1818
# Version of the google-apis-osconfig_v1 gem
19-
GEM_VERSION = "0.49.0"
19+
GEM_VERSION = "0.50.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250727"
25+
REVISION = "20251030"
2626
end
2727
end
2828
end

generated/google-apis-osconfig_v1/lib/google/apis/osconfig_v1/representations.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,6 +1362,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
13621362
property :pre_step, as: 'preStep', class: Google::Apis::OsconfigV1::ExecStep, decorator: Google::Apis::OsconfigV1::ExecStep::Representation
13631363

13641364
property :reboot_config, as: 'rebootConfig'
1365+
property :skip_unpatchable_vms, as: 'skipUnpatchableVms'
13651366
property :windows_update, as: 'windowsUpdate', class: Google::Apis::OsconfigV1::WindowsUpdateSettings, decorator: Google::Apis::OsconfigV1::WindowsUpdateSettings::Representation
13661367

13671368
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
14631464
property :post_patch_step_instance_count, :numeric_string => true, as: 'postPatchStepInstanceCount'
14641465
property :pre_patch_step_instance_count, :numeric_string => true, as: 'prePatchStepInstanceCount'
14651466
property :rebooting_instance_count, :numeric_string => true, as: 'rebootingInstanceCount'
1467+
property :skipped_instance_count, :numeric_string => true, as: 'skippedInstanceCount'
14661468
property :started_instance_count, :numeric_string => true, as: 'startedInstanceCount'
14671469
property :succeeded_instance_count, :numeric_string => true, as: 'succeededInstanceCount'
14681470
property :succeeded_reboot_required_instance_count, :numeric_string => true, as: 'succeededRebootRequiredInstanceCount'

0 commit comments

Comments
 (0)