Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListDocumentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListDocumentsResponse
- 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
Response message for DocumentService.ListDocuments method.
Instance Attribute Summary collapse
-
#documents ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Document>
The Documents.
-
#next_page_token ⇒ String
A token that can be sent as ListDocumentsRequest.page_token to retrieve the next page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ListDocumentsResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1ListDocumentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ListDocumentsResponse
Returns a new instance of GoogleCloudDiscoveryengineV1ListDocumentsResponse.
5353 5354 5355 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5353 def initialize(**args) update!(**args) end |
Instance Attribute Details
#documents ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Document>
The Documents.
Corresponds to the JSON property documents
5345 5346 5347 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5345 def documents @documents end |
#next_page_token ⇒ String
A token that can be sent as ListDocumentsRequest.page_token to retrieve the
next page. If this field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
5351 5352 5353 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5351 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5358 5359 5360 5361 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5358 def update!(**args) @documents = args[:documents] if args.key?(:documents) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |