Show / Hide Table of Contents

Class RoutersResource

The "routers" collection of methods.

Inheritance
object
RoutersResource
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.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class RoutersResource

Constructors

RoutersResource(IClientService)

Constructs a new resource.

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

Methods

AggregatedList(string)

Retrieves an aggregated list of routers.

Declaration
public virtual RoutersResource.AggregatedListRequest AggregatedList(string project)
Parameters
Type Name Description
string project

Project ID for this request.

Returns
Type Description
RoutersResource.AggregatedListRequest

Delete(string, string, string)

Deletes the specified Router resource.

Declaration
public virtual RoutersResource.DeleteRequest Delete(string project, string region, string router)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region for this request.

string router

Name of the Router resource to delete.

Returns
Type Description
RoutersResource.DeleteRequest

Get(string, string, string)

Returns the specified Router resource.

Declaration
public virtual RoutersResource.GetRequest Get(string project, string region, string router)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region for this request.

string router

Name of the Router resource to return.

Returns
Type Description
RoutersResource.GetRequest

GetNatIpInfo(string, string, string)

Retrieves runtime NAT IP information.

Declaration
public virtual RoutersResource.GetNatIpInfoRequest GetNatIpInfo(string project, string region, string router)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region for this request.

string router

Name of the Router resource to query for Nat IP information. The name should conform to RFC1035.

Returns
Type Description
RoutersResource.GetNatIpInfoRequest

GetNatMappingInfo(string, string, string)

Retrieves runtime Nat mapping information of VM endpoints.

Declaration
public virtual RoutersResource.GetNatMappingInfoRequest GetNatMappingInfo(string project, string region, string router)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region for this request.

string router

Name of the Router resource to query for Nat Mapping information of VM endpoints.

Returns
Type Description
RoutersResource.GetNatMappingInfoRequest

GetRouterStatus(string, string, string)

Retrieves runtime information of the specified router.

Declaration
public virtual RoutersResource.GetRouterStatusRequest GetRouterStatus(string project, string region, string router)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region for this request.

string router

Name of the Router resource to query.

Returns
Type Description
RoutersResource.GetRouterStatusRequest

Insert(Router, string, string)

Creates a Router resource in the specified project and region using the data included in the request.

Declaration
public virtual RoutersResource.InsertRequest Insert(Router body, string project, string region)
Parameters
Type Name Description
Router body

The body of the request.

string project

Project ID for this request.

string region

Name of the region for this request.

Returns
Type Description
RoutersResource.InsertRequest

List(string, string)

Retrieves a list of Router resources available to the specified project.

Declaration
public virtual RoutersResource.ListRequest List(string project, string region)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region for this request.

Returns
Type Description
RoutersResource.ListRequest

Patch(Router, string, string, string)

Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Declaration
public virtual RoutersResource.PatchRequest Patch(Router body, string project, string region, string router)
Parameters
Type Name Description
Router body

The body of the request.

string project

Project ID for this request.

string region

Name of the region for this request.

string router

Name of the Router resource to patch.

Returns
Type Description
RoutersResource.PatchRequest

Preview(Router, string, string, string)

Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.

Declaration
public virtual RoutersResource.PreviewRequest Preview(Router body, string project, string region, string router)
Parameters
Type Name Description
Router body

The body of the request.

string project

Project ID for this request.

string region

Name of the region for this request.

string router

Name of the Router resource to query.

Returns
Type Description
RoutersResource.PreviewRequest

TestIamPermissions(TestPermissionsRequest, string, string, string)

Returns permissions that a caller has on the specified resource.

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

The body of the request.

string project

Project ID for this request.

string region

The name of the region for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
RoutersResource.TestIamPermissionsRequest

Update(Router, string, string, string)

Updates the specified Router resource with the data included in the request. This method conforms to PUT semantics, which requests that the state of the target resource be created or replaced with the state defined by the representation enclosed in the request message payload.

Declaration
public virtual RoutersResource.UpdateRequest Update(Router body, string project, string region, string router)
Parameters
Type Name Description
Router body

The body of the request.

string project

Project ID for this request.

string region

Name of the region for this request.

string router

Name of the Router resource to update.

Returns
Type Description
RoutersResource.UpdateRequest
In This Article
Back to top Generated by DocFX