Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.dialogflow/v3.getEntityType
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Retrieves the specified entity type.
Using getEntityType
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEntityType(args: GetEntityTypeArgs, opts?: InvokeOptions): Promise<GetEntityTypeResult>
function getEntityTypeOutput(args: GetEntityTypeOutputArgs, opts?: InvokeOptions): Output<GetEntityTypeResult>
def get_entity_type(agent_id: Optional[str] = None,
entity_type_id: Optional[str] = None,
language_code: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEntityTypeResult
def get_entity_type_output(agent_id: Optional[pulumi.Input[str]] = None,
entity_type_id: Optional[pulumi.Input[str]] = None,
language_code: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEntityTypeResult]
func LookupEntityType(ctx *Context, args *LookupEntityTypeArgs, opts ...InvokeOption) (*LookupEntityTypeResult, error)
func LookupEntityTypeOutput(ctx *Context, args *LookupEntityTypeOutputArgs, opts ...InvokeOption) LookupEntityTypeResultOutput
> Note: This function is named LookupEntityType
in the Go SDK.
public static class GetEntityType
{
public static Task<GetEntityTypeResult> InvokeAsync(GetEntityTypeArgs args, InvokeOptions? opts = null)
public static Output<GetEntityTypeResult> Invoke(GetEntityTypeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEntityTypeResult> getEntityType(GetEntityTypeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:dialogflow/v3:getEntityType
arguments:
# arguments dictionary
The following arguments are supported:
- Agent
Id string - Entity
Type stringId - Location string
- Language
Code string - Project string
- Agent
Id string - Entity
Type stringId - Location string
- Language
Code string - Project string
- agent
Id String - entity
Type StringId - location String
- language
Code String - project String
- agent
Id string - entity
Type stringId - location string
- language
Code string - project string
- agent_
id str - entity_
type_ strid - location str
- language_
code str - project str
- agent
Id String - entity
Type StringId - location String
- language
Code String - project String
getEntityType Result
The following output properties are available:
- Auto
Expansion stringMode - Indicates whether the entity type can be automatically expanded.
- Display
Name string - The human-readable name of the entity type, unique within the agent.
- Enable
Fuzzy boolExtraction - Enables fuzzy entity extraction during classification.
- Entities
List<Pulumi.
Google Native. Dialogflow. V3. Outputs. Google Cloud Dialogflow Cx V3Entity Type Entity Response> - The collection of entity entries associated with the entity type.
- Excluded
Phrases List<Pulumi.Google Native. Dialogflow. V3. Outputs. Google Cloud Dialogflow Cx V3Entity Type Excluded Phrase Response> - Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry
giant
(an adjective), you might consider addinggiants
(a noun) as an exclusion. If the kind of entity type isKIND_MAP
, then the phrases specified by entities and excluded phrases should be mutually exclusive. - Kind string
- Indicates the kind of entity type.
- Name string
- The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format:
projects//locations//agents//entityTypes/
. - Redact bool
- Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name when logging.
- Auto
Expansion stringMode - Indicates whether the entity type can be automatically expanded.
- Display
Name string - The human-readable name of the entity type, unique within the agent.
- Enable
Fuzzy boolExtraction - Enables fuzzy entity extraction during classification.
- Entities
[]Google
Cloud Dialogflow Cx V3Entity Type Entity Response - The collection of entity entries associated with the entity type.
- Excluded
Phrases []GoogleCloud Dialogflow Cx V3Entity Type Excluded Phrase Response - Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry
giant
(an adjective), you might consider addinggiants
(a noun) as an exclusion. If the kind of entity type isKIND_MAP
, then the phrases specified by entities and excluded phrases should be mutually exclusive. - Kind string
- Indicates the kind of entity type.
- Name string
- The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format:
projects//locations//agents//entityTypes/
. - Redact bool
- Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name when logging.
- auto
Expansion StringMode - Indicates whether the entity type can be automatically expanded.
- display
Name String - The human-readable name of the entity type, unique within the agent.
- enable
Fuzzy BooleanExtraction - Enables fuzzy entity extraction during classification.
- entities
List<Google
Cloud Dialogflow Cx V3Entity Type Entity Response> - The collection of entity entries associated with the entity type.
- excluded
Phrases List<GoogleCloud Dialogflow Cx V3Entity Type Excluded Phrase Response> - Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry
giant
(an adjective), you might consider addinggiants
(a noun) as an exclusion. If the kind of entity type isKIND_MAP
, then the phrases specified by entities and excluded phrases should be mutually exclusive. - kind String
- Indicates the kind of entity type.
- name String
- The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format:
projects//locations//agents//entityTypes/
. - redact Boolean
- Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name when logging.
- auto
Expansion stringMode - Indicates whether the entity type can be automatically expanded.
- display
Name string - The human-readable name of the entity type, unique within the agent.
- enable
Fuzzy booleanExtraction - Enables fuzzy entity extraction during classification.
- entities
Google
Cloud Dialogflow Cx V3Entity Type Entity Response[] - The collection of entity entries associated with the entity type.
- excluded
Phrases GoogleCloud Dialogflow Cx V3Entity Type Excluded Phrase Response[] - Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry
giant
(an adjective), you might consider addinggiants
(a noun) as an exclusion. If the kind of entity type isKIND_MAP
, then the phrases specified by entities and excluded phrases should be mutually exclusive. - kind string
- Indicates the kind of entity type.
- name string
- The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format:
projects//locations//agents//entityTypes/
. - redact boolean
- Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name when logging.
- auto_
expansion_ strmode - Indicates whether the entity type can be automatically expanded.
- display_
name str - The human-readable name of the entity type, unique within the agent.
- enable_
fuzzy_ boolextraction - Enables fuzzy entity extraction during classification.
- entities
Sequence[Google
Cloud Dialogflow Cx V3Entity Type Entity Response] - The collection of entity entries associated with the entity type.
- excluded_
phrases Sequence[GoogleCloud Dialogflow Cx V3Entity Type Excluded Phrase Response] - Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry
giant
(an adjective), you might consider addinggiants
(a noun) as an exclusion. If the kind of entity type isKIND_MAP
, then the phrases specified by entities and excluded phrases should be mutually exclusive. - kind str
- Indicates the kind of entity type.
- name str
- The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format:
projects//locations//agents//entityTypes/
. - redact bool
- Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name when logging.
- auto
Expansion StringMode - Indicates whether the entity type can be automatically expanded.
- display
Name String - The human-readable name of the entity type, unique within the agent.
- enable
Fuzzy BooleanExtraction - Enables fuzzy entity extraction during classification.
- entities List<Property Map>
- The collection of entity entries associated with the entity type.
- excluded
Phrases List<Property Map> - Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry
giant
(an adjective), you might consider addinggiants
(a noun) as an exclusion. If the kind of entity type isKIND_MAP
, then the phrases specified by entities and excluded phrases should be mutually exclusive. - kind String
- Indicates the kind of entity type.
- name String
- The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format:
projects//locations//agents//entityTypes/
. - redact Boolean
- Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name when logging.
Supporting Types
GoogleCloudDialogflowCxV3EntityTypeEntityResponse
- Synonyms List<string>
- A collection of value synonyms. For example, if the entity type is vegetable, and
value
is scallions, a synonym could be green onions. ForKIND_LIST
entity types: * This collection must contain exactly one synonym equal tovalue
. - Value string
- 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. ForKIND_LIST
entity types: * A string that can contain references to other entity types (with or without aliases).
- Synonyms []string
- A collection of value synonyms. For example, if the entity type is vegetable, and
value
is scallions, a synonym could be green onions. ForKIND_LIST
entity types: * This collection must contain exactly one synonym equal tovalue
. - Value string
- 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. ForKIND_LIST
entity types: * A string that can contain references to other entity types (with or without aliases).
- synonyms List<String>
- A collection of value synonyms. For example, if the entity type is vegetable, and
value
is scallions, a synonym could be green onions. ForKIND_LIST
entity types: * This collection must contain exactly one synonym equal tovalue
. - value String
- 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. ForKIND_LIST
entity types: * A string that can contain references to other entity types (with or without aliases).
- synonyms string[]
- A collection of value synonyms. For example, if the entity type is vegetable, and
value
is scallions, a synonym could be green onions. ForKIND_LIST
entity types: * This collection must contain exactly one synonym equal tovalue
. - value string
- 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. ForKIND_LIST
entity types: * A string that can contain references to other entity types (with or without aliases).
- synonyms Sequence[str]
- A collection of value synonyms. For example, if the entity type is vegetable, and
value
is scallions, a synonym could be green onions. ForKIND_LIST
entity types: * This collection must contain exactly one synonym equal tovalue
. - value str
- 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. ForKIND_LIST
entity types: * A string that can contain references to other entity types (with or without aliases).
- synonyms List<String>
- A collection of value synonyms. For example, if the entity type is vegetable, and
value
is scallions, a synonym could be green onions. ForKIND_LIST
entity types: * This collection must contain exactly one synonym equal tovalue
. - value String
- 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. ForKIND_LIST
entity types: * A string that can contain references to other entity types (with or without aliases).
GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseResponse
- Value string
- The word or phrase to be excluded.
- Value string
- The word or phrase to be excluded.
- value String
- The word or phrase to be excluded.
- value string
- The word or phrase to be excluded.
- value str
- The word or phrase to be excluded.
- value String
- The word or phrase to be excluded.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi