Class RoutesResource
The "routes" collection of methods.
Inheritance
System.Object
RoutesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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 |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | route | Name of the Route resource to delete. |
Returns
| Type | Description |
|---|---|
| RoutesResource.DeleteRequest |
Get(String, String)
Returns the specified Route resource. Gets a list of available routes by making a list() request.
Declaration
public virtual RoutesResource.GetRequest Get(string project, string route)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.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. |
| System.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 |
|---|---|---|
| System.String | project | Project ID for this request. |
Returns
| Type | Description |
|---|---|
| RoutesResource.ListRequest |