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.



11364
11365
11366
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11364

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

Instance Attribute Details

#toolGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Tool

Corresponds to the JSON property tool



11362
11363
11364
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11362

def tool
  @tool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11369
11370
11371
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11369

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