Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListChunksResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListChunksResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Response message for ChunkService.ListChunks method.
Instance Attribute Summary collapse
-
#chunks ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk>
The Chunks.
-
#next_page_token ⇒ String
A token that can be sent as ListChunksRequest.page_token to retrieve the next page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListChunksResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaListChunksResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListChunksResponse
Returns a new instance of GoogleCloudDiscoveryengineV1alphaListChunksResponse.
8339 8340 8341 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8339 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chunks ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk>
The Chunks.
Corresponds to the JSON property chunks
8331 8332 8333 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8331 def chunks @chunks end |
#next_page_token ⇒ String
A token that can be sent as ListChunksRequest.page_token to retrieve the next
page. If this field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
8337 8338 8339 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8337 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8344 8345 8346 8347 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8344 def update!(**args) @chunks = args[:chunks] if args.key?(:chunks) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |