Patch

Updates the specified entity type

10 variables
7 variables

Updates the specified entity type

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • View and manage your data across Google Cloud Platform services
  • View, manage and query your Dialogflow agents

Input

This building block consumes 10 input parameters

  = Parameter name
  = Format

name STRING Required

The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: projects/<Project ID>/agent/entityTypes/<Entity Type ID>

languageCode STRING

Optional. The language of entity synonyms defined in entity_type. If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used

updateMask ANY

Optional. The mask to control which fields get updated

name STRING

The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: projects/<Project ID>/agent/entityTypes/<Entity Type ID>

displayName STRING

Required. The name of the entity type

kind ENUMERATION

Required. Indicates the kind of entity type

autoExpansionMode ENUMERATION

Optional. Indicates whether the entity type can be automatically expanded

entities[] OBJECT

An entity entry for an associated entity type

entities[].value STRING

Required. The primary value associated with this entity entry. For example, if the entity type is vegetable, the value could be scallions.

For KIND_MAP entity types:

  • A canonical value to be used in place of synonyms.

For KIND_LIST entity types:

  • A string that can contain references to other entity types (with or without aliases).

entities[].synonyms[] STRING

Output

This building block provides 7 output parameters

  = Parameter name
  = Format

name STRING

The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: projects/<Project ID>/agent/entityTypes/<Entity Type ID>

displayName STRING

Required. The name of the entity type

kind ENUMERATION

Required. Indicates the kind of entity type

autoExpansionMode ENUMERATION

Optional. Indicates whether the entity type can be automatically expanded

entities[] OBJECT

An entity entry for an associated entity type

entities[].value STRING

Required. The primary value associated with this entity entry. For example, if the entity type is vegetable, the value could be scallions.

For KIND_MAP entity types:

  • A canonical value to be used in place of synonyms.

For KIND_LIST entity types:

  • A string that can contain references to other entity types (with or without aliases).

entities[].synonyms[] STRING