Class: Google::Cloud::DiscoveryEngine::V1::Answer::Citation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1/answer.rb

Overview

Citation info for a segment.

Instance Attribute Summary collapse

Instance Attribute Details

#end_index::Integer

Returns End of the attributed segment, exclusive.

Returns:

  • (::Integer)

    End of the attributed segment, exclusive.



75
76
77
78
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 75

class Citation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#sources::Array<::Google::Cloud::DiscoveryEngine::V1::Answer::CitationSource>

Returns Citation sources for the attributed segment.

Returns:



75
76
77
78
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 75

class Citation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#start_index::Integer

Returns Index indicates the start of the segment, measured in bytes (UTF-8 unicode).

Returns:

  • (::Integer)

    Index indicates the start of the segment, measured in bytes (UTF-8 unicode).



75
76
77
78
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 75

class Citation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end