NAME
Google::Cloud::Discoveryengine::V1beta::Completion - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1beta/completion.proto
SYNOPSIS
use Google::Cloud::Discoveryengine::V1beta::Completion;
my $msg = Google::Cloud::Discoveryengine::V1beta::Completion::SuggestionDenyListEntry->new({
block_phrase => $block_phrase,
match_operator => $match_operator,
});
# Read or update a field
my $val = $msg->block_phrase();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1beta::Completion::SuggestionDenyListEntry->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1beta/completion.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Discoveryengine::V1beta::Completion::SuggestionDenyListEntry
Suggestion deny list entry identifying the phrase to block from suggestions and the applied operation for the phrase.
Inherits from Protobuf::Message.
Accessors
$msg->block_phrase()/$msg->block_phrase($value)Type:
StringRequired. Phrase to block from suggestions served. Can be maximum 125 characters.
$msg->match_operator()/$msg->match_operator($value)Type:
Enum(Google::Cloud::Discoveryengine::V1beta::SuggestionDenyListEntry::MatchOperator)Required. The match operator to apply for this phrase. Whether to block the exact phrase, or block any suggestions containing this phrase.
Enum: SuggestionDenyListEntry::MatchOperator
MATCH_OPERATOR_UNSPECIFIED=>0EXACT_MATCH=>1CONTAINS=>2
Google::Cloud::Discoveryengine::V1beta::Completion::CompletionSuggestion
Autocomplete suggestions that are imported from Customer.
Inherits from Protobuf::Message.
Accessors
$msg->global_score()/$msg->global_score($value)Type:
DoubleGlobal score of this suggestion. Control how this suggestion would be scored / ranked.
$msg->frequency()/$msg->frequency($value)Type:
Int64Frequency of this suggestion. Will be used to rank suggestions when score is not available.
$msg->suggestion()/$msg->suggestion($value)Type:
StringRequired. The suggestion text.
$msg->language_code()/$msg->language_code($value)Type:
StringBCP-47 language code of this suggestion.
$msg->group_id()/$msg->group_id($value)Type:
StringIf two suggestions have the same groupId, they will not be returned together. Instead the one ranked higher will be returned. This can be used to deduplicate semantically identical suggestions.
$msg->group_score()/$msg->group_score($value)Type:
DoubleThe score of this suggestion within its group.
$msg->alternative_phrases()/$msg->alternative_phrases($value)Type:
StringAlternative matching phrases for this suggestion.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1beta::Completion::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.