Gemini Enterprise for Customer Experience v1beta API - Class EvaluationExpectation (1.0.0-beta01)

public sealed class EvaluationExpectation : IMessage<EvaluationExpectation>, IEquatable<EvaluationExpectation>, IDeepCloneable<EvaluationExpectation>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class EvaluationExpectation.

An evaluation expectation represents a specific criteria to evaluate against.

Inheritance

object > EvaluationExpectation

Namespace

Google.Cloud.Ces.V1Beta

Assembly

Google.Cloud.Ces.V1Beta.dll

Constructors

EvaluationExpectation()

public EvaluationExpectation()

EvaluationExpectation(EvaluationExpectation)

public EvaluationExpectation(EvaluationExpectation other)
Parameter
Name Description
other EvaluationExpectation

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Timestamp when the evaluation expectation was created.

Property Value
Type Description
Timestamp

CriteriaCase

public EvaluationExpectation.CriteriaOneofCase CriteriaCase { get; }
Property Value
Type Description
EvaluationExpectationCriteriaOneofCase

DisplayName

public string DisplayName { get; set; }

Required. User-defined display name. Must be unique within the app.

Property Value
Type Description
string

Etag

public string Etag { get; set; }

Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.

Property Value
Type Description
string

EvaluationExpectationName

public EvaluationExpectationName EvaluationExpectationName { get; set; }

EvaluationExpectationName-typed view over the Name resource name property.

Property Value
Type Description
EvaluationExpectationName

LlmCriteria

public EvaluationExpectation.Types.LlmCriteria LlmCriteria { get; set; }

Optional. Evaluation criteria based on an LLM prompt.

Property Value
Type Description
EvaluationExpectationTypesLlmCriteria

Name

public string Name { get; set; }

Identifier. The unique identifier of this evaluation expectation. Format: projects/{project}/locations/{location}/apps/{app}/evaluationExpectations/{evaluation_expectation}

Property Value
Type Description
string

Tags

public RepeatedField<string> Tags { get; }

Optional. User-defined tags for expectations. Can be used to filter expectations.

Property Value
Type Description
RepeatedFieldstring

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Timestamp when the evaluation expectation was last updated.

Property Value
Type Description
Timestamp