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.



12081
12082
12083
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12081

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



12069
12070
12071
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12069

def authentication
  @authentication
end

#text_schemaString

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

Returns:

  • (String)


12074
12075
12076
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12074

def text_schema
  @text_schema
end

#tls_configGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolTlsConfig

The TLS configuration. Corresponds to the JSON property tlsConfig



12079
12080
12081
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12079

def tls_config
  @tls_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12086
12087
12088
12089
12090
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12086

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