Class: Google::Apis::CloudsearchV1::Metaline
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::Metaline
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Overview
A metaline is a list of properties that are displayed along with the search result to provide context.
Instance Attribute Summary collapse
-
#properties ⇒ Array<Google::Apis::CloudsearchV1::DisplayedProperty>
The list of displayed properties for the metaline.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Metaline
constructor
A new instance of Metaline.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Metaline
Returns a new instance of Metaline
2124 2125 2126 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2124 def initialize(**args) update!(**args) end |
Instance Attribute Details
#properties ⇒ Array<Google::Apis::CloudsearchV1::DisplayedProperty>
The list of displayed properties for the metaline.
Corresponds to the JSON property properties
2122 2123 2124 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2122 def properties @properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2129 2130 2131 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2129 def update!(**args) @properties = args[:properties] if args.key?(:properties) end |