# Google Cloud Data Catalog V1 Client - Class CommonUsageStats (2.4.2)

2.4.2 (latest) 2.4.1 2.3.2 2.2.4 2.1.0 2.0.2 1.10.3 1.9.1 1.8.2 1.7.1 1.6.0 1.5.1 1.4.2 1.3.9 Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class CommonUsageStats.

Common statistics on the entry's usage.

They can be set on any system.

Generated from protobuf message `google.cloud.datacatalog.v1.CommonUsageStats`

## Namespace

Google \\ Cloud \\ DataCatalog \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ view_count` | `int|string` View count in source system. |

### getViewCount

View count in source system.

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

### hasViewCount

### clearViewCount

### setViewCount

View count in source system.

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

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