Class TargetVpnGatewaysResource
The "targetVpnGateways" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class TargetVpnGatewaysResource
Constructors
TargetVpnGatewaysResource(IClientService)
Constructs a new resource.
Declaration
public TargetVpnGatewaysResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
AggregatedList(String)
Retrieves an aggregated list of target VPN gateways.
Declaration
public virtual TargetVpnGatewaysResource.AggregatedListRequest AggregatedList(string project)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
Returns
| Type | Description |
|---|---|
| TargetVpnGatewaysResource.AggregatedListRequest |
Delete(String, String, String)
Deletes the specified target VPN gateway.
Declaration
public virtual TargetVpnGatewaysResource.DeleteRequest Delete(string project, string region, string targetVpnGateway)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | region | Name of the region for this request. |
| System.String | targetVpnGateway | Name of the target VPN gateway to delete. |
Returns
| Type | Description |
|---|---|
| TargetVpnGatewaysResource.DeleteRequest |
Get(String, String, String)
Returns the specified target VPN gateway. Gets a list of available target VPN gateways by making a list() request.
Declaration
public virtual TargetVpnGatewaysResource.GetRequest Get(string project, string region, string targetVpnGateway)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | region | Name of the region for this request. |
| System.String | targetVpnGateway | Name of the target VPN gateway to return. |
Returns
| Type | Description |
|---|---|
| TargetVpnGatewaysResource.GetRequest |
Insert(TargetVpnGateway, String, String)
Creates a target VPN gateway in the specified project and region using the data included in the request.
Declaration
public virtual TargetVpnGatewaysResource.InsertRequest Insert(TargetVpnGateway body, string project, string region)
Parameters
| Type | Name | Description |
|---|---|---|
| TargetVpnGateway | body | The body of the request. |
| System.String | project | Project ID for this request. |
| System.String | region | Name of the region for this request. |
Returns
| Type | Description |
|---|---|
| TargetVpnGatewaysResource.InsertRequest |
List(String, String)
Retrieves a list of target VPN gateways available to the specified project and region.
Declaration
public virtual TargetVpnGatewaysResource.ListRequest List(string project, string region)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | region | Name of the region for this request. |
Returns
| Type | Description |
|---|---|
| TargetVpnGatewaysResource.ListRequest |