# Google Cloud BigQuery Migration V2 Client - Class Point (1.3.0)

1.3.0 (latest) 1.2.3 1.1.5 1.0.0 0.4.5 0.3.3 0.2.2 0.1.4 Reference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class Point.

A single data point in a time series.

Generated from protobuf message `google.cloud.bigquery.migration.v2.Point`

## Namespace

Google \\ Cloud \\ BigQuery \\ Migration \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ interval` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-migration/latest/V2.TimeInterval` The time interval to which the data point applies. For `GAUGE` metrics, the start time does not need to be supplied, but if it is supplied, it must equal the end time. For `DELTA` metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For `CUMULATIVE` metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points. |
| `↳ value` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-migration/latest/V2.TypedValue` The value of the data point. |

### getInterval

The time interval to which the data point applies. For `GAUGE` metrics,
the start time does not need to be supplied, but if it is supplied, it must
equal the end time. For `DELTA` metrics, the start and end time should
specify a non-zero interval, with subsequent points specifying contiguous
and non-overlapping intervals. For `CUMULATIVE` metrics, the start and end
time should specify a non-zero interval, with subsequent points specifying
the same start time and increasing end times, until an event resets the
cumulative value to zero and sets a new start time for the following
points.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-migration/latest/V2.TimeInterval|null` |   |

### hasInterval

### clearInterval

### setInterval

The time interval to which the data point applies. For `GAUGE` metrics,
the start time does not need to be supplied, but if it is supplied, it must
equal the end time. For `DELTA` metrics, the start and end time should
specify a non-zero interval, with subsequent points specifying contiguous
and non-overlapping intervals. For `CUMULATIVE` metrics, the start and end
time should specify a non-zero interval, with subsequent points specifying
the same start time and increasing end times, until an event resets the
cumulative value to zero and sets a new start time for the following
points.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-migration/latest/V2.TimeInterval` |

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

### getValue

The value of the data point.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-migration/latest/V2.TypedValue|null` |   |

### hasValue

### clearValue

### setValue

The value of the data point.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-migration/latest/V2.TypedValue` |

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