Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RestoreToolVersionResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3RestoreToolVersionResponse

Returns a new instance of GoogleCloudDialogflowCxV3RestoreToolVersionResponse.



6897
6898
6899
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6897

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

Instance Attribute Details

#toolGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Tool

Corresponds to the JSON property tool



6895
6896
6897
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6895

def tool
  @tool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6902
6903
6904
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6902

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