Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaControlPromoteAction
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaControlPromoteAction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Promote certain links based on some trigger queries. Example: Promote shoe
store link when searching for shoe
keyword. The link can be outside of
associated data store.
Instance Attribute Summary collapse
-
#data_store ⇒ String
Required.
-
#search_link_promotion ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchLinkPromotion
Promotion proto includes uri and other helping information to display the promotion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaControlPromoteAction
constructor
A new instance of GoogleCloudDiscoveryengineV1betaControlPromoteAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaControlPromoteAction
Returns a new instance of GoogleCloudDiscoveryengineV1betaControlPromoteAction.
18839 18840 18841 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 18839 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_store ⇒ String
Required. Data store with which this promotion is attached to.
Corresponds to the JSON property dataStore
18831 18832 18833 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 18831 def data_store @data_store end |
#search_link_promotion ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchLinkPromotion
Promotion proto includes uri and other helping information to display the
promotion.
Corresponds to the JSON property searchLinkPromotion
18837 18838 18839 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 18837 def search_link_promotion @search_link_promotion end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18844 18845 18846 18847 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 18844 def update!(**args) @data_store = args[:data_store] if args.key?(:data_store) @search_link_promotion = args[:search_link_promotion] if args.key?(:search_link_promotion) end |