google-apis-rapidmigrationassessment_v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,276 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module RapidmigrationassessmentV1
24
+
25
+ class Annotation
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class CancelOperationRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class Collector
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Empty
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GuestOsScan
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ListCollectorsResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class ListLocationsResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ListOperationsResponse
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Location
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class Operation
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class OperationMetadata
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class PauseCollectorRequest
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class RegisterCollectorRequest
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ResumeCollectorRequest
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class Status
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class VSphereScan
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class Annotation
122
+ # @private
123
+ class Representation < Google::Apis::Core::JsonRepresentation
124
+ property :create_time, as: 'createTime'
125
+ hash :labels, as: 'labels'
126
+ property :name, as: 'name'
127
+ property :type, as: 'type'
128
+ property :update_time, as: 'updateTime'
129
+ end
130
+ end
131
+
132
+ class CancelOperationRequest
133
+ # @private
134
+ class Representation < Google::Apis::Core::JsonRepresentation
135
+ end
136
+ end
137
+
138
+ class Collector
139
+ # @private
140
+ class Representation < Google::Apis::Core::JsonRepresentation
141
+ property :bucket, as: 'bucket'
142
+ property :client_version, as: 'clientVersion'
143
+ property :collection_days, as: 'collectionDays'
144
+ property :create_time, as: 'createTime'
145
+ property :description, as: 'description'
146
+ property :display_name, as: 'displayName'
147
+ property :eula_uri, as: 'eulaUri'
148
+ property :expected_asset_count, :numeric_string => true, as: 'expectedAssetCount'
149
+ property :guest_os_scan, as: 'guestOsScan', class: Google::Apis::RapidmigrationassessmentV1::GuestOsScan, decorator: Google::Apis::RapidmigrationassessmentV1::GuestOsScan::Representation
150
+
151
+ hash :labels, as: 'labels'
152
+ property :name, as: 'name'
153
+ property :service_account, as: 'serviceAccount'
154
+ property :state, as: 'state'
155
+ property :update_time, as: 'updateTime'
156
+ property :vsphere_scan, as: 'vsphereScan', class: Google::Apis::RapidmigrationassessmentV1::VSphereScan, decorator: Google::Apis::RapidmigrationassessmentV1::VSphereScan::Representation
157
+
158
+ end
159
+ end
160
+
161
+ class Empty
162
+ # @private
163
+ class Representation < Google::Apis::Core::JsonRepresentation
164
+ end
165
+ end
166
+
167
+ class GuestOsScan
168
+ # @private
169
+ class Representation < Google::Apis::Core::JsonRepresentation
170
+ property :core_source, as: 'coreSource'
171
+ end
172
+ end
173
+
174
+ class ListCollectorsResponse
175
+ # @private
176
+ class Representation < Google::Apis::Core::JsonRepresentation
177
+ collection :collectors, as: 'collectors', class: Google::Apis::RapidmigrationassessmentV1::Collector, decorator: Google::Apis::RapidmigrationassessmentV1::Collector::Representation
178
+
179
+ property :next_page_token, as: 'nextPageToken'
180
+ collection :unreachable, as: 'unreachable'
181
+ end
182
+ end
183
+
184
+ class ListLocationsResponse
185
+ # @private
186
+ class Representation < Google::Apis::Core::JsonRepresentation
187
+ collection :locations, as: 'locations', class: Google::Apis::RapidmigrationassessmentV1::Location, decorator: Google::Apis::RapidmigrationassessmentV1::Location::Representation
188
+
189
+ property :next_page_token, as: 'nextPageToken'
190
+ end
191
+ end
192
+
193
+ class ListOperationsResponse
194
+ # @private
195
+ class Representation < Google::Apis::Core::JsonRepresentation
196
+ property :next_page_token, as: 'nextPageToken'
197
+ collection :operations, as: 'operations', class: Google::Apis::RapidmigrationassessmentV1::Operation, decorator: Google::Apis::RapidmigrationassessmentV1::Operation::Representation
198
+
199
+ end
200
+ end
201
+
202
+ class Location
203
+ # @private
204
+ class Representation < Google::Apis::Core::JsonRepresentation
205
+ property :display_name, as: 'displayName'
206
+ hash :labels, as: 'labels'
207
+ property :location_id, as: 'locationId'
208
+ hash :metadata, as: 'metadata'
209
+ property :name, as: 'name'
210
+ end
211
+ end
212
+
213
+ class Operation
214
+ # @private
215
+ class Representation < Google::Apis::Core::JsonRepresentation
216
+ property :done, as: 'done'
217
+ property :error, as: 'error', class: Google::Apis::RapidmigrationassessmentV1::Status, decorator: Google::Apis::RapidmigrationassessmentV1::Status::Representation
218
+
219
+ hash :metadata, as: 'metadata'
220
+ property :name, as: 'name'
221
+ hash :response, as: 'response'
222
+ end
223
+ end
224
+
225
+ class OperationMetadata
226
+ # @private
227
+ class Representation < Google::Apis::Core::JsonRepresentation
228
+ property :api_version, as: 'apiVersion'
229
+ property :create_time, as: 'createTime'
230
+ property :end_time, as: 'endTime'
231
+ property :requested_cancellation, as: 'requestedCancellation'
232
+ property :status_message, as: 'statusMessage'
233
+ property :target, as: 'target'
234
+ property :verb, as: 'verb'
235
+ end
236
+ end
237
+
238
+ class PauseCollectorRequest
239
+ # @private
240
+ class Representation < Google::Apis::Core::JsonRepresentation
241
+ property :request_id, as: 'requestId'
242
+ end
243
+ end
244
+
245
+ class RegisterCollectorRequest
246
+ # @private
247
+ class Representation < Google::Apis::Core::JsonRepresentation
248
+ property :request_id, as: 'requestId'
249
+ end
250
+ end
251
+
252
+ class ResumeCollectorRequest
253
+ # @private
254
+ class Representation < Google::Apis::Core::JsonRepresentation
255
+ property :request_id, as: 'requestId'
256
+ end
257
+ end
258
+
259
+ class Status
260
+ # @private
261
+ class Representation < Google::Apis::Core::JsonRepresentation
262
+ property :code, as: 'code'
263
+ collection :details, as: 'details'
264
+ property :message, as: 'message'
265
+ end
266
+ end
267
+
268
+ class VSphereScan
269
+ # @private
270
+ class Representation < Google::Apis::Core::JsonRepresentation
271
+ property :core_source, as: 'coreSource'
272
+ end
273
+ end
274
+ end
275
+ end
276
+ end