import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Retrieves the specific conversation. */ export declare function getConversation(args: GetConversationArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetConversationArgs { conversationId: string; location: string; project?: string; } export interface GetConversationResult { /** * The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format: `projects//locations//conversationProfiles/`. */ readonly conversationProfile: 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. */ readonly conversationStage: string; /** * The time the conversation was finished. */ readonly endTime: string; /** * The current state of the Conversation. */ readonly lifecycleState: string; /** * The unique identifier of this conversation. Format: `projects//locations//conversations/`. */ readonly name: string; /** * It will not be empty if the conversation is to be connected over telephony. */ readonly phoneNumber: outputs.dialogflow.v2.GoogleCloudDialogflowV2ConversationPhoneNumberResponse; /** * The time the conversation was started. */ readonly startTime: string; } /** * Retrieves the specific conversation. */ export declare function getConversationOutput(args: GetConversationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetConversationOutputArgs { conversationId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }