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.



21932
21933
21934
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21932

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

Instance Attribute Details

#confirmation_requirementString

Corresponds to the JSON property confirmationRequirement

Returns:

  • (String)


21920
21921
21922
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21920

def confirmation_requirement
  @confirmation_requirement
end

#operation_idString

Corresponds to the JSON property operationId

Returns:

  • (String)


21925
21926
21927
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21925

def operation_id
  @operation_id
end

#toolsetString

Corresponds to the JSON property toolset

Returns:

  • (String)


21930
21931
21932
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21930

def toolset
  @toolset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21937
21938
21939
21940
21941
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21937

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