Skip to content

Commit ed79abe

Browse files
feat: Automated regeneration of osconfig v1beta client (googleapis#23158)
Auto-created at 2025-05-18 10:21:21 +0000 using the toys pull request generator.
1 parent a577e16 commit ed79abe

File tree

5 files changed

+122
-2
lines changed

5 files changed

+122
-2
lines changed

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295968,6 +295968,7 @@
295968295968
"/osconfig:v1beta/LookupEffectiveGuestPolicyRequest/osArchitecture": os_architecture
295969295969
"/osconfig:v1beta/LookupEffectiveGuestPolicyRequest/osShortName": os_short_name
295970295970
"/osconfig:v1beta/LookupEffectiveGuestPolicyRequest/osVersion": os_version
295971+
"/osconfig:v1beta/MessageSet": message_set
295971295972
"/osconfig:v1beta/MonthlySchedule": monthly_schedule
295972295973
"/osconfig:v1beta/MonthlySchedule/monthDay": month_day
295973295974
"/osconfig:v1beta/MonthlySchedule/weekDayOfMonth": week_day_of_month
@@ -296195,6 +296196,12 @@
296195296196
"/osconfig:v1beta/SoftwareRecipeStepRunScript/allowedExitCodes/allowed_exit_code": allowed_exit_code
296196296197
"/osconfig:v1beta/SoftwareRecipeStepRunScript/interpreter": interpreter
296197296198
"/osconfig:v1beta/SoftwareRecipeStepRunScript/script": script
296199+
"/osconfig:v1beta/StatusProto": status_proto
296200+
"/osconfig:v1beta/StatusProto/canonicalCode": canonical_code
296201+
"/osconfig:v1beta/StatusProto/code": code
296202+
"/osconfig:v1beta/StatusProto/message": message
296203+
"/osconfig:v1beta/StatusProto/messageSet": message_set
296204+
"/osconfig:v1beta/StatusProto/space": space
296198296205
"/osconfig:v1beta/TimeOfDay": time_of_day
296199296206
"/osconfig:v1beta/TimeOfDay/hours": hours
296200296207
"/osconfig:v1beta/TimeOfDay/minutes": minutes

generated/google-apis-osconfig_v1beta/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_v1beta
22

3+
### v0.30.0 (2025-05-18)
4+
5+
* Regenerated from discovery document revision 20250511
6+
37
### v0.29.0 (2025-05-04)
48

59
* Regenerated using generator version 0.17.0

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

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -976,6 +976,27 @@ def update!(**args)
976976
end
977977
end
978978

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+
9791000
# Represents a monthly schedule. An example of a valid monthly schedule is "on
9801001
# the third Tuesday of the month" or "on the 15th of the month".
9811002
class MonthlySchedule
@@ -2269,6 +2290,64 @@ def update!(**args)
22692290
end
22702291
end
22712292

2293+
# Wire-format for a Status object
2294+
class StatusProto
2295+
include Google::Apis::Core::Hashable
2296+
2297+
# copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
2298+
# int32 canonical_code = 6;
2299+
# Corresponds to the JSON property `canonicalCode`
2300+
# @return [Fixnum]
2301+
attr_accessor :canonical_code
2302+
2303+
# Numeric code drawn from the space specified below. Often, this is the
2304+
# canonical error space, and code is drawn from google3/util/task/codes.proto
2305+
# copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
2306+
# int32 code = 1;
2307+
# Corresponds to the JSON property `code`
2308+
# @return [Fixnum]
2309+
attr_accessor :code
2310+
2311+
# Detail message copybara:strip_begin(b/383363683) copybara:
2312+
# strip_end_and_replace optional string message = 3;
2313+
# Corresponds to the JSON property `message`
2314+
# @return [String]
2315+
attr_accessor :message
2316+
2317+
# This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS.
2318+
# If you are using editions or proto2, please make your own extendable messages
2319+
# for your use case. If you are using proto3, please use `Any` instead.
2320+
# MessageSet was the implementation of extensions for proto1. When proto2 was
2321+
# introduced, extensions were implemented as a first-class feature. This schema
2322+
# for MessageSet was meant to be a "bridge" solution to migrate MessageSet-
2323+
# bearing messages from proto1 to proto2. This schema has been open-sourced only
2324+
# to facilitate the migration of Google products with MessageSet-bearing
2325+
# messages to open-source environments.
2326+
# Corresponds to the JSON property `messageSet`
2327+
# @return [Google::Apis::OsconfigV1beta::MessageSet]
2328+
attr_accessor :message_set
2329+
2330+
# copybara:strip_begin(b/383363683) Space to which this status belongs copybara:
2331+
# strip_end_and_replace optional string space = 2; // Space to which this status
2332+
# belongs
2333+
# Corresponds to the JSON property `space`
2334+
# @return [String]
2335+
attr_accessor :space
2336+
2337+
def initialize(**args)
2338+
update!(**args)
2339+
end
2340+
2341+
# Update properties of this object
2342+
def update!(**args)
2343+
@canonical_code = args[:canonical_code] if args.key?(:canonical_code)
2344+
@code = args[:code] if args.key?(:code)
2345+
@message = args[:message] if args.key?(:message)
2346+
@message_set = args[:message_set] if args.key?(:message_set)
2347+
@space = args[:space] if args.key?(:space)
2348+
end
2349+
end
2350+
22722351
# Represents a time of day. The date and time zone are either not significant or
22732352
# are specified elsewhere. An API may choose to allow leap seconds. Related
22742353
# types are google.type.Date and `google.protobuf.Timestamp`.

generated/google-apis-osconfig_v1beta/lib/google/apis/osconfig_v1beta/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 OsconfigV1beta
1818
# Version of the google-apis-osconfig_v1beta gem
19-
GEM_VERSION = "0.29.0"
19+
GEM_VERSION = "0.30.0"
2020

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

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

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
184184
include Google::Apis::Core::JsonObjectSupport
185185
end
186186

187+
class MessageSet
188+
class Representation < Google::Apis::Core::JsonRepresentation; end
189+
190+
include Google::Apis::Core::JsonObjectSupport
191+
end
192+
187193
class MonthlySchedule
188194
class Representation < Google::Apis::Core::JsonRepresentation; end
189195

@@ -352,6 +358,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
352358
include Google::Apis::Core::JsonObjectSupport
353359
end
354360

361+
class StatusProto
362+
class Representation < Google::Apis::Core::JsonRepresentation; end
363+
364+
include Google::Apis::Core::JsonObjectSupport
365+
end
366+
355367
class TimeOfDay
356368
class Representation < Google::Apis::Core::JsonRepresentation; end
357369

@@ -675,6 +687,12 @@ class Representation < Google::Apis::Core::JsonRepresentation
675687
end
676688
end
677689

690+
class MessageSet
691+
# @private
692+
class Representation < Google::Apis::Core::JsonRepresentation
693+
end
694+
end
695+
678696
class MonthlySchedule
679697
# @private
680698
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1011,6 +1029,18 @@ class Representation < Google::Apis::Core::JsonRepresentation
10111029
end
10121030
end
10131031

1032+
class StatusProto
1033+
# @private
1034+
class Representation < Google::Apis::Core::JsonRepresentation
1035+
property :canonical_code, as: 'canonicalCode'
1036+
property :code, as: 'code'
1037+
property :message, as: 'message'
1038+
property :message_set, as: 'messageSet', class: Google::Apis::OsconfigV1beta::MessageSet, decorator: Google::Apis::OsconfigV1beta::MessageSet::Representation
1039+
1040+
property :space, as: 'space'
1041+
end
1042+
end
1043+
10141044
class TimeOfDay
10151045
# @private
10161046
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)