Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::CreateToolRequest.
Request message for AgentService.CreateTool.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
- (::String) — Required. The resource name of the app to create a tool in.
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. The resource name of the app to create a tool in.
Returns
- (::String) — Required. The resource name of the app to create a tool in.
#tool
def tool() -> ::Google::Cloud::Ces::V1beta::Tool
Returns
- (::Google::Cloud::Ces::V1beta::Tool) — Required. The tool to create.
#tool=
def tool=(value) -> ::Google::Cloud::Ces::V1beta::Tool
Parameter
- value (::Google::Cloud::Ces::V1beta::Tool) — Required. The tool to create.
Returns
- (::Google::Cloud::Ces::V1beta::Tool) — Required. The tool to create.
#tool_id
def tool_id() -> ::String
Returns
- (::String) — Optional. The ID to use for the tool, which will become the final component of the tool's resource name. If not provided, a unique ID will be automatically assigned for the tool.
#tool_id=
def tool_id=(value) -> ::String
Parameter
- value (::String) — Optional. The ID to use for the tool, which will become the final component of the tool's resource name. If not provided, a unique ID will be automatically assigned for the tool.
Returns
- (::String) — Optional. The ID to use for the tool, which will become the final component of the tool's resource name. If not provided, a unique ID will be automatically assigned for the tool.