Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolOpenApiTool
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolOpenApiTool
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/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::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthentication
Authentication information required for API calls Corresponds to the JSON property
authentication. -
#service_directory_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolServiceDirectoryConfig
Configuration for tools using Service Directory.
-
#text_schema ⇒ String
Required.
-
#tls_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolTlsConfig
The TLS configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ToolOpenApiTool
constructor
A new instance of GoogleCloudDialogflowCxV3ToolOpenApiTool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ToolOpenApiTool
Returns a new instance of GoogleCloudDialogflowCxV3ToolOpenApiTool.
9500 9501 9502 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9500 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authentication ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthentication
Authentication information required for API calls
Corresponds to the JSON property authentication
9483 9484 9485 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9483 def authentication @authentication end |
#service_directory_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolServiceDirectoryConfig
Configuration for tools using Service Directory.
Corresponds to the JSON property serviceDirectoryConfig
9488 9489 9490 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9488 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
9493 9494 9495 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9493 def text_schema @text_schema end |
#tls_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolTlsConfig
The TLS configuration.
Corresponds to the JSON property tlsConfig
9498 9499 9500 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9498 def tls_config @tls_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9505 9506 9507 9508 9509 9510 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9505 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 |