Struct gapi_grpc::google::cloud::dialogflow::v2::Version[][src]

pub struct Version {
    pub name: String,
    pub description: String,
    pub version_number: i32,
    pub create_time: Option<Timestamp>,
    pub status: i32,
}

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:

For more information, see the versions and environments guide.

Fields

name: String

Output only. The unique identifier of this agent version. Supported formats:

description: String

Optional. The developer-provided description of this version.

version_number: i32

Output only. The sequential number of this version. This field is read-only which means it cannot be set by create and update methods.

create_time: Option<Timestamp>

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

status: i32

Output only. The status of this version. This field is read-only and cannot be set by create and update methods.

Implementations

impl Version[src]

pub fn status(&self) -> VersionStatus[src]

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

pub fn set_status(&mut self, value: VersionStatus)[src]

Sets status to the provided enum value.

Trait Implementations

impl Clone for Version[src]

impl Debug for Version[src]

impl Default for Version[src]

impl Message for Version[src]

impl PartialEq<Version> for Version[src]

impl StructuralPartialEq for Version[src]

Auto Trait Implementations

impl RefUnwindSafe for Version

impl Send for Version

impl Sync for Version

impl Unpin for Version

impl UnwindSafe for Version

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]