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

pub struct CreateConversationRequest {
    pub parent: String,
    pub conversation: Option<Conversation>,
    pub conversation_id: String,
}

The request message for [Conversations.CreateConversation][google.cloud.dialogflow.v2.Conversations.CreateConversation].

Fields

parent: String

Required. Resource identifier of the project creating the conversation. Format: projects/<Project ID>/locations/<Location ID>.

conversation: Option<Conversation>

Required. The conversation to create.

conversation_id: String

Optional. Identifier of the conversation. Generally it’s auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you.

The conversation ID must be compliant with the regression fomula “[a-zA-Z][a-zA-Z0-9_-]*” with the characters length in range of [3,64]. If the field is provided, the caller is resposible for

  1. the uniqueness of the ID, otherwise the request will be rejected.
  2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.

Trait Implementations

impl Clone for CreateConversationRequest[src]

impl Debug for CreateConversationRequest[src]

impl Default for CreateConversationRequest[src]

impl Message for CreateConversationRequest[src]

impl PartialEq<CreateConversationRequest> for CreateConversationRequest[src]

impl StructuralPartialEq for CreateConversationRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateConversationRequest

impl Send for CreateConversationRequest

impl Sync for CreateConversationRequest

impl Unpin for CreateConversationRequest

impl UnwindSafe for CreateConversationRequest

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]