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. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. * Auto-naming is currently not supported for this resource. */ 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; readonly collectionId: pulumi.Output; readonly dataStoreId: pulumi.Output; /** * The time the conversation finished. */ readonly endTime: pulumi.Output; readonly location: pulumi.Output; /** * Conversation messages. */ readonly messages: pulumi.Output; /** * Immutable. Fully qualified name `project/*/locations/global/collections/{collection}/dataStore/*/conversations/*` */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The time the conversation started. */ readonly startTime: pulumi.Output; /** * The state of the Conversation. */ readonly state: pulumi.Output; /** * A unique identifier for tracking users. */ readonly userPseudoId: 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 { collectionId: pulumi.Input; dataStoreId: pulumi.Input; location?: pulumi.Input; /** * Conversation messages. */ messages?: pulumi.Input[]>; /** * Immutable. Fully qualified name `project/*/locations/global/collections/{collection}/dataStore/*/conversations/*` */ name?: pulumi.Input; project?: pulumi.Input; /** * The state of the Conversation. */ state?: pulumi.Input; /** * A unique identifier for tracking users. */ userPseudoId?: pulumi.Input; }