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.



13408
13409
13410
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13408

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


13406
13407
13408
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13406

def matching_image_reference_key
  @matching_image_reference_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13413
13414
13415
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13413

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