Skip to content

Commit 6c835ef

Browse files
feat: Automated regeneration of baremetalsolution v1 client (#13208)
Auto-created at 2023-01-08 09:57:59 +0000 using the toys pull request generator.
1 parent c069cfe commit 6c835ef

File tree

4 files changed

+126
-3
lines changed

4 files changed

+126
-3
lines changed

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

3+
### v0.16.0 (2023-01-08)
4+
5+
* Regenerated from discovery document revision 20230104
6+
* Regenerated using generator version 0.11.1
7+
38
### v0.15.0 (2023-01-04)
49

510
* Regenerated from discovery document revision 20221201

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

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,91 @@ def update!(**args)
138138
end
139139
end
140140

141+
# Represents the metadata of the long-running operation.
142+
class OperationMetadata
143+
include Google::Apis::Core::Hashable
144+
145+
# Output only. API version used to start the operation.
146+
# Corresponds to the JSON property `apiVersion`
147+
# @return [String]
148+
attr_accessor :api_version
149+
150+
# Output only. Identifies whether the user has requested cancellation of the
151+
# operation. Operations that have been cancelled successfully have Operation.
152+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
153+
# CANCELLED`.
154+
# Corresponds to the JSON property `cancelRequested`
155+
# @return [Boolean]
156+
attr_accessor :cancel_requested
157+
alias_method :cancel_requested?, :cancel_requested
158+
159+
# Output only. The time the operation was created.
160+
# Corresponds to the JSON property `createTime`
161+
# @return [String]
162+
attr_accessor :create_time
163+
164+
# Output only. The time the operation finished running.
165+
# Corresponds to the JSON property `endTime`
166+
# @return [String]
167+
attr_accessor :end_time
168+
169+
# Output only. Human-readable status of the operation, if any.
170+
# Corresponds to the JSON property `statusDetail`
171+
# @return [String]
172+
attr_accessor :status_detail
173+
174+
# Output only. Server-defined resource path for the target of the operation.
175+
# Corresponds to the JSON property `target`
176+
# @return [String]
177+
attr_accessor :target
178+
179+
# Output only. Name of the verb executed by the operation.
180+
# Corresponds to the JSON property `verb`
181+
# @return [String]
182+
attr_accessor :verb
183+
184+
def initialize(**args)
185+
update!(**args)
186+
end
187+
188+
# Update properties of this object
189+
def update!(**args)
190+
@api_version = args[:api_version] if args.key?(:api_version)
191+
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
192+
@create_time = args[:create_time] if args.key?(:create_time)
193+
@end_time = args[:end_time] if args.key?(:end_time)
194+
@status_detail = args[:status_detail] if args.key?(:status_detail)
195+
@target = args[:target] if args.key?(:target)
196+
@verb = args[:verb] if args.key?(:verb)
197+
end
198+
end
199+
200+
# Operation metadata returned by the CLH during resource state reconciliation.
201+
class ReconciliationOperationMetadata
202+
include Google::Apis::Core::Hashable
203+
204+
# DEPRECATED. Use exclusive_action instead.
205+
# Corresponds to the JSON property `deleteResource`
206+
# @return [Boolean]
207+
attr_accessor :delete_resource
208+
alias_method :delete_resource?, :delete_resource
209+
210+
# Excluisive action returned by the CLH.
211+
# Corresponds to the JSON property `exclusiveAction`
212+
# @return [String]
213+
attr_accessor :exclusive_action
214+
215+
def initialize(**args)
216+
update!(**args)
217+
end
218+
219+
# Update properties of this object
220+
def update!(**args)
221+
@delete_resource = args[:delete_resource] if args.key?(:delete_resource)
222+
@exclusive_action = args[:exclusive_action] if args.key?(:exclusive_action)
223+
end
224+
end
225+
141226
# The `Status` type defines a logical error model that is suitable for different
142227
# programming environments, including REST APIs and RPC APIs. It is used by [
143228
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of

generated/google-apis-baremetalsolution_v1/lib/google/apis/baremetalsolution_v1/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 BaremetalsolutionV1
1818
# Version of the google-apis-baremetalsolution_v1 gem
19-
GEM_VERSION = "0.15.0"
19+
GEM_VERSION = "0.16.0"
2020

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

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

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
4646
include Google::Apis::Core::JsonObjectSupport
4747
end
4848

49+
class OperationMetadata
50+
class Representation < Google::Apis::Core::JsonRepresentation; end
51+
52+
include Google::Apis::Core::JsonObjectSupport
53+
end
54+
55+
class ReconciliationOperationMetadata
56+
class Representation < Google::Apis::Core::JsonRepresentation; end
57+
58+
include Google::Apis::Core::JsonObjectSupport
59+
end
60+
4961
class Status
5062
class Representation < Google::Apis::Core::JsonRepresentation; end
5163

@@ -85,6 +97,27 @@ class Representation < Google::Apis::Core::JsonRepresentation
8597
end
8698
end
8799

100+
class OperationMetadata
101+
# @private
102+
class Representation < Google::Apis::Core::JsonRepresentation
103+
property :api_version, as: 'apiVersion'
104+
property :cancel_requested, as: 'cancelRequested'
105+
property :create_time, as: 'createTime'
106+
property :end_time, as: 'endTime'
107+
property :status_detail, as: 'statusDetail'
108+
property :target, as: 'target'
109+
property :verb, as: 'verb'
110+
end
111+
end
112+
113+
class ReconciliationOperationMetadata
114+
# @private
115+
class Representation < Google::Apis::Core::JsonRepresentation
116+
property :delete_resource, as: 'deleteResource'
117+
property :exclusive_action, as: 'exclusiveAction'
118+
end
119+
end
120+
88121
class Status
89122
# @private
90123
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)