Represents a NotificationChannelService
Inheritance
$protobuf.rpc.Service > protos.google.monitoring.v3.NotificationChannelServicePackage
@google-cloud/monitoringConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new NotificationChannelService service.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ICreateNotificationChannelRequest
CreateNotificationChannelRequest message or plain object |
callback |
CreateNotificationChannelCallback
Node-style callback called with the error, if any, and NotificationChannel |
| Returns | |
|---|---|
| Type | Description |
void |
|
createNotificationChannel(request)
public createNotificationChannel(request: google.monitoring.v3.ICreateNotificationChannelRequest): Promise<google.monitoring.v3.NotificationChannel>;Calls CreateNotificationChannel.
| Parameter | |
|---|---|
| Name | Description |
request |
ICreateNotificationChannelRequest
CreateNotificationChannelRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
IDeleteNotificationChannelRequest
DeleteNotificationChannelRequest message or plain object |
callback |
DeleteNotificationChannelCallback
Node-style callback called with the error, if any, and Empty |
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteNotificationChannel(request)
public deleteNotificationChannel(request: google.monitoring.v3.IDeleteNotificationChannelRequest): Promise<google.protobuf.Empty>;Calls DeleteNotificationChannel.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteNotificationChannelRequest
DeleteNotificationChannelRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
IGetNotificationChannelRequest
GetNotificationChannelRequest message or plain object |
callback |
GetNotificationChannelCallback
Node-style callback called with the error, if any, and NotificationChannel |
| Returns | |
|---|---|
| Type | Description |
void |
|
getNotificationChannel(request)
public getNotificationChannel(request: google.monitoring.v3.IGetNotificationChannelRequest): Promise<google.monitoring.v3.NotificationChannel>;Calls GetNotificationChannel.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetNotificationChannelRequest
GetNotificationChannelRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
IGetNotificationChannelDescriptorRequest
GetNotificationChannelDescriptorRequest message or plain object |
callback |
GetNotificationChannelDescriptorCallback
Node-style callback called with the error, if any, and NotificationChannelDescriptor |
| Returns | |
|---|---|
| Type | Description |
void |
|
getNotificationChannelDescriptor(request)
public getNotificationChannelDescriptor(request: google.monitoring.v3.IGetNotificationChannelDescriptorRequest): Promise<google.monitoring.v3.NotificationChannelDescriptor>;Calls GetNotificationChannelDescriptor.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetNotificationChannelDescriptorRequest
GetNotificationChannelDescriptorRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
IGetNotificationChannelVerificationCodeRequest
GetNotificationChannelVerificationCodeRequest message or plain object |
callback |
GetNotificationChannelVerificationCodeCallback
Node-style callback called with the error, if any, and GetNotificationChannelVerificationCodeResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
getNotificationChannelVerificationCode(request)
public getNotificationChannelVerificationCode(request: google.monitoring.v3.IGetNotificationChannelVerificationCodeRequest): Promise<google.monitoring.v3.GetNotificationChannelVerificationCodeResponse>;Calls GetNotificationChannelVerificationCode.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetNotificationChannelVerificationCodeRequest
GetNotificationChannelVerificationCodeRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
IListNotificationChannelDescriptorsRequest
ListNotificationChannelDescriptorsRequest message or plain object |
callback |
ListNotificationChannelDescriptorsCallback
Node-style callback called with the error, if any, and ListNotificationChannelDescriptorsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listNotificationChannelDescriptors(request)
public listNotificationChannelDescriptors(request: google.monitoring.v3.IListNotificationChannelDescriptorsRequest): Promise<google.monitoring.v3.ListNotificationChannelDescriptorsResponse>;Calls ListNotificationChannelDescriptors.
| Parameter | |
|---|---|
| Name | Description |
request |
IListNotificationChannelDescriptorsRequest
ListNotificationChannelDescriptorsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
IListNotificationChannelsRequest
ListNotificationChannelsRequest message or plain object |
callback |
ListNotificationChannelsCallback
Node-style callback called with the error, if any, and ListNotificationChannelsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listNotificationChannels(request)
public listNotificationChannels(request: google.monitoring.v3.IListNotificationChannelsRequest): Promise<google.monitoring.v3.ListNotificationChannelsResponse>;Calls ListNotificationChannels.
| Parameter | |
|---|---|
| Name | Description |
request |
IListNotificationChannelsRequest
ListNotificationChannelsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ISendNotificationChannelVerificationCodeRequest
SendNotificationChannelVerificationCodeRequest message or plain object |
callback |
SendNotificationChannelVerificationCodeCallback
Node-style callback called with the error, if any, and Empty |
| Returns | |
|---|---|
| Type | Description |
void |
|
sendNotificationChannelVerificationCode(request)
public sendNotificationChannelVerificationCode(request: google.monitoring.v3.ISendNotificationChannelVerificationCodeRequest): Promise<google.protobuf.Empty>;Calls SendNotificationChannelVerificationCode.
| Parameter | |
|---|---|
| Name | Description |
request |
ISendNotificationChannelVerificationCodeRequest
SendNotificationChannelVerificationCodeRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
IUpdateNotificationChannelRequest
UpdateNotificationChannelRequest message or plain object |
callback |
UpdateNotificationChannelCallback
Node-style callback called with the error, if any, and NotificationChannel |
| Returns | |
|---|---|
| Type | Description |
void |
|
updateNotificationChannel(request)
public updateNotificationChannel(request: google.monitoring.v3.IUpdateNotificationChannelRequest): Promise<google.monitoring.v3.NotificationChannel>;Calls UpdateNotificationChannel.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdateNotificationChannelRequest
UpdateNotificationChannelRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
IVerifyNotificationChannelRequest
VerifyNotificationChannelRequest message or plain object |
callback |
VerifyNotificationChannelCallback
Node-style callback called with the error, if any, and NotificationChannel |
| Returns | |
|---|---|
| Type | Description |
void |
|
verifyNotificationChannel(request)
public verifyNotificationChannel(request: google.monitoring.v3.IVerifyNotificationChannelRequest): Promise<google.monitoring.v3.NotificationChannel>;Calls VerifyNotificationChannel.
| Parameter | |
|---|---|
| Name | Description |
request |
IVerifyNotificationChannelRequest
VerifyNotificationChannelRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.monitoring.v3.NotificationChannel> |
Promise |