Class ProjectsResource.LocationsResource.PrivateConnectionsResource.RoutesResource
The "routes" collection of methods.
Inherited Members
Namespace: Google.Apis.Datastream.v1alpha1
Assembly: Google.Apis.Datastream.v1alpha1.dll
Syntax
public class ProjectsResource.LocationsResource.PrivateConnectionsResource.RoutesResource
Constructors
RoutesResource(IClientService)
Constructs a new resource.
Declaration
public RoutesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Route, string)
Use this method to create a route for a private connectivity in a project and location.
Declaration
public virtual ProjectsResource.LocationsResource.PrivateConnectionsResource.RoutesResource.CreateRequest Create(Route body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Route | body | The body of the request. |
string | parent | Required. The parent that owns the collection of Routes. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PrivateConnectionsResource.RoutesResource.CreateRequest |
Delete(string)
Use this method to delete a route.
Declaration
public virtual ProjectsResource.LocationsResource.PrivateConnectionsResource.RoutesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Route resource to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PrivateConnectionsResource.RoutesResource.DeleteRequest |
Get(string)
Use this method to get details about a route.
Declaration
public virtual ProjectsResource.LocationsResource.PrivateConnectionsResource.RoutesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Route resource to get. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PrivateConnectionsResource.RoutesResource.GetRequest |
List(string)
Use this method to list routes created for a private connectivity in a project and location.
Declaration
public virtual ProjectsResource.LocationsResource.PrivateConnectionsResource.RoutesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent that owns the collection of Routess. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PrivateConnectionsResource.RoutesResource.ListRequest |