Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::AssistantGroundedContent::TextGroundingMetadata::Reference (v2.15.0)

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

Referenced content and related document metadata.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#chunk_metadata

def chunk_metadata() -> ::Google::Protobuf::Struct
Returns

#code_snippet

def code_snippet() -> ::String
Returns
  • (::String) — Chunk of code snippet from the referenced document.

#code_snippet=

def code_snippet=(value) -> ::String
Parameter
  • value (::String) — Chunk of code snippet from the referenced document.
Returns
  • (::String) — Chunk of code snippet from the referenced document.

#content

def content() -> ::String
Returns
  • (::String) — Referenced text content.

#content=

def content=(value) -> ::String
Parameter
  • value (::String) — Referenced text content.
Returns
  • (::String) — Referenced text content.

#document_metadata

def document_metadata() -> ::Google::Cloud::DiscoveryEngine::V1::AssistantGroundedContent::TextGroundingMetadata::Reference::DocumentMetadata

#document_metadata=

def document_metadata=(value) -> ::Google::Cloud::DiscoveryEngine::V1::AssistantGroundedContent::TextGroundingMetadata::Reference::DocumentMetadata