Represents a ServiceMonitoringService
Inheritance
$protobuf.rpc.Service > protos.google.monitoring.v3.ServiceMonitoringServicePackage
@google-cloud/monitoringConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ServiceMonitoringService 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): ServiceMonitoringService;
Creates new ServiceMonitoringService 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 |
ServiceMonitoringService | RPC service. Useful where requests and/or responses are streamed. |
createService(request, callback)
public createService(request: google.monitoring.v3.ICreateServiceRequest, callback: google.monitoring.v3.ServiceMonitoringService.CreateServiceCallback): void;
Calls CreateService.
Parameters | |
---|---|
Name | Description |
request |
ICreateServiceRequest
CreateServiceRequest message or plain object |
callback |
CreateServiceCallback
Node-style callback called with the error, if any, and Service |
Returns | |
---|---|
Type | Description |
void |
createService(request)
public createService(request: google.monitoring.v3.ICreateServiceRequest): Promise<google.monitoring.v3.Service>;
Calls CreateService.
Parameter | |
---|---|
Name | Description |
request |
ICreateServiceRequest
CreateServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.monitoring.v3.Service> | Promise |
createServiceLevelObjective(request, callback)
public createServiceLevelObjective(request: google.monitoring.v3.ICreateServiceLevelObjectiveRequest, callback: google.monitoring.v3.ServiceMonitoringService.CreateServiceLevelObjectiveCallback): void;
Calls CreateServiceLevelObjective.
Parameters | |
---|---|
Name | Description |
request |
ICreateServiceLevelObjectiveRequest
CreateServiceLevelObjectiveRequest message or plain object |
callback |
CreateServiceLevelObjectiveCallback
Node-style callback called with the error, if any, and ServiceLevelObjective |
Returns | |
---|---|
Type | Description |
void |
createServiceLevelObjective(request)
public createServiceLevelObjective(request: google.monitoring.v3.ICreateServiceLevelObjectiveRequest): Promise<google.monitoring.v3.ServiceLevelObjective>;
Calls CreateServiceLevelObjective.
Parameter | |
---|---|
Name | Description |
request |
ICreateServiceLevelObjectiveRequest
CreateServiceLevelObjectiveRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.monitoring.v3.ServiceLevelObjective> | Promise |
deleteService(request, callback)
public deleteService(request: google.monitoring.v3.IDeleteServiceRequest, callback: google.monitoring.v3.ServiceMonitoringService.DeleteServiceCallback): void;
Calls DeleteService.
Parameters | |
---|---|
Name | Description |
request |
IDeleteServiceRequest
DeleteServiceRequest message or plain object |
callback |
DeleteServiceCallback
Node-style callback called with the error, if any, and Empty |
Returns | |
---|---|
Type | Description |
void |
deleteService(request)
public deleteService(request: google.monitoring.v3.IDeleteServiceRequest): Promise<google.protobuf.Empty>;
Calls DeleteService.
Parameter | |
---|---|
Name | Description |
request |
IDeleteServiceRequest
DeleteServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.protobuf.Empty> | Promise |
deleteServiceLevelObjective(request, callback)
public deleteServiceLevelObjective(request: google.monitoring.v3.IDeleteServiceLevelObjectiveRequest, callback: google.monitoring.v3.ServiceMonitoringService.DeleteServiceLevelObjectiveCallback): void;
Calls DeleteServiceLevelObjective.
Parameters | |
---|---|
Name | Description |
request |
IDeleteServiceLevelObjectiveRequest
DeleteServiceLevelObjectiveRequest message or plain object |
callback |
DeleteServiceLevelObjectiveCallback
Node-style callback called with the error, if any, and Empty |
Returns | |
---|---|
Type | Description |
void |
deleteServiceLevelObjective(request)
public deleteServiceLevelObjective(request: google.monitoring.v3.IDeleteServiceLevelObjectiveRequest): Promise<google.protobuf.Empty>;
Calls DeleteServiceLevelObjective.
Parameter | |
---|---|
Name | Description |
request |
IDeleteServiceLevelObjectiveRequest
DeleteServiceLevelObjectiveRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getService(request, callback)
public getService(request: google.monitoring.v3.IGetServiceRequest, callback: google.monitoring.v3.ServiceMonitoringService.GetServiceCallback): void;
Calls GetService.
Parameters | |
---|---|
Name | Description |
request |
IGetServiceRequest
GetServiceRequest message or plain object |
callback |
GetServiceCallback
Node-style callback called with the error, if any, and Service |
Returns | |
---|---|
Type | Description |
void |
getService(request)
public getService(request: google.monitoring.v3.IGetServiceRequest): Promise<google.monitoring.v3.Service>;
Calls GetService.
Parameter | |
---|---|
Name | Description |
request |
IGetServiceRequest
GetServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.monitoring.v3.Service> | Promise |
getServiceLevelObjective(request, callback)
public getServiceLevelObjective(request: google.monitoring.v3.IGetServiceLevelObjectiveRequest, callback: google.monitoring.v3.ServiceMonitoringService.GetServiceLevelObjectiveCallback): void;
Calls GetServiceLevelObjective.
Parameters | |
---|---|
Name | Description |
request |
IGetServiceLevelObjectiveRequest
GetServiceLevelObjectiveRequest message or plain object |
callback |
GetServiceLevelObjectiveCallback
Node-style callback called with the error, if any, and ServiceLevelObjective |
Returns | |
---|---|
Type | Description |
void |
getServiceLevelObjective(request)
public getServiceLevelObjective(request: google.monitoring.v3.IGetServiceLevelObjectiveRequest): Promise<google.monitoring.v3.ServiceLevelObjective>;
Calls GetServiceLevelObjective.
Parameter | |
---|---|
Name | Description |
request |
IGetServiceLevelObjectiveRequest
GetServiceLevelObjectiveRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.monitoring.v3.ServiceLevelObjective> | Promise |
listServiceLevelObjectives(request, callback)
public listServiceLevelObjectives(request: google.monitoring.v3.IListServiceLevelObjectivesRequest, callback: google.monitoring.v3.ServiceMonitoringService.ListServiceLevelObjectivesCallback): void;
Calls ListServiceLevelObjectives.
Parameters | |
---|---|
Name | Description |
request |
IListServiceLevelObjectivesRequest
ListServiceLevelObjectivesRequest message or plain object |
callback |
ListServiceLevelObjectivesCallback
Node-style callback called with the error, if any, and ListServiceLevelObjectivesResponse |
Returns | |
---|---|
Type | Description |
void |
listServiceLevelObjectives(request)
public listServiceLevelObjectives(request: google.monitoring.v3.IListServiceLevelObjectivesRequest): Promise<google.monitoring.v3.ListServiceLevelObjectivesResponse>;
Calls ListServiceLevelObjectives.
Parameter | |
---|---|
Name | Description |
request |
IListServiceLevelObjectivesRequest
ListServiceLevelObjectivesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.monitoring.v3.ListServiceLevelObjectivesResponse> | Promise |
listServices(request, callback)
public listServices(request: google.monitoring.v3.IListServicesRequest, callback: google.monitoring.v3.ServiceMonitoringService.ListServicesCallback): void;
Calls ListServices.
Parameters | |
---|---|
Name | Description |
request |
IListServicesRequest
ListServicesRequest message or plain object |
callback |
ListServicesCallback
Node-style callback called with the error, if any, and ListServicesResponse |
Returns | |
---|---|
Type | Description |
void |
listServices(request)
public listServices(request: google.monitoring.v3.IListServicesRequest): Promise<google.monitoring.v3.ListServicesResponse>;
Calls ListServices.
Parameter | |
---|---|
Name | Description |
request |
IListServicesRequest
ListServicesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.monitoring.v3.ListServicesResponse> | Promise |
updateService(request, callback)
public updateService(request: google.monitoring.v3.IUpdateServiceRequest, callback: google.monitoring.v3.ServiceMonitoringService.UpdateServiceCallback): void;
Calls UpdateService.
Parameters | |
---|---|
Name | Description |
request |
IUpdateServiceRequest
UpdateServiceRequest message or plain object |
callback |
UpdateServiceCallback
Node-style callback called with the error, if any, and Service |
Returns | |
---|---|
Type | Description |
void |
updateService(request)
public updateService(request: google.monitoring.v3.IUpdateServiceRequest): Promise<google.monitoring.v3.Service>;
Calls UpdateService.
Parameter | |
---|---|
Name | Description |
request |
IUpdateServiceRequest
UpdateServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.monitoring.v3.Service> | Promise |
updateServiceLevelObjective(request, callback)
public updateServiceLevelObjective(request: google.monitoring.v3.IUpdateServiceLevelObjectiveRequest, callback: google.monitoring.v3.ServiceMonitoringService.UpdateServiceLevelObjectiveCallback): void;
Calls UpdateServiceLevelObjective.
Parameters | |
---|---|
Name | Description |
request |
IUpdateServiceLevelObjectiveRequest
UpdateServiceLevelObjectiveRequest message or plain object |
callback |
UpdateServiceLevelObjectiveCallback
Node-style callback called with the error, if any, and ServiceLevelObjective |
Returns | |
---|---|
Type | Description |
void |
updateServiceLevelObjective(request)
public updateServiceLevelObjective(request: google.monitoring.v3.IUpdateServiceLevelObjectiveRequest): Promise<google.monitoring.v3.ServiceLevelObjective>;
Calls UpdateServiceLevelObjective.
Parameter | |
---|---|
Name | Description |
request |
IUpdateServiceLevelObjectiveRequest
UpdateServiceLevelObjectiveRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.monitoring.v3.ServiceLevelObjective> | Promise |