Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::ToolFakeConfig.
Configuration for tool behavior in fake mode.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#code_block
def code_block() -> ::Google::Cloud::Ces::V1::CodeBlock
Returns
- (::Google::Cloud::Ces::V1::CodeBlock) — Optional. Code block which will be executed instead of a real tool call.
#code_block=
def code_block=(value) -> ::Google::Cloud::Ces::V1::CodeBlock
Parameter
- value (::Google::Cloud::Ces::V1::CodeBlock) — Optional. Code block which will be executed instead of a real tool call.
Returns
- (::Google::Cloud::Ces::V1::CodeBlock) — Optional. Code block which will be executed instead of a real tool call.
#enable_fake_mode
def enable_fake_mode() -> ::Boolean
Returns
- (::Boolean) — Optional. Whether the tool is using fake mode.
#enable_fake_mode=
def enable_fake_mode=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Whether the tool is using fake mode.
Returns
- (::Boolean) — Optional. Whether the tool is using fake mode.