Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class AssistAnswer.
AssistAnswer resource, main part of AssistResponse .
Generated from protobuf message google.cloud.discoveryengine.v1.AssistAnswer
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Immutable. 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.
↳ state
int
State of the answer generation.
↳ replies
↳ assist_skipped_reasons
array
Reasons for not answering the assist call.
getName
Immutable. 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.
string
setName
Immutable. 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.
var
string
$this
getState
State of the answer generation.
int
setState
State of the answer generation.
var
int
Enum of type State .
$this
getReplies
Replies of the assistant.
setReplies
Replies of the assistant.
$this
getAssistSkippedReasons
Reasons for not answering the assist call.
setAssistSkippedReasons
Reasons for not answering the assist call.
var
int[]
$this

