Class protos.google.monitoring.v3.NotificationChannelService

Represents a NotificationChannelService

Inheritance

$protobuf.rpc.Service > protos.google.monitoring.v3.NotificationChannelService

Package

@google-cloud/monitoring!

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new NotificationChannelService service.

Parameters
TypeNameDescription
$protobuf.RPCImplrpcImpl

RPC implementation

booleanrequestDelimited

Whether requests are length-delimited

booleanresponseDelimited

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): NotificationChannelService;

Creates new NotificationChannelService service using the specified rpc implementation.

Parameters
TypeNameDescription
$protobuf.RPCImplrpcImpl

RPC implementation

booleanrequestDelimited

Whether requests are length-delimited

booleanresponseDelimited

Whether responses are length-delimited

Returns
TypeDescription
NotificationChannelService

RPC service. Useful where requests and/or responses are streamed.

createNotificationChannel(request, callback)

public createNotificationChannel(request: google.monitoring.v3.ICreateNotificationChannelRequest, callback: google.monitoring.v3.NotificationChannelService.CreateNotificationChannelCallback): void;

Calls CreateNotificationChannel.

Parameters
TypeNameDescription
ICreateNotificationChannelRequestrequest

CreateNotificationChannelRequest message or plain object

google.monitoring.v3.NotificationChannelService.CreateNotificationChannelCallbackcallback

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

Returns
TypeDescription
void

createNotificationChannel(request)

public createNotificationChannel(request: google.monitoring.v3.ICreateNotificationChannelRequest): Promise<google.monitoring.v3.NotificationChannel>;

Calls CreateNotificationChannel.

Parameter
TypeNameDescription
ICreateNotificationChannelRequestrequest

CreateNotificationChannelRequest message or plain object

Returns
TypeDescription
Promise<google.monitoring.v3.NotificationChannel>

Promise

deleteNotificationChannel(request, callback)

public deleteNotificationChannel(request: google.monitoring.v3.IDeleteNotificationChannelRequest, callback: google.monitoring.v3.NotificationChannelService.DeleteNotificationChannelCallback): void;

Calls DeleteNotificationChannel.

Parameters
TypeNameDescription
IDeleteNotificationChannelRequestrequest

DeleteNotificationChannelRequest message or plain object

google.monitoring.v3.NotificationChannelService.DeleteNotificationChannelCallbackcallback

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

Returns
TypeDescription
void

deleteNotificationChannel(request)

public deleteNotificationChannel(request: google.monitoring.v3.IDeleteNotificationChannelRequest): Promise<google.protobuf.Empty>;

Calls DeleteNotificationChannel.

Parameter
TypeNameDescription
IDeleteNotificationChannelRequestrequest

DeleteNotificationChannelRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getNotificationChannel(request, callback)

public getNotificationChannel(request: google.monitoring.v3.IGetNotificationChannelRequest, callback: google.monitoring.v3.NotificationChannelService.GetNotificationChannelCallback): void;

Calls GetNotificationChannel.

Parameters
TypeNameDescription
IGetNotificationChannelRequestrequest

GetNotificationChannelRequest message or plain object

google.monitoring.v3.NotificationChannelService.GetNotificationChannelCallbackcallback

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

Returns
TypeDescription
void

getNotificationChannel(request)

public getNotificationChannel(request: google.monitoring.v3.IGetNotificationChannelRequest): Promise<google.monitoring.v3.NotificationChannel>;

Calls GetNotificationChannel.

Parameter
TypeNameDescription
IGetNotificationChannelRequestrequest

GetNotificationChannelRequest message or plain object

Returns
TypeDescription
Promise<google.monitoring.v3.NotificationChannel>

Promise

getNotificationChannelDescriptor(request, callback)

public getNotificationChannelDescriptor(request: google.monitoring.v3.IGetNotificationChannelDescriptorRequest, callback: google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptorCallback): void;

Calls GetNotificationChannelDescriptor.

Parameters
TypeNameDescription
google.monitoring.v3.IGetNotificationChannelDescriptorRequestrequest

GetNotificationChannelDescriptorRequest message or plain object

google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptorCallbackcallback

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

Returns
TypeDescription
void

getNotificationChannelDescriptor(request)

public getNotificationChannelDescriptor(request: google.monitoring.v3.IGetNotificationChannelDescriptorRequest): Promise<google.monitoring.v3.NotificationChannelDescriptor>;

Calls GetNotificationChannelDescriptor.

Parameter
TypeNameDescription
google.monitoring.v3.IGetNotificationChannelDescriptorRequestrequest

GetNotificationChannelDescriptorRequest message or plain object

Returns
TypeDescription
Promise<google.monitoring.v3.NotificationChannelDescriptor>

Promise

getNotificationChannelVerificationCode(request, callback)

public getNotificationChannelVerificationCode(request: google.monitoring.v3.IGetNotificationChannelVerificationCodeRequest, callback: google.monitoring.v3.NotificationChannelService.GetNotificationChannelVerificationCodeCallback): void;

Calls GetNotificationChannelVerificationCode.

Parameters
TypeNameDescription
IGetNotificationChannelVerificationCodeRequestrequest

GetNotificationChannelVerificationCodeRequest message or plain object

google.monitoring.v3.NotificationChannelService.GetNotificationChannelVerificationCodeCallbackcallback

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

Returns
TypeDescription
void

getNotificationChannelVerificationCode(request)

public getNotificationChannelVerificationCode(request: google.monitoring.v3.IGetNotificationChannelVerificationCodeRequest): Promise<google.monitoring.v3.GetNotificationChannelVerificationCodeResponse>;

Calls GetNotificationChannelVerificationCode.

Parameter
TypeNameDescription
IGetNotificationChannelVerificationCodeRequestrequest

GetNotificationChannelVerificationCodeRequest message or plain object

Returns
TypeDescription
Promise<google.monitoring.v3.GetNotificationChannelVerificationCodeResponse>

Promise

listNotificationChannelDescriptors(request, callback)

public listNotificationChannelDescriptors(request: google.monitoring.v3.IListNotificationChannelDescriptorsRequest, callback: google.monitoring.v3.NotificationChannelService.ListNotificationChannelDescriptorsCallback): void;

Calls ListNotificationChannelDescriptors.

Parameters
TypeNameDescription
IListNotificationChannelDescriptorsRequestrequest

ListNotificationChannelDescriptorsRequest message or plain object

google.monitoring.v3.NotificationChannelService.ListNotificationChannelDescriptorsCallbackcallback

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

Returns
TypeDescription
void

listNotificationChannelDescriptors(request)

public listNotificationChannelDescriptors(request: google.monitoring.v3.IListNotificationChannelDescriptorsRequest): Promise<google.monitoring.v3.ListNotificationChannelDescriptorsResponse>;

Calls ListNotificationChannelDescriptors.

Parameter
TypeNameDescription
IListNotificationChannelDescriptorsRequestrequest

ListNotificationChannelDescriptorsRequest message or plain object

Returns
TypeDescription
Promise<google.monitoring.v3.ListNotificationChannelDescriptorsResponse>

Promise

listNotificationChannels(request, callback)

public listNotificationChannels(request: google.monitoring.v3.IListNotificationChannelsRequest, callback: google.monitoring.v3.NotificationChannelService.ListNotificationChannelsCallback): void;

Calls ListNotificationChannels.

Parameters
TypeNameDescription
IListNotificationChannelsRequestrequest

ListNotificationChannelsRequest message or plain object

google.monitoring.v3.NotificationChannelService.ListNotificationChannelsCallbackcallback

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

Returns
TypeDescription
void

listNotificationChannels(request)

public listNotificationChannels(request: google.monitoring.v3.IListNotificationChannelsRequest): Promise<google.monitoring.v3.ListNotificationChannelsResponse>;

Calls ListNotificationChannels.

Parameter
TypeNameDescription
IListNotificationChannelsRequestrequest

ListNotificationChannelsRequest message or plain object

Returns
TypeDescription
Promise<google.monitoring.v3.ListNotificationChannelsResponse>

Promise

sendNotificationChannelVerificationCode(request, callback)

public sendNotificationChannelVerificationCode(request: google.monitoring.v3.ISendNotificationChannelVerificationCodeRequest, callback: google.monitoring.v3.NotificationChannelService.SendNotificationChannelVerificationCodeCallback): void;

Calls SendNotificationChannelVerificationCode.

Parameters
TypeNameDescription
ISendNotificationChannelVerificationCodeRequestrequest

SendNotificationChannelVerificationCodeRequest message or plain object

google.monitoring.v3.NotificationChannelService.SendNotificationChannelVerificationCodeCallbackcallback

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

Returns
TypeDescription
void

sendNotificationChannelVerificationCode(request)

public sendNotificationChannelVerificationCode(request: google.monitoring.v3.ISendNotificationChannelVerificationCodeRequest): Promise<google.protobuf.Empty>;

Calls SendNotificationChannelVerificationCode.

Parameter
TypeNameDescription
ISendNotificationChannelVerificationCodeRequestrequest

SendNotificationChannelVerificationCodeRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

updateNotificationChannel(request, callback)

public updateNotificationChannel(request: google.monitoring.v3.IUpdateNotificationChannelRequest, callback: google.monitoring.v3.NotificationChannelService.UpdateNotificationChannelCallback): void;

Calls UpdateNotificationChannel.

Parameters
TypeNameDescription
IUpdateNotificationChannelRequestrequest

UpdateNotificationChannelRequest message or plain object

google.monitoring.v3.NotificationChannelService.UpdateNotificationChannelCallbackcallback

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

Returns
TypeDescription
void

updateNotificationChannel(request)

public updateNotificationChannel(request: google.monitoring.v3.IUpdateNotificationChannelRequest): Promise<google.monitoring.v3.NotificationChannel>;

Calls UpdateNotificationChannel.

Parameter
TypeNameDescription
IUpdateNotificationChannelRequestrequest

UpdateNotificationChannelRequest message or plain object

Returns
TypeDescription
Promise<google.monitoring.v3.NotificationChannel>

Promise

verifyNotificationChannel(request, callback)

public verifyNotificationChannel(request: google.monitoring.v3.IVerifyNotificationChannelRequest, callback: google.monitoring.v3.NotificationChannelService.VerifyNotificationChannelCallback): void;

Calls VerifyNotificationChannel.

Parameters
TypeNameDescription
IVerifyNotificationChannelRequestrequest

VerifyNotificationChannelRequest message or plain object

google.monitoring.v3.NotificationChannelService.VerifyNotificationChannelCallbackcallback

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

Returns
TypeDescription
void

verifyNotificationChannel(request)

public verifyNotificationChannel(request: google.monitoring.v3.IVerifyNotificationChannelRequest): Promise<google.monitoring.v3.NotificationChannel>;

Calls VerifyNotificationChannel.

Parameter
TypeNameDescription
IVerifyNotificationChannelRequestrequest

VerifyNotificationChannelRequest message or plain object

Returns
TypeDescription
Promise<google.monitoring.v3.NotificationChannel>

Promise