Represents a RegionHealthCheckServices
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.RegionHealthCheckServicesPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new RegionHealthCheckServices 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): RegionHealthCheckServices;Creates new RegionHealthCheckServices 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 |
RegionHealthCheckServices |
RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteRegionHealthCheckServiceRequest, callback: google.cloud.compute.v1.RegionHealthCheckServices.DeleteCallback): void;Calls Delete.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteRegionHealthCheckServiceRequest
DeleteRegionHealthCheckServiceRequest message or plain object |
callback |
DeleteCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteRegionHealthCheckServiceRequest): Promise<google.cloud.compute.v1.Operation>;Calls Delete.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteRegionHealthCheckServiceRequest
DeleteRegionHealthCheckServiceRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetRegionHealthCheckServiceRequest, callback: google.cloud.compute.v1.RegionHealthCheckServices.GetCallback): void;Calls Get.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetRegionHealthCheckServiceRequest
GetRegionHealthCheckServiceRequest message or plain object |
callback |
GetCallback
Node-style callback called with the error, if any, and HealthCheckService |
| Returns | |
|---|---|
| Type | Description |
void |
|
get(request)
public get(request: google.cloud.compute.v1.IGetRegionHealthCheckServiceRequest): Promise<google.cloud.compute.v1.HealthCheckService>;Calls Get.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetRegionHealthCheckServiceRequest
GetRegionHealthCheckServiceRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.HealthCheckService> |
Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertRegionHealthCheckServiceRequest, callback: google.cloud.compute.v1.RegionHealthCheckServices.InsertCallback): void;Calls Insert.
| Parameters | |
|---|---|
| Name | Description |
request |
IInsertRegionHealthCheckServiceRequest
InsertRegionHealthCheckServiceRequest message or plain object |
callback |
InsertCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
insert(request)
public insert(request: google.cloud.compute.v1.IInsertRegionHealthCheckServiceRequest): Promise<google.cloud.compute.v1.Operation>;Calls Insert.
| Parameter | |
|---|---|
| Name | Description |
request |
IInsertRegionHealthCheckServiceRequest
InsertRegionHealthCheckServiceRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListRegionHealthCheckServicesRequest, callback: google.cloud.compute.v1.RegionHealthCheckServices.ListCallback): void;Calls List.
| Parameters | |
|---|---|
| Name | Description |
request |
IListRegionHealthCheckServicesRequest
ListRegionHealthCheckServicesRequest message or plain object |
callback |
ListCallback
Node-style callback called with the error, if any, and HealthCheckServicesList |
| Returns | |
|---|---|
| Type | Description |
void |
|
list(request)
public list(request: google.cloud.compute.v1.IListRegionHealthCheckServicesRequest): Promise<google.cloud.compute.v1.HealthCheckServicesList>;Calls List.
| Parameter | |
|---|---|
| Name | Description |
request |
IListRegionHealthCheckServicesRequest
ListRegionHealthCheckServicesRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.HealthCheckServicesList> |
Promise |
patch(request, callback)
public patch(request: google.cloud.compute.v1.IPatchRegionHealthCheckServiceRequest, callback: google.cloud.compute.v1.RegionHealthCheckServices.PatchCallback): void;Calls Patch.
| Parameters | |
|---|---|
| Name | Description |
request |
IPatchRegionHealthCheckServiceRequest
PatchRegionHealthCheckServiceRequest message or plain object |
callback |
PatchCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
patch(request)
public patch(request: google.cloud.compute.v1.IPatchRegionHealthCheckServiceRequest): Promise<google.cloud.compute.v1.Operation>;Calls Patch.
| Parameter | |
|---|---|
| Name | Description |
request |
IPatchRegionHealthCheckServiceRequest
PatchRegionHealthCheckServiceRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |