Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolOpenApiTool

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

Overview

An OpenAPI tool is a way to provide the Tool specifications in the Open API schema format.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolOpenApiTool

Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolOpenApiTool.



13026
13027
13028
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13026

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

Instance Attribute Details

#authenticationGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthentication

Authentication information required for API calls Corresponds to the JSON property authentication



13014
13015
13016
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13014

def authentication
  @authentication
end

#text_schemaString

Required. The OpenAPI schema specified as a text. Corresponds to the JSON property textSchema

Returns:

  • (String)


13019
13020
13021
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13019

def text_schema
  @text_schema
end

#tls_configGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolTlsConfig

The TLS configuration. Corresponds to the JSON property tlsConfig



13024
13025
13026
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13024

def tls_config
  @tls_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13031
13032
13033
13034
13035
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13031

def update!(**args)
  @authentication = args[:authentication] if args.key?(:authentication)
  @text_schema = args[:text_schema] if args.key?(:text_schema)
  @tls_config = args[:tls_config] if args.key?(:tls_config)
end