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.



21771
21772
21773
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21771

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


21769
21770
21771
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21769

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21776
21777
21778
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21776

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