Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Tool

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Tool

Returns a new instance of GoogleCloudDialogflowCxV3beta1Tool.



12455
12456
12457
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12455

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

Instance Attribute Details

#connector_specGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolConnectorTool

Corresponds to the JSON property connectorSpec



12413
12414
12415
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12413

def connector_spec
  @connector_spec
end

#data_store_specGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolDataStoreTool

Corresponds to the JSON property dataStoreSpec



12418
12419
12420
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12418

def data_store_spec
  @data_store_spec
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


12423
12424
12425
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12423

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


12428
12429
12430
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12428

def display_name
  @display_name
end

#extension_specGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolExtensionTool

Corresponds to the JSON property extensionSpec



12433
12434
12435
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12433

def extension_spec
  @extension_spec
end

#function_specGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolFunctionTool

Corresponds to the JSON property functionSpec



12438
12439
12440
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12438

def function_spec
  @function_spec
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


12443
12444
12445
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12443

def name
  @name
end

#open_api_specGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolOpenApiTool

Corresponds to the JSON property openApiSpec



12448
12449
12450
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12448

def open_api_spec
  @open_api_spec
end

#tool_typeString

Corresponds to the JSON property toolType

Returns:

  • (String)


12453
12454
12455
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12453

def tool_type
  @tool_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12460

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