Class ProjectsResource.LocationsResource.AppsResource.AgentsResource
The "agents" collection of methods.
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1beta
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.AppsResource.AgentsResource
Constructors
AgentsResource(IClientService)
Constructs a new resource.
Declaration
public AgentsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(Agent, string)
Creates a new agent in the given app.
Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.AgentsResource.CreateRequest Create(Agent body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| Agent | body | The body of the request. |
| string | parent | Required. The resource name of the app to create an agent in. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AppsResource.AgentsResource.CreateRequest |
Delete(string)
Deletes the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.AgentsResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the agent to delete. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AppsResource.AgentsResource.DeleteRequest |
Get(string)
Gets details of the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.AgentsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the agent to retrieve. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AppsResource.AgentsResource.GetRequest |
List(string)
Lists agents in the given app.
Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.AgentsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The resource name of the app to list agents from. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AppsResource.AgentsResource.ListRequest |
Patch(Agent, string)
Updates the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.AgentsResource.PatchRequest Patch(Agent body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| Agent | body | The body of the request. |
| string | name | Identifier. The unique identifier of the agent. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AppsResource.AgentsResource.PatchRequest |