ServiceMonitoringService

google.monitoring.v3. ServiceMonitoringService

Represents a ServiceMonitoringService

Constructor

new ServiceMonitoringService(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new ServiceMonitoringService 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

createService(request, callback) → {undefined}

Calls CreateService.

Parameters:
Name Type Description
request google.monitoring.v3.ICreateServiceRequest

CreateServiceRequest message or plain object

callback google.monitoring.v3.ServiceMonitoringService.CreateServiceCallback

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

Returns:
Type Description
undefined

createService(request) → {Promise.<google.monitoring.v3.Service>}

Calls CreateService.

Parameters:
Name Type Description
request google.monitoring.v3.ICreateServiceRequest

CreateServiceRequest message or plain object

Returns:
Type Description
Promise.<google.monitoring.v3.Service>

Promise

createServiceLevelObjective(request, callback) → {undefined}

Calls CreateServiceLevelObjective.

Parameters:
Name Type Description
request google.monitoring.v3.ICreateServiceLevelObjectiveRequest

CreateServiceLevelObjectiveRequest message or plain object

callback google.monitoring.v3.ServiceMonitoringService.CreateServiceLevelObjectiveCallback

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

Returns:
Type Description
undefined

createServiceLevelObjective(request) → {Promise.<google.monitoring.v3.ServiceLevelObjective>}

Calls CreateServiceLevelObjective.

Parameters:
Name Type Description
request google.monitoring.v3.ICreateServiceLevelObjectiveRequest

CreateServiceLevelObjectiveRequest message or plain object

Returns:
Type Description
Promise.<google.monitoring.v3.ServiceLevelObjective>

Promise

deleteService(request, callback) → {undefined}

Calls DeleteService.

Parameters:
Name Type Description
request google.monitoring.v3.IDeleteServiceRequest

DeleteServiceRequest message or plain object

callback google.monitoring.v3.ServiceMonitoringService.DeleteServiceCallback

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

Returns:
Type Description
undefined

deleteService(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteService.

Parameters:
Name Type Description
request google.monitoring.v3.IDeleteServiceRequest

DeleteServiceRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteServiceLevelObjective(request, callback) → {undefined}

Calls DeleteServiceLevelObjective.

Parameters:
Name Type Description
request google.monitoring.v3.IDeleteServiceLevelObjectiveRequest

DeleteServiceLevelObjectiveRequest message or plain object

callback google.monitoring.v3.ServiceMonitoringService.DeleteServiceLevelObjectiveCallback

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

Returns:
Type Description
undefined

deleteServiceLevelObjective(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteServiceLevelObjective.

Parameters:
Name Type Description
request google.monitoring.v3.IDeleteServiceLevelObjectiveRequest

DeleteServiceLevelObjectiveRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

getService(request, callback) → {undefined}

Calls GetService.

Parameters:
Name Type Description
request google.monitoring.v3.IGetServiceRequest

GetServiceRequest message or plain object

callback google.monitoring.v3.ServiceMonitoringService.GetServiceCallback

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

Returns:
Type Description
undefined

getService(request) → {Promise.<google.monitoring.v3.Service>}

Calls GetService.

Parameters:
Name Type Description
request google.monitoring.v3.IGetServiceRequest

GetServiceRequest message or plain object

Returns:
Type Description
Promise.<google.monitoring.v3.Service>

Promise

getServiceLevelObjective(request, callback) → {undefined}

Calls GetServiceLevelObjective.

Parameters:
Name Type Description
request google.monitoring.v3.IGetServiceLevelObjectiveRequest

GetServiceLevelObjectiveRequest message or plain object

callback google.monitoring.v3.ServiceMonitoringService.GetServiceLevelObjectiveCallback

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

Returns:
Type Description
undefined

getServiceLevelObjective(request) → {Promise.<google.monitoring.v3.ServiceLevelObjective>}

Calls GetServiceLevelObjective.

Parameters:
Name Type Description
request google.monitoring.v3.IGetServiceLevelObjectiveRequest

GetServiceLevelObjectiveRequest message or plain object

Returns:
Type Description
Promise.<google.monitoring.v3.ServiceLevelObjective>

Promise

listServiceLevelObjectives(request, callback) → {undefined}

Calls ListServiceLevelObjectives.

Parameters:
Name Type Description
request google.monitoring.v3.IListServiceLevelObjectivesRequest

ListServiceLevelObjectivesRequest message or plain object

callback google.monitoring.v3.ServiceMonitoringService.ListServiceLevelObjectivesCallback

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

Returns:
Type Description
undefined

listServiceLevelObjectives(request) → {Promise.<google.monitoring.v3.ListServiceLevelObjectivesResponse>}

Calls ListServiceLevelObjectives.

Parameters:
Name Type Description
request google.monitoring.v3.IListServiceLevelObjectivesRequest

ListServiceLevelObjectivesRequest message or plain object

Returns:
Type Description
Promise.<google.monitoring.v3.ListServiceLevelObjectivesResponse>

Promise

listServices(request, callback) → {undefined}

Calls ListServices.

Parameters:
Name Type Description
request google.monitoring.v3.IListServicesRequest

ListServicesRequest message or plain object

callback google.monitoring.v3.ServiceMonitoringService.ListServicesCallback

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

Returns:
Type Description
undefined

listServices(request) → {Promise.<google.monitoring.v3.ListServicesResponse>}

Calls ListServices.

Parameters:
Name Type Description
request google.monitoring.v3.IListServicesRequest

ListServicesRequest message or plain object

Returns:
Type Description
Promise.<google.monitoring.v3.ListServicesResponse>

Promise

updateService(request, callback) → {undefined}

Calls UpdateService.

Parameters:
Name Type Description
request google.monitoring.v3.IUpdateServiceRequest

UpdateServiceRequest message or plain object

callback google.monitoring.v3.ServiceMonitoringService.UpdateServiceCallback

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

Returns:
Type Description
undefined

updateService(request) → {Promise.<google.monitoring.v3.Service>}

Calls UpdateService.

Parameters:
Name Type Description
request google.monitoring.v3.IUpdateServiceRequest

UpdateServiceRequest message or plain object

Returns:
Type Description
Promise.<google.monitoring.v3.Service>

Promise

updateServiceLevelObjective(request, callback) → {undefined}

Calls UpdateServiceLevelObjective.

Parameters:
Name Type Description
request google.monitoring.v3.IUpdateServiceLevelObjectiveRequest

UpdateServiceLevelObjectiveRequest message or plain object

callback google.monitoring.v3.ServiceMonitoringService.UpdateServiceLevelObjectiveCallback

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

Returns:
Type Description
undefined

updateServiceLevelObjective(request) → {Promise.<google.monitoring.v3.ServiceLevelObjective>}

Calls UpdateServiceLevelObjective.

Parameters:
Name Type Description
request google.monitoring.v3.IUpdateServiceLevelObjectiveRequest

UpdateServiceLevelObjectiveRequest message or plain object

Returns:
Type Description
Promise.<google.monitoring.v3.ServiceLevelObjective>

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {ServiceMonitoringService}

Creates new ServiceMonitoringService 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
ServiceMonitoringService

RPC service. Useful where requests and/or responses are streamed.

Type Definitions

CreateServiceCallback(error, responseopt)

Callback as used by createService.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.monitoring.v3.Service <optional>

Service

CreateServiceLevelObjectiveCallback(error, responseopt)

Callback as used by createServiceLevelObjective.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.monitoring.v3.ServiceLevelObjective <optional>

ServiceLevelObjective

DeleteServiceCallback(error, responseopt)

Callback as used by deleteService.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteServiceLevelObjectiveCallback(error, responseopt)

Callback as used by deleteServiceLevelObjective.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

GetServiceCallback(error, responseopt)

Callback as used by getService.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.monitoring.v3.Service <optional>

Service

GetServiceLevelObjectiveCallback(error, responseopt)

Callback as used by getServiceLevelObjective.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.monitoring.v3.ServiceLevelObjective <optional>

ServiceLevelObjective

ListServiceLevelObjectivesCallback(error, responseopt)

Callback as used by listServiceLevelObjectives.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.monitoring.v3.ListServiceLevelObjectivesResponse <optional>

ListServiceLevelObjectivesResponse

ListServicesCallback(error, responseopt)

Callback as used by listServices.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.monitoring.v3.ListServicesResponse <optional>

ListServicesResponse

UpdateServiceCallback(error, responseopt)

Callback as used by updateService.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.monitoring.v3.Service <optional>

Service

UpdateServiceLevelObjectiveCallback(error, responseopt)

Callback as used by updateServiceLevelObjective.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.monitoring.v3.ServiceLevelObjective <optional>

ServiceLevelObjective