1. Packages
  2. Google Cloud Native
  3. API Docs
  4. ml
  5. ml/v1
  6. getTrial

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.ml/v1.getTrial

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Gets a trial.

    Using getTrial

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getTrial(args: GetTrialArgs, opts?: InvokeOptions): Promise<GetTrialResult>
    function getTrialOutput(args: GetTrialOutputArgs, opts?: InvokeOptions): Output<GetTrialResult>
    def get_trial(location: Optional[str] = None,
                  project: Optional[str] = None,
                  study_id: Optional[str] = None,
                  trial_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetTrialResult
    def get_trial_output(location: Optional[pulumi.Input[str]] = None,
                  project: Optional[pulumi.Input[str]] = None,
                  study_id: Optional[pulumi.Input[str]] = None,
                  trial_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetTrialResult]
    func LookupTrial(ctx *Context, args *LookupTrialArgs, opts ...InvokeOption) (*LookupTrialResult, error)
    func LookupTrialOutput(ctx *Context, args *LookupTrialOutputArgs, opts ...InvokeOption) LookupTrialResultOutput

    > Note: This function is named LookupTrial in the Go SDK.

    public static class GetTrial 
    {
        public static Task<GetTrialResult> InvokeAsync(GetTrialArgs args, InvokeOptions? opts = null)
        public static Output<GetTrialResult> Invoke(GetTrialInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTrialResult> getTrial(GetTrialArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:ml/v1:getTrial
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    StudyId string
    TrialId string
    Project string
    Location string
    StudyId string
    TrialId string
    Project string
    location String
    studyId String
    trialId String
    project String
    location string
    studyId string
    trialId string
    project string
    location String
    studyId String
    trialId String
    project String

    getTrial Result

    The following output properties are available:

    ClientId string
    The identifier of the client that originally requested this trial.
    EndTime string
    Time at which the trial's status changed to COMPLETED.
    FinalMeasurement Pulumi.GoogleNative.Ml.V1.Outputs.GoogleCloudMlV1__MeasurementResponse
    The final measurement containing the objective value.
    InfeasibleReason string
    A human readable string describing why the trial is infeasible. This should only be set if trial_infeasible is true.
    Measurements List<Pulumi.GoogleNative.Ml.V1.Outputs.GoogleCloudMlV1__MeasurementResponse>
    A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_time). These are used for early stopping computations.
    Name string
    Name of the trial assigned by the service.
    Parameters List<Pulumi.GoogleNative.Ml.V1.Outputs.GoogleCloudMlV1_Trial_ParameterResponse>
    The parameters of the trial.
    StartTime string
    Time at which the trial was started.
    State string
    The detailed state of a trial.
    TrialInfeasible bool
    If true, the parameters in this trial are not attempted again.
    ClientId string
    The identifier of the client that originally requested this trial.
    EndTime string
    Time at which the trial's status changed to COMPLETED.
    FinalMeasurement GoogleCloudMlV1__MeasurementResponse
    The final measurement containing the objective value.
    InfeasibleReason string
    A human readable string describing why the trial is infeasible. This should only be set if trial_infeasible is true.
    Measurements []GoogleCloudMlV1__MeasurementResponse
    A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_time). These are used for early stopping computations.
    Name string
    Name of the trial assigned by the service.
    Parameters []GoogleCloudMlV1_Trial_ParameterResponse
    The parameters of the trial.
    StartTime string
    Time at which the trial was started.
    State string
    The detailed state of a trial.
    TrialInfeasible bool
    If true, the parameters in this trial are not attempted again.
    clientId String
    The identifier of the client that originally requested this trial.
    endTime String
    Time at which the trial's status changed to COMPLETED.
    finalMeasurement GoogleCloudMlV1__MeasurementResponse
    The final measurement containing the objective value.
    infeasibleReason String
    A human readable string describing why the trial is infeasible. This should only be set if trial_infeasible is true.
    measurements List<GoogleCloudMlV1__MeasurementResponse>
    A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_time). These are used for early stopping computations.
    name String
    Name of the trial assigned by the service.
    parameters List<GoogleCloudMlV1_Trial_ParameterResponse>
    The parameters of the trial.
    startTime String
    Time at which the trial was started.
    state String
    The detailed state of a trial.
    trialInfeasible Boolean
    If true, the parameters in this trial are not attempted again.
    clientId string
    The identifier of the client that originally requested this trial.
    endTime string
    Time at which the trial's status changed to COMPLETED.
    finalMeasurement GoogleCloudMlV1__MeasurementResponse
    The final measurement containing the objective value.
    infeasibleReason string
    A human readable string describing why the trial is infeasible. This should only be set if trial_infeasible is true.
    measurements GoogleCloudMlV1__MeasurementResponse[]
    A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_time). These are used for early stopping computations.
    name string
    Name of the trial assigned by the service.
    parameters GoogleCloudMlV1_Trial_ParameterResponse[]
    The parameters of the trial.
    startTime string
    Time at which the trial was started.
    state string
    The detailed state of a trial.
    trialInfeasible boolean
    If true, the parameters in this trial are not attempted again.
    client_id str
    The identifier of the client that originally requested this trial.
    end_time str
    Time at which the trial's status changed to COMPLETED.
    final_measurement GoogleCloudMlV1MeasurementResponse
    The final measurement containing the objective value.
    infeasible_reason str
    A human readable string describing why the trial is infeasible. This should only be set if trial_infeasible is true.
    measurements Sequence[GoogleCloudMlV1MeasurementResponse]
    A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_time). These are used for early stopping computations.
    name str
    Name of the trial assigned by the service.
    parameters Sequence[GoogleCloudMlV1Trial_ParameterResponse]
    The parameters of the trial.
    start_time str
    Time at which the trial was started.
    state str
    The detailed state of a trial.
    trial_infeasible bool
    If true, the parameters in this trial are not attempted again.
    clientId String
    The identifier of the client that originally requested this trial.
    endTime String
    Time at which the trial's status changed to COMPLETED.
    finalMeasurement Property Map
    The final measurement containing the objective value.
    infeasibleReason String
    A human readable string describing why the trial is infeasible. This should only be set if trial_infeasible is true.
    measurements List<Property Map>
    A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_time). These are used for early stopping computations.
    name String
    Name of the trial assigned by the service.
    parameters List<Property Map>
    The parameters of the trial.
    startTime String
    Time at which the trial was started.
    state String
    The detailed state of a trial.
    trialInfeasible Boolean
    If true, the parameters in this trial are not attempted again.

    Supporting Types

    GoogleCloudMlV1_Measurement_MetricResponse

    Metric string
    Metric name.
    Value double
    The value for this metric.
    Metric string
    Metric name.
    Value float64
    The value for this metric.
    metric String
    Metric name.
    value Double
    The value for this metric.
    metric string
    Metric name.
    value number
    The value for this metric.
    metric str
    Metric name.
    value float
    The value for this metric.
    metric String
    Metric name.
    value Number
    The value for this metric.

    GoogleCloudMlV1_Trial_ParameterResponse

    FloatValue double
    Must be set if ParameterType is DOUBLE or DISCRETE.
    IntValue string
    Must be set if ParameterType is INTEGER
    Parameter string
    The name of the parameter.
    StringValue string
    Must be set if ParameterTypeis CATEGORICAL
    FloatValue float64
    Must be set if ParameterType is DOUBLE or DISCRETE.
    IntValue string
    Must be set if ParameterType is INTEGER
    Parameter string
    The name of the parameter.
    StringValue string
    Must be set if ParameterTypeis CATEGORICAL
    floatValue Double
    Must be set if ParameterType is DOUBLE or DISCRETE.
    intValue String
    Must be set if ParameterType is INTEGER
    parameter String
    The name of the parameter.
    stringValue String
    Must be set if ParameterTypeis CATEGORICAL
    floatValue number
    Must be set if ParameterType is DOUBLE or DISCRETE.
    intValue string
    Must be set if ParameterType is INTEGER
    parameter string
    The name of the parameter.
    stringValue string
    Must be set if ParameterTypeis CATEGORICAL
    float_value float
    Must be set if ParameterType is DOUBLE or DISCRETE.
    int_value str
    Must be set if ParameterType is INTEGER
    parameter str
    The name of the parameter.
    string_value str
    Must be set if ParameterTypeis CATEGORICAL
    floatValue Number
    Must be set if ParameterType is DOUBLE or DISCRETE.
    intValue String
    Must be set if ParameterType is INTEGER
    parameter String
    The name of the parameter.
    stringValue String
    Must be set if ParameterTypeis CATEGORICAL

    GoogleCloudMlV1__MeasurementResponse

    ElapsedTime string
    Time that the trial has been running at the point of this measurement.
    Metrics List<Pulumi.GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1_Measurement_MetricResponse>
    Provides a list of metrics that act as inputs into the objective function.
    StepCount string
    The number of steps a machine learning model has been trained for. Must be non-negative.
    ElapsedTime string
    Time that the trial has been running at the point of this measurement.
    Metrics []GoogleCloudMlV1_Measurement_MetricResponse
    Provides a list of metrics that act as inputs into the objective function.
    StepCount string
    The number of steps a machine learning model has been trained for. Must be non-negative.
    elapsedTime String
    Time that the trial has been running at the point of this measurement.
    metrics List<GoogleCloudMlV1_Measurement_MetricResponse>
    Provides a list of metrics that act as inputs into the objective function.
    stepCount String
    The number of steps a machine learning model has been trained for. Must be non-negative.
    elapsedTime string
    Time that the trial has been running at the point of this measurement.
    metrics GoogleCloudMlV1_Measurement_MetricResponse[]
    Provides a list of metrics that act as inputs into the objective function.
    stepCount string
    The number of steps a machine learning model has been trained for. Must be non-negative.
    elapsed_time str
    Time that the trial has been running at the point of this measurement.
    metrics Sequence[GoogleCloudMlV1Measurement_MetricResponse]
    Provides a list of metrics that act as inputs into the objective function.
    step_count str
    The number of steps a machine learning model has been trained for. Must be non-negative.
    elapsedTime String
    Time that the trial has been running at the point of this measurement.
    metrics List<Property Map>
    Provides a list of metrics that act as inputs into the objective function.
    stepCount String
    The number of steps a machine learning model has been trained for. Must be non-negative.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi