Represents a RegionNotificationEndpoints
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.RegionNotificationEndpointsPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new RegionNotificationEndpoints service.
| 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): RegionNotificationEndpoints;Creates new RegionNotificationEndpoints service using the specified rpc implementation.
| Name | Description |
| rpcImpl |
$protobuf.RPCImpl
RPC implementation |
| requestDelimited |
boolean
Whether requests are length-delimited |
| responseDelimited |
boolean
Whether responses are length-delimited |
| Type | Description |
| RegionNotificationEndpoints | RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteRegionNotificationEndpointRequest, callback: google.cloud.compute.v1.RegionNotificationEndpoints.DeleteCallback): void;Calls Delete.
| Name | Description |
| request |
IDeleteRegionNotificationEndpointRequest
DeleteRegionNotificationEndpointRequest message or plain object |
| callback |
google.cloud.compute.v1.RegionNotificationEndpoints.DeleteCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteRegionNotificationEndpointRequest): Promise<google.cloud.compute.v1.Operation>;Calls Delete.
| Name | Description |
| request |
IDeleteRegionNotificationEndpointRequest
DeleteRegionNotificationEndpointRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetRegionNotificationEndpointRequest, callback: google.cloud.compute.v1.RegionNotificationEndpoints.GetCallback): void;Calls Get.
| Name | Description |
| request |
IGetRegionNotificationEndpointRequest
GetRegionNotificationEndpointRequest message or plain object |
| callback |
google.cloud.compute.v1.RegionNotificationEndpoints.GetCallback
Node-style callback called with the error, if any, and NotificationEndpoint |
| Type | Description |
| void |
get(request)
public get(request: google.cloud.compute.v1.IGetRegionNotificationEndpointRequest): Promise<google.cloud.compute.v1.NotificationEndpoint>;Calls Get.
| Name | Description |
| request |
IGetRegionNotificationEndpointRequest
GetRegionNotificationEndpointRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.NotificationEndpoint> | Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertRegionNotificationEndpointRequest, callback: google.cloud.compute.v1.RegionNotificationEndpoints.InsertCallback): void;Calls Insert.
| Name | Description |
| request |
IInsertRegionNotificationEndpointRequest
InsertRegionNotificationEndpointRequest message or plain object |
| callback |
google.cloud.compute.v1.RegionNotificationEndpoints.InsertCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertRegionNotificationEndpointRequest): Promise<google.cloud.compute.v1.Operation>;Calls Insert.
| Name | Description |
| request |
IInsertRegionNotificationEndpointRequest
InsertRegionNotificationEndpointRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListRegionNotificationEndpointsRequest, callback: google.cloud.compute.v1.RegionNotificationEndpoints.ListCallback): void;Calls List.
| Name | Description |
| request |
IListRegionNotificationEndpointsRequest
ListRegionNotificationEndpointsRequest message or plain object |
| callback |
google.cloud.compute.v1.RegionNotificationEndpoints.ListCallback
Node-style callback called with the error, if any, and NotificationEndpointList |
| Type | Description |
| void |
list(request)
public list(request: google.cloud.compute.v1.IListRegionNotificationEndpointsRequest): Promise<google.cloud.compute.v1.NotificationEndpointList>;Calls List.
| Name | Description |
| request |
IListRegionNotificationEndpointsRequest
ListRegionNotificationEndpointsRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.NotificationEndpointList> | Promise |