# Stackdriver Monitoring V3 Client - Class NotificationChannelStrategy (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 NotificationChannelStrategy.

Control over how the notification channels in `notification_channels`
are notified when this alert fires, on a per-channel basis.

Generated from protobuf message `google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy`

## Namespace

Google \\ Cloud \\ Monitoring \\ V3 \\ AlertPolicy \\ AlertStrategy

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ notification_channel_names` | `string[]` The full REST resource name for the notification channels that these settings apply to. Each of these correspond to the name field in one of the NotificationChannel objects referenced in the notification_channels field of this AlertPolicy. The format is: projects/\[PROJECT_ID_OR_NUMBER\]/notificationChannels/\[CHANNEL_ID\] |
| `↳ renotify_interval` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` The frequency at which to send reminder notifications for open incidents. |

### getNotificationChannelNames

The full REST resource name for the notification channels that these
settings apply to. Each of these correspond to the name field in one
of the NotificationChannel objects referenced in the
notification_channels field of this AlertPolicy.

The format is:
projects/\[PROJECT_ID_OR_NUMBER\]/notificationChannels/\[CHANNEL_ID\]

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setNotificationChannelNames

The full REST resource name for the notification channels that these
settings apply to. Each of these correspond to the name field in one
of the NotificationChannel objects referenced in the
notification_channels field of this AlertPolicy.

The format is:
projects/\[PROJECT_ID_OR_NUMBER\]/notificationChannels/\[CHANNEL_ID\]

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

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

### getRenotifyInterval

The frequency at which to send reminder notifications for open
incidents.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration|null` |   |

### hasRenotifyInterval

### clearRenotifyInterval

### setRenotifyInterval

The frequency at which to send reminder notifications for open
incidents.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` |

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