import * as pulumi from "@pulumi/pulumi"; /** * Creates a Model. */ export declare class Model extends pulumi.CustomResource { /** * Get an existing Model 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): Model; /** * Returns true if the given object is an instance of Model. 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 Model; /** * Timestamp when the model resource was created, which is also when the training started. */ readonly createTime: pulumi.Output; /** * The dataset from which the model is trained, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}` */ readonly dataset: pulumi.Output; /** * The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. */ readonly displayName: pulumi.Output; readonly location: pulumi.Output; /** * The resource name of the model, in form of `projects/{project-number-or-id}/locations/{location_id}/models/{model_id}` */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The BCP-47 language code of the source language. */ readonly sourceLanguageCode: pulumi.Output; /** * The BCP-47 language code of the target language. */ readonly targetLanguageCode: pulumi.Output; /** * Number of examples (sentence pairs) used to test the model. */ readonly testExampleCount: pulumi.Output; /** * Number of examples (sentence pairs) used to train the model. */ readonly trainExampleCount: pulumi.Output; /** * Timestamp when this model was last updated. */ readonly updateTime: pulumi.Output; /** * Number of examples (sentence pairs) used to validate the model. */ readonly validateExampleCount: pulumi.Output; /** * Create a Model 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?: ModelArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Model resource. */ export interface ModelArgs { /** * The dataset from which the model is trained, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}` */ dataset?: pulumi.Input; /** * The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. */ displayName?: pulumi.Input; location?: pulumi.Input; /** * The resource name of the model, in form of `projects/{project-number-or-id}/locations/{location_id}/models/{model_id}` */ name?: pulumi.Input; project?: pulumi.Input; }