Represents an UptimeCheckService
Inheritance
$protobuf.rpc.Service > protos.google.monitoring.v3.UptimeCheckServicePackage
@google-cloud/monitoringConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new UptimeCheckService 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): UptimeCheckService;
Creates new UptimeCheckService 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 |
UptimeCheckService | RPC service. Useful where requests and/or responses are streamed. |
createUptimeCheckConfig(request, callback)
public createUptimeCheckConfig(request: google.monitoring.v3.ICreateUptimeCheckConfigRequest, callback: google.monitoring.v3.UptimeCheckService.CreateUptimeCheckConfigCallback): void;
Calls CreateUptimeCheckConfig.
Parameters | |
---|---|
Name | Description |
request |
ICreateUptimeCheckConfigRequest
CreateUptimeCheckConfigRequest message or plain object |
callback |
CreateUptimeCheckConfigCallback
Node-style callback called with the error, if any, and UptimeCheckConfig |
Returns | |
---|---|
Type | Description |
void |
createUptimeCheckConfig(request)
public createUptimeCheckConfig(request: google.monitoring.v3.ICreateUptimeCheckConfigRequest): Promise<google.monitoring.v3.UptimeCheckConfig>;
Calls CreateUptimeCheckConfig.
Parameter | |
---|---|
Name | Description |
request |
ICreateUptimeCheckConfigRequest
CreateUptimeCheckConfigRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.monitoring.v3.UptimeCheckConfig> | Promise |
deleteUptimeCheckConfig(request, callback)
public deleteUptimeCheckConfig(request: google.monitoring.v3.IDeleteUptimeCheckConfigRequest, callback: google.monitoring.v3.UptimeCheckService.DeleteUptimeCheckConfigCallback): void;
Calls DeleteUptimeCheckConfig.
Parameters | |
---|---|
Name | Description |
request |
IDeleteUptimeCheckConfigRequest
DeleteUptimeCheckConfigRequest message or plain object |
callback |
DeleteUptimeCheckConfigCallback
Node-style callback called with the error, if any, and Empty |
Returns | |
---|---|
Type | Description |
void |
deleteUptimeCheckConfig(request)
public deleteUptimeCheckConfig(request: google.monitoring.v3.IDeleteUptimeCheckConfigRequest): Promise<google.protobuf.Empty>;
Calls DeleteUptimeCheckConfig.
Parameter | |
---|---|
Name | Description |
request |
IDeleteUptimeCheckConfigRequest
DeleteUptimeCheckConfigRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getUptimeCheckConfig(request, callback)
public getUptimeCheckConfig(request: google.monitoring.v3.IGetUptimeCheckConfigRequest, callback: google.monitoring.v3.UptimeCheckService.GetUptimeCheckConfigCallback): void;
Calls GetUptimeCheckConfig.
Parameters | |
---|---|
Name | Description |
request |
IGetUptimeCheckConfigRequest
GetUptimeCheckConfigRequest message or plain object |
callback |
GetUptimeCheckConfigCallback
Node-style callback called with the error, if any, and UptimeCheckConfig |
Returns | |
---|---|
Type | Description |
void |
getUptimeCheckConfig(request)
public getUptimeCheckConfig(request: google.monitoring.v3.IGetUptimeCheckConfigRequest): Promise<google.monitoring.v3.UptimeCheckConfig>;
Calls GetUptimeCheckConfig.
Parameter | |
---|---|
Name | Description |
request |
IGetUptimeCheckConfigRequest
GetUptimeCheckConfigRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.monitoring.v3.UptimeCheckConfig> | Promise |
listUptimeCheckConfigs(request, callback)
public listUptimeCheckConfigs(request: google.monitoring.v3.IListUptimeCheckConfigsRequest, callback: google.monitoring.v3.UptimeCheckService.ListUptimeCheckConfigsCallback): void;
Calls ListUptimeCheckConfigs.
Parameters | |
---|---|
Name | Description |
request |
IListUptimeCheckConfigsRequest
ListUptimeCheckConfigsRequest message or plain object |
callback |
ListUptimeCheckConfigsCallback
Node-style callback called with the error, if any, and ListUptimeCheckConfigsResponse |
Returns | |
---|---|
Type | Description |
void |
listUptimeCheckConfigs(request)
public listUptimeCheckConfigs(request: google.monitoring.v3.IListUptimeCheckConfigsRequest): Promise<google.monitoring.v3.ListUptimeCheckConfigsResponse>;
Calls ListUptimeCheckConfigs.
Parameter | |
---|---|
Name | Description |
request |
IListUptimeCheckConfigsRequest
ListUptimeCheckConfigsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.monitoring.v3.ListUptimeCheckConfigsResponse> | Promise |
listUptimeCheckIps(request, callback)
public listUptimeCheckIps(request: google.monitoring.v3.IListUptimeCheckIpsRequest, callback: google.monitoring.v3.UptimeCheckService.ListUptimeCheckIpsCallback): void;
Calls ListUptimeCheckIps.
Parameters | |
---|---|
Name | Description |
request |
IListUptimeCheckIpsRequest
ListUptimeCheckIpsRequest message or plain object |
callback |
ListUptimeCheckIpsCallback
Node-style callback called with the error, if any, and ListUptimeCheckIpsResponse |
Returns | |
---|---|
Type | Description |
void |
listUptimeCheckIps(request)
public listUptimeCheckIps(request: google.monitoring.v3.IListUptimeCheckIpsRequest): Promise<google.monitoring.v3.ListUptimeCheckIpsResponse>;
Calls ListUptimeCheckIps.
Parameter | |
---|---|
Name | Description |
request |
IListUptimeCheckIpsRequest
ListUptimeCheckIpsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.monitoring.v3.ListUptimeCheckIpsResponse> | Promise |
updateUptimeCheckConfig(request, callback)
public updateUptimeCheckConfig(request: google.monitoring.v3.IUpdateUptimeCheckConfigRequest, callback: google.monitoring.v3.UptimeCheckService.UpdateUptimeCheckConfigCallback): void;
Calls UpdateUptimeCheckConfig.
Parameters | |
---|---|
Name | Description |
request |
IUpdateUptimeCheckConfigRequest
UpdateUptimeCheckConfigRequest message or plain object |
callback |
UpdateUptimeCheckConfigCallback
Node-style callback called with the error, if any, and UptimeCheckConfig |
Returns | |
---|---|
Type | Description |
void |
updateUptimeCheckConfig(request)
public updateUptimeCheckConfig(request: google.monitoring.v3.IUpdateUptimeCheckConfigRequest): Promise<google.monitoring.v3.UptimeCheckConfig>;
Calls UpdateUptimeCheckConfig.
Parameter | |
---|---|
Name | Description |
request |
IUpdateUptimeCheckConfigRequest
UpdateUptimeCheckConfigRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.monitoring.v3.UptimeCheckConfig> | Promise |