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/v3beta1.getSessionEntityType
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 session entity type.
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(agent_id: Optional[str] = None,
entity_type_id: Optional[str] = None,
environment_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
session_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSessionEntityTypeResult
def get_session_entity_type_output(agent_id: Optional[pulumi.Input[str]] = None,
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,
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/v3beta1:getSessionEntityType
arguments:
# arguments dictionary
The following arguments are supported:
- Agent
Id string - Entity
Type stringId - Environment
Id string - Location string
- Session
Id string - Project string
- Agent
Id string - Entity
Type stringId - Environment
Id string - Location string
- Session
Id string - Project string
- agent
Id String - entity
Type StringId - environment
Id String - location String
- session
Id String - project String
- agent
Id string - entity
Type stringId - environment
Id string - location string
- session
Id string - project string
- agent_
id str - entity_
type_ strid - environment_
id str - location str
- session_
id str - project str
- agent
Id String - entity
Type StringId - environment
Id String - location String
- session
Id String - project String
getSessionEntityType Result
The following output properties are available:
- Entities
List<Pulumi.
Google Native. Dialogflow. V3Beta1. Outputs. Google Cloud Dialogflow Cx V3beta1Entity Type Entity Response> - The collection of entities to override or supplement the custom 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 the session entity type. Format:
projects//locations//agents//sessions//entityTypes/
orprojects//locations//agents//environments//sessions//entityTypes/
. IfEnvironment ID
is not specified, we assume default 'draft' environment.
- Entities
[]Google
Cloud Dialogflow Cx V3beta1Entity Type Entity Response - The collection of entities to override or supplement the custom 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 the session entity type. Format:
projects//locations//agents//sessions//entityTypes/
orprojects//locations//agents//environments//sessions//entityTypes/
. IfEnvironment ID
is not specified, we assume default 'draft' environment.
- entities
List<Google
Cloud Dialogflow Cx V3beta1Entity Type Entity Response> - The collection of entities to override or supplement the custom 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 the session entity type. Format:
projects//locations//agents//sessions//entityTypes/
orprojects//locations//agents//environments//sessions//entityTypes/
. IfEnvironment ID
is not specified, we assume default 'draft' environment.
- entities
Google
Cloud Dialogflow Cx V3beta1Entity Type Entity Response[] - The collection of entities to override or supplement the custom 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 the session entity type. Format:
projects//locations//agents//sessions//entityTypes/
orprojects//locations//agents//environments//sessions//entityTypes/
. IfEnvironment ID
is not specified, we assume default 'draft' environment.
- entities
Sequence[Google
Cloud Dialogflow Cx V3beta1Entity Type Entity Response] - The collection of entities to override or supplement the custom 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 the session entity type. Format:
projects//locations//agents//sessions//entityTypes/
orprojects//locations//agents//environments//sessions//entityTypes/
. IfEnvironment ID
is not specified, we assume default 'draft' environment.
- entities List<Property Map>
- The collection of entities to override or supplement the custom 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 the session entity type. Format:
projects//locations//agents//sessions//entityTypes/
orprojects//locations//agents//environments//sessions//entityTypes/
. IfEnvironment ID
is not specified, we assume default 'draft' environment.
Supporting Types
GoogleCloudDialogflowCxV3beta1EntityTypeEntityResponse
- 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).
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