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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/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

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ResultDisplayLine

Returns a new instance of ResultDisplayLine.



3727
3728
3729
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3727

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

Instance Attribute Details

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

Corresponds to the JSON property fields



3725
3726
3727
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3725

def fields
  @fields
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3732
3733
3734
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3732

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