#[non_exhaustive]pub struct Tensorboard {Show 13 fields
pub name: String,
pub display_name: String,
pub description: String,
pub encryption_spec: Option<EncryptionSpec>,
pub blob_storage_path_prefix: String,
pub run_count: i32,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: HashMap<String, String>,
pub etag: String,
pub is_default: bool,
pub satisfies_pzs: bool,
pub satisfies_pzi: bool,
/* private fields */
}Expand description
Tensorboard is a physical database that stores users’ training metrics. A default Tensorboard is provided in each region of a Google Cloud project. If needed users can also create extra Tensorboards in their projects.
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. Name of the Tensorboard.
Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}
display_name: StringRequired. User provided name of this Tensorboard.
description: StringDescription of this Tensorboard.
encryption_spec: Option<EncryptionSpec>Customer-managed encryption key spec for a Tensorboard. If set, this Tensorboard and all sub-resources of this Tensorboard will be secured by this key.
blob_storage_path_prefix: StringOutput only. Consumer project Cloud Storage path prefix used to store blob data, which can either be a bucket or directory. Does not end with a ‘/’.
run_count: i32Output only. The number of Runs stored in this Tensorboard.
create_time: Option<Timestamp>Output only. Timestamp when this Tensorboard was created.
update_time: Option<Timestamp>Output only. Timestamp when this Tensorboard was last updated.
labels: HashMap<String, String>The labels with user-defined metadata to organize your Tensorboards.
Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Tensorboard (System labels are excluded).
See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with “aiplatform.googleapis.com/” and are immutable.
etag: StringUsed to perform a consistent read-modify-write updates. If not set, a blind “overwrite” update happens.
is_default: boolUsed to indicate if the TensorBoard instance is the default one. Each project & region can have at most one default TensorBoard instance. Creation of a default TensorBoard instance and updating an existing TensorBoard instance to be default will mark all other TensorBoard instances (if any) as non default.
satisfies_pzs: boolOutput only. Reserved for future use.
satisfies_pzi: boolOutput only. Reserved for future use.
Implementations§
Source§impl Tensorboard
impl Tensorboard
pub fn new() -> Self
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_description<T: Into<String>>(self, v: T) -> Self
pub fn set_description<T: Into<String>>(self, v: T) -> Self
Sets the value of description.
Sourcepub fn set_encryption_spec<T: Into<Option<EncryptionSpec>>>(self, v: T) -> Self
pub fn set_encryption_spec<T: Into<Option<EncryptionSpec>>>(self, v: T) -> Self
Sets the value of encryption_spec.
Sourcepub fn set_blob_storage_path_prefix<T: Into<String>>(self, v: T) -> Self
pub fn set_blob_storage_path_prefix<T: Into<String>>(self, v: T) -> Self
Sets the value of blob_storage_path_prefix.
Sourcepub fn set_run_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_run_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of run_count.
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_labels<T, K, V>(self, v: T) -> Self
pub fn set_labels<T, K, V>(self, v: T) -> Self
Sets the value of labels.
Sourcepub fn set_is_default<T: Into<bool>>(self, v: T) -> Self
pub fn set_is_default<T: Into<bool>>(self, v: T) -> Self
Sets the value of is_default.
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 Tensorboard
impl Clone for Tensorboard
Source§fn clone(&self) -> Tensorboard
fn clone(&self) -> Tensorboard
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more