Struct google_api_proto::google::cloud::dialogflow::cx::v3::CreateTransitionRouteGroupRequest
source · pub struct CreateTransitionRouteGroupRequest {
pub parent: String,
pub transition_route_group: Option<TransitionRouteGroup>,
pub language_code: String,
}
Expand description
The request message for [TransitionRouteGroups.CreateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup].
Fields§
§parent: String
Required. The flow to create an
[TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]
for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>
or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
for agent-level groups.
transition_route_group: Option<TransitionRouteGroup>
Required. The transition route group to create.
language_code: String
The language of the following fields in TransitionRouteGroup
:
TransitionRouteGroup.transition_routes.trigger_fulfillment.messages
TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases
If not specified, the agent’s default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
Trait Implementations§
source§impl Clone for CreateTransitionRouteGroupRequest
impl Clone for CreateTransitionRouteGroupRequest
source§fn clone(&self) -> CreateTransitionRouteGroupRequest
fn clone(&self) -> CreateTransitionRouteGroupRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for CreateTransitionRouteGroupRequest
impl Message for CreateTransitionRouteGroupRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for CreateTransitionRouteGroupRequest
impl PartialEq for CreateTransitionRouteGroupRequest
source§fn eq(&self, other: &CreateTransitionRouteGroupRequest) -> bool
fn eq(&self, other: &CreateTransitionRouteGroupRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTransitionRouteGroupRequest
Auto Trait Implementations§
impl Freeze for CreateTransitionRouteGroupRequest
impl RefUnwindSafe for CreateTransitionRouteGroupRequest
impl Send for CreateTransitionRouteGroupRequest
impl Sync for CreateTransitionRouteGroupRequest
impl Unpin for CreateTransitionRouteGroupRequest
impl UnwindSafe for CreateTransitionRouteGroupRequest
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request