Struct gapi_grpc::google::cloud::dialogflow::cx::v3::form::Parameter[][src]

pub struct Parameter {
    pub display_name: String,
    pub required: bool,
    pub entity_type: String,
    pub is_list: bool,
    pub fill_behavior: Option<FillBehavior>,
    pub default_value: Option<Value>,
    pub redact: bool,
}

Represents a form parameter.

Fields

display_name: String

Required. The human-readable name of the parameter, unique within the form.

required: bool

Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.

entity_type: String

Required. The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types.

is_list: bool

Indicates whether the parameter represents a list of values.

fill_behavior: Option<FillBehavior>

Required. Defines fill behavior for the parameter.

default_value: Option<Value>

The default value of an optional parameter. If the parameter is required, the default value will be ignored.

redact: bool

Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or [entity type level redaction][google.cloud.dialogflow.cx.v3.EntityType.redact] is enabled.

Trait Implementations

impl Clone for Parameter[src]

impl Debug for Parameter[src]

impl Default for Parameter[src]

impl Message for Parameter[src]

impl PartialEq<Parameter> for Parameter[src]

impl StructuralPartialEq for Parameter[src]

Auto Trait Implementations

impl RefUnwindSafe for Parameter

impl Send for Parameter

impl Sync for Parameter

impl Unpin for Parameter

impl UnwindSafe for Parameter

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]