Google Cloud Monitoring v3 API - Class NotificationChannelServiceClientImpl (3.5.0)

public sealed class NotificationChannelServiceClientImpl : NotificationChannelServiceClient

Reference documentation and code samples for the Google Cloud Monitoring v3 API class NotificationChannelServiceClientImpl.

NotificationChannelService client wrapper implementation, for convenient use.

Inheritance

object > NotificationChannelServiceClient > NotificationChannelServiceClientImpl

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Remarks

The Notification Channel API provides access to configuration that controls how messages related to incidents are sent.

Constructors

NotificationChannelServiceClientImpl(NotificationChannelServiceClient, NotificationChannelServiceSettings, ILogger)

public NotificationChannelServiceClientImpl(NotificationChannelService.NotificationChannelServiceClient grpcClient, NotificationChannelServiceSettings settings, ILogger logger)

Constructs a client wrapper for the NotificationChannelService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientNotificationChannelServiceNotificationChannelServiceClient

The underlying gRPC client.

settingsNotificationChannelServiceSettings

The base NotificationChannelServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override NotificationChannelService.NotificationChannelServiceClient GrpcClient { get; }

The underlying gRPC NotificationChannelService client

Property Value
TypeDescription
NotificationChannelServiceNotificationChannelServiceClient
Overrides

Methods

CreateNotificationChannel(CreateNotificationChannelRequest, CallSettings)

public override NotificationChannel CreateNotificationChannel(CreateNotificationChannelRequest request, CallSettings callSettings = null)

Creates a new notification channel, representing a single notification endpoint such as an email address, SMS number, or PagerDuty service.

Design your application to single-thread API calls that modify the state of notification channels in a single project. This includes calls to CreateNotificationChannel, DeleteNotificationChannel and UpdateNotificationChannel.

Parameters
NameDescription
requestCreateNotificationChannelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.