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.



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

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

Instance Attribute Details

#data_store_specGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolDataStoreTool

Corresponds to the JSON property dataStoreSpec



7878
7879
7880
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7878

def data_store_spec
  @data_store_spec
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


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

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


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

def display_name
  @display_name
end

#function_specGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolFunctionTool

Corresponds to the JSON property functionSpec



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

def function_spec
  @function_spec
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#open_api_specGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolOpenApiTool

Corresponds to the JSON property openApiSpec



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

def open_api_spec
  @open_api_spec
end

#tool_typeString

Corresponds to the JSON property toolType

Returns:

  • (String)


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

def tool_type
  @tool_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7915
7916
7917
7918
7919
7920
7921
7922
7923
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7915

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