Struct google_api_proto::google::cloud::discoveryengine::v1alpha::Evaluation
source · pub struct Evaluation {
pub name: String,
pub evaluation_spec: Option<EvaluationSpec>,
pub quality_metrics: Option<QualityMetrics>,
pub state: i32,
pub error: Option<Status>,
pub create_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub error_samples: Vec<Status>,
}
Expand description
An evaluation is a single execution (or run) of an evaluation process. It encapsulates the state of the evaluation and the resulting data.
Fields§
§name: String
Identifier. The full resource name of the
[Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation], in the
format of
projects/{project}/locations/{location}/evaluations/{evaluation}
.
This field must be a UTF-8 encoded string with a length limit of 1024 characters.
evaluation_spec: Option<EvaluationSpec>
Required. The specification of the evaluation.
quality_metrics: Option<QualityMetrics>
Output only. The metrics produced by the evaluation, averaged across all [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]s in the [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet].
Only populated when the evaluation’s state is SUCCEEDED.
state: i32
Output only. The state of the evaluation.
error: Option<Status>
Output only. The error that occurred during evaluation. Only populated when the evaluation’s state is FAILED.
create_time: Option<Timestamp>
Output only. Timestamp the [Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation] was created at.
end_time: Option<Timestamp>
Output only. Timestamp the [Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation] was completed at.
error_samples: Vec<Status>
Output only. A sample of errors encountered while processing the request.
Implementations§
Trait Implementations§
source§impl Clone for Evaluation
impl Clone for Evaluation
source§fn clone(&self) -> Evaluation
fn clone(&self) -> Evaluation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Evaluation
impl Debug for Evaluation
source§impl Default for Evaluation
impl Default for Evaluation
source§impl Message for Evaluation
impl Message for Evaluation
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 Evaluation
impl PartialEq for Evaluation
source§fn eq(&self, other: &Evaluation) -> bool
fn eq(&self, other: &Evaluation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Evaluation
Auto Trait Implementations§
impl Freeze for Evaluation
impl RefUnwindSafe for Evaluation
impl Send for Evaluation
impl Sync for Evaluation
impl Unpin for Evaluation
impl UnwindSafe for Evaluation
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