proto_docs/google/cloud/discoveryengine/v1/answer.rb in google-cloud-discovery_engine-v1-0.8.0 vs proto_docs/google/cloud/discoveryengine/v1/answer.rb in google-cloud-discovery_engine-v1-0.9.0

- old
+ new

@@ -233,10 +233,17 @@ # level snippets. # @!attribute [rw] chunk_info # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::Answer::Step::Action::Observation::SearchResult::ChunkInfo>] # If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, # populate chunk info. + # @!attribute [rw] struct_data + # @return [::Google::Protobuf::Struct] + # Data representation. + # The structured JSON data for the document. + # It's populated from the struct data from the Document (code + # pointer: http://shortn/_objzAfIiHq), or the Chunk in search result + # (code pointer: http://shortn/_Ipo6KFFGBL). class SearchResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Snippet information. @@ -352,9 +359,15 @@ # The potential policy violation case. # # Google skips the answer if there is a potential policy violation # detected. This includes content that may be violent or toxic. POTENTIAL_POLICY_VIOLATION = 4 + + # The no relevant content case. + # + # Google skips the answer if there is no relevant content in the + # retrieved search results. + NO_RELEVANT_CONTENT = 5 end end end end end