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