Struct google_dialogflow2::api::GoogleCloudDialogflowV2Environment[][src]

pub struct GoogleCloudDialogflowV2Environment {
    pub agent_version: Option<String>,
    pub description: Option<String>,
    pub name: Option<String>,
    pub state: Option<String>,
    pub update_time: Option<String>,
}

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. For more information, see the versions and environments guide.

This type is not used in any activity, and only used as part of another schema.

Fields

agent_version: Option<String>

Optional. The agent version loaded into this environment. Format: projects//agent/versions/.

description: Option<String>

Optional. The developer-provided description for this environment. The maximum length is 500 characters. If exceeded, the request is rejected.

name: Option<String>

Output only. The unique identifier of this agent environment. Format: projects//agent/environments/. For Environment ID, "-" is reserved for 'draft' environment.

state: Option<String>

Output only. The state of this environment. This field is read-only, i.e., it cannot be set by create and update methods.

update_time: Option<String>

Output only. The last update time of this environment. This field is read-only, i.e., it cannot be set by create and update methods.

Trait Implementations

impl Clone for GoogleCloudDialogflowV2Environment[src]

impl Debug for GoogleCloudDialogflowV2Environment[src]

impl Default for GoogleCloudDialogflowV2Environment[src]

impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2Environment[src]

impl Part for GoogleCloudDialogflowV2Environment[src]

impl Serialize for GoogleCloudDialogflowV2Environment[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowV2Environment[src]

impl Send for GoogleCloudDialogflowV2Environment[src]

impl Sync for GoogleCloudDialogflowV2Environment[src]

impl Unpin for GoogleCloudDialogflowV2Environment[src]

impl UnwindSafe for GoogleCloudDialogflowV2Environment[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.