#[non_exhaustive]pub struct UpdateTensorboardExperimentRequest {
pub update_mask: Option<FieldMask>,
pub tensorboard_experiment: Option<TensorboardExperiment>,
/* private fields */
}tensorboard-service only.Expand description
Request message for TensorboardService.UpdateTensorboardExperiment.
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.update_mask: Option<FieldMask>Required. Field mask is used to specify the fields to be overwritten in the TensorboardExperiment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it’s in the mask. If the user does not provide a mask then all fields are overwritten if new values are specified.
tensorboard_experiment: Option<TensorboardExperiment>Required. The TensorboardExperiment’s name field is used to identify the
TensorboardExperiment to be updated. Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}
Implementations§
Source§impl UpdateTensorboardExperimentRequest
impl UpdateTensorboardExperimentRequest
pub fn new() -> Self
Sourcepub fn set_update_mask<T>(self, v: T) -> Self
pub fn set_update_mask<T>(self, v: T) -> Self
Sets the value of update_mask.
§Example
use wkt::FieldMask;
let x = UpdateTensorboardExperimentRequest::new().set_update_mask(FieldMask::default()/* use setters */);Sourcepub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_mask.
§Example
use wkt::FieldMask;
let x = UpdateTensorboardExperimentRequest::new().set_or_clear_update_mask(Some(FieldMask::default()/* use setters */));
let x = UpdateTensorboardExperimentRequest::new().set_or_clear_update_mask(None::<FieldMask>);Sourcepub fn set_tensorboard_experiment<T>(self, v: T) -> Selfwhere
T: Into<TensorboardExperiment>,
pub fn set_tensorboard_experiment<T>(self, v: T) -> Selfwhere
T: Into<TensorboardExperiment>,
Sets the value of tensorboard_experiment.
§Example
use google_cloud_aiplatform_v1::model::TensorboardExperiment;
let x = UpdateTensorboardExperimentRequest::new().set_tensorboard_experiment(TensorboardExperiment::default()/* use setters */);Sourcepub fn set_or_clear_tensorboard_experiment<T>(self, v: Option<T>) -> Selfwhere
T: Into<TensorboardExperiment>,
pub fn set_or_clear_tensorboard_experiment<T>(self, v: Option<T>) -> Selfwhere
T: Into<TensorboardExperiment>,
Sets or clears the value of tensorboard_experiment.
§Example
use google_cloud_aiplatform_v1::model::TensorboardExperiment;
let x = UpdateTensorboardExperimentRequest::new().set_or_clear_tensorboard_experiment(Some(TensorboardExperiment::default()/* use setters */));
let x = UpdateTensorboardExperimentRequest::new().set_or_clear_tensorboard_experiment(None::<TensorboardExperiment>);Trait Implementations§
Source§impl Clone for UpdateTensorboardExperimentRequest
impl Clone for UpdateTensorboardExperimentRequest
Source§fn clone(&self) -> UpdateTensorboardExperimentRequest
fn clone(&self) -> UpdateTensorboardExperimentRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for UpdateTensorboardExperimentRequest
impl Default for UpdateTensorboardExperimentRequest
Source§fn default() -> UpdateTensorboardExperimentRequest
fn default() -> UpdateTensorboardExperimentRequest
Source§impl PartialEq for UpdateTensorboardExperimentRequest
impl PartialEq for UpdateTensorboardExperimentRequest
Source§fn eq(&self, other: &UpdateTensorboardExperimentRequest) -> bool
fn eq(&self, other: &UpdateTensorboardExperimentRequest) -> bool
self and other values to be equal, and is used by ==.