import * as pulumi from "@pulumi/pulumi"; /** * Gets a Dataset. */ export declare function getDataset(args: GetDatasetArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetDatasetArgs { datasetId: string; location: string; project?: string; } export interface GetDatasetResult { /** * Timestamp when this dataset was created. */ readonly createTime: string; /** * The name of the dataset 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 number of examples in the dataset. */ readonly exampleCount: number; /** * The resource name of the dataset, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_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 test examples (sentence pairs). */ readonly testExampleCount: number; /** * Number of training examples (sentence pairs). */ readonly trainExampleCount: number; /** * Timestamp when this dataset was last updated. */ readonly updateTime: string; /** * Number of validation examples (sentence pairs). */ readonly validateExampleCount: number; } /** * Gets a Dataset. */ export declare function getDatasetOutput(args: GetDatasetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetDatasetOutputArgs { datasetId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }