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

(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

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

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

Calls CreateService.

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

CreateServiceRequest message or plain object

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

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

Calls CreateServiceLevelObjective.

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

CreateServiceLevelObjectiveRequest message or plain object

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

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

Calls DeleteService.

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

DeleteServiceRequest message or plain object

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

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

Calls DeleteServiceLevelObjective.

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

DeleteServiceLevelObjectiveRequest message or plain object

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

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

Calls GetService.

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

GetServiceRequest message or plain object

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

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

Calls GetServiceLevelObjective.

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

GetServiceLevelObjectiveRequest message or plain object

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

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

Calls ListServiceLevelObjectives.

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

ListServiceLevelObjectivesRequest message or plain object

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

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

Calls ListServices.

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

ListServicesRequest message or plain object

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

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

Calls UpdateService.

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

UpdateServiceRequest message or plain object

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

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

Calls UpdateServiceLevelObjective.

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

UpdateServiceLevelObjectiveRequest message or plain object

Type Definitions

CreateServiceCallback(error, responseopt)

Callback as used by google.monitoring.v3.ServiceMonitoringService#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 google.monitoring.v3.ServiceMonitoringService#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 google.monitoring.v3.ServiceMonitoringService#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 google.monitoring.v3.ServiceMonitoringService#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 google.monitoring.v3.ServiceMonitoringService#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 google.monitoring.v3.ServiceMonitoringService#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 google.monitoring.v3.ServiceMonitoringService#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 google.monitoring.v3.ServiceMonitoringService#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 google.monitoring.v3.ServiceMonitoringService#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 google.monitoring.v3.ServiceMonitoringService#updateServiceLevelObjective.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.monitoring.v3.ServiceLevelObjective <optional>

ServiceLevelObjective