Class RoutesResource
The "routes" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.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 |
TestIamPermissions(TestPermissionsRequest, string, string)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual RoutesResource.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 |
---|---|
RoutesResource.TestIamPermissionsRequest |