Represents a NetworkEndpointGroups
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.NetworkEndpointGroupsPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new NetworkEndpointGroups service.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
aggregatedList(request, callback)
public aggregatedList(request: google.cloud.compute.v1.IAggregatedListNetworkEndpointGroupsRequest, callback: google.cloud.compute.v1.NetworkEndpointGroups.AggregatedListCallback): void;
Calls AggregatedList.
Parameters | |
---|---|
Name | Description |
request |
IAggregatedListNetworkEndpointGroupsRequest
AggregatedListNetworkEndpointGroupsRequest message or plain object |
callback |
google.cloud.compute.v1.NetworkEndpointGroups.AggregatedListCallback
Node-style callback called with the error, if any, and NetworkEndpointGroupAggregatedList |
Returns | |
---|---|
Type | Description |
void |
aggregatedList(request)
public aggregatedList(request: google.cloud.compute.v1.IAggregatedListNetworkEndpointGroupsRequest): Promise<google.cloud.compute.v1.NetworkEndpointGroupAggregatedList>;
Calls AggregatedList.
Parameter | |
---|---|
Name | Description |
request |
IAggregatedListNetworkEndpointGroupsRequest
AggregatedListNetworkEndpointGroupsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.NetworkEndpointGroupAggregatedList> | Promise |
attachNetworkEndpoints(request, callback)
public attachNetworkEndpoints(request: google.cloud.compute.v1.IAttachNetworkEndpointsNetworkEndpointGroupRequest, callback: google.cloud.compute.v1.NetworkEndpointGroups.AttachNetworkEndpointsCallback): void;
Calls AttachNetworkEndpoints.
Parameters | |
---|---|
Name | Description |
request |
IAttachNetworkEndpointsNetworkEndpointGroupRequest
AttachNetworkEndpointsNetworkEndpointGroupRequest message or plain object |
callback |
google.cloud.compute.v1.NetworkEndpointGroups.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.IAttachNetworkEndpointsNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.Operation>;
Calls AttachNetworkEndpoints.
Parameter | |
---|---|
Name | Description |
request |
IAttachNetworkEndpointsNetworkEndpointGroupRequest
AttachNetworkEndpointsNetworkEndpointGroupRequest 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): NetworkEndpointGroups;
Creates new NetworkEndpointGroups 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 |
NetworkEndpointGroups | RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteNetworkEndpointGroupRequest, callback: google.cloud.compute.v1.NetworkEndpointGroups.DeleteCallback): void;
Calls Delete.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.compute.v1.IDeleteNetworkEndpointGroupRequest
DeleteNetworkEndpointGroupRequest message or plain object |
callback |
google.cloud.compute.v1.NetworkEndpointGroups.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.IDeleteNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Delete.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.compute.v1.IDeleteNetworkEndpointGroupRequest
DeleteNetworkEndpointGroupRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
detachNetworkEndpoints(request, callback)
public detachNetworkEndpoints(request: google.cloud.compute.v1.IDetachNetworkEndpointsNetworkEndpointGroupRequest, callback: google.cloud.compute.v1.NetworkEndpointGroups.DetachNetworkEndpointsCallback): void;
Calls DetachNetworkEndpoints.
Parameters | |
---|---|
Name | Description |
request |
IDetachNetworkEndpointsNetworkEndpointGroupRequest
DetachNetworkEndpointsNetworkEndpointGroupRequest message or plain object |
callback |
google.cloud.compute.v1.NetworkEndpointGroups.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.IDetachNetworkEndpointsNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.Operation>;
Calls DetachNetworkEndpoints.
Parameter | |
---|---|
Name | Description |
request |
IDetachNetworkEndpointsNetworkEndpointGroupRequest
DetachNetworkEndpointsNetworkEndpointGroupRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetNetworkEndpointGroupRequest, callback: google.cloud.compute.v1.NetworkEndpointGroups.GetCallback): void;
Calls Get.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.compute.v1.IGetNetworkEndpointGroupRequest
GetNetworkEndpointGroupRequest message or plain object |
callback |
google.cloud.compute.v1.NetworkEndpointGroups.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.IGetNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.NetworkEndpointGroup>;
Calls Get.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.compute.v1.IGetNetworkEndpointGroupRequest
GetNetworkEndpointGroupRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.NetworkEndpointGroup> | Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertNetworkEndpointGroupRequest, callback: google.cloud.compute.v1.NetworkEndpointGroups.InsertCallback): void;
Calls Insert.
Parameters | |
---|---|
Name | Description |
request |
IInsertNetworkEndpointGroupRequest
InsertNetworkEndpointGroupRequest message or plain object |
callback |
google.cloud.compute.v1.NetworkEndpointGroups.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.IInsertNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Insert.
Parameter | |
---|---|
Name | Description |
request |
IInsertNetworkEndpointGroupRequest
InsertNetworkEndpointGroupRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListNetworkEndpointGroupsRequest, callback: google.cloud.compute.v1.NetworkEndpointGroups.ListCallback): void;
Calls List.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.compute.v1.IListNetworkEndpointGroupsRequest
ListNetworkEndpointGroupsRequest message or plain object |
callback |
google.cloud.compute.v1.NetworkEndpointGroups.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.IListNetworkEndpointGroupsRequest): Promise<google.cloud.compute.v1.NetworkEndpointGroupList>;
Calls List.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.compute.v1.IListNetworkEndpointGroupsRequest
ListNetworkEndpointGroupsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.NetworkEndpointGroupList> | Promise |
listNetworkEndpoints(request, callback)
public listNetworkEndpoints(request: google.cloud.compute.v1.IListNetworkEndpointsNetworkEndpointGroupsRequest, callback: google.cloud.compute.v1.NetworkEndpointGroups.ListNetworkEndpointsCallback): void;
Calls ListNetworkEndpoints.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.compute.v1.IListNetworkEndpointsNetworkEndpointGroupsRequest
ListNetworkEndpointsNetworkEndpointGroupsRequest message or plain object |
callback |
google.cloud.compute.v1.NetworkEndpointGroups.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.IListNetworkEndpointsNetworkEndpointGroupsRequest): Promise<google.cloud.compute.v1.NetworkEndpointGroupsListNetworkEndpoints>;
Calls ListNetworkEndpoints.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.compute.v1.IListNetworkEndpointsNetworkEndpointGroupsRequest
ListNetworkEndpointsNetworkEndpointGroupsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.NetworkEndpointGroupsListNetworkEndpoints> | Promise |
testIamPermissions(request, callback)
public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsNetworkEndpointGroupRequest, callback: google.cloud.compute.v1.NetworkEndpointGroups.TestIamPermissionsCallback): void;
Calls TestIamPermissions.
Parameters | |
---|---|
Name | Description |
request |
ITestIamPermissionsNetworkEndpointGroupRequest
TestIamPermissionsNetworkEndpointGroupRequest message or plain object |
callback |
google.cloud.compute.v1.NetworkEndpointGroups.TestIamPermissionsCallback
Node-style callback called with the error, if any, and TestPermissionsResponse |
Returns | |
---|---|
Type | Description |
void |
testIamPermissions(request)
public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.TestPermissionsResponse>;
Calls TestIamPermissions.
Parameter | |
---|---|
Name | Description |
request |
ITestIamPermissionsNetworkEndpointGroupRequest
TestIamPermissionsNetworkEndpointGroupRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.TestPermissionsResponse> | Promise |