Represents an ExternalVpnGateways
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.ExternalVpnGatewaysPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new ExternalVpnGateways 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): ExternalVpnGateways;Creates new ExternalVpnGateways 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 |
| ExternalVpnGateways | RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteExternalVpnGatewayRequest, callback: google.cloud.compute.v1.ExternalVpnGateways.DeleteCallback): void;Calls Delete.
| Name | Description |
| request |
google.cloud.compute.v1.IDeleteExternalVpnGatewayRequest
DeleteExternalVpnGatewayRequest message or plain object |
| callback |
google.cloud.compute.v1.ExternalVpnGateways.DeleteCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteExternalVpnGatewayRequest): Promise<google.cloud.compute.v1.Operation>;Calls Delete.
| Name | Description |
| request |
google.cloud.compute.v1.IDeleteExternalVpnGatewayRequest
DeleteExternalVpnGatewayRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetExternalVpnGatewayRequest, callback: google.cloud.compute.v1.ExternalVpnGateways.GetCallback): void;Calls Get.
| Name | Description |
| request |
IGetExternalVpnGatewayRequest
GetExternalVpnGatewayRequest message or plain object |
| callback |
google.cloud.compute.v1.ExternalVpnGateways.GetCallback
Node-style callback called with the error, if any, and ExternalVpnGateway |
| Type | Description |
| void |
get(request)
public get(request: google.cloud.compute.v1.IGetExternalVpnGatewayRequest): Promise<google.cloud.compute.v1.ExternalVpnGateway>;Calls Get.
| Name | Description |
| request |
IGetExternalVpnGatewayRequest
GetExternalVpnGatewayRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.ExternalVpnGateway> | Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertExternalVpnGatewayRequest, callback: google.cloud.compute.v1.ExternalVpnGateways.InsertCallback): void;Calls Insert.
| Name | Description |
| request |
google.cloud.compute.v1.IInsertExternalVpnGatewayRequest
InsertExternalVpnGatewayRequest message or plain object |
| callback |
google.cloud.compute.v1.ExternalVpnGateways.InsertCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertExternalVpnGatewayRequest): Promise<google.cloud.compute.v1.Operation>;Calls Insert.
| Name | Description |
| request |
google.cloud.compute.v1.IInsertExternalVpnGatewayRequest
InsertExternalVpnGatewayRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListExternalVpnGatewaysRequest, callback: google.cloud.compute.v1.ExternalVpnGateways.ListCallback): void;Calls List.
| Name | Description |
| request |
IListExternalVpnGatewaysRequest
ListExternalVpnGatewaysRequest message or plain object |
| callback |
google.cloud.compute.v1.ExternalVpnGateways.ListCallback
Node-style callback called with the error, if any, and ExternalVpnGatewayList |
| Type | Description |
| void |
list(request)
public list(request: google.cloud.compute.v1.IListExternalVpnGatewaysRequest): Promise<google.cloud.compute.v1.ExternalVpnGatewayList>;Calls List.
| Name | Description |
| request |
IListExternalVpnGatewaysRequest
ListExternalVpnGatewaysRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.ExternalVpnGatewayList> | Promise |
setLabels(request, callback)
public setLabels(request: google.cloud.compute.v1.ISetLabelsExternalVpnGatewayRequest, callback: google.cloud.compute.v1.ExternalVpnGateways.SetLabelsCallback): void;Calls SetLabels.
| Name | Description |
| request |
google.cloud.compute.v1.ISetLabelsExternalVpnGatewayRequest
SetLabelsExternalVpnGatewayRequest message or plain object |
| callback |
google.cloud.compute.v1.ExternalVpnGateways.SetLabelsCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
setLabels(request)
public setLabels(request: google.cloud.compute.v1.ISetLabelsExternalVpnGatewayRequest): Promise<google.cloud.compute.v1.Operation>;Calls SetLabels.
| Name | Description |
| request |
google.cloud.compute.v1.ISetLabelsExternalVpnGatewayRequest
SetLabelsExternalVpnGatewayRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
testIamPermissions(request, callback)
public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsExternalVpnGatewayRequest, callback: google.cloud.compute.v1.ExternalVpnGateways.TestIamPermissionsCallback): void;Calls TestIamPermissions.
| Name | Description |
| request |
google.cloud.compute.v1.ITestIamPermissionsExternalVpnGatewayRequest
TestIamPermissionsExternalVpnGatewayRequest message or plain object |
| callback |
google.cloud.compute.v1.ExternalVpnGateways.TestIamPermissionsCallback
Node-style callback called with the error, if any, and TestPermissionsResponse |
| Type | Description |
| void |
testIamPermissions(request)
public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsExternalVpnGatewayRequest): Promise<google.cloud.compute.v1.TestPermissionsResponse>;Calls TestIamPermissions.
| Name | Description |
| request |
google.cloud.compute.v1.ITestIamPermissionsExternalVpnGatewayRequest
TestIamPermissionsExternalVpnGatewayRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.TestPermissionsResponse> | Promise |