Class: Google::Apis::CloudsearchV1::ResultDisplayLine

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

Overview

The collection of fields that make up a displayed line

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResultDisplayLine

Returns a new instance of ResultDisplayLine.



6601
6602
6603
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6601

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

Instance Attribute Details

#fieldsArray<Google::Apis::CloudsearchV1::ResultDisplayField>

Corresponds to the JSON property fields



6599
6600
6601
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6599

def fields
  @fields
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6606
6607
6608
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6606

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