Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb

Overview

Chunk content.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent

Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent.



31949
31950
31951
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 31949

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#blob_attachment_indexesArray<Fixnum>

Output only. Stores indexes of blobattachments linked to this chunk. Corresponds to the JSON property blobAttachmentIndexes

Returns:

  • (Array<Fixnum>)


31937
31938
31939
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 31937

def blob_attachment_indexes
  @blob_attachment_indexes
end

#contentString

Chunk textual content. Corresponds to the JSON property content

Returns:

  • (String)


31942
31943
31944
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 31942

def content
  @content
end

#page_identifierString

Page identifier. Corresponds to the JSON property pageIdentifier

Returns:

  • (String)


31947
31948
31949
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 31947

def page_identifier
  @page_identifier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31954
31955
31956
31957
31958
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 31954

def update!(**args)
  @blob_attachment_indexes = args[:blob_attachment_indexes] if args.key?(:blob_attachment_indexes)
  @content = args[:content] if args.key?(:content)
  @page_identifier = args[:page_identifier] if args.key?(:page_identifier)
end