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.



13054
13055
13056
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13054

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



13042
13043
13044
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13042

def authentication
  @authentication
end

#text_schemaString

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

Returns:

  • (String)


13047
13048
13049
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13047

def text_schema
  @text_schema
end

#tls_configGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolTlsConfig

The TLS configuration. Corresponds to the JSON property tlsConfig



13052
13053
13054
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13052

def tls_config
  @tls_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13059
13060
13061
13062
13063
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13059

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