# Google Shopping Merchant DataSources V1beta Client - Class FileInputType (2.0.0)

2.0.0 (latest) 1.3.1 1.2.1 1.1.1 1.0.0 0.6.0 0.5.1 0.4.0 0.3.1 0.2.3 0.1.0

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

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

The method of file delivery.

Protobuf type `google.shopping.merchant.datasources.v1beta.FileInput.FileInputType`

## Namespace

Google \\ Shopping \\ Merchant \\ DataSources \\ V1beta \\ 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](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-datasources/latest/V1beta.FileInput.FetchSettings#_Google_Shopping_Merchant_DataSources_V1beta_FileInput_FetchSettings__getFetchUri__).

Generated from protobuf enum `FETCH = 2;`

### GOOGLE_SHEETS

    Value: 3

The file is fetched from Google Sheets specified in the
[fetch_uri](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-datasources/latest/V1beta.FileInput.FetchSettings#_Google_Shopping_Merchant_DataSources_V1beta_FileInput_FetchSettings__getFetchUri__).

Generated from protobuf enum `GOOGLE_SHEETS = 3;`