GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion (google_api_discovery_engine v0.28.0)

View Source

Suggestions as people.

Attributes

  • dataStore (type: String.t, default: nil) - The name of the dataStore that this suggestion belongs to.
  • destinationUri (type: String.t, default: nil) - The destination uri of the person suggestion.
  • displayPhotoUri (type: String.t, default: nil) - The photo uri of the person suggestion.
  • document (type: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocument.t, default: nil) - The document data snippet in the suggestion. Only a subset of fields is populated.
  • personType (type: String.t, default: nil) - The type of the person.
  • score (type: float(), default: nil) - The score of each suggestion. The score is in the range of [0, 1].
  • suggestion (type: String.t, default: nil) - The suggestion for the query.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion{
    dataStore: String.t() | nil,
    destinationUri: String.t() | nil,
    displayPhotoUri: String.t() | nil,
    document:
      GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocument.t()
      | nil,
    personType: String.t() | nil,
    score: float() | nil,
    suggestion: String.t() | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.