Class: Google::Apis::CloudsearchV1::ResultDisplayMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ResultDisplayMetadata
- 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
Instance Attribute Summary collapse
-
#metalines ⇒ Array<Google::Apis::CloudsearchV1::ResultDisplayLine>
The metalines content to be displayed with the result.
-
#object_type_label ⇒ String
The display label for the object.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResultDisplayMetadata
constructor
A new instance of ResultDisplayMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResultDisplayMetadata
Returns a new instance of ResultDisplayMetadata.
6658 6659 6660 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6658 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metalines ⇒ Array<Google::Apis::CloudsearchV1::ResultDisplayLine>
The metalines content to be displayed with the result.
Corresponds to the JSON property metalines
6651 6652 6653 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6651 def @metalines end |
#object_type_label ⇒ String
The display label for the object.
Corresponds to the JSON property objectTypeLabel
6656 6657 6658 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6656 def object_type_label @object_type_label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6663 6664 6665 6666 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6663 def update!(**args) @metalines = args[:metalines] if args.key?(:metalines) @object_type_label = args[:object_type_label] if args.key?(:object_type_label) end |