Show / Hide Table of Contents

Class RoutesResource

The "routes" collection of methods.

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

Constructors

RoutesResource(IClientService)

Constructs a new resource.

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

Methods

Delete(string, string)

Deletes the specified Route resource.

Declaration
public virtual RoutesResource.DeleteRequest Delete(string project, string route)
Parameters
Type Name Description
string project

Project ID for this request.

string route

Name of the Route resource to delete.

Returns
Type Description
RoutesResource.DeleteRequest

Get(string, string)

Returns the specified Route resource.

Declaration
public virtual RoutesResource.GetRequest Get(string project, string route)
Parameters
Type Name Description
string project

Project ID for this request.

string route

Name of the Route resource to return.

Returns
Type Description
RoutesResource.GetRequest

Insert(Route, string)

Creates a Route resource in the specified project using the data included in the request.

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

The body of the request.

string project

Project ID for this request.

Returns
Type Description
RoutesResource.InsertRequest

List(string)

Retrieves the list of Route resources available to the specified project.

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

Project ID for this request.

Returns
Type Description
RoutesResource.ListRequest
In this article
Back to top Generated by DocFX