Class protos.google.monitoring.v3.UptimeCheckService (4.0.0)

Represents an UptimeCheckService

Inheritance

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

Package

@google-cloud/monitoring

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new UptimeCheckService 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): UptimeCheckService;

Creates new UptimeCheckService 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
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
NameDescription
request ICreateUptimeCheckConfigRequest

CreateUptimeCheckConfigRequest message or plain object

callback CreateUptimeCheckConfigCallback

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

Returns
TypeDescription
void

createUptimeCheckConfig(request)

public createUptimeCheckConfig(request: google.monitoring.v3.ICreateUptimeCheckConfigRequest): Promise<google.monitoring.v3.UptimeCheckConfig>;

Calls CreateUptimeCheckConfig.

Parameter
NameDescription
request ICreateUptimeCheckConfigRequest

CreateUptimeCheckConfigRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IDeleteUptimeCheckConfigRequest

DeleteUptimeCheckConfigRequest message or plain object

callback DeleteUptimeCheckConfigCallback

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

Returns
TypeDescription
void

deleteUptimeCheckConfig(request)

public deleteUptimeCheckConfig(request: google.monitoring.v3.IDeleteUptimeCheckConfigRequest): Promise<google.protobuf.Empty>;

Calls DeleteUptimeCheckConfig.

Parameter
NameDescription
request IDeleteUptimeCheckConfigRequest

DeleteUptimeCheckConfigRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IGetUptimeCheckConfigRequest

GetUptimeCheckConfigRequest message or plain object

callback GetUptimeCheckConfigCallback

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

Returns
TypeDescription
void

getUptimeCheckConfig(request)

public getUptimeCheckConfig(request: google.monitoring.v3.IGetUptimeCheckConfigRequest): Promise<google.monitoring.v3.UptimeCheckConfig>;

Calls GetUptimeCheckConfig.

Parameter
NameDescription
request IGetUptimeCheckConfigRequest

GetUptimeCheckConfigRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IListUptimeCheckConfigsRequest

ListUptimeCheckConfigsRequest message or plain object

callback ListUptimeCheckConfigsCallback

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

Returns
TypeDescription
void

listUptimeCheckConfigs(request)

public listUptimeCheckConfigs(request: google.monitoring.v3.IListUptimeCheckConfigsRequest): Promise<google.monitoring.v3.ListUptimeCheckConfigsResponse>;

Calls ListUptimeCheckConfigs.

Parameter
NameDescription
request IListUptimeCheckConfigsRequest

ListUptimeCheckConfigsRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IListUptimeCheckIpsRequest

ListUptimeCheckIpsRequest message or plain object

callback ListUptimeCheckIpsCallback

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

Returns
TypeDescription
void

listUptimeCheckIps(request)

public listUptimeCheckIps(request: google.monitoring.v3.IListUptimeCheckIpsRequest): Promise<google.monitoring.v3.ListUptimeCheckIpsResponse>;

Calls ListUptimeCheckIps.

Parameter
NameDescription
request IListUptimeCheckIpsRequest

ListUptimeCheckIpsRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IUpdateUptimeCheckConfigRequest

UpdateUptimeCheckConfigRequest message or plain object

callback UpdateUptimeCheckConfigCallback

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

Returns
TypeDescription
void

updateUptimeCheckConfig(request)

public updateUptimeCheckConfig(request: google.monitoring.v3.IUpdateUptimeCheckConfigRequest): Promise<google.monitoring.v3.UptimeCheckConfig>;

Calls UpdateUptimeCheckConfig.

Parameter
NameDescription
request IUpdateUptimeCheckConfigRequest

UpdateUptimeCheckConfigRequest message or plain object

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

Promise