Struct gapi_grpc::google::cloud::dialogflow::cx::v3::Experiment[][src]

pub struct Experiment {
    pub name: String,
    pub display_name: String,
    pub description: String,
    pub state: i32,
    pub definition: Option<Definition>,
    pub result: Option<Result>,
    pub create_time: Option<Timestamp>,
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub last_update_time: Option<Timestamp>,
    pub experiment_length: Option<Duration>,
    pub variants_history: Vec<VariantsHistory>,
}

Represents an experiment in an environment.

Fields

name: String

The name of the experiment. Format: projects//locations//agents//environments//experiments/..

display_name: String

Required. The human-readable name of the experiment (unique in an environment). Limit of 64 characters.

description: String

The human-readable description of the experiment.

state: i32

The current state of the experiment. Transition triggered by Expriments.StartExperiment: PENDING->RUNNING. Transition triggered by Expriments.CancelExperiment: PENDING->CANCELLED or RUNNING->CANCELLED.

definition: Option<Definition>

The definition of the experiment.

result: Option<Result>

Inference result of the experiment.

create_time: Option<Timestamp>

Creation time of this experiment.

start_time: Option<Timestamp>

Start time of this experiment.

end_time: Option<Timestamp>

End time of this experiment.

last_update_time: Option<Timestamp>

Last update time of this experiment.

experiment_length: Option<Duration>

Maximum number of days to run the experiment/rollout. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days.

variants_history: Vec<VariantsHistory>

The history of updates to the experiment variants.

Implementations

impl Experiment[src]

pub fn state(&self) -> State[src]

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

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for Experiment[src]

impl Debug for Experiment[src]

impl Default for Experiment[src]

impl Message for Experiment[src]

impl PartialEq<Experiment> for Experiment[src]

impl StructuralPartialEq for Experiment[src]

Auto Trait Implementations

impl RefUnwindSafe for Experiment

impl Send for Experiment

impl Sync for Experiment

impl Unpin for Experiment

impl UnwindSafe for Experiment

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> 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>, 
[src]

impl<T> WithSubscriber for T[src]