Class: Google::Apis::CloudsearchV1::ResultDisplayMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResultDisplayMetadata

Returns a new instance of ResultDisplayMetadata.



4122
4123
4124
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4122

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

Instance Attribute Details

#metalinesArray<Google::Apis::CloudsearchV1::ResultDisplayLine>

The metalines content to be displayed with the result. Corresponds to the JSON property metalines



4115
4116
4117
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4115

def metalines
  @metalines
end

#object_type_labelString

The display label for the object. Corresponds to the JSON property objectTypeLabel

Returns:

  • (String)


4120
4121
4122
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4120

def object_type_label
  @object_type_label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4127
4128
4129
4130
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4127

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