Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolExtensionTool

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

Returns a new instance of GoogleCloudDialogflowV2ToolExtensionTool.



17364
17365
17366
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17364

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


17362
17363
17364
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17362

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17369
17370
17371
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17369

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