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

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

A chunk of data in an assistant message.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#payload

def payload() -> ::Google::Protobuf::Struct
Returns
  • (::Google::Protobuf::Struct) — Optional. Payload which contains structured responses like the quality report, agent version name, suggested responses etc.

    Note: The following fields are mutually exclusive: payload, text, thought, typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.

#payload=

def payload=(value) -> ::Google::Protobuf::Struct
Parameter
  • value (::Google::Protobuf::Struct) — Optional. Payload which contains structured responses like the quality report, agent version name, suggested responses etc.

    Note: The following fields are mutually exclusive: payload, text, thought, typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Protobuf::Struct) — Optional. Payload which contains structured responses like the quality report, agent version name, suggested responses etc.

    Note: The following fields are mutually exclusive: payload, text, thought, typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.

#text

def text() -> ::String
Returns
  • (::String) — Optional. Text data.

    Note: The following fields are mutually exclusive: text, thought, payload, typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.

#text=

def text=(value) -> ::String
Parameter
  • value (::String) — Optional. Text data.

    Note: The following fields are mutually exclusive: text, thought, payload, typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Optional. Text data.

    Note: The following fields are mutually exclusive: text, thought, payload, typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.

#thought

def thought() -> ::String
Returns
  • (::String) — Optional. Thought generated by the model.

    Note: The following fields are mutually exclusive: thought, text, payload, typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.

#thought=

def thought=(value) -> ::String
Parameter
  • value (::String) — Optional. Thought generated by the model.

    Note: The following fields are mutually exclusive: thought, text, payload, typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Optional. Thought generated by the model.

    Note: The following fields are mutually exclusive: thought, text, payload, typed_payload. If a field in that set is populated, all other fields in the set will automatically be cleared.

#typed_payload

def typed_payload() -> ::Google::Cloud::Ces::V1beta::TypedPayload
Returns
  • (::Google::Cloud::Ces::V1beta::TypedPayload) — Optional. Typed payload which contains structured responses.

    Note: The following fields are mutually exclusive: typed_payload, text, thought, payload. If a field in that set is populated, all other fields in the set will automatically be cleared.

#typed_payload=

def typed_payload=(value) -> ::Google::Cloud::Ces::V1beta::TypedPayload
Parameter
  • value (::Google::Cloud::Ces::V1beta::TypedPayload) — Optional. Typed payload which contains structured responses.

    Note: The following fields are mutually exclusive: typed_payload, text, thought, payload. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Ces::V1beta::TypedPayload) — Optional. Typed payload which contains structured responses.

    Note: The following fields are mutually exclusive: typed_payload, text, thought, payload. If a field in that set is populated, all other fields in the set will automatically be cleared.