Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource

The "entityTypes" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource
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.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource

Constructors

EntityTypesResource(IClientService)

Constructs a new resource.

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

Methods

Create(GoogleCloudDialogflowV2beta1SessionEntityType, 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.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource.CreateRequest Create(GoogleCloudDialogflowV2beta1SessionEntityType body, string parent)
Parameters
Type Name Description
GoogleCloudDialogflowV2beta1SessionEntityType body

The body of the request.

string parent

Required. The session to create a session entity type for. Supported formats: - projects//agent/sessions/, - projects//locations//agent/sessions/, - projects//agent/environments//users//sessions/, - projects//locations//agent/environments//users//sessions/, If Location IDis not specified we assume default 'us' location. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser ID` is not specified, we assume default '-' user.

Returns
Type Description
ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.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.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the entity type to delete. Supported formats: - projects//agent/sessions//entityTypes/ - projects//locations//agent/sessions//entityTypes/ - projects//agent/environments//users//sessions//entityTypes/ - projects//locations//agent/environments/ /users//sessions//entityTypes/ If Location ID is not specified we assume default 'us' location. If Environment ID is not specified, we assume default 'draft' environment. If User ID is not specified, we assume default '-' user.

Returns
Type Description
ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.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.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the session entity type. Supported formats: - projects//agent/sessions//entityTypes/ - projects//locations//agent/sessions//entityTypes/ - projects//agent/environments//users//sessions//entityTypes/ - projects//locations//agent/environments/ /users//sessions//entityTypes/ If Location ID is not specified we assume default 'us' location. If Environment ID is not specified, we assume default 'draft' environment. If User ID is not specified, we assume default '-' user.

Returns
Type Description
ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.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.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The session to list all session entity types from. Supported formats: - projects//agent/sessions/, - projects//locations//agent/sessions/, - projects//agent/environments//users//sessions/, - projects//locations//agent/environments//users//sessions/, If Location IDis not specified we assume default 'us' location. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser ID` is not specified, we assume default '-' user.

Returns
Type Description
ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource.ListRequest

Patch(GoogleCloudDialogflowV2beta1SessionEntityType, 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.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource.PatchRequest Patch(GoogleCloudDialogflowV2beta1SessionEntityType body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowV2beta1SessionEntityType body

The body of the request.

string name

Required. The unique identifier of this session entity type. Supported formats: - projects//agent/sessions//entityTypes/ - projects//locations//agent/sessions//entityTypes/ - projects//agent/environments//users//sessions//entityTypes/ - projects//locations//agent/environments/ /users//sessions//entityTypes/ If Location ID is not specified we assume default 'us' location. If Environment ID is not specified, we assume default 'draft' environment. If User ID is not specified, we assume default '-' user. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.

Returns
Type Description
ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource.PatchRequest
In this article
Back to top Generated by DocFX