Class ProjectsResource.AgentResource.SessionsResource.EntityTypesResource
The "entityTypes" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.AgentResource.SessionsResource.EntityTypesResource
Constructors
EntityTypesResource(IClientService)
Constructs a new resource.
Declaration
public EntityTypesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDialogflowV2SessionEntityType, string)
Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
Declaration
public virtual ProjectsResource.AgentResource.SessionsResource.EntityTypesResource.CreateRequest Create(GoogleCloudDialogflowV2SessionEntityType body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2SessionEntityType | body | The body of the request. |
string | parent | Required. The session to create a session entity type for. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.AgentResource.SessionsResource.EntityTypesResource.CreateRequest |
Delete(string)
Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
Declaration
public virtual ProjectsResource.AgentResource.SessionsResource.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.AgentResource.SessionsResource.EntityTypesResource.DeleteRequest |
Get(string)
Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
Declaration
public virtual ProjectsResource.AgentResource.SessionsResource.EntityTypesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the session entity type. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.AgentResource.SessionsResource.EntityTypesResource.GetRequest |
List(string)
Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
Declaration
public virtual ProjectsResource.AgentResource.SessionsResource.EntityTypesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The session to list all session entity types from. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.AgentResource.SessionsResource.EntityTypesResource.ListRequest |
Patch(GoogleCloudDialogflowV2SessionEntityType, string)
Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
Declaration
public virtual ProjectsResource.AgentResource.SessionsResource.EntityTypesResource.PatchRequest Patch(GoogleCloudDialogflowV2SessionEntityType body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2SessionEntityType | body | The body of the request. |
string | name | Required. The unique identifier of this session entity type. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.AgentResource.SessionsResource.EntityTypesResource.PatchRequest |