Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedOriginAppSuggestion

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

Overview

Stores the suggestion provided by apps/bots.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedOriginAppSuggestion

Returns a new instance of AppsDynamiteSharedOriginAppSuggestion.



1893
1894
1895
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1893

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

Instance Attribute Details

#app_idGoogle::Apis::CloudsearchV1::AppId

Identifier of an App. Corresponds to the JSON property appId



1886
1887
1888
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1886

def app_id
  @app_id
end

#card_click_suggestionGoogle::Apis::CloudsearchV1::AppsDynamiteSharedCardClickSuggestion

Card click which identifies one suggestion provided by the app/bot. Corresponds to the JSON property cardClickSuggestion



1891
1892
1893
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1891

def card_click_suggestion
  @card_click_suggestion
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1898
1899
1900
1901
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1898

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