Class ProjectsResource.LocationsResource.TcpRoutesResource
The "tcpRoutes" collection of methods.
Inherited Members
Namespace: Google.Apis.NetworkServices.v1beta1
Assembly: Google.Apis.NetworkServices.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.TcpRoutesResource
Constructors
TcpRoutesResource(IClientService)
Constructs a new resource.
Declaration
public TcpRoutesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(TcpRoute, string)
Creates a new TcpRoute in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.TcpRoutesResource.CreateRequest Create(TcpRoute body, string parent)
Parameters
Type | Name | Description |
---|---|---|
TcpRoute | body | The body of the request. |
string | parent | Required. The parent resource of the TcpRoute. Must be in the format |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TcpRoutesResource.CreateRequest |
Delete(string)
Deletes a single TcpRoute.
Declaration
public virtual ProjectsResource.LocationsResource.TcpRoutesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. A name of the TcpRoute to delete. Must be in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TcpRoutesResource.DeleteRequest |
Get(string)
Gets details of a single TcpRoute.
Declaration
public virtual ProjectsResource.LocationsResource.TcpRoutesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. A name of the TcpRoute to get. Must be in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TcpRoutesResource.GetRequest |
List(string)
Lists TcpRoute in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.TcpRoutesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The project and location from which the TcpRoutes should be listed, specified in the
format |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TcpRoutesResource.ListRequest |
Patch(TcpRoute, string)
Updates the parameters of a single TcpRoute.
Declaration
public virtual ProjectsResource.LocationsResource.TcpRoutesResource.PatchRequest Patch(TcpRoute body, string name)
Parameters
Type | Name | Description |
---|---|---|
TcpRoute | body | The body of the request. |
string | name | Identifier. Name of the TcpRoute resource. It matches pattern
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TcpRoutesResource.PatchRequest |