Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Tool

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Tool

Returns a new instance of GoogleCloudDialogflowCxV3Tool.



7916
7917
7918
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7916

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

Instance Attribute Details

#data_store_specGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolDataStoreTool

Corresponds to the JSON property dataStoreSpec



7884
7885
7886
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7884

def data_store_spec
  @data_store_spec
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


7889
7890
7891
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7889

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


7894
7895
7896
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7894

def display_name
  @display_name
end

#function_specGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolFunctionTool

Corresponds to the JSON property functionSpec



7899
7900
7901
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7899

def function_spec
  @function_spec
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


7904
7905
7906
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7904

def name
  @name
end

#open_api_specGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolOpenApiTool

Corresponds to the JSON property openApiSpec



7909
7910
7911
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7909

def open_api_spec
  @open_api_spec
end

#tool_typeString

Corresponds to the JSON property toolType

Returns:

  • (String)


7914
7915
7916
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7914

def tool_type
  @tool_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7921
7922
7923
7924
7925
7926
7927
7928
7929
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7921

def update!(**args)
  @data_store_spec = args[:data_store_spec] if args.key?(:data_store_spec)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @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)
  @tool_type = args[:tool_type] if args.key?(:tool_type)
end