# Google Cloud BigQuery Analytics Hub V1 Client - Class Publisher (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 Publisher.

Contains details of the listing publisher.

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

## 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 listing publisher. |
| `↳ primary_contact` | `string` Optional. Email or URL of the listing publisher. Max Length: 1000 bytes. |

### getName

Optional. Name of the listing publisher.

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

### setName

Optional. Name of the listing publisher.

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

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

### getPrimaryContact

Optional. Email or URL of the listing publisher.

Max Length: 1000 bytes.

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

### setPrimaryContact

Optional. Email or URL of the listing publisher.

Max Length: 1000 bytes.

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

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