[][src]Struct gcp_client::google::cloud::bigquery::v2::Model

pub struct Model {
    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>,
}

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.

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.

Implementations

impl Model[src]

pub fn model_type(&self) -> ModelType[src]

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

pub fn set_model_type(&mut self, value: ModelType)[src]

Sets model_type to the provided enum value.

Trait Implementations

impl Clone for Model[src]

impl Debug for Model[src]

impl Default for Model[src]

impl Message for Model[src]

impl PartialEq<Model> for Model[src]

impl StructuralPartialEq for Model[src]

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

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, 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>, 

impl<T> WithSubscriber for T[src]