import * as pulumi from "@pulumi/pulumi"; /** * Creates a Dataset. */ export declare class Dataset extends pulumi.CustomResource { /** * Get an existing Dataset 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): Dataset; /** * Returns true if the given object is an instance of Dataset. 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 Dataset; /** * Timestamp when this dataset was created. */ readonly createTime: pulumi.Output; /** * 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: pulumi.Output; /** * The number of examples in the dataset. */ readonly exampleCount: pulumi.Output; readonly location: pulumi.Output; /** * The resource name of the dataset, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_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 test examples (sentence pairs). */ readonly testExampleCount: pulumi.Output; /** * Number of training examples (sentence pairs). */ readonly trainExampleCount: pulumi.Output; /** * Timestamp when this dataset was last updated. */ readonly updateTime: pulumi.Output; /** * Number of validation examples (sentence pairs). */ readonly validateExampleCount: pulumi.Output; /** * Create a Dataset 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?: DatasetArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Dataset resource. */ export interface DatasetArgs { /** * 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. */ displayName?: pulumi.Input; location?: pulumi.Input; /** * The resource name of the dataset, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}` */ name?: pulumi.Input; project?: pulumi.Input; /** * The BCP-47 language code of the source language. */ sourceLanguageCode?: pulumi.Input; /** * The BCP-47 language code of the target language. */ targetLanguageCode?: pulumi.Input; }