Struct google_bigquery2::api::Model

source ·
pub struct Model {
Show 19 fields pub best_trial_id: Option<i64>, pub creation_time: Option<i64>, pub default_trial_id: Option<i64>, pub description: Option<String>, pub encryption_configuration: Option<EncryptionConfiguration>, pub etag: Option<String>, pub expiration_time: Option<i64>, pub feature_columns: Option<Vec<StandardSqlField>>, pub friendly_name: Option<String>, pub hparam_search_spaces: Option<HparamSearchSpaces>, pub hparam_trials: Option<Vec<HparamTuningTrial>>, pub label_columns: Option<Vec<StandardSqlField>>, pub labels: Option<HashMap<String, String>>, pub last_modified_time: Option<i64>, pub location: Option<String>, pub model_reference: Option<ModelReference>, pub model_type: Option<String>, pub optimal_trial_ids: Option<Vec<i64>>, pub training_runs: Option<Vec<TrainingRun>>,
}
Expand description

There is no detailed description.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields§

§best_trial_id: Option<i64>

The best trial_id across all training runs.

§creation_time: Option<i64>

Output only. The time when this model was created, in millisecs since the epoch.

§default_trial_id: Option<i64>

Output only. The default trial_id to use in TVFs when the trial_id is not passed in. For single-objective hyperparameter tuning models, this is the best trial ID. For multi-objective hyperparameter tuning models, this is the smallest trial ID among all Pareto optimal trials.

§description: Option<String>

Optional. A user-friendly description of this model.

§encryption_configuration: Option<EncryptionConfiguration>

Custom encryption configuration (e.g., Cloud KMS keys). This shows the encryption configuration of the model data while stored in BigQuery storage. This field can be used with PatchModel to update encryption key for an already encrypted model.

§etag: Option<String>

Output only. A hash of this resource.

§expiration_time: Option<i64>

Optional. The time when this model expires, in milliseconds since the epoch. If not present, the model will persist indefinitely. Expired models will be deleted and their storage reclaimed. The defaultTableExpirationMs property of the encapsulating dataset can be used to set a default expirationTime on newly created models.

§feature_columns: Option<Vec<StandardSqlField>>

Output only. Input feature columns that were used to train this model.

§friendly_name: Option<String>

Optional. A descriptive name for this model.

§hparam_search_spaces: Option<HparamSearchSpaces>

Output only. All hyperparameter search spaces in this model.

§hparam_trials: Option<Vec<HparamTuningTrial>>

Output only. Trials of a hyperparameter tuning model sorted by trial_id.

§label_columns: Option<Vec<StandardSqlField>>

Output only. Label columns that were used to train this model. The output of the model will have a “predicted_” prefix to these columns.

§labels: Option<HashMap<String, String>>

The labels associated with this model. You can use these to organize and group your models. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.

§last_modified_time: Option<i64>

Output only. The time when this model was last modified, in millisecs since the epoch.

§location: Option<String>

Output only. The geographic location where the model resides. This value is inherited from the dataset.

§model_reference: Option<ModelReference>

Required. Unique identifier for this model.

§model_type: Option<String>

Output only. Type of the model resource.

§optimal_trial_ids: Option<Vec<i64>>

Output only. For single-objective hyperparameter tuning models, it only contains the best trial. For multi-objective hyperparameter tuning models, it contains all Pareto optimal trials sorted by trial_id.

§training_runs: Option<Vec<TrainingRun>>

Information for all training runs in increasing order of start_time.

Trait Implementations§

source§

impl Clone for Model

source§

fn clone(&self) -> Model

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Model

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Model

source§

fn default() -> Model

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Model

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for Model

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl RequestValue for Model

source§

impl Resource for Model

source§

impl ResponseResult for Model

Auto Trait Implementations§

§

impl RefUnwindSafe for Model

§

impl Send for Model

§

impl Sync for Model

§

impl Unpin for Model

§

impl UnwindSafe for Model

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,