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.



91
92
93
# File 'lib/google/apis/developerknowledge_v1alpha/classes.rb', line 91

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

Instance Attribute Details

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

Contains the documents requested. Corresponds to the JSON property documents



89
90
91
# File 'lib/google/apis/developerknowledge_v1alpha/classes.rb', line 89

def documents
  @documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



96
97
98
# File 'lib/google/apis/developerknowledge_v1alpha/classes.rb', line 96

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