Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::CreateToolRequest.
The request message for Tools.CreateTool.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The agent to create a Tool for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The agent to create a Tool for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.
Returns
-
(::String) — Required. The agent to create a Tool for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.
#tool
def tool() -> ::Google::Cloud::Dialogflow::CX::V3::Tool
Returns
- (::Google::Cloud::Dialogflow::CX::V3::Tool) — Required. The Tool to be created.
#tool=
def tool=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Tool
Parameter
- value (::Google::Cloud::Dialogflow::CX::V3::Tool) — Required. The Tool to be created.
Returns
- (::Google::Cloud::Dialogflow::CX::V3::Tool) — Required. The Tool to be created.