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 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)
public static Output<GetTrialResult> getTrial(GetTrialArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:ml/v1:getTrial
  arguments:
    # arguments dictionaryThe following arguments are supported:
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.Google Native. Ml. V1. Outputs. Google Cloud Ml V1__Measurement Response 
- 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.Google Native. Ml. V1. Outputs. Google Cloud Ml V1__Measurement Response> 
- 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.Google Native. Ml. V1. Outputs. Google Cloud Ml V1_Trial_Parameter Response> 
- 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 GoogleCloud Ml V1__Measurement Response 
- 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
[]GoogleCloud Ml V1__Measurement Response 
- 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
[]GoogleCloud Ml V1_Trial_Parameter Response 
- 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 GoogleCloud Ml V1__Measurement Response 
- 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<GoogleCloud Ml V1__Measurement Response> 
- 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<GoogleCloud Ml V1_Trial_Parameter Response> 
- 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 GoogleCloud Ml V1__Measurement Response 
- 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
GoogleCloud Ml V1__Measurement Response[] 
- 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
GoogleCloud Ml V1_Trial_Parameter Response[] 
- 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 GoogleCloud Ml V1Measurement Response 
- 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[GoogleCloud Ml V1Measurement Response] 
- 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[GoogleCloud Ml V1Trial_Parameter Response] 
- 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    
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.Google Native. Ml. V1. Inputs. Google Cloud Ml V1_Measurement_Metric Response> 
- 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
[]GoogleCloud Ml V1_Measurement_Metric Response 
- 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<GoogleCloud Ml V1_Measurement_Metric Response> 
- 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
GoogleCloud Ml V1_Measurement_Metric Response[] 
- 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[GoogleCloud Ml V1Measurement_Metric Response] 
- 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 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