Discovery Engine v1 API - Class AssistAnswer (1.17.0)

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

Reference documentation and code samples for the Discovery Engine v1 API class AssistAnswer.

AssistAnswer resource, main part of [AssistResponse][google.cloud.discoveryengine.v1.AssistResponse].

Inheritance

object > AssistAnswer

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

AssistAnswer()

public AssistAnswer()

AssistAnswer(AssistAnswer)

public AssistAnswer(AssistAnswer other)
Parameter
Name Description
other AssistAnswer

Properties

AssistAnswerName

public AssistAnswerName AssistAnswerName { get; set; }

AssistAnswerName-typed view over the Name resource name property.

Property Value
Type Description
AssistAnswerName

AssistSkippedReasons

public RepeatedField<AssistAnswer.Types.AssistSkippedReason> AssistSkippedReasons { get; }

Reasons for not answering the assist call.

Property Value
Type Description
RepeatedFieldAssistAnswerTypesAssistSkippedReason

ConnectorDisplayNames

public MapField<string, string> ConnectorDisplayNames { get; }

Output only. Maps an internal connector agent name (the machine identifier embedded in tool names, e.g. custom_mcp_<fingerprint>_agent) to the connector's human-readable display name. Populated at serving time for custom MCP / agent gateway connectors so user-facing surfaces (e.g. the tool-call chip) can show the connector name instead of its internal identifier. Empty when there are no such connectors.

Property Value
Type Description
MapFieldstringstring

CustomerPolicyEnforcementResult

public AssistAnswer.Types.CustomerPolicyEnforcementResult CustomerPolicyEnforcementResult { get; set; }

Optional. The field contains information about the various policy checks' results like the banned phrases or the Model Armor checks. This field is populated only if the assist call was skipped due to a policy violation.

Property Value
Type Description
AssistAnswerTypesCustomerPolicyEnforcementResult

Name

public string Name { get; set; }

Immutable. Identifier. Resource name of the AssistAnswer. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}

This field must be a UTF-8 encoded string with a length limit of 1024 characters.

Property Value
Type Description
string

Replies

public RepeatedField<AssistAnswer.Types.Reply> Replies { get; }

Replies of the assistant.

Property Value
Type Description
RepeatedFieldAssistAnswerTypesReply

State

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

State of the answer generation.

Property Value
Type Description
AssistAnswerTypesState