class Google::Apis::KgsearchV1::SearchResponse

Response message includes the context and a list of matching results which contain the detail of associated entities.

Attributes

_context[RW]

The local context applicable for the response. See more details at www. w3.org/TR/json-ld/#context-definitions. Corresponds to the JSON property `@context` @return [Object]

_type[RW]

The schema type of top-level JSON-LD object, e.g. ItemList. Corresponds to the JSON property `@type` @return [Object]

item_list_element[RW]

The item list of search results. Corresponds to the JSON property `itemListElement` @return [Array<Object>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/kgsearch_v1/classes.rb, line 46
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/kgsearch_v1/classes.rb, line 51
def update!(**args)
  @_context = args[:_context] if args.key?(:_context)
  @_type = args[:_type] if args.key?(:_type)
  @item_list_element = args[:item_list_element] if args.key?(:item_list_element)
end