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
👎 Deprecated

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Returns the encoded length of the message without a length delimiter.

Clears the message, resetting all fields to their default.

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

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

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

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

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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