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-
(::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-
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.
-
(::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-
(::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-
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.
-
(::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-
(::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-
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.
-
(::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-
(::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-
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.
-
(::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-
(::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-
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.
-
(::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-
(::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-
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.
-
(::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-
(::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-
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.
-
(::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-
(::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-
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.
-
(::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-
(::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-
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.
-
(::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-
(::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-
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.
-
(::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.