Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkChunkMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkChunkMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Metadata of the current chunk. This field is only populated on SearchService. Search API.
Instance Attribute Summary collapse
-
#next_chunks ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk>
The next chunks of the current chunk.
-
#previous_chunks ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk>
The previous chunks of the current chunk.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ChunkChunkMetadata
constructor
A new instance of GoogleCloudDiscoveryengineV1ChunkChunkMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ChunkChunkMetadata
Returns a new instance of GoogleCloudDiscoveryengineV1ChunkChunkMetadata.
2316 2317 2318 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2316 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_chunks ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk>
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks. This field is only
populated on SearchService.Search API.
Corresponds to the JSON property nextChunks
2307 2308 2309 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2307 def next_chunks @next_chunks end |
#previous_chunks ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk>
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks. This field is
only populated on SearchService.Search API.
Corresponds to the JSON property previousChunks
2314 2315 2316 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2314 def previous_chunks @previous_chunks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2321 2322 2323 2324 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2321 def update!(**args) @next_chunks = args[:next_chunks] if args.key?(:next_chunks) @previous_chunks = args[:previous_chunks] if args.key?(:previous_chunks) end |