AssistAnswer(mapping=None, *, ignore_unknown_fields=False, **kwargs)AssistAnswer resource, main part of AssistResponse.
Attributes |
|
|---|---|
| Name | Description |
name |
str
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.
|
state |
google.cloud.discoveryengine_v1.types.AssistAnswer.State
State of the answer generation. |
connector_display_names |
MutableMapping[str, str]
Output only. Maps an internal connector agent name (the machine identifier embedded in tool names, e.g. custom_mcp_) 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.
|
replies |
MutableSequence[google.cloud.discoveryengine_v1.types.AssistAnswer.Reply]
Replies of the assistant. |
assist_skipped_reasons |
MutableSequence[google.cloud.discoveryengine_v1.types.AssistAnswer.AssistSkippedReason]
Reasons for not answering the assist call. |
customer_policy_enforcement_result |
google.cloud.discoveryengine_v1.types.AssistAnswer.CustomerPolicyEnforcementResult
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. |
Classes
AssistSkippedReason
AssistSkippedReason(value)Possible reasons for not answering an assist call.
ConnectorDisplayNamesEntry
ConnectorDisplayNamesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
CustomerPolicyEnforcementResult
CustomerPolicyEnforcementResult(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)Customer policy enforcement results. Contains the results of the various policy checks, like the banned phrases or the Model Armor checks.
Reply
Reply(mapping=None, *, ignore_unknown_fields=False, **kwargs)One part of the multi-part response of the assist call.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
State
State(value)State of the answer generation.