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- (::String) — Rule-table candidate type in kebab-case (e.g. "resume-pending-review"), for metrics.
#candidate_type=
def candidate_type=(value) -> ::String- value (::String) — Rule-table candidate type in kebab-case (e.g. "resume-pending-review"), for metrics.
- (::String) — Rule-table candidate type in kebab-case (e.g. "resume-pending-review"), for metrics.
#icon
def icon() -> ::Google::Cloud::Ces::V1beta::AssistantSuggestion::Icon- (::Google::Cloud::Ces::V1beta::AssistantSuggestion::Icon) — Icon hint for the chip.
#icon=
def icon=(value) -> ::Google::Cloud::Ces::V1beta::AssistantSuggestion::Icon- value (::Google::Cloud::Ces::V1beta::AssistantSuggestion::Icon) — Icon hint for the chip.
- (::Google::Cloud::Ces::V1beta::AssistantSuggestion::Icon) — Icon hint for the chip.
#label
def label() -> ::String- (::String) — Chip label shown to the user (at most 60 characters).
#label=
def label=(value) -> ::String- value (::String) — Chip label shown to the user (at most 60 characters).
- (::String) — Chip label shown to the user (at most 60 characters).
#load_session
def load_session() -> ::Google::Cloud::Ces::V1beta::AssistantSuggestion::LoadSession-
(::Google::Cloud::Ces::V1beta::AssistantSuggestion::LoadSession) — Open an existing assistant session.
Note: The following fields are mutually exclusive:
load_session,seed_prompt,send_message. If a field in that set is populated, all other fields in the set will automatically be cleared.
#load_session=
def load_session=(value) -> ::Google::Cloud::Ces::V1beta::AssistantSuggestion::LoadSession-
value (::Google::Cloud::Ces::V1beta::AssistantSuggestion::LoadSession) — Open an existing assistant session.
Note: The following fields are mutually exclusive:
load_session,seed_prompt,send_message. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Ces::V1beta::AssistantSuggestion::LoadSession) — Open an existing assistant session.
Note: The following fields are mutually exclusive:
load_session,seed_prompt,send_message. If a field in that set is populated, all other fields in the set will automatically be cleared.
#rationale
def rationale() -> ::String- (::String) — Optional short explanation of why this suggestion is shown (tooltip / rationale popover).
#rationale=
def rationale=(value) -> ::String- value (::String) — Optional short explanation of why this suggestion is shown (tooltip / rationale popover).
- (::String) — Optional short explanation of why this suggestion is shown (tooltip / rationale popover).
#seed_prompt
def seed_prompt() -> ::String-
(::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-
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.
-
(::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-
(::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-
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.
-
(::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- (::Google::Cloud::Ces::V1beta::AssistantSuggestion::Source) — How this suggestion was produced.
#source=
def source=(value) -> ::Google::Cloud::Ces::V1beta::AssistantSuggestion::Source- value (::Google::Cloud::Ces::V1beta::AssistantSuggestion::Source) — How this suggestion was produced.
- (::Google::Cloud::Ces::V1beta::AssistantSuggestion::Source) — How this suggestion was produced.
#suggestion_id
def suggestion_id() -> ::String- (::String) — Stable identifier for this suggestion, round-tripped by clients in interaction logging.
#suggestion_id=
def suggestion_id=(value) -> ::String- value (::String) — Stable identifier for this suggestion, round-tripped by clients in interaction logging.
- (::String) — Stable identifier for this suggestion, round-tripped by clients in interaction logging.