Class: Google::Apis::DeveloperknowledgeV1::BatchGetDocumentsResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#documentsArray<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