Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListDocumentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListDocumentsResponse
- 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
Response message for DocumentService.ListDocuments method.
Instance Attribute Summary collapse
-
#documents ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument>
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) ⇒ GoogleCloudDiscoveryengineV1betaListDocumentsResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1betaListDocumentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaListDocumentsResponse
Returns a new instance of GoogleCloudDiscoveryengineV1betaListDocumentsResponse.
9966 9967 9968 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9966 def initialize(**args) update!(**args) end |
Instance Attribute Details
#documents ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument>
The Documents.
Corresponds to the JSON property documents
9958 9959 9960 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9958 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
9964 9965 9966 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9964 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9971 9972 9973 9974 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9971 def update!(**args) @documents = args[:documents] if args.key?(:documents) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |