Struct google_api_proto::google::cloud::dialogflow::v2beta1::ListIntentsRequest
source · pub struct ListIntentsRequest {
pub parent: String,
pub language_code: String,
pub intent_view: i32,
pub page_size: i32,
pub page_token: String,
}
Expand description
The request message for [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents].
Fields§
§parent: String
Required. The agent to list all intents from.
Format: projects/<Project ID>/agent
or projects/<Project ID>/locations/<Location ID>/agent
.
Alternatively, you can specify the environment to list intents for.
Format: projects/<Project ID>/agent/environments/<Environment ID>
or projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>
.
Note: training phrases of the intents will not be returned for non-draft
environment.
language_code: String
Optional. The language used to access language-specific data. If not specified, the agent’s default language is used. For more information, see Multilingual intent and entity data.
intent_view: i32
Optional. The resource view to apply to the returned intent.
page_size: i32
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
page_token: String
Optional. The next_page_token value returned from a previous list request.
Implementations§
source§impl ListIntentsRequest
impl ListIntentsRequest
sourcepub fn intent_view(&self) -> IntentView
pub fn intent_view(&self) -> IntentView
Returns the enum value of intent_view
, or the default if the field is set to an invalid enum value.
sourcepub fn set_intent_view(&mut self, value: IntentView)
pub fn set_intent_view(&mut self, value: IntentView)
Sets intent_view
to the provided enum value.
Trait Implementations§
source§impl Clone for ListIntentsRequest
impl Clone for ListIntentsRequest
source§fn clone(&self) -> ListIntentsRequest
fn clone(&self) -> ListIntentsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListIntentsRequest
impl Debug for ListIntentsRequest
source§impl Default for ListIntentsRequest
impl Default for ListIntentsRequest
source§impl Message for ListIntentsRequest
impl Message for ListIntentsRequest
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 ListIntentsRequest
impl PartialEq for ListIntentsRequest
source§fn eq(&self, other: &ListIntentsRequest) -> bool
fn eq(&self, other: &ListIntentsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListIntentsRequest
Auto Trait Implementations§
impl Freeze for ListIntentsRequest
impl RefUnwindSafe for ListIntentsRequest
impl Send for ListIntentsRequest
impl Sync for ListIntentsRequest
impl Unpin for ListIntentsRequest
impl UnwindSafe for ListIntentsRequest
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