Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AgentsResource

The "agents" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.AgentsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dialogflow.v3beta1
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource

Constructors

AgentsResource(IClientService)

Constructs a new resource.

Declaration
public AgentsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Changelogs

Gets the Changelogs resource.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ChangelogsResource Changelogs { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.AgentsResource.ChangelogsResource

EntityTypes

Gets the EntityTypes resource.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource EntityTypes { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource

Environments

Gets the Environments resource.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource Environments { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource

Flows

Gets the Flows resource.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource Flows { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource

Intents

Gets the Intents resource.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.IntentsResource Intents { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.AgentsResource.IntentsResource

Sessions

Gets the Sessions resource.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.SessionsResource Sessions { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.AgentsResource.SessionsResource

TestCases

Gets the TestCases resource.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.TestCasesResource TestCases { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.AgentsResource.TestCasesResource

TransitionRouteGroups

Gets the TransitionRouteGroups resource.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.TransitionRouteGroupsResource TransitionRouteGroups { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.AgentsResource.TransitionRouteGroupsResource

Webhooks

Gets the Webhooks resource.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.WebhooksResource Webhooks { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.AgentsResource.WebhooksResource

Methods

Create(GoogleCloudDialogflowCxV3beta1Agent, string)

Creates an agent in the specified location. Note: You should always train a flow prior to sending it queries. See the training documentation.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.CreateRequest Create(GoogleCloudDialogflowCxV3beta1Agent body, string parent)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3beta1Agent body

The body of the request.

string parent

Required. The location to create a agent for. Format: projects//locations/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.CreateRequest

Delete(string)

Deletes the specified agent.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the agent to delete. Format: projects//locations//agents/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.DeleteRequest

Export(GoogleCloudDialogflowCxV3beta1ExportAgentRequest, string)

Exports the specified agent to a binary file. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: ExportAgentResponse

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ExportRequest Export(GoogleCloudDialogflowCxV3beta1ExportAgentRequest body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3beta1ExportAgentRequest body

The body of the request.

string name

Required. The name of the agent to export. Format: projects//locations//agents/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.ExportRequest

Get(string)

Retrieves the specified agent.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the agent. Format: projects//locations//agents/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.GetRequest

GetValidationResult(string)

Gets the latest agent validation result. Agent validation is performed when ValidateAgent is called.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.GetValidationResultRequest GetValidationResult(string name)
Parameters
Type Name Description
string name

Required. The agent name. Format: projects//locations//agents//validationResult.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.GetValidationResultRequest

List(string)

Returns the list of all agents in the specified location.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The location to list all agents for. Format: projects//locations/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.ListRequest

Patch(GoogleCloudDialogflowCxV3beta1Agent, string)

Updates the specified agent. Note: You should always train a flow prior to sending it queries. See the training documentation.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.PatchRequest Patch(GoogleCloudDialogflowCxV3beta1Agent body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3beta1Agent body

The body of the request.

string name

The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: projects//locations//agents/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.PatchRequest

Restore(GoogleCloudDialogflowCxV3beta1RestoreAgentRequest, string)

Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message Note: You should always train a flow prior to sending it queries. See the training documentation.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.RestoreRequest Restore(GoogleCloudDialogflowCxV3beta1RestoreAgentRequest body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3beta1RestoreAgentRequest body

The body of the request.

string name

Required. The name of the agent to restore into. Format: projects//locations//agents/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.RestoreRequest

Validate(GoogleCloudDialogflowCxV3beta1ValidateAgentRequest, string)

Validates the specified agent and creates or updates validation results. The agent in draft version is validated. Please call this API after the training is completed to get the complete validation results.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ValidateRequest Validate(GoogleCloudDialogflowCxV3beta1ValidateAgentRequest body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3beta1ValidateAgentRequest body

The body of the request.

string name

Required. The agent to validate. Format: projects//locations//agents/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.ValidateRequest
In This Article
Back to top Generated by DocFX