Developer Knowledge V1 API - Class Google::Developers::DeveloperKnowledge::V1::Answer::AnswerCitation (v0.2.1)

Reference documentation and code samples for the Developer Knowledge V1 API class Google::Developers::DeveloperKnowledge::V1::Answer::AnswerCitation.

Citation info for a segment.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#end_index

def end_index() -> ::Integer
Returns
  • (::Integer) — Output only. Indicates the end of the segment, measured in bytes (UTF-8 unicode), exclusive. If there are multi-byte characters, such as non-ASCII characters, the index measurement is longer than the string length.

#sources

def sources() -> ::Array<::Google::Developers::DeveloperKnowledge::V1::Answer::CitationSource>
Returns

#start_index

def start_index() -> ::Integer
Returns
  • (::Integer) — Output only. Indicates the start of the segment, measured in bytes (UTF-8 unicode), inclusive. If there are multi-byte characters, such as non-ASCII characters, the index measurement is longer than the string length.