Class ProjectsResource.LocationsResource.AgentResource.EntityTypesResource
The "entityTypes" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class 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.LocationsResource.AgentResource.EntityTypesResource.EntitiesResource Entities { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.EntitiesResource |
Methods
BatchDelete(GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest, String)
Deletes entity types in the specified agent. Operation
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.BatchDeleteRequest BatchDelete(GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest | body | The body of the request. |
| System.String | parent | Required. The name of the agent to delete all entities types for. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.BatchDeleteRequest |
BatchUpdate(GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest, String)
Updates/Creates multiple entity types in the specified agent. Operation
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.BatchUpdateRequest BatchUpdate(GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest | body | The body of the request. |
| System.String | parent | Required. The name of the agent to update or create entity types in. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.BatchUpdateRequest |
Create(GoogleCloudDialogflowV2EntityType, String)
Creates an entity type in the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.CreateRequest Create(GoogleCloudDialogflowV2EntityType body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDialogflowV2EntityType | body | The body of the request. |
| System.String | parent | Required. The agent to create a entity type for. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.CreateRequest |
Delete(String)
Deletes the specified entity type.
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Required. The name of the entity type to delete. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.DeleteRequest |
Get(String)
Retrieves the specified entity type.
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Required. The name of the entity type. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.GetRequest |
List(String)
Returns the list of all entity types in the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | parent | Required. The agent to list all entity types from. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.ListRequest |
Patch(GoogleCloudDialogflowV2EntityType, String)
Updates the specified entity type.
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.PatchRequest Patch(GoogleCloudDialogflowV2EntityType body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDialogflowV2EntityType | body | The body of the request. |
| System.String | name | The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and
EntityTypes.BatchUpdateEntityTypes methods. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.PatchRequest |