import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates a conversation. */ export declare class Conversation extends pulumi.CustomResource { /** * Get an existing Conversation resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Conversation; /** * Returns true if the given object is an instance of Conversation. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Conversation; /** * An opaque, user-specified string representing the human agent who handled the conversation. */ readonly agentId: pulumi.Output; /** * Call-specific metadata. */ readonly callMetadata: pulumi.Output; /** * A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid characters are `a-z-` */ readonly conversationId: pulumi.Output; /** * The time at which the conversation was created. */ readonly createTime: pulumi.Output; /** * The source of the audio and transcription for the conversation. */ readonly dataSource: pulumi.Output; /** * All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent} */ readonly dialogflowIntents: pulumi.Output<{ [key: string]: string; }>; /** * The duration of the conversation. */ readonly duration: pulumi.Output; /** * The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted. */ readonly expireTime: pulumi.Output; /** * A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * A user-specified language code for the conversation. */ readonly languageCode: pulumi.Output; /** * The conversation's latest analysis, if one exists. */ readonly latestAnalysis: pulumi.Output; /** * Latest summary of the conversation. */ readonly latestSummary: pulumi.Output; readonly location: pulumi.Output; /** * Immutable. The conversation medium, if unspecified will default to PHONE_CALL. */ readonly medium: pulumi.Output; /** * Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} */ readonly name: pulumi.Output; /** * Obfuscated user ID which the customer sent to us. */ readonly obfuscatedUserId: pulumi.Output; readonly project: pulumi.Output; /** * The annotations that were generated during the customer and agent interaction. */ readonly runtimeAnnotations: pulumi.Output; /** * The time at which the conversation started. */ readonly startTime: pulumi.Output; /** * The conversation transcript. */ readonly transcript: pulumi.Output; /** * Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time. */ readonly ttl: pulumi.Output; /** * The number of turns in the conversation. */ readonly turnCount: pulumi.Output; /** * The most recent time at which the conversation was updated. */ readonly updateTime: pulumi.Output; /** * Create a Conversation resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: ConversationArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Conversation resource. */ export interface ConversationArgs { /** * An opaque, user-specified string representing the human agent who handled the conversation. */ agentId?: pulumi.Input; /** * Call-specific metadata. */ callMetadata?: pulumi.Input; /** * A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid characters are `a-z-` */ conversationId?: pulumi.Input; /** * The source of the audio and transcription for the conversation. */ dataSource?: pulumi.Input; /** * The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted. */ expireTime?: pulumi.Input; /** * A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A user-specified language code for the conversation. */ languageCode?: pulumi.Input; location?: pulumi.Input; /** * Immutable. The conversation medium, if unspecified will default to PHONE_CALL. */ medium?: pulumi.Input; /** * Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} */ name?: pulumi.Input; /** * Obfuscated user ID which the customer sent to us. */ obfuscatedUserId?: pulumi.Input; project?: pulumi.Input; /** * The time at which the conversation started. */ startTime?: pulumi.Input; /** * Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time. */ ttl?: pulumi.Input; }