Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-osconfig_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down