Struct gapi_grpc::google::cloud::aiplatform::v1beta1::HyperparameterTuningJob[][src]

pub struct HyperparameterTuningJob {
    pub name: String,
    pub display_name: String,
    pub study_spec: Option<StudySpec>,
    pub max_trial_count: i32,
    pub parallel_trial_count: i32,
    pub max_failed_trial_count: i32,
    pub trial_job_spec: Option<CustomJobSpec>,
    pub trials: Vec<Trial>,
    pub state: i32,
    pub create_time: Option<Timestamp>,
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub update_time: Option<Timestamp>,
    pub error: Option<Status>,
    pub labels: HashMap<String, String>,
    pub encryption_spec: Option<EncryptionSpec>,
}

Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study specification and multiple CustomJobs with identical CustomJob specification.

Fields

name: String

Output only. Resource name of the HyperparameterTuningJob.

display_name: String

Required. The display name of the HyperparameterTuningJob. The name can be up to 128 characters long and can be consist of any UTF-8 characters.

study_spec: Option<StudySpec>

Required. Study configuration of the HyperparameterTuningJob.

max_trial_count: i32

Required. The desired total number of Trials.

parallel_trial_count: i32

Required. The desired number of Trials to run in parallel.

max_failed_trial_count: i32

The number of failed Trials that need to be seen before failing the HyperparameterTuningJob.

If set to 0, Vertex AI decides how many Trials must fail before the whole job fails.

trial_job_spec: Option<CustomJobSpec>

Required. The spec of a trial job. The same spec applies to the CustomJobs created in all the trials.

trials: Vec<Trial>

Output only. Trials of the HyperparameterTuningJob.

state: i32

Output only. The detailed state of the job.

create_time: Option<Timestamp>

Output only. Time when the HyperparameterTuningJob was created.

start_time: Option<Timestamp>

Output only. Time when the HyperparameterTuningJob for the first time entered the JOB_STATE_RUNNING state.

end_time: Option<Timestamp>

Output only. Time when the HyperparameterTuningJob entered any of the following states: JOB_STATE_SUCCEEDED, JOB_STATE_FAILED, JOB_STATE_CANCELLED.

update_time: Option<Timestamp>

Output only. Time when the HyperparameterTuningJob was most recently updated.

error: Option<Status>

Output only. Only populated when job’s state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.

labels: HashMap<String, String>

The labels with user-defined metadata to organize HyperparameterTuningJobs.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

encryption_spec: Option<EncryptionSpec>

Customer-managed encryption key options for a HyperparameterTuningJob. If this is set, then all resources created by the HyperparameterTuningJob will be encrypted with the provided encryption key.

Implementations

impl HyperparameterTuningJob[src]

pub fn state(&self) -> JobState[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: JobState)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for HyperparameterTuningJob[src]

impl Debug for HyperparameterTuningJob[src]

impl Default for HyperparameterTuningJob[src]

impl Message for HyperparameterTuningJob[src]

impl PartialEq<HyperparameterTuningJob> for HyperparameterTuningJob[src]

impl StructuralPartialEq for HyperparameterTuningJob[src]

Auto Trait Implementations

impl RefUnwindSafe for HyperparameterTuningJob

impl Send for HyperparameterTuningJob

impl Sync for HyperparameterTuningJob

impl Unpin for HyperparameterTuningJob

impl UnwindSafe for HyperparameterTuningJob

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]