Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.dialogflow/v2.getSessionEntityType
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Retrieves the specified session entity type. This method doesn’t work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
Using getSessionEntityType
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 getSessionEntityType(args: GetSessionEntityTypeArgs, opts?: InvokeOptions): Promise<GetSessionEntityTypeResult>
function getSessionEntityTypeOutput(args: GetSessionEntityTypeOutputArgs, opts?: InvokeOptions): Output<GetSessionEntityTypeResult>
def get_session_entity_type(entity_type_id: Optional[str] = None,
environment_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
session_id: Optional[str] = None,
user_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSessionEntityTypeResult
def get_session_entity_type_output(entity_type_id: Optional[pulumi.Input[str]] = None,
environment_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
session_id: Optional[pulumi.Input[str]] = None,
user_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSessionEntityTypeResult]
func LookupSessionEntityType(ctx *Context, args *LookupSessionEntityTypeArgs, opts ...InvokeOption) (*LookupSessionEntityTypeResult, error)
func LookupSessionEntityTypeOutput(ctx *Context, args *LookupSessionEntityTypeOutputArgs, opts ...InvokeOption) LookupSessionEntityTypeResultOutput
> Note: This function is named LookupSessionEntityType
in the Go SDK.
public static class GetSessionEntityType
{
public static Task<GetSessionEntityTypeResult> InvokeAsync(GetSessionEntityTypeArgs args, InvokeOptions? opts = null)
public static Output<GetSessionEntityTypeResult> Invoke(GetSessionEntityTypeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSessionEntityTypeResult> getSessionEntityType(GetSessionEntityTypeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:dialogflow/v2:getSessionEntityType
arguments:
# arguments dictionary
The following arguments are supported:
- Entity
Type stringId - Environment
Id string - Location string
- Session
Id string - User
Id string - Project string
- Entity
Type stringId - Environment
Id string - Location string
- Session
Id string - User
Id string - Project string
- entity
Type StringId - environment
Id String - location String
- session
Id String - user
Id String - project String
- entity
Type stringId - environment
Id string - location string
- session
Id string - user
Id string - project string
- entity_
type_ strid - environment_
id str - location str
- session_
id str - user_
id str - project str
- entity
Type StringId - environment
Id String - location String
- session
Id String - user
Id String - project String
getSessionEntityType Result
The following output properties are available:
- Entities
List<Pulumi.
Google Native. Dialogflow. V2. Outputs. Google Cloud Dialogflow V2Entity Type Entity Response> - The collection of entities associated with this session entity type.
- Entity
Override stringMode - Indicates whether the additional data should override or supplement the custom entity type definition.
- Name string
- The unique identifier of this session entity type. Format:
projects//agent/sessions//entityTypes/
, orprojects//agent/environments//users//sessions//entityTypes/
. IfEnvironment ID
is not specified, we assume default 'draft' environment. IfUser ID
is not specified, we assume default '-' user. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.
- Entities
[]Google
Cloud Dialogflow V2Entity Type Entity Response - The collection of entities associated with this session entity type.
- Entity
Override stringMode - Indicates whether the additional data should override or supplement the custom entity type definition.
- Name string
- The unique identifier of this session entity type. Format:
projects//agent/sessions//entityTypes/
, orprojects//agent/environments//users//sessions//entityTypes/
. IfEnvironment ID
is not specified, we assume default 'draft' environment. IfUser ID
is not specified, we assume default '-' user. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.
- entities
List<Google
Cloud Dialogflow V2Entity Type Entity Response> - The collection of entities associated with this session entity type.
- entity
Override StringMode - Indicates whether the additional data should override or supplement the custom entity type definition.
- name String
- The unique identifier of this session entity type. Format:
projects//agent/sessions//entityTypes/
, orprojects//agent/environments//users//sessions//entityTypes/
. IfEnvironment ID
is not specified, we assume default 'draft' environment. IfUser ID
is not specified, we assume default '-' user. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.
- entities
Google
Cloud Dialogflow V2Entity Type Entity Response[] - The collection of entities associated with this session entity type.
- entity
Override stringMode - Indicates whether the additional data should override or supplement the custom entity type definition.
- name string
- The unique identifier of this session entity type. Format:
projects//agent/sessions//entityTypes/
, orprojects//agent/environments//users//sessions//entityTypes/
. IfEnvironment ID
is not specified, we assume default 'draft' environment. IfUser ID
is not specified, we assume default '-' user. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.
- entities
Sequence[Google
Cloud Dialogflow V2Entity Type Entity Response] - The collection of entities associated with this session entity type.
- entity_
override_ strmode - Indicates whether the additional data should override or supplement the custom entity type definition.
- name str
- The unique identifier of this session entity type. Format:
projects//agent/sessions//entityTypes/
, orprojects//agent/environments//users//sessions//entityTypes/
. IfEnvironment ID
is not specified, we assume default 'draft' environment. IfUser ID
is not specified, we assume default '-' user. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.
- entities List<Property Map>
- The collection of entities associated with this session entity type.
- entity
Override StringMode - Indicates whether the additional data should override or supplement the custom entity type definition.
- name String
- The unique identifier of this session entity type. Format:
projects//agent/sessions//entityTypes/
, orprojects//agent/environments//users//sessions//entityTypes/
. IfEnvironment ID
is not specified, we assume default 'draft' environment. IfUser ID
is not specified, we assume default '-' user. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.
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
Google Cloud Native is in preview. Google Cloud Classic is fully supported.