Show / Hide Table of Contents

Class ExternalVpnGatewaysResource

The "externalVpnGateways" collection of methods.

Inheritance
object
ExternalVpnGatewaysResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class ExternalVpnGatewaysResource

Constructors

ExternalVpnGatewaysResource(IClientService)

Constructs a new resource.

Declaration
public ExternalVpnGatewaysResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Delete(string, string)

Deletes the specified externalVpnGateway.

Declaration
public virtual ExternalVpnGatewaysResource.DeleteRequest Delete(string project, string externalVpnGateway)
Parameters
Type Name Description
string project

Project ID for this request.

string externalVpnGateway

Name of the externalVpnGateways to delete.

Returns
Type Description
ExternalVpnGatewaysResource.DeleteRequest

Get(string, string)

Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a list() request.

Declaration
public virtual ExternalVpnGatewaysResource.GetRequest Get(string project, string externalVpnGateway)
Parameters
Type Name Description
string project

Project ID for this request.

string externalVpnGateway

Name of the externalVpnGateway to return.

Returns
Type Description
ExternalVpnGatewaysResource.GetRequest

Insert(ExternalVpnGateway, string)

Creates a ExternalVpnGateway in the specified project using the data included in the request.

Declaration
public virtual ExternalVpnGatewaysResource.InsertRequest Insert(ExternalVpnGateway body, string project)
Parameters
Type Name Description
ExternalVpnGateway body

The body of the request.

string project

Project ID for this request.

Returns
Type Description
ExternalVpnGatewaysResource.InsertRequest

List(string)

Retrieves the list of ExternalVpnGateway available to the specified project.

Declaration
public virtual ExternalVpnGatewaysResource.ListRequest List(string project)
Parameters
Type Name Description
string project

Project ID for this request.

Returns
Type Description
ExternalVpnGatewaysResource.ListRequest

SetLabels(GlobalSetLabelsRequest, string, string)

Sets the labels on an ExternalVpnGateway. To learn more about labels, read the Labeling Resources documentation.

Declaration
public virtual ExternalVpnGatewaysResource.SetLabelsRequest SetLabels(GlobalSetLabelsRequest body, string project, string resource)
Parameters
Type Name Description
GlobalSetLabelsRequest body

The body of the request.

string project

Project ID for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
ExternalVpnGatewaysResource.SetLabelsRequest

TestIamPermissions(TestPermissionsRequest, string, string)

Returns permissions that a caller has on the specified resource.

Declaration
public virtual ExternalVpnGatewaysResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string resource)
Parameters
Type Name Description
TestPermissionsRequest body

The body of the request.

string project

Project ID for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
ExternalVpnGatewaysResource.TestIamPermissionsRequest
In This Article
Back to top Generated by DocFX