Class: Google::Apis::CloudsearchV1::ResultDisplayLine
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ResultDisplayLine
- 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
-
#fields ⇒ Array<Google::Apis::CloudsearchV1::ResultDisplayField>
Corresponds to the JSON property
fields
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResultDisplayLine
constructor
A new instance of ResultDisplayLine.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResultDisplayLine
Returns a new instance of ResultDisplayLine.
4098 4099 4100 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4098 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fields ⇒ Array<Google::Apis::CloudsearchV1::ResultDisplayField>
Corresponds to the JSON property fields
4096 4097 4098 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4096 def fields @fields end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4103 4104 4105 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4103 def update!(**args) @fields = args[:fields] if args.key?(:fields) end |