Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::AssistantGroundedContent::TextGroundingMetadata::Reference (v0.28.0)

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

Referenced content and related document metadata.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#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::V1beta::AssistantGroundedContent::TextGroundingMetadata::Reference::DocumentMetadata

#document_metadata=

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