Class ProjectsResource.AgentResource.EntityTypesResource
The "entityTypes" collection of methods.
Inherited Members
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: -
|
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: -
|
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: - |
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: -
|
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: - |
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: - |
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: - |
Returns
Type | Description |
---|---|
ProjectsResource.AgentResource.EntityTypesResource.PatchRequest |