google-apis-osconfig_v1beta 0.29.0 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2e00108434d7f438aa353b16b0da1fac19048debb816d6bacd33f850b0a492a
4
- data.tar.gz: c5b69feacf4aa88ea65a05c74319ba0a286ec691ad15474d4342001c33b0ccd5
3
+ metadata.gz: 41f45a563c59031d9969b1c819dbe7d5ab09a9fb45808710a3ae1394b494aad6
4
+ data.tar.gz: 46c603a0f0c491243d70c51a278b48698ae8ce47186b9b6021e4822f878ace2a
5
5
  SHA512:
6
- metadata.gz: bb77e0514cc53a2774c60f58550774fda2baff1f559a7e43e787dc8a054ad0627d6e00e660836a725199f748d3e77afe78190e1d6d2649ff7b10022ca3be8fca
7
- data.tar.gz: 6d7ff9d2432c1cce911bb9b992bf644c0af9a6d2d18dcab1d13a82ae552be6f01640ff801a8a591e99256b2a6569433231d184622c37e0c7bd0a50629591a0b8
6
+ metadata.gz: 7ae5cd754998381736db44b701dbf37de7a642fab95d3a85f00ddeda303ca42b1b64cdca1ed8d741649abaf77b539019a236ba529e20077bd1f26368846b6df1
7
+ data.tar.gz: 67adcd5464dd1281a39bff996265ffb4542cc085958346b7f7f3de4a4c1b5eb30035c05078ccc6dfb62af912037ca01ed0e0ac6576db312d684a42c3654dbe4b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-osconfig_v1beta
2
2
 
3
+ ### v0.31.0 (2025-11-09)
4
+
5
+ * Regenerated from discovery document revision 20251030
6
+ * Regenerated using generator version 0.18.0
7
+
8
+ ### v0.30.0 (2025-05-18)
9
+
10
+ * Regenerated from discovery document revision 20250511
11
+
3
12
  ### v0.29.0 (2025-05-04)
4
13
 
5
14
  * Regenerated using generator version 0.17.0
@@ -976,6 +976,27 @@ module Google
976
976
  end
977
977
  end
978
978
 
979
+ # This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS.
980
+ # If you are using editions or proto2, please make your own extendable messages
981
+ # for your use case. If you are using proto3, please use `Any` instead.
982
+ # MessageSet was the implementation of extensions for proto1. When proto2 was
983
+ # introduced, extensions were implemented as a first-class feature. This schema
984
+ # for MessageSet was meant to be a "bridge" solution to migrate MessageSet-
985
+ # bearing messages from proto1 to proto2. This schema has been open-sourced only
986
+ # to facilitate the migration of Google products with MessageSet-bearing
987
+ # messages to open-source environments.
988
+ class MessageSet
989
+ include Google::Apis::Core::Hashable
990
+
991
+ def initialize(**args)
992
+ update!(**args)
993
+ end
994
+
995
+ # Update properties of this object
996
+ def update!(**args)
997
+ end
998
+ end
999
+
979
1000
  # Represents a monthly schedule. An example of a valid monthly schedule is "on
980
1001
  # the third Tuesday of the month" or "on the 15th of the month".
981
1002
  class MonthlySchedule
@@ -1197,6 +1218,21 @@ module Google
1197
1218
  # @return [String]
1198
1219
  attr_accessor :reboot_config
1199
1220
 
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
+
1200
1236
  # Windows patching is performed using the Windows Update Agent.
1201
1237
  # Corresponds to the JSON property `windowsUpdate`
1202
1238
  # @return [Google::Apis::OsconfigV1beta::WindowsUpdateSettings]
@@ -1227,6 +1263,7 @@ module Google
1227
1263
  @post_step = args[:post_step] if args.key?(:post_step)
1228
1264
  @pre_step = args[:pre_step] if args.key?(:pre_step)
1229
1265
  @reboot_config = args[:reboot_config] if args.key?(:reboot_config)
1266
+ @skip_unpatchable_vms = args[:skip_unpatchable_vms] if args.key?(:skip_unpatchable_vms)
1230
1267
  @windows_update = args[:windows_update] if args.key?(:windows_update)
1231
1268
  @yum = args[:yum] if args.key?(:yum)
1232
1269
  @zypper = args[:zypper] if args.key?(:zypper)
@@ -1639,6 +1676,11 @@ module Google
1639
1676
  # @return [Fixnum]
1640
1677
  attr_accessor :rebooting_instance_count
1641
1678
 
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
+
1642
1684
  # Number of instances that have started.
1643
1685
  # Corresponds to the JSON property `startedInstanceCount`
1644
1686
  # @return [Fixnum]
@@ -1676,6 +1718,7 @@ module Google
1676
1718
  @post_patch_step_instance_count = args[:post_patch_step_instance_count] if args.key?(:post_patch_step_instance_count)
1677
1719
  @pre_patch_step_instance_count = args[:pre_patch_step_instance_count] if args.key?(:pre_patch_step_instance_count)
1678
1720
  @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)
1679
1722
  @started_instance_count = args[:started_instance_count] if args.key?(:started_instance_count)
1680
1723
  @succeeded_instance_count = args[:succeeded_instance_count] if args.key?(:succeeded_instance_count)
1681
1724
  @succeeded_reboot_required_instance_count = args[:succeeded_reboot_required_instance_count] if args.key?(:succeeded_reboot_required_instance_count)
@@ -2269,6 +2312,64 @@ module Google
2269
2312
  end
2270
2313
  end
2271
2314
 
2315
+ # Wire-format for a Status object
2316
+ class StatusProto
2317
+ include Google::Apis::Core::Hashable
2318
+
2319
+ # copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
2320
+ # int32 canonical_code = 6;
2321
+ # Corresponds to the JSON property `canonicalCode`
2322
+ # @return [Fixnum]
2323
+ attr_accessor :canonical_code
2324
+
2325
+ # Numeric code drawn from the space specified below. Often, this is the
2326
+ # canonical error space, and code is drawn from google3/util/task/codes.proto
2327
+ # copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
2328
+ # int32 code = 1;
2329
+ # Corresponds to the JSON property `code`
2330
+ # @return [Fixnum]
2331
+ attr_accessor :code
2332
+
2333
+ # Detail message copybara:strip_begin(b/383363683) copybara:
2334
+ # strip_end_and_replace optional string message = 3;
2335
+ # Corresponds to the JSON property `message`
2336
+ # @return [String]
2337
+ attr_accessor :message
2338
+
2339
+ # This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS.
2340
+ # If you are using editions or proto2, please make your own extendable messages
2341
+ # for your use case. If you are using proto3, please use `Any` instead.
2342
+ # MessageSet was the implementation of extensions for proto1. When proto2 was
2343
+ # introduced, extensions were implemented as a first-class feature. This schema
2344
+ # for MessageSet was meant to be a "bridge" solution to migrate MessageSet-
2345
+ # bearing messages from proto1 to proto2. This schema has been open-sourced only
2346
+ # to facilitate the migration of Google products with MessageSet-bearing
2347
+ # messages to open-source environments.
2348
+ # Corresponds to the JSON property `messageSet`
2349
+ # @return [Google::Apis::OsconfigV1beta::MessageSet]
2350
+ attr_accessor :message_set
2351
+
2352
+ # copybara:strip_begin(b/383363683) Space to which this status belongs copybara:
2353
+ # strip_end_and_replace optional string space = 2; // Space to which this status
2354
+ # belongs
2355
+ # Corresponds to the JSON property `space`
2356
+ # @return [String]
2357
+ attr_accessor :space
2358
+
2359
+ def initialize(**args)
2360
+ update!(**args)
2361
+ end
2362
+
2363
+ # Update properties of this object
2364
+ def update!(**args)
2365
+ @canonical_code = args[:canonical_code] if args.key?(:canonical_code)
2366
+ @code = args[:code] if args.key?(:code)
2367
+ @message = args[:message] if args.key?(:message)
2368
+ @message_set = args[:message_set] if args.key?(:message_set)
2369
+ @space = args[:space] if args.key?(:space)
2370
+ end
2371
+ end
2372
+
2272
2373
  # Represents a time of day. The date and time zone are either not significant or
2273
2374
  # are specified elsewhere. An API may choose to allow leap seconds. Related
2274
2375
  # types are google.type.Date and `google.protobuf.Timestamp`.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OsconfigV1beta
18
18
  # Version of the google-apis-osconfig_v1beta gem
19
- GEM_VERSION = "0.29.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250323"
25
+ REVISION = "20251030"
26
26
  end
27
27
  end
28
28
  end
@@ -184,6 +184,12 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class MessageSet
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class MonthlySchedule
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -352,6 +358,12 @@ module Google
352
358
  include Google::Apis::Core::JsonObjectSupport
353
359
  end
354
360
 
361
+ class StatusProto
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
355
367
  class TimeOfDay
356
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
369
 
@@ -675,6 +687,12 @@ module Google
675
687
  end
676
688
  end
677
689
 
690
+ class MessageSet
691
+ # @private
692
+ class Representation < Google::Apis::Core::JsonRepresentation
693
+ end
694
+ end
695
+
678
696
  class MonthlySchedule
679
697
  # @private
680
698
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -738,6 +756,7 @@ module Google
738
756
  property :pre_step, as: 'preStep', class: Google::Apis::OsconfigV1beta::ExecStep, decorator: Google::Apis::OsconfigV1beta::ExecStep::Representation
739
757
 
740
758
  property :reboot_config, as: 'rebootConfig'
759
+ property :skip_unpatchable_vms, as: 'skipUnpatchableVms'
741
760
  property :windows_update, as: 'windowsUpdate', class: Google::Apis::OsconfigV1beta::WindowsUpdateSettings, decorator: Google::Apis::OsconfigV1beta::WindowsUpdateSettings::Representation
742
761
 
743
762
  property :yum, as: 'yum', class: Google::Apis::OsconfigV1beta::YumSettings, decorator: Google::Apis::OsconfigV1beta::YumSettings::Representation
@@ -839,6 +858,7 @@ module Google
839
858
  property :post_patch_step_instance_count, :numeric_string => true, as: 'postPatchStepInstanceCount'
840
859
  property :pre_patch_step_instance_count, :numeric_string => true, as: 'prePatchStepInstanceCount'
841
860
  property :rebooting_instance_count, :numeric_string => true, as: 'rebootingInstanceCount'
861
+ property :skipped_instance_count, :numeric_string => true, as: 'skippedInstanceCount'
842
862
  property :started_instance_count, :numeric_string => true, as: 'startedInstanceCount'
843
863
  property :succeeded_instance_count, :numeric_string => true, as: 'succeededInstanceCount'
844
864
  property :succeeded_reboot_required_instance_count, :numeric_string => true, as: 'succeededRebootRequiredInstanceCount'
@@ -1011,6 +1031,18 @@ module Google
1011
1031
  end
1012
1032
  end
1013
1033
 
1034
+ class StatusProto
1035
+ # @private
1036
+ class Representation < Google::Apis::Core::JsonRepresentation
1037
+ property :canonical_code, as: 'canonicalCode'
1038
+ property :code, as: 'code'
1039
+ property :message, as: 'message'
1040
+ property :message_set, as: 'messageSet', class: Google::Apis::OsconfigV1beta::MessageSet, decorator: Google::Apis::OsconfigV1beta::MessageSet::Representation
1041
+
1042
+ property :space, as: 'space'
1043
+ end
1044
+ end
1045
+
1014
1046
  class TimeOfDay
1015
1047
  # @private
1016
1048
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-osconfig_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1beta/v0.29.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1beta/v0.31.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1beta
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for OS Config API V1beta
79
79
  test_files: []