Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolsetTool

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolsetTool

Returns a new instance of GoogleCloudDialogflowV2ToolsetTool.



17474
17475
17476
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17474

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

Instance Attribute Details

#confirmation_requirementString

Corresponds to the JSON property confirmationRequirement

Returns:

  • (String)


17462
17463
17464
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17462

def confirmation_requirement
  @confirmation_requirement
end

#operation_idString

Corresponds to the JSON property operationId

Returns:

  • (String)


17467
17468
17469
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17467

def operation_id
  @operation_id
end

#toolsetString

Corresponds to the JSON property toolset

Returns:

  • (String)


17472
17473
17474
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17472

def toolset
  @toolset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17479
17480
17481
17482
17483
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17479

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