Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorTool

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolConnectorTool

Returns a new instance of GoogleCloudDialogflowV2beta1ToolConnectorTool.



21689
21690
21691
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21689

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

Instance Attribute Details

#actionsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorToolAction>

Corresponds to the JSON property actions



21682
21683
21684
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21682

def actions
  @actions
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


21687
21688
21689
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21687

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21694
21695
21696
21697
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21694

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