Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::AssistantSuggestion (v1.2.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::AssistantSuggestion.

A single personalized onboarding suggestion chip for Arc's zero state.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#candidate_type

def candidate_type() -> ::String
Returns
  • (::String) — Rule-table candidate type in kebab-case (e.g. "resume-pending-review"), for metrics.

#candidate_type=

def candidate_type=(value) -> ::String
Parameter
  • value (::String) — Rule-table candidate type in kebab-case (e.g. "resume-pending-review"), for metrics.
Returns
  • (::String) — Rule-table candidate type in kebab-case (e.g. "resume-pending-review"), for metrics.

#icon

def icon() -> ::Google::Cloud::Ces::V1beta::AssistantSuggestion::Icon
Returns

#icon=

def icon=(value) -> ::Google::Cloud::Ces::V1beta::AssistantSuggestion::Icon
Parameter
Returns

#label

def label() -> ::String
Returns
  • (::String) — Chip label shown to the user (at most 60 characters).

#label=

def label=(value) -> ::String
Parameter
  • value (::String) — Chip label shown to the user (at most 60 characters).
Returns
  • (::String) — Chip label shown to the user (at most 60 characters).

#load_session

def load_session() -> ::Google::Cloud::Ces::V1beta::AssistantSuggestion::LoadSession
Returns

#load_session=

def load_session=(value) -> ::Google::Cloud::Ces::V1beta::AssistantSuggestion::LoadSession
Parameter
Returns

#rationale

def rationale() -> ::String
Returns
  • (::String) — Optional short explanation of why this suggestion is shown (tooltip / rationale popover).

#rationale=

def rationale=(value) -> ::String
Parameter
  • value (::String) — Optional short explanation of why this suggestion is shown (tooltip / rationale popover).
Returns
  • (::String) — Optional short explanation of why this suggestion is shown (tooltip / rationale popover).

#seed_prompt

def seed_prompt() -> ::String
Returns
  • (::String) — Prefill the composer with this text; the user reviews and sends.

    Note: The following fields are mutually exclusive: seed_prompt, load_session, send_message. If a field in that set is populated, all other fields in the set will automatically be cleared.

#seed_prompt=

def seed_prompt=(value) -> ::String
Parameter
  • value (::String) — Prefill the composer with this text; the user reviews and sends.

    Note: The following fields are mutually exclusive: seed_prompt, load_session, send_message. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Prefill the composer with this text; the user reviews and sends.

    Note: The following fields are mutually exclusive: seed_prompt, load_session, send_message. If a field in that set is populated, all other fields in the set will automatically be cleared.

#send_message

def send_message() -> ::String
Returns
  • (::String) — Prefill the composer with this text and submit immediately. Only used for quick-reply chips inside an active onboarding conversation.

    Note: The following fields are mutually exclusive: send_message, seed_prompt, load_session. If a field in that set is populated, all other fields in the set will automatically be cleared.

#send_message=

def send_message=(value) -> ::String
Parameter
  • value (::String) — Prefill the composer with this text and submit immediately. Only used for quick-reply chips inside an active onboarding conversation.

    Note: The following fields are mutually exclusive: send_message, seed_prompt, load_session. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Prefill the composer with this text and submit immediately. Only used for quick-reply chips inside an active onboarding conversation.

    Note: The following fields are mutually exclusive: send_message, seed_prompt, load_session. If a field in that set is populated, all other fields in the set will automatically be cleared.

#source

def source() -> ::Google::Cloud::Ces::V1beta::AssistantSuggestion::Source
Returns

#source=

def source=(value) -> ::Google::Cloud::Ces::V1beta::AssistantSuggestion::Source
Parameter
Returns

#suggestion_id

def suggestion_id() -> ::String
Returns
  • (::String) — Stable identifier for this suggestion, round-tripped by clients in interaction logging.

#suggestion_id=

def suggestion_id=(value) -> ::String
Parameter
  • value (::String) — Stable identifier for this suggestion, round-tripped by clients in interaction logging.
Returns
  • (::String) — Stable identifier for this suggestion, round-tripped by clients in interaction logging.