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:



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

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.



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

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.



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

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.



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

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