google-apis-migrationcenter_v1alpha1 0.5.0 → 0.7.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/migrationcenter_v1alpha1/classes.rb +109 -8
- data/lib/google/apis/migrationcenter_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/migrationcenter_v1alpha1/representations.rb +50 -1
- data/lib/google/apis/migrationcenter_v1alpha1/service.rb +170 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ab987963da72d7ba702732b2d3695823de85891623d7c4fb5fb2e6c8f08451a
|
4
|
+
data.tar.gz: 551f1c2b983c5fe86e002ac6b1d9bfbd38d0e814a2e2990214e8d5d745b3fe4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35e1413add9eae7f8f23cd32d3de69a131a8af575298b98a419dfc6e032a95557e6cf8dae6b1061bad1de9353570cf7a1efa8be988840e7aba25fd5d3b9f44f6
|
7
|
+
data.tar.gz: 93fc9d2ce2ef1f77057d81662354a6e01f7fc1cbd2f669c02867ad14f6fb96d8cb4b5cd6d94746cfbf1326acae8714ad120735a4e693d900ce0b12e285e217c8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-migrationcenter_v1alpha1
|
2
2
|
|
3
|
+
### v0.7.0 (2023-05-14)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230505
|
6
|
+
|
7
|
+
### v0.6.0 (2023-04-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230420
|
10
|
+
|
3
11
|
### v0.5.0 (2023-04-23)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230414
|
@@ -604,7 +604,7 @@ module Google
|
|
604
604
|
attr_accessor :allow_missing
|
605
605
|
alias_method :allow_missing?, :allow_missing
|
606
606
|
|
607
|
-
# Required. The IDs of the assets to delete. A maximum of
|
607
|
+
# Required. The IDs of the assets to delete. A maximum of 1000 assets can be
|
608
608
|
# deleted in a batch. format: projects/`project`/locations/`location`/asset/`
|
609
609
|
# name`.
|
610
610
|
# Corresponds to the JSON property `names`
|
@@ -1330,6 +1330,43 @@ module Google
|
|
1330
1330
|
end
|
1331
1331
|
end
|
1332
1332
|
|
1333
|
+
# Message representing a frame which failed to be processed due to an error.
|
1334
|
+
class ErrorFrame
|
1335
|
+
include Google::Apis::Core::Hashable
|
1336
|
+
|
1337
|
+
# Output only. Frame ingestion time.
|
1338
|
+
# Corresponds to the JSON property `ingestionTime`
|
1339
|
+
# @return [String]
|
1340
|
+
attr_accessor :ingestion_time
|
1341
|
+
|
1342
|
+
# Output only. The identifier of the ErrorFrame.
|
1343
|
+
# Corresponds to the JSON property `name`
|
1344
|
+
# @return [String]
|
1345
|
+
attr_accessor :name
|
1346
|
+
|
1347
|
+
# Contains data reported from an inventory source on an asset.
|
1348
|
+
# Corresponds to the JSON property `originalFrame`
|
1349
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::AssetFrame]
|
1350
|
+
attr_accessor :original_frame
|
1351
|
+
|
1352
|
+
# Output only. All the violations that were detected for the frame.
|
1353
|
+
# Corresponds to the JSON property `violations`
|
1354
|
+
# @return [Array<Google::Apis::MigrationcenterV1alpha1::FrameViolationEntry>]
|
1355
|
+
attr_accessor :violations
|
1356
|
+
|
1357
|
+
def initialize(**args)
|
1358
|
+
update!(**args)
|
1359
|
+
end
|
1360
|
+
|
1361
|
+
# Update properties of this object
|
1362
|
+
def update!(**args)
|
1363
|
+
@ingestion_time = args[:ingestion_time] if args.key?(:ingestion_time)
|
1364
|
+
@name = args[:name] if args.key?(:name)
|
1365
|
+
@original_frame = args[:original_frame] if args.key?(:original_frame)
|
1366
|
+
@violations = args[:violations] if args.key?(:violations)
|
1367
|
+
end
|
1368
|
+
end
|
1369
|
+
|
1333
1370
|
# A resource that reports result of the import job execution.
|
1334
1371
|
class ExecutionReport
|
1335
1372
|
include Google::Apis::Core::Hashable
|
@@ -1425,6 +1462,32 @@ module Google
|
|
1425
1462
|
end
|
1426
1463
|
end
|
1427
1464
|
|
1465
|
+
# A resource that contains a single violation of a reported `AssetFrame`
|
1466
|
+
# resource.
|
1467
|
+
class FrameViolationEntry
|
1468
|
+
include Google::Apis::Core::Hashable
|
1469
|
+
|
1470
|
+
# The field of the original frame where the violation occurred.
|
1471
|
+
# Corresponds to the JSON property `field`
|
1472
|
+
# @return [String]
|
1473
|
+
attr_accessor :field
|
1474
|
+
|
1475
|
+
# A message describing the violation.
|
1476
|
+
# Corresponds to the JSON property `violation`
|
1477
|
+
# @return [String]
|
1478
|
+
attr_accessor :violation
|
1479
|
+
|
1480
|
+
def initialize(**args)
|
1481
|
+
update!(**args)
|
1482
|
+
end
|
1483
|
+
|
1484
|
+
# Update properties of this object
|
1485
|
+
def update!(**args)
|
1486
|
+
@field = args[:field] if args.key?(:field)
|
1487
|
+
@violation = args[:violation] if args.key?(:violation)
|
1488
|
+
end
|
1489
|
+
end
|
1490
|
+
|
1428
1491
|
# Collection of frame data.
|
1429
1492
|
class Frames
|
1430
1493
|
include Google::Apis::Core::Hashable
|
@@ -2161,6 +2224,37 @@ module Google
|
|
2161
2224
|
end
|
2162
2225
|
end
|
2163
2226
|
|
2227
|
+
# A response for listing error frames.
|
2228
|
+
class ListErrorFramesResponse
|
2229
|
+
include Google::Apis::Core::Hashable
|
2230
|
+
|
2231
|
+
# The list of error frames.
|
2232
|
+
# Corresponds to the JSON property `errorFrames`
|
2233
|
+
# @return [Array<Google::Apis::MigrationcenterV1alpha1::ErrorFrame>]
|
2234
|
+
attr_accessor :error_frames
|
2235
|
+
|
2236
|
+
# A token identifying a page of results the server should return.
|
2237
|
+
# Corresponds to the JSON property `nextPageToken`
|
2238
|
+
# @return [String]
|
2239
|
+
attr_accessor :next_page_token
|
2240
|
+
|
2241
|
+
# Locations that could not be reached.
|
2242
|
+
# Corresponds to the JSON property `unreachable`
|
2243
|
+
# @return [Array<String>]
|
2244
|
+
attr_accessor :unreachable
|
2245
|
+
|
2246
|
+
def initialize(**args)
|
2247
|
+
update!(**args)
|
2248
|
+
end
|
2249
|
+
|
2250
|
+
# Update properties of this object
|
2251
|
+
def update!(**args)
|
2252
|
+
@error_frames = args[:error_frames] if args.key?(:error_frames)
|
2253
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2254
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2255
|
+
end
|
2256
|
+
end
|
2257
|
+
|
2164
2258
|
# A response for listing groups.
|
2165
2259
|
class ListGroupsResponse
|
2166
2260
|
include Google::Apis::Core::Hashable
|
@@ -2429,7 +2523,7 @@ module Google
|
|
2429
2523
|
end
|
2430
2524
|
end
|
2431
2525
|
|
2432
|
-
# A resource that represents Google Cloud
|
2526
|
+
# A resource that represents a Google Cloud location.
|
2433
2527
|
class Location
|
2434
2528
|
include Google::Apis::Core::Hashable
|
2435
2529
|
|
@@ -4180,6 +4274,12 @@ module Google
|
|
4180
4274
|
# @return [String]
|
4181
4275
|
attr_accessor :display_name
|
4182
4276
|
|
4277
|
+
# Output only. The number of frames that were reported by the source and
|
4278
|
+
# contained errors.
|
4279
|
+
# Corresponds to the JSON property `errorFrameCount`
|
4280
|
+
# @return [Fixnum]
|
4281
|
+
attr_accessor :error_frame_count
|
4282
|
+
|
4183
4283
|
# If `true`, the source is managed by other service(s).
|
4184
4284
|
# Corresponds to the JSON property `isManaged`
|
4185
4285
|
# @return [Boolean]
|
@@ -4202,6 +4302,11 @@ module Google
|
|
4202
4302
|
# @return [Fixnum]
|
4203
4303
|
attr_accessor :priority
|
4204
4304
|
|
4305
|
+
# Output only. The state of the source.
|
4306
|
+
# Corresponds to the JSON property `state`
|
4307
|
+
# @return [String]
|
4308
|
+
attr_accessor :state
|
4309
|
+
|
4205
4310
|
# Data source type.
|
4206
4311
|
# Corresponds to the JSON property `type`
|
4207
4312
|
# @return [String]
|
@@ -4221,10 +4326,12 @@ module Google
|
|
4221
4326
|
@create_time = args[:create_time] if args.key?(:create_time)
|
4222
4327
|
@description = args[:description] if args.key?(:description)
|
4223
4328
|
@display_name = args[:display_name] if args.key?(:display_name)
|
4329
|
+
@error_frame_count = args[:error_frame_count] if args.key?(:error_frame_count)
|
4224
4330
|
@is_managed = args[:is_managed] if args.key?(:is_managed)
|
4225
4331
|
@name = args[:name] if args.key?(:name)
|
4226
4332
|
@pending_frame_count = args[:pending_frame_count] if args.key?(:pending_frame_count)
|
4227
4333
|
@priority = args[:priority] if args.key?(:priority)
|
4334
|
+
@state = args[:state] if args.key?(:state)
|
4228
4335
|
@type = args[:type] if args.key?(:type)
|
4229
4336
|
@update_time = args[:update_time] if args.key?(:update_time)
|
4230
4337
|
end
|
@@ -4354,11 +4461,6 @@ module Google
|
|
4354
4461
|
# @return [String]
|
4355
4462
|
attr_accessor :signed_uri
|
4356
4463
|
|
4357
|
-
# Output only. Upload URI for the file.
|
4358
|
-
# Corresponds to the JSON property `uri`
|
4359
|
-
# @return [String]
|
4360
|
-
attr_accessor :uri
|
4361
|
-
|
4362
4464
|
# Output only. Expiration time of the upload URI.
|
4363
4465
|
# Corresponds to the JSON property `uriExpirationTime`
|
4364
4466
|
# @return [String]
|
@@ -4372,7 +4474,6 @@ module Google
|
|
4372
4474
|
def update!(**args)
|
4373
4475
|
@headers = args[:headers] if args.key?(:headers)
|
4374
4476
|
@signed_uri = args[:signed_uri] if args.key?(:signed_uri)
|
4375
|
-
@uri = args[:uri] if args.key?(:uri)
|
4376
4477
|
@uri_expiration_time = args[:uri_expiration_time] if args.key?(:uri_expiration_time)
|
4377
4478
|
end
|
4378
4479
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MigrationcenterV1alpha1
|
18
18
|
# Version of the google-apis-migrationcenter_v1alpha1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230505"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -280,6 +280,12 @@ module Google
|
|
280
280
|
include Google::Apis::Core::JsonObjectSupport
|
281
281
|
end
|
282
282
|
|
283
|
+
class ErrorFrame
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
283
289
|
class ExecutionReport
|
284
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
291
|
|
@@ -298,6 +304,12 @@ module Google
|
|
298
304
|
include Google::Apis::Core::JsonObjectSupport
|
299
305
|
end
|
300
306
|
|
307
|
+
class FrameViolationEntry
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
301
313
|
class Frames
|
302
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
315
|
|
@@ -430,6 +442,12 @@ module Google
|
|
430
442
|
include Google::Apis::Core::JsonObjectSupport
|
431
443
|
end
|
432
444
|
|
445
|
+
class ListErrorFramesResponse
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
433
451
|
class ListGroupsResponse
|
434
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
453
|
|
@@ -1275,6 +1293,18 @@ module Google
|
|
1275
1293
|
end
|
1276
1294
|
end
|
1277
1295
|
|
1296
|
+
class ErrorFrame
|
1297
|
+
# @private
|
1298
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1299
|
+
property :ingestion_time, as: 'ingestionTime'
|
1300
|
+
property :name, as: 'name'
|
1301
|
+
property :original_frame, as: 'originalFrame', class: Google::Apis::MigrationcenterV1alpha1::AssetFrame, decorator: Google::Apis::MigrationcenterV1alpha1::AssetFrame::Representation
|
1302
|
+
|
1303
|
+
collection :violations, as: 'violations', class: Google::Apis::MigrationcenterV1alpha1::FrameViolationEntry, decorator: Google::Apis::MigrationcenterV1alpha1::FrameViolationEntry::Representation
|
1304
|
+
|
1305
|
+
end
|
1306
|
+
end
|
1307
|
+
|
1278
1308
|
class ExecutionReport
|
1279
1309
|
# @private
|
1280
1310
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1306,6 +1336,14 @@ module Google
|
|
1306
1336
|
end
|
1307
1337
|
end
|
1308
1338
|
|
1339
|
+
class FrameViolationEntry
|
1340
|
+
# @private
|
1341
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1342
|
+
property :field, as: 'field'
|
1343
|
+
property :violation, as: 'violation'
|
1344
|
+
end
|
1345
|
+
end
|
1346
|
+
|
1309
1347
|
class Frames
|
1310
1348
|
# @private
|
1311
1349
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1537,6 +1575,16 @@ module Google
|
|
1537
1575
|
end
|
1538
1576
|
end
|
1539
1577
|
|
1578
|
+
class ListErrorFramesResponse
|
1579
|
+
# @private
|
1580
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1581
|
+
collection :error_frames, as: 'errorFrames', class: Google::Apis::MigrationcenterV1alpha1::ErrorFrame, decorator: Google::Apis::MigrationcenterV1alpha1::ErrorFrame::Representation
|
1582
|
+
|
1583
|
+
property :next_page_token, as: 'nextPageToken'
|
1584
|
+
collection :unreachable, as: 'unreachable'
|
1585
|
+
end
|
1586
|
+
end
|
1587
|
+
|
1540
1588
|
class ListGroupsResponse
|
1541
1589
|
# @private
|
1542
1590
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2144,10 +2192,12 @@ module Google
|
|
2144
2192
|
property :create_time, as: 'createTime'
|
2145
2193
|
property :description, as: 'description'
|
2146
2194
|
property :display_name, as: 'displayName'
|
2195
|
+
property :error_frame_count, as: 'errorFrameCount'
|
2147
2196
|
property :is_managed, as: 'isManaged'
|
2148
2197
|
property :name, as: 'name'
|
2149
2198
|
property :pending_frame_count, as: 'pendingFrameCount'
|
2150
2199
|
property :priority, as: 'priority'
|
2200
|
+
property :state, as: 'state'
|
2151
2201
|
property :type, as: 'type'
|
2152
2202
|
property :update_time, as: 'updateTime'
|
2153
2203
|
end
|
@@ -2185,7 +2235,6 @@ module Google
|
|
2185
2235
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2186
2236
|
hash :headers, as: 'headers'
|
2187
2237
|
property :signed_uri, as: 'signedUri'
|
2188
|
-
property :uri, as: 'uri'
|
2189
2238
|
property :uri_expiration_time, as: 'uriExpirationTime'
|
2190
2239
|
end
|
2191
2240
|
end
|
@@ -303,6 +303,48 @@ module Google
|
|
303
303
|
execute_or_queue_command(command, &block)
|
304
304
|
end
|
305
305
|
|
306
|
+
# Deletes an asset.
|
307
|
+
# @param [String] name
|
308
|
+
# Required. Name of the resource.
|
309
|
+
# @param [String] request_id
|
310
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
311
|
+
# request ID so that if you must retry your request, the server will know to
|
312
|
+
# ignore the request if it has already been completed. The server will guarantee
|
313
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
314
|
+
# situation where you make an initial request and the request times out. If you
|
315
|
+
# make the request again with the same request ID, the server can check if
|
316
|
+
# original operation with the same request ID was received, and if so, will
|
317
|
+
# ignore the second request. This prevents clients from accidentally creating
|
318
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
319
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
320
|
+
# @param [String] fields
|
321
|
+
# Selector specifying which fields to include in a partial response.
|
322
|
+
# @param [String] quota_user
|
323
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
324
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
325
|
+
# @param [Google::Apis::RequestOptions] options
|
326
|
+
# Request-specific options
|
327
|
+
#
|
328
|
+
# @yield [result, err] Result & error if block supplied
|
329
|
+
# @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Empty] parsed result object
|
330
|
+
# @yieldparam err [StandardError] error object if request failed
|
331
|
+
#
|
332
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::Empty]
|
333
|
+
#
|
334
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
335
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
336
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
337
|
+
def delete_project_location_asset(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
338
|
+
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
339
|
+
command.response_representation = Google::Apis::MigrationcenterV1alpha1::Empty::Representation
|
340
|
+
command.response_class = Google::Apis::MigrationcenterV1alpha1::Empty
|
341
|
+
command.params['name'] = name unless name.nil?
|
342
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
343
|
+
command.query['fields'] = fields unless fields.nil?
|
344
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
345
|
+
execute_or_queue_command(command, &block)
|
346
|
+
end
|
347
|
+
|
306
348
|
# Gets the details of an asset.
|
307
349
|
# @param [String] name
|
308
350
|
# Required. Name of the resource.
|
@@ -382,6 +424,58 @@ module Google
|
|
382
424
|
execute_or_queue_command(command, &block)
|
383
425
|
end
|
384
426
|
|
427
|
+
# Updates the parameters of an asset.
|
428
|
+
# @param [String] name
|
429
|
+
# Output only. The full name of the asset.
|
430
|
+
# @param [Google::Apis::MigrationcenterV1alpha1::Asset] asset_object
|
431
|
+
# @param [String] request_id
|
432
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
433
|
+
# request ID so that if you must retry your request, the server will know to
|
434
|
+
# ignore the request if it has already been completed. The server will guarantee
|
435
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
436
|
+
# situation where you make an initial request and the request times out. If you
|
437
|
+
# make the request again with the same request ID, the server can check if
|
438
|
+
# original operation with the same request ID was received, and if so, will
|
439
|
+
# ignore the second request. This prevents clients from accidentally creating
|
440
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
441
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
442
|
+
# @param [String] update_mask
|
443
|
+
# Required. Field mask is used to specify the fields to be overwritten in the `
|
444
|
+
# Asset` resource by the update. The values specified in the `update_mask` field
|
445
|
+
# are relative to the resource, not the full request. A field will be
|
446
|
+
# overwritten if it is in the mask. A single * value in the mask lets you to
|
447
|
+
# overwrite all fields.
|
448
|
+
# @param [String] fields
|
449
|
+
# Selector specifying which fields to include in a partial response.
|
450
|
+
# @param [String] quota_user
|
451
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
452
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
453
|
+
# @param [Google::Apis::RequestOptions] options
|
454
|
+
# Request-specific options
|
455
|
+
#
|
456
|
+
# @yield [result, err] Result & error if block supplied
|
457
|
+
# @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Asset] parsed result object
|
458
|
+
# @yieldparam err [StandardError] error object if request failed
|
459
|
+
#
|
460
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::Asset]
|
461
|
+
#
|
462
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
463
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
464
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
465
|
+
def patch_project_location_asset(name, asset_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
466
|
+
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
|
467
|
+
command.request_representation = Google::Apis::MigrationcenterV1alpha1::Asset::Representation
|
468
|
+
command.request_object = asset_object
|
469
|
+
command.response_representation = Google::Apis::MigrationcenterV1alpha1::Asset::Representation
|
470
|
+
command.response_class = Google::Apis::MigrationcenterV1alpha1::Asset
|
471
|
+
command.params['name'] = name unless name.nil?
|
472
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
473
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
474
|
+
command.query['fields'] = fields unless fields.nil?
|
475
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
476
|
+
execute_or_queue_command(command, &block)
|
477
|
+
end
|
478
|
+
|
385
479
|
# Reports a set of frames.
|
386
480
|
# @param [String] parent
|
387
481
|
# Required. Parent of the resource.
|
@@ -2080,6 +2174,82 @@ module Google
|
|
2080
2174
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2081
2175
|
execute_or_queue_command(command, &block)
|
2082
2176
|
end
|
2177
|
+
|
2178
|
+
# Gets the details of an error frame.
|
2179
|
+
# @param [String] name
|
2180
|
+
# Required. The name of the frame to retrieve. Format: projects/`project`/
|
2181
|
+
# locations/`location`/sources/`source`/errorFrames/`error_frame`
|
2182
|
+
# @param [String] view
|
2183
|
+
# Optional. An optional view mode to control the level of details for the frame.
|
2184
|
+
# The default is a basic frame view.
|
2185
|
+
# @param [String] fields
|
2186
|
+
# Selector specifying which fields to include in a partial response.
|
2187
|
+
# @param [String] quota_user
|
2188
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2189
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2190
|
+
# @param [Google::Apis::RequestOptions] options
|
2191
|
+
# Request-specific options
|
2192
|
+
#
|
2193
|
+
# @yield [result, err] Result & error if block supplied
|
2194
|
+
# @yieldparam result [Google::Apis::MigrationcenterV1alpha1::ErrorFrame] parsed result object
|
2195
|
+
# @yieldparam err [StandardError] error object if request failed
|
2196
|
+
#
|
2197
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::ErrorFrame]
|
2198
|
+
#
|
2199
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2200
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2201
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2202
|
+
def get_project_location_source_error_frame(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2203
|
+
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
2204
|
+
command.response_representation = Google::Apis::MigrationcenterV1alpha1::ErrorFrame::Representation
|
2205
|
+
command.response_class = Google::Apis::MigrationcenterV1alpha1::ErrorFrame
|
2206
|
+
command.params['name'] = name unless name.nil?
|
2207
|
+
command.query['view'] = view unless view.nil?
|
2208
|
+
command.query['fields'] = fields unless fields.nil?
|
2209
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2210
|
+
execute_or_queue_command(command, &block)
|
2211
|
+
end
|
2212
|
+
|
2213
|
+
# Lists all error frames in a given source and location.
|
2214
|
+
# @param [String] parent
|
2215
|
+
# Required. Parent value (the source) for `ListErrorFramesRequest`.
|
2216
|
+
# @param [Fixnum] page_size
|
2217
|
+
# Requested page size. Server may return fewer items than requested. If
|
2218
|
+
# unspecified, server will pick an appropriate default.
|
2219
|
+
# @param [String] page_token
|
2220
|
+
# A token identifying a page of results the server should return.
|
2221
|
+
# @param [String] view
|
2222
|
+
# Optional. An optional view mode to control the level of details of each error
|
2223
|
+
# frame. The default is a BASIC frame view.
|
2224
|
+
# @param [String] fields
|
2225
|
+
# Selector specifying which fields to include in a partial response.
|
2226
|
+
# @param [String] quota_user
|
2227
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2228
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2229
|
+
# @param [Google::Apis::RequestOptions] options
|
2230
|
+
# Request-specific options
|
2231
|
+
#
|
2232
|
+
# @yield [result, err] Result & error if block supplied
|
2233
|
+
# @yieldparam result [Google::Apis::MigrationcenterV1alpha1::ListErrorFramesResponse] parsed result object
|
2234
|
+
# @yieldparam err [StandardError] error object if request failed
|
2235
|
+
#
|
2236
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::ListErrorFramesResponse]
|
2237
|
+
#
|
2238
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2239
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2240
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2241
|
+
def list_project_location_source_error_frames(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2242
|
+
command = make_simple_command(:get, 'v1alpha1/{+parent}/errorFrames', options)
|
2243
|
+
command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListErrorFramesResponse::Representation
|
2244
|
+
command.response_class = Google::Apis::MigrationcenterV1alpha1::ListErrorFramesResponse
|
2245
|
+
command.params['parent'] = parent unless parent.nil?
|
2246
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2247
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2248
|
+
command.query['view'] = view unless view.nil?
|
2249
|
+
command.query['fields'] = fields unless fields.nil?
|
2250
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2251
|
+
execute_or_queue_command(command, &block)
|
2252
|
+
end
|
2083
2253
|
|
2084
2254
|
protected
|
2085
2255
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-migrationcenter_v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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-
|
11
|
+
date: 2023-05-14 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-migrationcenter_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1alpha1/v0.7.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-migrationcenter_v1alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|