Discovery Engine v1beta API - Class Answer (1.0.0-beta15)

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

Reference documentation and code samples for the Discovery Engine v1beta API class Answer.

Defines an answer.

Inheritance

object > Answer

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

Answer()

public Answer()

Answer(Answer)

public Answer(Answer other)
Parameter
Name Description
other Answer

Properties

AnswerName

public AnswerName AnswerName { get; set; }

AnswerName-typed view over the Name resource name property.

Property Value
Type Description
AnswerName

AnswerSkippedReasons

public RepeatedField<Answer.Types.AnswerSkippedReason> AnswerSkippedReasons { get; }

Additional answer-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.

Property Value
Type Description
RepeatedFieldAnswerTypesAnswerSkippedReason

AnswerText

public string AnswerText { get; set; }

The textual answer.

Property Value
Type Description
string

Citations

public RepeatedField<Answer.Types.Citation> Citations { get; }

Citations.

Property Value
Type Description
RepeatedFieldAnswerTypesCitation

CompleteTime

public Timestamp CompleteTime { get; set; }

Output only. Answer completed timestamp.

Property Value
Type Description
Timestamp

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Answer creation timestamp.

Property Value
Type Description
Timestamp

Name

public string Name { get; set; }

Immutable. Fully qualified name projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*/answers/*

Property Value
Type Description
string

QueryUnderstandingInfo

public Answer.Types.QueryUnderstandingInfo QueryUnderstandingInfo { get; set; }

Query understanding information.

Property Value
Type Description
AnswerTypesQueryUnderstandingInfo

References

public RepeatedField<Answer.Types.Reference> References { get; }

References.

Property Value
Type Description
RepeatedFieldAnswerTypesReference

RelatedQuestions

public RepeatedField<string> RelatedQuestions { get; }

Suggested related questions.

Property Value
Type Description
RepeatedFieldstring

State

public Answer.Types.State State { get; set; }

The state of the answer generation.

Property Value
Type Description
AnswerTypesState

Steps

public RepeatedField<Answer.Types.Step> Steps { get; }

Answer generation steps.

Property Value
Type Description
RepeatedFieldAnswerTypesStep