error_frames
Creates, updates, deletes, gets or lists an error_frames
resource.
Overview
Name | error_frames |
Type | Resource |
Id | google.migrationcenter.error_frames |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Output only. The identifier of the ErrorFrame. |
ingestionTime | string (google-datetime) | Output only. Frame ingestion time. |
originalFrame | object | Contains data reported from an inventory source on an asset. (id: AssetFrame) |
violations | array | Output only. All the violations that were detected for the frame. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Output only. The identifier of the ErrorFrame. |
ingestionTime | string (google-datetime) | Output only. Frame ingestion time. |
originalFrame | object | Contains data reported from an inventory source on an asset. (id: AssetFrame) |
violations | array | Output only. All the violations that were detected for the frame. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | projectsId , locationsId , sourcesId , errorFramesId | view | Gets the details of an error frame. |
list | select | projectsId , locationsId , sourcesId | pageSize , pageToken , view | Lists all error frames in a given source and location. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
errorFramesId | string | |
locationsId | string | |
projectsId | string | |
sourcesId | string | |
pageSize | integer (int32) | |
pageToken | string | |
view | string |
SELECT
examples
- get
- list
Gets the details of an error frame.
SELECT
name,
ingestionTime,
originalFrame,
violations
FROM google.migrationcenter.error_frames
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND sourcesId = '{{ sourcesId }}' -- required
AND errorFramesId = '{{ errorFramesId }}' -- required
AND view = '{{ view }}';
Lists all error frames in a given source and location.
SELECT
name,
ingestionTime,
originalFrame,
violations
FROM google.migrationcenter.error_frames
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND sourcesId = '{{ sourcesId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND view = '{{ view }}';