Class: Google::Cloud::DiscoveryEngine::V1beta::Answer::Reference::UnstructuredDocumentInfo

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

Overview

Unstructured document information.

Defined Under Namespace

Classes: ChunkContent

Instance Attribute Summary collapse

Instance Attribute Details

#chunk_contents::Array<::Google::Cloud::DiscoveryEngine::V1beta::Answer::Reference::UnstructuredDocumentInfo::ChunkContent>

Returns List of cited chunk contents derived from document content.

Returns:



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# File 'proto_docs/google/cloud/discoveryengine/v1beta/answer.rb', line 117

class UnstructuredDocumentInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Chunk content.
  # @!attribute [rw] content
  #   @return [::String]
  #     Chunk textual content.
  # @!attribute [rw] page_identifier
  #   @return [::String]
  #     Page identifier.
  class ChunkContent
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#document::String

Returns Document resource name.

Returns:

  • (::String)

    Document resource name.



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# File 'proto_docs/google/cloud/discoveryengine/v1beta/answer.rb', line 117

class UnstructuredDocumentInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Chunk content.
  # @!attribute [rw] content
  #   @return [::String]
  #     Chunk textual content.
  # @!attribute [rw] page_identifier
  #   @return [::String]
  #     Page identifier.
  class ChunkContent
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#struct_data::Google::Protobuf::Struct

Returns The structured JSON metadata for the document. It is populated from the struct data from the Chunk in search result.

Returns:

  • (::Google::Protobuf::Struct)

    The structured JSON metadata for the document. It is populated from the struct data from the Chunk in search result.



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# File 'proto_docs/google/cloud/discoveryengine/v1beta/answer.rb', line 117

class UnstructuredDocumentInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Chunk content.
  # @!attribute [rw] content
  #   @return [::String]
  #     Chunk textual content.
  # @!attribute [rw] page_identifier
  #   @return [::String]
  #     Page identifier.
  class ChunkContent
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#title::String

Returns Title.

Returns:

  • (::String)

    Title.



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# File 'proto_docs/google/cloud/discoveryengine/v1beta/answer.rb', line 117

class UnstructuredDocumentInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Chunk content.
  # @!attribute [rw] content
  #   @return [::String]
  #     Chunk textual content.
  # @!attribute [rw] page_identifier
  #   @return [::String]
  #     Page identifier.
  class ChunkContent
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#uri::String

Returns URI for the document.

Returns:

  • (::String)

    URI for the document.



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# File 'proto_docs/google/cloud/discoveryengine/v1beta/answer.rb', line 117

class UnstructuredDocumentInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Chunk content.
  # @!attribute [rw] content
  #   @return [::String]
  #     Chunk textual content.
  # @!attribute [rw] page_identifier
  #   @return [::String]
  #     Page identifier.
  class ChunkContent
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end