Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkChunkMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkChunkMetadata
- 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
Metadata of the current chunk. This field is only populated on SearchService. Search API.
Instance Attribute Summary collapse
-
#next_chunks ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunk>
The next chunks of the current chunk.
-
#previous_chunks ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunk>
The previous chunks of the current chunk.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaChunkChunkMetadata
constructor
A new instance of GoogleCloudDiscoveryengineV1betaChunkChunkMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaChunkChunkMetadata
Returns a new instance of GoogleCloudDiscoveryengineV1betaChunkChunkMetadata.
7223 7224 7225 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7223 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_chunks ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunk>
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
7214 7215 7216 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7214 def next_chunks @next_chunks end |
#previous_chunks ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunk>
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
7221 7222 7223 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7221 def previous_chunks @previous_chunks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7228 7229 7230 7231 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7228 def update!(**args) @next_chunks = args[:next_chunks] if args.key?(:next_chunks) @previous_chunks = args[:previous_chunks] if args.key?(:previous_chunks) end |