Represents a TargetVpnGateways
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.TargetVpnGatewaysPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new TargetVpnGateways service.
| 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.IAggregatedListTargetVpnGatewaysRequest, callback: google.cloud.compute.v1.TargetVpnGateways.AggregatedListCallback): void;Calls AggregatedList.
| Name | Description |
| request |
IAggregatedListTargetVpnGatewaysRequest
AggregatedListTargetVpnGatewaysRequest message or plain object |
| callback |
google.cloud.compute.v1.TargetVpnGateways.AggregatedListCallback
Node-style callback called with the error, if any, and TargetVpnGatewayAggregatedList |
| Type | Description |
| void |
aggregatedList(request)
public aggregatedList(request: google.cloud.compute.v1.IAggregatedListTargetVpnGatewaysRequest): Promise<google.cloud.compute.v1.TargetVpnGatewayAggregatedList>;Calls AggregatedList.
| Name | Description |
| request |
IAggregatedListTargetVpnGatewaysRequest
AggregatedListTargetVpnGatewaysRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.TargetVpnGatewayAggregatedList> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): TargetVpnGateways;Creates new TargetVpnGateways 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 |
| TargetVpnGateways | RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteTargetVpnGatewayRequest, callback: google.cloud.compute.v1.TargetVpnGateways.DeleteCallback): void;Calls Delete.
| Name | Description |
| request |
IDeleteTargetVpnGatewayRequest
DeleteTargetVpnGatewayRequest message or plain object |
| callback |
google.cloud.compute.v1.TargetVpnGateways.DeleteCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteTargetVpnGatewayRequest): Promise<google.cloud.compute.v1.Operation>;Calls Delete.
| Name | Description |
| request |
IDeleteTargetVpnGatewayRequest
DeleteTargetVpnGatewayRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetTargetVpnGatewayRequest, callback: google.cloud.compute.v1.TargetVpnGateways.GetCallback): void;Calls Get.
| Name | Description |
| request |
IGetTargetVpnGatewayRequest
GetTargetVpnGatewayRequest message or plain object |
| callback |
google.cloud.compute.v1.TargetVpnGateways.GetCallback
Node-style callback called with the error, if any, and TargetVpnGateway |
| Type | Description |
| void |
get(request)
public get(request: google.cloud.compute.v1.IGetTargetVpnGatewayRequest): Promise<google.cloud.compute.v1.TargetVpnGateway>;Calls Get.
| Name | Description |
| request |
IGetTargetVpnGatewayRequest
GetTargetVpnGatewayRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.TargetVpnGateway> | Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertTargetVpnGatewayRequest, callback: google.cloud.compute.v1.TargetVpnGateways.InsertCallback): void;Calls Insert.
| Name | Description |
| request |
IInsertTargetVpnGatewayRequest
InsertTargetVpnGatewayRequest message or plain object |
| callback |
google.cloud.compute.v1.TargetVpnGateways.InsertCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertTargetVpnGatewayRequest): Promise<google.cloud.compute.v1.Operation>;Calls Insert.
| Name | Description |
| request |
IInsertTargetVpnGatewayRequest
InsertTargetVpnGatewayRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListTargetVpnGatewaysRequest, callback: google.cloud.compute.v1.TargetVpnGateways.ListCallback): void;Calls List.
| Name | Description |
| request |
IListTargetVpnGatewaysRequest
ListTargetVpnGatewaysRequest message or plain object |
| callback |
google.cloud.compute.v1.TargetVpnGateways.ListCallback
Node-style callback called with the error, if any, and TargetVpnGatewayList |
| Type | Description |
| void |
list(request)
public list(request: google.cloud.compute.v1.IListTargetVpnGatewaysRequest): Promise<google.cloud.compute.v1.TargetVpnGatewayList>;Calls List.
| Name | Description |
| request |
IListTargetVpnGatewaysRequest
ListTargetVpnGatewaysRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.TargetVpnGatewayList> | Promise |
setLabels(request, callback)
public setLabels(request: google.cloud.compute.v1.ISetLabelsTargetVpnGatewayRequest, callback: google.cloud.compute.v1.TargetVpnGateways.SetLabelsCallback): void;Calls SetLabels.
| Name | Description |
| request |
ISetLabelsTargetVpnGatewayRequest
SetLabelsTargetVpnGatewayRequest message or plain object |
| callback |
google.cloud.compute.v1.TargetVpnGateways.SetLabelsCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
setLabels(request)
public setLabels(request: google.cloud.compute.v1.ISetLabelsTargetVpnGatewayRequest): Promise<google.cloud.compute.v1.Operation>;Calls SetLabels.
| Name | Description |
| request |
ISetLabelsTargetVpnGatewayRequest
SetLabelsTargetVpnGatewayRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |