Class protos.google.monitoring.v3.NotificationChannelService (3.0.3)

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
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

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
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

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
NameDescription
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

Returns
TypeDescription
void

createNotificationChannel(request)

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

Calls CreateNotificationChannel.

Parameter
NameDescription
request google.monitoring.v3.ICreateNotificationChannelRequest

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
NameDescription
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

Returns
TypeDescription
void

deleteNotificationChannel(request)

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

Calls DeleteNotificationChannel.

Parameter
NameDescription
request google.monitoring.v3.IDeleteNotificationChannelRequest

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
NameDescription
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

Returns
TypeDescription
void

getNotificationChannel(request)

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

Calls GetNotificationChannel.

Parameter
NameDescription
request google.monitoring.v3.IGetNotificationChannelRequest

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
NameDescription
request IGetNotificationChannelDescriptorRequest

GetNotificationChannelDescriptorRequest message or plain object

callback google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptorCallback

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
NameDescription
request IGetNotificationChannelDescriptorRequest

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
NameDescription
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

Returns
TypeDescription
void

getNotificationChannelVerificationCode(request)

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

Calls GetNotificationChannelVerificationCode.

Parameter
NameDescription
request google.monitoring.v3.IGetNotificationChannelVerificationCodeRequest

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
NameDescription
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

Returns
TypeDescription
void

listNotificationChannelDescriptors(request)

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

Calls ListNotificationChannelDescriptors.

Parameter
NameDescription
request google.monitoring.v3.IListNotificationChannelDescriptorsRequest

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
NameDescription
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

Returns
TypeDescription
void

listNotificationChannels(request)

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

Calls ListNotificationChannels.

Parameter
NameDescription
request google.monitoring.v3.IListNotificationChannelsRequest

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
NameDescription
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

Returns
TypeDescription
void

sendNotificationChannelVerificationCode(request)

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

Calls SendNotificationChannelVerificationCode.

Parameter
NameDescription
request google.monitoring.v3.ISendNotificationChannelVerificationCodeRequest

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
NameDescription
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

Returns
TypeDescription
void

updateNotificationChannel(request)

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

Calls UpdateNotificationChannel.

Parameter
NameDescription
request google.monitoring.v3.IUpdateNotificationChannelRequest

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
NameDescription
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

Returns
TypeDescription
void

verifyNotificationChannel(request)

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

Calls VerifyNotificationChannel.

Parameter
NameDescription
request google.monitoring.v3.IVerifyNotificationChannelRequest

VerifyNotificationChannelRequest message or plain object

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

Promise