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.
13327 13328 13329 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13327 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
13310 13311 13312 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13310 def authentication @authentication end |
#service_directory_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolServiceDirectoryConfig
Configuration for tools using Service Directory.
Corresponds to the JSON property serviceDirectoryConfig
13315 13316 13317 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13315 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
13320 13321 13322 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13320 def text_schema @text_schema end |
#tls_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolTlsConfig
The TLS configuration.
Corresponds to the JSON property tlsConfig
13325 13326 13327 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13325 def tls_config @tls_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13332 13333 13334 13335 13336 13337 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13332 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 |