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.



13030
13031
13032
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13030

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



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

def authentication
  @authentication
end

#text_schemaString

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

Returns:

  • (String)


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

def text_schema
  @text_schema
end

#tls_configGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolTlsConfig

The TLS configuration. Corresponds to the JSON property tlsConfig



13028
13029
13030
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13028

def tls_config
  @tls_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13035
13036
13037
13038
13039
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13035

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