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.



2984
2985
2986
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2984

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

Instance Attribute Details

#app_idGoogle::Apis::CloudsearchV1::AppId

Identifier of an App. Corresponds to the JSON property appId



2977
2978
2979
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2977

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



2982
2983
2984
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2982

def card_click_suggestion
  @card_click_suggestion
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2989
2990
2991
2992
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2989

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