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.aiplatform/v1beta1.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:aiplatform/v1beta1:getTrial
  arguments:
    # arguments dictionaryThe 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. Each client is identified by a unique client_id. When a client asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client should evaluate the Trial, complete it, and report back to Vertex AI Vizier. If suggestion is asked again by same client_id before the Trial is completed, the same Trial will be returned. Multiple clients with different client_ids can ask for suggestions simultaneously, each of them will get their own Trial.
 - Custom
Job string - The CustomJob name linked to the Trial. It's set for a HyperparameterTuningJob's Trial.
 - End
Time string - Time when the Trial's status changed to 
SUCCEEDEDorINFEASIBLE. - Final
Measurement Pulumi.Google Native. Aiplatform. V1Beta1. Outputs. Google Cloud Aiplatform V1beta1Measurement Response  - The final measurement containing the objective value.
 - Infeasible
Reason string - A human readable string describing why the Trial is infeasible. This is set only if Trial state is 
INFEASIBLE. - Measurements
List<Pulumi.
Google Native. Aiplatform. V1Beta1. Outputs. Google Cloud Aiplatform V1beta1Measurement Response>  - A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_duration). These are used for early stopping computations.
 - Name string
 - Resource name of the Trial assigned by the service.
 - Parameters
List<Pulumi.
Google Native. Aiplatform. V1Beta1. Outputs. Google Cloud Aiplatform V1beta1Trial Parameter Response>  - The parameters of the Trial.
 - Start
Time string - Time when the Trial was started.
 - State string
 - The detailed state of the Trial.
 - Web
Access Dictionary<string, string>Uris  - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a HyperparameterTuningJob and the job's trial_job_spec.enable_web_access field is 
true. The keys are names of each node used for the trial; for example,workerpool0-0for the primary node,workerpool1-0for the first node in the second worker pool, andworkerpool1-1for the second node in the second worker pool. The values are the URIs for each node's interactive shell. 
- Client
Id string - The identifier of the client that originally requested this Trial. Each client is identified by a unique client_id. When a client asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client should evaluate the Trial, complete it, and report back to Vertex AI Vizier. If suggestion is asked again by same client_id before the Trial is completed, the same Trial will be returned. Multiple clients with different client_ids can ask for suggestions simultaneously, each of them will get their own Trial.
 - Custom
Job string - The CustomJob name linked to the Trial. It's set for a HyperparameterTuningJob's Trial.
 - End
Time string - Time when the Trial's status changed to 
SUCCEEDEDorINFEASIBLE. - Final
Measurement GoogleCloud Aiplatform V1beta1Measurement Response  - The final measurement containing the objective value.
 - Infeasible
Reason string - A human readable string describing why the Trial is infeasible. This is set only if Trial state is 
INFEASIBLE. - Measurements
[]Google
Cloud Aiplatform V1beta1Measurement Response  - A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_duration). These are used for early stopping computations.
 - Name string
 - Resource name of the Trial assigned by the service.
 - Parameters
[]Google
Cloud Aiplatform V1beta1Trial Parameter Response  - The parameters of the Trial.
 - Start
Time string - Time when the Trial was started.
 - State string
 - The detailed state of the Trial.
 - Web
Access map[string]stringUris  - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a HyperparameterTuningJob and the job's trial_job_spec.enable_web_access field is 
true. The keys are names of each node used for the trial; for example,workerpool0-0for the primary node,workerpool1-0for the first node in the second worker pool, andworkerpool1-1for the second node in the second worker pool. The values are the URIs for each node's interactive shell. 
- client
Id String - The identifier of the client that originally requested this Trial. Each client is identified by a unique client_id. When a client asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client should evaluate the Trial, complete it, and report back to Vertex AI Vizier. If suggestion is asked again by same client_id before the Trial is completed, the same Trial will be returned. Multiple clients with different client_ids can ask for suggestions simultaneously, each of them will get their own Trial.
 - custom
Job String - The CustomJob name linked to the Trial. It's set for a HyperparameterTuningJob's Trial.
 - end
Time String - Time when the Trial's status changed to 
SUCCEEDEDorINFEASIBLE. - final
Measurement GoogleCloud Aiplatform V1beta1Measurement Response  - The final measurement containing the objective value.
 - infeasible
Reason String - A human readable string describing why the Trial is infeasible. This is set only if Trial state is 
INFEASIBLE. - measurements
List<Google
Cloud Aiplatform V1beta1Measurement Response>  - A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_duration). These are used for early stopping computations.
 - name String
 - Resource name of the Trial assigned by the service.
 - parameters
List<Google
Cloud Aiplatform V1beta1Trial Parameter Response>  - The parameters of the Trial.
 - start
Time String - Time when the Trial was started.
 - state String
 - The detailed state of the Trial.
 - web
Access Map<String,String>Uris  - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a HyperparameterTuningJob and the job's trial_job_spec.enable_web_access field is 
true. The keys are names of each node used for the trial; for example,workerpool0-0for the primary node,workerpool1-0for the first node in the second worker pool, andworkerpool1-1for the second node in the second worker pool. The values are the URIs for each node's interactive shell. 
- client
Id string - The identifier of the client that originally requested this Trial. Each client is identified by a unique client_id. When a client asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client should evaluate the Trial, complete it, and report back to Vertex AI Vizier. If suggestion is asked again by same client_id before the Trial is completed, the same Trial will be returned. Multiple clients with different client_ids can ask for suggestions simultaneously, each of them will get their own Trial.
 - custom
Job string - The CustomJob name linked to the Trial. It's set for a HyperparameterTuningJob's Trial.
 - end
Time string - Time when the Trial's status changed to 
SUCCEEDEDorINFEASIBLE. - final
Measurement GoogleCloud Aiplatform V1beta1Measurement Response  - The final measurement containing the objective value.
 - infeasible
Reason string - A human readable string describing why the Trial is infeasible. This is set only if Trial state is 
INFEASIBLE. - measurements
Google
Cloud Aiplatform V1beta1Measurement Response[]  - A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_duration). These are used for early stopping computations.
 - name string
 - Resource name of the Trial assigned by the service.
 - parameters
Google
Cloud Aiplatform V1beta1Trial Parameter Response[]  - The parameters of the Trial.
 - start
Time string - Time when the Trial was started.
 - state string
 - The detailed state of the Trial.
 - web
Access {[key: string]: string}Uris  - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a HyperparameterTuningJob and the job's trial_job_spec.enable_web_access field is 
true. The keys are names of each node used for the trial; for example,workerpool0-0for the primary node,workerpool1-0for the first node in the second worker pool, andworkerpool1-1for the second node in the second worker pool. The values are the URIs for each node's interactive shell. 
- client_
id str - The identifier of the client that originally requested this Trial. Each client is identified by a unique client_id. When a client asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client should evaluate the Trial, complete it, and report back to Vertex AI Vizier. If suggestion is asked again by same client_id before the Trial is completed, the same Trial will be returned. Multiple clients with different client_ids can ask for suggestions simultaneously, each of them will get their own Trial.
 - custom_
job str - The CustomJob name linked to the Trial. It's set for a HyperparameterTuningJob's Trial.
 - end_
time str - Time when the Trial's status changed to 
SUCCEEDEDorINFEASIBLE. - final_
measurement GoogleCloud Aiplatform V1beta1Measurement Response  - The final measurement containing the objective value.
 - infeasible_
reason str - A human readable string describing why the Trial is infeasible. This is set only if Trial state is 
INFEASIBLE. - measurements
Sequence[Google
Cloud Aiplatform V1beta1Measurement Response]  - A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_duration). These are used for early stopping computations.
 - name str
 - Resource name of the Trial assigned by the service.
 - parameters
Sequence[Google
Cloud Aiplatform V1beta1Trial Parameter Response]  - The parameters of the Trial.
 - start_
time str - Time when the Trial was started.
 - state str
 - The detailed state of the Trial.
 - web_
access_ Mapping[str, str]uris  - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a HyperparameterTuningJob and the job's trial_job_spec.enable_web_access field is 
true. The keys are names of each node used for the trial; for example,workerpool0-0for the primary node,workerpool1-0for the first node in the second worker pool, andworkerpool1-1for the second node in the second worker pool. The values are the URIs for each node's interactive shell. 
- client
Id String - The identifier of the client that originally requested this Trial. Each client is identified by a unique client_id. When a client asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client should evaluate the Trial, complete it, and report back to Vertex AI Vizier. If suggestion is asked again by same client_id before the Trial is completed, the same Trial will be returned. Multiple clients with different client_ids can ask for suggestions simultaneously, each of them will get their own Trial.
 - custom
Job String - The CustomJob name linked to the Trial. It's set for a HyperparameterTuningJob's Trial.
 - end
Time String - Time when the Trial's status changed to 
SUCCEEDEDorINFEASIBLE. - 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 is set only if Trial state is 
INFEASIBLE. - measurements List<Property Map>
 - A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_duration). These are used for early stopping computations.
 - name String
 - Resource name of the Trial assigned by the service.
 - parameters List<Property Map>
 - The parameters of the Trial.
 - start
Time String - Time when the Trial was started.
 - state String
 - The detailed state of the Trial.
 - web
Access Map<String>Uris  - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a HyperparameterTuningJob and the job's trial_job_spec.enable_web_access field is 
true. The keys are names of each node used for the trial; for example,workerpool0-0for the primary node,workerpool1-0for the first node in the second worker pool, andworkerpool1-1for the second node in the second worker pool. The values are the URIs for each node's interactive shell. 
Supporting Types
GoogleCloudAiplatformV1beta1MeasurementMetricResponse     
GoogleCloudAiplatformV1beta1MeasurementResponse    
- Elapsed
Duration string - Time that the Trial has been running at the point of this Measurement.
 - Metrics
List<Pulumi.
Google Native. Aiplatform. V1Beta1. Inputs. Google Cloud Aiplatform V1beta1Measurement Metric Response>  - A list of metrics got by evaluating the objective functions using suggested Parameter values.
 - Step
Count string - The number of steps the machine learning model has been trained for. Must be non-negative.
 
- Elapsed
Duration string - Time that the Trial has been running at the point of this Measurement.
 - Metrics
[]Google
Cloud Aiplatform V1beta1Measurement Metric Response  - A list of metrics got by evaluating the objective functions using suggested Parameter values.
 - Step
Count string - The number of steps the machine learning model has been trained for. Must be non-negative.
 
- elapsed
Duration String - Time that the Trial has been running at the point of this Measurement.
 - metrics
List<Google
Cloud Aiplatform V1beta1Measurement Metric Response>  - A list of metrics got by evaluating the objective functions using suggested Parameter values.
 - step
Count String - The number of steps the machine learning model has been trained for. Must be non-negative.
 
- elapsed
Duration string - Time that the Trial has been running at the point of this Measurement.
 - metrics
Google
Cloud Aiplatform V1beta1Measurement Metric Response[]  - A list of metrics got by evaluating the objective functions using suggested Parameter values.
 - step
Count string - The number of steps the machine learning model has been trained for. Must be non-negative.
 
- elapsed_
duration str - Time that the Trial has been running at the point of this Measurement.
 - metrics
Sequence[Google
Cloud Aiplatform V1beta1Measurement Metric Response]  - A list of metrics got by evaluating the objective functions using suggested Parameter values.
 - step_
count str - The number of steps the machine learning model has been trained for. Must be non-negative.
 
- elapsed
Duration String - Time that the Trial has been running at the point of this Measurement.
 - metrics List<Property Map>
 - A list of metrics got by evaluating the objective functions using suggested Parameter values.
 - step
Count String - The number of steps the machine learning model has been trained for. Must be non-negative.
 
GoogleCloudAiplatformV1beta1TrialParameterResponse     
- Parameter
Id string - The ID of the parameter. The parameter should be defined in StudySpec's Parameters.
 - Value object
 - The value of the parameter. 
number_valuewill be set if a parameter defined in StudySpec is in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.string_valuewill be set if a parameter defined in StudySpec is in type 'CATEGORICAL'. 
- Parameter
Id string - The ID of the parameter. The parameter should be defined in StudySpec's Parameters.
 - Value interface{}
 - The value of the parameter. 
number_valuewill be set if a parameter defined in StudySpec is in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.string_valuewill be set if a parameter defined in StudySpec is in type 'CATEGORICAL'. 
- parameter
Id String - The ID of the parameter. The parameter should be defined in StudySpec's Parameters.
 - value Object
 - The value of the parameter. 
number_valuewill be set if a parameter defined in StudySpec is in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.string_valuewill be set if a parameter defined in StudySpec is in type 'CATEGORICAL'. 
- parameter
Id string - The ID of the parameter. The parameter should be defined in StudySpec's Parameters.
 - value any
 - The value of the parameter. 
number_valuewill be set if a parameter defined in StudySpec is in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.string_valuewill be set if a parameter defined in StudySpec is in type 'CATEGORICAL'. 
- parameter_
id str - The ID of the parameter. The parameter should be defined in StudySpec's Parameters.
 - value Any
 - The value of the parameter. 
number_valuewill be set if a parameter defined in StudySpec is in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.string_valuewill be set if a parameter defined in StudySpec is in type 'CATEGORICAL'. 
- parameter
Id String - The ID of the parameter. The parameter should be defined in StudySpec's Parameters.
 - value Any
 - The value of the parameter. 
number_valuewill be set if a parameter defined in StudySpec is in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.string_valuewill be set if a parameter defined in StudySpec is in type 'CATEGORICAL'. 
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