Class ProjectsResource.LocationsResource.AgentResource.EntityTypesResource
The "entityTypes" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.LocationsResource.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.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. 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.LocationsResource.AgentResource.EntityTypesResource.BatchDeleteRequest BatchDelete(GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest | body | The body of the request. |
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. 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.LocationsResource.AgentResource.EntityTypesResource.BatchUpdateRequest BatchUpdate(GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest | body | The body of the request. |
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. Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.CreateRequest Create(GoogleCloudDialogflowV2EntityType body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2EntityType | body | The body of the request. |
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. Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
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 |
---|---|---|
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 |
---|---|---|
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. Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.PatchRequest Patch(GoogleCloudDialogflowV2EntityType body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2EntityType | body | The body of the request. |
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 |