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