Represents a RegionNetworkEndpointGroups
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.RegionNetworkEndpointGroupsPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new RegionNetworkEndpointGroups 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): RegionNetworkEndpointGroups;
Creates new RegionNetworkEndpointGroups 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 |
RegionNetworkEndpointGroups | RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteRegionNetworkEndpointGroupRequest, callback: google.cloud.compute.v1.RegionNetworkEndpointGroups.DeleteCallback): void;
Calls Delete.
Name | Description |
request |
google.cloud.compute.v1.IDeleteRegionNetworkEndpointGroupRequest
DeleteRegionNetworkEndpointGroupRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkEndpointGroups.DeleteCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteRegionNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Delete.
Name | Description |
request |
google.cloud.compute.v1.IDeleteRegionNetworkEndpointGroupRequest
DeleteRegionNetworkEndpointGroupRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetRegionNetworkEndpointGroupRequest, callback: google.cloud.compute.v1.RegionNetworkEndpointGroups.GetCallback): void;
Calls Get.
Name | Description |
request |
google.cloud.compute.v1.IGetRegionNetworkEndpointGroupRequest
GetRegionNetworkEndpointGroupRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkEndpointGroups.GetCallback
Node-style callback called with the error, if any, and NetworkEndpointGroup |
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetRegionNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.NetworkEndpointGroup>;
Calls Get.
Name | Description |
request |
google.cloud.compute.v1.IGetRegionNetworkEndpointGroupRequest
GetRegionNetworkEndpointGroupRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.NetworkEndpointGroup> | Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertRegionNetworkEndpointGroupRequest, callback: google.cloud.compute.v1.RegionNetworkEndpointGroups.InsertCallback): void;
Calls Insert.
Name | Description |
request |
google.cloud.compute.v1.IInsertRegionNetworkEndpointGroupRequest
InsertRegionNetworkEndpointGroupRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkEndpointGroups.InsertCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertRegionNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Insert.
Name | Description |
request |
google.cloud.compute.v1.IInsertRegionNetworkEndpointGroupRequest
InsertRegionNetworkEndpointGroupRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListRegionNetworkEndpointGroupsRequest, callback: google.cloud.compute.v1.RegionNetworkEndpointGroups.ListCallback): void;
Calls List.
Name | Description |
request |
google.cloud.compute.v1.IListRegionNetworkEndpointGroupsRequest
ListRegionNetworkEndpointGroupsRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkEndpointGroups.ListCallback
Node-style callback called with the error, if any, and NetworkEndpointGroupList |
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListRegionNetworkEndpointGroupsRequest): Promise<google.cloud.compute.v1.NetworkEndpointGroupList>;
Calls List.
Name | Description |
request |
google.cloud.compute.v1.IListRegionNetworkEndpointGroupsRequest
ListRegionNetworkEndpointGroupsRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.NetworkEndpointGroupList> | Promise |