Class ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource
The "entityTypes" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v3
Assembly: Google.Apis.Dialogflow.v3.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(GoogleCloudDialogflowCxV3EntityType, string)
Creates an entity type in 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.EntityTypesResource.CreateRequest Create(GoogleCloudDialogflowCxV3EntityType body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3EntityType | 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(GoogleCloudDialogflowCxV3ExportEntityTypesRequest, string)
Exports the selected entity types.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.ExportRequest Export(GoogleCloudDialogflowCxV3ExportEntityTypesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3ExportEntityTypesRequest | 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(GoogleCloudDialogflowCxV3ImportEntityTypesRequest, string)
Imports the specified entitytypes into the agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.ImportRequest Import(GoogleCloudDialogflowCxV3ImportEntityTypesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3ImportEntityTypesRequest | 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(GoogleCloudDialogflowCxV3EntityType, 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(GoogleCloudDialogflowCxV3EntityType body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3EntityType | 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 |