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)
// 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:
getTrial Result
The following output properties are available:
- Client
Id string - The identifier of the client that originally requested this trial.
- End
Time string - Time at which the trial's status changed to COMPLETED.
- Final
Measurement Pulumi.Google Native. Ml. V1. Outputs. Google Cloud Ml V1__Measurement Response - The final measurement containing the objective value.
- Infeasible
Reason 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.
- Start
Time string - Time at which the trial was started.
- State string
- The detailed state of a trial.
- Trial
Infeasible bool - If true, the parameters in this trial are not attempted again.
- Client
Id string - The identifier of the client that originally requested this trial.
- End
Time string - Time at which the trial's status changed to COMPLETED.
- Final
Measurement GoogleCloud Ml V1__Measurement Response - The final measurement containing the objective value.
- Infeasible
Reason string - A human readable string describing why the trial is infeasible. This should only be set if trial_infeasible is true.
- Measurements
[]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
[]Google
Cloud Ml V1_Trial_Parameter Response - The parameters of the trial.
- Start
Time string - Time at which the trial was started.
- State string
- The detailed state of a trial.
- Trial
Infeasible bool - If true, the parameters in this trial are not attempted again.
- client
Id String - The identifier of the client that originally requested this trial.
- end
Time String - Time at which the trial's status changed to COMPLETED.
- final
Measurement GoogleCloud Ml V1__Measurement Response - The final measurement containing the objective value.
- infeasible
Reason String - A human readable string describing why the trial is infeasible. This should only be set if trial_infeasible is true.
- measurements
List<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<Google
Cloud Ml V1_Trial_Parameter Response> - The parameters of the trial.
- start
Time String - Time at which the trial was started.
- state String
- The detailed state of a trial.
- trial
Infeasible Boolean - If true, the parameters in this trial are not attempted again.
- client
Id string - The identifier of the client that originally requested this trial.
- end
Time string - Time at which the trial's status changed to COMPLETED.
- final
Measurement GoogleCloud Ml V1__Measurement Response - The final measurement containing the objective value.
- infeasible
Reason string - A human readable string describing why the trial is infeasible. This should only be set if trial_infeasible is true.
- measurements
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
Google
Cloud Ml V1_Trial_Parameter Response[] - The parameters of the trial.
- start
Time string - Time at which the trial was started.
- state string
- The detailed state of a trial.
- trial
Infeasible 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[Google
Cloud 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[Google
Cloud 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.
- client
Id String - The identifier of the client that originally requested this trial.
- end
Time String - Time at which the trial's status changed to COMPLETED.
- final
Measurement Property Map - The final measurement containing the objective value.
- infeasible
Reason 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.
- start
Time String - Time at which the trial was started.
- state String
- The detailed state of a trial.
- trial
Infeasible Boolean - If true, the parameters in this trial are not attempted again.
Supporting Types
GoogleCloudMlV1_Measurement_MetricResponse
GoogleCloudMlV1_Trial_ParameterResponse
- Float
Value double - Must be set if ParameterType is DOUBLE or DISCRETE.
- Int
Value string - Must be set if ParameterType is INTEGER
- Parameter string
- The name of the parameter.
- String
Value string - Must be set if ParameterTypeis CATEGORICAL
- Float
Value float64 - Must be set if ParameterType is DOUBLE or DISCRETE.
- Int
Value string - Must be set if ParameterType is INTEGER
- Parameter string
- The name of the parameter.
- String
Value string - Must be set if ParameterTypeis CATEGORICAL
- float
Value Double - Must be set if ParameterType is DOUBLE or DISCRETE.
- int
Value String - Must be set if ParameterType is INTEGER
- parameter String
- The name of the parameter.
- string
Value String - Must be set if ParameterTypeis CATEGORICAL
- float
Value number - Must be set if ParameterType is DOUBLE or DISCRETE.
- int
Value string - Must be set if ParameterType is INTEGER
- parameter string
- The name of the parameter.
- string
Value 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
- float
Value Number - Must be set if ParameterType is DOUBLE or DISCRETE.
- int
Value String - Must be set if ParameterType is INTEGER
- parameter String
- The name of the parameter.
- string
Value String - Must be set if ParameterTypeis CATEGORICAL
GoogleCloudMlV1__MeasurementResponse
- Elapsed
Time 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.
- Step
Count string - The number of steps a machine learning model has been trained for. Must be non-negative.
- Elapsed
Time string - Time that the trial has been running at the point of this measurement.
- Metrics
[]Google
Cloud Ml V1_Measurement_Metric Response - Provides a list of metrics that act as inputs into the objective function.
- Step
Count string - The number of steps a machine learning model has been trained for. Must be non-negative.
- elapsed
Time String - Time that the trial has been running at the point of this measurement.
- metrics
List<Google
Cloud Ml V1_Measurement_Metric Response> - Provides a list of metrics that act as inputs into the objective function.
- step
Count String - The number of steps a machine learning model has been trained for. Must be non-negative.
- elapsed
Time string - Time that the trial has been running at the point of this measurement.
- metrics
Google
Cloud Ml V1_Measurement_Metric Response[] - Provides a list of metrics that act as inputs into the objective function.
- step
Count 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[Google
Cloud 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.
- elapsed
Time 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.
- step
Count 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