0.20.1 (latest) 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.12 0.12.3 0.11.14 0.10.0 0.9.1 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.1 0.2.1 0.1.1

    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` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1beta.types.AssistAnswer.State` State of the answer generation. |
| `replies` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1beta.types.AssistAnswer.Reply]` Replies of the assistant. |
| `assist_skipped_reasons` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1beta.types.AssistAnswer.AssistSkippedReason]` Reasons for not answering the assist call. |
| `customer_policy_enforcement_result` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1beta.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.

### 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.