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/v2.getConversation
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 specific conversation.
Using getConversation
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 getConversation(args: GetConversationArgs, opts?: InvokeOptions): Promise<GetConversationResult>
function getConversationOutput(args: GetConversationOutputArgs, opts?: InvokeOptions): Output<GetConversationResult>
def get_conversation(conversation_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConversationResult
def get_conversation_output(conversation_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConversationResult]
func LookupConversation(ctx *Context, args *LookupConversationArgs, opts ...InvokeOption) (*LookupConversationResult, error)
func LookupConversationOutput(ctx *Context, args *LookupConversationOutputArgs, opts ...InvokeOption) LookupConversationResultOutput
> Note: This function is named LookupConversation
in the Go SDK.
public static class GetConversation
{
public static Task<GetConversationResult> InvokeAsync(GetConversationArgs args, InvokeOptions? opts = null)
public static Output<GetConversationResult> Invoke(GetConversationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConversationResult> getConversation(GetConversationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:dialogflow/v2:getConversation
arguments:
# arguments dictionary
The following arguments are supported:
- Conversation
Id string - Location string
- Project string
- Conversation
Id string - Location string
- Project string
- conversation
Id String - location String
- project String
- conversation
Id string - location string
- project string
- conversation_
id str - location str
- project str
- conversation
Id String - location String
- project String
getConversation Result
The following output properties are available:
- Conversation
Profile string - The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format:
projects//locations//conversationProfiles/
. - Conversation
Stage string - The stage of a conversation. It indicates whether the virtual agent or a human agent is handling the conversation. If the conversation is created with the conversation profile that has Dialogflow config set, defaults to ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to ConversationStage.HUMAN_ASSIST_STAGE. If the conversation is created with the conversation profile that has Dialogflow config set but explicitly sets conversation_stage to ConversationStage.HUMAN_ASSIST_STAGE, it skips ConversationStage.VIRTUAL_AGENT_STAGE stage and directly goes to ConversationStage.HUMAN_ASSIST_STAGE.
- End
Time string - The time the conversation was finished.
- Lifecycle
State string - The current state of the Conversation.
- Name string
- The unique identifier of this conversation. Format:
projects//locations//conversations/
. - Phone
Number Pulumi.Google Native. Dialogflow. V2. Outputs. Google Cloud Dialogflow V2Conversation Phone Number Response - It will not be empty if the conversation is to be connected over telephony.
- Start
Time string - The time the conversation was started.
- Conversation
Profile string - The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format:
projects//locations//conversationProfiles/
. - Conversation
Stage string - The stage of a conversation. It indicates whether the virtual agent or a human agent is handling the conversation. If the conversation is created with the conversation profile that has Dialogflow config set, defaults to ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to ConversationStage.HUMAN_ASSIST_STAGE. If the conversation is created with the conversation profile that has Dialogflow config set but explicitly sets conversation_stage to ConversationStage.HUMAN_ASSIST_STAGE, it skips ConversationStage.VIRTUAL_AGENT_STAGE stage and directly goes to ConversationStage.HUMAN_ASSIST_STAGE.
- End
Time string - The time the conversation was finished.
- Lifecycle
State string - The current state of the Conversation.
- Name string
- The unique identifier of this conversation. Format:
projects//locations//conversations/
. - Phone
Number GoogleCloud Dialogflow V2Conversation Phone Number Response - It will not be empty if the conversation is to be connected over telephony.
- Start
Time string - The time the conversation was started.
- conversation
Profile String - The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format:
projects//locations//conversationProfiles/
. - conversation
Stage String - The stage of a conversation. It indicates whether the virtual agent or a human agent is handling the conversation. If the conversation is created with the conversation profile that has Dialogflow config set, defaults to ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to ConversationStage.HUMAN_ASSIST_STAGE. If the conversation is created with the conversation profile that has Dialogflow config set but explicitly sets conversation_stage to ConversationStage.HUMAN_ASSIST_STAGE, it skips ConversationStage.VIRTUAL_AGENT_STAGE stage and directly goes to ConversationStage.HUMAN_ASSIST_STAGE.
- end
Time String - The time the conversation was finished.
- lifecycle
State String - The current state of the Conversation.
- name String
- The unique identifier of this conversation. Format:
projects//locations//conversations/
. - phone
Number GoogleCloud Dialogflow V2Conversation Phone Number Response - It will not be empty if the conversation is to be connected over telephony.
- start
Time String - The time the conversation was started.
- conversation
Profile string - The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format:
projects//locations//conversationProfiles/
. - conversation
Stage string - The stage of a conversation. It indicates whether the virtual agent or a human agent is handling the conversation. If the conversation is created with the conversation profile that has Dialogflow config set, defaults to ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to ConversationStage.HUMAN_ASSIST_STAGE. If the conversation is created with the conversation profile that has Dialogflow config set but explicitly sets conversation_stage to ConversationStage.HUMAN_ASSIST_STAGE, it skips ConversationStage.VIRTUAL_AGENT_STAGE stage and directly goes to ConversationStage.HUMAN_ASSIST_STAGE.
- end
Time string - The time the conversation was finished.
- lifecycle
State string - The current state of the Conversation.
- name string
- The unique identifier of this conversation. Format:
projects//locations//conversations/
. - phone
Number GoogleCloud Dialogflow V2Conversation Phone Number Response - It will not be empty if the conversation is to be connected over telephony.
- start
Time string - The time the conversation was started.
- conversation_
profile str - The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format:
projects//locations//conversationProfiles/
. - conversation_
stage str - The stage of a conversation. It indicates whether the virtual agent or a human agent is handling the conversation. If the conversation is created with the conversation profile that has Dialogflow config set, defaults to ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to ConversationStage.HUMAN_ASSIST_STAGE. If the conversation is created with the conversation profile that has Dialogflow config set but explicitly sets conversation_stage to ConversationStage.HUMAN_ASSIST_STAGE, it skips ConversationStage.VIRTUAL_AGENT_STAGE stage and directly goes to ConversationStage.HUMAN_ASSIST_STAGE.
- end_
time str - The time the conversation was finished.
- lifecycle_
state str - The current state of the Conversation.
- name str
- The unique identifier of this conversation. Format:
projects//locations//conversations/
. - phone_
number GoogleCloud Dialogflow V2Conversation Phone Number Response - It will not be empty if the conversation is to be connected over telephony.
- start_
time str - The time the conversation was started.
- conversation
Profile String - The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format:
projects//locations//conversationProfiles/
. - conversation
Stage String - The stage of a conversation. It indicates whether the virtual agent or a human agent is handling the conversation. If the conversation is created with the conversation profile that has Dialogflow config set, defaults to ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to ConversationStage.HUMAN_ASSIST_STAGE. If the conversation is created with the conversation profile that has Dialogflow config set but explicitly sets conversation_stage to ConversationStage.HUMAN_ASSIST_STAGE, it skips ConversationStage.VIRTUAL_AGENT_STAGE stage and directly goes to ConversationStage.HUMAN_ASSIST_STAGE.
- end
Time String - The time the conversation was finished.
- lifecycle
State String - The current state of the Conversation.
- name String
- The unique identifier of this conversation. Format:
projects//locations//conversations/
. - phone
Number Property Map - It will not be empty if the conversation is to be connected over telephony.
- start
Time String - The time the conversation was started.
Supporting Types
GoogleCloudDialogflowV2ConversationPhoneNumberResponse
- Phone
Number string - The phone number to connect to this conversation.
- Phone
Number string - The phone number to connect to this conversation.
- phone
Number String - The phone number to connect to this conversation.
- phone
Number string - The phone number to connect to this conversation.
- phone_
number str - The phone number to connect to this conversation.
- phone
Number String - The phone number to connect to this conversation.
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