Safety Attribute categories and their associated confidence
scores.
SummarySkippedReason
SummarySkippedReason(value)
An Enum for summary-skipped reasons.
Only used when
<xref uid="google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec.ignore_adversarial_query">SummarySpec.ignore_adversarial_query</xref>
is set to `true`.
NON_SUMMARY_SEEKING_QUERY_IGNORED (2):
The non-summary seeking query ignored case.
Only used when
<xref uid="google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec.ignore_non_summary_seeking_query">SummarySpec.ignore_non_summary_seeking_query</xref>
is set to `true`.
OUT_OF_DOMAIN_QUERY_IGNORED (3):
The out-of-domain query ignored case.
Google skips the summary if there are no
high-relevance search results. For example, the
data store contains facts about company A but
the user query is asking questions about company
B.
POTENTIAL_POLICY_VIOLATION (4):
The potential policy violation case.
Google skips the summary if there is a potential
policy violation detected. This includes content
that may be violent or toxic.
LLM_ADDON_NOT_ENABLED (5):
The LLM addon not enabled case.
Google skips the summary if the LLM addon is not
enabled.
NO_RELEVANT_CONTENT (6):
The no relevant content case.
Google skips the summary if there is no relevant
content in the retrieved search results.
JAIL_BREAKING_QUERY_IGNORED (7):
The jail-breaking query ignored case.
For example, "Reply in the tone of a competing company's
CEO". Only used when
[SearchRequest.ContentSearchSpec.SummarySpec.ignore_jail_breaking_query]
is set to `true`.
CUSTOMER_POLICY_VIOLATION (8):
The customer policy violation case.
Google skips the summary if there is a customer
policy violation detected. The policy is defined
by the customer.
NON_SUMMARY_SEEKING_QUERY_IGNORED_V2 (9):
The non-answer seeking query ignored case.
Only used when
[SearchRequest.ContentSearchSpec.SummarySpec.ignore_non_answer_seeking_query]
is set to `true`.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class Summary (0.13.11)\n\nVersion latestkeyboard_arrow_down\n\n- [0.13.11 (latest)](/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1alpha.types.SearchResponse.Summary)\n- [0.13.10](/python/docs/reference/discoveryengine/0.13.10/google.cloud.discoveryengine_v1alpha.types.SearchResponse.Summary)\n- [0.12.3](/python/docs/reference/discoveryengine/0.12.3/google.cloud.discoveryengine_v1alpha.types.SearchResponse.Summary)\n- [0.11.14](/python/docs/reference/discoveryengine/0.11.14/google.cloud.discoveryengine_v1alpha.types.SearchResponse.Summary)\n- [0.10.0](/python/docs/reference/discoveryengine/0.10.0/google.cloud.discoveryengine_v1alpha.types.SearchResponse.Summary)\n- [0.9.1](/python/docs/reference/discoveryengine/0.9.1/google.cloud.discoveryengine_v1alpha.types.SearchResponse.Summary)\n- [0.8.1](/python/docs/reference/discoveryengine/0.8.1/google.cloud.discoveryengine_v1alpha.types.SearchResponse.Summary)\n- [0.7.0](/python/docs/reference/discoveryengine/0.7.0/google.cloud.discoveryengine_v1alpha.types.SearchResponse.Summary)\n- [0.6.0](/python/docs/reference/discoveryengine/0.6.0/google.cloud.discoveryengine_v1alpha.types.SearchResponse.Summary)\n- [0.5.0](/python/docs/reference/discoveryengine/0.5.0/google.cloud.discoveryengine_v1alpha.types.SearchResponse.Summary)\n- [0.4.1](/python/docs/reference/discoveryengine/0.4.1/google.cloud.discoveryengine_v1alpha.types.SearchResponse.Summary)\n- [0.3.1](/python/docs/reference/discoveryengine/0.3.1/google.cloud.discoveryengine_v1alpha.types.SearchResponse.Summary)\n- [0.2.1](/python/docs/reference/discoveryengine/0.2.1/google.cloud.discoveryengine_v1alpha.types.SearchResponse.Summary)\n- [0.1.1](/python/docs/reference/discoveryengine/0.1.1/google.cloud.discoveryengine_v1alpha.types.SearchResponse.Summary) \n\n Summary(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nSummary of the top N search results specified by the summary\nspec.\n\nClasses\n-------\n\n### Citation\n\n Citation(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nCitation info for a segment.\n\n### CitationMetadata\n\n CitationMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nCitation metadata.\n\n### CitationSource\n\n CitationSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nCitation source.\n\n### Reference\n\n Reference(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nDocument reference.\n\n### SafetyAttributes\n\n SafetyAttributes(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nSafety Attribute categories and their associated confidence\nscores.\n\n### SummarySkippedReason\n\n SummarySkippedReason(value)\n\nAn Enum for summary-skipped reasons. \n\n Only used when\n \u003cxref uid=\"google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec.ignore_adversarial_query\"\u003eSummarySpec.ignore_adversarial_query\u003c/xref\u003e\n is set to `true`.\n NON_SUMMARY_SEEKING_QUERY_IGNORED (2):\n The non-summary seeking query ignored case.\n\n Only used when\n \u003cxref uid=\"google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec.ignore_non_summary_seeking_query\"\u003eSummarySpec.ignore_non_summary_seeking_query\u003c/xref\u003e\n is set to `true`.\n OUT_OF_DOMAIN_QUERY_IGNORED (3):\n The out-of-domain query ignored case.\n\n Google skips the summary if there are no\n high-relevance search results. For example, the\n data store contains facts about company A but\n the user query is asking questions about company\n B.\n POTENTIAL_POLICY_VIOLATION (4):\n The potential policy violation case.\n\n Google skips the summary if there is a potential\n policy violation detected. This includes content\n that may be violent or toxic.\n LLM_ADDON_NOT_ENABLED (5):\n The LLM addon not enabled case.\n\n Google skips the summary if the LLM addon is not\n enabled.\n NO_RELEVANT_CONTENT (6):\n The no relevant content case.\n\n Google skips the summary if there is no relevant\n content in the retrieved search results.\n JAIL_BREAKING_QUERY_IGNORED (7):\n The jail-breaking query ignored case.\n\n For example, \"Reply in the tone of a competing company's\n CEO\". Only used when\n [SearchRequest.ContentSearchSpec.SummarySpec.ignore_jail_breaking_query]\n is set to `true`.\n CUSTOMER_POLICY_VIOLATION (8):\n The customer policy violation case.\n\n Google skips the summary if there is a customer\n policy violation detected. The policy is defined\n by the customer.\n NON_SUMMARY_SEEKING_QUERY_IGNORED_V2 (9):\n The non-answer seeking query ignored case.\n\n Only used when\n [SearchRequest.ContentSearchSpec.SummarySpec.ignore_non_answer_seeking_query]\n is set to `true`.\n\n### SummaryWithMetadata\n\n SummaryWithMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nSummary with metadata information."]]