Class ProjectsResource.AgentResource.EntityTypesResource.EntitiesResource
The "entities" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.AgentResource.EntityTypesResource.EntitiesResource
Constructors
EntitiesResource(IClientService)
Constructs a new resource.
Declaration
public EntitiesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
BatchCreate(GoogleCloudDialogflowV2BatchCreateEntitiesRequest, string)
Creates multiple new entities in the specified entity type. 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.EntitiesResource.BatchCreateRequest BatchCreate(GoogleCloudDialogflowV2BatchCreateEntitiesRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDialogflowV2BatchCreateEntitiesRequest | body | The body of the request. |
| string | parent | Required. The name of the entity type to create entities in. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.AgentResource.EntityTypesResource.EntitiesResource.BatchCreateRequest |
BatchDelete(GoogleCloudDialogflowV2BatchDeleteEntitiesRequest, string)
Deletes entities in the specified entity type. 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.EntitiesResource.BatchDeleteRequest BatchDelete(GoogleCloudDialogflowV2BatchDeleteEntitiesRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDialogflowV2BatchDeleteEntitiesRequest | body | The body of the request. |
| string | parent | Required. The name of the entity type to delete entries for. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.AgentResource.EntityTypesResource.EntitiesResource.BatchDeleteRequest |
BatchUpdate(GoogleCloudDialogflowV2BatchUpdateEntitiesRequest, string)
Updates or creates multiple entities in the specified entity type. This method does not affect
entities in the entity type that aren't explicitly specified in the request. 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.EntitiesResource.BatchUpdateRequest BatchUpdate(GoogleCloudDialogflowV2BatchUpdateEntitiesRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDialogflowV2BatchUpdateEntitiesRequest | body | The body of the request. |
| string | parent | Required. The name of the entity type to update or create entities in. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.AgentResource.EntityTypesResource.EntitiesResource.BatchUpdateRequest |