NotificationChannelService

google.monitoring.v3. NotificationChannelService

Represents a NotificationChannelService

Constructor

new NotificationChannelService(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new NotificationChannelService service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {NotificationChannelService}

Creates new NotificationChannelService service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

createNotificationChannel(request, callback) → {undefined}

Calls CreateNotificationChannel.

Parameters:
Name Type Description
request google.monitoring.v3.ICreateNotificationChannelRequest

CreateNotificationChannelRequest message or plain object

callback google.monitoring.v3.NotificationChannelService.CreateNotificationChannelCallback

Node-style callback called with the error, if any, and NotificationChannel

createNotificationChannel(request) → {Promise.<google.monitoring.v3.NotificationChannel>}

Calls CreateNotificationChannel.

Parameters:
Name Type Description
request google.monitoring.v3.ICreateNotificationChannelRequest

CreateNotificationChannelRequest message or plain object

deleteNotificationChannel(request, callback) → {undefined}

Calls DeleteNotificationChannel.

Parameters:
Name Type Description
request google.monitoring.v3.IDeleteNotificationChannelRequest

DeleteNotificationChannelRequest message or plain object

callback google.monitoring.v3.NotificationChannelService.DeleteNotificationChannelCallback

Node-style callback called with the error, if any, and Empty

deleteNotificationChannel(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteNotificationChannel.

Parameters:
Name Type Description
request google.monitoring.v3.IDeleteNotificationChannelRequest

DeleteNotificationChannelRequest message or plain object

getNotificationChannel(request, callback) → {undefined}

Calls GetNotificationChannel.

Parameters:
Name Type Description
request google.monitoring.v3.IGetNotificationChannelRequest

GetNotificationChannelRequest message or plain object

callback google.monitoring.v3.NotificationChannelService.GetNotificationChannelCallback

Node-style callback called with the error, if any, and NotificationChannel

getNotificationChannel(request) → {Promise.<google.monitoring.v3.NotificationChannel>}

Calls GetNotificationChannel.

Parameters:
Name Type Description
request google.monitoring.v3.IGetNotificationChannelRequest

GetNotificationChannelRequest message or plain object

getNotificationChannelDescriptor(request, callback) → {undefined}

Calls GetNotificationChannelDescriptor.

Parameters:
Name Type Description
request google.monitoring.v3.IGetNotificationChannelDescriptorRequest

GetNotificationChannelDescriptorRequest message or plain object

callback google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptorCallback

Node-style callback called with the error, if any, and NotificationChannelDescriptor

getNotificationChannelDescriptor(request) → {Promise.<google.monitoring.v3.NotificationChannelDescriptor>}

Calls GetNotificationChannelDescriptor.

Parameters:
Name Type Description
request google.monitoring.v3.IGetNotificationChannelDescriptorRequest

GetNotificationChannelDescriptorRequest message or plain object

getNotificationChannelVerificationCode(request, callback) → {undefined}

Calls GetNotificationChannelVerificationCode.

Parameters:
Name Type Description
request google.monitoring.v3.IGetNotificationChannelVerificationCodeRequest

GetNotificationChannelVerificationCodeRequest message or plain object

callback google.monitoring.v3.NotificationChannelService.GetNotificationChannelVerificationCodeCallback

Node-style callback called with the error, if any, and GetNotificationChannelVerificationCodeResponse

getNotificationChannelVerificationCode(request) → {Promise.<google.monitoring.v3.GetNotificationChannelVerificationCodeResponse>}

Calls GetNotificationChannelVerificationCode.

Parameters:
Name Type Description
request google.monitoring.v3.IGetNotificationChannelVerificationCodeRequest

GetNotificationChannelVerificationCodeRequest message or plain object

listNotificationChannelDescriptors(request, callback) → {undefined}

Calls ListNotificationChannelDescriptors.

Parameters:
Name Type Description
request google.monitoring.v3.IListNotificationChannelDescriptorsRequest

ListNotificationChannelDescriptorsRequest message or plain object

callback google.monitoring.v3.NotificationChannelService.ListNotificationChannelDescriptorsCallback

Node-style callback called with the error, if any, and ListNotificationChannelDescriptorsResponse

listNotificationChannelDescriptors(request) → {Promise.<google.monitoring.v3.ListNotificationChannelDescriptorsResponse>}

Calls ListNotificationChannelDescriptors.

Parameters:
Name Type Description
request google.monitoring.v3.IListNotificationChannelDescriptorsRequest

ListNotificationChannelDescriptorsRequest message or plain object

listNotificationChannels(request, callback) → {undefined}

Calls ListNotificationChannels.

Parameters:
Name Type Description
request google.monitoring.v3.IListNotificationChannelsRequest

ListNotificationChannelsRequest message or plain object

callback google.monitoring.v3.NotificationChannelService.ListNotificationChannelsCallback

Node-style callback called with the error, if any, and ListNotificationChannelsResponse

listNotificationChannels(request) → {Promise.<google.monitoring.v3.ListNotificationChannelsResponse>}

Calls ListNotificationChannels.

Parameters:
Name Type Description
request google.monitoring.v3.IListNotificationChannelsRequest

ListNotificationChannelsRequest message or plain object

sendNotificationChannelVerificationCode(request, callback) → {undefined}

Calls SendNotificationChannelVerificationCode.

Parameters:
Name Type Description
request google.monitoring.v3.ISendNotificationChannelVerificationCodeRequest

SendNotificationChannelVerificationCodeRequest message or plain object

callback google.monitoring.v3.NotificationChannelService.SendNotificationChannelVerificationCodeCallback

Node-style callback called with the error, if any, and Empty

sendNotificationChannelVerificationCode(request) → {Promise.<google.protobuf.Empty>}

Calls SendNotificationChannelVerificationCode.

Parameters:
Name Type Description
request google.monitoring.v3.ISendNotificationChannelVerificationCodeRequest

SendNotificationChannelVerificationCodeRequest message or plain object

updateNotificationChannel(request, callback) → {undefined}

Calls UpdateNotificationChannel.

Parameters:
Name Type Description
request google.monitoring.v3.IUpdateNotificationChannelRequest

UpdateNotificationChannelRequest message or plain object

callback google.monitoring.v3.NotificationChannelService.UpdateNotificationChannelCallback

Node-style callback called with the error, if any, and NotificationChannel

updateNotificationChannel(request) → {Promise.<google.monitoring.v3.NotificationChannel>}

Calls UpdateNotificationChannel.

Parameters:
Name Type Description
request google.monitoring.v3.IUpdateNotificationChannelRequest

UpdateNotificationChannelRequest message or plain object

verifyNotificationChannel(request, callback) → {undefined}

Calls VerifyNotificationChannel.

Parameters:
Name Type Description
request google.monitoring.v3.IVerifyNotificationChannelRequest

VerifyNotificationChannelRequest message or plain object

callback google.monitoring.v3.NotificationChannelService.VerifyNotificationChannelCallback

Node-style callback called with the error, if any, and NotificationChannel

verifyNotificationChannel(request) → {Promise.<google.monitoring.v3.NotificationChannel>}

Calls VerifyNotificationChannel.

Parameters:
Name Type Description
request google.monitoring.v3.IVerifyNotificationChannelRequest

VerifyNotificationChannelRequest message or plain object

Type Definitions

CreateNotificationChannelCallback(error, responseopt)

Callback as used by google.monitoring.v3.NotificationChannelService#createNotificationChannel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.monitoring.v3.NotificationChannel <optional>

NotificationChannel

DeleteNotificationChannelCallback(error, responseopt)

Callback as used by google.monitoring.v3.NotificationChannelService#deleteNotificationChannel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

GetNotificationChannelCallback(error, responseopt)

Callback as used by google.monitoring.v3.NotificationChannelService#getNotificationChannel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.monitoring.v3.NotificationChannel <optional>

NotificationChannel

GetNotificationChannelDescriptorCallback(error, responseopt)

Callback as used by google.monitoring.v3.NotificationChannelService#getNotificationChannelDescriptor.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.monitoring.v3.NotificationChannelDescriptor <optional>

NotificationChannelDescriptor

GetNotificationChannelVerificationCodeCallback(error, responseopt)

Callback as used by google.monitoring.v3.NotificationChannelService#getNotificationChannelVerificationCode.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.monitoring.v3.GetNotificationChannelVerificationCodeResponse <optional>

GetNotificationChannelVerificationCodeResponse

ListNotificationChannelDescriptorsCallback(error, responseopt)

Callback as used by google.monitoring.v3.NotificationChannelService#listNotificationChannelDescriptors.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.monitoring.v3.ListNotificationChannelDescriptorsResponse <optional>

ListNotificationChannelDescriptorsResponse

ListNotificationChannelsCallback(error, responseopt)

Callback as used by google.monitoring.v3.NotificationChannelService#listNotificationChannels.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.monitoring.v3.ListNotificationChannelsResponse <optional>

ListNotificationChannelsResponse

SendNotificationChannelVerificationCodeCallback(error, responseopt)

Callback as used by google.monitoring.v3.NotificationChannelService#sendNotificationChannelVerificationCode.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

UpdateNotificationChannelCallback(error, responseopt)

Callback as used by google.monitoring.v3.NotificationChannelService#updateNotificationChannel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.monitoring.v3.NotificationChannel <optional>

NotificationChannel

VerifyNotificationChannelCallback(error, responseopt)

Callback as used by google.monitoring.v3.NotificationChannelService#verifyNotificationChannel.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.monitoring.v3.NotificationChannel <optional>

NotificationChannel