Struct googapis::google::cloud::bigquery::v2::Model [−][src]
pub struct Model {Show 15 fields
pub etag: String,
pub model_reference: Option<ModelReference>,
pub creation_time: i64,
pub last_modified_time: i64,
pub description: String,
pub friendly_name: String,
pub labels: HashMap<String, String>,
pub expiration_time: i64,
pub location: String,
pub encryption_configuration: Option<EncryptionConfiguration>,
pub model_type: i32,
pub training_runs: Vec<TrainingRun>,
pub feature_columns: Vec<StandardSqlField>,
pub label_columns: Vec<StandardSqlField>,
pub best_trial_id: i64,
}
Fields
etag: String
Output only. A hash of this resource.
model_reference: Option<ModelReference>
Required. Unique identifier for this model.
creation_time: i64
Output only. The time when this model was created, in millisecs since the epoch.
last_modified_time: i64
Output only. The time when this model was last modified, in millisecs since the epoch.
description: String
Optional. A user-friendly description of this model.
friendly_name: String
Optional. A descriptive name for this model.
labels: 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.
expiration_time: 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.
location: String
Output only. The geographic location where the model resides. This value is inherited from the dataset.
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.
model_type: i32
Output only. Type of the model resource.
training_runs: Vec<TrainingRun>
Output only. Information for all training runs in increasing order of start_time.
feature_columns: Vec<StandardSqlField>
Output only. Input feature columns that were used to train this model.
label_columns: 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.
best_trial_id: i64
The best trial_id across all training runs.
Implementations
Returns the enum value of model_type
, or the default if the field is set to an invalid enum value.
Sets model_type
to the provided enum value.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
Auto Trait Implementations
impl RefUnwindSafe for Model
impl UnwindSafe for Model
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more