Generated from protobuf enum INPUT_UNSPECIFIED = 0;
API
Value: 1
Represents data sources for which the data is primarily provided through
the API.
Generated from protobuf enum API = 1;
FILE
Value: 2
Represents data sources for which the data is primarily provided through
file input. Data can still be provided through the API.
Generated from protobuf enum FILE = 2;
UI
Value: 3
The data source for products added directly in Merchant Center.
This type of data source can not be created or updated through this API,
only by Merchant Center UI.
This type of data source is read only.
Generated from protobuf enum UI = 3;
AUTOFEED
Value: 4
This is also known as
Automated feeds
used to automatically build your product data. This type of data source
can be enabled or disabled through the Accounts sub-API.
[[["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 V1 Client - Class Input (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/php/docs/reference/shopping-merchant-datasources/latest/V1.DataSource.Input)\n- [0.6.0](/php/docs/reference/shopping-merchant-datasources/0.6.0/V1.DataSource.Input)\n- [0.5.1](/php/docs/reference/shopping-merchant-datasources/0.5.1/V1.DataSource.Input)\n- [0.4.0](/php/docs/reference/shopping-merchant-datasources/0.4.0/V1.DataSource.Input)\n- [0.3.1](/php/docs/reference/shopping-merchant-datasources/0.3.1/V1.DataSource.Input)\n- [0.2.3](/php/docs/reference/shopping-merchant-datasources/0.2.3/V1.DataSource.Input)\n- [0.1.0](/php/docs/reference/shopping-merchant-datasources/0.1.0/V1.DataSource.Input) \nReference documentation and code samples for the Google Shopping Merchant DataSources V1 Client class Input.\n\nDetermines the type of input to the data source. Based on the input some\nsettings might not be supported.\n\nProtobuf type `google.shopping.merchant.datasources.v1.DataSource.Input`\n\nNamespace\n---------\n\nGoogle \\\\ Shopping \\\\ Merchant \\\\ DataSources \\\\ V1 \\\\ DataSource\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### INPUT_UNSPECIFIED\n\n Value: 0\n\nInput unspecified.\n\nGenerated from protobuf enum `INPUT_UNSPECIFIED = 0;`\n\n### API\n\n Value: 1\n\nRepresents data sources for which the data is primarily provided through\nthe API.\n\nGenerated from protobuf enum `API = 1;`\n\n### FILE\n\n Value: 2\n\nRepresents data sources for which the data is primarily provided through\nfile input. Data can still be provided through the API.\n\nGenerated from protobuf enum `FILE = 2;`\n\n### UI\n\n Value: 3\n\nThe data source for products added directly in Merchant Center.\n\nThis type of data source can not be created or updated through this API,\nonly by Merchant Center UI.\nThis type of data source is read only.\n\nGenerated from protobuf enum `UI = 3;`\n\n### AUTOFEED\n\n Value: 4\n\nThis is also known as\n[Automated feeds](https://support.google.com/merchants/answer/12158480)\nused to automatically build your product data. This type of data source\ncan be enabled or disabled through the Accounts sub-API.\n\nGenerated from protobuf enum `AUTOFEED = 4;`"]]