Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.aiplatform/v1beta1.Trial
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Adds a user provided Trial to a Study. Auto-naming is currently not supported for this resource.
Create Trial Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Trial(name: string, args: TrialArgs, opts?: CustomResourceOptions);@overload
def Trial(resource_name: str,
          args: TrialArgs,
          opts: Optional[ResourceOptions] = None)
@overload
def Trial(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          study_id: Optional[str] = None,
          location: Optional[str] = None,
          project: Optional[str] = None)func NewTrial(ctx *Context, name string, args TrialArgs, opts ...ResourceOption) (*Trial, error)public Trial(string name, TrialArgs args, CustomResourceOptions? opts = null)type: google-native:aiplatform/v1beta1:Trial
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TrialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TrialArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TrialArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TrialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TrialArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var google_nativeTrialResource = new GoogleNative.Aiplatform.V1Beta1.Trial("google-nativeTrialResource", new()
{
    StudyId = "string",
    Location = "string",
    Project = "string",
});
example, err := aiplatformv1beta1.NewTrial(ctx, "google-nativeTrialResource", &aiplatformv1beta1.TrialArgs{
	StudyId:  pulumi.String("string"),
	Location: pulumi.String("string"),
	Project:  pulumi.String("string"),
})
var google_nativeTrialResource = new Trial("google-nativeTrialResource", TrialArgs.builder()
    .studyId("string")
    .location("string")
    .project("string")
    .build());
google_native_trial_resource = google_native.aiplatform.v1beta1.Trial("google-nativeTrialResource",
    study_id="string",
    location="string",
    project="string")
const google_nativeTrialResource = new google_native.aiplatform.v1beta1.Trial("google-nativeTrialResource", {
    studyId: "string",
    location: "string",
    project: "string",
});
type: google-native:aiplatform/v1beta1:Trial
properties:
    location: string
    project: string
    studyId: string
Trial Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Trial resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the Trial resource produces the following output properties:
- ClientId 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.
- CustomJob string
- The CustomJob name linked to the Trial. It's set for a HyperparameterTuningJob's Trial.
- EndTime string
- Time when the Trial's status changed to SUCCEEDEDorINFEASIBLE.
- FinalMeasurement Pulumi.Google Native. Aiplatform. V1Beta1. Outputs. Google Cloud Aiplatform V1beta1Measurement Response 
- The final measurement containing the objective value.
- Id string
- The provider-assigned unique ID for this managed resource.
- InfeasibleReason 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.
- StartTime string
- Time when the Trial was started.
- State string
- The detailed state of the Trial.
- WebAccess 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.
- ClientId 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.
- CustomJob string
- The CustomJob name linked to the Trial. It's set for a HyperparameterTuningJob's Trial.
- EndTime string
- Time when the Trial's status changed to SUCCEEDEDorINFEASIBLE.
- FinalMeasurement GoogleCloud Aiplatform V1beta1Measurement Response 
- The final measurement containing the objective value.
- Id string
- The provider-assigned unique ID for this managed resource.
- InfeasibleReason string
- A human readable string describing why the Trial is infeasible. This is set only if Trial state is INFEASIBLE.
- Measurements
[]GoogleCloud 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
[]GoogleCloud Aiplatform V1beta1Trial Parameter Response 
- The parameters of the Trial.
- StartTime string
- Time when the Trial was started.
- State string
- The detailed state of the Trial.
- WebAccess 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.
- clientId 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.
- customJob String
- The CustomJob name linked to the Trial. It's set for a HyperparameterTuningJob's Trial.
- endTime String
- Time when the Trial's status changed to SUCCEEDEDorINFEASIBLE.
- finalMeasurement GoogleCloud Aiplatform V1beta1Measurement Response 
- The final measurement containing the objective value.
- id String
- The provider-assigned unique ID for this managed resource.
- infeasibleReason String
- A human readable string describing why the Trial is infeasible. This is set only if Trial state is INFEASIBLE.
- measurements
List<GoogleCloud 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<GoogleCloud Aiplatform V1beta1Trial Parameter Response> 
- The parameters of the Trial.
- startTime String
- Time when the Trial was started.
- state String
- The detailed state of the Trial.
- webAccess 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.
- clientId 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.
- customJob string
- The CustomJob name linked to the Trial. It's set for a HyperparameterTuningJob's Trial.
- endTime string
- Time when the Trial's status changed to SUCCEEDEDorINFEASIBLE.
- finalMeasurement GoogleCloud Aiplatform V1beta1Measurement Response 
- The final measurement containing the objective value.
- id string
- The provider-assigned unique ID for this managed resource.
- infeasibleReason string
- A human readable string describing why the Trial is infeasible. This is set only if Trial state is INFEASIBLE.
- measurements
GoogleCloud 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
GoogleCloud Aiplatform V1beta1Trial Parameter Response[] 
- The parameters of the Trial.
- startTime string
- Time when the Trial was started.
- state string
- The detailed state of the Trial.
- webAccess {[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.
- id str
- The provider-assigned unique ID for this managed resource.
- infeasible_reason str
- A human readable string describing why the Trial is infeasible. This is set only if Trial state is INFEASIBLE.
- measurements
Sequence[GoogleCloud 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[GoogleCloud 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.
- clientId 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.
- customJob String
- The CustomJob name linked to the Trial. It's set for a HyperparameterTuningJob's Trial.
- endTime String
- Time when the Trial's status changed to SUCCEEDEDorINFEASIBLE.
- finalMeasurement Property Map
- The final measurement containing the objective value.
- id String
- The provider-assigned unique ID for this managed resource.
- infeasibleReason 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.
- startTime String
- Time when the Trial was started.
- state String
- The detailed state of the Trial.
- webAccess 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, GoogleCloudAiplatformV1beta1MeasurementMetricResponseArgs            
GoogleCloudAiplatformV1beta1MeasurementResponse, GoogleCloudAiplatformV1beta1MeasurementResponseArgs          
- ElapsedDuration 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.
- StepCount string
- The number of steps the machine learning model has been trained for. Must be non-negative.
- ElapsedDuration string
- Time that the Trial has been running at the point of this Measurement.
- Metrics
[]GoogleCloud Aiplatform V1beta1Measurement Metric Response 
- A list of metrics got by evaluating the objective functions using suggested Parameter values.
- StepCount string
- The number of steps the machine learning model has been trained for. Must be non-negative.
- elapsedDuration String
- Time that the Trial has been running at the point of this Measurement.
- metrics
List<GoogleCloud Aiplatform V1beta1Measurement Metric Response> 
- A list of metrics got by evaluating the objective functions using suggested Parameter values.
- stepCount String
- The number of steps the machine learning model has been trained for. Must be non-negative.
- elapsedDuration string
- Time that the Trial has been running at the point of this Measurement.
- metrics
GoogleCloud Aiplatform V1beta1Measurement Metric Response[] 
- A list of metrics got by evaluating the objective functions using suggested Parameter values.
- stepCount 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[GoogleCloud 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.
- elapsedDuration 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.
- stepCount String
- The number of steps the machine learning model has been trained for. Must be non-negative.
GoogleCloudAiplatformV1beta1TrialParameterResponse, GoogleCloudAiplatformV1beta1TrialParameterResponseArgs            
- ParameterId 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'.
- ParameterId 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'.
- parameterId 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'.
- parameterId 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'.
- parameterId 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.