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.



13331
13332
13333
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13331

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


13329
13330
13331
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13329

def matching_image_reference_key
  @matching_image_reference_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13336
13337
13338
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13336

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