Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorTool
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorTool
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#actions ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolAction>
Corresponds to the JSON property
actions. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolConnectorTool
constructor
A new instance of GoogleCloudDialogflowV2ToolConnectorTool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolConnectorTool
Returns a new instance of GoogleCloudDialogflowV2ToolConnectorTool.
17231 17232 17233 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17231 def initialize(**args) update!(**args) end |
Instance Attribute Details
#actions ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolAction>
Corresponds to the JSON property actions
17224 17225 17226 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17224 def actions @actions end |
#name ⇒ String
Corresponds to the JSON property name
17229 17230 17231 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17229 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17236 17237 17238 17239 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17236 def update!(**args) @actions = args[:actions] if args.key?(:actions) @name = args[:name] if args.key?(:name) end |