Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListDocumentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListDocumentsResponse
- 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 DocumentService.ListDocuments method.
Instance Attribute Summary collapse
-
#documents ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument>
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) ⇒ GoogleCloudDiscoveryengineV1alphaListDocumentsResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaListDocumentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListDocumentsResponse
Returns a new instance of GoogleCloudDiscoveryengineV1alphaListDocumentsResponse.
4058 4059 4060 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4058 def initialize(**args) update!(**args) end |
Instance Attribute Details
#documents ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument>
The Documents.
Corresponds to the JSON property documents
4050 4051 4052 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4050 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
4056 4057 4058 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4056 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4063 4064 4065 4066 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4063 def update!(**args) @documents = args[:documents] if args.key?(:documents) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |