Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::Chunk (v0.1.0)

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

A chunk of content within a message.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#agent_transfer

def agent_transfer() -> ::Google::Cloud::Ces::V1beta::AgentTransfer
Returns
  • (::Google::Cloud::Ces::V1beta::AgentTransfer) — Optional. Agent transfer event.

    Note: The following fields are mutually exclusive: agent_transfer, text, transcript, blob, payload, image, tool_call, tool_response, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

#agent_transfer=

def agent_transfer=(value) -> ::Google::Cloud::Ces::V1beta::AgentTransfer
Parameter
  • value (::Google::Cloud::Ces::V1beta::AgentTransfer) — Optional. Agent transfer event.

    Note: The following fields are mutually exclusive: agent_transfer, text, transcript, blob, payload, image, tool_call, tool_response, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Ces::V1beta::AgentTransfer) — Optional. Agent transfer event.

    Note: The following fields are mutually exclusive: agent_transfer, text, transcript, blob, payload, image, tool_call, tool_response, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

#blob

def blob() -> ::Google::Cloud::Ces::V1beta::Blob
Returns
  • (::Google::Cloud::Ces::V1beta::Blob) — Optional. Blob data.

    Note: The following fields are mutually exclusive: blob, text, transcript, payload, image, tool_call, tool_response, agent_transfer, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

#blob=

def blob=(value) -> ::Google::Cloud::Ces::V1beta::Blob
Parameter
  • value (::Google::Cloud::Ces::V1beta::Blob) — Optional. Blob data.

    Note: The following fields are mutually exclusive: blob, text, transcript, payload, image, tool_call, tool_response, agent_transfer, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Ces::V1beta::Blob) — Optional. Blob data.

    Note: The following fields are mutually exclusive: blob, text, transcript, payload, image, tool_call, tool_response, agent_transfer, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

#default_variables

def default_variables() -> ::Google::Protobuf::Struct
Returns
  • (::Google::Protobuf::Struct) — A struct represents default variables at the start of the conversation, keyed by variable names.

    Note: The following fields are mutually exclusive: default_variables, text, transcript, blob, payload, image, tool_call, tool_response, agent_transfer, updated_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

#default_variables=

def default_variables=(value) -> ::Google::Protobuf::Struct
Parameter
  • value (::Google::Protobuf::Struct) — A struct represents default variables at the start of the conversation, keyed by variable names.

    Note: The following fields are mutually exclusive: default_variables, text, transcript, blob, payload, image, tool_call, tool_response, agent_transfer, updated_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Protobuf::Struct) — A struct represents default variables at the start of the conversation, keyed by variable names.

    Note: The following fields are mutually exclusive: default_variables, text, transcript, blob, payload, image, tool_call, tool_response, agent_transfer, updated_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

#image

def image() -> ::Google::Cloud::Ces::V1beta::Image
Returns
  • (::Google::Cloud::Ces::V1beta::Image) — Optional. Image data.

    Note: The following fields are mutually exclusive: image, text, transcript, blob, payload, tool_call, tool_response, agent_transfer, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

#image=

def image=(value) -> ::Google::Cloud::Ces::V1beta::Image
Parameter
  • value (::Google::Cloud::Ces::V1beta::Image) — Optional. Image data.

    Note: The following fields are mutually exclusive: image, text, transcript, blob, payload, tool_call, tool_response, agent_transfer, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Ces::V1beta::Image) — Optional. Image data.

    Note: The following fields are mutually exclusive: image, text, transcript, blob, payload, tool_call, tool_response, agent_transfer, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

#payload

def payload() -> ::Google::Protobuf::Struct
Returns
  • (::Google::Protobuf::Struct) — Optional. Custom payload data.

    Note: The following fields are mutually exclusive: payload, text, transcript, blob, image, tool_call, tool_response, agent_transfer, updated_variables, default_variables. 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. Custom payload data.

    Note: The following fields are mutually exclusive: payload, text, transcript, blob, image, tool_call, tool_response, agent_transfer, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Protobuf::Struct) — Optional. Custom payload data.

    Note: The following fields are mutually exclusive: payload, text, transcript, blob, image, tool_call, tool_response, agent_transfer, updated_variables, default_variables. 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, transcript, blob, payload, image, tool_call, tool_response, agent_transfer, updated_variables, default_variables. 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, transcript, blob, payload, image, tool_call, tool_response, agent_transfer, updated_variables, default_variables. 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, transcript, blob, payload, image, tool_call, tool_response, agent_transfer, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

#tool_call

def tool_call() -> ::Google::Cloud::Ces::V1beta::ToolCall
Returns
  • (::Google::Cloud::Ces::V1beta::ToolCall) — Optional. Tool execution request.

    Note: The following fields are mutually exclusive: tool_call, text, transcript, blob, payload, image, tool_response, agent_transfer, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

#tool_call=

def tool_call=(value) -> ::Google::Cloud::Ces::V1beta::ToolCall
Parameter
  • value (::Google::Cloud::Ces::V1beta::ToolCall) — Optional. Tool execution request.

    Note: The following fields are mutually exclusive: tool_call, text, transcript, blob, payload, image, tool_response, agent_transfer, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Ces::V1beta::ToolCall) — Optional. Tool execution request.

    Note: The following fields are mutually exclusive: tool_call, text, transcript, blob, payload, image, tool_response, agent_transfer, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

#tool_response

def tool_response() -> ::Google::Cloud::Ces::V1beta::ToolResponse
Returns
  • (::Google::Cloud::Ces::V1beta::ToolResponse) — Optional. Tool execution response.

    Note: The following fields are mutually exclusive: tool_response, text, transcript, blob, payload, image, tool_call, agent_transfer, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

#tool_response=

def tool_response=(value) -> ::Google::Cloud::Ces::V1beta::ToolResponse
Parameter
  • value (::Google::Cloud::Ces::V1beta::ToolResponse) — Optional. Tool execution response.

    Note: The following fields are mutually exclusive: tool_response, text, transcript, blob, payload, image, tool_call, agent_transfer, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Ces::V1beta::ToolResponse) — Optional. Tool execution response.

    Note: The following fields are mutually exclusive: tool_response, text, transcript, blob, payload, image, tool_call, agent_transfer, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

#transcript

def transcript() -> ::String
Returns
  • (::String) — Optional. Transcript associated with the audio.

    Note: The following fields are mutually exclusive: transcript, text, blob, payload, image, tool_call, tool_response, agent_transfer, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

#transcript=

def transcript=(value) -> ::String
Parameter
  • value (::String) — Optional. Transcript associated with the audio.

    Note: The following fields are mutually exclusive: transcript, text, blob, payload, image, tool_call, tool_response, agent_transfer, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Optional. Transcript associated with the audio.

    Note: The following fields are mutually exclusive: transcript, text, blob, payload, image, tool_call, tool_response, agent_transfer, updated_variables, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

#updated_variables

def updated_variables() -> ::Google::Protobuf::Struct
Returns
  • (::Google::Protobuf::Struct) — A struct represents variables that were updated in the conversation, keyed by variable names.

    Note: The following fields are mutually exclusive: updated_variables, text, transcript, blob, payload, image, tool_call, tool_response, agent_transfer, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

#updated_variables=

def updated_variables=(value) -> ::Google::Protobuf::Struct
Parameter
  • value (::Google::Protobuf::Struct) — A struct represents variables that were updated in the conversation, keyed by variable names.

    Note: The following fields are mutually exclusive: updated_variables, text, transcript, blob, payload, image, tool_call, tool_response, agent_transfer, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Protobuf::Struct) — A struct represents variables that were updated in the conversation, keyed by variable names.

    Note: The following fields are mutually exclusive: updated_variables, text, transcript, blob, payload, image, tool_call, tool_response, agent_transfer, default_variables. If a field in that set is populated, all other fields in the set will automatically be cleared.