Class: Google::Apis::DeveloperknowledgeV1alpha::BatchGetDocumentsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/developerknowledge_v1alpha/classes.rb,
lib/google/apis/developerknowledge_v1alpha/representations.rb,
lib/google/apis/developerknowledge_v1alpha/representations.rb

Overview

Response message for DeveloperKnowledge.BatchGetDocuments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchGetDocumentsResponse

Returns a new instance of BatchGetDocumentsResponse.



157
158
159
# File 'lib/google/apis/developerknowledge_v1alpha/classes.rb', line 157

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#documentsArray<Google::Apis::DeveloperknowledgeV1alpha::Document>

Contains the documents requested. Corresponds to the JSON property documents



155
156
157
# File 'lib/google/apis/developerknowledge_v1alpha/classes.rb', line 155

def documents
  @documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



162
163
164
# File 'lib/google/apis/developerknowledge_v1alpha/classes.rb', line 162

def update!(**args)
  @documents = args[:documents] if args.key?(:documents)
end