Discovery Engine v1beta API - Class AssistAnswer (1.0.0-beta24)

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

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

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

Inheritance

object > AssistAnswer

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.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

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