Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool

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

Returns a new instance of GoogleCloudDialogflowV2Tool.



16856
16857
16858
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16856

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

Instance Attribute Details

#action_confirmation_requirementHash<String,String>

Corresponds to the JSON property actionConfirmationRequirement

Returns:

  • (Hash<String,String>)


16792
16793
16794
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16792

def action_confirmation_requirement
  @action_confirmation_requirement
end

#connector_specGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorTool

Corresponds to the JSON property connectorSpec



16797
16798
16799
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16797

def connector_spec
  @connector_spec
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


16802
16803
16804
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16802

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


16807
16808
16809
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16807

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


16812
16813
16814
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16812

def display_name
  @display_name
end

#extension_specGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolExtensionTool

Corresponds to the JSON property extensionSpec



16817
16818
16819
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16817

def extension_spec
  @extension_spec
end

#function_specGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolFunctionTool

Corresponds to the JSON property functionSpec



16822
16823
16824
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16822

def function_spec
  @function_spec
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


16827
16828
16829
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16827

def name
  @name
end

#open_api_specGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolOpenApiTool

Corresponds to the JSON property openApiSpec



16832
16833
16834
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16832

def open_api_spec
  @open_api_spec
end

#satisfies_pziBoolean Also known as: satisfies_pzi?

Corresponds to the JSON property satisfiesPzi

Returns:

  • (Boolean)


16837
16838
16839
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16837

def satisfies_pzi
  @satisfies_pzi
end

#satisfies_pzsBoolean Also known as: satisfies_pzs?

Corresponds to the JSON property satisfiesPzs

Returns:

  • (Boolean)


16843
16844
16845
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16843

def satisfies_pzs
  @satisfies_pzs
end

#tool_keyString

Corresponds to the JSON property toolKey

Returns:

  • (String)


16849
16850
16851
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16849

def tool_key
  @tool_key
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


16854
16855
16856
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16854

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16861

def update!(**args)
  @action_confirmation_requirement = args[:action_confirmation_requirement] if args.key?(:action_confirmation_requirement)
  @connector_spec = args[:connector_spec] if args.key?(:connector_spec)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @extension_spec = args[:extension_spec] if args.key?(:extension_spec)
  @function_spec = args[:function_spec] if args.key?(:function_spec)
  @name = args[:name] if args.key?(:name)
  @open_api_spec = args[:open_api_spec] if args.key?(:open_api_spec)
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
  @tool_key = args[:tool_key] if args.key?(:tool_key)
  @update_time = args[:update_time] if args.key?(:update_time)
end