google-apis-baremetalsolution_v1 0.15.0 → 0.16.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: 06f1380ffba7a682123224ce37b8c755d03dfe664247d108a46f38a8022751c4
4
- data.tar.gz: d60266bb7a8bae844bfdb7f0f27e36af9088218281e546fcb48d726d20cb6039
3
+ metadata.gz: d474c4be0ea7745bbd210c2212da0c52d531e9becce4de8ba7e043d30566d101
4
+ data.tar.gz: 625c5d93fe20cd86e157bb1401e5224af073ebdbc8a082cd6b895c2ee26a2da3
5
5
  SHA512:
6
- metadata.gz: 8a6d0e350c15c8ea4ce58704a4765be27639975896fca4278f07e9e7e76cf74342444aa8021cdcf2a0e23e64809e7387f5387c8c11c90552006479434c25d39f
7
- data.tar.gz: c26b388c318c6a877c7601d9e9f9acf77a48a71cdf83b18aada57afde740f2dd51bbd250cabd83e924cc72909c9df7f254b6a036fe9d1ed9918b27d5fe57b1f5
6
+ metadata.gz: 5b816a9861f4a16957a2f47ebf8076567f0714d5900b0c1de090bdeca91d01dd542423edfae57db06c4c6131cec5ed3e2e8e49073ea7f858bc47d06c18cd353a
7
+ data.tar.gz: afb984f0977f1bad53afc5d9f4ed43dbd96308d43a3eefaf6ee613eb5cfea69948c5c84a2d3863bde708f68448786cf79c3ddcd986805914caa681234388fec3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-baremetalsolution_v1
2
2
 
3
+ ### v0.16.0 (2023-01-08)
4
+
5
+ * Regenerated from discovery document revision 20230104
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.15.0 (2023-01-04)
4
9
 
5
10
  * Regenerated from discovery document revision 20221201
@@ -138,6 +138,91 @@ module Google
138
138
  end
139
139
  end
140
140
 
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
+
141
226
  # The `Status` type defines a logical error model that is suitable for different
142
227
  # programming environments, including REST APIs and RPC APIs. It is used by [
143
228
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BaremetalsolutionV1
18
18
  # Version of the google-apis-baremetalsolution_v1 gem
19
- GEM_VERSION = "0.15.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221201"
25
+ REVISION = "20230104"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,18 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
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
+
49
61
  class Status
50
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
63
 
@@ -85,6 +97,27 @@ module Google
85
97
  end
86
98
  end
87
99
 
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
+
88
121
  class Status
89
122
  # @private
90
123
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-baremetalsolution_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-04 00:00:00.000000000 Z
11
+ date: 2023-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-baremetalsolution_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-baremetalsolution_v1/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-baremetalsolution_v1/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-baremetalsolution_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Bare Metal Solution API V1