Class: Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::PersonSuggestion

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1beta/completion_service.rb

Overview

Suggestions as people.

Defined Under Namespace

Modules: PersonType

Instance Attribute Summary collapse

Instance Attribute Details

#data_store::String

Returns The name of the dataStore that this suggestion belongs to.

Returns:

  • (::String)

    The name of the dataStore that this suggestion belongs to.



322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
# File 'proto_docs/google/cloud/discoveryengine/v1beta/completion_service.rb', line 322

class PersonSuggestion
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the person based on the source.
  module PersonType
    # Default value.
    PERSON_TYPE_UNSPECIFIED = 0

    # The suggestion is from a GOOGLE_IDENTITY source.
    CLOUD_IDENTITY = 1

    # The suggestion is from a THIRD_PARTY_IDENTITY source.
    THIRD_PARTY_IDENTITY = 2
  end
end

#document::Google::Cloud::DiscoveryEngine::V1beta::Document

Returns The document data snippet in the suggestion. Only a subset of fields is populated.

Returns:



322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
# File 'proto_docs/google/cloud/discoveryengine/v1beta/completion_service.rb', line 322

class PersonSuggestion
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the person based on the source.
  module PersonType
    # Default value.
    PERSON_TYPE_UNSPECIFIED = 0

    # The suggestion is from a GOOGLE_IDENTITY source.
    CLOUD_IDENTITY = 1

    # The suggestion is from a THIRD_PARTY_IDENTITY source.
    THIRD_PARTY_IDENTITY = 2
  end
end

#person_type::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::PersonSuggestion::PersonType

Returns The type of the person.



322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
# File 'proto_docs/google/cloud/discoveryengine/v1beta/completion_service.rb', line 322

class PersonSuggestion
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the person based on the source.
  module PersonType
    # Default value.
    PERSON_TYPE_UNSPECIFIED = 0

    # The suggestion is from a GOOGLE_IDENTITY source.
    CLOUD_IDENTITY = 1

    # The suggestion is from a THIRD_PARTY_IDENTITY source.
    THIRD_PARTY_IDENTITY = 2
  end
end

#suggestion::String

Returns The suggestion for the query.

Returns:

  • (::String)

    The suggestion for the query.



322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
# File 'proto_docs/google/cloud/discoveryengine/v1beta/completion_service.rb', line 322

class PersonSuggestion
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the person based on the source.
  module PersonType
    # Default value.
    PERSON_TYPE_UNSPECIFIED = 0

    # The suggestion is from a GOOGLE_IDENTITY source.
    CLOUD_IDENTITY = 1

    # The suggestion is from a THIRD_PARTY_IDENTITY source.
    THIRD_PARTY_IDENTITY = 2
  end
end