Struct google_api_proto::google::cloud::dialogflow::cx::v3::CompareVersionsRequest
source · pub struct CompareVersionsRequest {
pub base_version: String,
pub target_version: String,
pub language_code: String,
}
Expand description
The request message for [Versions.CompareVersions][google.cloud.dialogflow.cx.v3.Versions.CompareVersions].
Fields§
§base_version: String
Required. Name of the base flow version to compare with the target version.
Use version ID 0
to indicate the draft version of the specified flow.
Format: projects/<Project ID>/locations/<Location ID>/agents/ <Agent ID>/flows/<Flow ID>/versions/<Version ID>
.
target_version: String
Required. Name of the target flow version to compare with the
base version. Use version ID 0
to indicate the draft version of the
specified flow. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>
.
language_code: String
The language to compare the flow versions for.
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 CompareVersionsRequest
impl Clone for CompareVersionsRequest
source§fn clone(&self) -> CompareVersionsRequest
fn clone(&self) -> CompareVersionsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CompareVersionsRequest
impl Debug for CompareVersionsRequest
source§impl Default for CompareVersionsRequest
impl Default for CompareVersionsRequest
source§impl Message for CompareVersionsRequest
impl Message for CompareVersionsRequest
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 CompareVersionsRequest
impl PartialEq for CompareVersionsRequest
source§fn eq(&self, other: &CompareVersionsRequest) -> bool
fn eq(&self, other: &CompareVersionsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CompareVersionsRequest
Auto Trait Implementations§
impl Freeze for CompareVersionsRequest
impl RefUnwindSafe for CompareVersionsRequest
impl Send for CompareVersionsRequest
impl Sync for CompareVersionsRequest
impl Unpin for CompareVersionsRequest
impl UnwindSafe for CompareVersionsRequest
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