Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Overview

The response message for Tools.RestoreToolVersion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse

Returns a new instance of GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse.



13075
13076
13077
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13075

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#toolGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Tool

A tool provides a list of actions which are available to the Playbook to attain its goal. A Tool consists of a description of the tool's usage and a specification of the tool which contains the schema and authentication information. Corresponds to the JSON property tool



13073
13074
13075
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13073

def tool
  @tool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13080
13081
13082
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13080

def update!(**args)
  @tool = args[:tool] if args.key?(:tool)
end