Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolsetTool

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

Returns a new instance of GoogleCloudDialogflowV2beta1ToolsetTool.



22006
22007
22008
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22006

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

Instance Attribute Details

#confirmation_requirementString

Corresponds to the JSON property confirmationRequirement

Returns:

  • (String)


21994
21995
21996
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21994

def confirmation_requirement
  @confirmation_requirement
end

#operation_idString

Corresponds to the JSON property operationId

Returns:

  • (String)


21999
22000
22001
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21999

def operation_id
  @operation_id
end

#toolsetString

Corresponds to the JSON property toolset

Returns:

  • (String)


22004
22005
22006
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22004

def toolset
  @toolset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22011
22012
22013
22014
22015
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22011

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