Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRemoveSuggestionRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRemoveSuggestionRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Request message for CompletionService.RemoveSuggestion method.
Instance Attribute Summary collapse
-
#remove_all_search_history_suggestions ⇒ Boolean
(also: #remove_all_search_history_suggestions?)
Remove all search history suggestions for the user.
-
#remove_time ⇒ String
Required.
-
#search_history_suggestion ⇒ String
The search history suggestion to be removed.
-
#user_info ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserInfo
Information of an end user.
-
#user_pseudo_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaRemoveSuggestionRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1betaRemoveSuggestionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaRemoveSuggestionRequest
Returns a new instance of GoogleCloudDiscoveryengineV1betaRemoveSuggestionRequest.
29197 29198 29199 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 29197 def initialize(**args) update!(**args) end |
Instance Attribute Details
#remove_all_search_history_suggestions ⇒ Boolean Also known as: remove_all_search_history_suggestions?
Remove all search history suggestions for the user.
Corresponds to the JSON property removeAllSearchHistorySuggestions
29167 29168 29169 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 29167 def remove_all_search_history_suggestions @remove_all_search_history_suggestions end |
#remove_time ⇒ String
Required. Time at which the suggestion was removed. If not set, the current
time will be used.
Corresponds to the JSON property removeTime
29174 29175 29176 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 29174 def remove_time @remove_time end |
#search_history_suggestion ⇒ String
The search history suggestion to be removed.
Corresponds to the JSON property searchHistorySuggestion
29179 29180 29181 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 29179 def search_history_suggestion @search_history_suggestion end |
#user_info ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserInfo
Information of an end user.
Corresponds to the JSON property userInfo
29184 29185 29186 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 29184 def user_info @user_info end |
#user_pseudo_id ⇒ String
Required. A unique identifier for tracking visitors. For example, this could
be implemented with an HTTP cookie, which should be able to uniquely identify
a visitor on a single device. This unique identifier should not change if the
visitor logs in or out of the website. This field should NOT have a fixed
value such as unknown_visitor. This should be the same identifier as
UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a
UTF-8 encoded string with a length limit of 128.
Corresponds to the JSON property userPseudoId
29195 29196 29197 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 29195 def user_pseudo_id @user_pseudo_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29202 29203 29204 29205 29206 29207 29208 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 29202 def update!(**args) @remove_all_search_history_suggestions = args[:remove_all_search_history_suggestions] if args.key?(:remove_all_search_history_suggestions) @remove_time = args[:remove_time] if args.key?(:remove_time) @search_history_suggestion = args[:search_history_suggestion] if args.key?(:search_history_suggestion) @user_info = args[:user_info] if args.key?(:user_info) @user_pseudo_id = args[:user_pseudo_id] if args.key?(:user_pseudo_id) end |