Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::GroundingFact (v0.9.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::GroundingFact.

Grounding Fact.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attributes

def attributes() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Attributes associated with the fact. Common attributes include source (indicating where the fact was sourced from), author (indicating the author of the fact), and so on.

#attributes=

def attributes=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Attributes associated with the fact. Common attributes include source (indicating where the fact was sourced from), author (indicating the author of the fact), and so on.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Attributes associated with the fact. Common attributes include source (indicating where the fact was sourced from), author (indicating the author of the fact), and so on.

#fact_text

def fact_text() -> ::String
Returns
  • (::String) — Text content of the fact. Can be at most 10K characters long.

#fact_text=

def fact_text=(value) -> ::String
Parameter
  • value (::String) — Text content of the fact. Can be at most 10K characters long.
Returns
  • (::String) — Text content of the fact. Can be at most 10K characters long.