Constructor
new UptimeCheckService(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new UptimeCheckService 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
createUptimeCheckConfig(request, callback) → {undefined}
Calls CreateUptimeCheckConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.monitoring.v3.ICreateUptimeCheckConfigRequest |
CreateUptimeCheckConfigRequest message or plain object |
callback |
google.monitoring.v3.UptimeCheckService.CreateUptimeCheckConfigCallback |
Node-style callback called with the error, if any, and UptimeCheckConfig |
Returns:
Type | Description |
---|---|
undefined |
createUptimeCheckConfig(request) → {Promise.<google.monitoring.v3.UptimeCheckConfig>}
Calls CreateUptimeCheckConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.monitoring.v3.ICreateUptimeCheckConfigRequest |
CreateUptimeCheckConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.monitoring.v3.UptimeCheckConfig> |
Promise |
deleteUptimeCheckConfig(request, callback) → {undefined}
Calls DeleteUptimeCheckConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.monitoring.v3.IDeleteUptimeCheckConfigRequest |
DeleteUptimeCheckConfigRequest message or plain object |
callback |
google.monitoring.v3.UptimeCheckService.DeleteUptimeCheckConfigCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deleteUptimeCheckConfig(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteUptimeCheckConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.monitoring.v3.IDeleteUptimeCheckConfigRequest |
DeleteUptimeCheckConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
getUptimeCheckConfig(request, callback) → {undefined}
Calls GetUptimeCheckConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.monitoring.v3.IGetUptimeCheckConfigRequest |
GetUptimeCheckConfigRequest message or plain object |
callback |
google.monitoring.v3.UptimeCheckService.GetUptimeCheckConfigCallback |
Node-style callback called with the error, if any, and UptimeCheckConfig |
Returns:
Type | Description |
---|---|
undefined |
getUptimeCheckConfig(request) → {Promise.<google.monitoring.v3.UptimeCheckConfig>}
Calls GetUptimeCheckConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.monitoring.v3.IGetUptimeCheckConfigRequest |
GetUptimeCheckConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.monitoring.v3.UptimeCheckConfig> |
Promise |
listUptimeCheckConfigs(request, callback) → {undefined}
Calls ListUptimeCheckConfigs.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.monitoring.v3.IListUptimeCheckConfigsRequest |
ListUptimeCheckConfigsRequest message or plain object |
callback |
google.monitoring.v3.UptimeCheckService.ListUptimeCheckConfigsCallback |
Node-style callback called with the error, if any, and ListUptimeCheckConfigsResponse |
Returns:
Type | Description |
---|---|
undefined |
listUptimeCheckConfigs(request) → {Promise.<google.monitoring.v3.ListUptimeCheckConfigsResponse>}
Calls ListUptimeCheckConfigs.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.monitoring.v3.IListUptimeCheckConfigsRequest |
ListUptimeCheckConfigsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.monitoring.v3.ListUptimeCheckConfigsResponse> |
Promise |
listUptimeCheckIps(request, callback) → {undefined}
Calls ListUptimeCheckIps.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.monitoring.v3.IListUptimeCheckIpsRequest |
ListUptimeCheckIpsRequest message or plain object |
callback |
google.monitoring.v3.UptimeCheckService.ListUptimeCheckIpsCallback |
Node-style callback called with the error, if any, and ListUptimeCheckIpsResponse |
Returns:
Type | Description |
---|---|
undefined |
listUptimeCheckIps(request) → {Promise.<google.monitoring.v3.ListUptimeCheckIpsResponse>}
Calls ListUptimeCheckIps.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.monitoring.v3.IListUptimeCheckIpsRequest |
ListUptimeCheckIpsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.monitoring.v3.ListUptimeCheckIpsResponse> |
Promise |
updateUptimeCheckConfig(request, callback) → {undefined}
Calls UpdateUptimeCheckConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.monitoring.v3.IUpdateUptimeCheckConfigRequest |
UpdateUptimeCheckConfigRequest message or plain object |
callback |
google.monitoring.v3.UptimeCheckService.UpdateUptimeCheckConfigCallback |
Node-style callback called with the error, if any, and UptimeCheckConfig |
Returns:
Type | Description |
---|---|
undefined |
updateUptimeCheckConfig(request) → {Promise.<google.monitoring.v3.UptimeCheckConfig>}
Calls UpdateUptimeCheckConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.monitoring.v3.IUpdateUptimeCheckConfigRequest |
UpdateUptimeCheckConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.monitoring.v3.UptimeCheckConfig> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {UptimeCheckService}
Creates new UptimeCheckService 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 |
Returns:
Type | Description |
---|---|
UptimeCheckService |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
CreateUptimeCheckConfigCallback(error, responseopt)
Callback as used by createUptimeCheckConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.monitoring.v3.UptimeCheckConfig |
<optional> |
UptimeCheckConfig |
DeleteUptimeCheckConfigCallback(error, responseopt)
Callback as used by deleteUptimeCheckConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
GetUptimeCheckConfigCallback(error, responseopt)
Callback as used by getUptimeCheckConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.monitoring.v3.UptimeCheckConfig |
<optional> |
UptimeCheckConfig |
ListUptimeCheckConfigsCallback(error, responseopt)
Callback as used by listUptimeCheckConfigs.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.monitoring.v3.ListUptimeCheckConfigsResponse |
<optional> |
ListUptimeCheckConfigsResponse |
ListUptimeCheckIpsCallback(error, responseopt)
Callback as used by listUptimeCheckIps.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.monitoring.v3.ListUptimeCheckIpsResponse |
<optional> |
ListUptimeCheckIpsResponse |
UpdateUptimeCheckConfigCallback(error, responseopt)
Callback as used by updateUptimeCheckConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.monitoring.v3.UptimeCheckConfig |
<optional> |
UptimeCheckConfig |