Class: Google::Apis::CloudsearchV1::MatchInfo

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

Returns a new instance of MatchInfo.



12740
12741
12742
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12740

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

Instance Attribute Details

#matching_image_reference_keyArray<String>

Reference keys for image attachments that matches search query. Corresponds to the JSON property matchingImageReferenceKey

Returns:

  • (Array<String>)


12738
12739
12740
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12738

def matching_image_reference_key
  @matching_image_reference_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12745
12746
12747
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12745

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