Skip to content

Commit e420c81

Browse files
feat: Automated regeneration of osconfig v1beta client (#24881)
Auto-created at 2025-11-09 09:13:12 +0000 using the toys pull request generator.
1 parent f208844 commit e420c81

File tree

5 files changed

+34
-3
lines changed

5 files changed

+34
-3
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319042,6 +319042,7 @@
319042319042
"/osconfig:v1beta/PatchConfig/postStep": post_step
319043319043
"/osconfig:v1beta/PatchConfig/preStep": pre_step
319044319044
"/osconfig:v1beta/PatchConfig/rebootConfig": reboot_config
319045+
"/osconfig:v1beta/PatchConfig/skipUnpatchableVms": skip_unpatchable_vms
319045319046
"/osconfig:v1beta/PatchConfig/windowsUpdate": windows_update
319046319047
"/osconfig:v1beta/PatchConfig/yum": yum
319047319048
"/osconfig:v1beta/PatchConfig/zypper": zypper
@@ -319105,6 +319106,7 @@
319105319106
"/osconfig:v1beta/PatchJobInstanceDetailsSummary/postPatchStepInstanceCount": post_patch_step_instance_count
319106319107
"/osconfig:v1beta/PatchJobInstanceDetailsSummary/prePatchStepInstanceCount": pre_patch_step_instance_count
319107319108
"/osconfig:v1beta/PatchJobInstanceDetailsSummary/rebootingInstanceCount": rebooting_instance_count
319109+
"/osconfig:v1beta/PatchJobInstanceDetailsSummary/skippedInstanceCount": skipped_instance_count
319108319110
"/osconfig:v1beta/PatchJobInstanceDetailsSummary/startedInstanceCount": started_instance_count
319109319111
"/osconfig:v1beta/PatchJobInstanceDetailsSummary/succeededInstanceCount": succeeded_instance_count
319110319112
"/osconfig:v1beta/PatchJobInstanceDetailsSummary/succeededRebootRequiredInstanceCount": succeeded_reboot_required_instance_count

generated/google-apis-osconfig_v1beta/CHANGELOG.md

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

3+
### v0.31.0 (2025-11-09)
4+
5+
* Regenerated from discovery document revision 20251030
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.30.0 (2025-05-18)
49

510
* Regenerated from discovery document revision 20250511

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,6 +1218,21 @@ class PatchConfig
12181218
# @return [String]
12191219
attr_accessor :reboot_config
12201220

1221+
# Optional. Enables enhanced reporting for the patch job: 1. Allows the patch
1222+
# job to skip unpatchable instances, reporting them as SKIPPED. An instance can
1223+
# be unpatchable for two reasons: a. The instance runs Container-Optimized OS (
1224+
# COS), which cannot be patched. b. The patch job's configuration prohibits
1225+
# patching on Managed Instance Groups (MIGs) through the PatchConfig.
1226+
# migInstancesAllowed field, and the instance is part of one. 2. The system
1227+
# reports the patch job as SUCCEEDED if it completes without errors, regardless
1228+
# of whether any instances were SKIPPED. 3. The system reports the patch job as
1229+
# COMPLETED_WITH_INACTIVE_VMS if it completes without errors, but some instances
1230+
# were INACTIVE and therefore not patched.
1231+
# Corresponds to the JSON property `skipUnpatchableVms`
1232+
# @return [Boolean]
1233+
attr_accessor :skip_unpatchable_vms
1234+
alias_method :skip_unpatchable_vms?, :skip_unpatchable_vms
1235+
12211236
# Windows patching is performed using the Windows Update Agent.
12221237
# Corresponds to the JSON property `windowsUpdate`
12231238
# @return [Google::Apis::OsconfigV1beta::WindowsUpdateSettings]
@@ -1248,6 +1263,7 @@ def update!(**args)
12481263
@post_step = args[:post_step] if args.key?(:post_step)
12491264
@pre_step = args[:pre_step] if args.key?(:pre_step)
12501265
@reboot_config = args[:reboot_config] if args.key?(:reboot_config)
1266+
@skip_unpatchable_vms = args[:skip_unpatchable_vms] if args.key?(:skip_unpatchable_vms)
12511267
@windows_update = args[:windows_update] if args.key?(:windows_update)
12521268
@yum = args[:yum] if args.key?(:yum)
12531269
@zypper = args[:zypper] if args.key?(:zypper)
@@ -1660,6 +1676,11 @@ class PatchJobInstanceDetailsSummary
16601676
# @return [Fixnum]
16611677
attr_accessor :rebooting_instance_count
16621678

1679+
# Number of instances that were skipped during patching.
1680+
# Corresponds to the JSON property `skippedInstanceCount`
1681+
# @return [Fixnum]
1682+
attr_accessor :skipped_instance_count
1683+
16631684
# Number of instances that have started.
16641685
# Corresponds to the JSON property `startedInstanceCount`
16651686
# @return [Fixnum]
@@ -1697,6 +1718,7 @@ def update!(**args)
16971718
@post_patch_step_instance_count = args[:post_patch_step_instance_count] if args.key?(:post_patch_step_instance_count)
16981719
@pre_patch_step_instance_count = args[:pre_patch_step_instance_count] if args.key?(:pre_patch_step_instance_count)
16991720
@rebooting_instance_count = args[:rebooting_instance_count] if args.key?(:rebooting_instance_count)
1721+
@skipped_instance_count = args[:skipped_instance_count] if args.key?(:skipped_instance_count)
17001722
@started_instance_count = args[:started_instance_count] if args.key?(:started_instance_count)
17011723
@succeeded_instance_count = args[:succeeded_instance_count] if args.key?(:succeeded_instance_count)
17021724
@succeeded_reboot_required_instance_count = args[:succeeded_reboot_required_instance_count] if args.key?(:succeeded_reboot_required_instance_count)

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module OsconfigV1beta
1818
# Version of the google-apis-osconfig_v1beta gem
19-
GEM_VERSION = "0.30.0"
19+
GEM_VERSION = "0.31.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

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

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

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

758758
property :reboot_config, as: 'rebootConfig'
759+
property :skip_unpatchable_vms, as: 'skipUnpatchableVms'
759760
property :windows_update, as: 'windowsUpdate', class: Google::Apis::OsconfigV1beta::WindowsUpdateSettings, decorator: Google::Apis::OsconfigV1beta::WindowsUpdateSettings::Representation
760761

761762
property :yum, as: 'yum', class: Google::Apis::OsconfigV1beta::YumSettings, decorator: Google::Apis::OsconfigV1beta::YumSettings::Representation
@@ -857,6 +858,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
857858
property :post_patch_step_instance_count, :numeric_string => true, as: 'postPatchStepInstanceCount'
858859
property :pre_patch_step_instance_count, :numeric_string => true, as: 'prePatchStepInstanceCount'
859860
property :rebooting_instance_count, :numeric_string => true, as: 'rebootingInstanceCount'
861+
property :skipped_instance_count, :numeric_string => true, as: 'skippedInstanceCount'
860862
property :started_instance_count, :numeric_string => true, as: 'startedInstanceCount'
861863
property :succeeded_instance_count, :numeric_string => true, as: 'succeededInstanceCount'
862864
property :succeeded_reboot_required_instance_count, :numeric_string => true, as: 'succeededRebootRequiredInstanceCount'

0 commit comments

Comments
 (0)