Google Shopping Merchant DataSources V1 Client - Class FileInputType (1.0.0)

Reference documentation and code samples for the Google Shopping Merchant DataSources V1 Client class FileInputType.

The method of file delivery.

Protobuf type google.shopping.merchant.datasources.v1.FileInput.FileInputType

Namespace

Google \ Shopping \ Merchant \ DataSources \ V1 \ FileInput

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

FILE_INPUT_TYPE_UNSPECIFIED

Value: 0

File input type unspecified.

Generated from protobuf enum FILE_INPUT_TYPE_UNSPECIFIED = 0;

UPLOAD

Value: 1

The file is uploaded through SFTP, Google Cloud Storage or manually in the Merchant Center.

Generated from protobuf enum UPLOAD = 1;

FETCH

Value: 2

The file is fetched from the configured fetch_uri.

Generated from protobuf enum FETCH = 2;

GOOGLE_SHEETS

Value: 3

The file is fetched from Google Sheets specified in the fetch_uri.

However, you can't set up GOOGLE_SHEETS as a data source through the API. To add GOOGLE_SHEETS as a data source through the Merchant Center, see Add products to Merchant Center.

Generated from protobuf enum GOOGLE_SHEETS = 3;