Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::CreateNotificationChannelRequest.
The CreateNotificationChannel
request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
-
(::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
/notificationChannels/[CHANNEL_ID]
to identify the channel.
#name=
def name=(value) -> ::String
-
value (::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
/notificationChannels/[CHANNEL_ID]
to identify the channel.
-
(::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
/notificationChannels/[CHANNEL_ID]
to identify the channel.
#notification_channel
def notification_channel() -> ::Google::Cloud::Monitoring::V3::NotificationChannel
-
(::Google::Cloud::Monitoring::V3::NotificationChannel) — Required. The definition of the
NotificationChannel
to create.
#notification_channel=
def notification_channel=(value) -> ::Google::Cloud::Monitoring::V3::NotificationChannel
-
value (::Google::Cloud::Monitoring::V3::NotificationChannel) — Required. The definition of the
NotificationChannel
to create.
-
(::Google::Cloud::Monitoring::V3::NotificationChannel) — Required. The definition of the
NotificationChannel
to create.