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

Commercial info metadata for this subscription.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ cloud_marketplace` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-analyticshub/latest/V1.Subscription.CommercialInfo.GoogleCloudMarketplaceInfo` Output only. This is set when the subscription is commercialised via Cloud Marketplace. |

### getCloudMarketplace

Output only. This is set when the subscription is commercialised via
Cloud Marketplace.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-analyticshub/latest/V1.Subscription.CommercialInfo.GoogleCloudMarketplaceInfo|null` |   |

### hasCloudMarketplace

### clearCloudMarketplace

### setCloudMarketplace

Output only. This is set when the subscription is commercialised via
Cloud Marketplace.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-analyticshub/latest/V1.Subscription.CommercialInfo.GoogleCloudMarketplaceInfo` |

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