#[non_exhaustive]pub struct DatasetVersion {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub etag: String,
pub big_query_dataset_name: String,
pub display_name: String,
pub metadata: Option<Value>,
pub model_reference: String,
pub satisfies_pzs: bool,
pub satisfies_pzi: bool,
/* private fields */
}Expand description
Describes the dataset version.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringOutput only. Identifier. The resource name of the DatasetVersion.
create_time: Option<Timestamp>Output only. Timestamp when this DatasetVersion was created.
update_time: Option<Timestamp>Output only. Timestamp when this DatasetVersion was last updated.
etag: StringUsed to perform consistent read-modify-write updates. If not set, a blind “overwrite” update happens.
big_query_dataset_name: StringOutput only. Name of the associated BigQuery dataset.
display_name: StringThe user-defined name of the DatasetVersion. The name can be up to 128 characters long and can consist of any UTF-8 characters.
metadata: Option<Value>Required. Output only. Additional information about the DatasetVersion.
model_reference: StringOutput only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions.
satisfies_pzs: boolOutput only. Reserved for future use.
satisfies_pzi: boolOutput only. Reserved for future use.
Implementations§
Source§impl DatasetVersion
impl DatasetVersion
pub fn new() -> Self
Sourcepub fn set_create_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_create_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of create_time.
Sourcepub fn set_update_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_update_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of update_time.
Sourcepub fn set_big_query_dataset_name<T: Into<String>>(self, v: T) -> Self
pub fn set_big_query_dataset_name<T: Into<String>>(self, v: T) -> Self
Sets the value of big_query_dataset_name.
Sourcepub fn set_display_name<T: Into<String>>(self, v: T) -> Self
pub fn set_display_name<T: Into<String>>(self, v: T) -> Self
Sets the value of display_name.
Sourcepub fn set_model_reference<T: Into<String>>(self, v: T) -> Self
pub fn set_model_reference<T: Into<String>>(self, v: T) -> Self
Sets the value of model_reference.
Sourcepub fn set_satisfies_pzs<T: Into<bool>>(self, v: T) -> Self
pub fn set_satisfies_pzs<T: Into<bool>>(self, v: T) -> Self
Sets the value of satisfies_pzs.
Sourcepub fn set_satisfies_pzi<T: Into<bool>>(self, v: T) -> Self
pub fn set_satisfies_pzi<T: Into<bool>>(self, v: T) -> Self
Sets the value of satisfies_pzi.
Trait Implementations§
Source§impl Clone for DatasetVersion
impl Clone for DatasetVersion
Source§fn clone(&self) -> DatasetVersion
fn clone(&self) -> DatasetVersion
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more