Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Tool::OpenApiTool.
An OpenAPI tool is a way to provide the Tool specifications in the Open API schema format.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#authentication
def authentication() -> ::Google::Cloud::Dialogflow::V2::Tool::Authentication
Returns
- (::Google::Cloud::Dialogflow::V2::Tool::Authentication) — Optional. Authentication information required by the API.
#authentication=
def authentication=(value) -> ::Google::Cloud::Dialogflow::V2::Tool::Authentication
Parameter
- value (::Google::Cloud::Dialogflow::V2::Tool::Authentication) — Optional. Authentication information required by the API.
Returns
- (::Google::Cloud::Dialogflow::V2::Tool::Authentication) — Optional. Authentication information required by the API.
#service_directory_config
def service_directory_config() -> ::Google::Cloud::Dialogflow::V2::Tool::ServiceDirectoryConfig
Returns
- (::Google::Cloud::Dialogflow::V2::Tool::ServiceDirectoryConfig) — Optional. Service Directory configuration.
#service_directory_config=
def service_directory_config=(value) -> ::Google::Cloud::Dialogflow::V2::Tool::ServiceDirectoryConfig
Parameter
- value (::Google::Cloud::Dialogflow::V2::Tool::ServiceDirectoryConfig) — Optional. Service Directory configuration.
Returns
- (::Google::Cloud::Dialogflow::V2::Tool::ServiceDirectoryConfig) — Optional. Service Directory configuration.
#text_schema
def text_schema() -> ::String
Returns
- (::String) — Required. The OpenAPI schema specified as a text.
#text_schema=
def text_schema=(value) -> ::String
Parameter
- value (::String) — Required. The OpenAPI schema specified as a text.
Returns
- (::String) — Required. The OpenAPI schema specified as a text.
#tls_config
def tls_config() -> ::Google::Cloud::Dialogflow::V2::Tool::TLSConfig
Returns
- (::Google::Cloud::Dialogflow::V2::Tool::TLSConfig) — Optional. TLS configuration for the HTTPS verification.
#tls_config=
def tls_config=(value) -> ::Google::Cloud::Dialogflow::V2::Tool::TLSConfig
Parameter
- value (::Google::Cloud::Dialogflow::V2::Tool::TLSConfig) — Optional. TLS configuration for the HTTPS verification.
Returns
- (::Google::Cloud::Dialogflow::V2::Tool::TLSConfig) — Optional. TLS configuration for the HTTPS verification.