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.



13295
13296
13297
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13295

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



13278
13279
13280
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13278

def authentication
  @authentication
end

#service_directory_configGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolServiceDirectoryConfig

Configuration for tools using Service Directory. Corresponds to the JSON property serviceDirectoryConfig



13283
13284
13285
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13283

def service_directory_config
  @service_directory_config
end

#text_schemaString

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

Returns:

  • (String)


13288
13289
13290
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13288

def text_schema
  @text_schema
end

#tls_configGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolTlsConfig

The TLS configuration. Corresponds to the JSON property tlsConfig



13293
13294
13295
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13293

def tls_config
  @tls_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13300
13301
13302
13303
13304
13305
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13300

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