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

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

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) ⇒ ResultDisplayMetadata

Returns a new instance of ResultDisplayMetadata



3443
3444
3445
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3443

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



3436
3437
3438
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3436

def metalines
  @metalines
end

#object_type_labelString

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

Returns:

  • (String)


3441
3442
3443
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3441

def object_type_label
  @object_type_label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3448
3449
3450
3451
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3448

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