import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a model. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: CreateConversationModelOperationMetadata - `response`: ConversationModel */ export declare class ConversationModel extends pulumi.CustomResource { /** * Get an existing ConversationModel 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): ConversationModel; /** * Returns true if the given object is an instance of ConversationModel. 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 ConversationModel; /** * Metadata for article suggestion models. */ readonly articleSuggestionModelMetadata: pulumi.Output; /** * Creation time of this model. */ readonly createTime: pulumi.Output; /** * Datasets used to create model. */ readonly datasets: pulumi.Output; /** * The display name of the model. At most 64 bytes long. */ readonly displayName: pulumi.Output; /** * Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US". */ readonly languageCode: pulumi.Output; readonly location: pulumi.Output; /** * ConversationModel resource name. Format: `projects//conversationModels/` */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Metadata for smart reply models. */ readonly smartReplyModelMetadata: pulumi.Output; /** * State of the model. A model can only serve prediction requests after it gets deployed. */ readonly state: pulumi.Output; /** * Create a ConversationModel 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: ConversationModelArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ConversationModel resource. */ export interface ConversationModelArgs { /** * Metadata for article suggestion models. */ articleSuggestionModelMetadata?: pulumi.Input; /** * Datasets used to create model. */ datasets: pulumi.Input[]>; /** * The display name of the model. At most 64 bytes long. */ displayName: pulumi.Input; /** * Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US". */ languageCode?: pulumi.Input; location?: pulumi.Input; /** * ConversationModel resource name. Format: `projects//conversationModels/` */ name?: pulumi.Input; project?: pulumi.Input; /** * Metadata for smart reply models. */ smartReplyModelMetadata?: pulumi.Input; }