Reference documentation and code samples for the Stackdriver Monitoring V3 Client class CreateNotificationChannelRequest.
The CreateNotificationChannel
request.
Generated from protobuf message google.monitoring.v3.CreateNotificationChannelRequest
Namespace
Google \ Cloud \ Monitoring \ V3Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] This names the container into which the channel will be written, this does not name the newly created channel. The resulting channel's name will have a normalized version of this field as a prefix, but will add |
↳ notification_channel |
NotificationChannel
Required. The definition of the |
getName
Required. The
project on which
to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
This names the container into which the channel will be
written, this does not name the newly created channel. The resulting
channel's name will have a normalized version of this field as a prefix,
but will add /notificationChannels/[CHANNEL_ID]
to identify the channel.
Returns | |
---|---|
Type | Description |
string |
setName
Required. The
project on which
to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
This names the container into which the channel will be
written, this does not name the newly created channel. The resulting
channel's name will have a normalized version of this field as a prefix,
but will add /notificationChannels/[CHANNEL_ID]
to identify the channel.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getNotificationChannel
Required. The definition of the NotificationChannel
to create.
Returns | |
---|---|
Type | Description |
NotificationChannel|null |
hasNotificationChannel
clearNotificationChannel
setNotificationChannel
Required. The definition of the NotificationChannel
to create.
Parameter | |
---|---|
Name | Description |
var |
NotificationChannel
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
name |
string
Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] This names the container into which the channel will be
written, this does not name the newly created channel. The resulting
channel's name will have a normalized version of this field as a prefix,
but will add |
notificationChannel |
NotificationChannel
Required. The definition of the |
Returns | |
---|---|
Type | Description |
CreateNotificationChannelRequest |