import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets a trial. */ export declare function getTrial(args: GetTrialArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetTrialArgs { location: string; project?: string; studyId: string; trialId: string; } export interface GetTrialResult { /** * The identifier of the client that originally requested this trial. */ readonly clientId: string; /** * Time at which the trial's status changed to COMPLETED. */ readonly endTime: string; /** * The final measurement containing the objective value. */ readonly finalMeasurement: outputs.ml.v1.GoogleCloudMlV1__MeasurementResponse; /** * A human readable string describing why the trial is infeasible. This should only be set if trial_infeasible is true. */ readonly infeasibleReason: string; /** * A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_time). These are used for early stopping computations. */ readonly measurements: outputs.ml.v1.GoogleCloudMlV1__MeasurementResponse[]; /** * Name of the trial assigned by the service. */ readonly name: string; /** * The parameters of the trial. */ readonly parameters: outputs.ml.v1.GoogleCloudMlV1_Trial_ParameterResponse[]; /** * Time at which the trial was started. */ readonly startTime: string; /** * The detailed state of a trial. */ readonly state: string; /** * If true, the parameters in this trial are not attempted again. */ readonly trialInfeasible: boolean; } /** * Gets a trial. */ export declare function getTrialOutput(args: GetTrialOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetTrialOutputArgs { location: pulumi.Input; project?: pulumi.Input; studyId: pulumi.Input; trialId: pulumi.Input; }