import * as pulumi from "@pulumi/pulumi"; /** * Gets a model. */ export declare function getModel(args: GetModelArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetModelArgs { location: string; modelId: string; project?: string; } export interface GetModelResult { /** * Timestamp when the model resource was created, which is also when the training started. */ readonly createTime: string; /** * The dataset from which the model is trained, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}` */ readonly dataset: string; /** * 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: string; /** * The resource name of the model, in form of `projects/{project-number-or-id}/locations/{location_id}/models/{model_id}` */ readonly name: string; /** * The BCP-47 language code of the source language. */ readonly sourceLanguageCode: string; /** * The BCP-47 language code of the target language. */ readonly targetLanguageCode: string; /** * Number of examples (sentence pairs) used to test the model. */ readonly testExampleCount: number; /** * Number of examples (sentence pairs) used to train the model. */ readonly trainExampleCount: number; /** * Timestamp when this model was last updated. */ readonly updateTime: string; /** * Number of examples (sentence pairs) used to validate the model. */ readonly validateExampleCount: number; } /** * Gets a model. */ export declare function getModelOutput(args: GetModelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetModelOutputArgs { location: pulumi.Input; modelId: pulumi.Input; project?: pulumi.Input; }