Class RemoveSuggestionRequest (0.20.1)

RemoveSuggestionRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for CompletionService.RemoveSuggestion method.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
search_history_suggestion str
The search history suggestion to be removed. This field is a member of oneof_ suggestion.
remove_all_search_history_suggestions bool
Remove all search history suggestions for the user. This field is a member of oneof_ suggestion.
completion_config str
Required. The completion_config of the parent engine resource name for which the search history suggestion is to be removed, such as projects/*/locations/global/collections/default_collection/engines/*/completionConfig.
user_pseudo_id str
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.
user_info google.cloud.discoveryengine_v1beta.types.UserInfo
Optional. Information about the end user. This should be the same identifier information as UserEvent.user_info and SearchRequest.user_info.
remove_time google.protobuf.timestamp_pb2.Timestamp
Required. Time at which the suggestion was removed. If not set, the current time will be used.