pub struct GoogleCloudDialogflowV2GenerateStatelessSummaryRequest {
pub conversation_profile: Option<GoogleCloudDialogflowV2ConversationProfile>,
pub latest_message: Option<String>,
pub max_context_size: Option<i32>,
pub stateless_conversation: Option<GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation>,
}
Expand description
The request message for Conversations.GenerateStatelessSummary.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§conversation_profile: Option<GoogleCloudDialogflowV2ConversationProfile>
Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
latest_message: Option<String>
Optional. The name of the latest conversation message used as context for generating a Summary. If empty, the latest message of the conversation will be used. The format is specific to the user and the names of the messages provided.
max_context_size: Option<i32>
Optional. Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. By default 500 and at most 1000.
stateless_conversation: Option<GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation>
Required. The conversation to suggest a summary for.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
impl Clone for GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
Source§fn clone(&self) -> GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
fn clone(&self) -> GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
impl Default for GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
Source§fn default() -> GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
fn default() -> GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
impl RefUnwindSafe for GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
impl Send for GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
impl Sync for GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
impl Unpin for GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
impl UnwindSafe for GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more