# Google Cloud BigQuery Analytics Hub V1 Client - Class DataProvider (1.5.1)

1.5.1 (latest) 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.4 0.5.3 0.4.0 0.3.2 0.2.2 0.1.6 Reference documentation and code samples for the Google Cloud BigQuery Analytics Hub V1 Client class DataProvider.

Contains details of the data provider.

Generated from protobuf message `google.cloud.bigquery.analyticshub.v1.DataProvider`

## Namespace

Google \\ Cloud \\ BigQuery \\ AnalyticsHub \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Optional. Name of the data provider. |
| `↳ primary_contact` | `string` Optional. Email or URL of the data provider. Max Length: 1000 bytes. |

### getName

Optional. Name of the data provider.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Optional. Name of the data provider.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPrimaryContact

Optional. Email or URL of the data provider.

Max Length: 1000 bytes.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPrimaryContact

Optional. Email or URL of the data provider.

Max Length: 1000 bytes.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |