Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolOpenApiTool
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolOpenApiTool
- 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
-
#authentication ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthentication
Authentication information required for API calls Corresponds to the JSON property
authentication. -
#service_directory_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolServiceDirectoryConfig
Configuration for tools using Service Directory.
-
#text_schema ⇒ String
Required.
-
#tls_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolTlsConfig
The TLS configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolOpenApiTool
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ToolOpenApiTool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolOpenApiTool
Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolOpenApiTool.
13349 13350 13351 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13349 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authentication ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthentication
Authentication information required for API calls
Corresponds to the JSON property authentication
13332 13333 13334 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13332 def authentication @authentication end |
#service_directory_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolServiceDirectoryConfig
Configuration for tools using Service Directory.
Corresponds to the JSON property serviceDirectoryConfig
13337 13338 13339 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13337 def service_directory_config @service_directory_config end |
#text_schema ⇒ String
Required. The OpenAPI schema specified as a text.
Corresponds to the JSON property textSchema
13342 13343 13344 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13342 def text_schema @text_schema end |
#tls_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolTlsConfig
The TLS configuration.
Corresponds to the JSON property tlsConfig
13347 13348 13349 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13347 def tls_config @tls_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13354 13355 13356 13357 13358 13359 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13354 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 |