Resource: FileUpload
The file upload of a specific data source, that is, the result of the retrieval of the data source at a certain timestamp computed asynchronously when the data source processing is finished. Only applicable to file data sources.
JSON representation |
---|
{ "name": string, "dataSourceId": string, "processingState": enum ( |
Fields | |
---|---|
name |
Identifier. The name of the data source file upload. Format: |
dataSourceId |
Output only. The data source id. |
processingState |
Output only. The processing state of the data source. |
issues[] |
Output only. The list of issues occurring in the data source. |
itemsTotal |
Output only. The number of items in the data source that were processed. |
itemsCreated |
Output only. The number of items in the data source that were created. |
itemsUpdated |
Output only. The number of items in the data source that were updated. |
uploadTime |
Output only. The date at which the file of the data source was uploaded. |
ProcessingState
The processing state of the data source.
Enums | |
---|---|
PROCESSING_STATE_UNSPECIFIED |
Processing state unspecified. |
FAILED |
The data source could not be processed or all the items had errors. |
IN_PROGRESS |
The data source is being processed. |
SUCCEEDED |
The data source was processed successfully, though some items might have had errors. |
Issue
An error occurring in the data source, like "invalid price".
JSON representation |
---|
{
"title": string,
"description": string,
"code": string,
"count": string,
"severity": enum ( |
Fields | |
---|---|
title |
Output only. The title of the issue, for example, "Item too big". |
description |
Output only. The error description, for example, "Your data source contains items which have too many attributes, or are too big. These items will be dropped". |
code |
Output only. The code of the error, for example, "validation/invalid_value". Returns "?" if the code is unknown. |
count |
Output only. The number of occurrences of the error in the file upload. |
severity |
Output only. The severity of the issue. |
documentationUri |
Output only. Link to the documentation explaining the issue in more details, if available. |
Severity
The severity of the issue.
Enums | |
---|---|
SEVERITY_UNSPECIFIED |
Severity unspecified. |
WARNING |
The issue is the warning. |
ERROR |
The issue is an error. |
Methods |
|
---|---|
|
Gets the latest data source file upload. |