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

pub struct Environment {
    pub name: String,
    pub display_name: String,
    pub description: String,
    pub version_configs: Vec<VersionConfig>,
    pub update_time: Option<Timestamp>,
}

Represents an environment for an agent. You can create multiple versions of your agent and publish them to separate environments. When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent. When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for testing, development, production, etc.

Fields

name: String

The name of the environment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

display_name: String

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

description: String

The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.

version_configs: Vec<VersionConfig>

Required. A list of configurations for flow versions. You should include version configs for all flows that are reachable from [Start Flow][Agent.start_flow] in the agent. Otherwise, an error will be returned.

update_time: Option<Timestamp>

Output only. Update time of this environment.

Trait Implementations

impl Clone for Environment[src]

impl Debug for Environment[src]

impl Default for Environment[src]

impl Message for Environment[src]

impl PartialEq<Environment> for Environment[src]

impl StructuralPartialEq for Environment[src]

Auto Trait Implementations

impl RefUnwindSafe for Environment

impl Send for Environment

impl Sync for Environment

impl Unpin for Environment

impl UnwindSafe for Environment

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]