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

Specifies the details of the Marketplace Data Product associated with the
Listing.

Generated from protobuf message `google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo`

## Namespace

Google \\ Cloud \\ BigQuery \\ AnalyticsHub \\ V1 \\ Listing \\ CommercialInfo

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ service` | `string` Output only. Resource name of the commercial service associated with the Marketplace Data Product. e.g. example.com |
| `↳ commercial_state` | `int` Output only. Commercial state of the Marketplace Data Product. |

### getService

Output only. Resource name of the commercial service associated with
the Marketplace Data Product. e.g. example.com

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

### hasService

### clearService

### setService

Output only. Resource name of the commercial service associated with
the Marketplace Data Product. e.g. example.com

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

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

### getCommercialState

Output only. Commercial state of the Marketplace Data Product.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasCommercialState

### clearCommercialState

### setCommercialState

Output only. Commercial state of the Marketplace Data Product.

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

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