# Stackdriver Monitoring V3 Client - Class Minutes (2.2.2)

2.2.2 (latest) 2.2.1 2.1.2 2.0.1 1.12.1 1.11.1 1.10.3 1.9.0 1.8.0 1.7.1 1.6.0 1.5.1 1.4.0 1.3.2 1.2.2 Reference documentation and code samples for the Stackdriver Monitoring V3 Client class Minutes.

Used to schedule the query to run every so many minutes.

Generated from protobuf message `google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Minutes`

## Namespace

Google \\ Cloud \\ Monitoring \\ V3 \\ AlertPolicy \\ Condition \\ SqlCondition

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ periodicity` | `int` Required. Number of minutes between runs. The interval must be greater than or equal to 5 minutes and less than or equal to 1440 minutes. |

### getPeriodicity

Required. Number of minutes between runs. The interval must be
greater than or equal to 5 minutes and less than or equal to 1440
minutes.

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

### setPeriodicity

Required. Number of minutes between runs. The interval must be
greater than or equal to 5 minutes and less than or equal to 1440
minutes.

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

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