Reference documentation and code samples for the Google Shopping Merchant DataSources V1beta 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 messagegoogle.shopping.merchant.datasources.v1beta.FileUpload
Namespace
Google \ Shopping \ Merchant \ DataSources \ V1beta
Methods
__construct
Constructor.
Parameters
Name
Description
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Shopping Merchant DataSources V1beta Client - Class FileUpload (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/php/docs/reference/shopping-merchant-datasources/latest/V1beta.FileUpload)\n- [0.6.0](/php/docs/reference/shopping-merchant-datasources/0.6.0/V1beta.FileUpload)\n- [0.5.1](/php/docs/reference/shopping-merchant-datasources/0.5.1/V1beta.FileUpload)\n- [0.4.0](/php/docs/reference/shopping-merchant-datasources/0.4.0/V1beta.FileUpload)\n- [0.3.1](/php/docs/reference/shopping-merchant-datasources/0.3.1/V1beta.FileUpload)\n- [0.2.3](/php/docs/reference/shopping-merchant-datasources/0.2.3/V1beta.FileUpload)\n- [0.1.0](/php/docs/reference/shopping-merchant-datasources/0.1.0/V1beta.FileUpload) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Shopping Merchant DataSources V1beta Client class FileUpload.\n\nThe file upload of a specific data source, that is, the result of the\nretrieval of the data source at a certain timestamp computed asynchronously\nwhen the data source processing is finished. Only applicable to file data\nsources.\n\nGenerated from protobuf message `google.shopping.merchant.datasources.v1beta.FileUpload`\n\nNamespace\n---------\n\nGoogle \\\\ Shopping \\\\ Merchant \\\\ DataSources \\\\ V1beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. The name of the data source file upload.\n\nFormat:\n`{datasource.name=accounts/{account}/dataSources/{datasource}/fileUploads/{fileupload}}`\n\n### setName\n\nIdentifier. The name of the data source file upload.\n\nFormat:\n`{datasource.name=accounts/{account}/dataSources/{datasource}/fileUploads/{fileupload}}`\n\n### getDataSourceId\n\nOutput only. The data source id.\n\n### setDataSourceId\n\nOutput only. The data source id.\n\n### getProcessingState\n\nOutput only. The processing state of the data source.\n\n### setProcessingState\n\nOutput only. The processing state of the data source.\n\n### getIssues\n\nOutput only. The list of issues occurring in the data source.\n\n### setIssues\n\nOutput only. The list of issues occurring in the data source.\n\n### getItemsTotal\n\nOutput only. The number of items in the data source that were processed.\n\n### setItemsTotal\n\nOutput only. The number of items in the data source that were processed.\n\n### getItemsCreated\n\nOutput only. The number of items in the data source that were created.\n\n### setItemsCreated\n\nOutput only. The number of items in the data source that were created.\n\n### getItemsUpdated\n\nOutput only. The number of items in the data source that were updated.\n\n### setItemsUpdated\n\nOutput only. The number of items in the data source that were updated.\n\n### getUploadTime\n\nOutput only. The date at which the file of the data source was uploaded.\n\n### hasUploadTime\n\n### clearUploadTime\n\n### setUploadTime\n\nOutput only. The date at which the file of the data source was uploaded."]]