Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorTool

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolConnectorTool

Returns a new instance of GoogleCloudDialogflowV2ToolConnectorTool.



17391
17392
17393
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17391

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

Instance Attribute Details

#actionsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolAction>

Corresponds to the JSON property actions



17384
17385
17386
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17384

def actions
  @actions
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


17389
17390
17391
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17389

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17396
17397
17398
17399
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17396

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