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