# Google Shopping Merchant DataSources V1 Client - Class Frequency (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 Reference documentation and code samples for the Google Shopping Merchant DataSources V1 Client class Frequency.

The required fields vary based on the frequency of fetching. For a
monthly fetch schedule, `day of month` and [hour of
day](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-datasources/Shared.Types/TimeOfDay) are required. For a weekly fetch
schedule, [day of week](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-datasources/Shared.Types/DayOfWeek) and [hour of
day](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-datasources/Shared.Types/TimeOfDay) are required. For a daily fetch schedule,
only an [hour of day](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-datasources/Shared.Types/TimeOfDay) is required.

Protobuf type `google.shopping.merchant.datasources.v1.FileInput.FetchSettings.Frequency`

## Namespace

Google \\ Shopping \\ Merchant \\ DataSources \\ V1 \\ FileInput \\ FetchSettings

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### FREQUENCY_UNSPECIFIED

    Value: 0

Frequency unspecified.

Generated from protobuf enum `FREQUENCY_UNSPECIFIED = 0;`

### FREQUENCY_DAILY

    Value: 1

The fetch happens every day.

Generated from protobuf enum `FREQUENCY_DAILY = 1;`

### FREQUENCY_WEEKLY

    Value: 2

The fetch happens every week.

Generated from protobuf enum `FREQUENCY_WEEKLY = 2;`

### FREQUENCY_MONTHLY

    Value: 3

The fetch happens every month.

Generated from protobuf enum `FREQUENCY_MONTHLY = 3;`