# Google Shopping Merchant DataSources V1beta Client - Class Channel (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 Channel.

Data Source Channel.

Channel is used to distinguish between data sources for different product
verticals.

Protobuf type `google.shopping.merchant.datasources.v1beta.PrimaryProductDataSource.Channel`

## Namespace

Google \\ Shopping \\ Merchant \\ DataSources \\ V1beta \\ PrimaryProductDataSource

## Methods

### static::name

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

### static::value

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

## Constants

### CHANNEL_UNSPECIFIED

    Value: 0

Not specified.

Generated from protobuf enum `CHANNEL_UNSPECIFIED = 0;`

### ONLINE_PRODUCTS

    Value: 1

Online product.

Generated from protobuf enum `ONLINE_PRODUCTS = 1;`

### LOCAL_PRODUCTS

    Value: 2

Local product.

Generated from protobuf enum `LOCAL_PRODUCTS = 2;`

### PRODUCTS

    Value: 3

Unified data source for both local and online products.

Note: Products management through the API is not possible for this
channel.

Generated from protobuf enum `PRODUCTS = 3;`