Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1Answer

Defines an answer.

Inheritance
object
GoogleCloudDiscoveryengineV1Answer
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1.Data
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class GoogleCloudDiscoveryengineV1Answer : IDirectResponseSchema

Properties

AnswerSkippedReasons

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

Declaration
[JsonProperty("answerSkippedReasons")]
public virtual IList<string> AnswerSkippedReasons { get; set; }
Property Value
Type Description
IList<string>

AnswerText

The textual answer.

Declaration
[JsonProperty("answerText")]
public virtual string AnswerText { get; set; }
Property Value
Type Description
string

Citations

Citations.

Declaration
[JsonProperty("citations")]
public virtual IList<GoogleCloudDiscoveryengineV1AnswerCitation> Citations { get; set; }
Property Value
Type Description
IList<GoogleCloudDiscoveryengineV1AnswerCitation>

CompleteTime

object representation of CompleteTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CompleteTimeDateTimeOffset instead.")]
public virtual object CompleteTime { get; set; }
Property Value
Type Description
object

CompleteTimeDateTimeOffset

DateTimeOffset representation of CompleteTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CompleteTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CompleteTimeRaw

Output only. Answer completed timestamp.

Declaration
[JsonProperty("completeTime")]
public virtual string CompleteTimeRaw { get; set; }
Property Value
Type Description
string

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. Answer creation timestamp.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

GroundingScore

A score in the range of [0, 1] describing how grounded the answer is by the reference chunks.

Declaration
[JsonProperty("groundingScore")]
public virtual double? GroundingScore { get; set; }
Property Value
Type Description
double?

GroundingSupports

Optional. Grounding supports.

Declaration
[JsonProperty("groundingSupports")]
public virtual IList<GoogleCloudDiscoveryengineV1AnswerGroundingSupport> GroundingSupports { get; set; }
Property Value
Type Description
IList<GoogleCloudDiscoveryengineV1AnswerGroundingSupport>

Name

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

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

QueryUnderstandingInfo

Query understanding information.

Declaration
[JsonProperty("queryUnderstandingInfo")]
public virtual GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo QueryUnderstandingInfo { get; set; }
Property Value
Type Description
GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo

References

References.

Declaration
[JsonProperty("references")]
public virtual IList<GoogleCloudDiscoveryengineV1AnswerReference> References { get; set; }
Property Value
Type Description
IList<GoogleCloudDiscoveryengineV1AnswerReference>

RelatedQuestions

Suggested related questions.

Declaration
[JsonProperty("relatedQuestions")]
public virtual IList<string> RelatedQuestions { get; set; }
Property Value
Type Description
IList<string>

SafetyRatings

Optional. Safety ratings.

Declaration
[JsonProperty("safetyRatings")]
public virtual IList<GoogleCloudDiscoveryengineV1SafetyRating> SafetyRatings { get; set; }
Property Value
Type Description
IList<GoogleCloudDiscoveryengineV1SafetyRating>

State

The state of the answer generation.

Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type Description
string

Steps

Answer generation steps.

Declaration
[JsonProperty("steps")]
public virtual IList<GoogleCloudDiscoveryengineV1AnswerStep> Steps { get; set; }
Property Value
Type Description
IList<GoogleCloudDiscoveryengineV1AnswerStep>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX