Class ProjectsResource.LocationsResource.AgentsResource
The "agents" collection of methods.
Inherited Members
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 |
Conversations
Gets the Conversations resource.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ConversationsResource Conversations { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.ConversationsResource |
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 |
Generators
Gets the Generators resource.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.GeneratorsResource Generators { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.GeneratorsResource |
Intents
Gets the Intents resource.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.IntentsResource Intents { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.IntentsResource |
Playbooks
Gets the Playbooks resource.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.PlaybooksResource Playbooks { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.PlaybooksResource |
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 |
Tools
Gets the Tools resource.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ToolsResource Tools { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.ToolsResource |
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: |
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: |
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: |
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: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.GetRequest |
GetGenerativeSettings(string)
Gets the generative settings for the agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.GetGenerativeSettingsRequest GetGenerativeSettings(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.GetGenerativeSettingsRequest |
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: |
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: |
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: |
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: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.RestoreRequest |
UpdateGenerativeSettings(GoogleCloudDialogflowCxV3beta1GenerativeSettings, string)
Updates the generative settings for the agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.UpdateGenerativeSettingsRequest UpdateGenerativeSettings(GoogleCloudDialogflowCxV3beta1GenerativeSettings body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1GenerativeSettings | body | The body of the request. |
string | name | Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.UpdateGenerativeSettingsRequest |
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: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.ValidateRequest |