Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorTool
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorTool
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#actions ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorToolAction>
Corresponds to the JSON property
actions. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolConnectorTool
constructor
A new instance of GoogleCloudDialogflowV2beta1ToolConnectorTool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolConnectorTool
Returns a new instance of GoogleCloudDialogflowV2beta1ToolConnectorTool.
22066 22067 22068 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22066 def initialize(**args) update!(**args) end |
Instance Attribute Details
#actions ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorToolAction>
Corresponds to the JSON property actions
22059 22060 22061 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22059 def actions @actions end |
#name ⇒ String
Corresponds to the JSON property name
22064 22065 22066 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22064 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22071 22072 22073 22074 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22071 def update!(**args) @actions = args[:actions] if args.key?(:actions) @name = args[:name] if args.key?(:name) end |