Struct google_api_proto::google::cloud::aiplatform::v1::TuningJob
source · pub struct TuningJob {Show 16 fields
pub name: String,
pub tuned_model_display_name: String,
pub description: String,
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: BTreeMap<String, String>,
pub experiment: String,
pub tuned_model: Option<TunedModel>,
pub tuning_data_stats: Option<TuningDataStats>,
pub encryption_spec: Option<EncryptionSpec>,
pub source_model: Option<SourceModel>,
pub tuning_spec: Option<TuningSpec>,
}
Expand description
Represents a TuningJob that runs with Google owned models.
Fields§
§name: String
Output only. Identifier. Resource name of a TuningJob. Format:
projects/{project}/locations/{location}/tuningJobs/{tuning_job}
tuned_model_display_name: String
Optional. The display name of the [TunedModel][google.cloud.aiplatform.v1.Model]. The name can be up to 128 characters long and can consist of any UTF-8 characters.
description: String
Optional. The description of the [TuningJob][google.cloud.aiplatform.v1.TuningJob].
state: i32
Output only. The detailed state of the job.
create_time: Option<Timestamp>
Output only. Time when the [TuningJob][google.cloud.aiplatform.v1.TuningJob] was created.
start_time: Option<Timestamp>
Output only. Time when the
[TuningJob][google.cloud.aiplatform.v1.TuningJob] for the first time
entered the JOB_STATE_RUNNING
state.
end_time: Option<Timestamp>
Output only. Time when the TuningJob entered any of the following
[JobStates][google.cloud.aiplatform.v1.JobState]: JOB_STATE_SUCCEEDED
,
JOB_STATE_FAILED
, JOB_STATE_CANCELLED
, JOB_STATE_EXPIRED
.
update_time: Option<Timestamp>
Output only. Time when the [TuningJob][google.cloud.aiplatform.v1.TuningJob] was most recently updated.
error: Option<Status>
Output only. Only populated when job’s state is JOB_STATE_FAILED
or
JOB_STATE_CANCELLED
.
labels: BTreeMap<String, String>
Optional. The labels with user-defined metadata to organize [TuningJob][google.cloud.aiplatform.v1.TuningJob] and generated resources such as [Model][google.cloud.aiplatform.v1.Model] and [Endpoint][google.cloud.aiplatform.v1.Endpoint].
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.
experiment: String
Output only. The Experiment associated with this [TuningJob][google.cloud.aiplatform.v1.TuningJob].
tuned_model: Option<TunedModel>
Output only. The tuned model resources assiociated with this [TuningJob][google.cloud.aiplatform.v1.TuningJob].
tuning_data_stats: Option<TuningDataStats>
Output only. The tuning data statistics associated with this [TuningJob][google.cloud.aiplatform.v1.TuningJob].
encryption_spec: Option<EncryptionSpec>
Customer-managed encryption key options for a TuningJob. If this is set, then all resources created by the TuningJob will be encrypted with the provided encryption key.
source_model: Option<SourceModel>
§tuning_spec: Option<TuningSpec>
Implementations§
Trait Implementations§
source§impl Message for TuningJob
impl Message for TuningJob
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for TuningJob
impl PartialEq for TuningJob
impl StructuralPartialEq for TuningJob
Auto Trait Implementations§
impl Freeze for TuningJob
impl RefUnwindSafe for TuningJob
impl Send for TuningJob
impl Sync for TuningJob
impl Unpin for TuningJob
impl UnwindSafe for TuningJob
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request