Class ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource
The "entityTypes" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v3beta1
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource
Constructors
EntityTypesResource(IClientService)
Constructs a new resource.
Declaration
public EntityTypesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDialogflowCxV3beta1EntityType, string)
Creates an entity type in the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.CreateRequest Create(GoogleCloudDialogflowCxV3beta1EntityType body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1EntityType | body | The body of the request. |
string | parent | Required. The agent to create a entity type for. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.CreateRequest |
Delete(string)
Deletes the specified entity type. Note: You should always train a flow prior to sending it queries. See the training documentation.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the entity type to delete. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.DeleteRequest |
Export(GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest, string)
Exports the selected entity types.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.ExportRequest Export(GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest | body | The body of the request. |
string | parent | Required. The name of the parent agent to export entity types. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.ExportRequest |
Get(string)
Retrieves the specified entity type.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the entity type. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.GetRequest |
Import(GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest, string)
Imports the specified entitytypes into the agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.ImportRequest Import(GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest | body | The body of the request. |
string | parent | Required. The agent to import the entity types into. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.ImportRequest |
List(string)
Returns the list of all entity types in the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The agent to list all entity types for. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.ListRequest |
Patch(GoogleCloudDialogflowCxV3beta1EntityType, string)
Updates the specified entity type. Note: You should always train a flow prior to sending it queries. See the training documentation.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.PatchRequest Patch(GoogleCloudDialogflowCxV3beta1EntityType body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1EntityType | body | The body of the request. |
string | name | The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.PatchRequest |