Class: Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer::KnowledgeAnswer::GenerativeSource::Snippet

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/participant.rb

Overview

Snippet Source for a Generative Prediction.

Instance Attribute Summary collapse

Instance Attribute Details

#metadata::Google::Protobuf::Struct

Returns Metadata of the document.

Returns:



1155
1156
1157
1158
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 1155

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

#text::String

Returns Text taken from that URI.

Returns:

  • (::String)

    Text taken from that URI.



1155
1156
1157
1158
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 1155

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

#title::String

Returns Title of the document.

Returns:

  • (::String)

    Title of the document.



1155
1156
1157
1158
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 1155

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

#uri::String

Returns URI the data is sourced from.

Returns:

  • (::String)

    URI the data is sourced from.



1155
1156
1157
1158
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 1155

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