google-native.dialogflow/v2.getEntityType
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(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(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/v2:getEntityType
arguments:
# arguments dictionary
The following arguments are supported:
- Entity
Type stringId - Location string
- Language
Code string - Project string
- Entity
Type stringId - Location string
- Language
Code string - Project string
- entity
Type StringId - location String
- language
Code String - project String
- entity
Type stringId - location string
- language
Code string - project string
- entity_
type_ strid - location str
- language_
code str - project str
- entity
Type StringId - location String
- language
Code String - project String
getEntityType Result
The following output properties are available:
- Auto
Expansion stringMode Optional. Indicates whether the entity type can be automatically expanded.
- Display
Name string The name of the entity type.
- Enable
Fuzzy boolExtraction Optional. Enables fuzzy entity extraction during classification.
- Entities
List<Pulumi.
Google Native. Dialogflow. V2. Outputs. Google Cloud Dialogflow V2Entity Type Entity Response> Optional. The collection of entity entries associated with the entity type.
- Kind string
Indicates the kind of entity type.
- Name string
The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format:
projects//agent/entityTypes/
.
- Auto
Expansion stringMode Optional. Indicates whether the entity type can be automatically expanded.
- Display
Name string The name of the entity type.
- Enable
Fuzzy boolExtraction Optional. Enables fuzzy entity extraction during classification.
- Entities
[]Google
Cloud Dialogflow V2Entity Type Entity Response Optional. The collection of entity entries associated with the entity type.
- Kind string
Indicates the kind of entity type.
- Name string
The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format:
projects//agent/entityTypes/
.
- auto
Expansion StringMode Optional. Indicates whether the entity type can be automatically expanded.
- display
Name String The name of the entity type.
- enable
Fuzzy BooleanExtraction Optional. Enables fuzzy entity extraction during classification.
- entities
List<Google
Cloud Dialogflow V2Entity Type Entity Response> Optional. The collection of entity entries associated with the entity type.
- kind String
Indicates the kind of entity type.
- name String
The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format:
projects//agent/entityTypes/
.
- auto
Expansion stringMode Optional. Indicates whether the entity type can be automatically expanded.
- display
Name string The name of the entity type.
- enable
Fuzzy booleanExtraction Optional. Enables fuzzy entity extraction during classification.
- entities
Google
Cloud Dialogflow V2Entity Type Entity Response[] Optional. The collection of entity entries associated with the entity type.
- kind string
Indicates the kind of entity type.
- name string
The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format:
projects//agent/entityTypes/
.
- auto_
expansion_ strmode Optional. Indicates whether the entity type can be automatically expanded.
- display_
name str The name of the entity type.
- enable_
fuzzy_ boolextraction Optional. Enables fuzzy entity extraction during classification.
- entities
Sequence[Google
Cloud Dialogflow V2Entity Type Entity Response] Optional. The collection of entity entries associated with the entity type.
- kind str
Indicates the kind of entity type.
- name str
The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format:
projects//agent/entityTypes/
.
- auto
Expansion StringMode Optional. Indicates whether the entity type can be automatically expanded.
- display
Name String The name of the entity type.
- enable
Fuzzy BooleanExtraction Optional. Enables fuzzy entity extraction during classification.
- entities List<Property Map>
Optional. The collection of entity entries associated with the entity type.
- kind String
Indicates the kind of entity type.
- name String
The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format:
projects//agent/entityTypes/
.
Supporting Types
GoogleCloudDialogflowV2EntityTypeEntityResponse
- 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 reference 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 reference 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 reference 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 reference 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 reference 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 reference 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).
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0