Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::PersonSuggestion (v0.28.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::PersonSuggestion.

Suggestions as people.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#data_store

def data_store() -> ::String
Returns
  • (::String) — The name of the dataStore that this suggestion belongs to.

#data_store=

def data_store=(value) -> ::String
Parameter
  • value (::String) — The name of the dataStore that this suggestion belongs to.
Returns
  • (::String) — The name of the dataStore that this suggestion belongs to.

#destination_uri

def destination_uri() -> ::String
Returns
  • (::String) — The destination uri of the person suggestion.

#destination_uri=

def destination_uri=(value) -> ::String
Parameter
  • value (::String) — The destination uri of the person suggestion.
Returns
  • (::String) — The destination uri of the person suggestion.

#display_photo_uri

def display_photo_uri() -> ::String
Returns
  • (::String) — The photo uri of the person suggestion.

#display_photo_uri=

def display_photo_uri=(value) -> ::String
Parameter
  • value (::String) — The photo uri of the person suggestion.
Returns
  • (::String) — The photo uri of the person suggestion.

#document

def document() -> ::Google::Cloud::DiscoveryEngine::V1beta::Document
Returns

#document=

def document=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::Document
Parameter
Returns

#person_type

def person_type() -> ::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::PersonSuggestion::PersonType

#person_type=

def person_type=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::PersonSuggestion::PersonType

#score

def score() -> ::Float
Returns
  • (::Float) — The score of each suggestion. The score is in the range of [0, 1].

#score=

def score=(value) -> ::Float
Parameter
  • value (::Float) — The score of each suggestion. The score is in the range of [0, 1].
Returns
  • (::Float) — The score of each suggestion. The score is in the range of [0, 1].

#suggestion

def suggestion() -> ::String
Returns
  • (::String) — The suggestion for the query.

#suggestion=

def suggestion=(value) -> ::String
Parameter
  • value (::String) — The suggestion for the query.
Returns
  • (::String) — The suggestion for the query.