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.



187
188
189
# File 'lib/google/apis/developerknowledge_v1alpha/classes.rb', line 187

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

Instance Attribute Details

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

Contains the documents requested. Corresponds to the JSON property documents



185
186
187
# File 'lib/google/apis/developerknowledge_v1alpha/classes.rb', line 185

def documents
  @documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



192
193
194
# File 'lib/google/apis/developerknowledge_v1alpha/classes.rb', line 192

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