Show / Hide Table of Contents

Class ProjectsResource.AgentResource.EntityTypesResource

The "entityTypes" collection of methods.

Inheritance
object
ProjectsResource.AgentResource.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.AgentResource.EntityTypesResource

Constructors

EntityTypesResource(IClientService)

Constructs a new resource.

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

Properties

Entities

Gets the Entities resource.

Declaration
public virtual ProjectsResource.AgentResource.EntityTypesResource.EntitiesResource Entities { get; }
Property Value
Type Description
ProjectsResource.AgentResource.EntityTypesResource.EntitiesResource

Methods

BatchDelete(GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest, string)

Deletes entity types in the specified agent. 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 an agent prior to sending it queries. See the training documentation.

Declaration
public virtual ProjectsResource.AgentResource.EntityTypesResource.BatchDeleteRequest BatchDelete(GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest body, string parent)
Parameters
Type Name Description
GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest body

The body of the request.

string parent

Required. The name of the agent to delete all entities types for. Supported formats: - projects//agent, - projects//locations//agent.

Returns
Type Description
ProjectsResource.AgentResource.EntityTypesResource.BatchDeleteRequest

BatchUpdate(GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest, string)

Updates/Creates multiple entity types in the specified agent. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: BatchUpdateEntityTypesResponse Note: You should always train an agent prior to sending it queries. See the training documentation.

Declaration
public virtual ProjectsResource.AgentResource.EntityTypesResource.BatchUpdateRequest BatchUpdate(GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest body, string parent)
Parameters
Type Name Description
GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest body

The body of the request.

string parent

Required. The name of the agent to update or create entity types in. Supported formats: - projects//agent - projects//locations//agent

Returns
Type Description
ProjectsResource.AgentResource.EntityTypesResource.BatchUpdateRequest

Create(GoogleCloudDialogflowV2beta1EntityType, string)

Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation.

Declaration
public virtual ProjectsResource.AgentResource.EntityTypesResource.CreateRequest Create(GoogleCloudDialogflowV2beta1EntityType body, string parent)
Parameters
Type Name Description
GoogleCloudDialogflowV2beta1EntityType body

The body of the request.

string parent

Required. The agent to create a entity type for. Supported formats: - projects//agent - projects//locations//agent

Returns
Type Description
ProjectsResource.AgentResource.EntityTypesResource.CreateRequest

Delete(string)

Deletes the specified entity type. Note: You should always train an agent prior to sending it queries. See the training documentation.

Declaration
public virtual ProjectsResource.AgentResource.EntityTypesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the entity type to delete. Supported formats: - projects//agent/entityTypes/

  • projects//locations//agent/entityTypes/
Returns
Type Description
ProjectsResource.AgentResource.EntityTypesResource.DeleteRequest

Get(string)

Retrieves the specified entity type.

Declaration
public virtual ProjectsResource.AgentResource.EntityTypesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the entity type. Supported formats: - projects//agent/entityTypes/ - projects//locations//agent/entityTypes/

Returns
Type Description
ProjectsResource.AgentResource.EntityTypesResource.GetRequest

List(string)

Returns the list of all entity types in the specified agent.

Declaration
public virtual ProjectsResource.AgentResource.EntityTypesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The agent to list all entity types from. Supported formats: - projects//agent - projects//locations//agent

Returns
Type Description
ProjectsResource.AgentResource.EntityTypesResource.ListRequest

Patch(GoogleCloudDialogflowV2beta1EntityType, string)

Updates the specified entity type. Note: You should always train an agent prior to sending it queries. See the training documentation.

Declaration
public virtual ProjectsResource.AgentResource.EntityTypesResource.PatchRequest Patch(GoogleCloudDialogflowV2beta1EntityType body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowV2beta1EntityType body

The body of the request.

string name

The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Supported formats: - projects//agent/entityTypes/ - projects//locations//agent/entityTypes/

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