Close httplib2 connections.
Gets the latest data source file upload. Only the `latest` alias is accepted for a file upload.
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets the latest data source file upload. Only the `latest` alias is accepted for a file upload.
Args:
name: string, Required. The name of the data source file upload to retrieve. Format: `accounts/{account}/dataSources/{datasource}/fileUploads/latest` (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # 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.
"dataSourceId": "A String", # Output only. The data source id.
"issues": [ # Output only. The list of issues occurring in the data source.
{ # An error occurring in the data source, like "invalid price".
"code": "A String", # Output only. The code of the error, for example, "validation/invalid_value". Returns "?" if the code is unknown.
"count": "A String", # Output only. The number of occurrences of the error in the file upload.
"description": "A String", # 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".
"documentationUri": "A String", # Output only. Link to the documentation explaining the issue in more details, if available.
"severity": "A String", # Output only. The severity of the issue.
"title": "A String", # Output only. The title of the issue, for example, "Item too big".
},
],
"itemsCreated": "A String", # Output only. The number of items in the data source that were created.
"itemsTotal": "A String", # Output only. The number of items in the data source that were processed.
"itemsUpdated": "A String", # Output only. The number of items in the data source that were updated.
"name": "A String", # Identifier. The name of the data source file upload. Format: `{datasource.name=accounts/{account}/dataSources/{datasource}/fileUploads/{fileupload}}`
"processingState": "A String", # Output only. The processing state of the data source.
"uploadTime": "A String", # Output only. The date at which the file of the data source was uploaded.
}