Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse

Returns a new instance of GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse.



11352
11353
11354
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11352

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

Instance Attribute Details

#toolGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Tool

Corresponds to the JSON property tool



11350
11351
11352
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11350

def tool
  @tool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11357
11358
11359
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11357

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