Reference documentation and code samples for the Google Shopping Merchant DataSources V1 Client class 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.
Generated from protobuf message google.shopping.merchant.datasources.v1.FileUpload
Namespace
Google \ Shopping \ Merchant \ DataSources \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The name of the data source file upload. Format: {datasource.name=accounts/{account}/dataSources/{datasource}/fileUploads/{fileupload}}
↳ data_source_id
int|string
Output only. The data source id.
↳ processing_state
int
Output only. The processing state of the data source.
↳ issues
↳ items_total
int|string
Output only. The number of items in the data source that were processed.
↳ items_created
int|string
Output only. The number of items in the data source that were created.
↳ items_updated
int|string
Output only. The number of items in the data source that were updated.
↳ upload_time
getName
Identifier. The name of the data source file upload.
Format: {datasource.name=accounts/{account}/dataSources/{datasource}/fileUploads/{fileupload}}
string
setName
Identifier. The name of the data source file upload.
Format: {datasource.name=accounts/{account}/dataSources/{datasource}/fileUploads/{fileupload}}
var
string
$this
getDataSourceId
Output only. The data source id.
int|string
setDataSourceId
Output only. The data source id.
var
int|string
$this
getProcessingState
Output only. The processing state of the data source.
int
setProcessingState
Output only. The processing state of the data source.
var
int
$this
getIssues
Output only. The list of issues occurring in the data source.
setIssues
Output only. The list of issues occurring in the data source.
$this
getItemsTotal
Output only. The number of items in the data source that were processed.
int|string
setItemsTotal
Output only. The number of items in the data source that were processed.
var
int|string
$this
getItemsCreated
Output only. The number of items in the data source that were created.
int|string
setItemsCreated
Output only. The number of items in the data source that were created.
var
int|string
$this
getItemsUpdated
Output only. The number of items in the data source that were updated.
int|string
setItemsUpdated
Output only. The number of items in the data source that were updated.
var
int|string
$this
getUploadTime
Output only. The date at which the file of the data source was uploaded.
hasUploadTime
clearUploadTime
setUploadTime
Output only. The date at which the file of the data source was uploaded.
$this