Class: Google::Apis::DeveloperknowledgeV1::BatchGetDocumentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DeveloperknowledgeV1::BatchGetDocumentsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/developerknowledge_v1/classes.rb,
lib/google/apis/developerknowledge_v1/representations.rb,
lib/google/apis/developerknowledge_v1/representations.rb
Overview
Response message for DeveloperKnowledge.BatchGetDocuments.
Instance Attribute Summary collapse
-
#documents ⇒ Array<Google::Apis::DeveloperknowledgeV1::Document>
Contains the documents requested.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchGetDocumentsResponse
constructor
A new instance of BatchGetDocumentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchGetDocumentsResponse
Returns a new instance of BatchGetDocumentsResponse.
34 35 36 |
# File 'lib/google/apis/developerknowledge_v1/classes.rb', line 34 def initialize(**args) update!(**args) end |
Instance Attribute Details
#documents ⇒ Array<Google::Apis::DeveloperknowledgeV1::Document>
Contains the documents requested.
Corresponds to the JSON property documents
32 33 34 |
# File 'lib/google/apis/developerknowledge_v1/classes.rb', line 32 def documents @documents end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
39 40 41 |
# File 'lib/google/apis/developerknowledge_v1/classes.rb', line 39 def update!(**args) @documents = args[:documents] if args.key?(:documents) end |