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.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
attachNetworkEndpoints(request, callback)
public attachNetworkEndpoints(request: google.cloud.compute.v1.IAttachNetworkEndpointsRegionNetworkEndpointGroupRequest, callback: google.cloud.compute.v1.RegionNetworkEndpointGroups.AttachNetworkEndpointsCallback): void;
Calls AttachNetworkEndpoints.
Parameters | |
---|---|
Name | Description |
request |
IAttachNetworkEndpointsRegionNetworkEndpointGroupRequest
AttachNetworkEndpointsRegionNetworkEndpointGroupRequest message or plain object |
callback |
AttachNetworkEndpointsCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
attachNetworkEndpoints(request)
public attachNetworkEndpoints(request: google.cloud.compute.v1.IAttachNetworkEndpointsRegionNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.Operation>;
Calls AttachNetworkEndpoints.
Parameter | |
---|---|
Name | Description |
request |
IAttachNetworkEndpointsRegionNetworkEndpointGroupRequest
AttachNetworkEndpointsRegionNetworkEndpointGroupRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): RegionNetworkEndpointGroups;
Creates new RegionNetworkEndpointGroups 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 |
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.
Parameters | |
---|---|
Name | Description |
request |
IDeleteRegionNetworkEndpointGroupRequest
DeleteRegionNetworkEndpointGroupRequest 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.IDeleteRegionNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Delete.
Parameter | |
---|---|
Name | Description |
request |
IDeleteRegionNetworkEndpointGroupRequest
DeleteRegionNetworkEndpointGroupRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |
detachNetworkEndpoints(request, callback)
public detachNetworkEndpoints(request: google.cloud.compute.v1.IDetachNetworkEndpointsRegionNetworkEndpointGroupRequest, callback: google.cloud.compute.v1.RegionNetworkEndpointGroups.DetachNetworkEndpointsCallback): void;
Calls DetachNetworkEndpoints.
Parameters | |
---|---|
Name | Description |
request |
IDetachNetworkEndpointsRegionNetworkEndpointGroupRequest
DetachNetworkEndpointsRegionNetworkEndpointGroupRequest message or plain object |
callback |
DetachNetworkEndpointsCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
detachNetworkEndpoints(request)
public detachNetworkEndpoints(request: google.cloud.compute.v1.IDetachNetworkEndpointsRegionNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.Operation>;
Calls DetachNetworkEndpoints.
Parameter | |
---|---|
Name | Description |
request |
IDetachNetworkEndpointsRegionNetworkEndpointGroupRequest
DetachNetworkEndpointsRegionNetworkEndpointGroupRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IGetRegionNetworkEndpointGroupRequest
GetRegionNetworkEndpointGroupRequest message or plain object |
callback |
GetCallback
Node-style callback called with the error, if any, and NetworkEndpointGroup |
Returns | |
---|---|
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetRegionNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.NetworkEndpointGroup>;
Calls Get.
Parameter | |
---|---|
Name | Description |
request |
IGetRegionNetworkEndpointGroupRequest
GetRegionNetworkEndpointGroupRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IInsertRegionNetworkEndpointGroupRequest
InsertRegionNetworkEndpointGroupRequest 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.IInsertRegionNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Insert.
Parameter | |
---|---|
Name | Description |
request |
IInsertRegionNetworkEndpointGroupRequest
InsertRegionNetworkEndpointGroupRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IListRegionNetworkEndpointGroupsRequest
ListRegionNetworkEndpointGroupsRequest message or plain object |
callback |
ListCallback
Node-style callback called with the error, if any, and NetworkEndpointGroupList |
Returns | |
---|---|
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListRegionNetworkEndpointGroupsRequest): Promise<google.cloud.compute.v1.NetworkEndpointGroupList>;
Calls List.
Parameter | |
---|---|
Name | Description |
request |
IListRegionNetworkEndpointGroupsRequest
ListRegionNetworkEndpointGroupsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.NetworkEndpointGroupList> |
Promise |
listNetworkEndpoints(request, callback)
public listNetworkEndpoints(request: google.cloud.compute.v1.IListNetworkEndpointsRegionNetworkEndpointGroupsRequest, callback: google.cloud.compute.v1.RegionNetworkEndpointGroups.ListNetworkEndpointsCallback): void;
Calls ListNetworkEndpoints.
Parameters | |
---|---|
Name | Description |
request |
IListNetworkEndpointsRegionNetworkEndpointGroupsRequest
ListNetworkEndpointsRegionNetworkEndpointGroupsRequest message or plain object |
callback |
ListNetworkEndpointsCallback
Node-style callback called with the error, if any, and NetworkEndpointGroupsListNetworkEndpoints |
Returns | |
---|---|
Type | Description |
void |
listNetworkEndpoints(request)
public listNetworkEndpoints(request: google.cloud.compute.v1.IListNetworkEndpointsRegionNetworkEndpointGroupsRequest): Promise<google.cloud.compute.v1.NetworkEndpointGroupsListNetworkEndpoints>;
Calls ListNetworkEndpoints.
Parameter | |
---|---|
Name | Description |
request |
IListNetworkEndpointsRegionNetworkEndpointGroupsRequest
ListNetworkEndpointsRegionNetworkEndpointGroupsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.NetworkEndpointGroupsListNetworkEndpoints> |
Promise |