Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolExtensionTool

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) ⇒ GoogleCloudDialogflowV2beta1ToolExtensionTool

Returns a new instance of GoogleCloudDialogflowV2beta1ToolExtensionTool.



22148
22149
22150
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22148

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


22146
22147
22148
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22146

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22153
22154
22155
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22153

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